diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2023-07-21 00:16:29 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2023-07-21 00:16:29 -0500 |
commit | 6894581ac453361e3fb4e1ffd54f9499acb87466 (patch) | |
tree | e1c3cf32cd02c7c30f3e06e99d84a7188feab908 /gcc/tree-ssa-phiopt.cc | |
parent | 1c6231c05bdccab3a21abcbb75e2094ea3e98782 (diff) | |
download | gcc-6894581ac453361e3fb4e1ffd54f9499acb87466.zip gcc-6894581ac453361e3fb4e1ffd54f9499acb87466.tar.gz gcc-6894581ac453361e3fb4e1ffd54f9499acb87466.tar.bz2 |
testsuite: Add a test case for PR110729 [PR110729]
As PR110729 reported, there was one issue for .section
__patchable_function_entries with -ffunction-sections, that
is we put the same symbol as link_to section symbol for all
functions wrongly. The commit r13-4294 for PR99889 has
fixed this with the corresponding label LPFE* which sits in
the function_section.
As Fangrui suggested [1], this patch is to add a bit more
test coverage. I didn't find a good way to check all
linked_to symbols are different, so I checked for LPFE[012].
[1] https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624866.html
PR testsuite/110729
gcc/testsuite/ChangeLog:
* gcc.dg/pr110729.c: New test.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions