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

            Bug ID: 81744
           Summary: ICE: verify_ssa failed, at tree-ssa.c:1186
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamrial at gmail dot com
  Target Milestone: ---

Created attachment 41942
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41942&action=edit
Preprocessed output created with -freport-bug

[jamrial@ArchVM ~]$ gcc -fno-math-errno -O3 -c ccV0zFt3.i
src/libavfilter/af_compand.c: In function ‘config_output’:
src/libavfilter/af_compand.c:328:12: error: definition in block 78 follows the
use
for SSA_NAME: _519 in statement:
_126 = _519 + 4294967291;
during GIMPLE pass: pcom
src/libavfilter/af_compand.c:328:12: internal compiler error: verify_ssa failed
0xdb534b verify_ssa(bool, bool)
        /home/jamrial/gcc-svn/gcc/tree-ssa.c:1186
0xa99527 execute_function_todo
        /home/jamrial/gcc-svn/gcc/passes.c:1997
0xa9a442 execute_todo
        /home/jamrial/gcc-svn/gcc/passes.c:2044
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

[jamrial@ArchVM ~]$ gcc -fno-math-errno -fno-tree-vectorize -O3 -c ccV0zFt3.i
src/libavfilter/af_compand.c: In function ‘config_output’:
src/libavfilter/af_compand.c:328:12: error: definition in block 83 follows the
use
for SSA_NAME: _618 in statement:
_611 = _618 + 4294967291;
during GIMPLE pass: pcom
src/libavfilter/af_compand.c:328:12: internal compiler error: verify_ssa failed
0xdb534b verify_ssa(bool, bool)
        /home/jamrial/gcc-svn/gcc/tree-ssa.c:1186
0xa99527 execute_function_todo
        /home/jamrial/gcc-svn/gcc/passes.c:1997
0xa9a442 execute_todo
        /home/jamrial/gcc-svn/gcc/passes.c:2044
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.


Doesn't crash if i remove either -fno-math-errno or -O3. Adding
-fno-tree-vectorize only changes the contents of the SSA_NAME error.
This seems to be a regression introduced sometime during the past week.

Reply via email to