From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12110 invoked by alias); 26 Jun 2008 11:39:49 -0000 Received: (qmail 11979 invoked by uid 48); 26 Jun 2008 11:39:05 -0000 Date: Thu, 26 Jun 2008 11:39:00 -0000 Message-ID: <20080626113905.11978.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/36628] [c++0x] incorrect decltype() handling of conditional operator In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "abarbati at iaanus dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-06/txt/msg01568.txt.bz2 ------- Comment #2 from abarbati at iaanus dot com 2008-06-26 11:39 ------- After a more careful reading of 5/5, 5.16/4 and 7.1.6.2/4, I believe that gcc is correctly handling the int& case, that is the expected output should be: FivE FRivE FivE Only the int&& case is thus incorrect, according to my interpretation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36628