This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36870] __has_nothrow_constructor violates the ODR
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2008 22:13:22 -0000
- Subject: [Bug c++/36870] __has_nothrow_constructor violates the ODR
- References: <bug-36870-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from paolo dot carlini at oracle dot com 2008-07-18 22:13 -------
I think we can easily fix the issue by checking
TYPE_RAISES_EXCEPTIONS (TREE_TYPE (t))
instead of TREE_NOTHROW (t)
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|paolo dot carlini at oracle |
|dot com |
AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle
|dot org |dot com
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-07-18 22:13:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36870