This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48165] [4.6/4.7 Regression] gcc-4.6: internal compiler error: in build2_stat
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Mar 2011 11:46:31 +0000
- Subject: [Bug tree-optimization/48165] [4.6/4.7 Regression] gcc-4.6: internal compiler error: in build2_stat
- Auto-submitted: auto-generated
- References: <bug-48165-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48165
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011.03.17 11:46:28
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
Target Milestone|--- |4.6.0
Summary|gcc-4.6: internal compiler |[4.6/4.7 Regression]
|error: in build2_stat |gcc-4.6: internal compiler
| |error: in build2_stat
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-17 11:46:28 UTC ---
Confirmed. We build x + 4 and 4 is of pointer type from
#7 0x0000000000d03722 in compute_object_offset (expr=0x7ffff5b9ddc8,
var=0x7ffff5ba20a0)
at /space/rguenther/src/svn/trunk/gcc/tree-object-size.c:152
152 return size_binop (code, base, off);
pointer base 4, offset (sizetype)x * 4 but with code == PLUS_EXPR. I suppose
base shouldn't be pointer type here.
Mine.