public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/93978] A snippet using views::join fails to compile with -O1, but succeeds with -O0
       [not found] <bug-93978-4@http.gcc.gnu.org/bugzilla/>
@ 2020-05-23 19:26 ` cvs-commit at gcc dot gnu.org
  2020-05-23 19:29 ` ppalka at gcc dot gnu.org
  2022-05-04  0:30 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-23 19:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppalka@gcc.gnu.org>:

https://gcc.gnu.org/g:a57aa11191617754c8d43b3eb6a2576e970a0668

commit r11-591-ga57aa11191617754c8d43b3eb6a2576e970a0668
Author: Patrick Palka <ppalka@redhat.com>
Date:   Sat May 23 15:25:40 2020 -0400

    libstdc++: Compile PR93978 testcase with -Wall

    Now that the frontend issue PR c++/94038 is thoroughly fixed, the
    testcase for PR93978 no longer fails to compile with -O -Wall, so add
    -Wall to the testcase's compile flags to help ensure we don't regress
    here.

    libstdc++-v3/ChangeLog:

            PR libstdc++/93978
            * testsuite/std/ranges/adaptors/93978.cc: Add -Wall to
            dg-additional-options.  Avoid unused-but-set-variable warning.

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

* [Bug libstdc++/93978] A snippet using views::join fails to compile with -O1, but succeeds with -O0
       [not found] <bug-93978-4@http.gcc.gnu.org/bugzilla/>
  2020-05-23 19:26 ` [Bug libstdc++/93978] A snippet using views::join fails to compile with -O1, but succeeds with -O0 cvs-commit at gcc dot gnu.org
@ 2020-05-23 19:29 ` ppalka at gcc dot gnu.org
  2022-05-04  0:30 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2020-05-23 19:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed for GCC 11 (the original testcase successfully compiles with -O -Wall),
and partially fixed for GCC 10 (the original testcase successfully compiles
with -O, but not with -O -Wall).

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

* [Bug libstdc++/93978] A snippet using views::join fails to compile with -O1, but succeeds with -O0
       [not found] <bug-93978-4@http.gcc.gnu.org/bugzilla/>
  2020-05-23 19:26 ` [Bug libstdc++/93978] A snippet using views::join fails to compile with -O1, but succeeds with -O0 cvs-commit at gcc dot gnu.org
  2020-05-23 19:29 ` ppalka at gcc dot gnu.org
@ 2022-05-04  0:30 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-05-04  0:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93978
Bug 93978 depends on bug 94038, which changed state.

Bug 94038 Summary: [9/10 Regression] Compiling with -Wall causes function template body to get needlessly instantiated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94038

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

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

end of thread, other threads:[~2022-05-04  0:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93978-4@http.gcc.gnu.org/bugzilla/>
2020-05-23 19:26 ` [Bug libstdc++/93978] A snippet using views::join fails to compile with -O1, but succeeds with -O0 cvs-commit at gcc dot gnu.org
2020-05-23 19:29 ` ppalka at gcc dot gnu.org
2022-05-04  0:30 ` ppalka 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).