diff options
author | Alan Modra <amodra@gmail.com> | 2017-01-20 09:49:19 +1030 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2017-01-20 09:49:19 +1030 |
commit | 5699b9d11556148547b478d1b4591359c7b89ac5 (patch) | |
tree | 2af0ac8212f9f4209d79244b9c6345cfc2fe7e06 /gcc/combine-stack-adj.c | |
parent | 8e4160112d24d56852a17ca3627dec24d3ffa1ed (diff) | |
download | gcc-5699b9d11556148547b478d1b4591359c7b89ac5.zip gcc-5699b9d11556148547b478d1b4591359c7b89ac5.tar.gz gcc-5699b9d11556148547b478d1b4591359c7b89ac5.tar.bz2 |
[RS6000] PR79144, cmpstrnsi optimization breaks glibc
glibc compiled with current gcc-7 fails one test due to strcmp and
strncmp appearing in the PLT. This is because the inline expansion of
those functions falls back to a function call, but doesn't use the asm
name for the call.
PR target/79144
* config/rs6000/rs6000.c (expand_strn_compare): Get the asm name
for strcmp and strncmp from corresponding builtin decl.
From-SVN: r244659
Diffstat (limited to 'gcc/combine-stack-adj.c')
0 files changed, 0 insertions, 0 deletions