This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: parse bug in 4.0.0?


Paul Koning <pkoning@equallogic.com> writes:

| This test program:
| 
| struct bar;
| 
| template <class T> struct bar *foo (T *p)
| {
|     return p->t;
| }
| 
| produces an error in 4.0.0:

yes, a parser bug.
good candidate for bugzilla PR.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]