- 07 Jul, 2003 24 commits
-
-
opts.c (common_handle_option): Correct handling of the -falign- switches that do and don't take an argument. * opts.c (common_handle_option): Correct handling of the -falign- switches that do and don't take an argument. From-SVN: r69053
Neil Booth committed -
From-SVN: r69052
Andreas Jaeger committed -
* config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch today. (pushhi1_h8300hs): Likewise. From-SVN: r69051
Kazu Hirata committed -
2003-07-07 Andreas Jaeger <aj@suse.de> * genextract.c: Convert remaining prototypes to ISO C90. * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90. * fold-const.c (fold_single_bit_test): Likewise. * diagnostic.c (default_diagnostic_finalizer): Likewise. * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise. * gengtype.c (write_array): Generate ISO C90 prototypes. * genflags.c (gen_proto): Generate ISO C90 prototypes. For cp: 2003-07-07 Andreas Jaeger <aj@suse.de> * friend.c: Convert to ISO C90 prototypes. * Make-lang.in ($(srcdir)/cp/cfns.h): Use ANSI-C as output language. * cfns.h: Regenerate. * typeck.c: Convert remaining prototypes to ISO C90. * search.c: Likewise. * decl2.c (build_expr_from_tree): Convert prototype to ISO C90. * semantics.c (expand_or_defer_fn): Likewise * mangle.c (discriminator_for_string_literal): Likewise. * g++spec.c (lang_specific_driver): Likewise. * search.c (lookup_base_r): Remove unused variable. From-SVN: r69050
Andreas Jaeger committed -
PR optimization/11059 * expr.c (can_store_by_pieces): Return true if length is zero. (store_by_pieces): If length is zero and endp is two, abort, othwerise, if length is zero and endp is not two, return "to". (clear_by_pieces): Do nothing if length is zero. (clear_storage): Do nothing if length is zero. (store_constructor): Simplify code when size is zero, or the target has already been cleared. This avoids emitting a blockage instruction when initializing empty structures. * g++.dg/opt/emptyunion.C: New testcase. From-SVN: r69049
Roger Sayle committed -
* mips-tfile.c: Convert prototypes to ISO C90. * mips-tdump.c: Convert prototypes to ISO C90. From-SVN: r69048
Andreas Jaeger committed -
* rtl.h (emit_line_note): Take a location_t. (emit_line_note_force): Remove. (set_file_and_line_for_statement): Take a location_t. * tree.g (emit_line_note): Take a location_t. * emit-rtl.c (emit_line_note): Take a location_t. (emit_line_note_force): Remove. * function.c (init_function_start): Adjust emit_line_note call. (expand_function_end): Use force_next_line_note, not emit_line_note_force. * c-parse.in (maybe_type_qual): Adjust emit_line_note calls. * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt, genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt, genrtl_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt): Likewise. * expr.c (expand_expr): Likewise. * integrate.c (expand_inline_function): Likewise. * stmt.c (set_file_and_line_for_stmt): Take a location_t. (expand_decl_init): Adjust emit_line_note call. * ada/trans.c (build_unit_elab, set_lineno): Adjust emit_line_note calls. * cp/semantics.c: (genrtl_try_block) Adjust emit_line_note calls. * f/com.c (bison_rule_pushlevel_, bison_rule_compstmt_): Adjust emit_line_note calls. * f/ste.c (ffeste_emit_line_note_): Likewise. * java/expr.c (expand_byte_code): * treelang/treetree.c (tree_code_if_start, tree_code_if_else, tree_code_if_end, tree_code_create_function_initial, tree_code_create_function_wrapup, tree_code_generate_return, tree_code_output_expression_statement): Adjust emit_line_note calls. From-SVN: r69047
Nathan Sidwell committed -
From-SVN: r69045
Dale Johannesen committed -
* config/i386/i386-protos.h: Convert prototypes to ISO C90. * config/i386/i386.c: Likewise. From-SVN: r69044
Andreas Jaeger committed -
* config/h8300/h8300.md: Use gen_int_mode instead of GEN_INT (trunc_int_for_mode (...)). From-SVN: r69043
Kazu Hirata committed -
* config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing 2 bytes and then subtract 2 from the stack pointer. (pushhi1_h8300hs): Likewise. From-SVN: r69042
Kazu Hirata committed -
* configure.in: Check for usleep declaration. * acconfig.h (HAVE_USLEEP_DECL): Provide template. * configure: Regenerate. * include/config.h.in: Likewise. * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep. From-SVN: r69041
Rainer Orth committed -
2003-07-07 Paolo Carlini <pcarlini@unitus.it> * include/std/std_complex.h: Partially revert last changes: cmath functions must not be qualified. From-SVN: r69040
Paolo Carlini committed -
* configure.in (enable_coverage): Remove -DSELF_COVERAGE, add -frandom-seed. * configure: Regenerated. * Makefile.in: Remove extraneous comment. * toplev.c (randomize): Protect against potential multiple calls. * doc/invoke.texi (-frandom-seed): Document use for in coverage files. From-SVN: r69039
Nathan Sidwell committed -
PR optimization/11198 * alias.c (objects_must_conflict_p): Return 1 if the types have the same alias set, not if the alias sets only conflict. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r69034
Richard Kenner committed -
From-SVN: r69033
Andreas Jaeger committed -
PR debug/10055 * lex.c (cxx_init): Call push_srcloc and pop_srcloc rather than assigning to input_filename directly. From-SVN: r69032
Michael Chastain committed -
invoke.texi (-falign-functions): Document that when n is zero then a machine-dependent default is used. * doc/invoke.texi (-falign-functions): Document that when n is zero then a machine-dependent default is used. (-falign-labels): Document that when n is zero then a machine-dependent default is used and that -falign-labels =1 is equivalent to -fno-align-labels. (-falign-loops): Likewise. (-falign-jumps): Likewise. From-SVN: r69031
Andreas Jaeger committed -
invoke.texi (-falign-functions): Document that when n is zero then a machine-dependent default is used. 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu> * doc/invoke.texi (-falign-functions): Document that when n is zero then a machine-dependent default is used. (-falign-labels): Document that when n is zero then a machine-dependent default is used and that -falign-labels =1 is equivalent to -fno-align-labels. (-falign-loops): Likewise. (-falign-jumps): Likewise. From-SVN: r69030
Andrew Pinski committed -
2003-07-07 Andrew Pinski <pinskia@physics.uc.edu> * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV. (convert_cset): Change inbuf to type ICONV_CONST char. * Makefile.in (LIBS): Add LIBICONV. From-SVN: r69029
Andrew Pinski committed -
* f/global.c (ffeglobal_type_string_): Fix obsolete GCC array initializer syntax. From-SVN: r69028
Art Haas committed -
PR optimization/9812 * rtl.h (mem_for_const_double): Delete prototype. * varasm.c (mem_for_const_double): Delete function. * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m68k/netbsd-elf.h (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions. * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode. (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests. * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add comment about confused support for XFmode constants. From-SVN: r69027
James E Wilson committed -
From-SVN: r69025
GCC Administrator committed -
From-SVN: r69023
Jan Hubicka committed
-
- 06 Jul, 2003 16 commits
-
-
* call.c: Fix comment formatting. * class.c: Likewise. * cp-tree.h: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * error.c: Likewise. * method.c: Likewise. * name-lookup.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * typeck.c: Likewise. From-SVN: r69022
Kazu Hirata committed -
* config/h8300/h8300.c: Fix comment typos. * config/h8300/h8300.md: Likewise. * config/i386/athlon.md: Likewise. * config/i386/i386.c: Likewise. * config/i386/pentium.md: Likewise. * config/ia64/ia64.c: Likewise. * config/ia64/itanium1.md: Likewise. * config/ia64/itanium2.md: Likewise. * config/m32r/m32r.md: Likewise. * config/m68hc11/m68hc11.c: Likewise. * config/mcore/mcore.c: Likewise. * config/mips/sr71k.md: Likewise. * config/mips/t-iris5-as: Likewise. * config/mmix/mmix.h: Likewise. * config/ns32k/ns32k.h: Likewise. * config/ns32k/NOTES: Fix a typo. From-SVN: r69021
Kazu Hirata committed -
PR c++/11345 * search.c (lookup_base_r): Remove is_non_public and within_current_scope parameters. Remove other dead code. (lookup_base): Adjust call to lookup_base_r. (adjust_result_of_qualified_name_lookup): Improve comment. * semantics.c (finish_call_expr): Use maybe_dummy_object. From-SVN: r69020
Mark Mitchell committed -
2003-07-06 H.J. Lu <hongjiu.lu@intel.com> * demangle.h: Support C++. From-SVN: r69016
H.J. Lu committed -
* stmt.c: Convert remaining prototypes to ISO C90. * cfglayout.c: Likewise. * dbxout.c: Likewise. * gcc.c: Likewise. * genemit.c: Likewise. From-SVN: r69015
Andreas Jaeger committed -
* bad.c: Convert () to (void) in function definitions. * bld.c: Likewise. * data.c: Likewise. * equiv.c: Likewise. * expr.c: Likewise. * global.c: Likewise. * implic.c: Likewise. * info.c: Likewise. * intdoc.c: Likewise. * intrin.c: Likewise. * lab.c: Likewise. * lex.c: Likewise. * malloc.c: Likewise. * src.c: Likewise. * st.c: Likewise. * sta.c: Likewise. * stb.c: Likewise. * stc.c: Likewise. * std.c: Likewise. * ste.c: Likewise. * storag.c: Likewise. * stt.c: Likewise. * stw.c: Likewise. * symbol.c: Likewise. * top.c: Likewise. * where.c: Likewise. * com.c: Convert prototypes to ISO C90. * com.h: Likewise. * g77spec.c: Likewise. From-SVN: r69014
Andreas Jaeger committed -
2003-07-06 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils 2.11 with globbing backport fix. * aclocal.m4, configure: Regenerated. From-SVN: r69013
Phil Edwards committed -
From-SVN: r69012
Andreas Jaeger committed -
* c-common.h (c_comon_handle_filename, c_common_missing_arguement): New. * c-lang.c (LANG_HOOKS_HANDLE_FILENAME, LANG_HOOKS_MISSING_ARGUMENT): New. * c-opts.c (missing_arg): Rename c_common_missing_argument, update to be an appropriate langhook. (c_common_handle_option): Don't handle filenames. (c_common_handle_filename): New. * hooks.c (hook_void_constcharptr, hook_bool_constcharptr_size_t_false): New. * hooks.h (hook_void_constcharptr, hook_bool_constcharptr_size_t_false): New. * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME, LANG_HOOKS_MISSING_ARGUMENT): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): Add handle_filename and missing_argument. * opts.c (handle_option): Don't handle filenames here, but ... (handle_options): ... here. (common_handle_option): Don't handle missing arguments here. * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME, LANG_HOOKS_MISSING_ARGUMENT): New. ada: * misc.c (gnat_handle_option): Don't handle filenames. cp: * cp-lang.c (LANG_HOOKS_HANDLE_FILENAME, LANG_HOOKS_MISSING_ARGUMENT): Override. f: * top.c (ffe_handle_option): Don't handle filenames. java: * lang.c (java_handle_option): Don't handle filenames. From-SVN: r69011
Neil Booth committed -
* basic-block.h: Convert prototypes to ISO C90. * c-parse.in: Likewise. * c-pragma.h: Likewise. * c-typeck.c: Likewise. * cfghooks.h: Likewise. * cfgloopanal.c: Likewise. * dbxout.h: Likewise. * debug.h: Likewise. * dwarf2asm.h: Likewise. * gcov.c: Likewise. * gengtype-lex.l: Likewise. * sched-int.h: Likewise. * timevar.c: Likewise. From-SVN: r69010
Andreas Jaeger committed -
* Makfile.in: Remove traces of mbchar. * c-parse.in (MULTIBYTE_CHARS): Remove. * config.in (MULTIBYTE_CHARS): Remove. * configure: Remove --enable-mbchar. * configure.in: Remove --enable-mbchar. * mbchar.c, mbchar.h: Remove. * system.h: Poison MULTIBYTE_CHARS. * config/linux-aout.h (MULTIBYTE_CHARS): Remove. * config/linux.h (MULTIBYTE_CHARS): Remove. * config/svr4.h (MULTIBYTE_CHARS): Remove. * config/sparc/linux.h (MULTIBYTE_CHARS): Remove. From-SVN: r69009
Neil Booth committed -
From-SVN: r69008
Andreas Jaeger committed -
* unroll.c: Convert prototypes to ISO C90. * varasm.c: Likewise. * varray.c: Likewise. * varray.h: Likewise. * vmsdbgout.c: Likewise. * xcoffout.c: Likewise. * xcoffout.h: Likewise. From-SVN: r69007
Andreas Jaeger committed -
* gcov-io.h: Add a local time stamp. (struct gcov_info): Add stamp field. (gcov_truncate): New. * coverage.c (read_counts_file): Skip the stamp. (coverage_begin_output): Write the stamp. (build_gcov_info): Declare and init the stamp. (coverage_finish): Only unlink data file, if stamp is zero. * gcov-dump.c (dump_file): Dump the stamp. * gcov.c (bbg_stamp): New. (release_structures): Clear bbg_stamp. (read_graph_file): Read stamp. (read_count_file): Check stamp. * libgcov.c (gcov_exit): Check stamp and truncate if needed. From-SVN: r69006
Nathan Sidwell committed -
* tree.h (default_flag_random_seed): Remove. * toplev.h (local_tick): Declare. * tree.c (flag_random_seed, default_flag_random_seed): Move to toplev.c. (append_random_chars): Don't call default_flag_random_seed. * toplev.c (flag_random_seed): Define here. Set local_tick. (local_tick): Define. (randomize): New, moved from tree.c. (print_switch_values): Adjust. (toplev_main): Call randomize. From-SVN: r69005
Nathan Sidwell committed -
* tree.h (crc32_string): Declare. * tree.c (append_random_chars): Remove. (crc32_string): New. (get_file_function_name_long): Use crc32_string here. From-SVN: r69004
Nathan Sidwell committed
-