https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80473

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Apr 20 18:36:27 2017
New Revision: 247035

URL: https://gcc.gnu.org/viewcvs?rev=247035&root=gcc&view=rev
Log:
PR c++/80473 allow suppressing notes about over-aligned new

Backport from mainline r247033
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.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/diagnostic/pr80473.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/init.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to