public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/107037] New: 541.leela_r compiling fail since r13-2779
@ 2022-09-26  8:18 guojiufu at gcc dot gnu.org
  2022-09-26  9:29 ` [Bug libstdc++/107037] [13 Regression] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2022-09-26  8:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107037
           Summary: 541.leela_r compiling fail since r13-2779
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: guojiufu at gcc dot gnu.org
  Target Milestone: ---

When building 541.leela_r from spec2017, I encounter one error:

include/c++/13.0.0/bitset: In instantiation of 'void
std::_Base_bitset<_Nw>::_M_do_reset() [with long unsigned int _Nw = 7]':
include/c++/13.0.0/bitset:1145:19:   required from 'std::bitset<_Nb>&
std::bitset<_Nb>::reset() [with long unsigned int _Nb = 441]'
Playout.cpp:20:18:   required from here
include/c++/13.0.0/bitset:187:13: error: forming reference to reference type
'long unsigned int (&)[7]'
  187 |             for (_WordT& __w : _M_w)
      |             ^~~


The command is 
g++     -std=c++03 -m64 -c -o Playout.o -DSPEC -DNDEBUG -I.
-DSPEC_AUTO_SUPPRESS_OPENMP  -Ofast      -DSPEC_LP64  Playout.cpp

This issue is also reproducible on -O3 or -O2.

It seems compiling fine before commit
r13-2779-9194c13909b72d23e58fee72864a2663b12f6b19.

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

* [Bug libstdc++/107037] [13 Regression] 541.leela_r compiling fail since r13-2779
  2022-09-26  8:18 [Bug libstdc++/107037] New: 541.leela_r compiling fail since r13-2779 guojiufu at gcc dot gnu.org
@ 2022-09-26  9:29 ` rguenth at gcc dot gnu.org
  2022-09-26 10:06 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-09-26  9:29 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
           Keywords|                            |rejects-valid
             Blocks|                            |26163
            Summary|541.leela_r compiling fail  |[13 Regression] 541.leela_r
                   |since r13-2779              |compiling fail since
                   |                            |r13-2779


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
[Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

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

* [Bug libstdc++/107037] [13 Regression] 541.leela_r compiling fail since r13-2779
  2022-09-26  8:18 [Bug libstdc++/107037] New: 541.leela_r compiling fail since r13-2779 guojiufu at gcc dot gnu.org
  2022-09-26  9:29 ` [Bug libstdc++/107037] [13 Regression] " rguenth at gcc dot gnu.org
@ 2022-09-26 10:06 ` redi at gcc dot gnu.org
  2022-09-26 12:59 ` cvs-commit at gcc dot gnu.org
  2022-09-26 13:00 ` redi at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2022-09-26 10:06 UTC (permalink / raw)
  To: gcc-bugs

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

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
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2022-09-26

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

* [Bug libstdc++/107037] [13 Regression] 541.leela_r compiling fail since r13-2779
  2022-09-26  8:18 [Bug libstdc++/107037] New: 541.leela_r compiling fail since r13-2779 guojiufu at gcc dot gnu.org
  2022-09-26  9:29 ` [Bug libstdc++/107037] [13 Regression] " rguenth at gcc dot gnu.org
  2022-09-26 10:06 ` redi at gcc dot gnu.org
@ 2022-09-26 12:59 ` cvs-commit at gcc dot gnu.org
  2022-09-26 13:00 ` redi at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-26 12:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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:6904ed80a26f5216aa3b9ce8377fb50307c8e886

commit r13-2869-g6904ed80a26f5216aa3b9ce8377fb50307c8e886
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Sep 26 11:11:35 2022 +0100

    libstdc++: Add #if around non-C++03 code in std::bitset [PR107037]

    libstdc++-v3/ChangeLog:

            PR libstdc++/107037
            * include/std/bitset (_Base_bitset::_M_do_reset): Use
            preprocessor conditional around non-C++03 code.
            * testsuite/20_util/bitset/107037.cc: New test.

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

* [Bug libstdc++/107037] [13 Regression] 541.leela_r compiling fail since r13-2779
  2022-09-26  8:18 [Bug libstdc++/107037] New: 541.leela_r compiling fail since r13-2779 guojiufu at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-09-26 12:59 ` cvs-commit at gcc dot gnu.org
@ 2022-09-26 13:00 ` redi at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2022-09-26 13:00 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed

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

end of thread, other threads:[~2022-09-26 13:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26  8:18 [Bug libstdc++/107037] New: 541.leela_r compiling fail since r13-2779 guojiufu at gcc dot gnu.org
2022-09-26  9:29 ` [Bug libstdc++/107037] [13 Regression] " rguenth at gcc dot gnu.org
2022-09-26 10:06 ` redi at gcc dot gnu.org
2022-09-26 12:59 ` cvs-commit at gcc dot gnu.org
2022-09-26 13:00 ` 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).