https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69239

            Bug ID: 69239
           Summary: [5/6 Regression] g++.dg/ipa/devirt-c-3.C FAILs with
                    -O2 -fPIC --param=early-inlining-insns=196
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu

Created attachment 37312
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37312&action=edit
partially reduced testcase (from g++.dg/ipa/devirt-c-3.C)

Output:
$ x86_64-pc-linux-gnu-g++ -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/x86_64-pc-linux-gnu-g++
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-232261-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-232261-checking-yes-rtl-df-nographite
Thread model: posix
gcc version 6.0.0 20160112 (experimental) (GCC) 

$ x86_64-pc-linux-gnu-g++ -O2 -fPIC --param=early-inlining-insns=196 testcase.C

$ ./a.out 
Aborted

All tested targets seem to be affected (x86, ppc, arm, sparc).

Tested revisions (after PR66616 fix):
trunk r232261 - FAIL
5-branch r232254 - FAIL
4_9-branch r232213 - OK
4_8-branch r224828 - OK
4_7-branch r211571 - OK
4_6-branch r197894 - OK
4_5-branch r189152 - OK

Reply via email to