[Bug target/38469] Wrong code for a function with long long argument returning int.
niva at niisi dot msk dot ru
gcc-bugzilla@gcc.gnu.org
Thu Dec 18 10:48:00 GMT 2008
------- Comment #2 from niva at niisi dot msk dot ru 2008-12-18 10:47 -------
Subject: Re: Wrong code for a function with long long
argument returning int.
Unfortunately it doesn't.
I have added the necessary static functions (reg_truncated_to_mode,
record_truncated_value, check_conversions) which are missing in
combine.c in gcc-4.1.x and the invocation of check_conversions.
But it didn't help.
Gcc-4.1.3 generates proper code for this test if I just substitute the
whole combine.c with the one from gcc-4.2.x (with minimal changes to
conform the infrastructure of gcc-4.1.x).
÷ ðÃÃ, 15/12/2008 à 21:40 +0000, rsandifo at gcc dot gnu dot org ÃÃÃÃ
Ã:
>
> ------- Comment #1 from rsandifo at gcc dot gnu dot org 2008-12-15 21:40 -------
> I think this was fixed by:
>
> http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01996.html
>
> Could you check whether it works for you?
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38469
More information about the Gcc-bugs
mailing list