This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/20017] [4.0 Regression] internal compiler error: in rtl_verify_flow_info, at cfgrtl.c:2212
- 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: 17 Feb 2005 02:23:54 -0000
- Subject: [Bug rtl-optimization/20017] [4.0 Regression] internal compiler error: in rtl_verify_flow_info, at cfgrtl.c:2212
- References: <20050216192704.20017.aj@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kazu at cs dot umass dot edu 2005-02-17 02:23 -------
Reduced to:
int
foo (int *buf, int *p)
{
int result;
const int *tmp;
if (*buf)
return 1;
result = 2;
*buf = 2;
tmp = buf;
switch (*tmp)
{
case 3:
case 4:
case 6:
case 14:
return 1;
case 0:
result = *p;
/* Fall through. */
default:
if (result)
return 1;
}
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20017