--- Comment #9 from carrot at google dot com 2009-10-23 09:15 ---
(In reply to comment #5)
> This is fixed on trunk by revision 149082:
>
> http://gcc.gnu.org/ml/gcc-cvs/2009-06/msg01067.html
>
The patch 149082 contains two parts: 1. fixed a wrong optimization in
tree-ssa-sink.c, it a
--- Comment #8 from hjl dot tools at gmail dot com 2009-10-23 04:49 ---
(In reply to comment #7)
> > This patch works for me.
>
> Does it work for testcase from #1 as well?
>
> I was bisecting trunk to find where this is fixed, it seems to be somewhere
> between r151400 (20090904) and
--- Comment #7 from zsojka at seznam dot cz 2009-10-22 23:07 ---
> This patch works for me.
Does it work for testcase from #1 as well?
I was bisecting trunk to find where this is fixed, it seems to be somewhere
between r151400 (20090904) and r151500 (20090908).
However, I was testing
--- Comment #6 from hjl dot tools at gmail dot com 2009-10-22 22:48 ---
Created an attachment (id=18874)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18874&action=view)
A patch backported from trunk
This patch works for me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4176
--- Comment #5 from hjl dot tools at gmail dot com 2009-10-22 21:55 ---
This is fixed on trunk by revision 149082:
http://gcc.gnu.org/ml/gcc-cvs/2009-06/msg01067.html
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
-
--- Comment #4 from jakub at gcc dot gnu dot org 2009-10-22 15:27 ---
Slightly more reduced testcase:
extern __SIZE_TYPE__ strlen (const char *);
extern int f1 (void *);
extern char *f2 (void);
extern void f3 (int, int);
static char *a;
char *b, *c, *d, *e;
void
foo (void)
{
int f, g,
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-22 09:39 ---
Confirmed the 4.4 ICE. -O2 -ftracer -fsched2-use-superblocks -fpic -m32.
Cannot reproduce on 4.5.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #2 from zsojka at seznam dot cz 2009-10-20 10:12 ---
Created an attachment (id=18834)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18834&action=view)
reduced testcase (by delta), only 4.4 crashes
gcc-4.5.0-alpha20090903 doesn't crash with this testcase
--
http://
--- Comment #1 from zsojka at seznam dot cz 2009-10-20 10:11 ---
Created an attachment (id=18833)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18833&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41762