1. 07 Sep, 2006 16 commits
    • i386.c (x86_partial_flag_reg_stall): New. · 995cc369
      2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/i386.c (x86_partial_flag_reg_stall): New.
      
      	* config/i386/i386.h (x86_partial_flag_reg_stall): New.
      	(TARGET_PARTIAL_FLAG_REG_STALL): New.
      
      	* config/i386/i386.md (*ashldi3_cmp_rex64): Disabled for
      	TARGET_PARTIAL_FLAG_REG_STALL.
      	(*ashldi3_cconly_rex64): Likewise.
      	(*ashlsi3_cmp): Likewise.
      	(*ashlsi3_cconly): Likewise.
      	(*ashlsi3_cmp_zext): Likewise.
      	(*ashlhi3_cmp): Likewise.
      	(*ashlhi3_cconly): Likewise.
      	(*ashlqi3_cmp): Likewise.
      	(*ashlqi3_cconly): Likewise.
      	(*ashrdi3_cmp_rex64): Likewise.
      	(*ashrdi3_cconly_rex64): Likewise.
      	(*ashrsi3_cmp): Likewise.
      	(*ashrsi3_cconly): Likewise.
      	(*ashrsi3_cmp_zext): Likewise.
      	(*ashrhi3_cmp): Likewise.
      	(*ashrhi3_cconly): Likewise.
      	(*ashrqi3_cmp): Likewise.
      	(*ashrqi3_cconly): Likewise.
      	(*lshrdi3_cmp_rex64): Likewise.
      	(*lshrdi3_cconly_rex64): Likewise.
      	(*lshrsi3_cmp): Likewise.
      	(*lshrsi3_cconly): Likewise.
      	(*lshrsi3_cmp_zext): Likewise.
      	(*lshrhi3_cmp): Likewise.
      	(*lshrhi3_cconly): Likewise.
      	(*lshrqi2_cmp): Likewise.
      	(*lshrqi2_cconly): Likewise.
      
      From-SVN: r116757
      H.J. Lu committed
    • re PR target/28946 (assembler shifts set the flag ZF, no need to re-test to zero) · f42684d5
              PR target/28946
              * config/i386/i386.md ("*ashldi3_cconly_rex64", "*ashlsi3_cconly",
              "*ashlhi3_cconly", "*ashlqi3_cconly", "*ashrdi3_one_bit_cconly_rex64",
              "*ashrdi3_cconly_rex64", "*ashrsi3_one_bit_cconly", "*ashrsi3_cconly",
              "*ashrhi3_one_bit_cconly", "*ashrhi3_cconly",
              "*ashrqi3_one_bit_cconly", "*ashrqi3_cconly",
              "*lshrdi3_cconly_one_bit_rex64", "*lshrdi3_cconly_rex64",
              "*lshrsi3_one_bit_cconly", "*lshrsi3_cconly",
              "*lshrhi3_one_bit_cconly", "*lshrhi3_cconly",
              "*lshrqi2_one_bit_cconly", "*lshrqi2_cconly": New patterns to
              implement only CC setting effects of shift instructions.
      
      testsuite/ChangeLog:
      
             PR target/28946
             * gcc.target/i386/pr28946.c: New test.
      
      From-SVN: r116756
      Uros Bizjak committed
    • re PR c++/28284 (ICE with invalid static const variable) · d4a200d3
              PR c++/28284
              * pt.c (fold_non_dependent_expr): Make sure expr is not dereferenced if it
              is NULL.
      
      From-SVN: r116755
      Simon Martin committed
    • Add myself to doc/contrib.texi · c3876226
      From-SVN: r116754
      Martin Michlmayr committed
    • data_1.f90: Fix integer oveflow in integer literal constant. · 7bee49dc
      2006-09-07  Steven G. Kargl  <kargls@comcast.net>
      
      	* gfortran.fortran-torture/compile/data_1.f90: Fix integer oveflow
      	in integer literal constant.
        	* gfortran.dg/enum_8.f90: Ditto.
      	* gfortran.dg/g77/20030326-1.f: Ditto.
      
      2006-09-07  Steven G. Kargl  <kargls@comcast.net>
      
      	* gfortran.h (gfc_integer_info): Eliminate max_int.
      	* arith.c (gfc_arith_init_1): Remove initialization of max_int.
      	(gfc_arith_done_1): Remove clearing of max_int.
      	(gfc_check_integer_range): Fix range chekcing of overflow.
      	* simplify.c (gfc_simplify_not): Construct mask that was max_int.
      
      From-SVN: r116753
      Steven G. Kargl committed
    • intrinsic_set_exponent.f90: Fix nonconformance usage. · aa9ecf58
      2006-09-07  Feng Wang  <fengwang@nudt.edu.cn>
      
      	* gfortran.fortran-torture/execute/intrinsic_set_exponent.f90: Fix
      	nonconformance usage.
      
      From-SVN: r116752
      Feng Wang committed
    • re PR middle-end/28862 (attribute ((aligned)) ignored on vector variables) · c9eee440
      2006-09-07  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/28862
              * stor-layout.c (relayout_decl): Don't zero the alignment if it
              was set by the user.
      
      2006-09-07  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/28862
              * gcc.c-torture/compile/vector-align-1.c: New test.
      
      From-SVN: r116751
      Andrew Pinski committed
    • Makefile.am (AM_CXXFLAGS): Remove duplicate define. · 5cfa6a4e
      2006-09-07  Matthias Klose  <doko@debian.org> 
       
                  * Makefile.am (AM_CXXFLAGS): Remove duplicate define. 
                  * Makefile.in: Regenerate.
      
      From-SVN: r116750
      Matthias Klose committed
    • re PR target/27117 (SH backend cheats to reload -- disables indexed addressing… · 62bf45a5
      re PR target/27117 (SH backend cheats to reload -- disables indexed addressing but uses it internally)
      
      2006-09-07  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR target/27117
      	* config/sh/sh.md (divsi_inv_qitable, divsi_inv_hitable): New patterns.
      	(divsi_inv_m1): Use them.
      	(UNSPEC_DIV_INV_TABLE): New constant.
      
      From-SVN: r116746
      Paolo Bonzini committed
    • Added Roberto Costa to MAINTAINERS list · e8288489
      From-SVN: r116741
      Roberto Costa committed
    • re PR c++/26195 (pragma interface no longer handles explicit names) · c533e34d
              PR c++/26195
              * decl.c (make_rtl_for_nonlocal_decl),
              (start_preparsed_function): Don't use lbasename on
              input_filename when calling get_fileinfo.
              * semantics.c (begin_class_definition): Likewise.
              * lex.c (cxx_make_type): Likewise.
              (handle_pragma_interface): Call get_fileinfo on input_filename,
              not on the parameter to the directive.
      
      From-SVN: r116740
      Zak Kipling committed
    • [multiple changes] · b5b84a7f
      2006-09-06  James E Wilson  <wilson@specifix.com>
      
              PR rtl-opt/27883
              * flow.c (update_life_info): If UPDATE_LIFE_LOCAL and PROP_DEATH_NOTES
              then call count_or_remove_death_notes.
      
      2006-09-06  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR rtl-opt/27883
              * g++.dg/opt/copysign-1.C: New test.
      
      From-SVN: r116739
      Andrew Pinski committed
    • configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual. · aa4f41c1
      	* configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
      	* configure, config.in: Regenerate.
      
      	* decContext.c (decContextStatusToString): Constify.
      	* decContext.h (decContextStatusToString): Likewise.
      	* decNumber.c (decNumberToString, decNumberToEngString,
      	decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
      	decNumberDivideInteger, decNumberMax, decNumberMin,
      	decNumberMinus, decNumberPlus, decNumberMultiply,
      	decNumberNormalize, decNumberQuantize, decNumberRescale,
      	 decNumberRemainder, decNumberRemainderNear,
      	decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
      	decNumberToIntegralValue, decNumberCopy, decToString, decAddOp,
      	decDivideOp, decMultiplyOp, decQuantizeOp, decCompareOp,
      	decCompare, decUnitCompare, decUnitAddSub, decRoundOperand,
      	decCopyFit, decSetCoeff, decGetInt, decNaNs, decGetDigits,
      	decNumberShow, decDumpAr, decCheckOperands, decCheckNumber):
      	Likewise.
      	* decNumber.h (decNumberToString, decNumberToEngString,
      	decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
      	decNumberDivideInteger, decNumberMax, decNumberMin,
      	decNumberMinus, decNumberMultiply, decNumberNormalize,
      	decNumberPlus, decNumberQuantize, decNumberRemainder,
      	 decNumberRemainderNear, decNumberRescale,
      	decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
      	decNumberToIntegralValue, decNumberCopy): Likewise.
      	* decUtility.c (decDensePackCoeff, decDenseUnpackCoeff):
      	Likewise.
      	* decUtility.h (decDensePackCoeff, decDenseUnpackCoeff):
      	Likewise.
      	* decimal128.c (decimal128FromNumber, decimal128ToNumber,
      	decimal128ToString, decimal128ToEngString, decimal128Show):
      	Likewise.
      	* decimal128.h (decimal128ToString, decimal128ToEngString,
      	decimal128FromNumber, decimal128ToNumber): Likewise.
      	* decimal32.c (decimal32FromNumber, decimal32ToNumber,
      	decimal32ToString, decimal32ToEngString, decimal32Show):
      	Likewise.
      	* decimal32.h (decimal32ToString, decimal32ToEngString,
      	decimal32FromNumber, decimal32ToNumber): Likewise.
      	* decimal64.c (decimal64FromNumber, decimal64ToNumber,
      	decimal64ToString, decimal64ToEngString, decimal64Show):
      	Likewise.
      	* decimal64.h (decimal64ToString, decimal64ToEngString,
      	decimal64FromNumber, decimal64ToNumber): Likewise.
      
      From-SVN: r116738
      Kaveh R. Ghazi committed
    • re PR c++/27371 (Does not warn about unused function result (__attribute__((warn_unused_result)))) · c08cd4c1
              PR c++/27371
              * tree-inline.c (copy_result_decl_to_var): New fn.
              (declare_return_variable): Use it.  Call declare_inline_vars here.
              (expand_call_inline): Not here.
              * cp/cvt.c (convert_to_void): Strip useless TARGET_EXPR.
              * cp/cp-tree.h (TARGET_EXPR_IMPLICIT_P): New macro.
              * cp/tree.c (build_cplus_new): Set it.
      
      From-SVN: r116737
      Jason Merrill committed
    • re PR c++/28903 (Rejects VLA in template class's member with using) · 6ee3ffe8
      	PR c++/28903
      	* pt.c (tsubst): Use fold_non_dependent_expr to fold array
      	dimensions.
      	PR c++/28886
      	* pt.c (unify): Avoid unnecessary calls to fold_build2 for array
      	dimensions.
      
      From-SVN: r116736
      Mark Mitchell committed
    • Daily bump. · d0304854
      From-SVN: r116734
      GCC Administrator committed
  2. 06 Sep, 2006 14 commits
  3. 05 Sep, 2006 10 commits