http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC||jason at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
--- Comment #4 from Dmitry Gorbachev d.g.gorbachev at gmail dot com
2012-01-16 16:54:43 UTC ---
Thus I don't see where is the issue.
The issue is a rather confusing error message. It looks as if there was a
compiler bug.
shall we close this?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
--- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com 2012-01-16
17:05:03 UTC ---
What's confusing about it, I don't understand. Doesn't '-fabi-version=6' fix it
for you?!? And, by the way, *closing* doesn't mean disintegrating it,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
--- Comment #6 from Jason Merrill jason at gcc dot gnu.org 2012-01-16
18:12:10 UTC ---
This should work without -fabi-version=6.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
--- Comment #7 from Dmitry Gorbachev d.g.gorbachev at gmail dot com
2012-01-16 18:28:20 UTC ---
(In reply to comment #5)
What's confusing about it, I don't understand.
There are two errors and notes, all pointing to the same source location --
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
--- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2012-01-12
09:23:03 UTC ---
I can't reproduce this.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51827
--- Comment #2 from Dmitry Gorbachev d.g.gorbachev at gmail dot com
2012-01-12 10:53:44 UTC ---
I already mentioned PCH and .H extension, but just to be 100% clear, the
error happens only when compiling the testcase as a c++ header.
Reproduced