public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/115266] New: [cwg2389] Agreement of deduced and explicitly-specified variable types
@ 2024-05-29  2:33 pinskia at gcc dot gnu.org
  2024-05-29  2:34 ` [Bug c++/115266] " pinskia at gcc dot gnu.org
  2024-05-29 16:41 ` mpolacek at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-29  2:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115266
           Summary: [cwg2389] Agreement of deduced and
                    explicitly-specified variable types
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
            Blocks: 94404
  Target Milestone: ---

GCC rejects this even though it is the defect report makes this valid:
```
  struct S {
    static int i;
  };
  auto S::i = 23;
```


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404
[Bug 94404] [meta-bug] C++ core issues

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

* [Bug c++/115266] [cwg2389] Agreement of deduced and explicitly-specified variable types
  2024-05-29  2:33 [Bug c++/115266] New: [cwg2389] Agreement of deduced and explicitly-specified variable types pinskia at gcc dot gnu.org
@ 2024-05-29  2:34 ` pinskia at gcc dot gnu.org
  2024-05-29 16:41 ` mpolacek at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-29  2:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2389

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

* [Bug c++/115266] [cwg2389] Agreement of deduced and explicitly-specified variable types
  2024-05-29  2:33 [Bug c++/115266] New: [cwg2389] Agreement of deduced and explicitly-specified variable types pinskia at gcc dot gnu.org
  2024-05-29  2:34 ` [Bug c++/115266] " pinskia at gcc dot gnu.org
@ 2024-05-29 16:41 ` mpolacek at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2024-05-29 16:41 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org
   Last reconfirmed|                            |2024-05-29
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

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

end of thread, other threads:[~2024-05-29 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-29  2:33 [Bug c++/115266] New: [cwg2389] Agreement of deduced and explicitly-specified variable types pinskia at gcc dot gnu.org
2024-05-29  2:34 ` [Bug c++/115266] " pinskia at gcc dot gnu.org
2024-05-29 16:41 ` mpolacek at gcc dot gnu.org

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).