X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Ftoplev.h;h=26a085d0c842963b697ac49113e1ca142c77ac6b;hb=f2852046a2c3bac1d4455e33876fc9991e9fc713;hp=35d53eb8d6ca742b86bfe2921ce05e0c2b3843ac;hpb=c131e678cadd24a3282cf4835972e185c9e4a053;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/toplev.h b/gcc/toplev.h index 35d53eb8d6c..26a085d0c84 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -1,12 +1,12 @@ /* toplev.h - Various declarations for functions found in toplev.c - Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005 + Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2, or (at your option) any later +Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY @@ -15,9 +15,8 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301, USA. */ +along with GCC; see the file COPYING3. If not see +. */ #ifndef GCC_TOPLEV_H #define GCC_TOPLEV_H @@ -31,9 +30,9 @@ extern int toplev_main (unsigned int, const char **); extern int read_integral_parameter (const char *, const char *, const int); extern void strip_off_ending (char *, int); extern const char *trim_filename (const char *); -extern void _fatal_insn_not_found (rtx, const char *, int, const char *) +extern void _fatal_insn_not_found (const_rtx, const char *, int, const char *) ATTRIBUTE_NORETURN; -extern void _fatal_insn (const char *, rtx, const char *, int, const char *) +extern void _fatal_insn (const char *, const_rtx, const char *, int, const char *) ATTRIBUTE_NORETURN; #define fatal_insn(msgid, insn) \ @@ -76,8 +75,8 @@ extern bool enable_rtl_dump_file (int); extern void announce_function (tree); -extern void error_for_asm (rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3); -extern void warning_for_asm (rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3); +extern void error_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3); +extern void warning_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3); extern void warn_deprecated_use (tree); #ifdef BUFSIZ @@ -100,6 +99,10 @@ extern void check_global_declarations (tree *, int); extern void emit_debug_global_declarations (tree *, int); extern void write_global_declarations (void); +extern void dump_memory_report (bool); + +extern void target_reinit (void); + /* A unique local time stamp, might be zero if none is available. */ extern unsigned local_tick; @@ -110,15 +113,12 @@ extern const char *aux_info_file_name; extern const char *asm_file_name; extern bool exit_after_options; -extern int target_flags_explicit; - /* True if the user has tagged the function with the 'section' attribute. */ extern bool user_defined_section_attribute; /* See toplev.c. */ -extern int flag_loop_optimize; extern int flag_crossjumping; extern int flag_if_conversion; extern int flag_if_conversion2; @@ -146,6 +146,8 @@ extern struct ht *ident_hash; extern void set_fast_math_flags (int); +extern void set_unsafe_math_optimizations_flags (int); + /* Handle -d switch. */ extern void decode_d_option (const char *); @@ -190,4 +192,9 @@ exact_log2 (unsigned HOST_WIDE_INT x) extern const char *get_src_pwd (void); extern bool set_src_pwd (const char *); +/* Functions used to manipulate the random seed. */ + +extern const char *get_random_seed (bool); +extern const char *set_random_seed (const char *); + #endif /* ! GCC_TOPLEV_H */