[Bug middle-end/98753] -Wfree-nonheap-object on unreachable code with -O0

2025-05-02 Thread mitza at ociweb dot com via Gcc-bugs
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

[Bug c++/90320] New: Explicit constructor called implicitly

2019-05-02 Thread mitza at ociweb dot com
++ 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

[Bug target/55171] incorrect virtual thunk on mingw

2012-11-07 Thread mitza at ociweb dot com
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

[Bug c++/55171] incorrect virtual thunk on mingw

2012-11-02 Thread mitza at ociweb dot com
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.

[Bug c++/55171] New: incorrect virtual thunk on mingw

2012-11-01 Thread mitza at ociweb dot com
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