This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/41313] r150553 causes g++.dg/tree-prof/partition1.C compilation and execution test failures on *-apple-darwin*



------- Comment #34 from howarth at nitro dot med dot uc dot edu  2009-10-05 23:25 -------
Actually, I just noticed that with the latest patch we still fail...

gcc.dg/tree-prof/pr34999.c

Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091003/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20091003/darwin_objdir/gcc/
/sw/src/fink.build/gcc45-4.4.999-20091003/gcc-4.5-20091003/gcc/testsuite/gcc.dg/tree-prof/pr34999.c
  -O2 -freorder-blocks-and-partition -fprofile-use -D_PROFILE_USE  -lm   -o
/sw/src/fink.build/gcc45-4.4.999-20091003/darwin_objdir/gcc/testsuite/gcc/pr34999.x02
   (timeout = 300)
/var/tmp//ccTlWKzV.s:219:FATAL:Symbol _main.eh already defined.
compiler exited with status 1
output is:
/var/tmp//ccTlWKzV.s:219:FATAL:Symbol _main.eh already defined.

FAIL: gcc.dg/tree-prof/pr34999.c compilation,  -fprofile-use -D_PROFILE_USE
UNRESOLVED: gcc.dg/tree-prof/pr34999.c execution,    -fprofile-use
-D_PROFILE_USE

I'll take a look at perhaps just setting...

flag_reorder_blocks_and_partition = 0;
flag_reorder_blocks = 1;

 in darwin.c's overrides when targeting <10.6 and adjusting
darwin_emit_unwind() to not emit labels when targeting >=10.6.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41313


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]