public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105734] New: Regression: Incorrect "error: invalid use of 'auto'"
@ 2022-05-26  4:30 llvm at rifkin dot dev
  2022-05-26  4:46 ` [Bug c++/105734] " llvm at rifkin dot dev
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: llvm at rifkin dot dev @ 2022-05-26  4:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105734

            Bug ID: 105734
           Summary: Regression: Incorrect "error: invalid use of 'auto'"
           Product: gcc
           Version: 12.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: llvm at rifkin dot dev
  Target Milestone: ---

The following code errors erroneously: https://godbolt.org/z/68vYYj8cc

A more minimal reproducible example is here: https://godbolt.org/z/f75Yx7K57.
Interestingly the error only manifests in conjunction with the explicit
destructor call.

This came up in conjunction with a library doing a lot of TMP shenanigans, I
will try to make a more minimal standalone reproducible example.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-06-01 23:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26  4:30 [Bug c++/105734] New: Regression: Incorrect "error: invalid use of 'auto'" llvm at rifkin dot dev
2022-05-26  4:46 ` [Bug c++/105734] " llvm at rifkin dot dev
2022-05-26  5:03 ` pinskia at gcc dot gnu.org
2022-05-26  5:03 ` pinskia at gcc dot gnu.org
2022-05-26  5:05 ` [Bug c++/105734] [12/13 Regression]: Incorrect "error: invalid use of 'auto'" for explicit destructor inside a template pinskia at gcc dot gnu.org
2022-05-26  5:07 ` pinskia at gcc dot gnu.org
2022-05-26  5:09 ` pinskia at gcc dot gnu.org
2022-05-26  7:42 ` redi at gcc dot gnu.org
2022-05-26  7:59 ` redi at gcc dot gnu.org
2022-05-26 15:34 ` llvm at rifkin dot dev
2022-05-27  2:32 ` llvm at rifkin dot dev
2022-05-27  6:27 ` rguenth at gcc dot gnu.org
2022-05-31 20:25 ` jason at gcc dot gnu.org
2022-06-01 19:21 ` cvs-commit at gcc dot gnu.org
2022-06-01 19:53 ` cvs-commit at gcc dot gnu.org
2022-06-01 19:54 ` jason at gcc dot gnu.org
2022-06-01 23:13 ` llvm at rifkin dot dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).