Three C++ PATCHes to fix testsuite regressions with cxx_dialect defaulting to cxx11

2015-05-05 Thread Jason Merrill
These patches fix several issues I found by switching the C++ dialect default to C++11. The first patch fixes obj-c++.dg/encode-10.mm: When build_non_dependent_expr tries to get a constant value for a non-dependent expression, we need to know that AT_ENCODE_EXPR can't be a constant expression

C++ PATCH to add -Wterminate

2015-05-05 Thread Jason Merrill
C++11 changed destructors to be noexcept by default; as a result, code with throwing destructors that works in C++98 immediately calls terminate in C++11. When testing changing the default for cxx_dialect to C++11 I noticed that this was causing one of the tests to fail, and decided to add a w

Re: [PATCH] Expand PIC calls without PLT with -fno-plt

2015-05-05 Thread Rich Felker
On Mon, May 04, 2015 at 11:42:20AM -0600, Jeff Law wrote: > On 05/04/2015 11:39 AM, Jakub Jelinek wrote: > >On Mon, May 04, 2015 at 11:34:05AM -0600, Jeff Law wrote: > >>On 05/04/2015 10:37 AM, Alexander Monakov wrote: > >>>This patch introduces option -fno-plt that allows to expand calls that > >

Re: [PATCH 5/8] always define HAVE_simple_return and HAVE_return

2015-05-05 Thread Trevor Saunders
On Tue, May 05, 2015 at 06:12:50PM -0700, Mike Stump wrote: > On Apr 26, 2015, at 10:55 PM, tbsaunde+...@tbsaunde.org wrote: > > From: Trevor Saunders > > > > gcc/ChangeLog: > > > > 2015-04-27 Trevor Saunders > > > > * bb-reorder.c (HAVE_return): Don't check if its undefined. > > * d

[PATCH] Fix gcc.dg/vect/bb-slp-14.c testcase

2015-05-05 Thread Richard Biener
Which requires int mult for vectorization. Committed. Richard. 2015-05-06 Richard Biener PR tree-optimization/62283 * gcc.dg/vect/bb-slp-14.c: Adjust. Index: gcc/testsuite/gcc.dg/vect/bb-slp-14.c === --- gcc/te

<    1   2