This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/5814: error in subst_stack_regs_pat
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, trevorw at oes dot edu, gcc-gnats at gcc dot gnu dot org
- Date: Sat, 2 Mar 2002 23:09:56 -0500
- Subject: Re: other/5814: error in subst_stack_regs_pat
I thought gcc's policy is to make sure it does not ICE on illegal code?
Thanks,
Andrew Pinski
On Saturday, March 2, 2002, at 10:46 , rodrigc@gcc.gnu.org wrote:
> Synopsis: error in subst_stack_regs_pat
>
> State-Changed-From-To: open->closed
> State-Changed-By: rodrigc
> State-Changed-When: Sat Mar 2 19:46:14 2002
> State-Changed-Why:
> In your function:
> double f(int i)
>
> You forgot to return a value at the end
> of the function. Once I fix that,
> the ICE at -O6 goes away.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
> trail&database=gcc&pr=5814
>
>