]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/alias.c
re PR tree-optimization/80492 (Wrong code when unrolling a loop with inline asm and...
authorRichard Biener <rguenther@suse.de>
Tue, 25 Apr 2017 12:15:44 +0000 (12:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 25 Apr 2017 12:15:44 +0000 (12:15 +0000)
commitbed3fd4637d24e27b61fbd7f366e98a211080a0b
tree690cd4fd07d5f180a7f6871949ce641cfc7e1daf
parentca0b6141fa6a9c98939224ebc3b7ddc171df5b96
re PR tree-optimization/80492 (Wrong code when unrolling a loop with inline asm and local regs)

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.

From-SVN: r247208
gcc/ChangeLog
gcc/alias.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr80492.c [new file with mode: 0644]
gcc/tree-ssa-alias.c