public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/7192: build failed in gcc/cp/pt.c
@ 2002-07-03  3:26 adi
  0 siblings, 0 replies; 2+ messages in thread
From: adi @ 2002-07-03  3:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7192
>Category:       bootstrap
>Synopsis:       build failed in gcc/cp/pt.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 03 03:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Knoth
>Release:        3.2 20020604 (experimental)
>Organization:
Thueringen Netz e.V. (www.erfurt.thur.de)
>Environment:
System: Linux drcomp 2.4.18 #13 Sun Mar 3 13:22:15 CET 2002 i586 unknown
Architecture: i586

	
host: i586-pc-linux-gnu
build: i586-pc-linux-gnu
target: i586-pc-linux-gnu
configured with: ../gcc/configure --enable-shared --enable-threads --enable-languages=c,c++,ada
>Description:
	The cvs-co from 2002/07/03 breaks with:
	cp/pt.o: In function `instantiate_class_template':
	/bigspace/build/compile/gcc/../../gcc/gcc/cp/pt.c:5254: undefined reference to `incomplete_type_error'

	This seems correct because grep can only find cxx_incomplete_type_error
>How-To-Repeat:
	Compile gcc-3.2-20020703 with C++
>Fix:
	I'm not quite sure whether this is the right way, but it worked for
	me here:

diff -u -r old/gcc/gcc/cp/pt.c new/gcc/gcc/cp/pt.c
--- old/gcc/gcc/cp/pt.c	Tue Jul  2 17:55:54 2002
+++ new/gcc/gcc/cp/pt.c	Wed Jul  3 12:13:52 2002
@@ -5251,7 +5251,7 @@
 	    tree rtype = TREE_TYPE (r);
 	    if (!can_complete_type_without_circularity (rtype))
 	      {
-		incomplete_type_error (r, rtype);
+		cxx_incomplete_type_error (r, rtype);
 		r = error_mark_node;
 	      }
 	  }
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: bootstrap/7192: build failed in gcc/cp/pt.c
@ 2002-07-03  9:15 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-07-03  9:15 UTC (permalink / raw)
  To: adi, gcc-bugs, gcc-prs, nobody

Synopsis: build failed in gcc/cp/pt.c

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Wed Jul  3 09:15:15 2002
State-Changed-Why:
    Fixed.

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


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

end of thread, other threads:[~2002-07-03 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-03  3:26 bootstrap/7192: build failed in gcc/cp/pt.c adi
2002-07-03  9:15 lerdsuwa

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).