------- Comment #6 from amylaar at gcc dot gnu dot org 2010-07-05 20:14 ------- (In reply to comment #5) > Created an attachment (id=21088) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21088&action=view) [edit] > patch which needs testing > > I have not tested this fix but it should work and should remove the > warning/error for these targets.
No, the translation unit is still considered empty. You have to put something syntactic into it, although it could be an extern declaration, an static inline function, or a struct declaration, e.g.: struct rtx_def; -- amylaar at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2010-07-05 01:33:44 |2010-07-05 20:14:57 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44752