https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288
--- Comment #9 from Fabio Alemagna ---
(In reply to Patrick Palka from comment #8)
> The issue was probably latent before r6-6830. The testcase is kind of
> strange,
It's the "friend injection" technique. In this case, it's used to create a
co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288
--- Comment #7 from Fabio Alemagna ---
(In reply to Marek Polacek from comment #6)
> (In reply to Andrew Pinski from comment #5)
> > (In reply to Fabio Alemagna from comment #4)
> > > (In reply to Marek Polacek from comment #2)
> > > > Confirmed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288
--- Comment #4 from Fabio Alemagna ---
(In reply to Marek Polacek from comment #2)
> Confirmed. Started with r6-6830-g20a0c6f9bdbd78:
>
> commit 20a0c6f9bdbd781ed5d413a10a06764a174dc394
> Author: Patrick Palka
> Date: Mon Feb 8 23:02:50 201
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288
Fabio Alemagna changed:
What|Removed |Added
Attachment #56472|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288
Bug ID: 112288
Summary: internal compiler error: in instantiate_decl, at
cp/pt.cc:26861
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112267
--- Comment #4 from Fabio Alemagna ---
With a tweak(In reply to Andrew Pinski from comment #3)
> (In reply to Fabio Alemagna from comment #1)
> > Changing the return type of the function func() from int to auto makes the
> > warning disappear.
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112267
--- Comment #2 from Fabio Alemagna ---
Sorry, "from int to auto" should have been "from bool to auto". You get the
point.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112267
--- Comment #1 from Fabio Alemagna ---
Changing the return type of the function func() from int to auto makes the
warning disappear.
Incidentally it causes an error on clang, though, which prompts the question:
is this a clang bug, for erroring
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112267
Bug ID: 112267
Summary: "inline function constexpr used but never defined"
warning in SFINAE context
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: n
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109728
--- Comment #2 from Fabio Alemagna ---
Yes, clang handles this case correctly.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109728
Bug ID: 109728
Summary: lambda capture with initializer doesn't compile
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108089
Fabio Alemagna changed:
What|Removed |Added
Known to work||11.3.0
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108089
Bug ID: 108089
Summary: False positive for -Wfree-nonheap-object when using
std::variant
Product: gcc
Version: 12.1.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108088
Bug ID: 108088
Summary: False positive for -Wfree-nonheap-object when using
std::variant
Product: gcc
Version: 12.1.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105908
Bug ID: 105908
Summary: out-of-class definition of templated method with
decltype in trailing return type fails to compile
Product: gcc
Version: 12.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89565
--- Comment #4 from Fabio Alemagna ---
Just encountered this bug myself, with trunk gcc (11.0.1 20210321
(experimental)).
See godbolt: https://godbolt.org/z/TxW137Whh
16 matches
Mail list logo