[gnu.gcc.bug] unused literal constants

raeburn@ATHENA.MIT.EDU (Ken Raeburn) (01/01/89)

Although keeping unreferenced string variables is sometimes a
reasonable thing (as in the case of RCS ident strings), it would
probably be useful to eliminate strings referenced only in unused
static inline functions.  For example, the file

    static inline frob (int a, int b, int c) {
	printf ("%d %d %d\n", a, b, c);
	return 7;
    }

results in an object file containing one string; any C++ file which
uses <stream.h> gets a number of strings, regardless of which (if any)
of the stream i/o operations are used.