https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753
--- Comment #19 from Adam Mitz ---
Bison users may insert arbitrary code (like a #pragma) in the input file which
is copied to the output. As an example, this is used to silence GCC's warning
here
https://github.com/DOCGroup/ACE_TAO/blob/e3b027b
++
Assignee: unassigned at gcc dot gnu.org
Reporter: mitza at ociweb dot com
Target Milestone: ---
May be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87605 but this
doesn't involve the ternary operator.
The following example instantiates and calls M::M(M&) on GC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55171
--- Comment #4 from Adam Mitz 2012-11-07 21:10:26 UTC
---
The generated code for the thunk is incorrect in that it re-uses the %eax
register, clobbering the original "this" value:
Dump of assembler code for function _ZTv0_n16_NK7Derived3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55171
--- Comment #2 from Adam Mitz 2012-11-02 19:51:26 UTC
---
(In reply to comment #1)
> Thus, is this mingw specific?
I can only get it to fail on mingw.
> Should be target instead?
Sorry, I don't know what this means.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55171
Bug #: 55171
Summary: incorrect virtual thunk on mingw
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priori