platform/upstream/linaro-gcc.git
10 years agoFix A12 multilib rule.
ramana [Fri, 28 Mar 2014 13:43:21 +0000 (13:43 +0000)]
Fix A12 multilib rule.

This affects only arm-none-eabi targets and those using t-aprofile in
their multilib lists. The problem here is that when the A12 support
was added, we mistakenly added this to the MULTILIB_MATCHES rule for
the A15 rather than putting out a separate line for this.

Fixed thusly and verified that the correct multilibs are now chosen.

     * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208896 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
uweigand [Fri, 28 Mar 2014 12:42:40 +0000 (12:42 +0000)]
* config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
if it would clobber the stack pointer, even temporarily.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208895 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/testsuite
kyukhin [Fri, 28 Mar 2014 11:10:13 +0000 (11:10 +0000)]
gcc/testsuite
* gcc.target/i386/avx512f-vshuff32x4-2.c: Fix initialization
  of second source operand.
* gcc.target/i386/avx512f-vshuff64x2-2.c: Ditto.
* gcc.target/i386/avx512f-vshufi32x4-2.c: Ditto.
* gcc.target/i386/avx512f-vshufi64x2-2.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208894 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ipa/60315
jakub [Fri, 28 Mar 2014 10:25:34 +0000 (10:25 +0000)]
PR ipa/60315
* g++.dg/torture/pr60315.C: Add -std=c++11 to dg-options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208893 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * mode-switching.c: Make small adjustments to the top comment.
ebotcazou [Fri, 28 Mar 2014 10:20:41 +0000 (10:20 +0000)]
* mode-switching.c: Make small adjustments to the top comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208892 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-28 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 28 Mar 2014 06:57:54 +0000 (06:57 +0000)]
2014-03-28  Tobias Burnus  <burnus@net-b.de>

        * lib/cilk-plus-dg.exp: New.
        * g++.dg/cilk-plus/cilk-plus.exp: Use it.
        * gcc.dg/cilk-plus/cilk-plus.exp: Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208889 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR other/59545
ian [Fri, 28 Mar 2014 05:20:48 +0000 (05:20 +0000)]
PR other/59545
compiler: Fix bogus invalid static_cast to Unary_expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208888 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Fri, 28 Mar 2014 00:17:18 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208886 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-04-27 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Thu, 27 Mar 2014 22:21:35 +0000 (22:21 +0000)]
2014-04-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/60522
* frontend-passes.c (cfe_code):  Do not walk subtrees
for WHERE.

2014-04-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/60522
* gfortran.dg/where_4.f90:  New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208883 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com>
meissner [Thu, 27 Mar 2014 21:43:27 +0000 (21:43 +0000)]
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

* doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
Document use of vec_xxsldwi and vec_xxpermdi builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208880 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-27 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 27 Mar 2014 21:17:43 +0000 (21:17 +0000)]
2014-03-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/58880
        * trans-expr.c (gfc_conv_scalar_to_descriptor): Fix handling
        of nonpointers.

2014-03-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/58880
        * gfortran.dg/finalize_24.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208879 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[gcc]
meissner [Thu, 27 Mar 2014 20:07:16 +0000 (20:07 +0000)]
[gcc]
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/constraints.md (wD constraint): New constraint to
match the constant integer to get the top DImode/DFmode out of a
vector in a VSX register.

* config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to
match the constant integer to get the top DImode/DFmode out of a
vector in a VSX register.

* config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
for ISA 2.07.

* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
vbpermq builtins.

* config/rs6000/rs6000.c (rs6000_debug_reg_global): If
-mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT.

* config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes):
Optimize vec_extract of 64-bit values, where the value being
extracted is in the top word, where we can use scalar
instructions.  Add direct move and store support.  Combine the big
endian/little endian vector select load support into a single
insn.
(vsx_extract_<mode>_internal1): Likewise.
(vsx_extract_<mode>_internal2): Likewise.
(vsx_extract_<mode>_load): Likewise.
(vsx_extract_<mode>_store): Likewise.
(vsx_extract_<mode>_zero): Delete, big and little endian insns are
combined into vsx_extract_<mode>_load.
(vsx_extract_<mode>_one_le): Likewise.

* config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to
define the top 64-bit vector element.

* doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD
constraint.

PR target/60672
* config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
enable use of xxsldwi and xxpermdi builtin functions.
(vec_xxpermdi): Likewise.

* doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
Document use of vec_xxsldwi and vec_xxpermdi builtins.

[gcc/testsuite]
2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/p8vector-vbpermq.c: New test to test the
vbpermq builtin.

* gcc.target/powerpc/vsx-extract-1.c: New test to test VSX
vec_select optimizations.
* gcc.target/powerpc/vsx-extract-2.c: Likewise.
* gcc.target/powerpc/vsx-extract-3.c: Likewise.

PR target/60672
* gcc.target/powerpc/pr60676.c: New file, make sure xxsldwi and
xxpermdi builtins are supported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208877 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-27 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Thu, 27 Mar 2014 18:49:44 +0000 (18:49 +0000)]
2014-03-27  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/60650
* lra-asign.c (find_hard_regno_for, spill_for): Add parameter
first_p.  Use it.
(find_spills_for): New.
(assign_by_spills): Pass the new parameter to find_hard_regno_for.
Spill all pseudos on the second iteration.

2014-03-27  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/60650
* gcc.target/arm/pr60650.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208876 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/html/*: Regenerate.
redi [Thu, 27 Mar 2014 18:22:46 +0000 (18:22 +0000)]
* doc/html/*: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208875 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/xml/manual/containers.xml (associative.bitset.size_variable):
redi [Thu, 27 Mar 2014 18:22:38 +0000 (18:22 +0000)]
* doc/xml/manual/containers.xml (associative.bitset.size_variable):
Fix bad s/part/chapter/ substitutions.
* doc/xml/manual/io.xml (std.io): Likewise.
* doc/xml/manual/numerics.xml (std.numerics.generalized_ops): Likewise.
* doc/xml/manual/strings.xml (strings.string.Cstring): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208874 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/xml/faq.xml (faq): Refer to clauses instead of chapters.
redi [Thu, 27 Mar 2014 18:22:33 +0000 (18:22 +0000)]
* doc/xml/faq.xml (faq): Refer to clauses instead of chapters.
* doc/xml/manual/appendix_contributing.xml (contrib.design_notes):
Likewise.
* doc/xml/manual/backwards_compatibility.xml (backwards.third):
Likewise.
* doc/xml/manual/test.xml (test.organization.layout): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208873 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/xml/manual/io.xml (std.io.objects): Additional markup.
redi [Thu, 27 Mar 2014 18:22:27 +0000 (18:22 +0000)]
* doc/xml/manual/io.xml (std.io.objects): Additional markup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208872 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/60612
redi [Thu, 27 Mar 2014 18:07:25 +0000 (18:07 +0000)]
PR libstdc++/60612
* libsupc++/eh_ptr.cc: Assert __cxa_dependent_exception layout is
compatible with __cxa_exception.
* libsupc++/unwind-cxx.h (__cxa_dependent_exception): Add padding.
Fix typos in comments.
* testsuite/18_support/exception_ptr/60612-terminate.cc: New.
* testsuite/18_support/exception_ptr/60612-unexpected.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208871 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c/50347
mpolacek [Thu, 27 Mar 2014 15:59:07 +0000 (15:59 +0000)]
PR c/50347
* doc/extend.texi (ffs Builtins): Change unsigned types to signed
types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208870 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 27 Mar 2014 15:40:31 +0000 (15:40 +0000)]
2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config.host: Append t-floattodi to tmake_file depending on
host_address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208868 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 27 Mar 2014 15:38:29 +0000 (15:38 +0000)]
2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_can_use_return_insn): Check for
call-saved FPRs on 31 bit.

2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.target/s390/20140327-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208867 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * Makefile.def (dependencies): Make all-ld depend on all-binutils
nickc [Thu, 27 Mar 2014 13:36:21 +0000 (13:36 +0000)]
* Makefile.def (dependencies): Make all-ld depend on all-binutils
for WINDRES_FOR_TARGET in default-manifest.o rule.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208865 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR middle-end/60682
jakub [Thu, 27 Mar 2014 13:18:52 +0000 (13:18 +0000)]
PR middle-end/60682
* omp-low.c (lower_omp_1): For gimple_clobber_p stmts,
if they need regimplification, just drop them instead of
calling gimple_regimplify_operands on them.

* g++.dg/gomp/pr60682.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208864 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.dg/torture/pr60092.c: Remove default dg-skip-if arguments.
danglin [Thu, 27 Mar 2014 12:33:06 +0000 (12:33 +0000)]
* gcc.dg/torture/pr60092.c: Remove default dg-skip-if arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208863 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[PR 60580, AArch64] Fix __attribute__ ((optimize("no-omit-frame-pointer")))
mshawcroft [Thu, 27 Mar 2014 10:13:50 +0000 (10:13 +0000)]
[PR 60580, AArch64] Fix __attribute__ ((optimize("no-omit-frame-pointer")))

The implementation of -m[no-]omit-leaf-frame-pointer and
-f[no-]omit-frame-pointer in the AArch64 target does not behave
correctly in the presence of __attribute__ optimize.

This patch adjusts the implementation to work in a similar fashion to
the same functionality in the i386 target.

The problem occurs because the current implementation uses a global
'faked_omit_frame_pointer' to retain the original value of
flag_omit_frame_pointer.  The global does not form part of the
optimization save state.

This solution removes the global and instead tracks required behaviour
using only flag_omit_frame_pointer and flag_omit_leaf_frame_pointer.
These two form part of the optimziation save state and target save
state respectively.

The additional complication for AArch64 is that the PCS requires that
given -fno-omit-frame-pointer -momit-leave-frame-pointer, a leaf
function that kills LR must create a frame record.  This is readily
handled in aarch64_frame_pointer_required().  I've dropped logic in
aarch64_can_eliminate() that attempts to detect this scenario since it

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208862 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * ipa-inline.c (early_inliner): Update node's inline info.
dehao [Thu, 27 Mar 2014 01:01:07 +0000 (01:01 +0000)]
* ipa-inline.c (early_inliner): Update node's inline info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208861 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * dojump.c (do_compare_rtx_and_jump): Sets correct probability for
dehao [Thu, 27 Mar 2014 00:41:10 +0000 (00:41 +0000)]
* dojump.c (do_compare_rtx_and_jump): Sets correct probability for
compiler inserted conditional jumps for NAN float check.
* gcc.dg/predict-8.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208860 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Thu, 27 Mar 2014 00:16:59 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208859 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/linux/futex_bits.h: Include errno.h.
jakub [Wed, 26 Mar 2014 21:52:16 +0000 (21:52 +0000)]
* config/linux/futex_bits.h: Include errno.h.
(sys_futex0): If syscall returns -1, return -errno rather than
-1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208855 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-26 Fabien Chene <fabien@gcc.gnu.org>
fabien [Wed, 26 Mar 2014 21:33:28 +0000 (21:33 +0000)]
2014-03-26  Fabien Chene  <fabien@gcc.gnu.org>
        PR c++/52369
        * cp/method.c (walk_field_subobs): improve the diagnostic
locations for both REFERENCE_TYPEs and non-static const members.
* cp/init.c (diagnose_uninitialized_cst_or_ref_member): use %q#D
instead of %qD to be consistent with the c++11 diagnostic.

2014-03-26  Fabien Chene  <fabien@gcc.gnu.org>

        PR c++/52369
        * g++.dg/init/const10.C: New.
* g++.dg/init/const11.C: New.
* g++.dg/init/pr25811.C: Adjust.
* g++.dg/init/pr29043.C: Likewise.
* g++.dg/init/pr43719.C: Likewise.
* g++.dg/init/pr44086.C: Likewise.
* g++.dg/init/ctor8.C: Likewise.
* g++.dg/init/uninitialized1.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208854 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * libitm.texi (Index): Rename to Library Index.
jsm28 [Wed, 26 Mar 2014 21:20:04 +0000 (21:20 +0000)]
* libitm.texi (Index): Rename to Library Index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208853 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR fortran/34928
dominiq [Wed, 26 Mar 2014 20:39:42 +0000 (20:39 +0000)]
    PR fortran/34928
        * fortran.texi: Document Volatile COMMON as not supported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208852 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAdd libcilkrts/libcilkrts.spec.in, missing from r208847
burnus [Wed, 26 Mar 2014 19:43:17 +0000 (19:43 +0000)]
Add libcilkrts/libcilkrts.spec.in, missing from r208847

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208851 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * ubsan.h (ubsan_create_data): Change second argument's type
jakub [Wed, 26 Mar 2014 19:33:40 +0000 (19:33 +0000)]
* ubsan.h (ubsan_create_data): Change second argument's type
to const location_t *.
* ubsan.c (ubsan_source_location): If xloc.file is NULL, set it to
_("<unknown>").
(ubsan_create_data): Change second argument to const location_t *PLOC.
Create Loc field whenever PLOC is non-NULL.
(ubsan_instrument_unreachable, ubsan_expand_null_ifn,
ubsan_build_overflow_builtin, instrument_bool_enum_load): Adjust
callers.
c-family/
* c-ubsan.c (ubsan_instrument_division, ubsan_instrument_shift,
ubsan_instrument_vla, ubsan_instrument_return): Adjust
ubsan_create_data callers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208849 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR other/59545
jakub [Wed, 26 Mar 2014 19:32:40 +0000 (19:32 +0000)]
PR other/59545
* real.c (real_to_integer2): Change type of low to UHWI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208848 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/
burnus [Wed, 26 Mar 2014 19:16:35 +0000 (19:16 +0000)]
gcc/
2014-03-26  Tobias Burnus  <burnus@net-b.de>

        * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
        (CILK_SELF_SPECS): New define.
        (driver_self_specs): Use it.

libcilkrts/
2014-03-26  Tobias Burnus  <burnus@net-b.de>

        * libcilkrts.spec.in: New.
        * Makefile.am: Handle libcilkrts.spec.
        * configure.ac: Determine link options for libcilkrts.spec.
        * Makefile.in: Regenerate.
        * configure: Regenerate.
        * aclocal.m4: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208847 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * MAINTAINERS (Write After Approval): Add myself.
dominiq [Wed, 26 Mar 2014 17:33:09 +0000 (17:33 +0000)]
    * MAINTAINERS (Write After Approval): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208846 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60566
jason [Wed, 26 Mar 2014 16:50:26 +0000 (16:50 +0000)]
PR c++/60566
PR c++/58678
* class.c (build_vtbl_initializer): Handle abstract dtors here.
* search.c (get_pure_virtuals): Not here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208845 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-26 Richard Biener <rguenther@suse.de>
rguenth [Wed, 26 Mar 2014 09:47:36 +0000 (09:47 +0000)]
2014-03-26  Richard Biener  <rguenther@suse.de>

* tree-pretty-print.c (percent_K_format): Implement special
case for LTO and its stripped down BLOCK tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208843 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/56781
jakub [Wed, 26 Mar 2014 09:19:44 +0000 (09:19 +0000)]
PR sanitizer/56781
* Makefile.def: Set bootstrap=true; for host fixincludes.
* configure.ac: Don't bootstrap host fixincludes unless
--with-build-config=bootstrap-{a,ub}san.
* Makefile.in: Regenerated.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208842 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/60636
jakub [Wed, 26 Mar 2014 09:18:26 +0000 (09:18 +0000)]
PR sanitizer/60636
* ubsan.c (instrument_si_overflow): Instrument ABS_EXPR.

* c-c++-common/ubsan/pr60636.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208841 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * tree-vrp.c (simplify_internal_call_using_ranges): If only
jakub [Wed, 26 Mar 2014 09:17:10 +0000 (09:17 +0000)]
* tree-vrp.c (simplify_internal_call_using_ranges): If only
one range is range_int_cst_p, but not both, at least optimize
addition/subtraction of 0 and multiplication by 0 or 1.
* gimple-fold.c (gimple_fold_call): Fold
IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
(gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
INTEGER_CSTs, try to fold at least x * 0 and y - y.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208840 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago* g++.dg/torture/pr60315.C: Remove duplication.
schwab [Wed, 26 Mar 2014 08:31:30 +0000 (08:31 +0000)]
* g++.dg/torture/pr60315.C: Remove duplication.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208839 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR rtl-optimization/60452
ebotcazou [Wed, 26 Mar 2014 07:38:30 +0000 (07:38 +0000)]
PR rtl-optimization/60452
* rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment.
<case REG>: Return 1 for invalid offsets from the frame pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208837 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c/37428
mpolacek [Wed, 26 Mar 2014 06:58:15 +0000 (06:58 +0000)]
PR c/37428
* doc/extend.texi (C Extensions): Mention variable-length arrays in
a structure/union.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208836 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c/39525
mpolacek [Wed, 26 Mar 2014 06:55:39 +0000 (06:55 +0000)]
PR c/39525
* doc/extend.texi (Designated Inits): Describe what happens to omitted
field members.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208835 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR other/59545
mpolacek [Wed, 26 Mar 2014 06:46:27 +0000 (06:46 +0000)]
PR other/59545
* ira-color.c (update_conflict_hard_regno_costs): Perform the
multiplication in unsigned type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208834 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.
jasonwucj [Wed, 26 Mar 2014 03:14:42 +0000 (03:14 +0000)]
* doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208833 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/contrib.texi: Add myself as Andes nds32 port contributor.
jasonwucj [Wed, 26 Mar 2014 02:59:36 +0000 (02:59 +0000)]
* doc/contrib.texi: Add myself as Andes nds32 port contributor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208832 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ipa/60315
hubicka [Wed, 26 Mar 2014 02:11:57 +0000 (02:11 +0000)]
PR ipa/60315
* cif-code.def (UNREACHABLE) New code.
* ipa-inline.c (inline_small_functions): Skip edges to __builtlin_unreachable.
(estimate_edge_growth): Allow edges to __builtlin_unreachable.
* ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false
predicate to __bulitin_unreachable.
(set_cond_stmt_execution_predicate): Fix issue when invert_tree_comparison
returns ERROR_MARK.
* ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not
propagate to inline clones.
* cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection
to unreachable.
* ipa-cp.c (create_specialized_node): Be ready for new node to appear.
* cgraphclones.c (cgraph_clone_node): If call destination is already
ureachable, do not redirect it back.
* tree-inline.c (fold_marked_statements): Hanlde calls becoming
unreachable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208831 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
hubicka [Wed, 26 Mar 2014 02:07:51 +0000 (02:07 +0000)]
* ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
Do not modify inline clones.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208830 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Wed, 26 Mar 2014 00:17:17 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208829 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/i386/i386.md (general_sext_operand): New mode attr.
jakub [Tue, 25 Mar 2014 21:47:41 +0000 (21:47 +0000)]
* config/i386/i386.md (general_sext_operand): New mode attr.
(addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
don't generate (sign_extend (const_int)).
(*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
operands[2].  Use We constraint instead of <i> and <general_sext_operand>
predicate instead of <general_operand>.
(*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
* config/i386/constraints.md (We): New constraint.
* config/i386/predicates.md (x86_64_sext_operand,
sext_operand): New predicates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208824 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/60658
redi [Tue, 25 Mar 2014 19:39:52 +0000 (19:39 +0000)]
PR libstdc++/60658
* include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
Use sizeof pointer type not the element type.
* testsuite/29_atomics/atomic/60658.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208819 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-25 Martin Jambor <mjambor@suse.cz>
jamborm [Tue, 25 Mar 2014 18:22:41 +0000 (18:22 +0000)]
2014-03-25  Martin Jambor  <mjambor@suse.cz>

PR ipa/60600
* ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type
inconsistent devirtualizations to __builtin_unreachable.

testsuite/
* g++.dg/ipa/pr60600.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208818 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60375
jason [Tue, 25 Mar 2014 18:00:37 +0000 (18:00 +0000)]
PR c++/60375
* parser.c (cp_parser_lambda_expression): Don't parse the body of
a lambda in unevaluated context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208817 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60628
jason [Tue, 25 Mar 2014 18:00:30 +0000 (18:00 +0000)]
PR c++/60628
* decl.c (create_array_type_for_decl): Complain about array of auto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208816 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c/35449
mpolacek [Tue, 25 Mar 2014 16:50:54 +0000 (16:50 +0000)]
PR c/35449
* doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208815 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[PATCH AArch64] Fix aarch64_simd_valid_immediate for Bigendian
jgreenhalgh [Tue, 25 Mar 2014 15:59:48 +0000 (15:59 +0000)]
[PATCH AArch64] Fix aarch64_simd_valid_immediate for Bigendian

gcc/

* config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse
order of elements for big-endian.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208814 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR testsuite/58013
danglin [Tue, 25 Mar 2014 12:06:17 +0000 (12:06 +0000)]
PR testsuite/58013
* g++.dg/opt/pr56999.C: Pop hidden visibility.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208813 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-25 Richard Biener <rguenther@suse.de>
rguenth [Tue, 25 Mar 2014 11:43:03 +0000 (11:43 +0000)]
2014-03-25  Richard Biener  <rguenther@suse.de>

PR middle-end/60635
* gimplify-me.c (gimple_regimplify_operands): Update the
re-gimplifed stmt.

* gfortran.dg/lto/pr60635_0.f90: New testcase.
* gfortran.dg/lto/pr60635_1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208811 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-25 Martin Jambor <mjambor@suse.cz>
jamborm [Tue, 25 Mar 2014 10:57:07 +0000 (10:57 +0000)]
2014-03-25  Martin Jambor  <mjambor@suse.cz>

PR ipa/59176
* lto-cgraph.c (lto_output_node): Stream body_removed flag.
(lto_output_varpool_node): Likewise.
(input_overwrite_node): Likewise.
(input_varpool_node): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208809 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-25 Richard Biener <rguenther@suse.de>
rguenth [Tue, 25 Mar 2014 10:10:31 +0000 (10:10 +0000)]
2014-03-25  Richard Biener  <rguenther@suse.de>

* lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like
OPT_fpie.
(run_gcc): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208807 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60331
jakub [Tue, 25 Mar 2014 09:30:10 +0000 (09:30 +0000)]
PR c++/60331
* semantics.c (potential_constant_expression_1): Handle
DECL_EXPR.

* testsuite/libgomp.c++/udr-11.C: New test.
* testsuite/libgomp.c++/udr-12.C: New test.
* testsuite/libgomp.c++/udr-13.C: New test.
* testsuite/libgomp.c++/udr-14.C: New test.
* testsuite/libgomp.c++/udr-15.C: New test.
* testsuite/libgomp.c++/udr-16.C: New test.
* testsuite/libgomp.c++/udr-17.C: New test.
* testsuite/libgomp.c++/udr-18.C: New test.
* testsuite/libgomp.c++/udr-19.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208806 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * combine.c (simplify_compare_const): Add MODE argument.
jakub [Tue, 25 Mar 2014 09:28:33 +0000 (09:28 +0000)]
* combine.c (simplify_compare_const): Add MODE argument.
Handle mode_width 0 as very large mode_width.
(try_combine, simplify_comparison): Adjust callers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208805 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * cselib.c (cselib_hash_rtx): Perform addition in unsigned
jakub [Tue, 25 Mar 2014 09:27:54 +0000 (09:27 +0000)]
* cselib.c (cselib_hash_rtx): Perform addition in unsigned
type to avoid signed integer overflow.
* explow.c (plus_constant): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208804 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-25 Dominik Vogt <vogt@linux.vnet.ibm.com>
krebbel [Tue, 25 Mar 2014 09:12:18 +0000 (09:12 +0000)]
2014-03-25  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* doc/generic.texi: Correct typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208803 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Tue, 25 Mar 2014 00:16:38 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208802 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix PR c++/60627
abutcher [Mon, 24 Mar 2014 20:40:15 +0000 (20:40 +0000)]
Fix PR c++/60627

PR c++/60627
* parser.c (cp_parser_parameter_declaration_clause): Prevent 'auto' from
introducing an implicit function template parameter within an explicit
instantiation.

PR c++/60627
* g++.dg/cpp1y/pr60627.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208799 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-24 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 24 Mar 2014 19:53:52 +0000 (19:53 +0000)]
2014-03-24  Tobias Burnus  <burnus@net-b.de>

        * doc/invoke.texi (-flto): Expand section about
        using static libraries with LTO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208798 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
jakub [Mon, 24 Mar 2014 19:48:12 +0000 (19:48 +0000)]
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Remove TLS
entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208797 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Mon, 24 Mar 2014 17:38:09 +0000 (17:38 +0000)]
2014-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR rtl-optimization/60501
* optabs.def (addptr3_optab): New optab.
* optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
* doc/md.texi ("addptrm3"): Document new RTL standard expander.
* expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.

* lra.c (emit_add3_insn): Use the addptr pattern if available.

* config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208796 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-24 Ulrich Drepper <drepper@gmail.com>
drepper [Mon, 24 Mar 2014 16:27:36 +0000 (16:27 +0000)]
2014-03-24  Ulrich Drepper  <drepper@gmail.com>

        * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
        _mm512_set1_pd.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208794 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-24 Ulrich Drepper <drepper@gmail.com>
drepper [Mon, 24 Mar 2014 16:17:51 +0000 (16:17 +0000)]
2014-03-24  Ulrich Drepper  <drepper@gmail.com>

        * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
        (_mm256_undefined_ps): Define.
        (_mm256_undefined_pd): Define.
        * config/i386/emmintrin.h (_mm_undefined_si128): Define.
        (_mm_undefined_pd): Define.
        * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
        * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
        (_mm512_undefined_ps): Define.
        (_mm512_undefined_pd): Define.
        Use _mm*_undefined_*.
        * config/i386/avx2intrin.h: Use _mm*_undefined_*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208793 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60574
jason [Mon, 24 Mar 2014 15:55:43 +0000 (15:55 +0000)]
PR c++/60574
* decl.c (grokdeclarator): Change permerror about 'virtual auto'
to error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208792 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * sv.po: Update.
jsm28 [Mon, 24 Mar 2014 15:04:14 +0000 (15:04 +0000)]
* sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208791 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[AArch64] Logical vector shift right conformance
jgreenhalgh [Mon, 24 Mar 2014 12:05:38 +0000 (12:05 +0000)]
[AArch64] Logical vector shift right conformance

gcc/

* config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
(lshr_simd): DI mode added.
* config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
(aarch64_ushr_simddi): Likewise.
* config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
* config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
(vshrd_n_u64): Likewise.

gcc/testsuite/

* gcc.target/aarch64/ushr64_1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208789 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[AArch64 testsuite] Make vect-abs.c C99 compliant
jgreenhalgh [Mon, 24 Mar 2014 11:47:33 +0000 (11:47 +0000)]
[AArch64 testsuite] Make vect-abs.c C99 compliant

* gcc.target/aarch64/vect-abs.c (dg-options): Add -std=c99.
(LONG_LONG): Use LLONG.
(set_rvector_long): Explicitly return void.
(set_vector_long): Likewise.
(check_vector_long): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208788 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * c-c++-common/ubsan/div-by-zero-4.c: Don't include limits.h. Define
mpolacek [Mon, 24 Mar 2014 10:20:15 +0000 (10:20 +0000)]
* c-c++-common/ubsan/div-by-zero-4.c: Don't include limits.h.  Define
INT_MIN.
* c-c++-common/ubsan/overflow-1.c: Check for unwanted output.
* c-c++-common/ubsan/overflow-add-1.c: Likewise.
* c-c++-common/ubsan/overflow-mul-1.c: Likewise.
* c-c++-common/ubsan/overflow-mul-3.c: Likewise.
* c-c++-common/ubsan/overflow-negate-2.c: Likewise.
* c-c++-common/ubsan/overflow-sub-1.c: Likewise.
* c-c++-common/ubsan/pr59503.c: Likewise.
* c-c++-common/ubsan/pr60613-1.c: Likewise.
* c-c++-common/ubsan/save-expr-1.c: Likewise.
* c-c++-common/ubsan/shift-3.c: Likewise.
* c-c++-common/ubsan/shift-6.c: Likewise.
* c-c++-common/ubsan/undefined-1.c: Likewise.
* c-c++-common/ubsan/vla-2.c: Likewise.
* c-c++-common/ubsan/vla-3.c: Likewise.
* c-c++-common/ubsan/vla-4.c: Likewise.
* g++.dg/ubsan/cxx11-shift-1.C: Likewise.
* g++.dg/ubsan/return-2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208787 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoHave s-macro_list depend on cc1
ro [Mon, 24 Mar 2014 09:24:07 +0000 (09:24 +0000)]
Have s-macro_list depend on cc1

* Makefile.in (s-macro_list): Depend on cc1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208786 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on
danglin [Mon, 24 Mar 2014 01:11:51 +0000 (01:11 +0000)]
* gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on
hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208783 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.dg/torture/pr60092.c: Skip on 32-bit hpux.
danglin [Mon, 24 Mar 2014 00:47:58 +0000 (00:47 +0000)]
* gcc.dg/torture/pr60092.c: Skip on 32-bit hpux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208782 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libfortran/59313
danglin [Mon, 24 Mar 2014 00:32:41 +0000 (00:32 +0000)]
PR libfortran/59313
PR libfortran/58015
* gfortran.dg/erf_3.F90: Skip on hppa*-*-hpux*.
* gfortran.dg/round_4.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208781 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-23 Dominique d'Humieres <dominiq@lps.ens.fr>
jvdelisle [Mon, 24 Mar 2014 00:29:43 +0000 (00:29 +0000)]
2014-03-23  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR libfortran/60128
* gfortran.dg/fmt_en.f90: Update test. XFAIL for
i?86-*-solaris2.9*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208780 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Mon, 24 Mar 2014 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208779 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*.
danglin [Mon, 24 Mar 2014 00:09:24 +0000 (00:09 +0000)]
* testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208776 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-23 François Dumont <fdumont@gcc.gnu.org>
fdumont [Sun, 23 Mar 2014 20:19:11 +0000 (20:19 +0000)]
2014-03-23  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/hashtable.h (_Hashtable(allocator_type)): Fix call
to delegated constructor.
(_Hashtable(size_type, _H1, key_equal, allocator_type)): Likewise.
(_Hashtable<_It>(_It, _It, size_type, _H1, key_equal, allocator_type)):
Likewise.
(_Hashtable(
initializer_list, size_type, _H1, key_equal, allocator_type)): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208775 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/60623
danglin [Sun, 23 Mar 2014 15:12:38 +0000 (15:12 +0000)]
PR libstdc++/60623
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208774 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-23 Teresa Johnson <tejohnson@google.com>
tejohnson [Sun, 23 Mar 2014 15:07:21 +0000 (15:07 +0000)]
2014-03-23  Teresa Johnson  <tejohnson@google.com>

* ipa-utils.c (ipa_print_order): Use specified dump file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208773 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR rtl-optimization/60601
ebotcazou [Sun, 23 Mar 2014 11:29:42 +0000 (11:29 +0000)]
PR rtl-optimization/60601
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.

* gcc.c (eval_spec_function): Initialize save_growing_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208770 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sun, 23 Mar 2014 00:16:53 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208769 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/60613
jakub [Sat, 22 Mar 2014 16:25:50 +0000 (16:25 +0000)]
PR sanitizer/60613
* internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
code == MINUS_EXPR, never swap op0 with op1.

* c-c++-common/ubsan/pr60613-1.c: New test.
* c-c++-common/ubsan/pr60613-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208766 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * toplev.c (init_local_tick): Avoid signed integer multiplication
jakub [Sat, 22 Mar 2014 14:03:20 +0000 (14:03 +0000)]
* toplev.c (init_local_tick): Avoid signed integer multiplication
overflow.
* genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
shift by first operand's bitsize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208765 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-22 Matthias Klose <doko@ubuntu.com>
doko [Sat, 22 Mar 2014 13:07:32 +0000 (13:07 +0000)]
2014-03-22  Matthias Klose  <doko@ubuntu.com>

        * g++.dg/cpp0x/regress: Remove empty directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208764 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR debug/60603
jakub [Sat, 22 Mar 2014 07:18:38 +0000 (07:18 +0000)]
PR debug/60603
c-family/
* c-opts.c (c_finish_options): Restore cb_file_change call to
<built-in>.
fortran/
* cpp.c (gfc_cpp_init): Restore cb_change_file call to
<built-in>.
testsuite/
* gcc.dg/debug/dwarf2/dwarf2-macro2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208763 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sat, 22 Mar 2014 00:16:29 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208762 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu>
jvdelisle [Fri, 21 Mar 2014 22:19:44 +0000 (22:19 +0000)]
2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu>

PR libfortran/60148
* io/transfer.c (data_transfer_init): If std= was specified, set
delim status to DELIM_NONE of no other was specified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208759 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 21 Mar 2014 22:14:36 +0000 (22:14 +0000)]
2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/60148
* gfortran.texi: Add description of namelist DELIM= behavior.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208757 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/60610
jakub [Fri, 21 Mar 2014 21:24:31 +0000 (21:24 +0000)]
PR target/60610
* config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
redefine to 1 or 0.
* config/i386/darwin.h (TARGET_64BIT_P): Redefine to
TARGET_ISA_64BIT_P(x).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208756 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/60587
redi [Fri, 21 Mar 2014 18:54:06 +0000 (18:54 +0000)]
PR libstdc++/60587
* include/debug/functions.h (_Is_contiguous_sequence): Define.
(__foreign_iterator): Accept additional iterator. Do not dispatch on
iterator category.
(__foreign_iterator_aux2): Likewise. Add overload for iterators
from different types of debug container. Use _Is_contiguous_sequence
instead of is_lvalue_reference.
(__foreign_iterator_aux3): Accept additional iterator. Avoid
dereferencing past-the-end iterator.
(__foreign_iterator_aux4): Use const value_type* instead of
potentially user-defined const_pointer type.
* include/debug/macros.h (__glibcxx_check_insert_range): Fix comment
and pass end iterator to __gnu_debug::__foreign_iterator.
(__glibcxx_check_insert_range_after): Likewise.
(__glibcxx_check_max_load_factor): Fix comment.
* include/debug/vector (_Is_contiguous_sequence): Define partial
specializations.
* testsuite/23_containers/vector/debug/57779_neg.cc: Remove
-std=gnu++11 option and unused header.
* testsuite/23_containers/vector/debug/60587.cc: New.
* testsuite/23_containers/vector/debug/60587_neg.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208755 138bc75d-0d04-0410-961f-82ee72b054a4