[Bug c++/31724] [4.3 Regression] More "same canonical type node" fun
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 29 15:55:00 GMT 2007
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-04-29 16:55 -------
A reduced testcase not from the attached testcase but from understanding where
the array type is being created:
struct ac {ac();};
ac spline_rep1(void)
{
typedef ac at[2];
ac * b = new ac[2];
at *a = (at*)b;
return (*a)[0];
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-29 16:55:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31724
More information about the Gcc-bugs
mailing list