This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36204] [4.4 Regression] missed store sinking out of a loop
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2008 01:35:38 -0000
- Subject: [Bug tree-optimization/36204] [4.4 Regression] missed store sinking out of a loop
- References: <bug-36204-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2008-05-11 01:35 -------
Reverting that part of the patch causes an ICE with the following code:
struct BUF1
{
int b1;
int b12;
};
void link_error();
int foo(int n, struct BUF1 * p)
{
int i = 0;
for (i = 0; i < 1024*1024; i++)
p->b1 = 1;
if (p->b1 != 1)
link_error ();
return 0;
}
Which means we can't even to LIM that case either :(.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36204