aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-11-25Check the last byte for '\n'Bruce Korb2-1/+9
From-SVN: r107492
2005-11-25Regenerate fixincl.x from current templateBruce Korb1-7/+8
From-SVN: r107491
2005-11-25rs6000.c (rs6000_sr_alias_set): Delete.David Edelsohn2-81/+49
* config/rs6000/rs6000.c (rs6000_sr_alias_set): Delete. (rs6000_override_options): Remove initialization of rs6000_sr_alias_set. (rs6000_emit_eh_reg_restore): Use gen_frame_mem. (rs6000_emit_stack_tie): Same. (emit_frame_save): Same. (gen_frame_mem_offset): Same. (rs6000_emit_prologue): Same. (rs6000_emit_epilogue): Same. From-SVN: r107489
2005-11-24[multiple changes]Andrew Pinski6-3/+53
2005-11-25 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24989 * fold-const.c (fold_build): Convert bool_var != 1 and bool_var == 0 to !bool_var. 2005-11-24 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24989 * gcc.dg/tree-ssa/bool-10.c: New test. * gcc.dg/tree-ssa/bool-11.c: New test. * gcc.dg/tree-ssa/bool-7.c: Un-xfail. From-SVN: r107488
2005-11-24[multiple changes]Andrew Pinski4-0/+39
2005-11-25 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24990 * fold-const.c (fold_binary): Fold (~a) == C to a == ~C for C being INTEGER_CST. Likewise for !=. 2005-11-24 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/24990 * tree-ssa/pr24990-1.c: New test. From-SVN: r107487
2005-11-25ia64-frame.h: Removed.Bryce McKinlay11-686/+33
2005-11-24 Bryce McKinlay <mckinlay@redhat.com> * sysdep/ia64-frame.h: Removed. * sysdep/ia64.c: Removed. * sysdep/dwarf2-backtrace.cc: Removed. * configure.ac: Remove references to HAVE_BACKTRACE and SUPPLY_BACKTRACE. * Makefile.am: Remove SUPPLY_BACKTRACE support. * configure: Rebuilt. * Makefile.in: Rebuilt. From-SVN: r107486
2005-11-25re PR target/24998 (Build failure: undefined symbol __floatunsitf)Joseph Myers2-0/+7
PR middle-end/24998 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Use _q_utoq for unsigned conversions from SImode to TFmode. From-SVN: r107483
2005-11-25gij.cc (nonstandard_opts_help): Add entry for -Xss.Bryce McKinlay4-0/+12
2005-11-24 Bryce McKinlay <mckinlay@redhat.com> * gij.cc (nonstandard_opts_help): Add entry for -Xss. 2005-11-24 Bryce McKinlay <mckinlay@redhat.com> * gcj.texi (gij options): Add -Xss documentation. From-SVN: r107480
2005-11-25Daily bump.GCC Administrator1-1/+1
From-SVN: r107477
2005-11-24expr.c (expand_expr_real_1): Fix error in last change.Bernd Schmidt2-1/+5
* expr.c (expand_expr_real_1): Fix error in last change. From-SVN: r107471
2005-11-24caller-save.c: (this_insn_sets): Move into: (save_call_clobbered_regs).J"orn Rennecke2-9/+24
2005-11-24 J"orn Rennecke <joern.rennecke@st.com> * caller-save.c: (this_insn_sets): Move into: (save_call_clobbered_regs). (mark_set_regs): Get this_insn_sets from data. (save_call_clobbered_regs): Take sets of the return value by sibcalls into account. From-SVN: r107469
2005-11-24re PR target/21623 (ICE in reload_cse_simplify_operands, at postreload.c:391)J"orn Rennecke16-322/+693
PR target/21623: * regclass.c (FORBIDDEN_INC_DEC_CLASSES): Remove SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS tests. (init_fake_stack_mems): Remove HAVE_SECONDARY_RELOADS test. (memory_move_secondary_cost, init_reg_autoinc): Remove SECONDARY_INPUT_RELOAD_CLASS / SECONDARY_OUTPUT_RELOAD_CLASS tests. Replace SECONDARY_{IN,OUT}PUT_RELOAD_CLASS use with secondary_reload_class call. (copy_cost): Likewise. Add new parameter prev_sri. Changed all callers. * reload.c (entire file): Remove HAVE_SECONDARY_RELOADS checks. (push_secondary_reload): Use secondary_reload target hook. (secondary_reload_class, scratch_reload_class): New functions. (push_reload): Remove SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS tests. Replace SECONDARY_{IN,OUT}PUT_RELOAD_CLASS use with secondary_reload_class call. * reload.h (HAVE_SECONDARY_RELOADS): Don't define nor test. (secondary_reload_class, scratch_reload_class): Declare. * reload1.c: Include target.h. (reload_adjust_reg_for_temp): New function. (reload_adjust_reg_for_icode): Likewise. (choose_reload_regs): Remove SECONDARY_INPUT_RELOAD_CLASS test. Replace SECONDARY_INPUT_RELOAD_CLASS use with secondary_reload_class call. (emit_input_reload_insns): Likewise. Rewrite secondary reload checks for inheritance. Support case when both secondary & tertiary reloads are for intermediate registers. (emit_output_reload_insns): Replace SECONDARY_OUTPUT_RELOAD_CLASS use with secondary_reload_class call. Support case when both secondary & tertiary reloads are for intermediate registers. * target-def.h (TARGET_SECONDARY_RELOAD): Provide default definition. (TARGET_INITIALIZER) Add TARGET_SECONDARY_RELOAD. * target.h (secondary_reload_info): New struct / typedef. (struct gcc_target): New member secondary_reload. * targhooks.c Include reload.h, optabs.h and recog.h. (default_secondary_reload): New function. * targhooks.h (default_secondary_reload): Declare. * doc/tm.texi: Document secondary_reload target hook. Update description of SECONDARY_*RELOAD_CLASS and reload_{in,out}<mode>. * doc/md.texi: Likewise. * sh-protos.h (sh_secondary_reload): Declare. * sh.c (TARGET_SECONDARY_RELOAD): Override. (sh_secondary_reload): New function. * sh.h (SECONDARY_INOUT_RELOAD_CLASS): Don't define. (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. (SECONDARY_INPUT_RELOAD_CLASS): Likewise. (HAVE_SECONDARY_RELOADS): Define. * sh.md (reload_indf): Rename to: (reload_indf__frn). (reload_outdf): Rename to: (reload_outdf__RnFRm). (reload_insf): Rename to: (reload_insf__frn). (reload_insi): Rename to: (reload_insi__i_fpul). From-SVN: r107468
2005-11-24configure.ac: Require at least texinfo 4.4.Uros Bizjak4-6/+20
* configure.ac: Require at least texinfo 4.4. * configure: Regenerate. * doc/install.texi (Tools/packages necessary for building GCC): Update required version of texinfo to at least 4.4. (Installing GCC: Building): Update required version of texinfo to at least 4.4. (Installing GCC: Final installation): Update required version of texi2dvi to at least 4.4. (Host/target specific installation notes for GCC): Update required version of texinfo to at least 4.4. From-SVN: r107465
2005-11-24re PR c++/14024 (g++ isn't reporting aliasing warnings)Richard Guenther13-27/+139
2005-11-24 Richard Guenther <rguenther@suse.de> Dirk Mueller <dmueller@suse.de> PR c++/14024 * c-common.h (strict_aliasing_warning): Declare. * c-common.c (strict_aliasing_warning): New function, split out from ... * c-typeck.c (build_c_cast): ... here. * typeck.c (build_reinterpret_cast_1): Use it. * g++.dg/warn/Wstrict-aliasing-1.C: New testcase. * g++.dg/warn/Wstrict-aliasing-2.C: Likewise. * g++.dg/warn/Wstrict-aliasing-3.C: Likewise. * g++.dg/warn/Wstrict-aliasing-4.C: Likewise. * g++.dg/warn/Wstrict-aliasing-5.C: Likewise. * g++.dg/warn/Wstrict-aliasing-6.C: Likewise. Co-Authored-By: Dirk Mueller <dmueller@suse.de> From-SVN: r107459
2005-11-24Get the logs in.Gabriel Dos Reis1-0/+14
From-SVN: r107458
2005-11-24optabs.c (expand_binop): Use swap_commutative_operands_with_target to order ↵Paolo Bonzini2-6/+31
operands. 2005-11-24 Paolo Bonzini <bonzini@gnu.org> * optabs.c (expand_binop): Use swap_commutative_operands_with_target to order operands. (swap_commutative_operands_with_target): New. From-SVN: r107457
2005-11-24gcse.c (hash_scan_set): Look through REG_EQUAL or REG_EQUIV notes also when ↵Paolo Bonzini2-6/+15
doing PRE... 2005-11-24 Paolo Bonzini <bonzini@gnu.org> * gcse.c (hash_scan_set): Look through REG_EQUAL or REG_EQUIV notes also when doing PRE, rather than only for global CPROP. From-SVN: r107456
2005-11-24re PR target/24236 (gcc.dg/i386-sse-10.c fails on the mainline on ↵Gabriel Dos Reis2-1/+8
x86_64-linux-gnu) PR c++/24235 * pt.c (check_instantiated_args): Reword diagnostic message about template argument involving local types. From-SVN: r107451
2005-11-24machmode.h (CLASS_HAS_WIDER_MODES_P): New macro.Ben Elliston3-19/+46
* machmode.h (CLASS_HAS_WIDER_MODES_P): New macro. * optabs.c (expand_binop): Use CLASS_HAS_WIDER_MODES_P, improve formatting. (expand_twoval_unop): Likewise. (widen_clz): Likewise. (expand_parity): Likewise. (expand_unop): Likewise. (emit_cmp_and_jmp_insn_1): Likewise. (prepare_float_lib_cmp): Likewise. From-SVN: r107450
2005-11-24optabs.c (prepare_cmp_insn): Use SCALAR_FLOAT_MODE_P.Ben Elliston2-4/+6
* optabs.c (prepare_cmp_insn): Use SCALAR_FLOAT_MODE_P. Remove unused `class' variable. From-SVN: r107449
2005-11-24re PR c++/21667 (misleading warning about array subscription)Gabriel Dos Reis7-19/+53
2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net> PR c++/21667 * c-typeck.c (build_array_ref): Avoid code duplicate. Use common C/C++ diagnostic function warn_array_subscript_with_type_char. * c-common.h (warn_array_subscript_with_type_char): Declare. * c-common.c (warn_array_subscript_with_type_char): Define. cp/ 2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net> PR c++/21667 * typeck.c (build_array_ref): Avoid code duplicate. Use common C/C++ diagnostic function warn_array_subscript_with_type_char. testsuite/ 2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net> PR c++/21667 * gcc.dg/Wchar-subscripts.c: New. * g++.dg/warn/Wchar-subscripts.C: Likewise. From-SVN: r107448
2005-11-24PR libstdc++/24975 (basic_string)Paolo Carlini2-1/+13
2005-11-23 Paolo Carlini <pcarlini@suse.de> PR libstdc++/24975 (basic_string) * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid strict-aliasing warnings. From-SVN: r107447
2005-11-24Daily bump.GCC Administrator1-1/+1
From-SVN: r107444
2005-11-23These files were stored incorrectly in the old CVS repository: they were in ↵Ian Lance Taylor4-112/+0
the Attic but were not marked as dead. These files were stored incorrectly in the old CVS repository: they were in the Attic but were not marked as dead. This had the effect of making them appear to not exist in CVS checkouts, but they were accidentally resurrected by cvs2svn. I am now deleting them again. From-SVN: r107435
2005-11-23GCC Regression Tester.wdgt/widget.html: New file.Geoffrey Keating6-0/+197
* GCC Regression Tester.wdgt/widget.html: New file. * GCC Regression Tester.wdgt/Info.plist: New file. * GCC Regression Tester.wdgt/Icon.png: New file. * GCC Regression Tester.wdgt/Default.png: New file. * README: Describe new files. From-SVN: r107430
2005-11-23* update_web_docs_svn: Set @srcdir in gcc-vers.texi.Mark Mitchell1-0/+4
From-SVN: r107427
2005-11-23invoke.texi: For man pages, include gcc-vers.texi.Mark Mitchell4-2/+19
* doc/invoke.texi: For man pages, include gcc-vers.texi. List @file in the option summary. Include the libiberty documentation for @file. * gcc.c (main): Call expandargv. * Makefile.in (gcc-vers.texi): Define srcdir. From-SVN: r107426
2005-11-23passes.c (init_optimization_passes): Document sequencing of passes.Diego Novillo2-4/+26
* passes.c (init_optimization_passes): Document sequencing of passes. From-SVN: r107425
2005-11-23predicates.md (pcrel_address, [...]): Remove redundant conditionals.Kazu Hirata2-34/+19
* config/m68k/predicates.md (pcrel_address, extend_operator, post_inc_operand, pre_dec_operand): Remove redundant conditionals. (const_uint32_operand, const_sint32_operand): Use gcc_assert instead of abort. (valid_dbcc_comparison_p): Rewrite in the lisp style. From-SVN: r107419
2005-11-23mlib-prj.adb (Build_Library): Initialize Delete.Laurent GUERBY2-1/+5
2005-11-23 Laurent GUERBY <laurent@guerby.net> * mlib-prj.adb (Build_Library): Initialize Delete. From-SVN: r107416
2005-11-23open.c (new_unit): Use the right unit number when checking for stdin, ↵Alan Modra2-3/+8
stdout, stderr. * io/open.c (new_unit): Use the right unit number when checking for stdin, stdout, stderr. From-SVN: r107413
2005-11-23i386-1.C: Pass if CPU has no SSE2 support.Uros Bizjak2-2/+6
* g++.dg/other/i386-1.C: Pass if CPU has no SSE2 support. From-SVN: r107403
2005-11-23re PR c/21668 (gratuitous warning about "extern const" with initializer)Gabriel Dos Reis4-2/+31
PR c/21668 * c-decl.c (grokdeclarator): Don't warn for 'extern const' when compiling at the intersection of C and C++. testsuite/ PR c/21668 * gcc.dg/Wc++-compat.c: New. * gcc.dg/Wno-c++-compat.c: New. From-SVN: r107401
2005-11-23altivec-consts.c (vspltisb): Use int val.Alan Modra2-3/+8
* gcc.target/powerpc/altivec-consts.c (vspltisb): Use int val. (vspltish, vspltisw): Likewise. From-SVN: r107398
2005-11-23re PR libfortran/24794 (problem with namelist input of character array)Jerry DeLisle9-27/+121
2005-11-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/24794 * gfortran.dg/namelist_12.f: Fix quotes. * gfortran.dg/namelist_13.f90: Fix quotes. * gfortran.dg/namelist_14.f90: Fix quotes. * gfortran.dg/namelist_15.f90: Fix quotes. * gfortran.dg/namelist_use.f90: Fix quotes. * gfortran.dg/namelist_use_only.f90: Fix quotes. * gfortran.dg/namelist_21.f90: New test. * gfortran.dg/namelist_22.f90: New test. From-SVN: r107396
2005-11-23re PR libfortran/24794 (problem with namelist input of character array)Jerry DeLisle2-0/+11
2005-11-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/24794 * io/list_read.c (read_character): Add auto completion on short namelist reads. From-SVN: r107394
2005-11-23Daily bump.GCC Administrator1-1/+1
From-SVN: r107390
2005-11-23* dwarf2.h (enum dwarf_type): Add DW_ATE_decimal_float.Ben Elliston2-1/+6
From-SVN: r107384
2005-11-22Preparatory work for PR target/21623:J"orn Rennecke13-21/+39
* alpha.c (secondary_reload_class): Rename to: (alpha_secondary_reload_class). * alpha.h, alpha-protos.h: Likewise. * mn10300.c (secondary_reload_class): Rename to: (mn10300_secondary_reload_class). * mn10300.h, mn10300-protos.h: Likewise. * pa.c (secondary_reload_class): Rename to: (pa_secondary_reload_class). * pa.h, pa-protos.h: Likewise. * rs6000.c (secondary_reload_class): Rename to: rs6000_secondary_reload_class. * rs6000.h, rs6000-protos.h: Likewise. From-SVN: r107381
2005-11-22io.h (_LARGE_FILES): Undefine for AIX.David Edelsohn2-0/+11
* io/io.h (_LARGE_FILES): Undefine for AIX. (_LARGE_FILE_API): Define for AIX. From-SVN: r107380
2005-11-22Fix bogus date.Eric Botcazou1-1/+1
From-SVN: r107379
2005-11-22re PR middle-end/22561 (ACATS ca11c01 wrong code)Eric Botcazou2-0/+6
PR middle-end/22561 * tree-ssa-structalias.c (get_constraint_for): Handle ARRAY_RANGE_REF. From-SVN: r107377
2005-11-22optabs.c (expand_unop): Call SCALAR_FLOAT_MODE_P on a mode, not a mode_class.Ian Lance Taylor2-2/+8
* optabs.c (expand_unop): Call SCALAR_FLOAT_MODE_P on a mode, not a mode_class. (prepare_cmp_insn): Likewise. From-SVN: r107375
2005-11-22re PR target/23435 (Unrecognizable insn (in extract_insn, at recog.c))Kazu Hirata4-1/+27
gcc/ PR target/23435 * m68k.md (zero_extendsidi2): Force operands[1] to a register if both operands[0] and operands[1] are memory. gcc/testsuite/ PR target/23435 * gcc.c-torture/compile/pr23435.c: New. From-SVN: r107373
2005-11-22Sync config.{sub,guess} from upstream sourcesKean Johnston3-5/+19
From-SVN: r107372
2005-11-22libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if ↵Janis Johnson7-5/+48
static library not supported. * testsuite/lib/libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if static library not supported. * testsuite/libmudflap.c/cfrags.exp (MUDFLAP_FLAGS): new. * testsuite/libmudflap.c/externs.exp: Ditto. * testsuite/libmudflap.c++/ctors.exp: Ditto. * testsuite/libmudflap.c++/c++frags.exp: Ditto. * testsuite/libmudflap.cth/cthfrags.exp: Ditto. From-SVN: r107371
2005-11-22re PR middle-end/23606 (fold does not fold (type)(a == b) into a == b (with ↵Andrew Pinski2-0/+13
type as the type)) 2005-11-22 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/23606 * fold-const.c (fold_unary) <case NOP_EXPR, CONVERT_EXPR>: For COMPARISON_CLASS_P and an integral types create create a new expression with the new type and fold that. From-SVN: r107370
2005-11-22objcp-decl.c (objcp_lookup_name): Remove.Andrew Pinski3-9/+6
2005-11-22 Andrew Pinski <pinskia@physics.uc.edu> * objcp-decl.c (objcp_lookup_name): Remove. * objcp-decl.h (objcp_lookup_name): Delete. (lookup_name): Kill define. From-SVN: r107369
2005-11-22re PR target/24988 (gfortran build fails with - Undefined symbols)Andrew Pinski2-1/+6
2005-11-22 Andrew Pinski <pinskia@physics.uc.edu> PR target/24988 * config/rs6000/darwin.h (TARGET_OS_CPP_BUILTINS): Remove call to SUBTARGET_OS_CPP_BUILTINS. From-SVN: r107368
2005-11-22re PR c++/22238 (Awful error messages with virtual functions)Gabriel Dos Reis2-0/+27
PR c++/22238 * error.c (resolve_virtual_fun_from_obj_type_ref): New. (dump_expr): Use it in <case CALL_EXPR>. From-SVN: r107366