This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- 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: Mon, 14 Mar 2011 10:58:30 +0000
- Subject: [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- Auto-submitted: auto-generated
- References: <bug-48098-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-14 10:58:06 UTC ---
Hm, we also want the elements to be trivially convertible to the vector
element type. So we really want to assert types_compatible_p.
I can't see any real problems with the restrict case in question, apart from
maybe ICEing in a different place. Any "fix" at this point seems to be
more risky than just disabling the assert.