Bug 21129 - icf_safe_test.sh and icf_safe_pie_test.sh fails with GCC 4.2
Summary: icf_safe_test.sh and icf_safe_pie_test.sh fails with GCC 4.2
Status: NEW
Alias: None
Product: binutils
Classification: Unclassified
Component: gold (show other bugs)
Version: 2.29
: P2 normal
Target Milestone: ---
Assignee: Cary Coutant
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-10 16:53 UTC by H.J. Lu
Modified: 2017-02-16 16:59 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2017-02-10 16:53:24 UTC
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.
Comment 1 H.J. Lu 2017-02-16 16:59:04 UTC
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