PR c++/80473 allow suppressing notes about over-aligned new
authorJonathan Wakely <jwakely@redhat.com>
Thu, 20 Apr 2017 18:02:05 +0000 (19:02 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 20 Apr 2017 18:02:05 +0000 (19:02 +0100)
commit34d57a10c49908f4f7cec83790d56fb3d51f3ccc
tree8c4cdf8a858e2c294dc570a7077391e44a7aefa4
parent2260d19d4be6218c0dfffe6f87fc7665a09d5ba5
PR c++/80473 allow suppressing notes about over-aligned new

gcc/cp:

PR c++/80473
* init.c (build_new_1): Suppress notes about over-aligned new when
the warning is suppressed.

gcc/testsuite:

PR c++/80473
* g++.dg/diagnostic/pr80473.C: New test.

From-SVN: r247033
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/diagnostic/pr80473.C [new file with mode: 0644]