public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/45282] wrong decltype result for .* [not found] <bug-45282-4@http.gcc.gnu.org/bugzilla/> @ 2011-08-05 13:54 ` jason at gcc dot gnu.org 2013-03-26 18:08 ` jason at gcc dot gnu.org 2013-03-27 10:03 ` paolo.carlini at oracle dot com 2 siblings, 0 replies; 4+ messages in thread From: jason at gcc dot gnu.org @ 2011-08-05 13:54 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45282 --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-05 13:53:35 UTC --- ...is a prvalue if the LHS is a prvalue. decltype now returns int&&, which is closer but still not right. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/45282] wrong decltype result for .* [not found] <bug-45282-4@http.gcc.gnu.org/bugzilla/> 2011-08-05 13:54 ` [Bug c++/45282] wrong decltype result for .* jason at gcc dot gnu.org @ 2013-03-26 18:08 ` jason at gcc dot gnu.org 2013-03-27 10:03 ` paolo.carlini at oracle dot com 2 siblings, 0 replies; 4+ messages in thread From: jason at gcc dot gnu.org @ 2013-03-26 18:08 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45282 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org | ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/45282] wrong decltype result for .* [not found] <bug-45282-4@http.gcc.gnu.org/bugzilla/> 2011-08-05 13:54 ` [Bug c++/45282] wrong decltype result for .* jason at gcc dot gnu.org 2013-03-26 18:08 ` jason at gcc dot gnu.org @ 2013-03-27 10:03 ` paolo.carlini at oracle dot com 2 siblings, 0 replies; 4+ messages in thread From: paolo.carlini at oracle dot com @ 2013-03-27 10:03 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45282 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC|gcc-bugs at gcc dot gnu.org | Known to work| |4.8.1, 4.9.0 Resolution| |FIXED --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-03-27 10:03:07 UTC --- Fixed mainline and 4.8.1. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/45282] New: wrong decltype result for .* @ 2010-08-13 20:51 jason at gcc dot gnu dot org 2010-08-13 20:51 ` [Bug c++/45282] " jason at gcc dot gnu dot org 0 siblings, 1 reply; 4+ messages in thread From: jason at gcc dot gnu dot org @ 2010-08-13 20:51 UTC (permalink / raw) To: gcc-bugs This testcase should compile without error, as a .* is an rvalue if the LHS is an rvalue. struct A { int i; }; int A::*ipm = &A::i; template <class T, class U> class assert_same_type; template <class T> class assert_same_type<T,T> { }; assert_same_type<decltype(A().*ipm),int> x2; -- Summary: wrong decltype result for .* Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45282 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/45282] wrong decltype result for .* 2010-08-13 20:51 [Bug c++/45282] New: " jason at gcc dot gnu dot org @ 2010-08-13 20:51 ` jason at gcc dot gnu dot org 0 siblings, 0 replies; 4+ messages in thread From: jason at gcc dot gnu dot org @ 2010-08-13 20:51 UTC (permalink / raw) To: gcc-bugs -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-08-13 20:51:36 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45282 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-27 10:03 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-45282-4@http.gcc.gnu.org/bugzilla/> 2011-08-05 13:54 ` [Bug c++/45282] wrong decltype result for .* jason at gcc dot gnu.org 2013-03-26 18:08 ` jason at gcc dot gnu.org 2013-03-27 10:03 ` paolo.carlini at oracle dot com 2010-08-13 20:51 [Bug c++/45282] New: " jason at gcc dot gnu dot org 2010-08-13 20:51 ` [Bug c++/45282] " jason at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).