This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24225] [4,1 Regression] ICE: segmentation fault in profile.c:branch_prob
- From: "belyshev at depni dot sinp dot msu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2005 11:47:38 -0000
- Subject: [Bug tree-optimization/24225] [4,1 Regression] ICE: segmentation fault in profile.c:branch_prob
- References: <bug-24225-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from belyshev at depni dot sinp dot msu dot ru 2005-10-06 11:47 -------
// smaller testcase, compile with -O1 -fprofile-arcs
int f (int a, int b)
{
if (a)
return 1;
{
int s [b];
return 0;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24225