public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected
       [not found] <bug-78244-4@http.gcc.gnu.org/bugzilla/>
@ 2021-09-16 21:42 ` pinskia at gcc dot gnu.org
  2022-03-07 15:53 ` ppalka at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-16 21:42 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 102379 has been marked as a duplicate of this bug. ***

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

* [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected
       [not found] <bug-78244-4@http.gcc.gnu.org/bugzilla/>
  2021-09-16 21:42 ` [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected pinskia at gcc dot gnu.org
@ 2022-03-07 15:53 ` ppalka at gcc dot gnu.org
  2022-04-29 13:39 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-03-07 15:53 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=57943,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=104823

--- Comment #14 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Looks like the comment #11 and comment #12 testcases are fixed for GCC 11 by
r11-434.  But recently for GCC 12 we stopped diagnosing the narrowing
conversion in f5, I reported that as PR104823.

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

* [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected
       [not found] <bug-78244-4@http.gcc.gnu.org/bugzilla/>
  2021-09-16 21:42 ` [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected pinskia at gcc dot gnu.org
  2022-03-07 15:53 ` ppalka at gcc dot gnu.org
@ 2022-04-29 13:39 ` cvs-commit at gcc dot gnu.org
  2022-04-29 13:40 ` mpolacek at gcc dot gnu.org
  2022-10-31 19:15 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-04-29 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Marek Polacek <mpolacek@gcc.gnu.org>:

https://gcc.gnu.org/g:19c62569ccf20d2744b63482a470474391d28c02

commit r13-44-g19c62569ccf20d2744b63482a470474391d28c02
Author: Marek Polacek <polacek@redhat.com>
Date:   Fri Apr 29 09:38:40 2022 -0400

    c++: Add fixed test [PR78244]

    This was finally fixed for GCC 11 by r11-434.

            PR c++/78244

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp0x/Wnarrowing20.C: New test.

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

* [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected
       [not found] <bug-78244-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2022-04-29 13:39 ` cvs-commit at gcc dot gnu.org
@ 2022-04-29 13:40 ` mpolacek at gcc dot gnu.org
  2022-10-31 19:15 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-04-29 13:40 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.

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

* [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected
       [not found] <bug-78244-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2022-04-29 13:40 ` mpolacek at gcc dot gnu.org
@ 2022-10-31 19:15 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-31 19:15 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

end of thread, other threads:[~2022-10-31 19:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-78244-4@http.gcc.gnu.org/bugzilla/>
2021-09-16 21:42 ` [Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected pinskia at gcc dot gnu.org
2022-03-07 15:53 ` ppalka at gcc dot gnu.org
2022-04-29 13:39 ` cvs-commit at gcc dot gnu.org
2022-04-29 13:40 ` mpolacek at gcc dot gnu.org
2022-10-31 19:15 ` pinskia 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).