[gnu.gcc.bug] gcc/g++ note 12178901 - better error messages needed

rfg@ICS.UCI.EDU (12/18/89)

In the following error messages, it would be more helpful to have the
line number of the previous *definition* of the variable in question
indicated, rather than the previous *declaration* (which is unimportant).

This affects GCC 1.36 and G++ 1.36.1.

Script started on Sun Dec 17 12:26:02 1989
ics>att nl -ba gcc-note-12178901.c
     1	
     2	int multiple = 99;
     3	
     4	int multiple;
     5	
     6	int multiple = 77;
ics>gcc -v -c gcc-note-12178901.c
gcc version 1.36
 /usr/gnu/lib/gcc-cpp -v -undef -D__GNUC__ -Dunix -Di386 -Dsequent -D__unix__ -D__i386__ -D__sequent__ gcc-note-12178901.c /usr/tmp/cc008774.cpp
GNU CPP version 1.36
 /usr/gnu/lib/gcc-cc1 /usr/tmp/cc008774.cpp -quiet -dumpbase gcc-note-12178901.c -version -o /usr/tmp/cc008774.s
GNU C version 1.36 (80386, BSD syntax) compiled by GNU C version 1.36.
default target switches: -m80387
gcc-note-12178901.c:6: redefinition of `multiple'
gcc-note-12178901.c:4: here is the previous declaration of `multiple'
ics>exit
exit

script done on Sun Dec 17 12:27:06 1989