When function names will be used as lvalues (typo), not the correct error
message will be displayed.
(It appeared when misspelling sent).
#include <stdio.h> /* only for a valid funcion name */
void main(void){
printf += 1;
}
# gcc -o nil gcc.bug.c
gcc.bug.c:10 internal compiler error: in default_conversion, at c-typeck.c:1568
gcc version: gcc (GCC) 4.1.0 (SUSE Linux)
--
Summary: typo confuses default_conversion
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mmlpz at t-online dot de
GCC build triplet: i386 pc-linux/GNU
GCC host triplet: i386 pc-linux/GNU
GCC target triplet: i386 pc-linux/GNU
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29220