From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11977 invoked by alias); 30 Apr 2008 15:33:56 -0000 Received: (qmail 10649 invoked by uid 48); 30 Apr 2008 15:32:54 -0000 Date: Wed, 30 Apr 2008 15:33:00 -0000 Message-ID: <20080430153254.10648.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/33661] template methods forget explicit local reg vars In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "vincent dot riviere at freesbee dot fr" 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-04/txt/msg02148.txt.bz2 ------- Comment #7 from vincent dot riviere at freesbee dot fr 2008-04-30 15:32 ------- This is not a regression, however it is a bug, it has to be fixed. Inline assembly coupled with templates is very powerful, however because of this bug it is unusable :-( If I remember well, a workaround is to put the assembly in an inline global function, then call it from the template method. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661