[Bug libstdc++/39407] Parse error in when user declares template-name c

2009-03-09 Thread jwakely dot gcc at gmail dot com
--- Comment #6 from jwakely dot gcc at gmail dot com 2009-03-09 15:20 --- (In reply to comment #5) > Well, the as-if rule allows (x.c < ((y.c)) too of course. bah - it would allow it if I could type the right number of closing parentheses! -- http://gcc.gnu.org/bugzilla/sh

[Bug libstdc++/39407] Parse error in when user declares template-name c

2009-03-09 Thread jwakely dot gcc at gmail dot com
--- Comment #5 from jwakely dot gcc at gmail dot com 2009-03-09 15:19 --- Well, the as-if rule allows (x.c < ((y.c)) too of course. I could be wrong and the compiler should parse it ok, I haven't thought about it very hard. The same problem occurs here, although it's only in a

[Bug libstdc++/39407] Parse error in when user declares template-name c

2009-03-09 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-03-09 15:08 --- Before considering touching the library, I want evidence that at least another widespread implementation has that operator< somehow different than the obvious way. Besides, the issue affects too, of course, an

[Bug libstdc++/39407] Parse error in when user declares template-name c

2009-03-09 Thread jwakely dot gcc at gmail dot com
--- Comment #3 from jwakely dot gcc at gmail dot com 2009-03-09 14:25 --- (In reply to comment #2) > FWIW, if I use v3 together with the Intel C++ compiler, it builds... > That's interesting, Comeau's online compiler gives a very similar error to gcc 4.3.2 -- http://gcc.gnu.org/b

[Bug libstdc++/39407] Parse error in when user declares template-name c

2009-03-09 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-03-09 14:02 --- FWIW, if I use v3 together with the Intel C++ compiler, it builds... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39407

[Bug libstdc++/39407] Parse error in when user declares template-name c

2009-03-09 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-03-09 14:00 --- disgusting ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39407