http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46916
--- Comment #24 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-12-14 14:30:55 UTC --- (In reply to comment #23) > (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" ? Also look at PR45646 which may be related and could have gone latent rather than have been fixed.