http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
Richard Guenther changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
--- Comment #7 from Richard Guenther 2012-02-22
11:21:53 UTC ---
Author: rguenth
Date: Wed Feb 22 11:21:48 2012
New Revision: 184466
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184466
Log:
2012-02-22 Richard Guenther
PR middle-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
Richard Guenther changed:
What|Removed |Added
Status|NEW |ASSIGNED
AssignedTo|unassigned
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
--- Comment #5 from Richard Guenther 2012-02-22
09:57:22 UTC ---
I'm not sure we care about preserving pointer types in debug stmts, nor if
the mem-ref stripping is needed (well, build_fold_addr_expr does that, too).
Index: gcc/gimple-fold.c
===
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
--- Comment #3 from Jakub Jelinek 2012-02-21
18:41:01 UTC ---
Richard, so what exactly is not kosher?
We have:
# DEBUG D#7 => &s.c.D.2422
...
MEM[(struct J *)&s].D.2422._vptr.G = &MEM[(void *)&_ZTV1JI1BIwES0_IS1_E1AIS1_EE
+ 16B];
in the optimized
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
--- Comment #2 from Jakub Jelinek 2012-02-21
18:24:37 UTC ---
Slightly more reduced testcase for -O2 -g:
template
class A;
template
struct B;
template , typename = A >
class C;
template
class A {};
template
struct D
{
struct E
{
T *e
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52329
--- Comment #1 from Martin Jambor 2012-02-21
17:51:10 UTC ---
Created attachment 26717
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26717
Delta reduced testcase
This as far as I managed to reduce the testcase with multidelta.