[Bug c++/53000] Conditional operator does not behave as standardized

2014-10-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/53000] Conditional operator does not behave as standardized

2014-10-15 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #29 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Paolo Carlini from comment #28) Something is going wrong here: the bug is closed as fixed, but if I try to enable in

[Bug c++/53000] Conditional operator does not behave as standardized

2014-10-15 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #30 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Wed Oct 15 21:08:59 2014 New Revision: 216287 URL: https://gcc.gnu.org/viewcvs?rev=216287root=gccview=rev Log: 2014-10-15 Daniel Krugler

[Bug c++/53000] Conditional operator does not behave as standardized

2014-05-09 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/53000] Conditional operator does not behave as standardized

2013-10-13 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/53000] Conditional operator does not behave as standardized

2013-07-09 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #25 from Marc Glisse glisse at gcc dot gnu.org --- (not a complete fix) r200821 | glisse | 2013-07-09 17:55:49 +0200 (Tue, 09 Jul 2013) | 9 lines 2013-07-09 Marc Glisse marc.gli...@inria.fr PR c++/53000 gcc/cp/ *

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse at

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #13 from Daniel Krügler daniel.kruegler at googlemail dot com 2012-10-10 10:42:20 UTC --- (In reply to comment #11) Thus, the library bits are done in mainline, right Daniel? In regard to std::common_type, yes. But while making

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #14 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-10 10:43:22 UTC --- Why you believe it should derive from decay? It doesn't in C++11 and it doesn't in the proposed resolution of LWG 2141. Anyway, if you think

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #15 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-10 10:44:57 UTC --- Daniel: yes, please, if you could take care of that it would be great.

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #16 from Daniel Krügler daniel.kruegler at googlemail dot com 2012-10-10 10:55:02 UTC --- (In reply to comment #12) So we now have: common_typeconst int::type - const int common_typeconst int,const int::type - int ? If we

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #17 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-10 11:01:59 UTC --- The patch is already in, of course. In hindsight, I think we shouldn't have bundled the SFINAE bits with addressing LWG 2141, which, I realize

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #18 from Daniel Krügler daniel.kruegler at googlemail dot com 2012-10-10 11:04:23 UTC --- (In reply to comment #17) The patch is already in, of course. In hindsight, I think we shouldn't have bundled the SFINAE bits with addressing

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #19 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-10 11:06:26 UTC --- If it's just matter of removing the std::decay call and tweaking that testcase, I can do it now. Otherwise, I would say, please send a patch...

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #20 from Daniel Krügler daniel.kruegler at googlemail dot com 2012-10-10 11:08:09 UTC --- (In reply to comment #19) It is more than that, because *my* own test-cases rely on the decay assumption.

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #21 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-10 11:09:32 UTC --- I see. Let's do that at your ease, then. But let's do it ;)

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #22 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-10 11:43:00 UTC --- I'm taking care of these reversion bits: just few lines in sfinae_friendly_1.cc, besides the removal of std::decay and that line in

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #23 from Marc Glisse glisse at gcc dot gnu.org 2012-10-10 11:45:03 UTC --- (In reply to comment #17) The patch is already in, of course. In hindsight, I think we shouldn't have bundled the SFINAE bits with addressing LWG

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #24 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-10 11:47:20 UTC --- Better reverting the LWG 2141-related bits. Only those of course!

[Bug c++/53000] Conditional operator does not behave as standardized

2012-10-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #10 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-04 15:57:07 UTC --- *** Bug 54101 has been marked as a duplicate of this bug. ***

[Bug c++/53000] Conditional operator does not behave as standardized

2012-05-20 Thread ismail at namtrac dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #9 from İsmail cartman Dönmez ismail at namtrac dot org 2012-05-20 14:50:46 UTC --- ping?

[Bug c++/53000] Conditional operator does not behave as standardized

2012-04-27 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added CC||zeratul976 at

[Bug c++/53000] Conditional operator does not behave as standardized

2012-04-24 Thread ismail at namtrac dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #1 from İsmail cartman Dönmez ismail at namtrac dot org 2012-04-24 14:32:34 UTC --- clang people have the following patch proposed as a workaround to this issue:

[Bug c++/53000] Conditional operator does not behave as standardized

2012-04-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/53000] Conditional operator does not behave as standardized

2012-04-24 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 Marc Glisse marc.glisse at normalesup dot org changed: What|Removed |Added CC|

[Bug c++/53000] Conditional operator does not behave as standardized

2012-04-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2012-04-24 21:48:22 UTC --- (In reply to comment #3) Hmm, I guess you can forget this rant and go ahead (I am still posting it because there may be real arguments somewhere). :)

[Bug c++/53000] Conditional operator does not behave as standardized

2012-04-24 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #5 from Marc Glisse marc.glisse at normalesup dot org 2012-04-24 22:35:31 UTC --- (In reply to comment #4) it's not obvious to me what the right fix is either so I'm not in a rush to change anything. Actually, I now believe it is a

[Bug c++/53000] Conditional operator does not behave as standardized

2012-04-24 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org 2012-04-24 22:45:54 UTC --- A good question from an semi outsider, which way is the standards committee leaning? And is there a big disagreement about the defect report? I think if

[Bug c++/53000] Conditional operator does not behave as standardized

2012-04-24 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000 --- Comment #7 from Marc Glisse marc.glisse at normalesup dot org 2012-04-24 23:23:09 UTC --- (In reply to comment #6) which way is the standards committee leaning? The DR is young, there hasn't been a meeting since. There weren't many