[Bug c++/77598] New: consexpr compilation failure on reference type casting

2016-09-15 Thread bobk-off at yandex dot ru
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bobk-off at yandex dot ru Target Milestone: --- Compiler fails on type casting of reference during constexpr processing. This bug is actual for GCC-ARM 4.8.2+ compilers, and GCC-X86-64 5.3+ compilers (tested

[Bug c++/78609] New: invalid member's visibility detection in constexpr

2016-11-30 Thread bobk-off at yandex dot ru
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bobk-off at yandex dot ru Target Milestone: --- All known for me version of gcc failed to compile following code with error " error: 'char A::data [28]' is private". clang compiles ok. Looks like compiler i

[Bug c++/78609] invalid member's visibility detection in constexpr

2016-11-30 Thread bobk-off at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78609 --- Comment #1 from Fedor Bobkov --- To walk around this bug just change visibility of "data" member to public.

[Bug c++/81474] New: out of memory on constexpr calculation

2017-07-18 Thread bobk-off at yandex dot ru
++ Assignee: unassigned at gcc dot gnu.org Reporter: bobk-off at yandex dot ru Target Milestone: --- Code below cause "cc1plus.exe: out of memory allocating 65536 bytes" error on gcc 6.3.0 for ARM (32bit version). During compilation memory usage grows to 2GB, after it c

[Bug c++/81781] New: consexpr pointer comparsion error

2017-08-09 Thread bobk-off at yandex dot ru
++ Assignee: unassigned at gcc dot gnu.org Reporter: bobk-off at yandex dot ru Target Milestone: --- Any gcc version cannot compile code below with error: '((& std::integral_constant<int, 5>::value) == (& std::integral_constant<int, 10>::value))' is not a constant exp

[Bug c++/81474] out of memory on constexpr calculation

2017-09-12 Thread bobk-off at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81474 --- Comment #2 from Fedor Bobkov --- Thread-starting example is intended only for demonstration of out of memory error on simply example. In real projects out of memory error occurs with much smaller loops which just use bigger amount of data.

[Bug c++/81474] out of memory on constexpr calculation

2017-09-12 Thread bobk-off at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81474 --- Comment #4 from Fedor Bobkov --- > Can you please elaborate it more? We're interested in a test-case for that ;) I'll try to make simplified code of this app as soon as possible.

[Bug c++/113809] New: Error of constexpr variable creation due to combined use of std::tuple, copy constructor and static function

2024-02-07 Thread bobk-off at yandex dot ru via Gcc-bugs
: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bobk-off at yandex dot ru Target Milestone: --- Compiler reports following error on code below: in 'constexpr