c++/7686: template compilation failure on unused method

Leick Robinson leick.robinson@motorola.com
Fri Aug 23 08:46:00 GMT 2002


The following reply was made to PR c++/7686; it has been noted by GNATS.

From: Leick Robinson <leick.robinson@motorola.com>
To: Gabriel Dos Reis <gdr@integrable-solutions.net>
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
 
 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
 <html>
 Gabriel,
 <p>I'm not sure I fully understand your response.  I was hoping you
 could clarify it for me.
 <p>Do you mean that it was a bug in 2.95.2, that it should have instantiated
 the declarations (and thus, failed to compile)?
 <br>And, further, that 3.0.4 is correct in its failure to compile?
 <p>I'm not sure what a "regression from gcc-3.0.4" means (as stated in
 the Audit Trail).
 <p>Leick
 <br> 
 <p>Gabriel Dos Reis wrote:
 <blockquote TYPE=CITE>leick.robinson@motorola.com writes:
 <p>| This assumes that the rule for an uninstantiated member
 <br>| function extends to its declaration.  I am not certain
 <br>| whether the C++ standard is clear on this point.
 <p>You're right:  This is a bug in g++, it should have instantiated
 the
 <br>*declarations* of the member functions.  I'll mark it as a regression.
 <p>Thanks,
 <p>-- Gaby</blockquote>
 
 <pre>-- 
  ____________________________________________________________________
 |  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     |
 |____________________________________________________________________|</pre>
  </html>
 
 --------------71CDC3598563AC3C410BB7D1--
 



More information about the Gcc-prs mailing list