http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46916
--- Comment #23 from Iain Sandoe <iains at gcc dot gnu.org> 2010-12-14 14:23:42 UTC --- (In reply to comment #22) > I have found the reason of the unexpected pass when testing tree-prof.exp > alone: -g is not passed to the tests. If I force it I get > Using /sw64/share/dejagnu/config/unix.exp as generic interface file for > target. > Using /opt/gcc/work/gcc/testsuite/config/default.exp as > tool-and-target-specific interface file. > Running /opt/gcc/work/gcc/testsuite/g++.dg/tree-prof/tree-prof.exp ... > FAIL: g++.dg/tree-prof/partition1.C compilation, -fprofile-use > FAIL: g++.dg/tree-prof/partition2.C compilation, -fprofile-use > Is this expected or should I fill another PR? I suspect it is a different issue... can we look at the output with "-v" and "-Wl,-debug" ?