[Bug c/84687] New: error: invalid conversion in gimple call with -O3 and -ffast-math

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 3 11:27:00 GMT 2018


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

            Bug ID: 84687
           Summary: error: invalid conversion in gimple call with -O3 and
                    -ffast-math
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 43555
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43555&action=edit
C source code

The attached C code, when compiled by recent gcc and flags
-O3 -ffast-math, does this:

/home/dcb/gcc/results.258028/bin/gcc
/home/dcb/gcc/results.258073/bin/gcc
wave.c: In function ‘build_freq_shift_table’:
wave.c:128:1: error: invalid conversion in gimple call
vector(2) double

We can see the problem has started between revisions 258028 and 258073.

I've have a go at reducing the code.


More information about the Gcc-bugs mailing list