[Bug ipa/63851] [5 Regression] ipa-icf miscompiles gfortran.dg/assumed_rank_(8|9|10).f90 at -O2 and above

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 23 09:31:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63851

--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Dec 23 09:30:20 2014
New Revision: 219042

URL: https://gcc.gnu.org/viewcvs?rev=219042&root=gcc&view=rev
Log:
Fix for PR ipa/63851 and ipa/63852.

    PR ipa/63851
    PR ipa/63852
    * ipa-icf.c (sem_function::merge): Ignore merge operation
    for a thunk created from static chain.
    * ipa-icf-gimple.c (func_checker::compatible_types_p): Verify that
    types have same restrict flag.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf-gimple.c
    trunk/gcc/ipa-icf.c


More information about the Gcc-bugs mailing list