This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 Jun 2012 23:55:04 +0000
- Subject: [Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions
- Auto-submitted: auto-generated
- References: <bug-53578-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-06-04 23:55:04 UTC ---
> I assume g++ will hit this too once it adds support for the narrowing check in
> converted constant expressions.
IIRC g++ had the check for narrowing in converted constant expressions and it
was removed because the standard had a defect.