- 24 Nov, 2005 14 commits
-
-
* expr.c (expand_expr_real_1): Fix error in last change. From-SVN: r107471
Bernd Schmidt committed -
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
J"orn Rennecke committed -
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
J"orn Rennecke committed -
* 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
Uros Bizjak committed -
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
Richard Guenther committed -
From-SVN: r107458
Gabriel Dos Reis committed -
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
Paolo Bonzini committed -
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
Paolo Bonzini committed -
PR c++/24235 * pt.c (check_instantiated_args): Reword diagnostic message about template argument involving local types. From-SVN: r107451
Gabriel Dos Reis committed -
* 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
Ben Elliston committed -
* optabs.c (prepare_cmp_insn): Use SCALAR_FLOAT_MODE_P. Remove unused `class' variable. From-SVN: r107449
Ben Elliston committed -
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
Gabriel Dos Reis committed -
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
Paolo Carlini committed -
From-SVN: r107444
GCC Administrator committed
-
- 23 Nov, 2005 15 commits
-
-
These files were stored incorrectly in the old CVS repository: they were in 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
Ian Lance Taylor committed -
* 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
Geoffrey Keating committed -
From-SVN: r107427
Mark Mitchell committed -
* 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
Mark Mitchell committed -
* passes.c (init_optimization_passes): Document sequencing of passes. From-SVN: r107425
Diego Novillo committed -
* 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
Kazu Hirata committed -
2005-11-23 Laurent GUERBY <laurent@guerby.net> * mlib-prj.adb (Build_Library): Initialize Delete. From-SVN: r107416
Laurent GUERBY committed -
* io/open.c (new_unit): Use the right unit number when checking for stdin, stdout, stderr. From-SVN: r107413
Alan Modra committed -
* g++.dg/other/i386-1.C: Pass if CPU has no SSE2 support. From-SVN: r107403
Uros Bizjak committed -
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
Gabriel Dos Reis committed -
* gcc.target/powerpc/altivec-consts.c (vspltisb): Use int val. (vspltish, vspltisw): Likewise. From-SVN: r107398
Alan Modra committed -
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
Jerry DeLisle committed -
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
Jerry DeLisle committed -
From-SVN: r107390
GCC Administrator committed -
From-SVN: r107384
Ben Elliston committed
-
- 22 Nov, 2005 11 commits
-
-
* 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
J"orn Rennecke committed -
* io/io.h (_LARGE_FILES): Undefine for AIX. (_LARGE_FILE_API): Define for AIX. From-SVN: r107380
David Edelsohn committed -
From-SVN: r107379
Eric Botcazou committed -
PR middle-end/22561 * tree-ssa-structalias.c (get_constraint_for): Handle ARRAY_RANGE_REF. From-SVN: r107377
Eric Botcazou committed -
* optabs.c (expand_unop): Call SCALAR_FLOAT_MODE_P on a mode, not a mode_class. (prepare_cmp_insn): Likewise. From-SVN: r107375
Ian Lance Taylor committed -
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
Kazu Hirata committed -
From-SVN: r107372
Kean Johnston committed -
libmudflap.exp (libmudflap-init): Remove -static from MUDFLAP_FLAGS if 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
Janis Johnson committed -
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
Andrew Pinski committed -
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
Andrew Pinski committed -
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
Andrew Pinski committed
-