Fix wrong condition in ipa-visibility.c (PR ipa/81520).
authorMartin Liska <mliska@suse.cz>
Tue, 25 Jul 2017 10:20:23 +0000 (12:20 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 25 Jul 2017 10:20:23 +0000 (10:20 +0000)
commit4287b4e84c4af7a331d1b0a390ab3d97f37120c2
tree1e38862eae269e11ace01ef2f2e920752af4cfce
parent99f089746928c9677fe57d9ae99b9f83d8a247c1
Fix wrong condition in ipa-visibility.c (PR ipa/81520).

2017-07-25  Martin Liska  <mliska@suse.cz>

PR ipa/81520
* ipa-visibility.c (function_and_variable_visibility): Make the redirection
just on target that do supporting aliasing.  Fix GNU coding style.
2017-07-25  Martin Liska  <mliska@suse.cz>

PR ipa/81520
* gcc.dg/ipa/pr81520.c: New test.

From-SVN: r250501
gcc/ChangeLog
gcc/ipa-visibility.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr81520.c [new file with mode: 0644]