Obviously the input is malformed, but probably still should not ICE. reg...@john-home:~/volatile/tmp208$ current-g++ -O small.cpp small.cpp:2:27: internal compiler error: vector VEC(visibility,base) pop domain error, in pop_visibility at c-pragma.c:757 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
reg...@john-home:~/volatile/tmp208$ current-g++ -v Using built-in specs. COLLECT_GCC=current-g++ COLLECT_LTO_WRAPPER=/home/regehr/z/tmp/gcc-r153044-install/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../configure --enable-lto --prefix=/home/regehr/z/tmp/gcc-r153044-install --program-prefix=r153044- --enable-languages=c,c++ Thread model: posix gcc version 4.5.0 20091020 (experimental) (GCC) reg...@john-home:~/volatile/tmp208$ cat small.cpp namespace std __attribute__ ((__visibility__ ("default"))) { #pragma GCC visibility pop -- Summary: ice: vector VEC(visibility,base) pop domain error, in pop_visibility at c-pragma.c:757 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: regehr at cs dot utah dot edu GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41774