------- Comment #3 from janis at gcc dot gnu dot org 2006-05-22 18:40 -------
I get errors for both the submitter's testcase and the testcase in comment #1.
With the comment #1 testcase on powerpc-linux:
elm3b11% /opt/gcc-nightly/3.4/bin/g++ -c 27648.cc
27648.cc: In function `int main(int, char**)':
27648.cc:4: error: expected `>' before "__attribute__"
27648.cc:4: error: expected `(' before "__attribute__"
27648.cc:4: error: expected primary-expression before "__attribute__"
27648.cc:4: error: expected `)' before "__attribute__"
27648.cc:4: error: expected `;' before "__attribute__"
elm3b11% /home/janis/tools/gcc-3.3.5-ppc32/bin/g++ -c 27648.cc
27648.cc: In function `int main(int, char**)':
27648.cc:4: error: invalid type modifier within pointer declarator
elm3b11% /home/janis/tools/gcc-3.2.3-ppc32/bin/g++ -c 27648.cc
27648.cc: In function `int main(int, char**)':
27648.cc:4: invalid type modifier within pointer declarator
Is the testcase valid code? I can do a regression hunt for when the compiler
started getting the ICE instead of errors, but is that helpful?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27648