re PR c++/50454 (Unexpected problems with -pedantic / -pedantic-errors and __int128...
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 21 Sep 2011 09:56:45 +0000 (09:56 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 21 Sep 2011 09:56:45 +0000 (09:56 +0000)
commit086f3b9a02480f45948179e785d0b0922238337c
tree33e0dd9d1eebff7baf5fec4766fb53bd48ccc9c4
parente3e285857d96da68abc12b8e6ff6a585ed3b8b5c
re PR c++/50454 (Unexpected problems with -pedantic / -pedantic-errors and __int128 and unsigned __int128 specializations)

/cp
2011-09-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50454
* decl.c (grokdeclarator): Consistently handle both __int128
and unsigned __int128 with -pedantic; suppress diagnostic in
system headers.

/testsuite
2011-09-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50454
* g++.dg/ext/int128-1.C: New.
* g++.dg/ext/int128-2.C: Likewise.
* g++.dg/ext/int128-2.h: Likewise.

From-SVN: r179042
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/int128-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/int128-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/int128-2.h [new file with mode: 0644]