This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 4 Dec 2010 03:19:07 +0000
- Subject: [Bug debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin
- Auto-submitted: auto-generated
- References: <bug-46749-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749
--- Comment #33 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-12-04 03:18:41 UTC ---
Using the patch...
Index: gcc/collect2.c
===================================================================
--- gcc/collect2.c (revision 167430)
+++ gcc/collect2.c (working copy)
@@ -1055,8 +1055,10 @@
optimized by the LTO with the temporary file generated by the LTO.
*/
fork_execute ("ld", out_lto_ld_argv);
free (lto_ld_argv);
-
+#if 0
maybe_unlink_list (lto_o_files);
+#endif
+ printf("would have executed maybe_unlink_list\n");
}
else if (force)
{
...the previous test compilation of "gcc -flto -g -v himenoBMTxpa.c", changes
to...
COLLECT_GCC_OPTIONS='-c' '-mmacosx-version-min=10.6.5' '-g' '-v' '-mtune=core2'
'-fltrans' '-o' '/var/tmp//cc52uGqn.ltrans0.ltrans.o'
would have executed maybe_unlink_list
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.5' '-flto' '-g' '-v'
'-mtune=core2'
dsymutil a.out
and is the only instance of that call.