public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53440] New: [arm] generic thunk code fails for method which uses '...'
@ 2012-05-21 18:04 rmansfield at qnx dot com
  2012-05-21 18:14 ` [Bug target/53440] " rmansfield at qnx dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rmansfield at qnx dot com @ 2012-05-21 18:04 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53440
           Summary: [arm] generic thunk code fails for method which uses
                    '...'
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rmansfield@qnx.com


This is a target bug but it's related to bug 7618 (which was mips specific).
I'm opening a new PR for arm-gnueabi as it is a primary target

$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnueabi
Configured with: ../configure --target=arm-unknown-linux-gnueabi
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi
--with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root
--disable-multilib
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared
--disable-libmudflap --disable-libssp --enable-checking
Thread model: posix
gcc version 4.8.0 20120521 (experimental) [trunk revision 187727] (GCC) 
$ ./xgcc -B. ~/t.cc
/home/ryan/t.cc:18:1: error: generic thunk code fails for method 'virtual void
Test::Log(const char*, ...)' which uses '...'
 }};
 ^


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

* [Bug target/53440] [arm] generic thunk code fails for method which uses '...'
  2012-05-21 18:04 [Bug target/53440] New: [arm] generic thunk code fails for method which uses '...' rmansfield at qnx dot com
@ 2012-05-21 18:14 ` rmansfield at qnx dot com
  2012-05-21 20:57 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rmansfield at qnx dot com @ 2012-05-21 18:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Ryan Mansfield <rmansfield at qnx dot com> 2012-05-21 18:04:03 UTC ---
Created attachment 27463
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27463
test case


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

* [Bug target/53440] [arm] generic thunk code fails for method which uses '...'
  2012-05-21 18:04 [Bug target/53440] New: [arm] generic thunk code fails for method which uses '...' rmansfield at qnx dot com
  2012-05-21 18:14 ` [Bug target/53440] " rmansfield at qnx dot com
@ 2012-05-21 20:57 ` pinskia at gcc dot gnu.org
  2012-05-22 12:30 ` ramana at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-05-21 20:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-21 18:55:04 UTC ---
Someone needs to implement the thunk functionality for arm.


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

* [Bug target/53440] [arm] generic thunk code fails for method which uses '...'
  2012-05-21 18:04 [Bug target/53440] New: [arm] generic thunk code fails for method which uses '...' rmansfield at qnx dot com
  2012-05-21 18:14 ` [Bug target/53440] " rmansfield at qnx dot com
  2012-05-21 20:57 ` pinskia at gcc dot gnu.org
@ 2012-05-22 12:30 ` ramana at gcc dot gnu.org
  2012-05-22 16:40 ` rearnsha at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-05-22 12:30 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-05-22
                 CC|                            |ramana at gcc dot gnu.org
     Ever Confirmed|0                           |1


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

* [Bug target/53440] [arm] generic thunk code fails for method which uses '...'
  2012-05-21 18:04 [Bug target/53440] New: [arm] generic thunk code fails for method which uses '...' rmansfield at qnx dot com
                   ` (2 preceding siblings ...)
  2012-05-22 12:30 ` ramana at gcc dot gnu.org
@ 2012-05-22 16:40 ` rearnsha at gcc dot gnu.org
  2012-05-23  1:27 ` rmansfield at qnx dot com
  2015-10-20 11:20 ` ramana at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2012-05-22 16:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2012-05-22 16:36:56 UTC ---
(In reply to comment #2)
> Someone needs to implement the thunk functionality for arm.

The ARM port does have MI thunk support.  The question is "why isn't it being
used"?

R.


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

* [Bug target/53440] [arm] generic thunk code fails for method which uses '...'
  2012-05-21 18:04 [Bug target/53440] New: [arm] generic thunk code fails for method which uses '...' rmansfield at qnx dot com
                   ` (3 preceding siblings ...)
  2012-05-22 16:40 ` rearnsha at gcc dot gnu.org
@ 2012-05-23  1:27 ` rmansfield at qnx dot com
  2015-10-20 11:20 ` ramana at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rmansfield at qnx dot com @ 2012-05-23  1:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Ryan Mansfield <rmansfield at qnx dot com> 2012-05-23 00:12:59 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > Someone needs to implement the thunk functionality for arm.
> 
> The ARM port does have MI thunk support.  The question is "why isn't it being
> used"?

I may be answering the question too directly but it's using the
default_can_output_mi_thunk_no_vcall and vcall_offset is non-zero. The ARM MI
thunk code doesn't do any vcall offset adjustment.


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

* [Bug target/53440] [arm] generic thunk code fails for method which uses '...'
  2012-05-21 18:04 [Bug target/53440] New: [arm] generic thunk code fails for method which uses '...' rmansfield at qnx dot com
                   ` (4 preceding siblings ...)
  2012-05-23  1:27 ` rmansfield at qnx dot com
@ 2015-10-20 11:20 ` ramana at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: ramana at gcc dot gnu.org @ 2015-10-20 11:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53440

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgreenhalgh at gcc dot gnu.org

--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
*** Bug 66755 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2015-10-20 11:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-21 18:04 [Bug target/53440] New: [arm] generic thunk code fails for method which uses '...' rmansfield at qnx dot com
2012-05-21 18:14 ` [Bug target/53440] " rmansfield at qnx dot com
2012-05-21 20:57 ` pinskia at gcc dot gnu.org
2012-05-22 12:30 ` ramana at gcc dot gnu.org
2012-05-22 16:40 ` rearnsha at gcc dot gnu.org
2012-05-23  1:27 ` rmansfield at qnx dot com
2015-10-20 11:20 ` ramana at gcc dot gnu.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).