]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:43:05 +0000 (11:43 +0000)] 
Mark ChangeLog

From-SVN: r218934

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:43:00 +0000 (11:43 +0000)] 
Mark ChangeLog

From-SVN: r218933

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:56 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218932

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:52 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218931

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:47 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218930

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:43 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218929

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:39 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218928

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:35 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218927

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:30 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218926

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:26 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218925

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:22 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218924

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:17 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218923

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:13 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218922

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:07 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218921

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:42:03 +0000 (11:42 +0000)] 
Mark ChangeLog

From-SVN: r218920

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:59 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218919

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:54 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218918

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:50 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218917

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:46 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218916

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:42 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218915

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:38 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218914

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:34 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218913

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:30 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218912

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:26 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218911

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:22 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218910

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:17 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218909

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:13 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218908

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:09 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218907

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:05 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218906

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:41:01 +0000 (11:41 +0000)] 
Mark ChangeLog

From-SVN: r218905

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:40:57 +0000 (11:40 +0000)] 
Mark ChangeLog

From-SVN: r218904

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:40:52 +0000 (11:40 +0000)] 
Mark ChangeLog

From-SVN: r218903

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:40:48 +0000 (11:40 +0000)] 
Mark ChangeLog

From-SVN: r218902

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:40:44 +0000 (11:40 +0000)] 
Mark ChangeLog

From-SVN: r218901

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:40:40 +0000 (11:40 +0000)] 
Mark ChangeLog

From-SVN: r218900

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:40:36 +0000 (11:40 +0000)] 
Mark ChangeLog

From-SVN: r218899

10 years agoMark ChangeLog
GCC Administrator [Fri, 19 Dec 2014 11:40:31 +0000 (11:40 +0000)] 
Mark ChangeLog

From-SVN: r218898

10 years agoDaily bump.
GCC Administrator [Fri, 19 Dec 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218881

10 years agore PR target/61407 (Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC...
Francois-Xavier Coudert [Thu, 18 Dec 2014 20:12:44 +0000 (20:12 +0000)] 
re PR target/61407 (Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3)

PR target/61407

* config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10
and above.
* config/darwin-driver.c (darwin_find_version_from_kernel): Removed
kernel version check to avoid incrementing it after every major OS X
release.
(darwin_default_min_version): Avoid static memory buffer.

* gcc.dg/darwin-minversion-1.c: Fixed formatting
* gcc.dg/darwin-minversion-2.c: Fixed formatting
* gcc.dg/darwin-minversion-3.c: Fixed formatting
* gcc.dg/darwin-minversion-4.c: Added test for OS X 10.10

From-SVN: r218873

10 years agoDaily bump.
GCC Administrator [Thu, 18 Dec 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218851

10 years agoDaily bump.
GCC Administrator [Wed, 17 Dec 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218803

10 years agoDaily bump.
GCC Administrator [Tue, 16 Dec 2014 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218770

10 years agore PR middle-end/58624 (gcc internal compiler error: Segmentaion fault in insert_to_a...
Jakub Jelinek [Mon, 15 Dec 2014 10:36:16 +0000 (11:36 +0100)] 
re PR middle-end/58624 (gcc internal compiler error: Segmentaion fault in insert_to_assembler_name_hash)

PR middle-end/58624
Backported from mainline
2014-03-07  Jason Merrill  <jason@redhat.com>

* g++.dg/plugin/plugin.exp (DEFAULT_CXXFLAGS): Remove -ansi.

From-SVN: r218739

10 years agore PR sanitizer/64265 (r217669 broke tsan)
Jakub Jelinek [Mon, 15 Dec 2014 09:50:11 +0000 (10:50 +0100)] 
re PR sanitizer/64265 (r217669 broke tsan)

PR sanitizer/64265
* tsan.c (instrument_func_entry): Insert __tsan_func_entry
call on edge from entry block to single succ instead
of after labels of single succ of entry block.

From-SVN: r218736

10 years agoDaily bump.
GCC Administrator [Mon, 15 Dec 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218723

10 years agoDaily bump.
GCC Administrator [Sun, 14 Dec 2014 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218712

10 years agobackport: inclhack.def (aix_assert): New fix.
David Edelsohn [Sat, 13 Dec 2014 17:47:30 +0000 (17:47 +0000)] 
backport: inclhack.def (aix_assert): New fix.

Backport
2013-09-02  David Edelsohn  <dje.gcc@gmail.com>

        * inclhack.def (aix_assert): New fix.
        * fixincl.x: Regenerate.
        * tests/base/assert.h [AIX_ASSERT_CHECK]: New check.

From-SVN: r218708

10 years agobackport: re PR tree-optimization/64269 (ICE with -O3 enabled on Ubuntu 14.04)
Jakub Jelinek [Sat, 13 Dec 2014 08:57:05 +0000 (09:57 +0100)] 
backport: re PR tree-optimization/64269 (ICE with -O3 enabled on Ubuntu 14.04)

Backported from mainline
2014-12-12  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/64269
* tree-ssa-forwprop.c (simplify_builtin_call): Bail out if
len2 or diff are too large.

* gcc.c-torture/compile/pr64269.c: New test.

From-SVN: r218704

10 years agoDaily bump.
GCC Administrator [Sat, 13 Dec 2014 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218695

10 years agoDaily bump.
GCC Administrator [Fri, 12 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218649

10 years ago* doc/md.texi (Insn Lengths): Fix description of (pc).
Eric Botcazou [Thu, 11 Dec 2014 22:39:34 +0000 (22:39 +0000)] 
* doc/md.texi (Insn Lengths): Fix description of (pc).

From-SVN: r218644

10 years agoDaily bump.
GCC Administrator [Thu, 11 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218614

10 years agobackport: rs6000-builtin.def (XVCVSXDDP_SCALE): New built-in definition.
Bill Schmidt [Wed, 10 Dec 2014 23:18:31 +0000 (23:18 +0000)] 
backport: rs6000-builtin.def (XVCVSXDDP_SCALE): New built-in definition.

[gcc]

2014-12-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
        2014-09-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000-builtin.def (XVCVSXDDP_SCALE):  New
built-in definition.
(XVCVUXDDP_SCALE): Likewise.
(XVCVDPSXDS_SCALE): Likewise.
(XVCVDPUXDS_SCALE): Likewise.
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins):  Add
entries for VSX_BUILTIN_XVCVSXDDP_SCALE,
VSX_BUILTIN_XVCVUXDDP_SCALE, VSX_BUILTIN_XVCVDPSXDS_SCALE, and
VSX_BUILTIN_XVCVDPUXDS_SCALE.
* config/rs6000/rs6000-protos.h (rs6000_scale_v2df): New
prototype.
* config/rs6000/rs6000.c (real.h): New include.
(rs6000_scale_v2df): New function.
* config/rs6000/vsx.md (UNSPEC_VSX_XVCVSXDDP): New unspec.
(UNSPEC_VSX_XVCVUXDDP): Likewise.
(UNSPEC_VSX_XVCVDPSXDS): Likewise.
(UNSPEC_VSX_XVCVDPUXDS): Likewise.
(vsx_xvcvsxddp_scale): New define_expand.
(vsx_xvcvsxddp): New define_insn.
(vsx_xvcvuxddp_scale): New define_expand.
(vsx_xvcvuxddp): New define_insn.
(vsx_xvcvdpsxds_scale): New define_expand.
(vsx_xvcvdpsxds): New define_insn.
(vsx_xvcvdpuxds_scale): New define_expand.
(vsx_xvcvdpuxds): New define_insn.
* doc/extend.texi (vec_ctf): Add new prototypes.
(vec_cts): Likewise.
(vec_ctu): Likewise.
(vec_splat): Likewise.
(vec_div): Likewise.
(vec_mul): Likewise.

Backport from mainline
        2014-08-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/altivec.h (vec_xl): New #define.
(vec_xst): Likewise.
* config/rs6000/rs6000-builtin.def (XXSPLTD_V2DF): New built-in.
(XXSPLTD_V2DI): Likewise.
(DIV_V2DI): Likewise.
(UDIV_V2DI): Likewise.
(MUL_V2DI): Likewise.
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
entries for VSX_BUILTIN_XVRDPI, VSX_BUILTIN_DIV_V2DI,
VSX_BUILTIN_UDIV_V2DI, VSX_BUILTIN_MUL_V2DI,
VSX_BUILTIN_XXSPLTD_V2DF, and VSX_BUILTIN_XXSPLTD_V2DI).
* config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTD): New unspec.
(UNSPEC_VSX_DIVSD): Likewise.
(UNSPEC_VSX_DIVUD): Likewise.
(UNSPEC_VSX_MULSD): Likewise.
(vsx_mul_v2di): New insn-and-split.
(vsx_div_v2di): Likewise.
(vsx_udiv_v2di): Likewise.
(vsx_xxspltd_<mode>): New insn.

Backport from mainline
        2014-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/altivec.h (vec_cpsgn): New #define.
(vec_mergee): Likewise.
(vec_mergeo): Likewise.
(vec_cntlz): Likewise.
* config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
VMRGEW, and VMRGOW.
* doc/extend.texi: Document various forms of vec_cpsgn,
vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.

Backport from mainline
        2014-07-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/altivec.md (unspec enum):  Fix typo in UNSPEC_VSLDOI.
(altivec_vsldoi_<mode>): Likewise.

[gcc/testsuite]

2014-12-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2014-09-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/builtins-1.c: Add tests for vec_ctf,
vec_cts, and vec_ctu.
* gcc.target/powerpc/builtins-2.c: Likewise.

Backport from mainline
2014-08-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/builtins-1.c: Add tests for vec_xl, vec_xst,
vec_round, vec_splat, vec_div, and vec_mul.
* gcc.target/powerpc/builtins-2.c: New test.

Backport from mainline
2014-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* testsuite/gcc.target/powerpc/builtins-1.c: New test.

From-SVN: r218613

10 years agobackport: re PR middle-end/64225 (-funsafe-math-optimizations generates call to pow...
Bill Schmidt [Wed, 10 Dec 2014 17:46:33 +0000 (17:46 +0000)] 
backport: re PR middle-end/64225 (-funsafe-math-optimizations generates call to pow where multiply instruction would do)

2014-12-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline:
2014-12-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR middle-end/64225
* tree-ssa-reassoc.c (acceptable_pow_call): Disable transformation
for BUILT_IN_POW when flag_errno_math is present.

From-SVN: r218587

10 years agore PR tree-optimization/61686 (Incorrect check in comparison function range_entry_cmp...
Marek Polacek [Wed, 10 Dec 2014 08:29:44 +0000 (08:29 +0000)] 
re PR tree-optimization/61686 (Incorrect check in comparison function range_entry_cmp() in tree_ssa_reassoc.c)

PR tree-optimization/61686
* tree-ssa-reassoc.c (range_entry_cmp): Use q->high instead of
p->high.

From-SVN: r218562

10 years agoDaily bump.
GCC Administrator [Wed, 10 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218548

10 years agobackport: re PR target/55351 (can't build libgcc for -m5-compact variant in SH64)
Oleg Endo [Tue, 9 Dec 2014 22:51:32 +0000 (22:51 +0000)] 
backport: re PR target/55351 (can't build libgcc for -m5-compact variant in SH64)

libgcc/
Backport from mainline
2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/55351
* config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
whether it's defined.

From-SVN: r218545

10 years agoxcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append alignment to section name.
David Edelsohn [Tue, 9 Dec 2014 16:38:13 +0000 (16:38 +0000)] 
xcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append alignment to section name.

        * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append
        alignment to section name. Increase default alignment to word.

From-SVN: r218523

10 years agore PR bootstrap/64213 (gimple-match.c:1523:6: error: ‘GIMPLE’ was not declared in...
Uros Bizjak [Tue, 9 Dec 2014 14:44:06 +0000 (15:44 +0100)] 
re PR bootstrap/64213 (gimple-match.c:1523:6: error: â€˜GIMPLE’ was not declared in this scope)

PR bootstrap/64213
Revert:
2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>

PR rtl-optimization/64037
* combine.c (setup_incoming_promotions): Pass the argument
before any promotions happen to promote_function_mode.

testsuite/ChangeLog:

PR bootstrap/64213
Revert:
2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>

PR rtl-optimization/64037
* g++.dg/pr64037.C: New test.

From-SVN: r218518

10 years agoDaily bump.
GCC Administrator [Tue, 9 Dec 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218498

10 years agobackport: configure.ac: Permit also ISL 0.14 with CLooG.
Richard Biener [Mon, 8 Dec 2014 11:29:43 +0000 (11:29 +0000)] 
backport: configure.ac: Permit also ISL 0.14 with CLooG.

2014-12-08  Richard Biener  <rguenther@suse.de>

Backport from 4.9 branch
2014-12-04  Tobias Burnus  <burnus@net-b.de>

* configure.ac: Permit also ISL 0.14 with CLooG.
* Makefile.def: Make more dependent on mpfr, mpc, isl, and cloog.
* Makefile.in: Regenerate.
* configure: Regenerate.

gcc/
* configure.ac
(ac_has_isl_schedule_constraints_compute_schedule):
New check.
* graphite-clast-to-gimple.c: For ISL 0.14, include deprecate headers.
* graphite-interchange.c: Ditto.
* graphite-poly.c: Ditto.
* graphite-sese-to-poly.c: Ditto.
* graphite-optimize-isl.c (getScheduleForBandList): Ditto.
Conditionally use ISL 0.13+ functions.
* config.in: Regenerate.
* configure: Regenerate.

From-SVN: r218481

10 years agoDaily bump.
GCC Administrator [Mon, 8 Dec 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218473

10 years agobackport: re PR target/50751 (SH Target: Displacement addressing does not work for...
Oleg Endo [Sun, 7 Dec 2014 23:00:30 +0000 (23:00 +0000)] 
backport: re PR target/50751 (SH Target: Displacement addressing does not work for QImode and HImode)

gcc/
Backport from mainline
2014-12-07  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/50751
* config/sh/sh.md (extendqihi2): Allow only for TARGET_SH1.

From-SVN: r218471

10 years agoDaily bump.
GCC Administrator [Sun, 7 Dec 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218458

10 years agore PR libstdc++/59603 (std::random_shuffle tries to swap element with itself)
Jonathan Wakely [Sat, 6 Dec 2014 20:38:07 +0000 (20:38 +0000)] 
re PR libstdc++/59603 (std::random_shuffle tries to swap element with itself)

PR libstdc++/59603
* include/bits/stl_algo.h (random_shuffle): Prevent self-swapping.
* testsuite/25_algorithms/random_shuffle/59603.cc: New.

From-SVN: r218454

10 years agore PR libstdc++/61947 (Ambiguous calls when constructing std::tuple)
Jonathan Wakely [Sat, 6 Dec 2014 20:38:01 +0000 (20:38 +0000)] 
re PR libstdc++/61947 (Ambiguous calls when constructing std::tuple)

PR libstdc++/61947
* include/std/tuple (_Head_base): Use allocator_arg_t parameters to
disambiguate unary constructors.
(_Tuple_impl): Pass allocator_arg_t arguments.
* testsuite/20_util/tuple/61947.cc: New.
* testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error line.

From-SVN: r218453

10 years agore PR libstdc++/63840 (std::function copy constructor deletes an uninitialized pointe...
Jonathan Wakely [Sat, 6 Dec 2014 20:37:54 +0000 (20:37 +0000)] 
re PR libstdc++/63840 (std::function copy constructor deletes an uninitialized pointer if new fails)

PR libstdc++/63840
* include/std/functional (function::function(const function&)): Set
_M_manager after operations that might throw.
* include/tr1/functional (function::function(const function&),
function::function(_Functor, _Useless)): Likewise.
* testsuite/20_util/function/63840.cc: New.
* testsuite/tr1/3_function_objects/function/63840.cc: New.

From-SVN: r218452

10 years agoDaily bump.
GCC Administrator [Sat, 6 Dec 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218441

10 years agoconfigure.tgt (x86_64): Tune -m32 multilib to generic.
Uros Bizjak [Fri, 5 Dec 2014 12:23:22 +0000 (13:23 +0100)] 
configure.tgt (x86_64): Tune -m32 multilib to generic.

libitm/ChangeLog:

* configure.tgt (x86_64): Tune -m32 multilib to generic.

libgomp/ChangeLog:

* configure.tgt (x86_64-*-linux*): Tune -m32 multilib to generic.

From-SVN: r218421

10 years agoPass unpromoted argument to promote_function_mode
H.J. Lu [Fri, 5 Dec 2014 12:02:33 +0000 (12:02 +0000)] 
Pass unpromoted argument to promote_function_mode

This patch updates setup_incoming_promotions in combine.c to match what
is actually passed in assign_parm_setup_reg in function.c.

gcc/

Backport from mainline
PR rtl-optimization/64037
* combine.c (setup_incoming_promotions): Pass the argument
before any promotions happen to promote_function_mode.

gcc/testsuite/

Backport from mainline
PR rtl-optimization/64037
* g++.dg/pr64037.C: New test.

From-SVN: r218420

10 years agoDaily bump.
GCC Administrator [Fri, 5 Dec 2014 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218411

10 years agobackport: re PR target/59593 ([arm big-endian] using "ldrh" access a immediate ...
Shanyao Chen [Thu, 4 Dec 2014 15:15:57 +0000 (15:15 +0000)] 
backport: re PR target/59593 ([arm big-endian] using "ldrh" access a  immediate  which stored in a memory by word)

       Backport from mainline
       2014-11-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       PR target/59593
       * config/arm/arm.md (*movhi_insn): Use right formatting
       for immediate.

       2014-11-19  Felix Yang  <felix.yang@huawei.com>
                   Shanyao Chen  <chenshanyao@huawei.com>

       PR target/59593
       * config/arm/arm.md (define_attr "arch"): Add v6t2.
       (define_attr "arch_enabled"): Add test for the above.
       (*movhi_insn_arch4): Add new alternative.

From-SVN: r218376

10 years agore PR c++/56493 (Performance regression in google dense hashmap)
Jakub Jelinek [Thu, 4 Dec 2014 09:48:54 +0000 (10:48 +0100)] 
re PR c++/56493 (Performance regression in google dense hashmap)

PR c++/56493
* convert.c (convert_to_real, convert_to_expr, convert_to_complex):
Handle COMPOUND_EXPR.

* c-c++-common/pr56493.c: New test.

From-SVN: r218347

10 years agoDaily bump.
GCC Administrator [Thu, 4 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218336

10 years agoDaily bump.
GCC Administrator [Wed, 3 Dec 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218297

10 years agore PR target/64115 (ICE: : in rs6000_delegitimize_address, at config/rs6000/rs6000...
Ulrich Weigand [Tue, 2 Dec 2014 14:33:00 +0000 (14:33 +0000)] 
re PR target/64115 (ICE: : in rs6000_delegitimize_address, at config/rs6000/rs6000.c:7051)

PR target/64115
* config/rs6000/rs6000.c (rs6000_delegitimize_address): Remove
invalid UNSPEC_TOCREL sanity check under ENABLE_CHECKING.

From-SVN: r218275

10 years agoDaily bump.
GCC Administrator [Tue, 2 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218252

10 years agore PR middle-end/64111 (ICE: conversion of register to a different size)
Richard Biener [Mon, 1 Dec 2014 13:48:21 +0000 (13:48 +0000)] 
re PR middle-end/64111 (ICE: conversion of register to a different size)

2014-12-01  Richard Biener  <rguenther@suse.de>

PR middle-end/64111
* tree.c (int_cst_hash_hash): Use TYPE_UID instead of
htab_hash_pointer to not break PCH.

From-SVN: r218214

10 years agoDaily bump.
GCC Administrator [Mon, 1 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218195

10 years agoDaily bump.
GCC Administrator [Sun, 30 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218185

10 years agoDaily bump.
GCC Administrator [Sat, 29 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218176

10 years agobackport: re PR middle-end/64067 (ICE in expand_expr_real_1, at expr.c:10540, involvi...
Jakub Jelinek [Fri, 28 Nov 2014 17:06:23 +0000 (18:06 +0100)] 
backport: re PR middle-end/64067 (ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans)

Backported from mainline
2014-11-27  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/64067
* expr.c (expand_expr_addr_expr_1) <case COMPOUND_LITERAL_EXPR>:
Handle it by returning address of COMPOUND_LITERAL_EXPR_DECL
not only if modifier is EXPAND_INITIALIZER, but whenever
COMPOUND_LITERAL_EXPR_DECL is non-NULL and TREE_STATIC.

* gcc.c-torture/compile/pr64067.c: New test.

From-SVN: r218169

10 years agobackport: re PR preprocessor/60436 (C preprocessor segfaults on assembly file)
Jakub Jelinek [Fri, 28 Nov 2014 17:05:34 +0000 (18:05 +0100)] 
backport: re PR preprocessor/60436 (C preprocessor segfaults on assembly file)

Backported from mainline
2014-11-25  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/60436
* line-map.c (linemap_line_start): If highest is above 0x60000000
and we are still tracking columns or highest is above 0x70000000,
force add_map.

From-SVN: r218168

10 years agobackport: re PR fortran/63938 (OpenMP atomic update does not protect access to automa...
Jakub Jelinek [Fri, 28 Nov 2014 17:04:51 +0000 (18:04 +0100)] 
backport: re PR fortran/63938 (OpenMP atomic update does not protect access to automatic array)

Backported from mainline
2014-11-24  Jakub Jelinek  <jakub@redhat.com>

PR fortran/63938
* trans-openmp.c (gfc_trans_omp_atomic): Make sure lhsaddr is
simple enough for goa_lhs_expr_p.

* libgomp.fortran/pr63938-1.f90: New test.
* libgomp.fortran/pr63938-2.f90: New test.

From-SVN: r218167

10 years agobackport: re PR rtl-optimization/63659 (wrong code at -O2 and -O3 on x86_64-linux...
Jakub Jelinek [Fri, 28 Nov 2014 17:03:55 +0000 (18:03 +0100)] 
backport: re PR rtl-optimization/63659 (wrong code at -O2 and -O3 on x86_64-linux-gnu)

Backported from mainline
2014-10-31  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/63659
* ree.c (update_reg_equal_equiv_notes): New function.
(combine_set_extension, transform_ifelse): Use it.

* gcc.c-torture/execute/pr63659.c: New test.

From-SVN: r218166

10 years agobackport: re PR libgomp/61200 (internal compiler error: Segmentation fault, assert...
Jakub Jelinek [Fri, 28 Nov 2014 17:03:01 +0000 (18:03 +0100)] 
backport: re PR libgomp/61200 (internal compiler error: Segmentation fault, assert & openmp)

Backported from mainline
2014-10-03  Jakub Jelinek  <jakub@redhat.com>

PR libgomp/61200
* omp-low.c (taskreg_contexts): New variable.
(scan_omp_parallel): Push newly created context into taskreg_contexts
vector and move record layout code to finish_taskreg_scan.
(scan_omp_task): Likewise.
(finish_taskreg_scan): New function.
(execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
vector elements and release it.

* c-c++-common/gomp/pr61200.c: New test.

* testsuite/libgomp.c/pr61200.c: New test.

From-SVN: r218165

10 years agoDaily bump.
GCC Administrator [Fri, 28 Nov 2014 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218135

10 years agobackport: re PR libgcc/56846 (_Unwind_Backtrace on ARM and noexcept)
Thomas Preud'homme [Thu, 27 Nov 2014 14:10:10 +0000 (14:10 +0000)] 
backport: re PR libgcc/56846 (_Unwind_Backtrace on ARM and noexcept)

2014-11-27  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    Backport from mainline
    2014-09-10  Tony Wang  <tony.wang@arm.com>

    PR target/56846
    * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
    Return with CONTINUE_UNWINDING when the state pattern
    contains: _US_VIRTUAL_UNWIND_FRAME | _US_FORCE_UNWIND

From-SVN: r218127

10 years agoDaily bump.
GCC Administrator [Thu, 27 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218106

10 years agoBackport PRs 61969, 62031, 63379, 63605, 63665
Richard Biener [Wed, 26 Nov 2014 13:15:16 +0000 (13:15 +0000)] 
Backport PRs 61969, 62031, 63379, 63605, 63665

2014-11-26  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-10-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/61969
* tree-nrv.c (pass_nrv::execute): Properly test for automatic
variables.

2014-08-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/62031
* tree-data-ref.c (dr_analyze_indices): Do not set
DR_UNCONSTRAINED_BASE.
(dr_may_alias_p): All indirect accesses have to go the
formerly DR_UNCONSTRAINED_BASE path.
* tree-data-ref.h (struct indices): Remove
unconstrained_base member.
(DR_UNCONSTRAINED_BASE): Remove.

* gcc.dg/torture/pr62031.c: New testcase.

2014-10-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/63379
* tree-vect-slp.c (vect_get_constant_vectors): Do not compute
a neutral operand for min/max when it is not a reduction chain.

* gcc.dg/vect/pr63379.c: New testcase.

2014-11-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/63605
* fold-const.c (fold_binary_loc): Properly use element_precision
for types that may not be scalar.

* gcc.dg/vect/pr63605.c: New testcase.

2014-10-28  Richard Biener  <rguenther@suse.de>

PR middle-end/63665
* fold-const.c (fold_comparison): Properly guard simplifying
against INT_MAX/INT_MIN with !TYPE_OVERFLOW_WRAPS.

* gcc.dg/pr63665.c: New testcase.

From-SVN: r218079

10 years agoDaily bump.
GCC Administrator [Wed, 26 Nov 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218069

10 years agoDaily bump.
GCC Administrator [Tue, 25 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218034

10 years agoDaily bump.
GCC Administrator [Mon, 24 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217993

10 years agoDaily bump.
GCC Administrator [Sun, 23 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217976

10 years agobackport: re PR target/47500 (-G0 option not recognized by gnat1)
Eric Botcazou [Sat, 22 Nov 2014 11:29:27 +0000 (11:29 +0000)] 
backport: re PR target/47500 (-G0 option not recognized by gnat1)

Backport from mainline
2014-11-20  Vincent Celier  <celier@adacore.com>

PR ada/47500
* back_end.adb (Scan_Back_End_Switches): Skip switch -G and
its argument.

From-SVN: r217963

10 years agobackport: re PR target/60111 ([SH] ICE compiling Newlib)
Oleg Endo [Sat, 22 Nov 2014 04:52:46 +0000 (04:52 +0000)] 
backport: re PR target/60111 ([SH] ICE compiling Newlib)

gcc/
Backport from mainline
2014-11-20  Segher Boessenkool  <segher@kernel.crashing.org>

PR target/60111
* config/sh/sh.c: Use signed char for signed field.

From-SVN: r217959

10 years agoDaily bump.
GCC Administrator [Sat, 22 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217953

10 years agore PR target/63673 (VSX intrinsic vec_vsx_ld fails to compile with double, maps to...
Bill Schmidt [Fri, 21 Nov 2014 15:39:20 +0000 (15:39 +0000)] 
re PR target/63673 (VSX intrinsic vec_vsx_ld fails to compile with double, maps to wrong instructions with float)

2014-11-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/63673
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Allow
the base pointer of vec_vsx_ld and vec_vsx_st to take a pointer to
double.

From-SVN: r217931

10 years agoDaily bump.
GCC Administrator [Fri, 21 Nov 2014 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217896

10 years agoDaily bump.
GCC Administrator [Thu, 20 Nov 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217820