https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97058
Bug ID: 97058 Summary: invalid "cc1: warning: '-Werror=' argument '-funroll-completely-grow-size' is not valid for C" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Compiler output: $ echo '' > tst.c $ gcc -Wno-multichar -funroll-completely-grow-size -c tst.c cc1: warning: '-Werror=' argument '-funroll-completely-grow-size' is not valid for C $ gcc -Wno-multichar -funroll-completely-grow-size -xc++ -c tst.c cc1plus: warning: '-Werror=' argument '-funroll-completely-grow-size' is not valid for C++ $ gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r11-3201-20200915093938-g0f079e104a8-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r11-3201-20200915093938-g0f079e104a8-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.0.0 20200915 (experimental) (GCC)