[Bug c++/69372] GCC allows array and function types to be caught by reference.

2023-11-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372

Andrew Pinski  changed:

   What|Removed |Added

 CC||arthur.j.odwyer at gmail dot 
com

--- Comment #3 from Andrew Pinski  ---
*** Bug 112471 has been marked as a duplicate of this bug. ***

[Bug c++/69372] GCC allows array and function types to be caught by reference.

2021-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372

Andrew Pinski  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Last reconfirmed||2021-08-05
 Status|UNCONFIRMED |NEW
   Keywords|accepts-invalid |wrong-code

--- Comment #2 from Andrew Pinski  ---
Confirmed. ICC and clang does not assert in both cases.

[Bug c++/69372] GCC allows array and function types to be caught by reference.

2016-01-19 Thread eric at efcs dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372

--- Comment #1 from Eric Fiselier  ---
Created attachment 37397
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37397=edit
reproducer for function types

attached a reproducer for function types.