[Bug tree-optimization/17766] [4.0 Regression] cc1 hangs in with -O3, works with -O2
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 8 00:46:00 GMT 2004
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-08 00:46 -------
Even shorter:
======================================
struct A
{
int i;
};
void foo(struct A* p, int *q)
{
for (;; p->i || &p->i > 0 || p->i )
if (q && *q)
break;
}
======================================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17766
More information about the Gcc-bugs
mailing list