aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-split.cc
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2022-10-26 16:37:34 +0300
committerAlexander Monakov <amonakov@ispras.ru>2022-10-26 19:30:15 +0300
commit82e629c26647313be406c41a01e6868cfad0f289 (patch)
treeff0d62590400d9a5e5a13e378903882d06659c6a /gcc/tree-ssa-loop-split.cc
parenta87819b8f1b890d36a3f05bd9de80be20e9525dd (diff)
downloadgcc-82e629c26647313be406c41a01e6868cfad0f289.zip
gcc-82e629c26647313be406c41a01e6868cfad0f289.tar.gz
gcc-82e629c26647313be406c41a01e6868cfad0f289.tar.bz2
ipa-visibility: remove assert in TLS optimization [PR107353]
When upgrading TLS access model based on optimized symbol visibility status, we attempted to assert that recomputing the model would not weaken it. It turns out that C, C++, and Fortran front-ends all can (unintentionally) assign a stronger model than what can be derived from the declaration. Let's act conservatively instead of asserting, at least as long as such pre-existing issues remain. gcc/ChangeLog: PR other/107353 * ipa-visibility.cc (function_and_variable_visibility): Conditionally upgrade TLS model instead of asserting.
Diffstat (limited to 'gcc/tree-ssa-loop-split.cc')
0 files changed, 0 insertions, 0 deletions