Bug report with labels in cc1plus (egcs-971207)

Lee Iverson leei@ai.sri.spam.com
Mon Dec 15 14:19:00 GMT 1997


Funny.  I send a bug report, fix it and follow up with the patch, after

which I get a message reporting that my original message bounced (too big).

An approximation to the original bug report follows:

cc1plus fails to compile the following file:

% /opt/gnu/gcc/DIST-egcs-snapshot/irix-6.3/gcc/cc1plus -quiet -g -fno-for-scope Set.instance.i

Starting program: /opt/gnu/gcc/DIST-egcs-snapshot/irix-6.3/gcc/cc1plus -quiet -g -fno-for-scope IRIX6/Set.instance.i
/home/canada2/leei/devel/IUE/v2.0.1/src/lib/TargetJr/IUPackages/COOL/cool/Set.C: In method `bool CoolSet<void *>::resize(long unsigned int)':
/home/canada2/leei/devel/IUE/v2.0.1/src/lib/TargetJr/IUPackages/COOL/cool/Set.C:348: label `retry' used but not defined

Turns out its a problem with labels remaining bound across pop_to_top_level.

Patch was previously enclosed under separate cover.

--
-------------------------------------------------------------------------------
Lee Iverson                     SRI International
leei@ai.sri.com                 333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/    (650) 859-3307


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Set.instance.i.gz
Type: application/x-gzip
Size: 12444 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/19971215/277a5002/attachment.bin>


More information about the Gcc mailing list