This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18519] [4.0 Regression] ICE: Segmentation fault with optimization
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2004 15:06:16 -0000
- Subject: [Bug tree-optimization/18519] [4.0 Regression] ICE: Segmentation fault with optimization
- References: <20041116110602.18519.micis@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kazu at cs dot umass dot edu 2004-11-16 15:06 -------
Reduced a little more:
/* ./cc1 -O1 pr18519.c */
int baz (int *);
void
foo (int *uc)
{
int *invalidp;
int invalid;
while (1)
{
invalidp = &invalid;
if (baz (uc))
invalid = 1;
invalid = 0;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18519