[Bug c++/91159] New: Compilation error on explicitly defaulting default constructor of abstract class with virtual base class

2019-07-13 Thread krzyk240 at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krzyk240 at gmail dot com Target Milestone: --- Consider the code below: ``` class Base { public: Base(int) {} virtual void

[Bug c++/70486] New: Constexpr array captured in lambda function (used via std::function)

2016-03-31 Thread krzyk240 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krzyk240 at gmail dot com Target Milestone: --- Created attachment 38150 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38150&action=edit The *.

[Bug c++/70732] New: Operator new is unable to throw std::bad_alloc() when memory is exhausted in statically linked executable

2016-04-19 Thread krzyk240 at gmail dot com
: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krzyk240 at gmail dot com Target Milestone: --- Created attachment 38313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38313&acti

[Bug c++/70732] Operator new is unable to throw std::bad_alloc() when memory is exhausted in statically linked executable

2016-04-20 Thread krzyk240 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70732 --- Comment #2 from Krzysztof Małysa --- I read some code from unwind-dw2-fde.c and it makes sense. In the code above, stack unwinding happens in low memory conditions which causes unsuccessful memory allocations and because of deep recursion, t

[Bug c++/100231] New: [C++17] Variable template specialization inside a class gives compilation error

2021-04-23 Thread krzyk240 at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krzyk240 at gmail dot com Target Milestone: --- On the following code: ``` template struct X {}; class Foo { template static constexpr inline bool bar = false

[Bug c++/102577] New: Function frame size in relation to variables in conditional subscopes

2021-10-03 Thread krzyk240 at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krzyk240 at gmail dot com Target Milestone: --- Consider the following code: ``` int bar(unsigned short x, int* cache = nullptr) { if (!cache) { int cache[1

[Bug c++/102577] Function frame size in relation to variables in conditional subscopes

2021-10-03 Thread krzyk240 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102577 --- Comment #2 from Krzysztof Małysa --- Could you explain why this is correct? For example, quoting a relevant part of the C++ standard will do. As I said, I couldn't find WHY this is the expected behavior. I need to understand it.

[Bug c++/102577] Function frame size in relation to variables in conditional subscopes

2021-10-08 Thread krzyk240 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102577 Krzysztof Małysa changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVAL