[Bug c++/63723] Narrowing conversion allowed in braced init list in SFINAE context

2014-12-18 Thread tavianator at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 --- Comment #8 from Tavian Barnes --- Actually it is a regression: according to http://gcc.godbolt.org/, GCC 4.6.4 compiled it correctly with -std=c++0x and typedef decltype(helper(0)) type; instead of using type = decltype(helper(0)); wh

[Bug c++/63723] Narrowing conversion allowed in braced init list in SFINAE context

2014-12-18 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/63723] Narrowing conversion allowed in braced init list in SFINAE context

2014-12-18 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 --- Comment #6 from paolo at gcc dot gnu.org --- Author: paolo Date: Fri Dec 19 00:02:05 2014 New Revision: 218880 URL: https://gcc.gnu.org/viewcvs?rev=218880&root=gcc&view=rev Log: 2014-12-18 Paolo Carlini PR c++/63723 * g++.dg/cpp0

[Bug c++/63723] Narrowing conversion allowed in braced init list in SFINAE context

2014-12-18 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/63723] Narrowing conversion allowed in braced init list in SFINAE context

2014-11-04 Thread tavianator at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 --- Comment #4 from Tavian Barnes --- Still happens with 4.9.2 though. Is a backport of the fix possible?

[Bug c++/63723] Narrowing conversion allowed in braced init list in SFINAE context

2014-11-03 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug c++/63723] Narrowing conversion allowed in braced init list in SFINAE context

2014-11-03 Thread tavianator at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 --- Comment #2 from Tavian Barnes --- It's decltype(requires_conversion({std::declval()})). Not sure why it says .

[Bug c++/63723] Narrowing conversion allowed in braced init list in SFINAE context

2014-11-03 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63723 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen