[PATCH] Fix Infinite loop in pointer_set_insert

Dominique Dhumieres dominiq@lps.ens.fr
Sun Dec 16 19:39:00 GMT 2012


> The attached patch fixes a regression introduced on the trunk to ...

This breaks bootstrap on x86_64-apple-darwin10:

../../work/gcc/varasm.c:2094:13: error: 'pending_assemble_externals_processed' defined but not used [-Werror=unused-variable]
 static bool pending_assemble_externals_processed;

I fixed it by moving

+/* Some targets delay some output to final using TARGET_ASM_FILE_END.
+   As a result, assemble_external can be called after the list of externals
+   is processed and the pointer set destroyed.  */
+static bool pending_assemble_externals_processed;
+

after

 #ifdef ASM_OUTPUT_EXTERNAL

instead of having it before.

TIA

Dominique



More information about the Gcc-patches mailing list