From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2373 invoked by alias); 12 Jul 2009 22:03:35 -0000 Received: (qmail 32650 invoked by uid 48); 12 Jul 2009 22:03:22 -0000 Date: Sun, 12 Jul 2009 22:03:00 -0000 Message-ID: <20090712220322.32649.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/37766] [C++0x] ICE with function's default reference template parameter In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" 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: 2009-07/txt/msg00984.txt.bz2 ------- Comment #5 from reichelt at gcc dot gnu dot org 2009-07-12 22:03 ------- Probably due to the fix in PR35828 the original testcase and the one in comment #3 now compile. However, if I leave out the two "const" in the testcase from comment #3, the code is rejected which is wrong IMHO. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37766