[Bug c++/112360] New: [coroutines] unreachable 'co_await' still creates a suspension point

2023-11-02 Thread oremanj at mit dot edu via Gcc-bugs
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: oremanj at mit dot edu Target Milestone: --- A coroutine function of the form: task example() { do { co_await awaitable{}; } wh

[Bug c++/86943] New: [8 Regression] Wrong code when converting stateless generic lambda to function pointer

2018-08-13 Thread oremanj at mit dot edu
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: oremanj at mit dot edu Target Milestone: --- When creating a function pointer from a stateless generic lambda that accepts the argument of generic type by value, gcc

[Bug rtl-optimization/86854] crash on stack unwinding with reorder-blocks-and-partition + linker code folding + C++ exceptions

2018-08-03 Thread oremanj at mit dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86854 --- Comment #1 from Joshua Oreman --- To clarify, the -freorder-blocks-and-partition argument in the example invocations is superfluous (that optimization is enabled by default at -O2). With -fno-reorder-blocks-and-partition the issue is not obse

[Bug rtl-optimization/86854] New: crash on stack unwinding with reorder-blocks-and-partition + linker code folding + C++ exceptions

2018-08-03 Thread oremanj at mit dot edu
Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: oremanj at mit dot edu Target Milestone: --- With -freorder-blocks-and-partition in GCC 8 (but not in 7.x), GCC shows a

[Bug c++/83596] New: ['17] can't use member pointer result of a constexpr function as template argument

2017-12-26 Thread oremanj at mit dot edu
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: oremanj at mit dot edu Target Milestone: --- The below C++ program defines a constexpr function that returns a pointer-to-member, then attempts to use that

[Bug c++/83020] New: ('17) Class template constructor call skipped with no error when substitution fails in default argument

2017-11-16 Thread oremanj at mit dot edu
tatus: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: oremanj at mit dot edu Target Milestone: --- The below C++ program is ill-formed, but gcc 7.1 and 7.2 accept it in C++17 mode, and emit code

[Bug c++/81976] New: bad is_standard_layout/has_unique_object_representations results with a chain of empty bases

2017-08-24 Thread oremanj at mit dot edu
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: oremanj at mit dot edu Target Milestone: --- The C++ program below defines structures that each contain a 1-byte char field and inherit

[Bug libstdc++/68200] g++ 5.2 optimizes out pointer assignment in libstdc++ mt_allocator freelist destructor, causing crash at global-dtor time

2015-11-03 Thread oremanj at mit dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68200 --- Comment #1 from Joshua Oreman --- Correction: the original bug was PR 52604, not PR 52064.

[Bug libstdc++/68200] New: g++ 5.2 optimizes out pointer assignment in libstdc++ mt_allocator freelist destructor, causing crash at global-dtor time

2015-11-03 Thread oremanj at mit dot edu
Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: oremanj at mit dot edu Target Milestone: --- PR 52064 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug ipa/62015] New: ipa-cp-clone uses a clone that is too specialized for the call context

2014-08-04 Thread oremanj at mit dot edu
Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: oremanj at mit dot edu In the C++ program below, interprocedural constant propagation cloning creates a clone of A::adjust() specialized for adjust(Side::Invalid, false). This clone