This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples] fix gimplify_return_expr buglet
On 7/20/07 3:31 PM, Aldy Hernandez wrote:
> if (a > 3)
> return 69;
>
> ...is being generated correctly. We make a GIMPLE_ASSIGN tuple and set
> everything up correctly. What testcase did you have in mind?
That's the thing. We should *not* generate the GIMPLE_ASSIGN. The
return operand should just be the CONST_INT 69. I have to look at the
gimplifier when I get back.