aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macros/mbe/macro-issue1053.rs
diff options
context:
space:
mode:
authorJeevitha <jeevitha@linux.ibm.com>2025-07-23 23:39:13 -0500
committerJeevitha <jeevitha@linux.ibm.com>2025-07-23 23:39:13 -0500
commita1fb757342058111fddcdc5ca2f866c61e87c9b8 (patch)
treebf3bbab24e9e30cb81e4db7c40dff91949876abd /gcc/testsuite/rust/compile/macros/mbe/macro-issue1053.rs
parent198653e1cc4ddd33a837bd7130b7c347b27202a6 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
testsuite: Fix gcc.target/powerpc/vsx-builtin-7.c test [PR119382]HEADtrunkmaster
The test vsx-builtin-7.c failed on powerpc64le-linux due to Identical Code Folding (ICF) merging the functions insert_di_0_v2 and insert_di_0. This behavior was introduced by commit r15-7961-gdc47161c1f32c3, which enhanced alias analysis in ao_compare::compare_ao_refs, enabling the compiler to identify and optimize structurally identical functions. As a result, the compiler replaced insert_di_0_v2 with a tail call to insert_di_0, altering the expected test behavior. This patch adds -fno-ipa-icf to the test's dg-options to disable ICF, avoiding function merging and ensuring the test executes correctly. 2025-06-24 Jeevitha Palanisamy <jeevitha@linux.ibm.com> gcc/testsuite/ PR testsuite/119382 * gcc.target/powerpc/vsx-builtin-7.c: Add '-fno-ipa-icf' to dg-options.
Diffstat (limited to 'gcc/testsuite/rust/compile/macros/mbe/macro-issue1053.rs')
0 files changed, 0 insertions, 0 deletions