Fix noexcept merging with system headers.
commite01638810895e7cd85de40d83b09b68e6d92f154
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2018 17:41:06 +0000 (3 17:41 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2018 17:41:06 +0000 (3 17:41 +0000)
tree7b0657845dab376aef31f53dd521a51bfb06a5a6
parent537929461daf7e42b067398886e7f70f0e9d0c3c
Fix noexcept merging with system headers.

* typeck.c (merge_types): Limit matching attribute shortcut to
the default case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259042 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/cpp1z/noexcept-type19.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/noexcept-type19.h [new file with mode: 0644]