http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46890

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |froydnj at codesourcery dot
                   |                            |com
   Target Milestone|---                         |4.6.0

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-17 05:55:32 
UTC ---
A simple testcase:

[...@gnu-35 rrs]$ cat pr46890.cc 
struct MdatResource {
const char *mdatAlloc;
} const *_resource;
[...@gnu-35 rrs]$ ./166977/usr/bin/gcc -S pr46890.cc
pr46890.cc:3:1: error: expected \u2018;\u2019 after struct definition
pr46890.cc:3:10: error: ISO C++ forbids declaration of \u2018_resource\u2019
with no type [-fpermissive]
[...@gnu-35 rrs]$ 

It is caused by revision 166977:

http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00866.html

Reply via email to