http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51321
Bug #: 51321 Summary: __builtin_types_compatible_p (any_type_t[1][], any_other_type_t) crashes GCC Classification: Unclassified Product: gcc Version: 4.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: hnarkay...@gmail.com int main () { return (__builtin_types_compatible_p (char[1][], char[1][1])); } cc -Wall -O2 -g bug.c -o bug bug.c: In function 'main': bug.c:3: error: array type has incomplete element type bug.c:3: confused by earlier errors, bailing out Preprocessed source stored into /tmp/ccPgaiXX.out file, please attach this to your bugreport. make: *** [bug] Error 1 // /usr/libexec/gcc/x86_64-redhat-linux/4.4.4/cc1 -quiet bug.c -quiet -dumpbase bug.c -mtune=generic -auxbase bug -g -O2 -Wall -o - -frandom-seed=0 # 1 "bug.c" # 1 "/home/smash/development/hello//" # 1 "<built-in>" # 1 "<command-line>" # 1 "bug.c" int main () { return (__builtin_types_compatible_p (char[1][], char[1][1])); }