You should file a bug in Clang about lack of compatibility with GCC due to requiring -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang to use -ftrivial-auto-var-init=zero. It's supposed to be 1:1 compatible with switches passed for GCC.