http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
--- Comment #8 from Paolo Carlini 2012-10-26
23:38:33 UTC ---
I think that at some point I had the same trick in my local tree too, then I
don't remember sending it to the mailing list, not even as a RFC. I think you
should, CC Jason, and
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
--- Comment #7 from Markus Trippelsdorf
2012-10-26 16:48:46 UTC ---
What about the following naïve patch?
At least it fixes the problem and causes no new test suite regressions.
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 8d555c2..0f1a75d
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
--- Comment #6 from Markus Trippelsdorf
2012-10-26 14:07:11 UTC ---
(In reply to comment #5)
> probably bug 54403
Yes. Valgrind backtrace is the same.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
--- Comment #5 from Jonathan Wakely 2012-10-26
14:00:45 UTC ---
probably bug 54403
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
--- Comment #4 from Markus Trippelsdorf
2012-10-26 13:41:36 UTC ---
Valgrind says:
markus@x4 tmp % /var/tmp/gcc_valgrind/usr/local/bin/g++ -std=c++11 -c test.ii
==10632== Invalid read of size 2
==10632==at 0x668622: lvalue_kind(tree
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
Paolo Carlini changed:
What|Removed |Added
Status|WAITING |NEW
CC|paolo.car
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
Markus Trippelsdorf changed:
What|Removed |Added
CC||markus at trippelsdorf dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55076
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|