aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-03-14stmt.c (expand_start_case): Call emit_queue ().Jakub Jelinek4-0/+77
* stmt.c (expand_start_case): Call emit_queue (). * gcc.c-torture/execute/20030313-1.c: New test. From-SVN: r64366
2003-03-14* gcc.dg/inline-2.c: Adjust alpha test for external call.Richard Henderson2-1/+5
From-SVN: r64365
2003-03-14mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2 words in new abis.Chris Demetriou2-6/+14
* config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2 words in new abis. From-SVN: r64364
2003-03-14re PR rtl-optimization/8396 ([sparc] optimizer ICE)Eric Botcazou4-0/+32
PR optimization/8396 * tree-inline.c (initialize_inlined_parameters): Make sure the value of read-only constant arguments is passed with the right type. From-SVN: r64358
2003-03-14* doc/extend.texi (Function Names): Make the example compilable.Steven Bosscher2-1/+5
From-SVN: r64350
2003-03-13rs6000.c (processor_target_table): Really allow GP optional instructions on ↵David Edelsohn2-2/+7
Power4. * config/rs6000/rs6000.c (processor_target_table): Really allow GP optional instructions on Power4. From-SVN: r64348
2003-03-14calls.c (flags_from_decl_or_type): Factor and remove redundant conditional ↵Roger Sayle2-7/+15
tests. * calls.c (flags_from_decl_or_type): Factor and remove redundant conditional tests. From-SVN: r64347
2003-03-14Daily bump.GCC Administrator1-1/+1
From-SVN: r64345
2003-03-13dll-1.c: Remove thumb target.Danny Smith6-10/+48
* gcc.dg/dll-1.c: Remove thumb target. Change exp to _exp. * gcc.dg/dll-2.c: Enable for cygwin and mingw. Remove thumb target, * gcc.dg/dll-3.c: Likewise. Adjust scan-assembler to accept newer _imp__ prefix and additional newline in .drectve section. * gcc.dg/dll-4.c: Likewise. * gcc.dg/dll-5.c: New file to test -mnop-fun-dllimport switch. From-SVN: r64337
2003-03-13re PR c++/9420 (incomplete type incorrectly reported)Jason Merrill3-7/+8
PR c++/9420 * search.c (lookup_conversions): Call complete_type here. * call.c (implicit_conversion): Not here. From-SVN: r64332
2003-03-13decl2.c (do_nonmember_using_decl): Correct handling of simultaneous ↵Mark Mitchell4-0/+20
type/non-type bindings. * decl2.c (do_nonmember_using_decl): Correct handling of simultaneous type/non-type bindings. * g++.dg/parse/namespace9.C: New test. From-SVN: r64323
2003-03-13re PR c++/9336 (ICE in cp_line_of, at cp/error.c:2191)Jason Merrill1-0/+18
PR c++/9336 * decl2.c (lookup_arg_dependent): Handle error_mark_node. [[Split portion of a mixed commit.]] From-SVN: r64322.2
2003-03-13Fix typo in ChangeLogMark Mitchell1-1/+1
From-SVN: r64321
2003-03-13ggc-page.c (struct page_entry): Remove varray.h header.Mike Stump3-28/+316
* ggc-page.c (struct page_entry): Remove varray.h header. Add index_by_depth field. Remove save_in_use_p field. (struct globals): Add depth_in_use, depth_max, by_depth_in_use, by_depth_max, by_depth, and save_in_use fields. (INITIAL_PTE_COUNT): Add. (save_in_use_p_i): Add. (save_in_use_p): Add. (adjust_depth): Add. (move_ptes_to_front): Add. (push_depth): Add. (push_by_depth): Add. (prefetch): Add. (free_page): Add support for and use faster data structures. (ggc_alloc): Likewise. (init_ggc): Likewise. (ggc_recalculate_in_use_p): Likewise. (ggc_pop_context): Likewise. (clear_marks): Likewise. (ggc_pch_read): Likewise. * Makefile.in (ggc-page.o): Remove varray.h. From-SVN: r64320
2003-03-13call.c (initialize_reference): Remove bogus assertion.Mark Mitchell6-40/+33
* call.c (initialize_reference): Remove bogus assertion. * decl.c (build_ptrmemfunc_type): Revert change of 2003-03-09. * g++.dg/init/ref5.C: New test. * g++.dg/parse/ptrmem1.C: Likewise. From-SVN: r64316
2003-03-13ChangeLog: Rotated last year's entries to...Nathanael Nerode2-14448/+14453
* ChangeLog: Rotated last year's entries to... * ChangeLog.8: New. From-SVN: r64315
2003-03-13parse.y (resolve_inner_class): Error if qualifier is a primitive type.Tom Tromey2-2/+14
* parse.y (resolve_inner_class): Error if qualifier is a primitive type. From-SVN: r64314
2003-03-13fde-glibc.c, [...]: It's GCC, not GNU CC.Nathanael Nerode16-60/+71
* config/ia64/fde-glibc.c, config/ia64/freebsd.h, config/ia64/hpux.h, config/ia64/hpux_longdouble.h, config/ia64/ia64-c.c, config/ia64/ia64-modes.def, config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, config/ia64/ia64.md, config/ia64/itanium1.md, config/ia64/itanium2.md, config/ia64/quadlib.c, config/ia64/unwind-ia64.c, config/ia64/unwind-ia64.h: It's GCC, not GNU CC. From-SVN: r64313
2003-03-13output_return_instruction: Simplyify test for avoiding type 2 LDMs.Nick Clifton1-5/+1
From-SVN: r64311
2003-03-13Makefile.in (dojump.o): New target.Ansgar Esztermann4-980/+1021
2003-03-13 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de> * Makefile.in (dojump.o): New target. * dojump.c: New file. (init_pending_stack_adjust): Moved here from expr.c. (clear_pending_stack_adjust): Likewise. (do_pending_stack_adjust): Likewise. (jumpifnot): Likewise. (jumpif): Likewise. (do_jump): Likewise. (do_jump_by_parts_greater): Likewise. (do_jump_by_parts_greater_rtx): Likewise. (do_jump_by_parts_equality): Likewise. (do_jump_by_parts_equality_rtx): Likewise. (compare_from_rtx): Likewise. (do_compare_rtx_and_jump): Likewise. (do_compare_and_jump): Likewise. * expr.c (init_pending_stack_adjust): Removed to dojump.c. (clear_pending_stack_adjust): Likewise. (do_pending_stack_adjust): Likewise. (jumpifnot): Likewise. (jumpif): Likewise. (do_jump): Likewise. (do_jump_by_parts_greater): Likewise. (do_jump_by_parts_greater_rtx): Likewise. (do_jump_by_parts_equality): Likewise. (do_jump_by_parts_equality_rtx): Likewise. (compare_from_rtx): Likewise. (do_compare_rtx_and_jump): Likewise. (do_compare_and_jump): Likewise. (placeholder_list): Made declaration extern. * expr.h (placeholder_list): Declare. From-SVN: r64309
2003-03-13rs6000.c (rs6000_dwarf_register_span): Differentiate endianness.Aldy Hernandez2-7/+14
2003-03-13 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_dwarf_register_span): Differentiate endianness. (s6000_override_options): Use cpu type instead of TARGET_SPE. From-SVN: r64308
2003-03-13Remove redundant writeback test in previous delta.Nick Clifton1-4/+7
From-SVN: r64307
2003-03-13(print_multi_reg): Do not generate a type 2 LDM instructions with writeback ↵Nick Clifton2-15/+35
enabled. (print_multi_reg): Do not generate a type 2 LDM instructions with writeback enabled. (output_return_instruction): Likewise. From-SVN: r64306
2003-03-13(FIXED_REGISTERS): Remove definition.Nick Clifton2-22/+11
(CALL_USED_REGISTERS): Remove definition. (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define. From-SVN: r64305
2003-03-13rs6000.c (rs6000_flag_pic): Delete.Alan Modra5-33/+56
* config/rs6000/rs6000.c (rs6000_flag_pic): Delete. (rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF. (rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO. (rs6000_override_options): Don't clear flag_pic for ABI_AIX. (rs6000_legitimize_address): Formatting. (rs6000_emit_move): Likewise. (rs6000_return_addr): Test ABI_AIX as well as flag_pic. (rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise. (rs6000_elf_select_section): Comment reason for shlib being set for ABI_AIX. (rs6000_elf_unique_section): Likewise. (rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX. * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX as well as flag_pic. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise. (MINIMAL_TOC_SECTION_ASM_OP): Likewise. * config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define. From-SVN: r64304
2003-03-13emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.Richard Henderson5-310/+469
* emit-rtl.c (try_split): Handle 1-1 splits of call insns properly. * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New. (ia64_gp_save_reg): Remove. (struct ia64_frame_info): Move to the beginning of the file; add reg_save_gp. (ia64_expand_call): Rearrange for new call patterns. (ia64_reload_gp): New. (ia64_split_call): New. (ia64_compute_frame_size): Allocate reg_save_gp. (ia64_expand_prologue): Save reg_save_gp. (ia64_expand_epilogue): Don't restore gp. (ia64_hard_regno_rename_ok): Remove R4 hack. (ia64_function_ok_for_sibcall): New. (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos; call try_split on sibcall pattern. * config/ia64/ia64-protos.h: Update. * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp): Rename from nopic versions. Confiscate 2nd argument to call as a marker. (call_pic, call_value_pic, sibcall_pic): Remove. (call_gp, call_value_gp, sibcall_gp): New. (builtin_setjmp_setup): Remove. (builtin_setjmp_receiver): Call ia64_reload_gp. From-SVN: r64303
2003-03-13* Make-lang.in (tree1$(exeext)): Fix previous patch.Andreas Jaeger2-1/+5
From-SVN: r64302
2003-03-13dsp16xx-protos.h, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode5-17/+21
* config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace "GNU CC" with "GCC". From-SVN: r64301
2003-03-13c4x-c.c, [...]: GCC, not GNU CC.Nathanael Nerode9-31/+36
* config/c4x/c4x-c.c, config/c4x/c4x-modes.def, config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h: GCC, not GNU CC. From-SVN: r64300
2003-03-13ecos.exp (gcsec-1.c): Find linker used by gcc.John David Anglin5-4/+14
* gcc.dg/special/ecos.exp (gcsec-1.c): Find linker used by gcc. * gcc.dg/old-style-asm-1.c (dg-final): Add hpux label alternative to regular expression. * gcc.dg/funcorder.c (dg-final): Check for "link_error,%r" on hppa*-*-*. * gcc.dg/inline-1.c (dg-final): Check for "xyzzy?,%r" on hppa*-*-*. From-SVN: r64299
2003-03-13genattrtab.h, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode7-24/+27
* genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h, langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC". From-SVN: r64298
2003-03-13c-pch.c, [...]: Replace "GNU CC" with "GCC".Nathanael Nerode11-38/+43
* c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c, langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace "GNU CC" with "GCC". From-SVN: r64297
2003-03-13lib1funcs.asm, [...]: GCC, not GNU CC.Nathanael Nerode8-26/+31
* config/v850/lib1funcs.asm, config/v850/rtems.h, config/v850/v850-c.c, config/v850/v850-protos.h, config/v850/v850.c, config/v850/v850.h, config/v850/v850.md: GCC, not GNU CC. From-SVN: r64296
2003-03-13bsd.h, [...]: GCC, not GNU CC.Nathanael Nerode13-48/+56
* config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h, config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h, config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not GNU CC. From-SVN: r64294
2003-03-13cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.Benjamin Kosnik2-3/+8
2003-03-12 Benjamin Kosnik <bkoz@redhat.com> * cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING. From-SVN: r64293
2003-03-13fixinc.interix: Remove dead code (most of it).Nathanael Nerode3-386/+3
* fixinc/fixinc.interix: Remove dead code (most of it). * fixinc/fixinc.dgux: Remove. From-SVN: r64292
2003-03-13float.h, [...]: GCC, not GNU CC.Nathanael Nerode6-20/+25
* ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h, ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC. From-SVN: r64291
2003-03-13* Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.Nathanael Nerode4-12/+16
From-SVN: r64290
2003-03-13g77.texi, [...]: GCC, not GNU CC.Nathanael Nerode5-11/+16
* g77.texi, invoke.texi, g77spec.c, lang-specs.h: GCC, not GNU CC. Especially here. From-SVN: r64289
2003-03-13* pa.c (pa_init_builtins): Fix warning.John David Anglin2-1/+5
From-SVN: r64286
2003-03-13Daily bump.GCC Administrator1-1/+1
From-SVN: r64280
2003-03-12ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.Steve Ellcey2-59/+20
* config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove. (ASM_OUTPUT_XDATA_SHORT): Remove. (ASM_OUTPUT_XDATA_INT): Remove. (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove. (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs. (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers. (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement. From-SVN: r64271
2003-03-12re PR c++/7050 (g++ segfaults on: (i ? get_string() : throw))Andrew Lewycky4-5/+27
PR c++/7050 * expr.c (store_expr): Don't attempt to store void-typed trees, just evaluate them for side effects. * cp/expr.c (cxx_expand_expr): Return const0_rtx for throw expressions. From-SVN: r64268
2003-03-12cppfiles.c (cpp_rename_file, [...]): New.Neil Booth4-28/+45
* cppfiles.c (cpp_rename_file, cpp_push_include): New. * cppinit.c (push_include): Move with changes to cppfiles.c. (cpp_read_main_file): Mark named operators here... (cpp_finish_options): ...not here. Update. (_cpp_maybe_push_include_file): Update. * cpplib.h (cpp_push_include, cpp_rename_file): New. From-SVN: r64266
2003-03-12aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, _gcc_COMPUTE_GAS_VERSION.Nathanael Nerode4-213/+353
* aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, _gcc_COMPUTE_GAS_VERSION. * configure.in: Use them. * configure: Regenerate. From-SVN: r64263
2003-03-12xtensa.md (adddi3): Don't clobber source operand used to detect carry.Bob Wilson2-2/+21
* config/xtensa/xtensa.md (adddi3): Don't clobber source operand used to detect carry. (subdi3): Reorder emitted instructions. From-SVN: r64262
2003-03-12netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to NETBSD_OS_CPP_BUILTINS_LP64.Andreas Jaeger2-2/+5
* config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to NETBSD_OS_CPP_BUILTINS_LP64. From-SVN: r64261
2003-03-12Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.Nathanael Nerode4-723/+789
(toplev) * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused Make macro. * Makefile.in: Regenerate. * configure.in: Clean up gxx_include_dir logic. * configure: Regenerate. (gcc) * Makefile.in: Eliminate all.indirect. Update and clean up comments. Rearrange. Reorganize. * configure.in: Rearrange. * configure: Regenerate. From-SVN: r64260
2003-03-12c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for LP64 targets.Andreas Jaeger9-26/+38
* c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for LP64 targets. * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and _LP64. * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define _LP64 macros here. * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise. * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to NETBSD_OS_CPP_BUILTINS_LP64. * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise. * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise. * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove. From-SVN: r64259
2003-03-12* i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.Jan Hubicka2-0/+6
From-SVN: r64256