cc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL> for instructions.
Still I would never file a bug report to GCC.
Hostile community, hostile bug tracker, hard to reduce test cases to an acceptable state. clang is way better in this.