[Bug middle-end/38385] ICE with -O2 -ftree-loop-distribution

2008-12-03 Thread tomby at gcc dot gnu dot org
--- Comment #1 from tomby at gcc dot gnu dot org 2008-12-03 16:35 --- Created an attachment (id=16816) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16816action=view) ICE with -O2 -ftree-loop-distribution -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38385

[Bug middle-end/38385] ICE with -O2 -ftree-loop-distribution

2008-12-03 Thread tomby at gcc dot gnu dot org
--- Comment #3 from tomby at gcc dot gnu dot org 2008-12-03 16:41 --- Created an attachment (id=16817) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16817action=view) This patch fixes the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38385

[Bug middle-end/38385] ICE with -O2 -ftree-loop-distribution

2008-12-03 Thread tomby at gcc dot gnu dot org
--- Comment #2 from tomby at gcc dot gnu dot org 2008-12-03 16:40 --- It seems that after removing bbs in generate_builtin (tree-loop-distribution.c) some phis has bad incoming edges. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38385

[Bug middle-end/38385] ICE with -O2 -ftree-loop-distribution

2008-12-03 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2008-12-03 22:20 --- Subject: Re: ICE with -O2 -ftree-loop-distribution The patch looks good. Please fix formatting of the braces on the for stmt, and also add a more detailed description for the function fix_phis, saying what the