[Bug ipa/77653] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77653

Martin Liška  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Martin Liška  ---
Fixed.

[Bug ipa/77653] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77653

--- Comment #3 from Martin Liška  ---
Author: marxin
Date: Thu Sep 22 12:52:09 2016
New Revision: 240354

URL: https://gcc.gnu.org/viewcvs?rev=240354=gcc=rev
Log:
Fix PR ipa/77653

PR ipa/77653
* gcc.dg/ipa/pr77653.c: New test.
PR ipa/77653
* ipa-icf.c (sem_variable::merge): Yield merge operation if
alias address matters, not necessarily address of original.

Added:
trunk/gcc/testsuite/gcc.dg/ipa/pr77653.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-icf.c
trunk/gcc/testsuite/ChangeLog

[Bug ipa/77653] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-09-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77653

Martin Liška  changed:

   What|Removed |Added

  Component|tree-optimization   |ipa

--- Comment #2 from Martin Liška  ---
Having a patch, testing that.