--- Comment #7 from rguenth at gcc dot gnu dot org 2009-10-23 13:16 ---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-23 12:01 ---
Subject: Bug 41805
Author: rguenth
Date: Fri Oct 23 12:01:21 2009
New Revision: 153495
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153495
Log:
2009-10-23 Richard Guenther
PR middle-end/41805
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-23 10:20 ---
Non-LTO testcase:
void __attribute__((noinline))
foo (void)
{
while (1)
;
}
int main()
{
foo ();
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41805
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-23 10:17 ---
I have a patch.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-23 10:04 ---
It is RTL expansion that drops the calls to func_2 () from main.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-10-23 02:56 ---
Sounds like pure/const pass is messing up.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--