public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/99265] New: Testsuite 17_intro/headers/c++2020/stdc++.cc failure after std::chrono changes
@ 2021-02-25 10:33 rimvydas.jas at gmail dot com
  2021-02-25 11:37 ` [Bug libstdc++/99265] " redi at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rimvydas.jas at gmail dot com @ 2021-02-25 10:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99265
           Summary: Testsuite 17_intro/headers/c++2020/stdc++.cc failure
                    after std::chrono changes
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rimvydas.jas at gmail dot com
  Target Milestone: ---

Testsuite on x86_64-*-dragonfly gives:

Running target unix
FAIL: 17_intro/headers/c++2020/stdc++.cc (test for excess errors)
FAIL: 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc (test for excess
errors)

In file included from
/build/trunk/x86_64-unknown-dragonfly5.9/libstdc++-v3/include/x86_64-unknown-dragonfly5.9/bits/stdc++.h:101,^M
                 from
/data/gg/libstdc++-v3/testsuite/17_intro/headers/c++2020/stdc++.cc:25:^M
/build/trunk/x86_64-unknown-dragonfly5.9/libstdc++-v3/include/chrono: In static
member function 'static constexpr std::chrono::year_month_day
std::chrono::year_month_day::_S_from_days(const days&)':^M
/build/trunk/x86_64-unknown-dragonfly5.9/libstdc++-v3/include/chrono:2484:
warning: narrowing conversion of '(((long int)__y1) + ((long int)((unsigned
int)__z2)))' from 'long int' to 'int' [-Wnarrowing]^M
trunk/x86_64-unknown-dragonfly5.9/libstdc++-v3/include/chrono:2484: warning:
narrowing conversion of '(((long int)__y1) + ((long int)((unsigned int)__z2)))'
from 'long int' to 'int' [-Wnarrowing]

extra_tool_flags are:
 -std=gnu++2a -Wall -Wsystem-headers

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

* [Bug libstdc++/99265] Testsuite 17_intro/headers/c++2020/stdc++.cc failure after std::chrono changes
  2021-02-25 10:33 [Bug libstdc++/99265] New: Testsuite 17_intro/headers/c++2020/stdc++.cc failure after std::chrono changes rimvydas.jas at gmail dot com
@ 2021-02-25 11:37 ` redi at gcc dot gnu.org
  2021-02-25 11:54 ` cvs-commit at gcc dot gnu.org
  2021-02-25 12:56 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2021-02-25 11:37 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
   Target Milestone|---                         |11.0
   Last reconfirmed|                            |2021-02-25
             Status|UNCONFIRMED                 |ASSIGNED
            Version|unknown                     |11.0
     Ever confirmed|0                           |1

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

* [Bug libstdc++/99265] Testsuite 17_intro/headers/c++2020/stdc++.cc failure after std::chrono changes
  2021-02-25 10:33 [Bug libstdc++/99265] New: Testsuite 17_intro/headers/c++2020/stdc++.cc failure after std::chrono changes rimvydas.jas at gmail dot com
  2021-02-25 11:37 ` [Bug libstdc++/99265] " redi at gcc dot gnu.org
@ 2021-02-25 11:54 ` cvs-commit at gcc dot gnu.org
  2021-02-25 12:56 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-02-25 11:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:75c74a83acee3f51e6753b8159fa600fe2d86810

commit r11-7388-g75c74a83acee3f51e6753b8159fa600fe2d86810
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Feb 25 11:48:18 2021 +0000

    libstdc++: Fix narrowing conversion in year_month_day [PR 99265]

    libstdc++-v3/ChangeLog:

            PR libstdc++/99265
            * include/std/chrono (year_month_day::_S_from_days): Cast long
            to int explicitly.

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

* [Bug libstdc++/99265] Testsuite 17_intro/headers/c++2020/stdc++.cc failure after std::chrono changes
  2021-02-25 10:33 [Bug libstdc++/99265] New: Testsuite 17_intro/headers/c++2020/stdc++.cc failure after std::chrono changes rimvydas.jas at gmail dot com
  2021-02-25 11:37 ` [Bug libstdc++/99265] " redi at gcc dot gnu.org
  2021-02-25 11:54 ` cvs-commit at gcc dot gnu.org
@ 2021-02-25 12:56 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2021-02-25 12:56 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks for the report.

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

end of thread, other threads:[~2021-02-25 12:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 10:33 [Bug libstdc++/99265] New: Testsuite 17_intro/headers/c++2020/stdc++.cc failure after std::chrono changes rimvydas.jas at gmail dot com
2021-02-25 11:37 ` [Bug libstdc++/99265] " redi at gcc dot gnu.org
2021-02-25 11:54 ` cvs-commit at gcc dot gnu.org
2021-02-25 12:56 ` redi 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).