Here the steps to reproduce: $ cat test.c int main() { int i386; } $ gcc -fsyntax-only test.c test.c: In function main: test.c:1: error: expected identifier or ( before numeric constant
Also see this: $ gcc -E test.c # 1 "test.c" # 1 "<built-in>" # 1 "<command-line>" # 1 "test.c" int main() { int 1; } My version: $ gcc --version gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 Works on 4.1.3. -- Summary: -fsyntax-only rejects conforming code Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stefano dot soffia at studenti dot univr dot it http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43343