[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

2020-01-28 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90731

Jason Merrill  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jason Merrill  ---
Fixed for 9.3/10.

[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

2020-01-28 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90731

--- Comment #6 from CVS Commits  ---
The releases/gcc-9 branch has been updated by Jason Merrill
:

https://gcc.gnu.org/g:9d4d55a52d44b11e7621a5b455f2a38a32b37367

commit r9-8185-g9d4d55a52d44b11e7621a5b455f2a38a32b37367
Author: Jason Merrill 
Date:   Mon Jan 27 17:55:14 2020 -0500

c++: Function declared with typedef with eh-specification.

We just need to handle the exception specification like other properties of
a function typedef.

PR c++/90731
* decl.c (grokdeclarator): Propagate eh spec from typedef.

[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

2020-01-28 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90731

--- Comment #5 from CVS Commits  ---
The master branch has been updated by Jason Merrill :

https://gcc.gnu.org/g:0968f7da26221bfc9203cd557c8636c0a0f24018

commit r10-6292-g0968f7da26221bfc9203cd557c8636c0a0f24018
Author: Jason Merrill 
Date:   Mon Jan 27 17:55:14 2020 -0500

c++: Function declared with typedef with eh-specification.

We just need to handle the exception specification like other properties of
a function typedef.

PR c++/90731
* decl.c (grokdeclarator): Propagate eh spec from typedef.

[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

2020-01-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90731

Jason Merrill  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||jason at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org

[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90731

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|9.2 |9.3

--- Comment #4 from Jakub Jelinek  ---
GCC 9.2 has been released.

[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

2019-06-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90731

--- Comment #3 from Marek Polacek  ---
And using typedef:

typedef void T() noexcept(true);
T t;
void t() noexcept(true);

[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

2019-06-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90731

--- Comment #2 from Marek Polacek  ---
This test using using should compile in c++17:

using T = void() noexcept(true);
T t;
void t() noexcept(true);

[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

2019-06-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90731

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2
  Known to work||8.3.0
   Target Milestone|--- |9.2
Summary|regression - noexcept   |[9/10 Regression] noexcept
   |broken for forward  |broken for forward
   |declarations with decltype  |declarations with decltype