https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70280
Bug ID: 70280 Summary: -fcompare-debug failure (length) with --param=integer-share-limit=4016 -mavx512bw Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Target: x86_64-pc-linux-gnu Created attachment 38000 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38000&action=edit quite reduced testcase Compiler output: $ gcc --param=integer-share-limit=4016 -mavx512bw -fcompare-debug testcase-min4.c ... gcc: error: testcase-min4.c: -fcompare-debug failure (length) $ gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-234258-checking-yes-rtl-df-nographite/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-234258-checking-yes-rtl-df-nographite Thread model: posix gcc version 6.0.0 20160316 (experimental) (GCC) $ diff -u /tmp/ccjXoibm.gkd /tmp/ccv30gMz.gk.gkd --- /tmp/ccjXoibm.gkd 2016-03-17 17:05:30.128234688 +0100 +++ /tmp/ccv30gMz.gk.gkd 2016-03-17 17:05:36.668234748 +0100 @@ -10658,7 +10658,7 @@ 0: extern int va_start (); 4: extern int va_end (); 1: struct args[1]; -2: static int BIO_vsnprintf (char *, size_t, const char *, struct *, void, ...); +2: static int BIO_vsnprintf (char *, size_t, const char *, struct *); 7: void <L1>; ;; Function BIO_snprintf (BIO_snprintf, funcdef_no=12, cgraph_uid=12, symbol_order=12) The file is auto-reduced from openssl-1.0.1h b_print.c, licensed under SSLeay ( https://www.openssl.org/source/license.txt ) (likely not GPL compatible). Each iteration of delta removes a few lines, but reducing the testcase is very slow and the testcase is still quite long (now after 4 delta iterations). Fails both gcc-5-branch and gcc-trunk; gcc-4_9-branch doesn't support -mavx512bw.