[Bug middle-end/89779] New: [9 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in tree_nop_conversion_p, at tree.c:12798

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 20 23:03:00 GMT 2019


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

            Bug ID: 89779
           Summary: [9 Regression]  internal compiler error: tree check:
                    expected class ‘type’, have ‘exceptional’ (error_mark)
                    in tree_nop_conversion_p, at tree.c:12798
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com, rguenther at suse dot de
  Target Milestone: ---

On x86-64, r269765 failed to build 526.blender_r in SPEC CPU 2017:

$ gcc -m64 -c -o blender/source/blender/modifiers/intern/MOD_skin.o -DSPEC
-DNDEBUG -Ispecrand -Iblender/extern/binreloc/include
-Iblender/extern/colamd/Include -Iblender/extern/glew/include
-Iblender/extern/libmv -Iblender/extern/libmv/intern -Iblender/extern/rangetree
-Iblender/extern/wcwidth -Iblender/intern -Iblender/intern/atomic
-Iblender/intern/audaspace/intern -Iblender/intern/cycles/blender
-Iblender/intern/elbeem/extern -Iblender/intern/ghost
-Iblender/intern/ghost/intern -Iblender/intern/glew-mx
-Iblender/intern/glew-mx/intern -Iblender/intern/guardedalloc
-Iblender/intern/guardedalloc/intern -Iblender/intern/iksolver/extern
-Iblender/intern/locale -Iblender/intern/memutil -Iblender/intern/mikktspace
-Iblender/intern/opencolorio -Iblender/intern/raskter
-Iblender/intern/smoke/extern -Iblender/intern/string -Iblender/intern/utfconv
-Iblender/source/blender/blenfont -Iblender/source/blender/blenfont/intern
-Iblender/source/blender/blenkernel -Iblender/source/blender/blenkernel/intern
-Iblender/source/blender/blenlib -Iblender/source/blender/blenlib/intern
-Iblender/source/blender/blenloader -Iblender/source/blender/blenloader/intern
-Iblender/source/blender/bmesh -Iblender/source/blender/bmesh/intern
-Iblender/source/blender/bmesh/tools -Iblender/source/blender/collada
-Iblender/source/blender/compositor -Iblender/source/blender/editors/animation
-Iblender/source/blender/editors/armature
-Iblender/source/blender/editors/curve -Iblender/source/blender/editors/gpencil
-Iblender/source/blender/editors/include
-Iblender/source/blender/editors/interface -Iblender/source/blender/editors/io
-Iblender/source/blender/editors/mask -Iblender/source/blender/editors/mesh
-Iblender/source/blender/editors/metaball
-Iblender/source/blender/editors/object
-Iblender/source/blender/editors/physics
-Iblender/source/blender/editors/render -Iblender/source/blender/editors/screen
-Iblender/source/blender/editors/sculpt_paint
-Iblender/source/blender/editors/sound
-Iblender/source/blender/editors/space_action
-Iblender/source/blender/editors/space_buttons
-Iblender/source/blender/editors/space_clip
-Iblender/source/blender/editors/space_console
-Iblender/source/blender/editors/space_file
-Iblender/source/blender/editors/space_graph
-Iblender/source/blender/editors/space_image
-Iblender/source/blender/editors/space_info
-Iblender/source/blender/editors/space_logic
-Iblender/source/blender/editors/space_nla
-Iblender/source/blender/editors/space_node
-Iblender/source/blender/editors/space_outliner
-Iblender/source/blender/editors/space_script
-Iblender/source/blender/editors/space_sequencer
-Iblender/source/blender/editors/space_text
-Iblender/source/blender/editors/space_time
-Iblender/source/blender/editors/space_userpref
-Iblender/source/blender/editors/space_view3d
-Iblender/source/blender/editors/transform
-Iblender/source/blender/editors/util -Iblender/source/blender/editors/uvedit
-Iblender/source/blender/gpu -Iblender/source/blender/gpu/intern
-Iblender/source/blender/ikplugin -Iblender/source/blender/ikplugin/intern
-Iblender/source/blender/imbuf -Iblender/source/blender/imbuf/intern
-Iblender/source/blender/imbuf/intern/openexr -Iblender/source/blender/makesdna
-Iblender/source/blender/makesrna -Iblender/source/blender/makesrna/intern
-Iblender/source/blender/modifiers -Iblender/source/blender/modifiers/intern
-Iblender/source/blender/nodes -Iblender/source/blender/nodes/composite
-Iblender/source/blender/nodes/intern -Iblender/source/blender/nodes/shader
-Iblender/source/blender/nodes/texture -Iblender/source/blender/python
-Iblender/source/blender/render/extern/include
-Iblender/source/blender/render/intern/include
-Iblender/source/blender/render/intern/raytrace
-Iblender/source/blender/windowmanager
-Iblender/source/gameengine/BlenderRoutines
-Iblender_bin/source/blender/makesrna/intern -Iinclude -Ilibpng -Izlib
-DSPEC_AUTO_SUPPRESS_OPENMP -DSPEC_AUTO_BYTEORDER=0x12345678 -DGLEW_NO_ES
-DGLEW_STATIC -DWITH_DNA_GHASH -DWITH_GL_PROFILE_COMPAT -DWITH_HEADLESS
-DHAVE_UNSIGNED_CHAR  -fno-unsafe-math-optimizations -mfpmath=sse 
-march=skylake  -Ofast -funroll-loops        -funsigned-char -DSPEC_LINUX      
-DSPEC_LP64  blender/source/blender/modifiers/intern/MOD_skin.c

during GIMPLE pass: ivopt
blender/source/blender/modifiers/intern/MOD_skin.c: In function
‘applyModifier’:
blender/source/blender/modifiers/intern/MOD_skin.c:1871:21: internal compiler
error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in
tree_nop_conversion_p, at tree.c:12798
 1871 | static DerivedMesh *applyModifier(ModifierData *md,
      |                     ^~~~~~~~~~~~~
0x158096b tree_class_check_failed(tree_node const*, tree_code_class, char
const*, int, char const*)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree.c:9915
0x84ccf7 tree_class_check(tree_node const*, tree_code_class, char const*, int,
char const*)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree.h:3555
0x158d49a tree_nop_conversion_p(tree_node const*, tree_node const*)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree.c:12798
0x158d5f1 tree_nop_conversion
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree.c:12824
0x158d764 tree_strip_nop_conversions(tree_node*)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree.c:12851
0xc4f3e1 operand_equal_p(tree_node const*, tree_node const*, unsigned int)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/fold-const.c:3017
0xc502cd operand_equal_p(tree_node const*, tree_node const*, unsigned int)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/fold-const.c:3201
0xc4ed53 operand_equal_p(tree_node const*, tree_node const*, unsigned int)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/fold-const.c:2950
0x138b44d loop_exits_before_overflow
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-ssa-loop-niter.c:4627
0x138bbfb scev_probably_wraps_p(tree_node*, tree_node*, tree_node*, gimple*,
loop*, bool)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-ssa-loop-niter.c:4835
0x1fcc6d6 convert_affine_scev(loop*, tree_node*, tree_node**, tree_node**,
gimple*, bool, tree_node*)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-chrec.c:1299
0x1fcc8b5 chrec_convert_1
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-chrec.c:1357
0x1fccd91 chrec_convert(tree_node*, tree_node*, gimple*, bool, tree_node*)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-chrec.c:1448
0x12b13fe interpret_rhs_expr
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-scalar-evolution.c:1974
0x12b1794 interpret_gimple_assign
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-scalar-evolution.c:2045
0x12b1909 analyze_scalar_evolution_1
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-scalar-evolution.c:2096
0x12b1b21 analyze_scalar_evolution(loop*, tree_node*)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-scalar-evolution.c:2165
0x12b1c2c analyze_scalar_evolution_in_loop
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-scalar-evolution.c:2267
0x12b493f simple_iv_with_niters(loop*, loop*, tree_node*, affine_iv*,
tree_node**, bool)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-scalar-evolution.c:3364
0x12b51d8 simple_iv(loop*, loop*, tree_node*, affine_iv*, bool)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/tree-scalar-evolution.c:3489
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.


More information about the Gcc-bugs mailing list