aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-03-1520020312-2.c [__MMIX__]: No pic register.Hans-Peter Nilsson9-0/+25
* gcc.dg/20020312-2.c [__MMIX__]: No pic register. * gcc.c-torture/compile/981006-1.x: Don't use -fpic on cris-*-elf* cris-*-aout* mmix-*-*. * g++.old-deja/g++.other/local-alloc1.C: Skip on cris-*-elf* cris-*-aout* mmix-*-*. * g++.dg/debug/debug3.C: Expect warning for unsupported -fpic on cris-*-elf* cris-*-aout* and mmix-*-*. * gcc.dg/20001009-1.c: Ditto. * gcc.dg/20010912-1.c: Ditto. * gcc.dg/20020122-4.c: Ditto. * gcc.dg/inline-2.c: Ditto. From-SVN: r50794
2002-03-15re PR c++/5908 (Warning regression wrt. gcc 3.0)Jakub Jelinek1-0/+1
PR c++/5908 From-SVN: r50793
2002-03-15re PR rtl-optimization/5891 (ICE compiling SPEC fp test with -funroll-loops ↵Jakub Jelinek2-0/+6
on ia64) PR optimization/5891 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. From-SVN: r50791
2002-03-15unwind-ia64.c: Handle copy_state and label_state descriptors correctly.David Mosberger2-23/+77
* config/ia64/unwind-ia64.c: Handle copy_state and label_state descriptors correctly. From-SVN: r50789
2002-03-14Add --param max-unrolled-insns=<n> supportMichael Meissner6-8/+31
From-SVN: r50787
2002-03-14* arm.md: Fix warnings about constraints in peepholes and splits.Richard Earnshaw2-8/+12
From-SVN: r50786
2002-03-14* gcc.c-torture/compile/20020314-1.c: New test.Jeffrey A Law2-0/+30
From-SVN: r50782
2002-03-14cpphash.h (struct lexer_state): Remove line_extension member.Zack Weinberg1-6/+34
* cpphash.h (struct lexer_state): Remove line_extension member. * cpplib.c (dequote_string, do_linemarker): New functions. (linemarker_dir): New data object. (DIRECTIVE_TABLE): No longer need to interpret #line in preprocessed source. Delete obsolete comment about return values of handlers. (end_directive, directive_diagnostics, _cpp_handle_directive): Don't muck with line_extension. (directive_diagnostics): No need to issue warnings for linemarkers here. (_cpp_handle_directive): Issue warnings for linemarkers here, when appropriate. Dispatch linemarkers to do_linemarker, not do_line. (do_line): Code to handle linemarkers split out to do_linemarker. Convert escape sequences in filename argument, both places. * cppmacro.c (quote_string): Rename cpp_quote_string and export. All callers changed. * cpplib.h (cpp_quote_string): Prototype. * cppmain.c (print_line): Call cpp_quote_string on to_file before printing it. * doc/cpp.texi: Document that escapes are now interpreted in #line and in linemarkers, and that non-printing characters are converted to octal escapes when linemarkers are generated. From-SVN: r50780
2002-03-14cpphash.h (struct lexer_state): Remove line_extension member.Zack Weinberg6-97/+193
* cpphash.h (struct lexer_state): Remove line_extension member. * cpplib.c (dequote_string, do_linemarker): New functions. (linemarker_dir): New data object. (DIRECTIVE_TABLE): No longer need to interpret #line in preprocessed source. Delete obsolete comment about return values of handlers. (end_directive, directive_diagnostics, _cpp_handle_directive): Don't muck with line_extension. (directive_diagnostics): No need to issue warnings for linemarkers here. (_cpp_handle_directive): Issue warnings for linemarkers here, when appropriate. Dispatch linemarkers to do_linemarker, not do_line. (do_line): Code to handle linemarkers split out to do_linemarker. Convert escape sequences in filename argument, both places. * cppmacro.c (quote_string): Rename cpp_quote_string and export. All callers changed. * cpplib.h (cpp_quote_string): Prototype. * cppmain.c (print_line): Call cpp_quote_string on to_file before printing it. * doc/cpp.texi: Document that escapes are now interpreted in #line and in linemarkers, and that non-printing characters are converted to octal escapes when linemarkers are generated. From-SVN: r50779
2002-03-14emit-rtl.c (try_split): Use delete_insns.Jan Hubicka3-8/+9
* emit-rtl.c (try_split): Use delete_insns. * recog.c (split_all_insns): Fix terminating condition. From-SVN: r50778
2002-03-14fr.po: Update to latest revision.Philipp Thomas2-2031/+1944
2002-03-14 Philipp Thomas <pthomas@suse.de> * fr.po: Update to latest revision. From-SVN: r50777
2002-03-14* gcc.c-torture/execute/20020314-1.c: New test.Richard Earnshaw2-0/+40
From-SVN: r50772
2002-03-14re PR target/5828 (gcc-3.0.4 on arm : floating point registers incorrectly ↵Richard Earnshaw2-6/+19
reloaded) PR target/5828 * arm.c (arm_output_epilogue): Fix floating-point register save adjustment when using a frame pointer. Co-Authored-By: Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> From-SVN: r50771
2002-03-14call.c (build_over_call): Set TREE_NO_UNUSED_WARNING too.Jakub Jelinek5-0/+26
* call.c (build_over_call): Set TREE_NO_UNUSED_WARNING too. * cvt.c (convert_to_void): Preserve TREE_NO_UNUSED_WARNING. * g++.dg/warn/Wunused-1.C: New test. From-SVN: r50770
2002-03-14Delete all lines containing "$Revision:".Geoffrey Keating1363-1570/+64
* xeinfo.adb: Don't look for revision numbers. * xnmake.adb: Likewise. * xsinfo.adb: Likewise. * xsnames.adb: Likewise. * xtreeprs.adb: Likewise. From-SVN: r50768
2002-03-14mips.h (FP_INC, [...]): New macros.Richard Sandiford3-54/+50
* config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. * config/mips/mips.c (compute_frame_size): Retrofit them here. (save_restore_insns, mips_expand_epilogue): And here. (build_mips16_call_stub): And here. (mips_function_value): Use the new macros to decide whether a single or complex float can be returned in floating-point registers. Return a parallel rtx in the complex case. From-SVN: r50766
2002-03-14toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup call ↵Jan Hubicka5-17/+20
after liveness analysis. * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup call after liveness analysis. * recog.c (split_insn): Use delete_insn_and_edges. * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump instructions to have branch prediction notes. * ia64reorg.c (ia64_reorg): Do not rebuild CFG. From-SVN: r50765
2002-03-14configure.in: Don't pass -Wno-long-long to a ADA compiler that doesn't ↵Geoffrey Keating3-409/+457
support it. * configure.in: Don't pass -Wno-long-long to a ADA compiler that doesn't support it. * configure: Regenerate. From-SVN: r50763
2002-03-14Daily bump.GCC Administrator2-2/+2
From-SVN: r50761
2002-03-13re PR target/5626 (gcc-3.1 on sparcv9 does not generate code for long jumps)Jakub Jelinek5-83/+345
PR target/5626 * config/sparc/sparc.md (normal_branch, inverted_branch, normal_fp_branch, inverted_fp_branch, normal_fpe_branch, inverted_fp_branch): Adjust calls to output_cbranch. Set length attribute. (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to output_v9branch. Set length attribute. * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New predicates. (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. (output_cbranch): Likewise. Handle far branches. (output_v9branch): Handle far branches. * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): Adjust prototypes. * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and noov_compare64_op predicates. From-SVN: r50753
2002-03-13Fix last commit.Richard Sandiford1-2/+5
From-SVN: r50749
2002-03-13* g++.dg/abi/mangle6.C: New test.Richard Sandiford2-0/+22
From-SVN: r50744
2002-03-13mangle.c (write_builtin_type): Handle 128-bit integers even if they are not ↵Richard Sandiford2-5/+15
a standard integer type. * mangle.c (write_builtin_type): Handle 128-bit integers even if they are not a standard integer type. From-SVN: r50743
2002-03-13gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr into the ↵Jason Merrill4-6/+9
function and constify it. * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr into the function and constify it. * gthr-dce.h, gthr-solaris.h: Likewise. From-SVN: r50741
2002-03-13cp-tree.h (init_init_processing): Remove declaration.Richard Sandiford4-22/+6
* cp-tree.h (init_init_processing): Remove declaration. * init.c (BI_header_type, init_init_processing): Remove old ABI stuff. * decl.c (cxx_init_decl_processing): Don't call init_init_processing. From-SVN: r50740
2002-03-13rs6000.h (PAD_VARARGS_DOWN): Define.David Edelsohn3-43/+15
* config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. * config/rs6000/rs6000.c (rs6000_va_arg): Use std_expand_builtin_va_arg if not ABI_V4. From-SVN: r50739
2002-03-13varasm.c (globalize_decl): New fn.Jason Merrill3-0/+27
* varasm.c (globalize_decl): New fn. (assemble_start_function): Use it. (asm_emit_uninitialized): Use it. (assemble_alias): Use it. (assemble_variable): Use it. From-SVN: r50738
2002-03-13varasm.c (globalize_decl): New fn.Jason Merrill2-50/+39
* varasm.c (globalize_decl): New fn. (assemble_start_function): Use it. (asm_emit_uninitialized): Use it. (assemble_alias): Use it. (assemble_variable): Use it. From-SVN: r50736
2002-03-13cris.c (cris_target_asm_function_prologue): Revert 2002-03-12 internal ↵Hans-Peter Nilsson2-14/+15
visibility change. * config/cris/cris.c (cris_target_asm_function_prologue): Revert 2002-03-12 internal visibility change. (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding visibility into SYMBOL_REF_FLAG. From-SVN: r50735
2002-03-13expr.c (expand_expr, [...]): Do not call copy_to_reg with VOIDmode operand.Ulrich Weigand2-1/+23
* expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with VOIDmode operand. Add compile-time optimization for constant results. From-SVN: r50734
2002-03-13c-typeck.c (convert_for_assignment): Don't allow conversions between ↵Jason Merrill2-1/+12
pointers and references. * c-typeck.c (convert_for_assignment): Don't allow conversions between pointers and references. Only allow lvalues to convert to reference. From-SVN: r50731
2002-03-13s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code before prologue, to ↵Hartmut Penner2-1/+6
avoid scheduling problems. * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code before prologue, to avoid scheduling problems. From-SVN: r50730
2002-03-13Daily bump.GCC Administrator2-2/+2
From-SVN: r50729
2002-03-13sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.Jakub Jelinek2-13/+25
* config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. (ELIMINABLE_REGS): Add sfp->sp. (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. From-SVN: r50725
2002-03-13re PR rtl-optimization/5892 (ICE in gen_nop_type during 2.4.17 ia64 kernel ↵Jakub Jelinek4-0/+28
build) PR optimization/5892 * config/ia64/ia64.c (rotate_one_bundle): Update current packet. * gcc.c-torture/compile/20020312-1.c: New test. From-SVN: r50723
2002-03-13loop.c (basic_induction_var): Don't call convert_modes if mode classes are ↵Jakub Jelinek4-3/+29
different. * loop.c (basic_induction_var): Don't call convert_modes if mode classes are different. * gcc.c-torture/compile/20020309-2.c: New test. From-SVN: r50721
2002-03-12re PR target/5901 ([IA64] misplaced .body)Richard Henderson2-44/+55
PR optimization/5901 * function.c (reposition_prologue_and_epilogue_notes): Position the markers after/before the last/first insn not deleted. From-SVN: r50715
2002-03-12re PR rtl-optimization/5878 (gcc 3.1 breaks on C code generated by the ↵Richard Henderson11-76/+238
Mercury compiler) PR 5878 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK also. Don't set it if not flag_pic. * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM to be INVALID_REGNUM when not used. * gcc.dg/20020312-2.c: New. From-SVN: r50713
2002-03-13expmed.c (store_bit_field): Reset alias set for memory.Aldy Hernandez2-0/+23
2002-03-13 Aldy Hernandez <aldyh@redhat.com> * expmed.c (store_bit_field): Reset alias set for memory. (extract_bit_field): Same. From-SVN: r50706
2002-03-13c-common.c (c_tree_code_type, [...]): Delete.Kaveh R. Ghazi23-270/+274
* c-common.c (c_tree_code_type, c_tree_code_length, c_tree_code_name, add_c_tree_codes): Delete. * c-common.h (add_c_tree_codes): Delete. * c-lang.c (tree_code_type, tree_code_length, tree_code_name): Define. * c-objc-common.c (c_objc_common_init): Don't call add_c_tree_codes, instead set lang_unsafe_for_reeval. * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, objc_tree_code_name, add_objc_tree_codes): Delete. (objc_init): Don't call add_objc_tree_codes. * objc/objc-lang.c (tree_code_type, tree_code_length, tree_code_name): Define. * toplev.c (lang_independent_init): Don't set tree_code_length[IDENTIFIER_NODE]. * tree.c (tree_code_type, tree_code_length, tree_code_name): Delete definitions, moved to language front-ends. * tree.def (IDENTIFIER_NODE): Hardwire the length. * tree.h (tree_code_type, tree_code_length, tree_code_name): Const-ify. (tree_code_length): Change type to unsigned char. ada: * misc.c (gnat_tree_code_type, gnat_tree_code_length, gnat_tree_code_name): Delete. (tree_code_type, tree_code_length, tree_code_name): Define. (gnat_init): Don't try to copy into the various tree_code arrays. ch: * decl.c (chill_tree_code_type, chill_tree_code_length, chill_tree_code_name): Delete. (tree_code_type, tree_code_length, tree_code_name): Define. (init_decl_processing): Don't try to copy into the various tree_code arrays. cp: * cp-lang.c (tree_code_type, tree_code_length, tree_code_name): Define. * decl.c (duplicate_decls): Use TREE_CODE_LENGTH, not tree_code_length. * lex.c (cplus_tree_code_type, cplus_tree_code_length, cplus_tree_code_name): Delete. (cxx_init): Don't call add_c_tree_codes, instead set lang_unsafe_for_reeval. Don't try to copy into the various tree_code arrays. f: * com.c (tree_code_type, tree_code_length, tree_code_name): Define. java: * lang.c (java_tree_code_type, java_tree_code_length, tree_code_name): Delete. (tree_code_type, tree_code_length, tree_code_name): Define. (java_init): Don't try to copy into the various tree_code arrays. From-SVN: r50705
2002-03-12i386.c (ix86_expand_prologue): Revert 2002-03-03 internal visibility change.Richard Henderson2-7/+6
* config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 internal visibility change. From-SVN: r50704
2002-03-12Fix typo in comment.Richard Henderson1-1/+1
From-SVN: r50699
2002-03-12re PR java/5923 (gcj -C generates incorrect bytecode)Tom Tromey2-44/+7
* jcf-parse.c (get_constant) [CONSTANT_String]: String values are UTF-8, not UCS-2. Fixes PR java/5923. From-SVN: r50695
2002-03-12xtensa.c (xtensa_expand_block_move): Use validize_mem() instead of ↵Bob Wilson2-2/+8
change_address to avoid clobbering memory attributes. * config/xtensa/xtensa.c (xtensa_expand_block_move): Use validize_mem() instead of change_address to avoid clobbering memory attributes. From-SVN: r50693
2002-03-12re PR c++/5659 (default access for class/struct bug)Nathan Sidwell5-14/+44
cp: PR c++/5659 * decl.c (xref_tag): Don't set CLASSTYPE_DECLARED_CLASS here. * decl2.c (handle_class_head): Set CLASSTYPE_DECLARED_CLASS for definitions. testsuite: * g++.dg/other/access1.C: New test. From-SVN: r50692
2002-03-12* c-lex.h (position_after_whitespace): Remove.Neil Booth2-1/+4
From-SVN: r50691
2002-03-12c-lex.c (cb_ident, c_lex): Remove unnecessary cast.Jakub Jelinek4-9/+34
* c-lex.c (cb_ident, c_lex): Remove unnecessary cast. (lex_string): Use unsigned char pointers. * gcc.c-torture/execute/wchar_t-1.c: New test. From-SVN: r50689
2002-03-12* gcc.dg/20020103-1.c: Add rs6000 target and macro.David Edelsohn2-2/+6
From-SVN: r50684
2002-03-12reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent is not a ↵Ulrich Weigand2-1/+11
valid memory_operand. * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent is not a valid memory_operand. From-SVN: r50681
2002-03-12xtensa-config.h: Define XCHAL_HAVE_LOOPS.Bob Wilson4-2/+66
* config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. * config/xtensa/lib1funcs.asm: Fix copyright to include special case for libgcc files. (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. (__divsi3): Likewise. (__umodsi3): Likewise. (__modsi3): Likewise. * config/xtensa/lib2funcs.S: Fix copyright to include special case for libgcc files. From-SVN: r50677