------- Comment #6 from rguenth at gcc dot gnu dot org 2008-01-31 15:08 ------- Confirmed. The following also fails with optimization:
t1.c: static void __attribute__((used)) size_of_encoded_value (void) { }; static int __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once"))); t2.c: void size_of_encoded_value (void) { }; Not a regression. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to work|4.1.2 | Last reconfirmed|0000-00-00 00:00:00 |2008-01-31 15:08:10 date| | Summary|[4.3 Regression] assembler |assembler errors when |errors when building |building gcc/unwind-*.c at - |gcc/unwind-*.c at -O0 or -O1|O0 or -O1 with IMA http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35034