aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-03-01Fix for bison 1.75 enum name clash.Tim Josling3-9/+18
From-SVN: r63606
2003-03-01* g++.dg/warn/implicit-typename1.C: Remove warning.Kriang Lerdsuwanakij2-1/+5
From-SVN: r63605
2003-03-01Treelang fixes.Tim Josling10-19/+120
From-SVN: r63604
2003-03-01Fix typoMark Mitchell1-1/+1
From-SVN: r63603
2003-03-01re PR c++/9892 (g++.old-deja/g++.pt/static9.C regression)Mark Mitchell2-1/+11
PR c++/9892 * pt.c (instantiate_decl): Clear DECL_RTL for a VAR_DECL when instantiating it. From-SVN: r63601
2003-02-28* toplev.c (flag_eliminate_unused_debug_types): Enable by default.Richard Henderson2-1/+5
From-SVN: r63600
2003-03-01parser.c (cp_parser_init_declarator): Revert opaque vector_opaque_p change.Aldy Hernandez2-8/+7
2003-02-28 Aldy Hernandez <aldyh@redhat.com> * parser.c (cp_parser_init_declarator): Revert opaque vector_opaque_p change. Do not include target.h. From-SVN: r63599
2003-02-28noreturn-1.c: Move noreturn warning line.Richard Henderson3-4/+9
* gcc.dg/noreturn-1.c: Move noreturn warning line. * gcc.dg/return-type-1.c: Move control reaches end warning line. From-SVN: r63598
2003-03-01Daily bump.GCC Administrator1-1/+1
From-SVN: r63597
2003-02-28flags.h: Add flag_eliminate_unused_debug_types.Scott Snyder5-152/+444
* flags.h: Add flag_eliminate_unused_debug_types. * toplev.c: Add flag_eliminate_unused_debug_types. (f_options): Add -feliminate-unused-debug-types. * dwarf2out.c (struct file_table): Add emitted member. (splice_child_die): Fix the parent pointer for the child being spliced. (lookup_filename): Maintain file_table.emitted array. Don't output .file directive here. (maybe_emit_file): (new) (init_file_table): Set up file_table.emitted. (dwarf2out_source_line): Use maybe_emit_file. (dwarf2out_start_source_file): Use maybe_emit_file. (dwarf2out_init): Use maybe_emit_file. (prune_unused_types_walk_attribs): (new) (prune_unused_types_mark): (new) (prune_unused_types_walk): (new) (prune_unused_types_prune): (new) (prune_unused_types): (new) (dwarf2out_finish): Call prune_unused_types if flag_eliminate_unused_debug_types is set. * doc/invoke.texi (Option Summary): Add -feliminate-unused-debug-types. (Debugging Options): Likewise. From-SVN: r63588
2003-02-28In gcc/: 2003-02-28 Geoffrey Keating <geoffk@apple.com>Geoffrey Keating7-22/+33
In gcc/: 2003-02-28 Geoffrey Keating <geoffk@apple.com> * doc/invoke.texi: Change .pch to .gch. * cppfiles.c (open_file_pch): Likewise. * gcc.c (default_compilers): Likewise. In gcc/testsuite/: 2003-02-28 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/pch.exp: Change .pch to .gch. * g++.dg/pch/pch.exp: Likewise. From-SVN: r63587
2003-02-28floatlib.c: Remove.Aldy Hernandez2-944/+4
2003-02-28 Aldy Hernandez <aldyh@redhat.com> * floatlib.c: Remove. From-SVN: r63586
2003-02-28stor-layout.c (variable_size): Leave a minus 1 outside the SAVE_EXPR.Jason Merrill2-8/+17
* stor-layout.c (variable_size): Leave a minus 1 outside the SAVE_EXPR. From-SVN: r63585
2003-02-28re PR java/9695 (Inner class bug prevent GNU Classpath from compiling)Tom Tromey3-6/+25
PR java/9695: * class.c (maybe_layout_super_class): Always pass a WFL to do_resolve_class. * parse.y (do_resolve_class): Updated comment to explain parameters. From-SVN: r63584
2003-02-28Make-lang.in (install-gnatlib): Change to ada directory before running make ↵Andreas Schwab2-1/+6
instead of using ada/Makefile directly. * Make-lang.in (install-gnatlib): Change to ada directory before running make instead of using ada/Makefile directly. From-SVN: r63582
2003-02-28re PR c++/9879 (ICE / endless compile with "new int[2]()")Mark Mitchell7-16/+45
PR c++/9879 * cp-tree.h (build_zero_init): Add parameter. * decl.c (cp_finish_decl): Adjust call. * init.c (build_zero_init): Add nelts parameter. Adjust recursive calls. (build_default_init): Add nelts parameter. Adjust calls to build_zero_init. (build_new_1): Adjust call to build_default_init. * typeck2.c (process_init_constructor): Adjust call to build_zero_init. PR c++/9879 * testsuite/g++.dg/init/new4.C: New test. From-SVN: r63579
2003-02-28* config/rs6000/power4.md: Add compare bypass.David Edelsohn2-0/+6
From-SVN: r63575
2003-02-28netbsd.h: Update copyright years.Jason Thorpe2-2/+10
* config/netbsd.h: Update copyright years. (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if -pthread is specified on the command line. From-SVN: r63573
2003-02-28loop.c (struct movable): Add insert_temp, shrink savemode.Dale Johannesen2-50/+119
2003-02-28 Dale Johannesen <dalej@apple.com> * loop.c (struct movable): Add insert_temp, shrink savemode. (scan_loop): Accept invariants that require copying; mark as insert_temp. (combine_movables): Don't combine insert_temp movables. (move_movables): Insert copies for insert_temp movables. Don't record the info based on regno for insert_temp's. From-SVN: r63572
2003-02-28PR 9638/otherJoel Sherrill2-0/+12
2003-02-28 Joel Sherrill <joel@OARcorp.com> PR 9638/other * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the this constant defaults to 1. From-SVN: r63569
2003-02-28* config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.Bob Wilson2-1/+5
From-SVN: r63568
2003-02-28arm.md (mulhisi3, [...]): Enable for any ARMv5e processor, not just for XScale.Richard Earnshaw2-6/+55
* arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any ARMv5e processor, not just for XScale. Instructions are predicable. (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e. From-SVN: r63562
2003-02-28(note_invalid_constants): Change parameter type from bool to int.Nick Clifton2-2/+7
From-SVN: r63560
2003-02-28* gcc.dg/arm-asm.c: Enable for StrongARM and XScale targets.Richard Earnshaw2-1/+5
From-SVN: r63559
2003-02-28h8300.md (*tst_extzv_bitqi_1_n): Accept the test of bit 7.Kazu Hirata2-4/+30
* config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the test of bit 7. (*tst_extzv_memqi_1_n): Likewise. (a peephole2): New. From-SVN: r63558
2003-02-28mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in #ifndef __mips16.Richard Sandiford2-0/+7
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in #ifndef __mips16. From-SVN: r63553
2003-02-28combine.c (gen_lowpart_for_combine): Update handling of subregs_of_modeJan Hubicka7-35/+46
* combine.c (gen_lowpart_for_combine): Update handling of subregs_of_mode * flow.c (life_analysis, mark_used_regs): Likewise. * regclass.c (subregs_of_mode): Turn into single bitmap. (cannot_change-mode_set_regs, invalid_mode_change_p): Update dealing with subregs_of_mode * regs.h (subregs_of_mode): Update prototype. From-SVN: r63552
2003-02-2820010327-1.c: Use __SIZE_TYPE__ instead of unsigned long.Alexandre Oliva2-1/+8
* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead of unsigned long. From-SVN: r63551
2003-02-28simd-3.c: Do nothing if double is not wider than float.Alexandre Oliva2-0/+11
* gcc.c-torture/compile/simd-3.c: Do nothing if double is not wider than float. From-SVN: r63549
2003-02-28emit-rtl.c (set_reg_attrs_for_parm): New function.Josef Zlomek4-2/+36
* emit-rtl.c (set_reg_attrs_for_parm): New function. * rtl.h (set_reg_attrs_for_parm): New exported function. * function.c (assign_parms): Use set_reg_attrs_for_parm instead of set_reg_attrs_from_mem. From-SVN: r63548
2003-02-28gcc.c (do_spec_1): Treat %U like %u for unique associations.Roger Sayle2-2/+7
* gcc.c (do_spec_1): Treat %U like %u for unique associations. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r63542
2003-02-28reload1.c (sext_for_mode): Remove.Kazu Hirata2-35/+26
* reload1.c (sext_for_mode): Remove. (reload_cse_move2add): Use trunc_int_for_mode instead of sext_for_mode. (move2add_note_store): Likewise. Reset register information if we see a set in non-integer mode. From-SVN: r63540
2003-02-28Daily bump.GCC Administrator1-1/+1
From-SVN: r63539
2003-02-27aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu option.David Edelsohn4-15/+20
* config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu option. (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630. * config/rs6000/aix51.h: Same. * config/rs6000/aix52.h: Same. From-SVN: r63529
2003-02-27* config/avr/t-avr (MULTILIB_MATCHES): Fix at43usb355.Marek Michalkiewicz1-1/+1
From-SVN: r63527
2003-02-27* config/rs6000/power4.md: Additional VMX bypasses.David Edelsohn2-5/+22
From-SVN: r63525
2003-02-27toplev.c (print_version): Add indentation for GGC heuristics and output ↵Geert Bosch2-2/+8
after printing version information. * toplev.c (print_version): Add indentation for GGC heuristics and output after printing version information. From-SVN: r63524
2003-02-27Patch for PR 9255James E Wilson2-0/+8
Patch for PR 9255 * combine.c (simplify_comparison): Require integral mode when permuting SUBREG with AND. From-SVN: r63514
2003-02-27* config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.Steve Ellcey2-6/+4
From-SVN: r63511
2003-02-27(extendsfdf2): Add pattern accidentally deleted when cirrus instructions wereNick Clifton2-0/+12
added. From-SVN: r63510
2003-02-27config.gcc (*-*-netbsd[2-9]*, [...]): Enable POSIX thread support by default.Jason Thorpe2-0/+16
* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable POSIX thread support by default. From-SVN: r63509
2003-02-27cygwin.h: Don't include any other files directly.Roger Sayle4-10/+12
* config/i386/cygwin.h: Don't include any other files directly. * config/i386/mingw32.h: Don't include cygwin.h directly. * config.gcc (cygwin, mingw32, uwin): Instead make these files explicit in the tm_files variable. From-SVN: r63508
2003-02-28Part of fix for PR ada/9406Ben Elliston2-1/+6
2003-02-18 Ben Elliston <bje@redhat.com> Part of fix for PR ada/9406 * gnat_ug.texi (Binder output file): Grammar fix. From-SVN: r63506
2003-02-27* config/rs6000/rs6000.md: Add TI constant splitter.Alan Modra2-0/+31
From-SVN: r63498
2003-02-27Daily bump.GCC Administrator1-1/+1
From-SVN: r63497
2003-02-26builtins.c (purge_builtin_constant_p): Handle subreg of constant_p_rtx too.Alexandre Oliva2-2/+8
* builtins.c (purge_builtin_constant_p): Handle subreg of constant_p_rtx too. From-SVN: r63490
2003-02-26function.c (assign_stack_local_1): Truncate constant added to ↵Alexandre Oliva2-3/+11
frame_pointer_rtx or virtual_stack_vars_rtx for Pmode. * function.c (assign_stack_local_1): Truncate constant added to frame_pointer_rtx or virtual_stack_vars_rtx for Pmode. From-SVN: r63488
2003-02-26decl.c (finish_enum): Merge two 'for' loops.Devang Patel3-39/+51
* decl.c (finish_enum): Merge two 'for' loops. Copy value node if required. Postpone enum setting for template decls. (build_enumerator): Delay copying value node until finish_enum (). Remove #if 0'ed code. * pt.c (tsubst_enum): Set TREE_TYPE and copy value node. (tsubst_copy): Add check for enum type. From-SVN: r63487
2003-02-26Update commentary.Richard Henderson1-0/+8
From-SVN: r63484
2003-02-26jcf-write.c (generate_classfile): Check whether class is deprecated before ↵Tom Tromey2-2/+7
writing attribute count. * jcf-write.c (generate_classfile): Check whether class is deprecated before writing attribute count. From-SVN: r63482