1. 16 Dec, 2008 3 commits
    • re PR target/37436 (arm-cross-g++. internal compiler error: in extract_insn, at recog.c:1990) · 01577df7
      PR target/37436
      * arm.c (arm_legitimate_index): Only accept addresses that are in
      canonical form.
      * predicates.md (arm_reg_or_extendqisi_mem_op): New predicate.
      * arm.md (extendqihi2): Use arm_reg_or_extendqisi_mem_op predicate
      for operand1.
      (extendqisi2): Likewise.
      (arm_extendqisi, arm_extendqisi_v6): Use arm_extendqisi_mem_op
      predicate for operand1.
      
      From-SVN: r142778
      Richard Earnshaw committed
    • cstdatomic: Remove assert include. · d4e1b072
      2008-12-15  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/c_global/cstdatomic: Remove assert include.
      	* include/debug/debug.h: Consolidate __replacement_assert...
      	* include/parallel/base.h: Consolidate __replacement_assert...
      	* include/bits/c++config: ...here.
      	* include/bits/atomic_0.h: Use it.
      	* include/bits/atomic_2.h: Same.
      	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust line numbers.
      	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
      
      From-SVN: r142777
      Benjamin Kosnik committed
    • Daily bump. · f2d6c7fb
      From-SVN: r142775
      GCC Administrator committed
  2. 15 Dec, 2008 10 commits
  3. 14 Dec, 2008 5 commits
  4. 13 Dec, 2008 8 commits
  5. 12 Dec, 2008 14 commits
    • re PR target/24779 (Python miscompilation - TOC reload) · a893ac80
      2008-12-12  Andrew Pinski  <andrew_pinskia@playstation.sony.com>
                  Peter Bergner <bergner@vnet.ibm.com>
      
              PR target/24779
              * config/rs6000/rs6000.md (call_indirect_aix32): Move the load of the
              TOC into the call pattern.
              (call_indirect_aix64): Likewise.
              (call_value_indirect_aix32): Likewise.
              (call_value_indirect_aix64): Likewise.
              (call_indirect_nonlocal_aix32_internal): New insn and split patterns
              to split off the load of the TOC.
              (call_indirect_nonlocal_aix32): Enable only after reload.
              (call_indirect_nonlocal_aix64_internal): New insn and split patterns
              to split off the load of the TOC.
              (call_indirect_nonlocal_aix64): Enable only after reload.
              (call_value_indirect_nonlocal_aix32_internal): New insn and split
              patterns to split off the load of the TOC.
              (call_value_indirect_nonlocal_aix32): Enable only after reload.
              (call_value_indirect_nonlocal_aix64_internal): New insn and split
              patterns to split off the load of the TOC.
              (call_value_indirect_nonlocal_aix64): Enable only after reload.
      
      
      
      Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com>
      
      From-SVN: r142727
      Andrew Pinski committed
    • re PR testsuite/38163 (gcc.dg/tree-ssa/loop-3.c failure at -m64 on i686-apple-darwin9) · 9bf6b5c1
      	PR testsuite/38163
      	* gcc.dg/tree-ssa/loop-3.c: Compile only on nonpic x86 targets.
      	Remove dg-skip-if directive.
      
      From-SVN: r142726
      Uros Bizjak committed
    • re PR libfortran/24685 (real(16) formatted input is broken for huge values… · 72c282c6
      re PR libfortran/24685 (real(16) formatted input is broken for huge values (gfortran.dg/default_format_2.f90))
      
      	PR libgfortran/24685
      	* gfortran.dg/default_format_denormal_2.f90: Change XFAIL to check
      	for size of long double.
      
      From-SVN: r142724
      Janis Johnson committed
    • re PR objc++/31032 (expected tree that contains 'decl with RTL' structure, have… · 03901b88
      re PR objc++/31032 (expected tree that contains 'decl with RTL' structure, have 'field_decl'  in assemble_external_real, at varasm.c:2225)
      
      	PR objc++/31032
      	* obj-c++.dg/bitfield-1.mm: Remove XFAIL for ICE.
      
      From-SVN: r142723
      Janis Johnson committed
    • revert: cfgrtl.c (rtl_verify_flow_info_1): Don't apply BLOCK_FOR_INSN on a BARRIER insn. · 8ce9fd5d
      Revert:
      2008-12-12  Andreas Schwab  <schwab@suse.de>
      * cfgrtl.c (rtl_verify_flow_info_1): Don't apply BLOCK_FOR_INSN on
      a BARRIER insn.
      
      From-SVN: r142721
      Andreas Schwab committed
    • * gcc.dg/pr35442.c: Ignore a possible warning. · 04f182b1
      From-SVN: r142720
      Janis Johnson committed
    • re PR tree-optimization/32044 (final value replacement too aggressive for e.g.… · 771f882e
      re PR tree-optimization/32044 (final value replacement too aggressive for e.g. targets with no native div/mod insns)
      
      	PR tree-optimization/32044
      	* tree-scalar-evolution.h (expression_expensive_p): Declare.
      	* tree-scalar-evolution.c (expression_expensive_p): New function.
      	(scev_const_prop): Avoid introducing expensive expressions.
      	* tree-ssa-loop-ivopts.c (may_eliminate_iv): Ditto.
      
      	* gcc.dg/pr34027-1.c: Change outcome.
      	* gcc.dg/tree-ssa/pr32044.c: New test.
      
      From-SVN: r142719
      Zdenek Dvorak committed
    • re PR target/11594 (testcase gcc.dg/20020103-1.c fails with "scan-assembler-not LC") · 9c877fcc
      	PR target/11594
      	* gcc.dg/20020103-1.c: Remove XFAIL for powerpc.
      
      From-SVN: r142718
      Janis Johnson committed
    • re PR middle-end/38409 ([graphite] ICE : in canonicalize_loop_ivs, at tree-parloops.c:1384) · 0c6ca7f8
      2008-12-12  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/38409
      	* gcc.dg/graphite/pr38409.c: New.
      	* graphite.c (nb_reductions_in_loop): Use simple_iv.
      
      From-SVN: r142716
      Sebastian Pop committed
    • configure.ac (ppllibs): Add by default the lib flags. · 0a280b35
      2008-12-12  Sebastian Pop <sebastian.pop@amd.com>
      
      	* configure.ac (ppllibs): Add by default the lib flags.
      	* configure: Regenerate.
      
      From-SVN: r142715
      Sebastian Pop committed
    • cstdatomic: Update to N2798. · 50ce8d3d
      2008-12-11  Benjamin Kosnik  <bkoz@redhat.com>
      	    Richard Henderson  <rth@redhat.com>
      
      	* include/c_global/cstdatomic: Update to N2798.
      	(atomic): Remove explicit constructors as per DR 845.
      	* include/bits/atomic_0.h: New. Switchable implementation.
      	* include/bits/atomic_2.h: New. Lock-free implementation.
      	* include/c_compatibility/stdatomic.h: Use foward headers.
      	* include/bits/atomicfwd_cxx.h: New.
      	* include/bits/atomicfwd_c.h: New.
      	* src/atomic.cc: Adjust.
      	* acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
      	unconditionally use default/deleted syntax.
      	(GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for 2, 8.
      	* include/Makefile.am (bits_headers): Add atomicfwd_c.h,
      	atomicfwd_cxx.h, atomic_0.h, atomic_2.h.
      	* include/Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      	* config/abi/pre/gnu.ver: Adjust exports.
      
      	* testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: Adjust.
      	* testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: Same.
      	* testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: Same.
      	* testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
      	* testsuite/29_atomics/atomic_address/cons/explicit_value.cc: Move to..
      	* testsuite/29_atomics/atomic_address/cons/single_value.cc: ...this.
      	* testsuite/29_atomics/atomic_address/cons/copy_neg.cc
      	* testsuite/29_atomics/atomic_integral/cons/single_value.cc: New.
      	* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: New.
      	* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: New.
      	* testsuite/29_atomics/atomic_integral/cons/default.cc: New.
      	* testsuite/29_atomics/atomic_integral/cons/direct_list.cc: New.
      	* testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
      	* testsuite/29_atomics/atomic_integral/requirements/
      	standard_layout.cc: New.
      	* testsuite/29_atomics/atomic_integral/operators/
      	integral_assignment.cc: New.
      	* testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: New.
      	* testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: New.
      	* testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: New.
      	* testsuite/29_atomics/atomic_integral/operators/increment.cc: New.
      	* testsuite/29_atomics/atomic_integral/operators/decrement.cc: New.
      	* testsuite/29_atomics/atomic_integral/operators/bitwise.cc: New.
      	* testsuite/29_atomics/atomic_integral/operators/
      	integral_conversion.cc: New.
      	* testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Adjust.
      	* testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
      	* testsuite/29_atomics/atomic_flag/requirements/
      	standard_layout.cc: Same.
      	* testsuite/29_atomics/atomic_flag/
      	atomic_global_fence_compatibility.cc: Kill.
      	* testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc: Adjust.
      	* testsuite/29_atomics/headers/cstdatomic/functions_std_c++0x.cc: Same.
      	* testsuite/29_atomics/headers/cstdatomic/macros.cc: Same.
      	* testsuite/29_atomics/headers/stdatomic.h/macros.c: Same.
      	* testsuite/29_atomics/headers/stdatomic.h/types.c: Same.
      	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
      	* testsuite/29_atomics/atomic/cons/explicit_value.cc: Move to...
      	* testsuite/29_atomics/atomic/cons/single_value.cc: ...this.
      	* testsuite/29_atomics/atomic/cons/copy_neg.cc
      	* testsuite/29_atomics/atomic/cons/direct_list.cc: New.
      	* testsuite/29_atomics/atomic/cons/copy_list.cc: New.
      	* testsuite/29_atomics/atomic/requirements/standard_layout.cc: New.
      	* testsuite/29_atomics/atomic/requirements/base_classes.cc: New.
      	* testsuite/29_atomics/atomic/operators/integral_assignment.cc: New.
      	* testsuite/29_atomics/atomic/operators/integral_conversion.cc: New.
      	* testsuite/util/testsuite_hooks.h (bitmask_operators): Move...
      	* testsuite/util/testsuite_common_types.h: ...here.
      	(atomic_integrals_no_bool): New.
      	(atomic_integrals): New.
      	(has_increment_operators, has_decrement_operators)
      	(direct_list_initializable, single_value_constructible)
      	(standard_layout, has_bitwise_operators, integral_convertable)
      	(integral_assignable): Add.
      
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r142714
      Benjamin Kosnik committed
    • x86intrin.h: New header file to support all x86 intrinsics · 0f2dc4cc
      2008-12-12  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
      
      	* config/i386/x86intrin.h: New header file to support all x86 
      	intrinsics
      	* config.gcc (extra_headers): For x86 and x86-64, add x86intrin.h
      
      From-SVN: r142713
      Dwarakanath Rajagopal committed
    • re PR target/38402 (Undocumented Yz constraint) · c5245af5
      2008-12-12  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/38402
      	* gcc/doc/md.texi: Remove Y and document Yz, Y2, Yi and Ym
      	constraints for x86.
      
      From-SVN: r142710
      H.J. Lu committed
    • re PR fortran/36355 (matmul argument-check: wrong error messages) · bf4f96e6
      gcc/fortran:
      2008-12-12  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/36355
              * check.c (gfc_check_matmul): Fixed error message for invalid
              types to correctly identify the offending argument, added check
              for mismatching types.
      
      
      gcc/testsuite:
      2008-12-12 Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/36355
              * gfortran.dg/matmul_argument_types.f90: New.
      
      From-SVN: r142709
      Daniel Franke committed