On 20/04/17 17:43 +0100, Jonathan Wakely wrote:
On 20/04/17 17:33 +0200, Marek Polacek wrote:
On Thu, Apr 20, 2017 at 05:22:00PM +0200, Jakub Jelinek wrote:
On Thu, Apr 20, 2017 at 04:09:20PM +0100, Jonathan Wakely wrote:
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -3128,11 +3128,14 @@ build_ne
On 20/04/17 17:33 +0200, Marek Polacek wrote:
On Thu, Apr 20, 2017 at 05:22:00PM +0200, Jakub Jelinek wrote:
On Thu, Apr 20, 2017 at 04:09:20PM +0100, Jonathan Wakely wrote:
> --- a/gcc/cp/init.c
> +++ b/gcc/cp/init.c
> @@ -3128,11 +3128,14 @@ build_new_1 (vec **placement, tree type,
tree nelts
On Thu, Apr 20, 2017 at 05:22:00PM +0200, Jakub Jelinek wrote:
> On Thu, Apr 20, 2017 at 04:09:20PM +0100, Jonathan Wakely wrote:
> > --- a/gcc/cp/init.c
> > +++ b/gcc/cp/init.c
> > @@ -3128,11 +3128,14 @@ build_new_1 (vec **placement, tree
> > type, tree nelts,
> > {
> >warning (OPT_
On 20/04/17 17:22 +0200, Jakub Jelinek wrote:
On Thu, Apr 20, 2017 at 04:09:20PM +0100, Jonathan Wakely wrote:
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -3128,11 +3128,14 @@ build_new_1 (vec **placement, tree type,
tree nelts,
{
warning (OPT_Waligned_new_, "% of type %qT with exten
On Thu, Apr 20, 2017 at 04:09:20PM +0100, Jonathan Wakely wrote:
> --- a/gcc/cp/init.c
> +++ b/gcc/cp/init.c
> @@ -3128,11 +3128,14 @@ build_new_1 (vec **placement, tree type,
> tree nelts,
> {
>warning (OPT_Waligned_new_, "% of type %qT with extended "
> "alignment %d",
This suppresses the notes about over-aligned new when the
corresponding warning is suppressed, either by -w or because it's in a
system header (as in PR 80390, which I originally tried to fix in the
library).
OK for trunk? And gcc-7-branch after 7.1 is released?
Is this the right place for the n