[Bug c++/42013] cv-qualification of conditional expression type depending on the value of its first expression?!?

2009-11-12 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-11-12 18:26 --- Subject: Bug 42013 Author: jason Date: Thu Nov 12 18:25:42 2009 New Revision: 154124 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154124 Log: PR c++/42013 * call.c (build_conditional_expr):

[Bug c++/42013] cv-qualification of conditional expression type depending on the value of its first expression?!?

2009-11-12 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-11-12 18:47 --- Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42013

[Bug c++/42013] cv-qualification of conditional expression type depending on the value of its first expression?!?

2009-11-12 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2009-11-12 20:26 --- Subject: Bug 42013 Author: jason Date: Thu Nov 12 20:26:36 2009 New Revision: 154129 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154129 Log: PR c++/42013 * call.c (build_conditional_expr):

[Bug c++/42013] cv-qualification of conditional expression type depending on the value of its first expression?!?

2009-11-12 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-11-12 20:27 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42013] cv-qualification of conditional expression type depending on the value of its first expression?!?

2009-11-11 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-11-12 04:09 --- Actually, the observation about C++0x is largely incorrect, because the actual specifications in DR 1255 are different, use std::add_rvalue_reference. However, my main puzzlement stands. Also, as regards the

[Bug c++/42013] cv-qualification of conditional expression type depending on the value of its first expression?!?

2009-11-11 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-11-12 04:16 --- Might be related to the old fixed bug 36628. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42013

[Bug c++/42013] cv-qualification of conditional expression type depending on the value of its first expression?!?

2009-11-11 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2009-11-12 05:47 --- More hoops to jump through to prevent the magic decltype handling of calls exposed by constant folding... -- jason at gcc dot gnu dot org changed: What|Removed |Added