public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* RE: c++/5197: compiler doesn't work correctly
@ 2002-01-09 16:06 Jianhua Zhou
  0 siblings, 0 replies; 6+ messages in thread
From: Jianhua Zhou @ 2002-01-09 16:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Jianhua Zhou <Jianhua.Zhou@informix.com>
To: "'rodrigc@gcc.gnu.org'" <rodrigc@gcc.gnu.org>, 
	"'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>, "'gcc-prs@gcc.gnu.org'"
	 <gcc-prs@gcc.gnu.org>, "'jianhua.zhou@mail2ext.na.informix.com'"
	 <jianhua.zhou@mail2ext.na.informix.com>, "'nobody@gcc.gnu.org'"
	 <nobody@gcc.gnu.org>, "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>, 
	Jianhua Zhou <Jianhua.Zhou@informix.com>
Cc:  
Subject: RE: c++/5197: compiler doesn't work correctly
Date: Wed, 9 Jan 2002 17:52:16 -0600 

 This message is in MIME format. Since your mail reader does not understand
 this format, some or all of this message may not be legible.
 
 ------_=_NextPart_001_01C19968.AACCC6C0
 Content-Type: text/plain;
 	charset="ISO-8859-1"
 
 Yes. It is ok on 3.0.3
 
 But g++ 3.0.3 is more ANSI C++ standard. We are using a lot feature which
 are not available in g++ 3.0.3.
 
 So would you please check the g++ 2.9.6 (RedHat 7.1) and see if this problem
 is there. Or give me some a
 2.9.x version, which is restricted to ANSI C++, has this problem fixed.
 
 Thanks!   
 
 		-----Original Message-----
 		From:	rodrigc@gcc.gnu.org [mailto:rodrigc@gcc.gnu.org]
 		Sent:	Wednesday, December 26, 2001 5:13 PM
 		To:	gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org;
 jianhua.zhou@informix.com; nobody@gcc.gnu.org
 		Subject:	Re: c++/5197: compiler doesn't work
 correctly
 
 		Synopsis: compiler doesn't work correctly
 
 		State-Changed-From-To: open->feedback
 		State-Changed-By: rodrigc
 		State-Changed-When: Wed Dec 26 16:12:44 2001
 		State-Changed-Why:
 		    I cannot reproduce this problem with gcc 3.0.3 under
 Linux.
 		    Can you try gcc 3.0.3 and see if the problem is
 reproduced?
 
 	
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
 r=5197
 
 ------_=_NextPart_001_01C19968.AACCC6C0
 Content-Type: text/html;
 	charset="ISO-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <HTML>
 <HEAD>
 <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
 charset=3DISO-8859-1">
 <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
 5.5.2653.12">
 <TITLE>RE: c++/5197: compiler doesn't work correctly</TITLE>
 </HEAD>
 <BODY>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Yes. It is ok on 3.0.3</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">But g++ 3.0.3 is more ANSI C++ =
 standard. We are using a lot feature which are not available in g++ =
 3.0.3.</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">So would you please check the g++ =
 2.9.6 (RedHat 7.1) and see if this problem is there. Or give me some =
 a</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">2.9.x version, which is restricted to =
 ANSI C++, has this problem fixed.</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Thanks!&nbsp;&nbsp; </FONT>
 </P>
 <UL><UL>
 <P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
 Message-----</FONT></A>
 <BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; =
 rodrigc@gcc.gnu.org [<A =
 HREF=3D"mailto:rodrigc@gcc.gnu.org">mailto:rodrigc@gcc.gnu.org</A>]</FON=
 T></B>
 <BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
 SIZE=3D2 FACE=3D"Arial">Wednesday, December 26, 2001 5:13 PM</FONT>
 <BR><B><FONT SIZE=3D2 =
 FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
 FACE=3D"Arial">gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; =
 jianhua.zhou@informix.com; nobody@gcc.gnu.org</FONT>
 <BR><B><FONT SIZE=3D2 =
 FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
 </B> <FONT SIZE=3D2 FACE=3D"Arial">Re: c++/5197: compiler doesn't work =
 correctly</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Synopsis: compiler doesn't work =
 correctly</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-From-To: =
 open-&gt;feedback</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-By: rodrigc</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-When: Wed Dec 26 =
 16:12:44 2001</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-Why:</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; I cannot reproduce =
 this problem with gcc 3.0.3 under Linux.</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; Can you try gcc =
 3.0.3 and see if the problem is reproduced?</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial"><A =
 HREF=3D"http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&=
 database=3Dgcc&pr=3D5197" =
 TARGET=3D"_blank">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20au=
 dit-trail&database=3Dgcc&pr=3D5197</A></FONT>
 </P>
 </UL></UL>
 </BODY>
 </HTML>
 ------_=_NextPart_001_01C19968.AACCC6C0--


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: c++/5197: compiler doesn't work correctly
@ 2002-03-03 10:52 rodrigc
  0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2002-03-03 10:52 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jianhua.zhou, nobody

Synopsis: compiler doesn't work correctly

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Mar  3 10:52:01 2002
State-Changed-Why:
    Testcase compiles with gcc 3.0.4. 
    The FSF gcc project does not have a 2.96 release.
    
    For problems with Red Hat's version of gcc 2.96,
    contact Red Hat at http://bugzilla.redhat.com/bugzilla

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5197


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: c++/5197: compiler doesn't work correctly
@ 2002-01-09 16:16 Jianhua Zhou
  0 siblings, 0 replies; 6+ messages in thread
From: Jianhua Zhou @ 2002-01-09 16:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Jianhua Zhou <Jianhua.Zhou@informix.com>
To: Jianhua Zhou <Jianhua.Zhou@informix.com>, "'rodrigc@gcc.gnu.org'"
	 <rodrigc@gcc.gnu.org>, "'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>, 
	"'gcc-prs@gcc.gnu.org'" <gcc-prs@gcc.gnu.org>, 
	"'jianhua.zhou@mail2ext.na.informix.com'"
	 <jianhua.zhou@mail2ext.na.informix.com>, "'nobody@gcc.gnu.org'"
	 <nobody@gcc.gnu.org>, "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>
Cc:  
Subject: RE: c++/5197: compiler doesn't work correctly
Date: Wed, 9 Jan 2002 18:17:34 -0600 

 This message is in MIME format. Since your mail reader does not understand
 this format, some or all of this message may not be legible.
 
 ------_=_NextPart_001_01C1996C.33C523C0
 Content-Type: text/plain;
 	charset="ISO-8859-1"
 
 Sorry, I mean to find a 2.9.x version which is not restricted to ANSI C++,
 and have this problem fixed.
 
 		-----Original Message-----
 		From:	Jianhua Zhou 
 		Sent:	Wednesday, January 09, 2002 4:52 PM
 		To:	'rodrigc@gcc.gnu.org'; 'gcc-bugs@gcc.gnu.org';
 'gcc-prs@gcc.gnu.org'; 'jianhua.zhou@mail2ext.na.informix.com';
 'nobody@gcc.gnu.org'; 'gcc-gnats@gcc.gnu.org'; Jianhua Zhou
 		Subject:	RE: c++/5197: compiler doesn't work
 correctly
 
 		Yes. It is ok on 3.0.3
 
 		But g++ 3.0.3 is more ANSI C++ standard. We are using a lot
 feature which are not available in g++ 3.0.3.
 
 		So would you please check the g++ 2.9.6 (RedHat 7.1) and see
 if this problem is there. Or give me some a
 		2.9.x version, which is restricted to ANSI C++, has this
 problem fixed.
 
 		Thanks!   
 
 				-----Original Message-----
 				From:	rodrigc@gcc.gnu.org
 [mailto:rodrigc@gcc.gnu.org]
 				Sent:	Wednesday, December 26, 2001 5:13 PM
 				To:	gcc-bugs@gcc.gnu.org;
 gcc-prs@gcc.gnu.org; jianhua.zhou@informix.com; nobody@gcc.gnu.org
 				Subject:	Re: c++/5197: compiler
 doesn't work correctly
 
 				Synopsis: compiler doesn't work correctly
 
 				State-Changed-From-To: open->feedback
 				State-Changed-By: rodrigc
 				State-Changed-When: Wed Dec 26 16:12:44 2001
 				State-Changed-Why:
 				    I cannot reproduce this problem with gcc
 3.0.3 under Linux.
 				    Can you try gcc 3.0.3 and see if the
 problem is reproduced?
 
 	
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
 r=5197
 
 ------_=_NextPart_001_01C1996C.33C523C0
 Content-Type: text/html;
 	charset="ISO-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <HTML>
 <HEAD>
 <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
 charset=3DISO-8859-1">
 <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
 5.5.2653.12">
 <TITLE>RE: c++/5197: compiler doesn't work correctly</TITLE>
 </HEAD>
 <BODY>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Sorry, I mean to find a 2.9.x version =
 which is not restricted to ANSI C++, and have this problem =
 fixed.</FONT>
 </P>
 <UL><UL>
 <P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
 Message-----</FONT></A>
 <BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; Jianhua Zhou =
 </FONT></B>
 <BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
 SIZE=3D2 FACE=3D"Arial">Wednesday, January 09, 2002 4:52 PM</FONT>
 <BR><B><FONT SIZE=3D2 =
 FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
 FACE=3D"Arial">'rodrigc@gcc.gnu.org'; 'gcc-bugs@gcc.gnu.org'; =
 'gcc-prs@gcc.gnu.org'; 'jianhua.zhou@mail2ext.na.informix.com'; =
 'nobody@gcc.gnu.org'; 'gcc-gnats@gcc.gnu.org'; Jianhua Zhou</FONT></P>
 
 <P><B><FONT SIZE=3D2 =
 FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
 </B> <FONT SIZE=3D2 FACE=3D"Arial">RE: c++/5197: compiler doesn't work =
 correctly</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Yes. It is ok on 3.0.3</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">But g++ 3.0.3 is more ANSI C++ =
 standard. We are using a lot feature which are not available in g++ =
 3.0.3.</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">So would you please check the g++ =
 2.9.6 (RedHat 7.1) and see if this problem is there. Or give me some =
 a</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">2.9.x version, which is restricted to =
 ANSI C++, has this problem fixed.</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Thanks!&nbsp;&nbsp; </FONT>
 </P>
 <UL><UL>
 <P><FONT SIZE=3D2 FACE=3D"Arial">-----Original Message-----</FONT>
 <BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; =
 rodrigc@gcc.gnu.org [<A =
 HREF=3D"mailto:rodrigc@gcc.gnu.org">mailto:rodrigc@gcc.gnu.org</A>]</FON=
 T></B>
 <BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
 SIZE=3D2 FACE=3D"Arial">Wednesday, December 26, 2001 5:13 PM</FONT>
 <BR><B><FONT SIZE=3D2 =
 FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
 FACE=3D"Arial">gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; =
 jianhua.zhou@informix.com; nobody@gcc.gnu.org</FONT>
 <BR><B><FONT SIZE=3D2 =
 FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
 </B> <FONT SIZE=3D2 FACE=3D"Arial">Re: c++/5197: compiler doesn't work =
 correctly</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Synopsis: compiler doesn't work =
 correctly</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-From-To: =
 open-&gt;feedback</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-By: rodrigc</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-When: Wed Dec 26 =
 16:12:44 2001</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-Why:</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; I cannot reproduce =
 this problem with gcc 3.0.3 under Linux.</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; Can you try gcc =
 3.0.3 and see if the problem is reproduced?</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial"><A =
 HREF=3D"http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&=
 database=3Dgcc&pr=3D5197" =
 TARGET=3D"_blank">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20au=
 dit-trail&database=3Dgcc&pr=3D5197</A></FONT>
 </P>
 </UL></UL></UL></UL>
 </BODY>
 </HTML>
 ------_=_NextPart_001_01C1996C.33C523C0--


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: c++/5197: compiler doesn't work correctly
@ 2001-12-27  9:16 Jianhua Zhou
  0 siblings, 0 replies; 6+ messages in thread
From: Jianhua Zhou @ 2001-12-27  9:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Jianhua Zhou <Jianhua.Zhou@informix.com>
To: "'rodrigc@gcc.gnu.org'" <rodrigc@gcc.gnu.org>, 
	"'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>, "'gcc-prs@gcc.gnu.org'"
	 <gcc-prs@gcc.gnu.org>, "'jianhua.zhou@mail2ext.na.informix.com'"
	 <jianhua.zhou@mail2ext.na.informix.com>, "'nobody@gcc.gnu.org'"
	 <nobody@gcc.gnu.org>, "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>
Cc:  
Subject: RE: c++/5197: compiler doesn't work correctly
Date: Thu, 27 Dec 2001 11:12:28 -0600

 This message is in MIME format. Since your mail reader does not understand
 this format, some or all of this message may not be legible.
 
 ------_=_NextPart_001_01C18EF9.A94421A0
 Content-Type: text/plain;
 	charset="ISO-8859-1"
 
 Would you please tell me where to get the g++ 3.0.3 and install on my
 machine?
 
 Actually we install the RedHat Linux 7.1, it contain the new g++ version
 which has some problems.
 
 Thanks and Happy Holiday!
 
 Jianhua Zhou
 		-----Original Message-----
 		From:	rodrigc@gcc.gnu.org [mailto:rodrigc@gcc.gnu.org]
 		Sent:	Wednesday, December 26, 2001 5:13 PM
 		To:	gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org;
 jianhua.zhou@informix.com; nobody@gcc.gnu.org
 		Subject:	Re: c++/5197: compiler doesn't work
 correctly
 
 		Synopsis: compiler doesn't work correctly
 
 		State-Changed-From-To: open->feedback
 		State-Changed-By: rodrigc
 		State-Changed-When: Wed Dec 26 16:12:44 2001
 		State-Changed-Why:
 		    I cannot reproduce this problem with gcc 3.0.3 under
 Linux.
 		    Can you try gcc 3.0.3 and see if the problem is
 reproduced?
 
 	
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
 r=5197
 
 ------_=_NextPart_001_01C18EF9.A94421A0
 Content-Type: text/html;
 	charset="ISO-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <HTML>
 <HEAD>
 <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
 charset=3DISO-8859-1">
 <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
 5.5.2653.12">
 <TITLE>RE: c++/5197: compiler doesn't work correctly</TITLE>
 </HEAD>
 <BODY>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Would you please tell me where to get =
 the g++ 3.0.3 and install on my machine?</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Actually we install the RedHat Linux =
 7.1, it contain the new g++ version which has some problems.</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Thanks and Happy Holiday!</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Jianhua Zhou</FONT>
 <UL><UL>
 <P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">-----Original =
 Message-----</FONT></A>
 <BR><B><FONT SIZE=3D2 FACE=3D"Arial">From:&nbsp;&nbsp; =
 rodrigc@gcc.gnu.org [<A =
 HREF=3D"mailto:rodrigc@gcc.gnu.org">mailto:rodrigc@gcc.gnu.org</A>]</FON=
 T></B>
 <BR><B><FONT SIZE=3D2 FACE=3D"Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT =
 SIZE=3D2 FACE=3D"Arial">Wednesday, December 26, 2001 5:13 PM</FONT>
 <BR><B><FONT SIZE=3D2 =
 FACE=3D"Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D2 =
 FACE=3D"Arial">gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; =
 jianhua.zhou@informix.com; nobody@gcc.gnu.org</FONT>
 <BR><B><FONT SIZE=3D2 =
 FACE=3D"Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>=
 </B> <FONT SIZE=3D2 FACE=3D"Arial">Re: c++/5197: compiler doesn't work =
 correctly</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">Synopsis: compiler doesn't work =
 correctly</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-From-To: =
 open-&gt;feedback</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-By: rodrigc</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-When: Wed Dec 26 =
 16:12:44 2001</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">State-Changed-Why:</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; I cannot reproduce =
 this problem with gcc 3.0.3 under Linux.</FONT>
 <BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; Can you try gcc =
 3.0.3 and see if the problem is reproduced?</FONT>
 </P>
 
 <P><FONT SIZE=3D2 FACE=3D"Arial"><A =
 HREF=3D"http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&=
 database=3Dgcc&pr=3D5197" =
 TARGET=3D"_blank">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20au=
 dit-trail&database=3Dgcc&pr=3D5197</A></FONT>
 </P>
 </UL></UL>
 </BODY>
 </HTML>
 ------_=_NextPart_001_01C18EF9.A94421A0--


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: c++/5197: compiler doesn't work correctly
@ 2001-12-26 16:12 rodrigc
  0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2001-12-26 16:12 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jianhua.zhou, nobody

Synopsis: compiler doesn't work correctly

State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Wed Dec 26 16:12:44 2001
State-Changed-Why:
    I cannot reproduce this problem with gcc 3.0.3 under Linux.
    Can you try gcc 3.0.3 and see if the problem is reproduced?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5197


^ permalink raw reply	[flat|nested] 6+ messages in thread

* c++/5197: compiler doesn't work correctly
@ 2001-12-26 14:36 jianhua.zhou
  0 siblings, 0 replies; 6+ messages in thread
From: jianhua.zhou @ 2001-12-26 14:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5197
>Category:       c++
>Synopsis:       compiler doesn't work correctly
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 26 14:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jianhua Zhou
>Release:        g++ 3.0
>Organization:
>Environment:
RedHat Linux 7.0
>Description:
Cannot solve the overloaded member function. 
>How-To-Repeat:
Compile this program will give you the error message.
This file can be compile and linked on RedHat Linux 6.?,
which have the old version of "g++".

The file:
#include <iostream.h>

class Param
{
public:
   Param( int v) { value = v ; } ;

   int value ;
};

class Test
{
public:
    static int myFunc( const Param& k ) { return k.value ; };
    static int myFunc( const int& k ) { return k ; };
} ;

static  int sfunc( int(*f)(const Param& k), const Param &t )
{
    return (*f)( t) ;
}

int
main()
{
    int ret ;
    Param param(11) ;

    ret = sfunc( Test::myFunc, Param(12)) ;

    cout << "ret=" << ret << endl ;

    return 0 ;
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-03-03 18:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-09 16:06 c++/5197: compiler doesn't work correctly Jianhua Zhou
  -- strict thread matches above, loose matches on Subject: below --
2002-03-03 10:52 rodrigc
2002-01-09 16:16 Jianhua Zhou
2001-12-27  9:16 Jianhua Zhou
2001-12-26 16:12 rodrigc
2001-12-26 14:36 jianhua.zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).