On Linux/i386 and Linux/x86-64 with GCC 4.2, I got FAIL: icf_safe_test.sh (exit: 1) ================================ Safe Identical Code Folding did not fold _ZN1AD2Ev and _ZN1AC2Ev GCC 4.2 only generates _ZN1AC1Ev and _ZN1AD1Ev in icf_safe_test.o.
icf_safe_pie_test.sh fails the same way with GCC 4.2: FAIL: icf_safe_pie_test.sh (exit: 1) ==================================== Safe Identical Code Folding did not fold _ZN1AD2Ev and _ZN1AC2Ev