From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27404 invoked by alias); 4 Oct 2010 08:11:15 -0000 Received: (qmail 27390 invoked by uid 22791); 4 Oct 2010 08:11:13 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Oct 2010 08:11:09 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/45873] Parameter packs not expanding consistently in function return types X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Known to fail In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 04 Oct 2010 08:11:00 -0000 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: 2010-10/txt/msg00320.txt.bz2 Message-ID: <20101004081100.VDD9QR2HEv_tf0EayaarQUxNgAJ9c7Rvqm8LeGVPbRM@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45873 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.4.3, 4.5.1, 4.6.0 --- Comment #1 from Jonathan Wakely 2010-10-04 08:11:07 UTC --- (You didn't say which version this PR is for, although it doesn't work with any I tried) Here's a self-contained testcase, with a fix so the workaround actually works (it was missing the template argument on baz) template struct pair { template pair(T1&& t, U1&& u) { } }; template