public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/93901] [10 Regression] noexcept specifier on ctor does not work with constexpr variable or expression since r10-4394
[not found] <bug-93901-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-10 20:49 ` jason at gcc dot gnu.org
2020-03-11 2:02 ` jason at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2020-03-10 20:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93901
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/93901] [10 Regression] noexcept specifier on ctor does not work with constexpr variable or expression since r10-4394
[not found] <bug-93901-4@http.gcc.gnu.org/bugzilla/>
2020-03-10 20:49 ` [Bug c++/93901] [10 Regression] noexcept specifier on ctor does not work with constexpr variable or expression since r10-4394 jason at gcc dot gnu.org
@ 2020-03-11 2:02 ` jason at gcc dot gnu.org
2020-03-11 6:54 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2020-03-11 2:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93901
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for GCC 10 by reverting the offending patch.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/93901] [10 Regression] noexcept specifier on ctor does not work with constexpr variable or expression since r10-4394
[not found] <bug-93901-4@http.gcc.gnu.org/bugzilla/>
2020-03-10 20:49 ` [Bug c++/93901] [10 Regression] noexcept specifier on ctor does not work with constexpr variable or expression since r10-4394 jason at gcc dot gnu.org
2020-03-11 2:02 ` jason at gcc dot gnu.org
@ 2020-03-11 6:54 ` jakub at gcc dot gnu.org
2020-03-17 3:46 ` cvs-commit at gcc dot gnu.org
2020-05-14 20:39 ` cvs-commit at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-11 6:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93901
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
commit r10-7116-g481fcfe6fec156ca2a6baea4b623076e2eefa6a6
Author: Jason Merrill <jason@redhat.com>
Date: Tue Mar 10 17:31:33 2020 -0400
c++: Fix deferred noexcept on constructor [PR93901].
My change in r10-4394 to only update clones when we actually instantiate a
deferred noexcept-spec broke this because deferred parsing updates the
primary function but not the clones. For GCC 10, let's just revert it.
gcc/cp/ChangeLog
2020-03-10 Jason Merrill <jason@redhat.com>
PR c++/93901
* pt.c (maybe_instantiate_noexcept): Always update clones.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/93901] [10 Regression] noexcept specifier on ctor does not work with constexpr variable or expression since r10-4394
[not found] <bug-93901-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2020-03-11 6:54 ` jakub at gcc dot gnu.org
@ 2020-03-17 3:46 ` cvs-commit at gcc dot gnu.org
2020-05-14 20:39 ` cvs-commit at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-17 3:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93901
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:57e7ad5a8fd5a7bddf15e2fede6d2546cc6a2797
commit r10-7204-g57e7ad5a8fd5a7bddf15e2fede6d2546cc6a2797
Author: Jason Merrill <jason@redhat.com>
Date: Mon Mar 16 21:16:35 2020 -0400
c++: Add test for PR 93901.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/93901] [10 Regression] noexcept specifier on ctor does not work with constexpr variable or expression since r10-4394
[not found] <bug-93901-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2020-03-17 3:46 ` cvs-commit at gcc dot gnu.org
@ 2020-05-14 20:39 ` cvs-commit at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-14 20:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93901
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:4e1592f8e1d6366699e05c0824fc3dc39ca7314b
commit r11-403-g4e1592f8e1d6366699e05c0824fc3dc39ca7314b
Author: Jason Merrill <jason@redhat.com>
Date: Thu May 14 11:15:27 2020 -0400
c++: Fix deferred noexcept on constructor [PR93901].
My change in r10-4394 to only update clones when we actually instantiate a
deferred noexcept-spec broke this because deferred parsing updates the
primary function but not the clones. For GCC 10 I just reverted that
change; this patch adjusts maybe_instantiate_noexcept to update only the
clone passed as the argument.
gcc/cp/ChangeLog
2020-05-14 Jason Merrill <jason@redhat.com>
PR c++/93901
* pt.c (maybe_instantiate_noexcept): Change clone handling.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-14 20:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-93901-4@http.gcc.gnu.org/bugzilla/>
2020-03-10 20:49 ` [Bug c++/93901] [10 Regression] noexcept specifier on ctor does not work with constexpr variable or expression since r10-4394 jason at gcc dot gnu.org
2020-03-11 2:02 ` jason at gcc dot gnu.org
2020-03-11 6:54 ` jakub at gcc dot gnu.org
2020-03-17 3:46 ` cvs-commit at gcc dot gnu.org
2020-05-14 20:39 ` cvs-commit 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).