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

            Bug ID: 68474
           Summary: [6 Regression] ICE: in get_no_error_domain, at
                    tree-call-cdce.c:699 with -funsafe-math-optimizations
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

Created attachment 36800
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36800&action=edit
reduced testcase

Compiler output:
$ gcc -O -funsafe-math-optimizations testcase.c
testcase.c: In function 'foo':
testcase.c:2:1: internal compiler error: in get_no_error_domain, at
tree-call-cdce.c:699
 foo (long double d1, long double d2)
 ^~~

0xbb2bfb get_no_error_domain
        /mnt/svn/gcc-trunk/gcc/tree-call-cdce.c:699
0xbb2bfb gen_shrink_wrap_conditions
        /mnt/svn/gcc-trunk/gcc/tree-call-cdce.c:736
0xbb375c use_internal_fn
        /mnt/svn/gcc-trunk/gcc/tree-call-cdce.c:962
0xbb42f2 shrink_wrap_conditional_dead_built_in_calls
        /mnt/svn/gcc-trunk/gcc/tree-call-cdce.c:1033
0xbb42f2 execute
        /mnt/svn/gcc-trunk/gcc/tree-call-cdce.c:1117
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


$ gcc -v                                       
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-230703-lto-fortran-checking-yes-rtl-df/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk//binary-230703-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl --without-isl
Thread model: posix
gcc version 6.0.0 20151121 (experimental) (GCC) 


Tested revisions:
r230703 - ICE
5-branch r229305 - OK

Reply via email to