aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-06-04beos-elf.h, [...] (CPP_SPEC): Remove cpp_cpu.Neil Booth26-135/+148
config/i386: * beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h, i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h, mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h, sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h, win32.h (CPP_SPEC): Remove cpp_cpu. * i386.h (TARGET_CPU_CPP_BUILTINS): Use. (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die! From-SVN: r54254
2002-06-04* config/ia64/ia64.c (gen_thread_pointer): Fix variable name.Janis Johnson2-1/+5
From-SVN: r54253
2002-06-04sched-int.h (struct deps): New field libcall_block_tail_insn.Jeff Law4-1/+77
* sched-int.h (struct deps): New field libcall_block_tail_insn. * sched_deps.c (init_deps): Initialize libcall_block_tail_insn. * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn is set, then mark the current insn as being part of a libcall scheduling group. (sched_analyze): Set and clear libcall_block_tail_insn appropriately. * haifa-sched.c (schedule_block): Do not count USE or CLOBBER insns against the issue rate. From-SVN: r54251
2002-06-04Tue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz>Jan Hubicka9-157/+25
* cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes. * final.c (final_scan_insn): Likewise. * ggc-common.c (ggc_mark_rtx_children_1): Likewise; use NOTE_EXPECTED_VALUE instead of NOTE_RANGE. * haifa-sched.c (unlink_other_notes): Likeewise. (reemit_notes): Likewise. * print-rtl.c (print_rtx): Likewise. * sched-deps (sched-analyze): Likewise. * rtl.c (note_insn_name): Likewise. * rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill. (enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE. (RANGE_*): Kill. From-SVN: r54250
2002-06-04* varasm.c (mark_constants): Handle RTX format 'B'.Jason Thorpe2-0/+5
From-SVN: r54247
2002-06-04cpphash.h (FIRST, [...]): New.Neil Booth4-31/+64
* cpphash.h (FIRST, LAST, CUR, RLIMIT): New. (struct cpp_context): Add traditional fields. * cppmacro.c (paste_all_tokens, push_ptoken_context, push_token_context, cpp_get_token, _cpp_backup_tokens): Update. * cpptrad.c (skip_comment, lex_identifier, _cpp_read_logical_line_trad, scan_out_logical_line): Update. From-SVN: r54242
2002-06-04gbl-ctors.h: Fix formatting.Kazu Hirata19-387/+408
* gbl-ctors.h: Fix formatting. * gcc.c: Likewise. * gccspec.c: Likewise. * gcov.c: Likewise. * gcov-io.h: Likewise. * gcse.c: Likewise. * ggc-common.c: Likewise. * ggc.h: Likewise. * ggc-page.c: Likewise. * ggc-simple.c: Likewise. * global.c: Likewise. * graph.h: Likewise. * gthr-dce.h: Likewise. * gthr.h: Likewise. * gthr-posix.h: Likewise. * gthr-rtems.h: Likewise. * gthr-solaris.h: Likewise. * gthr-win32.h: Likewise. From-SVN: r54240
2002-06-04Make-lang.in (gnatbind): Readd rule that has been lost in last patch.Andreas Jaeger2-5/+14
* Make-lang.in (gnatbind): Readd rule that has been lost in last patch. From-SVN: r54239
2002-06-04Daily bump.GCC Administrator3-3/+3
From-SVN: r54237
2002-06-04Merge from pch-branch up to tag pch-commit-20020603.Geoffrey Keating178-5900/+7536
From-SVN: r54232
2002-06-04altivec-2.c: Remove test for invalid vector type V2DF.Aldy Hernandez2-3/+4
2002-06-04 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/altivec-2.c: Remove test for invalid vector type V2DF. From-SVN: r54231
2002-06-04* config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)Jason Thorpe6-37/+144
(sh64-*-netbsd*, sh64l*-*-netbsd*): New targets. * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN) (TARGET_VERSION_CPU): Define according to the default target. (TARGET_VERSION): Use TARGET_VERSION_ENDIAN and TARGET_VERSION_CPU. (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64 if TARGET_SHMEDIA64. (LINK_DEFAULT_CPU_EMUL): Define according to the default target. (SUBTARGET_LINK_EMUL_SUFFIX): Define. (SUBTARGET_LINK_SPEC): Define. (LINK_SPEC): Use SH_LINK_SPEC. (ASM_SPEC): Remove. (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT. (FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32 and TARGET_SHMEDIA64 which abort, for now. * config/sh/t-netbsd-sh5: New file. * config/sh/t-netbsd-sh5-32: New file. * config/sh/t-netbsd-sh5-64: New file. From-SVN: r54230
2002-06-03alpha.c (reg_or_const_int_operand): New.Richard Henderson11-7/+1074
* config/alpha/alpha.c (reg_or_const_int_operand): New. (some_operand, input_operand): Accept CONST_VECTOR. (alpha_extra_constraint): Add 'W'. (alpha_expand_zap_mask): New. (alpha_expand_builtin_vector_binop): New. (enum alpha_builtin): New. (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New. (alpha_init_builtins, alpha_expand_builtin): New. (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New. * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New. (PREDICATE_CODES): Update. * config/alpha/alpha-protos.h: Update. * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP, UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New. (movv8qi, movv8qi_fix, movv8qi_nofix): New. (movv4hi, movv4hi_fix, movv4hi_nofix): New. (movv2si, movv2si_fix, movv2si_nofix): New. (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New. (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New. (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap, builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask, builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8, builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8, builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb, pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl, builtin_unpkbw, unpkbw): New. * doc/extend.texi (Alpha Built-in Functions): New. * gcc.dg/alpha-base-1.c, gcc.dg/alpha-base-2.c: New. * gcc.dg/alpha-max-1.c, gcc.dg/alpha-max-2.c: New. From-SVN: r54229
2002-06-03crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, ↵Richard Henderson2-2/+7
not EH_FRAME_SECTION_NAME. * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME. From-SVN: r54228
2002-06-03* config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.Richard Henderson2-35/+24
From-SVN: r54227
2002-06-03alpha.c (reg_or_0_operand): Use CONST0_RTX.Richard Henderson5-161/+159
* config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX. (const0_operand): New. (reg_or_fp0_operand, fp0_operand): Remove. * config/alpha/alpha.h (PREDICATE_CODES): Update. * config/alpha/alpha-protos.h: Update. * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand and fp0_operand with reg_or_0_operand and const0_operand. From-SVN: r54226
2002-06-03* alias.c (nonoverlapping_memrefs_p): Fix off by one error.Dan Nicolaescu2-1/+5
From-SVN: r54225
2002-06-04gcse.c (cprop_jump): Use single_set to get the pattern from the setcc argument.Roger Sayle2-3/+11
* gcse.c (cprop_jump): Use single_set to get the pattern from the setcc argument. From-SVN: r54221
2002-06-03diagnostic.h (diagnostic_count): Move from output_buffer to diagnostic_context.Gabriel Dos Reis2-13/+16
* diagnostic.h (diagnostic_count): Move from output_buffer to diagnostic_context. (diagnostic_kind_count): Adjust definition. From-SVN: r54218
2002-06-03except.c (except.c): Do not rebuild CFG.Jan Hubicka3-3/+12
* except.c (except.c): Do not rebuild CFG. * toplev.c (rest_of_compilation): Recompute CFG after sibcall optimization. From-SVN: r54217
2002-06-03integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.Jan Hubicka4-4/+11
* integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies. * toplev.c: Include cfglahout.h * Makefile.in (toplev.c): Add dependnecy. From-SVN: r54212
2002-06-03Daily bump.GCC Administrator3-3/+3
From-SVN: r54211
2002-06-03i386.h (TARGET_CPU_CPP_BUILTINS): New.Neil Booth2-27/+27
* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New. (CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill. (CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC. From-SVN: r54206
2002-06-03Fix typo in previous correction.Jason Thorpe1-1/+1
From-SVN: r54205
2002-06-03Check in file mistakenly omitted when sh*-*-netbsdelf* targets were added.Jason Thorpe2-0/+18
Check in file mistakenly omitted when sh*-*-netbsdelf* targets were added. Update ChangeLog entry: 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> * config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh. (sh-*-netbsdelf*) (shl*-*-netbsdelf*): New targets. * config/sh/netbsd-elf.h: New file. * config/sh/t-netbsd.h: New file. From-SVN: r54203
2002-06-03netbsd.h: Update copyright years.Jason Thorpe3-12/+48
* config/ns32k/netbsd.h: Update copyright years. (TARGET_OS_CPP_BUILTINS): Define. (CPP_PREDEFINES): Remove. * config/ns32k/ns32k.h (CPP_PREDEFINES): Remove. (TARGET_CPU_CPP_BUILTINS): Define. From-SVN: r54199
2002-06-03emit-rtl.c: Likewise.Kazu Hirata8-93/+103
* emit-rtl.c: Likewise. * errors.h: Likewise. * except.c: Likewise. * explow.c: Likewise. * expmed.c: Likewise. * expr.c: Likewise. * expr.h: Likewise. From-SVN: r54197
2002-06-03elf.h: Fix formatting.Kazu Hirata3-8/+17
* config/h8300/elf.h: Fix formatting. * config/h8300/rtems.h: Likewise. From-SVN: r54196
2002-06-03* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.Jason Thorpe2-5/+4
From-SVN: r54194
2002-06-02reverted erroneous checkinTom Tromey1-16/+5
From-SVN: r54193
2002-06-02fixincl.x: Rebuilt.Tom Tromey4-9/+25
* fixinc/fixincl.x: Rebuilt. * fixinc/inclhack.def (thread_keyword): Match `*__thread'. From-SVN: r54192
2002-06-02i370.h (TARGET_CPU_CPP_BUILTINS): Use.Neil Booth5-10/+49
config/i370: * i370.h (TARGET_CPU_CPP_BUILTINS): Use. * linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES. * mvs.h: Similarly. * oe.h: Similarly. From-SVN: r54191
2002-06-02final.c (final): Allow notes to not have computed addresses; kill no longer ↵Jan Hubicka2-8/+9
needed STACK_REGS ifdef. * final.c (final): Allow notes to not have computed addresses; kill no longer needed STACK_REGS ifdef. From-SVN: r54190
2002-06-02* gcse.c (bypass_conditional_jumps): Fix typo last change.Richard Henderson2-2/+7
From-SVN: r54189
2002-06-02loop.c (emit_prefetch_instructions): Properly place the address computation.Jan Hubicka22-226/+169
* loop.c (emit_prefetch_instructions): Properly place the address computation. * basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill. (set_block_for_insn): Turn into macro. * cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn. * cfglayout.c (insn_scopes): Kill. (scope_to_insns_initialize): Do not use insn_scopes. (scope_to_insns_finalize): Likewise. (duplicate_insn_chain): Likewise. (cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes. * cfgrtl.c (basic_block_for_insn): Kill. (delete_insn_and_edges, delete_insn_chain_and_edges): Simplify. (create_basic_block_structure): Use reorder_insns. (compute_bb_for_insn): Do not use basic_block_for_insn. (merge_blocks_nomove): Likewise. (update_bb_for_insn): Likewise. (verify_flow_info): Likewise. (set_block_for_insn): Kill. * combine.c (try_combine): Update gen_rtx_INSN call. * emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call. (mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear scopes and BBs. (add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify. (emit_note_before, emit_note_after, emit_line_note_after, emit_note): Clear BB. (emit_insns_after): Simplify. (emit_copy_of_insn_after): Copy scope. * final.c (final_start_function): Lower scopes. * flow.c (check_function_return_warnings): Do not rely on deleted insn. * integrate.c (copy_insn_list): Cope scopes. * jump.c (duplicate_loop_exit_test): LIkewise; simplify. * loop.c (loop_optimize): Do not care block notes. * print-rtl.c (print_rtx): Print BB. * recog.c (apply_change_group): Simplify. * rtl.c (copy_rtx): Handle 'B'. * rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields. * rtl.h (Field accessors): Update indexes. * sched-ebb.c (schedule_ebbs): Do not lower notes. * sched-rgn.c (schedule_insns): Likewise. * toplev.c (rest_of_compilation): Lower notes. * unroll.c (unroll_loop): Do not care scoping notes. (copy_loop_body): Copy scopes. From-SVN: r54188
2002-06-02elf.h: Use TARGET_OS_CPP_BUILTINS rather than SUBTARGET_SPEC.Neil Booth4-26/+52
config/h8300: * elf.h: Use TARGET_OS_CPP_BUILTINS rather than SUBTARGET_SPEC. * rtems.h: Similarly. * h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove. (TARGET_CPU_CPP_BUILTINS): Use. From-SVN: r54187
2002-06-02alias.c: Include target.h.Richard Henderson5-10/+30
* alias.c: Include target.h. (mark_constant_function): Use targetm.binds_local_p instead of checking TREE_PUBLIC ourselves. * Makefile.in (alias.o): Add TARGET_H. * gcc.c-torture/execute/pure-1.c: Don't mark any of the test functions static. From-SVN: r54186
2002-06-02* c-lex.c: Update copyright and file description.Neil Booth2-2/+6
From-SVN: r54185
2002-06-02* ChangeLog: Credit Zack appropriately.Neil Booth1-0/+1
From-SVN: r54184
2002-06-02loop-3c.x: Remove, the test should pass now.Andreas Jaeger2-14/+6
* gcc.c-torture/execute/loop-3c.x: Remove, the test should pass now. From-SVN: r54183
2002-06-02* config/fr30/fr30.h: Update to new CPP macros.Neil Booth2-1/+11
From-SVN: r54182
2002-06-02* config/dsp16xx/dsp16xx.h: Update to new CPP macros.Neil Booth2-6/+25
From-SVN: r54181
2002-06-02c-common.c (c_common_init): Override cpplib's default warn_long_long setting.Neil Booth14-479/+279
* c-common.c (c_common_init): Override cpplib's default warn_long_long setting. * c-lex.c (lex_number): Replace with interpret_integer, interpret_float, narrowest_unsigned_type and narrowest_signed_type, taking advantage of the new cpplib functionality. * cpperror.c (_cpp_begin_message): If a warning is turned into an error, avoid printing "warning:". * cppexp.c (cpp_num_sign_extend): New. * cppinit.c: Update comment. * cpplib.h (cpp_num_sign_extend): New. * tree.h: Update comment. testsuite: * gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-suffix-1.c, gcc.dg/cpp/paste4.c, gcc.dg/cpp/sysmac2.c: Update for mofified diagnostics. * gcc.dg/c99-intconst-1.c: No longer fail. From-SVN: r54180
2002-06-02diagnostic.h (struct diagnostic_context): Add new member internal_error.Gabriel Dos Reis5-20/+18
* diagnostic.h (struct diagnostic_context): Add new member internal_error. (internal_error_function): Remove declaration. * diagnostic.c (internal_error_function): Remove definition.. (internal_error): Adjust use. ada/ * misc.c (gnat_init): Adjust setting of internal_error_function. From-SVN: r54179
2002-06-02rtl.h (CC0_P): New.Richard Henderson3-32/+40
* rtl.h (CC0_P): New. * gcse.c (cprop_jump): Use it with single_set. Tweak dump text. (cprop_insn): Allow any mode register; use CC0_P. CSE out single_set. (bypass_block): Save old dest block for dump text. (bypass_conditional_jumps): Allow any mode register; use CC0_P. Allow only true SET insns, not single_set. From-SVN: r54178
2002-06-02* gcc.dg/uninit-A.c: Remove xfail markers.Richard Henderson2-2/+6
From-SVN: r54177
2002-06-02diagnostic.c (diagnostic_finish): Rename to output_flush.Gabriel Dos Reis2-58/+65
* diagnostic.c (diagnostic_finish): Rename to output_flush. (clear_disgnostic_info): Rename to output_clear_data. Use false instead of 0 for boolean value. Adjust function call throughout. From-SVN: r54176
2002-06-02cfgrtl.c (commit_one_edge_insertion): Fix warning.Jan Hubicka3-2/+7
* cfgrtl.c (commit_one_edge_insertion): Fix warning. * gcse.c (bypass_conditional_jumps): CSE out single_set call. From-SVN: r54175
2002-06-02re PR java/5913 (Core dump for String constant instanceof)Tom Tromey2-0/+14
Fix for PR java/5913: * parse.y (patch_binop): Call patch_string on op1. From-SVN: r54174
2002-06-02Fix for PR java/1343, PR java/6336:Tom Tromey3-71/+166
* parse.y (make_nested_class_name): Remove extraneous `else'; fix formatting. Changed return type. (anonymous_class_counter): Moved to top of file. (maybe_make_nested_class_name): Append number to class name for function-local classes. From-SVN: r54173