[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 25 12:16:00 GMT 2017


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

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Apr 25 12:15:44 2017
New Revision: 247208

URL: https://gcc.gnu.org/viewcvs?rev=247208&root=gcc&view=rev
Log:
2017-04-25  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/80492
        * alias.c (compare_base_decls): Handle registers with asm
        specification conservatively.
        * tree-ssa-alias.c (decl_refs_may_alias_p): Handle
        compare_base_decls returning dont-know properly.

        * gcc.dg/pr80492.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr80492.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/alias.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-alias.c


More information about the Gcc-bugs mailing list