https://sourceware.org/bugzilla/show_bug.cgi?id=34237

--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
I've attached the gprof -d outputs for Solaris/sparcv9 and Linux/sparc64.

The sparcv9 one has

[arc_add] 1 arcs from _start to main
[arc_add] 1000 arcs from f2 to f1
[arc_add] 1000 arcs from f3 to f1
[arc_add] 1000 arcs from f3 to f2
[arc_add] 1 arcs from main to f3

while the sparc64 one has only

[arc_add] 1000 arcs from f2 to f1
[arc_add] 1000 arcs from f3 to f1
[arc_add] 1000 arcs from f3 to f2
[arc_add] 1 arcs from main to f3

ISTM that the difference between the targets is benight, so accepting both
possible outputs seems the right solution.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to