Update semantic_interposition flag at analysis time
authorJan Hubicka <jh@suse.cz>
Sat, 9 Apr 2022 19:22:58 +0000 (21:22 +0200)
committerJan Hubicka <jh@suse.cz>
Sat, 9 Apr 2022 19:22:58 +0000 (21:22 +0200)
commit4943b75e9f06f0b64ed541430bb7fbccf55fc552
tree1ec24df49da937dab46cb763acbe5889a3105151
parentaabb9a261ef060cf24fd626713f1d7d9df81aa57
Update semantic_interposition flag at analysis time

This patch solves problem with FE first finalizing function and then adding
-fno-semantic-interposition flag (by parsing optimization attribute).

gcc/ChangeLog:

2022-04-09  Jan Hubicka  <hubicka@ucw.cz>

PR ipa/103376
* cgraphunit.cc (cgraph_node::analyze): update semantic_interposition
flag.

gcc/testsuite/ChangeLog:

2022-04-09  Jan Hubicka  <hubicka@ucw.cz>

PR ipa/103376
* gcc.c-torture/compile/pr103376.c: New test.
gcc/cgraphunit.cc
gcc/testsuite/gcc.c-torture/compile/pr103376.c [new file with mode: 0644]