This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15832] [3.5 Regression] ICE in move_for_stack_reg, at reg-stack.c:1120
- 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: 5 Jun 2004 15:24:39 -0000
- Subject: [Bug target/15832] [3.5 Regression] ICE in move_for_stack_reg, at reg-stack.c:1120
- References: <20040605111626.15832.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-05 15:24 -------
Here is a C code which makes this a regression, also I moved this to the target component instead of
rtl-optimization because x86 is the only one which uses reg-stack. Also only -O3 is needed to
reproduce the ICE.
double wavetoyfo_deriv (double *fm2, double *fm1, double *f0, double *fp1,double *fp2, double
*dx,int *dir)
{
double __result_wavetoyfo_deriv;
int T0 = *dir;
if (T0) goto nT0;
__result_wavetoyfo_deriv = (*fp1 - *fm1) / *dx * 2.0;
goto end;
nT0:
if (T0 != -1) {cctk_warn(); goto end;}
__result_wavetoyfo_deriv = (*fp1 - *fm1) / *dx * 2.0;
goto end;
end:
return __result_wavetoyfo_deriv;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|fortran |target
Ever Confirmed| |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
Keywords| |ice-on-valid-code
Known to fail| |3.5.0
Known to work| |3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2004-06-05 15:24:37
date| |
Summary|ICE in move_for_stack_reg, |[3.5 Regression] ICE in
|at reg-stack.c:1120 |move_for_stack_reg, at reg-
| |stack.c:1120
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15832