--- Comment #6 from rguenth at gcc dot gnu dot org 2008-06-27 18:54 ---
Subject: Bug 36373
Author: rguenth
Date: Fri Jun 27 18:53:43 2008
New Revision: 137197
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137197
Log:
2008-06-27 Richard Guenther [EMAIL PROTECTED]
PR
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-06-27 21:55 ---
Subject: Bug 36373
Author: rguenth
Date: Fri Jun 27 21:54:42 2008
New Revision: 137204
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137204
Log:
2008-06-27 Richard Guenther [EMAIL PROTECTED]
PR
--- Comment #5 from cnstar9988 at gmail dot com 2008-06-26 06:51 ---
ping...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36373
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36373
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-05-30 10:58 ---
Umm. It's worse.
With -O2 -fno-tree-sra:
extern void abort (void);
struct Foo {
int *p;
} x;
struct Foo __attribute__((noinline))
bar(int *p)
{
struct Foo f;
f.p = p;
return f;
}
void
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-05-29 15:07 ---
Mine.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-05-29 15:23 ---
First we miss the constraint
f = ANYTHING
from
f = bar (b);
but then we also do not handle at all the case of escaping pointers through
by-value passed structures
foo (f);
and thus we end up not
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-05-29 15:44 ---
I have a patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36373