[Bug c++/110765] [13 regression] constraints on parameters of derived type in CRTP base

2023-07-21 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110765 --- Comment #2 from Hannes Hauswedell --- Thanks for the quick reply. I agree it is the same problem.

[Bug c++/110765] New: [13 regression] constraints on parameters of derived type in CRTP base

2023-07-21 Thread h2+bugs at fsfe dot org via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 55595 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55595=edit GCC12's intermediate code; build with -

[Bug c++/109425] mismatched argument pack lengths while expanding

2023-04-05 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109425 --- Comment #2 from Hannes Hauswedell --- Thanks for the quick reply, and nice that it is already fixed for 13! I assume this will not be backported? It wouldn't be a huge problem, because it is possible to workaround with non-friend

[Bug c++/109425] New: mismatched argument pack lengths while expanding

2023-04-05 Thread h2+bugs at fsfe dot org via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- The following snippet is rejected by GCC10, GCC11 and GCC12: ```cpp #include template concept weakly_eq_comparable = requires (T1 t1, T2 t2) { { t1 == t2 } ->

[Bug libstdc++/107471] mismatching constraints in common_iterator

2022-10-31 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107471 --- Comment #2 from Hannes Hauswedell --- Great, thanks!

[Bug libstdc++/107471] New: mismatching constraints in common_iterator

2022-10-31 Thread h2+bugs at fsfe dot org via Gcc-bugs
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- In bits/stl_iterator.h: ```cpp /// An iterator/sentinel adaptor for representing a non-common range. template _Sent> requires (!same_as<_It, _Sent>) &a

[Bug c++/107470] New: GCC falsely accepts friend declaration with mismatching requirements

2022-10-31 Thread h2+bugs at fsfe dot org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- #include template requires std::unsigned_integral struct S { template // template friend class S; }; int main

[Bug c++/107202] New: inheriting assignment operators from CRTP-base

2022-10-10 Thread h2+bugs at fsfe dot org via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- I stumbled over the following: ```cpp #define OPTION 0 // or 1-4 template struct Base { Base() = default; Base(Base const &) = default; Base(

[Bug c++/107104] semantics of __builtin_constant_p within static_assert and return value

2022-10-03 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107104 Hannes Hauswedell changed: What|Removed |Added CC||h2+bugs at fsfe dot org

[Bug libstdc++/106669] incorrect definition of viewable_range ("more madness with move-only views")

2022-08-24 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106669 Hannes Hauswedell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/106669] incorrect definition of viewable_range ("more madness with move-only views")

2022-08-18 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106669 --- Comment #1 from Hannes Hauswedell --- This affects GCC 10.4 and GCC 11.3 since move-only views were backported. The following part of the draft standard also needs changing: https://eel.is/c++draft/range.all#general-2.1 --->

[Bug c++/106669] New: incorrect definition of viewable_range ("more madness with move-only views")

2022-08-17 Thread h2+bugs at fsfe dot org via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- In GCC12.1 we now have ranges that are views, but whose references aren't viewable. See the code below. Before

[Bug libstdc++/106320] [10 regression] build failure (due to view requirement changes?)

2022-07-22 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106320 --- Comment #8 from Hannes Hauswedell --- Thanks a lot for fixing this in a way that preserves the backport <3

[Bug c++/106369] [12/13 Regression] ICE in output_constructor_regular_field, at varasm.cc:5515

2022-07-21 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106369 --- Comment #5 from Hannes Hauswedell --- I have found a workaround for my code: template -class aminoacid_base : public alphabet_base, public aminoacid_empty_base +class aminoacid_base : public aminoacid_empty_base, public alphabet_base

[Bug c++/106369] New: ICE in output_constructor_regular_field, at varasm.cc:5515

2022-07-20 Thread h2+bugs at fsfe dot org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 53322 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53322=edit backtrace Also reproducible with GCC-10.3 (varas

[Bug c++/106320] New: [10 regression] build failure (due to view requirement changes?)

2022-07-15 Thread h2+bugs at fsfe dot org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- The following snippet builds on GCC10.3, GCC11.3, GCC12.1 and even MSVC 19.32. It no longer builds on GCC10.4. This might be related

[Bug c++/106202] New: internal compiler error: in move_fn_p, at cp/decl.cc:14907

2022-07-05 Thread h2+bugs at fsfe dot org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 53259 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53259=edit backtrace ICE when using generated comparison operat

[Bug c++/101803] CTAD fails for nested designated initializers

2022-06-02 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101803 --- Comment #8 from Hannes Hauswedell --- OK, thank you anyway!

[Bug c++/101803] CTAD fails for nested designated initializers

2022-05-31 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101803 --- Comment #6 from Hannes Hauswedell --- Since it seems like 10.4 is around the corner... any chance this will make it? Thanks a lot!

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-05-31 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 --- Comment #19 from Hannes Hauswedell --- Thanks a lot!

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-02-08 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 --- Comment #11 from Hannes Hauswedell --- (In reply to Jonathan Wakely from comment #9) > (In reply to Hannes Hauswedell from comment #8) > > Hi, I wanted to ask politely whether you have discussed this issue and came > > to a conclusion? > >

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-02-08 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 --- Comment #8 from Hannes Hauswedell --- Hi, I wanted to ask politely whether you have discussed this issue and came to a conclusion? It if it is still being discussed, can you at least "confirm" this issue and put it on some list for the

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-01-04 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 --- Comment #6 from Hannes Hauswedell --- Yes, I understand that, and I know that it is your role to uphold these rules (which I believe make a lot of sense in general) and that you have other interests to consider beyond mine :) I would still

[Bug libstdc++/103904] [defect fix] Please backport P2325R3 to 10 and 11

2022-01-04 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103904 --- Comment #4 from Hannes Hauswedell --- Well... we also try to avoid breaking changes in the standard ^^ The thing is that code that relies on the old definition will break one way or another (and independent of compiler flags). The longer

[Bug c++/103904] New: [defect fix] Please backport P2325R3 to 10 and 11

2022-01-04 Thread h2+bugs at fsfe dot org via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Views are no longer required to be default-initializable [P2325R3]. This has apparently been fixed on current trunk, but GCC11.2 and GCC10.3 still fail at this example

[Bug c++/101803] CTAD fails for nested designated initializers

2021-11-26 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101803 --- Comment #5 from Hannes Hauswedell --- Thanks a lot for the fix! Any chance this will make into the 10.x branch?

[Bug c++/101803] New: CTAD fails for nested designated initializers

2021-08-06 Thread h2+bugs at fsfe dot org via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- See the code below. Two initializing statements fail to build, although they shouldn't influence CTAD of the outer type at all (IMHO). struct Inner { int i = 0; }; struct

[Bug target/101696] Function multiversioning not usable with new x86-64-v*

2021-08-03 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101696 --- Comment #2 from Hannes Hauswedell --- What do you mean with "It doesn't work this way"? Maybe I wasn't clear in my original post; I am not interested in a dispatching mechanism for the application, I just want to have an mini-application

[Bug c/101696] New: Function multiversioning not usable with new x86-64-v*

2021-07-30 Thread h2+bugs at fsfe dot org via Gcc-bugs
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- I really like the new feature levels, so I have created the respective binaries for an application. I now want to dispatch to the correct one, so I thought the easiest

[Bug c++/92778] [8/9 regression] ICE: Illegal instruction signal terminated program cc1plus

2020-01-24 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 --- Comment #6 from Hannes Hauswedell --- Ok, the ICE on Linux is a different one. This particular ICE happens only on FreeBSD. I have rebuilt GCC9 from source with fullbootstrap and without any -march settings. The problem remains. What can I

[Bug c++/92778] ICE: Illegal instruction signal terminated program cc1plus

2020-01-23 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 Hannes Hauswedell changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #5

[Bug c++/92778] ICE: Illegal instruction signal terminated program cc1plus

2019-12-03 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 --- Comment #4 from Hannes Hauswedell --- Thanks for the quick reply, Jonathan! I am familiar with the error in general, but I am using vanilla packages by the vendor (FreeBSD) which should not have any funky optimisations. Also, my colleague

[Bug c++/92778] ICE: Illegal instruction signal terminated program cc1plus

2019-12-03 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 --- Comment #1 from Hannes Hauswedell --- Here is the intermediate code: https://hauswedell.net/lambda.ii.xz

[Bug c++/92778] New: ICE: Illegal instruction signal terminated program cc1plus

2019-12-03 Thread h2+bugs at fsfe dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- The beautiful intermediate code that I attached (Yes, I know it's huge), ICEs with the very non-descriptive message of: g++9: internal compiler

[Bug c++/92480] Parameters in consteval functions should be constant expressions.

2019-11-12 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92480 Hannes Hauswedell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/92480] New: Parameters in consteval functions should be constant expressions.

2019-11-12 Thread h2+bugs at fsfe dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Great to see that immediate functions have already landed! But compiling the following on godbolt with gcc-trunk fails: consteval int

[Bug c++/92441] [10 regression] ICE: in strip_typedefs, at cp/tree.c:1681

2019-11-12 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92441 --- Comment #2 from Hannes Hauswedell --- (In reply to Martin Liška from comment #1) > Can you please provide full command line of the GCC? g++10 -std=c++17 -fconcepts dna4_test.ii This triggers the ICE as mentioned in the original report. For

[Bug c++/92441] New: [10-regression] ICE: in strip_typedefs, at cp/tree.c:1681

2019-11-10 Thread h2+bugs at fsfe dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 47206 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47206=edit intermediate code Intermediate code is attached. Bu

[Bug c++/88075] [feature-request] allow "concept" instead of "concept bool" with -fconcepts

2019-11-05 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88075 --- Comment #6 from Hannes Hauswedell --- (In reply to Jason Merrill from comment #5) > Author: jason > Date: Tue Nov 5 11:46:54 2019 > New Revision: 277825 > > URL: https://gcc.gnu.org/viewcvs?rev=277825=gcc=rev > Log: > PR c++/88075 -

[Bug c++/83083] c++2a concepts without -fconcepts

2019-11-01 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83083 Hannes Hauswedell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/91930] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:2423 with -fconcepts

2019-10-31 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91930 --- Comment #6 from Hannes Hauswedell --- I can confirm that my problem is not fixed by the patch from this PR. Do you want me to open a new issue or will this be reopened?

[Bug c++/91930] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:2423 with -fconcepts

2019-10-31 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91930 Hannes Hauswedell changed: What|Removed |Added CC||h2+bugs at fsfe dot org --- Comment

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-22 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #6 from Hannes Hauswedell --- To make the test only complain about the current issue, change line 20 in include/seqan3/std/span to ``` #if 0 ``` Regards, Hannes

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-22 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #5 from Hannes Hauswedell --- (In reply to Marek Polacek from comment #4) > (In reply to Hannes Hauswedell from comment #2) > > Any news on this issue? We are using this pattern in some rather central > > files in our library and the

[Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array

2019-10-21 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Hannes Hauswedell changed: What|Removed |Added CC||h2+bugs at fsfe dot org --- Comment

[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088

2019-09-24 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #8 from Hannes Hauswedell --- Anything I can do to help resolve this? We have library code that breaks because of the issue and since 9.2 is deployed everywhere that 9.1 was used, this is very disruptive... Thank you!

[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088

2019-09-16 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #7 from Hannes Hauswedell --- Any news here? It's still marked unconfirmed. Thank you!

[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088

2019-08-31 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #5 from Hannes Hauswedell --- > (In reply to Marek Polacek from comment #4) > The ICE was fixed by r266816. But not for GCC9? I can confirm that GCC 9.2.1 snapshot from 20190817 still triggers the bug.

[Bug c++/91608] [10 warning] wrong comma-subscript warning

2019-08-30 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91608 --- Comment #2 from Hannes Hauswedell --- I am on the following snapshot > g++10 (FreeBSD Ports Collection) 10.0.0 20190818 (experimental) so I am likely not entirely up to date! If it has been fixed already, we can close this of course!

[Bug c++/88075] [feature-request] allow "concept" instead of "concept bool" with -fconcepts

2019-08-30 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88075 --- Comment #3 from Hannes Hauswedell --- Any news on this? (I don't know if GCC7 is scheduled to have a patch release at all anymore, but if yes, it would still be great to have this...)

[Bug c++/91608] New: [10 warning] wrong comma-subscript warning

2019-08-30 Thread h2+bugs at fsfe dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- With gcc10 and std=c++2a I am seeing error: top-level comma expression in array subscript is deprecated [-Werror=comma-subscript] on return names[meta::find_index::value

[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088

2019-08-30 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #3 from Hannes Hauswedell --- Created attachment 46790 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46790=edit intermediate code generated from GCC10

[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088

2019-08-30 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #2 from Hannes Hauswedell --- Created attachment 46789 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46789=edit intermediate code generated from GCC9

[Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088

2019-08-30 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 --- Comment #1 from Hannes Hauswedell --- Created attachment 46788 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46788=edit intermediate code generated from GCC8

[Bug c++/91607] New: [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088

2019-08-30 Thread h2+bugs at fsfe dot org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 46787 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46787=edit intermediate code generated from G

[Bug c++/86521] [8 Regression] GCC 8 selects incorrect overload of ref-qualified conversion operator template

2019-06-18 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521 --- Comment #12 from Hannes Hauswedell --- Is this resolved for GCC 8.4 now?

[Bug c++/90897] New: user defined conversion operators ambiguous in GCC8, but not GCC7 and GCC9

2019-06-17 Thread h2+bugs at fsfe dot org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- The rather simple example below fails to build on GCC8 in C++17 mode, but passes on GCC7, GCC9 and trunk in C++17 mode. It fails

[Bug c++/89953] ICE in nothrow_spec_p, at cp/except.c:1244

2019-04-27 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89953 Hannes Hauswedell changed: What|Removed |Added CC||h2+bugs at fsfe dot org --- Comment

[Bug c++/88075] [feature-request] allow "concept" instead of "concept bool" with -fconcepts

2019-04-12 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88075 --- Comment #1 from Hannes Hauswedell --- I see that this has changed for snapshots of GCC9 now, thanks a lot! Is this something you can backport to to GCC7 and GCC8 that would really help downstream projects to reduce needless use of MACROs!

[Bug libstdc++/89194] [9 regression] build failure with libstdc++ with std=c++2a

2019-02-04 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89194 --- Comment #1 from Hannes Hauswedell --- Created attachment 45600 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45600=edit ii generated with -std=c++2a

[Bug libstdc++/89194] New: [9 regression] build failure with libstdc++ with std=c++2a

2019-02-04 Thread h2+bugs at fsfe dot org
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 45599 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45599=edit ii generated with -std=c++17 I have a library t

[Bug c++/89191] New: [9 regression] ICE in reshape_init_r, at cp/decl.c:6172

2019-02-04 Thread h2+bugs at fsfe dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 45597 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45597=edit intermediate file Building a test case in our repo with G

[Bug libstdc++/89117] New: [9 regression] filesystem::path's replace_extension() broken?

2019-01-30 Thread h2+bugs at fsfe dot org
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- In GCC9 a call to replace_extension() no longer removes the extension from a filesystem::path. This leads to very unexpected behaviour

[Bug c++/89089] [9 regression] various ICEs in range-v3's 1.0 branch

2019-01-29 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89089 --- Comment #10 from Hannes Hauswedell --- Thanks for the quick fix!

[Bug c++/89089] [9 regression] various ICEs in range-v3's 1.0 branch

2019-01-28 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89089 --- Comment #5 from Hannes Hauswedell --- PS: I do have to correct myself: since range-v3 now auto-detects concept support the tests are indeed built with -fconcepts.

[Bug c++/89089] [9 regression] various ICEs in range-v3's 1.0 branch

2019-01-28 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89089 --- Comment #4 from Hannes Hauswedell --- Created attachment 45541 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45541=edit third ICE g++9 -std=c++17 -fconcepts -Wall -Wextra take_while.cpp

[Bug c++/89089] [9 regression] various ICEs in range-v3's 1.0 branch

2019-01-28 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89089 --- Comment #3 from Hannes Hauswedell --- Created attachment 45540 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45540=edit second ICE g++9 -std=c++17 -fconcepts -Wall -Wextra concat.cpp

[Bug c++/89089] [9 regression] various ICEs in range-v3's 1.0 branch

2019-01-28 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89089 --- Comment #2 from Hannes Hauswedell --- Created attachment 45539 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45539=edit first ICE Build with: g++9 -std=c++17 -fconcepts -Wall -Wextra variant.cpp

[Bug c++/89089] New: [9 regression] various ICEs in range-v3's 1.0 branch

2019-01-28 Thread h2+bugs at fsfe dot org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- The 1.0-beta branch of the range-v3 library triggers various (seemingly different) ICEs in GCC9. GCC7 and GCC8 seem not affected. This is even without -std=c++2a

[Bug libstdc++/78968] conflict between gnu's __cxa_thread_atexit and LLVM's/FreeBSD's implementation

2018-11-19 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78968 Hannes Hauswedell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/88075] New: [feature-request] allow "concept" instead of "concept bool" with -fconcepts

2018-11-18 Thread h2+bugs at fsfe dot org
D Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Concepts in C++20 are happening and the overlap with the concepts TS is very significant which opens the

[Bug c++/83083] c++2a concepts without -fconcepts

2018-10-18 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83083 --- Comment #1 from Hannes Hauswedell --- *polite ping* Any chance this will change for gcc9? I know some changes are pending for the San Diego WG21 meeting, but these are only additions to what is already merged in the DS. It would be great to

[Bug c++/68093] [concepts] friend function declarations that differ only by constraints are rejected as redefinitions

2018-08-16 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68093 Hannes Hauswedell changed: What|Removed |Added CC||h2+bugs at fsfe dot org --- Comment

[Bug c++/86978] New: constraints for friend functions ignored

2018-08-16 Thread h2+bugs at fsfe dot org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Take the following code: template struct S { template requires false friend void foobar(S, t2) {} }; int main() { foobar(S{}, int{}); } Obviously

[Bug c++/86588] peculiar build issue using range-v3

2018-07-19 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86588 --- Comment #1 from Hannes Hauswedell --- Created attachment 44410 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44410=edit intermediate file build with -std=c++17 -fconcepts

[Bug c++/86588] New: peculiar build issue using range-v3

2018-07-19 Thread h2+bugs at fsfe dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- I have attached a code sample below and will provide an intermediate file that shows that various forms of initialisation fail to build, while equivalent (at least some) pass [all

[Bug c++/86368] an unknown [[attribute]] should not trigger a warning in C++17

2018-07-03 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86368 --- Comment #3 from Hannes Hauswedell --- (In reply to Jonathan Wakely from comment #2) > It might be reasonable for GCC to silently ignore attributes that use an > unrecognized attribute-namespace. If somebody uses [[clang::foobar]] or >

[Bug c++/86368] New: an unknown [[attribute]] should not trigger a warning in C++17

2018-06-30 Thread h2+bugs at fsfe dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- [this issue is split from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 ] Unknown attributes currently produce warnings in GCC

[Bug c++/86243] unknown attribute before throw causes hard error

2018-06-30 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 Hannes Hauswedell changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/86269] New: ICE with intermediate concepts notation

2018-06-21 Thread h2+bugs at fsfe dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- The following small example which is valid according to the current draft standard (not just the Concepts TS, with the exception of the bool keyword): #include template

[Bug c++/86243] unknown attributes causing hard error

2018-06-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 --- Comment #2 from Hannes Hauswedell --- (In reply to Jonathan Wakely from comment #1) > (In reply to Hannes Hauswedell from comment #0) > > Note that I am not even setting -Wall or -Wextra. > > As documented, -Wattributes is enabled by

[Bug c++/86243] New: unknown attributes causing hard error

2018-06-20 Thread h2+bugs at fsfe dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- The following code (based on http://open-std.org/JTC1/SC22/WG21/docs/papers/2017/p0479r1.html) int main() { if (1 == 2) [[unlikely]] throw int{}; return 2; } produces

[Bug c++/86212] ICE in tsubst_copy, at cp/pt.c:15935

2018-06-19 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86212 --- Comment #1 from Hannes Hauswedell --- Created attachment 44294 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44294=edit second intermediate file

[Bug c++/86212] New: ICE in tsubst_copy, at cp/pt.c:15935

2018-06-19 Thread h2+bugs at fsfe dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 44293 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44293=edit rename to .gz and gunzip % uname -a FreeBSD 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov

[Bug c++/84925] ICE with segfault in __PRETTY_FUNCTION__ (regression over gcc-7)

2018-03-17 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84925 --- Comment #1 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- Created attachment 43693 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43693=edit intermediate file from crash

[Bug c++/84925] New: ICE with segfault in __PRETTY_FUNCTION__ (regression over gcc-7)

2018-03-17 Thread h2+bugs at fsfe dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 43692 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43692=edit code that crashes gcc-8 I have attached a test.

[Bug c++/84855] structered bindings require "decomposed" type to be copy'able

2018-03-14 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84855 --- Comment #5 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- Sure, that follows from the definition "For each identifier, a variable whose type is "reference to std::tuple_element<i, E>::type" is intr

[Bug c++/84855] structered bindings require "decomposed" type to be copy'able

2018-03-14 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84855 --- Comment #2 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- Thanks for your explanation, I went to through cppreferences again and the behaviour is now clear to me, although I still wonder why in the case of an lvalue as "input

[Bug c++/84855] New: structered bindings require "decomposed" type to be copy'able

2018-03-13 Thread h2+bugs at fsfe dot org
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Created attachment 43647 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43647=edit example If I do foobar f; // has tuple-l

[Bug ipa/83411] function multiversioning should clone the entire sub-callgraph

2017-12-18 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83411 --- Comment #3 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- I agree that the problem is related, I don't however think that solving PR82625 will solve the problem, as it would require me to multiversion every function in m

[Bug tree-optimization/83411] New: function multiversioning should clone the entire sub-callgraph

2017-12-13 Thread h2+bugs at fsfe dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- [is this component entry correct?] The documentation of FMV states: This aim of this project is to make it really easy

[Bug c++/81276] Function multiversioning doesn't work with C++ templates

2017-12-13 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81276 Hannes Hauswedell <h2+bugs at fsfe dot org> changed: What|Removed |Added CC| |h

[Bug c++/83083] New: c++2a concepts without -fconcepts

2017-11-20 Thread h2+bugs at fsfe dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- Currently GCC offers the Concepts TS via -fconcepts, but it doesn't seem to offer the modified/reduced Concepts merged into C++2a. For forward compatibility checks of existing code and also

[Bug libgcc/82635] std::thread's join broken on FreeBSD with all GCCs >= 5

2017-11-01 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635 --- Comment #13 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- (In reply to Andreas Tobler from comment #12) > Will soon commit a fix, for gcc6/7/8 on FreeBSD > 9.3. Older gcc's and OS > releases will not be supported by th

[Bug libgcc/82635] std::thread's join broken on FreeBSD with all GCCs >= 5

2017-10-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635 --- Comment #10 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- > Could you please tell us the FreeBSD version and arch you run on? uname -ra FreeBSD celegans.imp.fu-berlin.de 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul

[Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5

2017-10-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635 --- Comment #6 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- Sorry, I forgot the stack trace. It wasn't helpful to me: (gdb) bt #0 uw_frame_state_for (context=context@entry=0x801c00e20, fs=fs@entry=0x801c00b70) at /wrkdirs/usr/port

[Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5

2017-10-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635 --- Comment #4 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- > the complete command line that triggers the bug; /usr/local/bin/g++7 -Wl,-rpath -Wl,/usr/local/lib/gcc7/ -std=c++11 -pthread test_thread.cpp (g++7 could be g++6 g++

[Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5

2017-10-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635 --- Comment #1 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- Created attachment 42411 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42411=edit test program

[Bug c++/82634] C++11 std::thread::join

2017-10-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82634 Hannes Hauswedell <h2+bugs at fsfe dot org> changed: What|Removed |Added Status|UNCONFIRMED |RE

[Bug c++/82635] New: std::thread's join broken on FreeBSD with all GCCs >= 5

2017-10-20 Thread h2+bugs at fsfe dot org
mal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- See the attached code. It compiles "fine" everywhere, but the resulting binary crashes in some situations: It runs fine on all compi

  1   2   >