[Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang

2019-10-23 Thread sethml at ofb dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 --- Comment #5 from Seth LaForge --- Richard: > No it doesn't. The AAPCS for AArch32 makes no reference to a frame pointer, > so there is no portable way defined for walking a frame other than by using > dwarf records or C++ unwinding descriptio

[Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang

2019-10-22 Thread sethml at ofb dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 --- Comment #2 from Seth LaForge --- Good point on frame pointers vs a frame chain for unwinding. I'm looking for the unwindable frame chain. Wilco: > Why does this matter? Well as your examples show, if you want to emit a frame > chain using st

[Bug c/92172] New: ARM Thumb2 frame pointers inconsistent with clang and ARM-THUMB Procedure Call Standard

2019-10-21 Thread sethml at ofb dot net
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sethml at ofb dot net Target Milestone: --- This is a bit of a feature request, which has been rejected before, but I think there are compelling reasons to

[Bug c++/70868] New: Assigning constructed temporary of class with nontrivial constructor uses unnecessary temporary

2016-04-28 Thread sethml at ofb dot net
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sethml at ofb dot net Target Milestone: --- It's a common C++ idiom to clear a struct by assigning a default-constructed instance to it: struct

[Bug c++/70171] Poor code generated when return struct using ternary operator

2016-03-10 Thread sethml at ofb dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70171 Seth LaForge changed: What|Removed |Added CC||sethml at ofb dot net --- Comment #1

[Bug target/43640] Struct with two floats generates poor code

2016-03-10 Thread sethml at ofb dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43640 Seth LaForge changed: What|Removed |Added CC||sethml at ofb dot net --- Comment #3

[Bug c++/70171] New: Poor code generated when return struct using ternary operator

2016-03-10 Thread sethml at ofb dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sethml at ofb dot net Target Milestone: --- Created attachment 37926 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37926&action=edit Example C++ code. Consider the followi