[Bug objc/44140] objc.dg/torture/tls/thr-init-3.m failure

2010-05-25 Thread iains at gcc dot gnu dot org


--- 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=gcc&view=rev&rev=159812
Log:

PR ObjC/44140
* objc.dg/torture/tls/thr-init-3.m: XFAIL lto/whopr for all.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44140



[Bug objc/44140] objc.dg/torture/tls/thr-init-3.m failure

2010-05-24 Thread iains at gcc dot gnu dot org


--- 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;

struct objc_class {
Class isa;
/* other stuff... */
}  ;

@interface Object {
@public
 Class isa;
}
+initialize;
+(Class)class;

@end

@implementation Object
+initialize {
 return self;
}

+(Class)class {
 return (Class)self;
}

@end

int main(void)
{
  [Object class];
  printf("trivial OK\n");
  return 0;
}

===

will take a look at it as soon as poss.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44140



[Bug objc/44140] objc.dg/torture/tls/thr-init-3.m failure

2010-05-18 Thread iains at gcc dot gnu dot org


--- 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
http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01039.html) 


-- 

iains at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|developer at sandoe-|iains at gcc dot gnu dot org
   |acoustics dot co dot uk |
 AssignedTo|unassigned at gcc dot gnu   |iains at gcc dot gnu dot org
   |dot org |
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-05-18 20:04:17
   date||
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44140



[Bug objc/44140] objc.dg/torture/tls/thr-init-3.m failure

2010-05-18 Thread ro at gcc dot gnu dot org


--- 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

 CC||developer at sandoe-
   ||acoustics dot co dot uk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44140



[Bug objc/44140] objc.dg/torture/tls/thr-init-3.m failure

2010-05-18 Thread ro at gcc dot gnu dot org


--- 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

 CC||ro at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44140



[Bug objc/44140] objc.dg/torture/tls/thr-init-3.m failure

2010-05-14 Thread rguenth at gcc dot gnu dot org


--- 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

  Component|lto |objc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44140