This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17766] [4.0 Regression] cc1 hangs in with -O3, works with -O2
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2004 00:46:15 -0000
- Subject: [Bug tree-optimization/17766] [4.0 Regression] cc1 hangs in with -O3, works with -O2
- References: <20041001071243.17766.olh@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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