🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jason Merrill Sat, 05 Sep 1992 23:47
Tautological assertion in cp-decl.c
#1071
Author: Jason Merrill
Date: Sat, 05 Sep 1992 23:47
11 lines
865 bytes
When compiling gcc, I was warned that a test on line 10584 of cp-decl.c was
always 1 due to the range of the type.  The line is:

	assert (current_binding_level->n_incomplete >= 0);

And, indeed, the n_incomplete field of binding_level is of type unsigned
short, so this assertion doesn't do anything useful.

--
Jason Merrill
jason@jarthur.claremont.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads