[Bug c++/111607] New: False positive -Wdangling-reference

2023-09-27 Thread fiesh at zefix dot tv via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code triggers a `-Wdangling-reference` warning: t.cpp: In function ‘consteval auto f(const V&)’: t.cpp:19:22: warning: possibly dangling reference to a temporary [-Wdang

[Bug c++/110127] -fimplicit-constexpr leads to extremely slow and memory intensive compilation

2023-06-06 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110127 --- Comment #2 from fiesh at zefix dot tv --- Thank you for feedback!

[Bug c++/110127] New: -fimplicit-constexpr leads to extremely slow and memory intensive compilation

2023-06-05 Thread fiesh at zefix dot tv via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Created attachment 55262 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55262=edit Testcase for slow -fimpli

[Bug c++/109785] ICE in begin_maybe_infinite_loop

2023-05-09 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109785 --- Comment #2 from fiesh at zefix dot tv --- (In reply to Martin Liška from comment #1) > Dup. > > *** This bug has been marked as a duplicate of bug 109666 *** Ah thanks, and sorry for the dup. Searched for bagin_maybe_infi

[Bug c++/109785] New: ICE in begin_maybe_infinite_loop

2023-05-09 Thread fiesh at zefix dot tv via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- This code: struct Trans_NS___cxx11_basic_string { constexpr Trans_NS___cxx11_basic_string

[Bug c++/88804] incorrect unused but set static variable in templated lambda

2023-04-26 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88804 fiesh at zefix dot tv changed: What|Removed |Added CC||fiesh at zefix dot tv

[Bug target/105753] [avr] ICE: in add_clobbers, at config/avr/avr-dimode.md:2705

2023-01-31 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105753 --- Comment #13 from fiesh at zefix dot tv --- User99627, a few points: * My test case does require lto to be present. There's nothing to be gained from your statement that the bug doesn't require lto, there are test cases for either case

[Bug target/105753] [avr] ICE: in add_clobbers, at config/avr/avr-dimode.md:2705

2022-12-09 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105753 --- Comment #9 from fiesh at zefix dot tv --- I forgot to mention that my test case requires -flto to be present.

[Bug target/105753] [avr] ICE: in add_clobbers, at config/avr/avr-dimode.md:2705

2022-12-09 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105753 fiesh at zefix dot tv changed: What|Removed |Added CC||fiesh at zefix dot tv

[Bug c++/106212] Code becomes non-constexpr with _GLIBCXX_DEBUG

2022-07-06 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106212 --- Comment #1 from fiesh at zefix dot tv --- Oh and this appears to be a regression introduced in GCC 12.

[Bug c++/106212] New: Code becomes non-constexpr with _GLIBCXX_DEBUG

2022-07-06 Thread fiesh at zefix dot tv via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Consider the following C++20 code: #include struct P { constexpr P(int i) : e{i} {} auto operator<=>(P const &) const = default; std::array e; }; constexpr aut

[Bug c++/105823] New: -Wrestrict / -Wstringop-overflow / -Warray-bounds warnings for uninitialized values

2022-06-02 Thread fiesh at zefix dot tv via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Some of our code when compiled with enough optimization resulted in weird -Wrestrict warnings that I think were somehow

[Bug c++/105821] New: ICE for illegal constexpr-if

2022-06-02 Thread fiesh at zefix dot tv via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code leads to resource exhaustion: namespace a {}; template int r() { if constexpr (a) { return r(); } else { return r<(g + h) / 2, h>(); } } template int

[Bug c++/100485] False positive in -Wmismatched-new-delete

2021-05-10 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100485 --- Comment #7 from fiesh at zefix dot tv --- Thanks for the outline! We'll turn off -Wmismatched-new-delete with GCC 11 and try to switch to the selective opt-out with pragmas in 12. That's a good workaround for now. On a random related note

[Bug c++/100485] False positive in -Wmismatched-new-delete

2021-05-10 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100485 --- Comment #5 from fiesh at zefix dot tv --- > extern "C" void free (void *); > > class Base > { > public: > Base(); > > void * operator new(unsigned long, const int &); > v

[Bug c++/100485] False positive in -Wmismatched-new-delete

2021-05-09 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100485 --- Comment #3 from fiesh at zefix dot tv --- * marking operator delete noinline

[Bug c++/100485] False positive in -Wmismatched-new-delete

2021-05-09 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100485 --- Comment #2 from fiesh at zefix dot tv --- But this isn't really a solution since I can't inline new without moving a lot of code into the header, and marking `operator new` noinline isn't what I want either. I read both articles prior

[Bug c++/100485] New: False positive in -Wmismatched-new-delete

2021-05-08 Thread fiesh at zefix dot tv via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code triggers -Wmismatched-new-delete: extern "C" void free(void *); class Base { public: Base();

[Bug libstdc++/99713] New: Add _GLIBCXX_CHECK_PREDICATES that violates runtime guarantees and ensures predicates are valid

2021-03-22 Thread fiesh at zefix dot tv via Gcc-bugs
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- This is an extension of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60519 A very nasty kind of bugs

[Bug c++/99640] New: Internal compiler error: in lookup_template_class_1, at cp/pt.c:9895

2021-03-18 Thread fiesh at zefix dot tv via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following reduced code results in the internal compiler error mentioned in the subject line: --- class

[Bug libstdc++/99356] New: Recursive std::shared_future:s with std::launch::deferred sporadically deadlock

2021-03-03 Thread fiesh at zefix dot tv via Gcc-bugs
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Trying to sail around 97949, we switched to using std::shared_future combined with std::launch::deferred instead

[Bug libstdc++/97949] New: Recursive calls of std::call_once together with cout leads to deadlock under mingw64

2020-11-23 Thread fiesh at zefix dot tv via Gcc-bugs
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-w64-mingw32.static The following code locks

[Bug c++/92654] [8/9 Regression] internal compiler error: in lookup_template_class_1

2020-08-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 fiesh at zefix dot tv changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution

[Bug c++/92583] [8/9 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15552

2020-08-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92583 fiesh at zefix dot tv changed: What|Removed |Added Resolution|--- |FIXED Status

[Bug c++/78022] constexpr int template rejected unless constructor is used before hand

2020-08-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78022 fiesh at zefix dot tv changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug c++/88242] static_assertion only fires when class is templated

2020-08-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88242 fiesh at zefix dot tv changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug libstdc++/95832] std::vector specialization leading std::variant ctor treating it as int rather than bool

2020-06-23 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95832 --- Comment #7 from fiesh at zefix dot tv --- > Not possible to backport to gcc-10, because the front end support isn't there. That unfortunately means std::variant construction works differently in each of gcc-9, gcc-10 and master. Does

[Bug libstdc++/95832] std::vector specialization leading std::variant ctor treating it as int rather than bool

2020-06-23 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95832 --- Comment #3 from fiesh at zefix dot tv --- I did the former, you do the latter :P

[Bug libstdc++/95832] std::vector specialization leading std::variant ctor treating it as int rather than bool

2020-06-22 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95832 --- Comment #1 from fiesh at zefix dot tv --- https://en.cppreference.com/w/cpp/utility/variant/variant says that "If T_i is (possibly cv-qualified) bool, F(T_i) is only considered if std::decay_t (until C++20)std::remove_cvref_t (since

[Bug libstdc++/95832] New: std::vector specialization leading std::variant ctor treating it as int rather than bool

2020-06-22 Thread fiesh at zefix dot tv
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code returned 1 when compiled with gcc-9 but returns 0 with gcc-10. Since clang exhibits

[Bug c++/93506] New: Create hybrid of -I and -isystem that is like -I but deactivates warnings

2020-01-30 Thread fiesh at zefix dot tv
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Being guilty of abusing -isystem a lot to silence warnings in third-party libraries, it would be great if there were a spin off

[Bug c++/92654] [8/9/10 Regression] internal compiler error: in lookup_template_class_1

2019-11-29 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #9 from fiesh at zefix dot tv --- (In reply to Martin Liška from comment #8) > Ok, GCC newly received a support for __has_builtin, so one needs to > '#define a 0' always. > The ICE started with r259043, before that

[Bug c++/92654] [8/9/10 Regression] internal compiler error: in lookup_template_class_1

2019-11-28 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #7 from fiesh at zefix dot tv --- And creduce just finished: (I left the ifdef unchanged so it can still be compiled under clang.) #ifdef __has_builtin #define a 1 #endif template struct d { typedef b e; constexpr operator e

[Bug c/92663] Add __gcc_has_bug or __gcc_bug_fixed

2019-11-26 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92663 --- Comment #8 from fiesh at zefix dot tv --- Ok, thanks for the feedback!

[Bug c/92663] Add __gcc_has_bug or __gcc_bug_fixed

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92663 --- Comment #6 from fiesh at zefix dot tv --- My suggestion would be to uniformly include the information about whether a bug has been closed, irrespective of its nature. So yes, un-optimal code generation might also be listed, and I think

[Bug c/92663] New: Add __gcc_has_bug or __gcc_bug_fixed

2019-11-25 Thread fiesh at zefix dot tv
Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The former, while logically sounder, seems difficult to implement without adding every single open ticket on GCC's Bugzilla and returning `true` for every non-existent one. So probably

[Bug c++/92654] internal compiler error: in lookup_template_class_1

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #5 from fiesh at zefix dot tv --- Thank you for your offer. The original translation unit is a whopping 20MB and took about 3 days to reduce ;-) I changed the file and the interestingness test to make sure clang compiles it. It's

[Bug c++/92654] internal compiler error: in lookup_template_class_1

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #3 from fiesh at zefix dot tv --- (Or is there some other trick to make it valid apart from extending the interestingness test of creduce to include a clang compilation step?)

[Bug c++/92654] internal compiler error: in lookup_template_class_1

2019-11-25 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 --- Comment #2 from fiesh at zefix dot tv --- It's been made invalid by creduce, but the original code was valid. If necessary, we can try to produce valid code that leads to the same issue. But I'd only do so if necessary since it's somewhat

[Bug c++/92654] New: internal compiler error: in lookup_template_class_1

2019-11-25 Thread fiesh at zefix dot tv
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code results in an internal compiler error in 8, 9, and trunk: namespace a { template struct c {}; template using d = int; template struct e {}; template

[Bug c++/92583] New: internal compiler error: in tsubst_copy, at cp/pt.c:15552

2019-11-19 Thread fiesh at zefix dot tv
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code leads to an internal compiler error with gcc 8, 9, and trunk: template struct a {}; template using b = int; template struct e

[Bug c++/88242] static_assertion only fires when class is templated

2019-10-14 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88242 --- Comment #2 from fiesh at zefix dot tv --- So from the discussion https://bugs.llvm.org/show_bug.cgi?id=41785 I think this also is actually ill-formed code.

[Bug c++/91529] New: -fmerge-all-constants leads to corrupt output without inlining

2019-08-23 Thread fiesh at zefix dot tv
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- (Filed this as C++ but don't think that's the right component.) The following code compiles to a program that behaves as follows: * Compiled

[Bug c++/91351] [9/10 Regression] -fstrict-enums generates incorrect code

2019-08-05 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91351 --- Comment #4 from fiesh at zefix dot tv --- Yeah, it seems the "bad commit" just somehow triggered this behavior.

[Bug c++/91351] -fstrict-enums generates incorrect code

2019-08-05 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91351 --- Comment #1 from fiesh at zefix dot tv --- commit 37db4f8d72cfc87716a729b38aa2f42097cdbf1f Author: glisse Date: Tue Oct 2 14:55:39 2018 + No a*x+b*x factorization for signed vectors 2018-10-02 Marc Glisse PR

[Bug c++/91351] New: -fstrict-enums generates incorrect code

2019-08-05 Thread fiesh at zefix dot tv
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code results in different runtime behavior depending on whether it is compiled with -fstrict-enums or not: #include enum E { e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10

[Bug c++/67371] Never executed "throw" in constexpr function fails to compile

2019-05-11 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67371 fiesh at zefix dot tv changed: What|Removed |Added CC||fiesh at zefix dot tv

[Bug c++/88242] static_assertion only fires when class is templated

2019-03-30 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88242 --- Comment #1 from fiesh at zefix dot tv --- Ran through creduce: template struct b { static constexpr int c = a; }; template struct d {}; template struct j; template struct j> : b {}; template constexpr long h = j::c; template struc

[Bug c++/89304] New: Compiler runs indefinitely

2019-02-12 Thread fiesh at zefix dot tv
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code leads to g++ (and also clang++) running indefinitely. It needs to be compiled with -std=c++17. #include template void p(T const & v) { } template void f(T &&

[Bug c++/78022] constexpr int template rejected unless constructor is used before hand

2018-12-06 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78022 --- Comment #5 from fiesh at zefix dot tv --- The code still does not compile with gcc-8.2 but does compile on trunk now! Conversely, clang consistently refuses to compile it since clang-5. So I guess this can be closed, unless clang

[Bug c++/88242] New: static_assertion only fires when class is templated

2018-11-28 Thread fiesh at zefix dot tv
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code compiles iff -DFIX is supplied. Clang compiles it both with and without -DFIX. Please let me know what else I can do to help debug this problem, I'm

[Bug libstdc++/87855] std::optional only copy-constructible if T is trivially copy-constructible

2018-11-19 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855 --- Comment #12 from fiesh at zefix dot tv --- X(double) : X(X(42)) {} // clang doesn't like this is also enough to show the difference, no need for an operator.

[Bug libstdc++/87855] std::optional only copy-constructible if T is trivially copy-constructible

2018-11-16 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855 --- Comment #6 from fiesh at zefix dot tv --- Again, fixes the issue for me with clang!

[Bug libstdc++/87855] std::optional only copy-constructible if T is trivially copy-constructible

2018-11-02 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855 --- Comment #4 from fiesh at zefix dot tv --- Heh ok, you tricked me ;)

[Bug libstdc++/87855] std::optional only copy-constructible if T is trivially copy-constructible

2018-11-02 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855 --- Comment #2 from fiesh at zefix dot tv --- This fixes the problem. Thank you so much for your effort!

[Bug libstdc++/87855] New: std::optional only copy-constructible if T is trivially copy-constructible

2018-11-01 Thread fiesh at zefix dot tv
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- For a type T that is non-trivially copy constructible, std::optional is not copy constructible. However, only clang catches

[Bug c++/87480] New: SFINAE constructor not matched, only in templated function

2018-10-01 Thread fiesh at zefix dot tv
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following code compiles with gcc <= 7.3 and clang. It also compiles with gcc >= 8 when FIX is defined. It does not compile with gcc >=

[Bug libstdc++/86842] Allow run-time checks of pre- and postconditions

2018-08-03 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86842 fiesh at zefix dot tv changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug libstdc++/86842] Allow run-time checks of pre- and postconditions

2018-08-03 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86842 --- Comment #4 from fiesh at zefix dot tv --- > So I'm strongly opposed to that part of the suggestion. Either you get all > the ABI-preserving debug checks, or none. Checking all (possible) preconditions without any limit on the intr

[Bug libstdc++/86842] Allow run-time checks of pre- and postconditions

2018-08-03 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86842 --- Comment #2 from fiesh at zefix dot tv --- > Not everything. Some Expects preconditions cannot be tested (e.g. that > pointer points to an array of at least N objects). True. I suppose it's sufficient to have that memory accessed (s

[Bug libstdc++/86843] New: Allow separating debug mode into ABI-changing part and rest

2018-08-03 Thread fiesh at zefix dot tv
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Right now, the debug mode changes the ABI. Thus everything that is linked, including libraries, needs to be compiled using debug mode, making

[Bug libstdc++/86842] New: Allow run-time checks of pre- and postconditions

2018-08-03 Thread fiesh at zefix dot tv
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Preface: A rather hard-to-find set of bugs is that introduced by violating run-time preconditions imposed by certain functions. For example, failing to satisfy the Compare

[Bug demangler/85373] Ice in demangler

2018-05-16 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85373 --- Comment #1 from fiesh at zefix dot tv --- The problem is that d_count_templates_scopes calls itself infinitely.

[Bug demangler/85373] New: Ice in demangler

2018-04-12 Thread fiesh at zefix dot tv
: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following leads to cxxfilt running with 100% CPU indefinitely: /tmp/binutils-gdb/binutils (master✗) % echo

[Bug c++/84281] Heap grows indefinitely

2018-02-09 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84281 --- Comment #7 from fiesh at zefix dot tv --- Oh, I just realize I misunderstood what ice-on-invalid means. Sorry about that!

[Bug c++/84281] Heap grows indefinitely

2018-02-08 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84281 --- Comment #5 from fiesh at zefix dot tv --- The test case was reduced from an actual translation unit that stalled our build server. Since the translation unit itself was invalid C++, the test case is too. I think it shouldn't be part

[Bug c++/84281] Heap grows indefinitely

2018-02-08 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84281 --- Comment #2 from fiesh at zefix dot tv --- I guess that depends on the definition of "meaningful". It reproduces the problem, so I'd say yes. ;)

[Bug c++/84281] New: Heap grows indefinitely

2018-02-08 Thread fiesh at zefix dot tv
: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Created attachment 43362 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43362=edit Reduced test case for indefinite heap growth Attached you find a creduced file that triggers the follow

[Bug c++/84197] New: Segmentation fault when setting -g

2018-02-04 Thread fiesh at zefix dot tv
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Created attachment 43335 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43335=edit Reduced file leading to segfault with "g++ -c -std=c++17 -g" Attached you find the

[Bug libstdc++/70129] [6 Regression] stdlib.h: No such file or directory when using -isystem /usr/include

2018-02-01 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 fiesh at zefix dot tv changed: What|Removed |Added CC||fiesh at zefix dot tv

[Bug c++/78022] constexpr int template rejected unless constructor is used before hand

2018-01-30 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78022 --- Comment #3 from fiesh at zefix dot tv --- Interestingly, clang-5 no longer compiles this code: :28:15: error: constexpr variable 'b1' must be initialized by a constant expression constexpr B b1{0

[Bug c++/83482] internal compiler error: Segmentation fault

2017-12-19 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83482 --- Comment #2 from fiesh at zefix dot tv --- Maybe it provides a good test case though since it is triggered by -O2 but not by -Os, like the original bug report?

[Bug c++/83482] New: internal compiler error: Segmentation fault

2017-12-19 Thread fiesh at zefix dot tv
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Created attachment 42914 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42914=edit Preprocessed code triggering segmentation fault The attached file leads to a segmentat

[Bug c++/78022] Strange C++ compilation error

2016-10-18 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78022 --- Comment #1 from fiesh at zefix dot tv --- The same happens with 6.2.1.

[Bug c++/78022] New: Strange C++ compilation error

2016-10-18 Thread fiesh at zefix dot tv
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- The following piece of code does not compile. Since clang 3.8.1 compiles it, and furthermore changes that would appear inconsequential make it compile, I suspect it might be an issue of GCC

[Bug c++/68383] Demangler stack overflow

2016-08-02 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68383 --- Comment #14 from fiesh at zefix dot tv --- It appears to be correct, as far as one can safely judge this by eye examination.

[Bug c++/68383] Demangler stack overflow

2015-11-19 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68383 --- Comment #8 from fiesh at zefix dot tv --- Would it be helpful it I tried to create a test case for 5.2.0? Or anything else I can provide?

[Bug c++/68159] Demangler crash (GDB PR 19190)

2015-11-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68159 fiesh at zefix dot tv changed: What|Removed |Added CC||fiesh at zefix dot tv

[Bug c++/68159] Demangler crash (GDB PR 19190)

2015-11-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68159 --- Comment #5 from fiesh at zefix dot tv --- Ah I see, thanks!

[Bug c++/68383] Demangler stack overflow

2015-11-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68383 --- Comment #2 from fiesh at zefix dot tv --- g++ 4.9.3, I do have the source code and will try to provide a minimal test case.

[Bug c++/68383] Demangler stack overflow

2015-11-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68383 --- Comment #3 from fiesh at zefix dot tv --- Created attachment 36739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36739=edit Preprocessed c++ file

[Bug c++/68383] Demangler stack overflow

2015-11-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68383 --- Comment #4 from fiesh at zefix dot tv --- I added a preprocessed file that triggers the bug. It was created using g++ -I. -std=c++14 -E -o write.ii write.cpp and can be compiled and linked using g++ -std=c++14 -o write write.ii

[Bug c++/66769] internal compiler error: Segmentation fault

2015-07-06 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66769 --- Comment #3 from fiesh at zefix dot tv --- Better, self contained problem case: class A { void f(int a); int g(); }; void A::f(int a) {} int A::g() { auto r = [] (auto x) { f(*x); }; int * p; r(p); }

[Bug c++/66769] internal compiler error: Segmentation fault

2015-07-06 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66769 --- Comment #2 from fiesh at zefix dot tv --- A friend checked for me, 5.1.0 also appears affected.

[Bug c++/66769] New: internal compiler error: Segmentation fault

2015-07-05 Thread fiesh at zefix dot tv
++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Created attachment 35914 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35914action=edit Preprocessed test case The following simple C++14 program leads to a segmentation fault

[Bug c++/66769] internal compiler error: Segmentation fault

2015-07-05 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66769 --- Comment #1 from fiesh at zefix dot tv --- Sorry, the above output was for 4.9.2 on a different host, mixed up when I ran several tests. For 4.9.3: Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/g++ Target: x86_64

[Bug c++/63356] Compilation failure where clang does not have problems

2015-03-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356 --- Comment #15 from fiesh at zefix dot tv --- Boost 1.58.0 has a workaround by making one function explicit. (https://github.com/boostorg/polygon/commit/634aa3de29d63dcf02a478ca2b5045c5e9ccb7e0) Since this means the bug becomes irrelevant

[Bug c++/63356] Compilation failure where clang does not have problems

2015-01-30 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356 --- Comment #14 from fiesh at zefix dot tv --- Bounty: EUR 150 I'd like to try something new and place a bounty on this issue. In order to collect it, you have to provide a patch that is accepted into 4.9 and 5. You also need to be able

[Bug c++/63356] Compilation failure where clang does not have problems

2015-01-11 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356 --- Comment #13 from fiesh at zefix dot tv --- Are there any news on this bug? At least for us, this keeps production code from being able to work with any boost 1.55, which is becoming an increasingly bigger issue.

[Bug c++/63356] New: Compilation failure where clang does not have problems

2014-09-24 Thread fiesh at zefix dot tv
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv I originally filed this as a boost bug: https://svn.boost.org/trac/boost/ticket/10531 However, given that clang 3.4.2 has no problems compiling it, I suspect it might be a gcc issue. In short

[Bug c++/63356] Compilation failure where clang does not have problems

2014-09-24 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356 --- Comment #3 from fiesh at zefix dot tv --- I wanted to, but the problem is that the ii file is 2.7MB, more than the maximum allowed file size of 1000KB. Should I upload it to a different site? Also I just realized that the problem only

[Bug c++/63356] Compilation failure where clang does not have problems

2014-09-24 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356 --- Comment #9 from fiesh at zefix dot tv --- Ever so little simplified: struct A {}; template typename _B1 struct B : _B1 {}; template typename _Tp _Tp declval(); template typename _From, typename _To struct C { template typename _From1