--- Comment #6 from iains at gcc dot gnu dot org 2010-05-25 09:11 ---
Subject: Bug 44140
Author: iains
Date: Tue May 25 09:10:52 2010
New Revision: 159812
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159812
Log:
PR ObjC/44140
* objc.dg/torture/tls/thr-init-3.m:
--- Comment #5 from iains at gcc dot gnu dot org 2010-05-24 19:22 ---
this has nothing to do with tls it is a general issue with ObjC/lto.. :
the following code (OK w.out, error with -flto)
===
cat trivial.m:
extern int printf (char *,...) ;
typedef struct objc_class *Class;
--- Comment #2 from ro at gcc dot gnu dot org 2010-05-18 19:39 ---
This happens on i386-pc-solaris2.11, too, but only with -flto and -fwhopr.
--
ro at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from ro at gcc dot gnu dot org 2010-05-18 19:42 ---
Ian, you've introduced this testcase; could you have a look?
--
ro at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from iains at gcc dot gnu dot org 2010-05-18 20:04 ---
(In reply to comment #3)
Ian, you've introduced this testcase; could you have a look?
Yes.. working my way through ..
I'm sure that it is problem with ObjC
(and ObjC++, if you apply
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-05-14 15:25 ---
That's obviously a objc bug, not a lto bug.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added