This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/43236] -ftree-loop-distribution produces wrong code in reload1.c:delete_output_reload(), bootstrap fails
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2010 20:20:48 -0000
- Subject: [Bug tree-optimization/43236] -ftree-loop-distribution produces wrong code in reload1.c:delete_output_reload(), bootstrap fails
- References: <bug-43236-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from zsojka at seznam dot cz 2010-03-02 20:20 -------
Created an attachment (id=20005)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20005&action=view)
this patch causes bootstrap with BOOT_CFLAGS="-O2 -ftree-loop-distribution" to
assert
Assert message is:
/mnt/svn/gcc-trunk/libgcc/../gcc/libgcc2.c: In function
‘__mulvdi3’:
/mnt/svn/gcc-trunk/libgcc/../gcc/libgcc2.c:400:1: internal compiler error: in
delete_output_reload, at reload1.c:8543
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
which is:
gcc_assert(spill_reg_store[last_reload_reg + k] == 0);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43236