[Bug tree-optimization/117423] [12/13/14/15 Regression] union not written to with particular layout since r10-6321-g636e80eea24b78

2024-11-02 Thread tpg+gcc at mutabah dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423 --- Comment #5 from John Hodge --- (In reply to Andrew Pinski from comment #3) > Obvbious workaround `-fno-tree-sra` . Thanks for pointing out the flag to avoid this issue, that's allowed me to progress with my other testing. And thanks very mu

[Bug rtl-optimization/117423] New: union not written to with particular layout

2024-11-02 Thread tpg+gcc at mutabah dot net via Gcc-bugs
: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: tpg+gcc at mutabah dot net Target Milestone: --- Created attachment 59524 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59524&action=edit Preprocessed output of reproduction (2-20241102-TimeCodegen

[Bug middle-end/105860] Miscompilation causing clobbered union contents

2022-06-15 Thread tpg+gcc at mutabah dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105860 --- Comment #2 from John Hodge --- Created attachment 53144 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53144&action=edit Reproduction, partially minimised and including assertion Attached is an updated reproduction, that includes asse

[Bug analyzer/105860] New: Miscompilation causing clobbered union contents

2022-06-06 Thread tpg+gcc at mutabah dot net via Gcc-bugs
Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: tpg+gcc at mutabah dot net Target Milestone: --- Created attachment 53092 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53092&action=edit Reproduction source file, compile with `gcc -O1` Found while de

[Bug c++/92423] New: Reference assigned from a ternary results in destructor call

2019-11-08 Thread tpg+gcc at mutabah dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tpg+gcc at mutabah dot net Target Milestone: --- The following code compiles with g++ 9.2.0, but calls `Foo`'s destructor twice. ``` #include struct Foo {