------- Comment #13 from iains at gcc dot gnu dot org 2010-05-30 12:25 ------- In a bid to remove cases where the FE is bypassing varpool/cgraph and going directly to asm....
I've replaced the (2) instances of mark_decl_referenced () with DECL_PRESERVE_P () =1 (Honza's suggestion) I've removed the code in handle_class_ref () entirely [via an intermediate step where I got it to emit code without using the asm def]. I've removed the code that outputs a class ref in handle_impent () [also via n intermediate step]. none of these actions makes any difference to the testsuite results, nor to the failure with -flto. Adding Mike .. HJ - would you prefer this to be closed and for me to open a new bug to track the real issue? -- iains at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44140