This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26859] [4.2 Regression] ICE Segmentation Fault
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2006 02:40:09 -0000
- Subject: [Bug tree-optimization/26859] [4.2 Regression] ICE Segmentation Fault
- References: <bug-26859-11706@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-25 02:40 -------
Reduced testcase:
void f(long nb)
{
long i, j, d, d2;
for (i=1; i<=nb; i++)
if (i>1)
{
d = i-1;
d2 = 2*i-3;
for (j=d; j>0; j--)
{
divrs( d2 );
d2-=2;
}
}
}
----
The segfault is in fold-const but the backtrace comes from scev.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spop at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i686-slackware-linux |
GCC host triplet|i686-slackware-linux |
GCC target triplet|i686-slackware-linux |
Last reconfirmed|0000-00-00 00:00:00 |2006-03-25 02:40:09
date| |
Summary|ICE Segmentation Fault |[4.2 Regression] ICE
| |Segmentation Fault
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26859