https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93357
Bug ID: 93357 Summary: Misleading diagnostic for complex int Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-10.0.0-alpha20200119 snapshot (g:3684bbb022cd75da55e1457673f269980aa12cdf) and gcc 9.2.0 emit misleading diagnostic for the following testcase: void tp (complex int pe) { } % gcc -c comvaztb.c comvaztb.c:2:5: error: unknown type name 'complex'; did you mean 'complex int'? 2 | tp (complex int pe) | ^~~~~~~ | complex int Suggested correction obviously cannot be applied.