aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-04-22Update turkish catalogPhilipp Thomas2-4560/+6324
From-SVN: r52612
2002-04-22Daily bump.GCC Administrator2-2/+2
From-SVN: r52607
2002-04-22altivec.h (vec_xor): Add variant for both args being vector signed int.Aldy Hernandez2-5/+18
2002-04-22 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/altivec.h (vec_xor): Add variant for both args being vector signed int. (vec_andc): Same. (vec_xor): Add variant for both args being vector signed char. Remove redundant variant. (vec_andc): Same. From-SVN: r52602
2002-04-21sparc.md (set then compare DI mode peephole2): Fix compare mode in output RTL.David S. Miller2-1/+6
2002-04-21 David S. Miller <davem@redhat.com> * config/sparc/sparc.md (set then compare DI mode peephole2): Fix compare mode in output RTL. From-SVN: r52597
2002-04-2220020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*.Hans-Peter Nilsson9-12/+33
* gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*. * g77.f-torture/execute/io0.x: xfail for cris-*-elf. * g77.f-torture/execute/io1.x, g77.f-torture/execute/20001201.x, g77.f-torture/execute/6367.x, g77.f-torture/execute/u77-test.x: Ditto. * gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf. * gcc.dg/wchar_t-1.c: Ditto. From-SVN: r52595
2002-04-21rs6000.c (rs6000_override_options): Correct style and formatting of previous ↵David Edelsohn2-2/+8
patch. * config/rs6000/rs6000.c (rs6000_override_options): Correct style and formatting of previous patch. From-SVN: r52593
2002-04-22rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX.Alan Modra2-3/+9
* config/rs6000/rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX. From-SVN: r52591
2002-04-21cleanup1.C (C::C()): Initialize member c.Hans-Peter Nilsson2-1/+7
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c. Clarify comment. From-SVN: r52588
2002-04-21cppexp.c (struct op, [...]): Replace U_CHAR with uchar.Neil Booth8-68/+83
* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. * cppfiles.c (read_include_file): Similarly. * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, uxstrdup ustrchr, ufputs): Similarly. * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, cpp_ideq, parse_identifier, parse_number): Similarly. * cpplib.c (struct directive, dequote_string, D, run_directive, cpp_push_buffer): Similarly. * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, _cpp_create_definition, check_trad_stringification, cpp_macro_definition): Similarly. From-SVN: r52587
2002-04-21cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.Neil Booth5-6/+35
* cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF. testsuite: * gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests. From-SVN: r52586
2002-04-2120000906-1.x: Delete.Franz Sirl2-14/+4
2002-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20000906-1.x: Delete. From-SVN: r52584
2002-04-21* gnat_rm.texi: Use @ifnottex instead of @ifinfo.Joseph Myers2-3/+7
From-SVN: r52582
2002-04-21* gnat_ug.texi: New file.Florian Weimer2-0/+24893
From-SVN: r52580
2002-04-21Daily bump.GCC Administrator2-2/+2
From-SVN: r52573
2002-04-21gnat_rm.texi: Do not include texiplus.texi.Florian Weimer5-3/+1429
* gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi instead of gfdl.texi * xgnatug.adb, ug_words: New files. * Makefile.in (doc, dvi): New targets. Build gnat_ug_*, gnat_rm and gnat-style manuals. From-SVN: r52569
2002-04-21rs6000.c (output_profile_hook): Do not increment labelno.David Edelsohn2-4/+7
* config/rs6000/rs6000.c (output_profile_hook): Do not increment labelno. From-SVN: r52565
2002-04-20invoke.texi: Remove Chill references.Joseph Myers3-6/+6
* doc/invoke.texi: Remove Chill references. * doc/gcc.texi: Update last modified date. From-SVN: r52561
2002-04-20Remove ChillMark Mitchell1-252/+0
[[Split portion of a mixed commit.]] From-SVN: r52560.2
2002-04-20lib1funcs.asm (___mulsi3): Remove unnecessary push and pop.Kazu Hirata2-12/+10
* config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary push and pop. Replace add.l with add.w. From-SVN: r52559
2002-04-20lib1funcs.asm (___mulsi3): Use hardware multiply instructions for H8/300H case.Toshiyasu Morita2-24/+46
* config/h8300/lib1funcs.asm (___mulsi3): Use hardware multiply instructions for H8/300H case. From-SVN: r52558
2002-04-20lib1funcs.asm (___cmpsi2, ___ucmpsi2): Bum three instructions from each routine.Toshiyasu Morita2-22/+22
* config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2): Bum three instructions from each routine. From-SVN: r52557
2002-04-20root.texi: Remove variable version-g77.Toon Moene3-4/+8
2002-04-20 Toon Moene <toon@moene.indiv.nluug.nl> * root.texi: Remove variable version-g77. * g77.texi: Remove the single use of that variable. From-SVN: r52556
2002-04-20f77-edit-i-in.f: Restore missing { dg-do run }David Billinghurst2-0/+6
2002-04-20 David.Billinghurst <David.Billinghurst@riotinto.com> * g77.dg/f77-edit-i-in.f: Restore missing { dg-do run } From-SVN: r52555
2002-04-20Makefile.in: Update.Neil Booth16-52/+136
* Makefile.in: Update. * decl.c (push_c_function_context, pop_c_function_context, mark_c_function_context): Rename for consistency. * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere. * c-tree.h (push_c_function_context, pop_c_function_context, mark_c_function_context): Rename for consistency. * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. * function.c (init_lang_status, save_lang_status, restore_lang_status, mark_lang_status, free_lang_status): Move to langhooks.h. (push_function_context_to, pop_function_context_from, free_after_parsing, prepare_function_start, ggc_mark_struct_function): Update. * function.h (init_lang_status, save_lang_status, restore_lang_status, mark_lang_status, free_lang_status): Move to langhooks.h. * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK, LANG_HOOKS_FUNCTION_INITIALIZER): New. (LANG_HOOKS_INITIALIZER): Update. (lhd_do_nothing_f): New. * langhooks.h (struct lang_hooks_for_functions): New. (struct lang_hooks): New hooks. * langhooks.c (lhd_do_nothing_f): New. cp: * cp-lang.c (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_MARK): Redefine. * cp-tree.h (cxx_push_function_context, cxx_pop_function_context, cxx_mark_function_context): New. * decl.c (push_cp_function_context, pop_cp_function_context, mark_cp_function_context): Rename for consistency. (cxx_init_decl_processing): Don't set old hooks. objc: * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. From-SVN: r52551
2002-04-20Daily bump.GCC Administrator2-2/+2
From-SVN: r52550
2002-04-19linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.David S. Miller3-0/+199
2002-04-19 David S. Miller <davem@redhat.com> * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise. From-SVN: r52546
2002-04-19re PR libf2c/6367 (multiple repeat counts confuse namelist read into array)Toon Moene3-0/+30
2002-04-19 Toon Moene <toon@moene.indiv.nluug.nl> * PR6367 * g77.f-torture/execute/6367.f: New test. * g77.f-torture/execute/6367.x: Disable for MMIX. From-SVN: r52540
2002-04-19re PR rtl-optimization/3756 (gcc wishlist: arithmetic right shift for ↵Jakub Jelinek2-13/+105
ternary operator) PR optimization/3756 * config/i386/i386.c (ix86_expand_int_movcc): Optimize x = ((int) y < 0) ? cst1 : cst2. From-SVN: r52539
2002-04-19re PR c/6358 (GCC 3.1 ICE on statement expressions)Jakub Jelinek2-16/+42
PR c/6358 * function.c: Reapply patch for c/6358. (expand_function_end): Copy decl_rtl's mode, not current_function_return_rtx mode. From-SVN: r52538
2002-04-19rtems.h (STARTFILE_SPEC, [...]): Fix for non-ELF targets.Joel Sherrill2-2/+7
2002-04-19 Joel Sherrill <joel@OARcorp.com> * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF targets. From-SVN: r52535
2002-04-19re PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already ↵Tom Tromey2-4/+11
installed) * doc/install.texi (Specific): Update status of Solaris 2.8. For PR libgcj/6158. From-SVN: r52532
2002-04-19Add some explanation for last change.Andreas Schwab1-1/+4
From-SVN: r52531
2002-04-19real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.Andreas Schwab2-5/+17
2002-04-19 Andreas Schwab <schwab@suse.de> * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE. (PUT_REAL): Restore old definition. From-SVN: r52527
2002-04-19install.texi (Specific, [...]): Mention that binutils 2.11.2 and higher ↵Dan Nicolaescu2-0/+12
generate smaller binaries than Sun's... * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that binutils 2.11.2 and higher generate smaller binaries than Sun's native tools. Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> From-SVN: r52526
2002-04-19re PR c++/6352 (GCC 3.1 inliner regression from March)Mark Mitchell4-0/+30
PR c++/6352 * toplev.c (rest_of_compilation): Do not defer functions for which TREE_SYMBOL_REFERENCED has already been set. * PR6352 * g++.dg/opt/inline2.C: New test. From-SVN: r52521
2002-04-19i386.md (movsi_1, movhi_1): Force reload to use more flexible alternative.Jan Hubicka2-2/+17
* i386.md (movsi_1, movhi_1): Force reload to use more flexible alternative. From-SVN: r52519
2002-04-19Daily bump.GCC Administrator2-2/+2
From-SVN: r52516
2002-04-19builtins.c: Include langhooks.h.Neil Booth20-69/+101
* builtins.c: Include langhooks.h. (lang_type_promotes_to): Remove. (expand_builtin_va_arg): Use new hook. * c-common.c (c_common_nodes_and_builtins): Don't set hook. (simple_type_promotes_to): Move to c-typeck.c. * c-common.h (simple_type_promotes_to): Remove. * c-decl.c (duplicate_decls, grokdeclarator): Update. * c-format.c: Include langhooks.h. (check_format_types): Update. * c-tree.h (c_type_promotes_to): New. * c-typeck.c (c_type_promotes_to): Move from c-common.c. (type_lists_compatible_p): Update. * langhooks-def.h (lhd_type_promotes_to): New. (LANG_HOOKS_TYPE_PROMOTES_TO): New. (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. * langhooks.c (lhd_type_promotes_to): New. * langhooks.h (struct lang_hooks_for_types): New hook. * tree.h (lang_type_promotes_to): Remove. cp: * call.c (convert_type_from_ellipsis): Rename, update. * cp-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine. * cp-tree.h (convert_type_from_ellipsis): Rename. * decl.c (cxx_init_decl_processing): Don't set hook. objc: * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine. From-SVN: r52512
2002-04-18* function.c: Revert patch for c/6358.Richard Henderson2-39/+24
From-SVN: r52511
2002-04-18ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks.Richard Henderson5-50/+60
* ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks. Handle multiple references to the TRAP block. Handle non-adjacent THEN and OTHER blocks. * gcc.dg/20000906-1.c: Enable for all targets. * gcc.c-torture/compile/iftrap-2.c: New. From-SVN: r52509
2002-04-18ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for ↵Richard Henderson1-1/+1
by-mode libcalls. * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode libcalls. From-SVN: r52508
2002-04-18* config/ia64/ia64.md (conditional_trap): Fix predicate polarity.Richard Henderson1-1/+1
From-SVN: r52507
2002-04-19lib2funcs.S (__xtensa_libgcc_window_spill, [...]): Use a syscall ↵Bob Wilson2-39/+21
instructions to flush the register windows. * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill, __xtensa_nonlocal_goto): Use a syscall instructions to flush the register windows. From-SVN: r52503
2002-04-19real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as appropriate.Zack Weinberg5-235/+109
* real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as appropriate. Document need for extended precision even when MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here, based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error instead of relying on later syntax error when REAL_WIDTH > 5. * real.c: Define NE based only on whether or not we have a full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT). Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally define GET_REAL and PUT_REAL as simple memcpy operations; no need to byteswap or round. Use #error instead of #ifdef-ing out the entire file, for prompt error detection. * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here. From-SVN: r52502
2002-04-18sparc.h (BRANCH_COST): Define.David S. Miller3-4/+24
2002-04-18 David S. Miller <davem@redhat.com> * config/sparc/sparc.h (BRANCH_COST): Define. * fold-const.c (BRANCH_COST): Don't provide default here, expr.h does it. From-SVN: r52500
2002-04-18flow.c (update_life_info): Ignore return value of cleanup_cfg.Hans-Peter Nilsson2-3/+25
* flow.c (update_life_info): Ignore return value of cleanup_cfg. Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in propagate_block calls after relaxation loop using new variable stabilized_prop_flags. From-SVN: r52498
2002-04-18ia64.c (ia64_function_arg_pass_by_reference): New.Richard Henderson4-1/+33
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New. (ia64_va_arg): Expect variable sized types by reference. * config/ia64/ia64-protos.h: Update. * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use ia64_function_arg_pass_by_reference. From-SVN: r52494
2002-04-18PR optimization/5887, PR optimization/6010Jakub Jelinek3-0/+52
PR optimization/5887, PR optimization/6010 * gcc.dg/20020418-1.c: New test. * gcc.dg/20020418-2.c: New test. From-SVN: r52492
2002-04-18ifcvt.c: Include except.h.Richard Henderson7-36/+210
* ifcvt.c: Include except.h. (block_has_only_trap): Break out from find_cond_trap. (find_cond_trap): Use it. Always delete the trap block. (merge_if_block): Allow then block null. Be less simplistic about what insns can end a block. * Makefile.in (ifcvt.o): Depend on except.h. * gcc.c-torture/compile/iftrap-1.c: New. * gcc.dg/iftrap-1.c: Adjust for ia64. * gcc.dg/iftrap-2.c: New. From-SVN: r52489
2002-04-18* config/ia64/ia64.md (trap, conditional_trap): New.Richard Henderson2-0/+35
From-SVN: r52487