From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32544 invoked by alias); 23 Aug 2002 15:26:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 32530 invoked by uid 71); 23 Aug 2002 15:26:02 -0000 Date: Fri, 23 Aug 2002 08:46:00 -0000 Message-ID: <20020823152602.32529.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Leick Robinson Subject: Re: c++/7686: template compilation failure on unused method Reply-To: Leick Robinson X-SW-Source: 2002-08/txt/msg00498.txt.bz2 List-Id: The following reply was made to PR c++/7686; it has been noted by GNATS. From: Leick Robinson To: Gabriel Dos Reis Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/7686: template compilation failure on unused method Date: Fri, 23 Aug 2002 10:17:33 -0500 --------------71CDC3598563AC3C410BB7D1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Gabriel, I'm not sure I fully understand your response. I was hoping you could clarify it for me. Do you mean that it was a bug in 2.95.2, that it should have instantiated the declarations (and thus, failed to compile)? And, further, that 3.0.4 is correct in its failure to compile? I'm not sure what a "regression from gcc-3.0.4" means (as stated in the Audit Trail). Leick Gabriel Dos Reis wrote: > leick.robinson@motorola.com writes: > > | This assumes that the rule for an uninstantiated member > | function extends to its declaration. I am not certain > | whether the C++ standard is clear on this point. > > You're right: This is a bug in g++, it should have instantiated the > *declarations* of the member functions. I'll mark it as a regression. > > Thanks, > > -- Gaby -- ____________________________________________________________________ | Leick Robinson --> "bRoken siLicon" | | Manager, PowerPC Core Modeling Team | | | | Phone: (512) 996-4948 \O/ BE OF | | Pager: (512) 1-888-561-6477 | GOOD \ / | | Email: leick.robinson@motorola.com / \ CHEER! | | | PowerPC System Enablement /O\ | | Motorola-Austin | | | | "There exists a passion for comprehension, just as there exists | | a passion for music. That passion is rather common in children, | | but gets lost in most people later on." -- A. Einstein, 1950 | |____________________________________________________________________| --------------71CDC3598563AC3C410BB7D1 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Gabriel,

I'm not sure I fully understand your response.  I was hoping you could clarify it for me.

Do you mean that it was a bug in 2.95.2, that it should have instantiated the declarations (and thus, failed to compile)?
And, further, that 3.0.4 is correct in its failure to compile?

I'm not sure what a "regression from gcc-3.0.4" means (as stated in the Audit Trail).

Leick
 

Gabriel Dos Reis wrote:

leick.robinson@motorola.com writes:

| This assumes that the rule for an uninstantiated member
| function extends to its declaration.  I am not certain
| whether the C++ standard is clear on this point.

You're right:  This is a bug in g++, it should have instantiated the
*declarations* of the member functions.  I'll mark it as a regression.

Thanks,

-- Gaby

-- 
  ____________________________________________________________________
 |  Leick Robinson --> "bRoken siLicon"                               |
 |  Manager, PowerPC Core Modeling Team                               |
 |                                                                    |
 |  Phone: (512) 996-4948                          \O/   BE OF        |
 |  Pager: (512) 1-888-561-6477                     |   GOOD    \ /   |
 |  Email: leick.robinson@motorola.com             / \   CHEER!  |    |
 |                    PowerPC System Enablement                 /O\   |
 |                          Motorola-Austin                           |
 |                                                                    |
 |  "There exists a passion for comprehension, just as there exists   |
 |  a passion for music.  That passion is rather common in children,  |
 |  but gets lost in most people later on."  -- A. Einstein, 1950     |
 |____________________________________________________________________|
  --------------71CDC3598563AC3C410BB7D1--