public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/27387]  New: Thumb thunk is not PIC
@ 2006-05-02 14:09 kazu at gcc dot gnu dot org
  2006-05-02 15:05 ` [Bug target/27387] " kazu at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kazu at gcc dot gnu dot org @ 2006-05-02 14:09 UTC (permalink / raw)
  To: gcc-bugs

The thunk for Thumb is not PIC even with -mthumb -fPIC.

struct A {
  virtual void f ();
};

struct B {
  virtual void g ();
};

struct C : public A, public B {
  virtual void g();
};

void
C::g()
{
}

I've got a patch.


-- 
           Summary: Thumb thunk is not PIC
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: kazu at gcc dot gnu dot org
        ReportedBy: kazu at gcc dot gnu dot org
GCC target triplet: arm-none-eabi


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-05-30 15:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-02 14:09 [Bug target/27387] New: Thumb thunk is not PIC kazu at gcc dot gnu dot org
2006-05-02 15:05 ` [Bug target/27387] " kazu at gcc dot gnu dot org
2006-05-02 15:06 ` kazu at gcc dot gnu dot org
2006-05-02 15:13 ` kazu at gcc dot gnu dot org
2006-05-02 15:17 ` kazu at gcc dot gnu dot org
2006-05-02 15:26 ` kazu at gcc dot gnu dot org
2007-05-30  5:04 ` pinskia at gcc dot gnu dot org
2007-05-30 15:02 ` kazu at gcc dot gnu dot org

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