public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "iains at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug objc/44140] objc.dg/torture/tls/thr-init-3.m failure
Date: Mon, 24 May 2010 19:22:00 -0000	[thread overview]
Message-ID: <20100524192216.29702.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44140-682@http.gcc.gnu.org/bugzilla/>



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


  parent reply	other threads:[~2010-05-24 19:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14 14:40 [Bug lto/44140] New: " hjl dot tools at gmail dot com
2010-05-14 15:25 ` [Bug objc/44140] " rguenth at gcc dot gnu dot org
2010-05-18 19:39 ` ro at gcc dot gnu dot org
2010-05-18 19:42 ` ro at gcc dot gnu dot org
2010-05-18 20:04 ` iains at gcc dot gnu dot org
2010-05-24 19:22 ` iains at gcc dot gnu dot org [this message]
2010-05-25  9:11 ` iains at gcc dot gnu dot org
2010-05-25  9:22 ` [Bug objc/44140] ObjC lto/whopr fails iains at gcc dot gnu dot org
2010-05-27 16:28 ` iains at gcc dot gnu dot org
2010-05-27 23:34 ` iains at gcc dot gnu dot org
2010-05-30  0:56 ` iains at gcc dot gnu dot org
2010-05-30  0:57 ` iains at gcc dot gnu dot org
2010-05-30  1:01 ` iains at gcc dot gnu dot org
2010-05-30 12:25 ` iains at gcc dot gnu dot org
2010-05-30 13:42 ` iains at gcc dot gnu dot org
2010-05-30 14:51 ` iains at gcc dot gnu dot org
2010-05-30 14:58 ` hjl dot tools at gmail dot com
2010-07-10  0:23 ` iains at gcc dot gnu dot org
2010-07-13 11:01 ` iains at gcc dot gnu dot org
2010-07-27 12:03 ` iains at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100524192216.29702.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).