--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-02 07:31 ---
Hmm, the sizeof expression causes use to create the expression:
(cast)NON_LVALUE_EXPRSAVE_EXPR(cast)(w)*4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29226
--- You are receiving this mail because:
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29226
--- You
--
dvdkhlng at gmx dot de changed:
What|Removed |Added
CC||dvdkhlng at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29226
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-09-26 07:05 ---
Reduced testcase:
template bool
static int label (int w)
{
sizeof(int[w]);
}
int a = labelfalse(1);
So I was correct :)
--
pinskia at gcc dot gnu dot org changed:
What|Removed
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Attachment #12328|application/octet-stream|text/plain
mime type||
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
CC||rguenth at gcc dot gnu dot
|
--
fang at csl dot cornell dot edu changed:
What|Removed |Added
CC||fang at csl dot cornell dot
|
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-09-26 17:47 ---
When I get home, I might have a look at this, most likely pt.c needs to be
extended.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29226
--- You are receiving this mail because: ---
You reported the
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-25 22:32 ---
Confirmed.
sizeof (int [w]));
is causing it.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
11 matches
Mail list logo