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 debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin


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.


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