http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57107



             Bug #: 57107

           Summary: tree check fail in unlink_stmt_vdef

    Classification: Unclassified

           Product: gcc

           Version: 4.9.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: c++

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: dcb...@hotmail.com





I just tried to compile the package luminance-hdr-2.3.0-6

on gcc-4.9 trunk dated 20130428 on an AMD x86_64 box.



The compiler said



/home/dcb/rpmbuild/BUILD/luminance-hdr-2.3.0/src/Fileformat/pngwriter.cpp:205:1:

internal compiler error: tree check: expected ssa_name, have var_decl in

unlink_stmt_vdef, at tree-ssa-operands.c:1322

 }

 ^

0xc8c92a tree_check_failed(tree_node const*, char const*, int, char const*,

...)

    ../../src/trunk/gcc/tree.c:8972

0xbc0db7 tree_check

    ../../src/trunk/gcc/tree.h:3690

0xbc0db7 unlink_stmt_vdef(gimple_statement_d*)

    ../../src/trunk/gcc/tree-ssa-operands.c:1322

0xae2919 optimize_clobbers

    ../../src/trunk/gcc/tree-eh.c:3298

0xae681b cleanup_empty_eh

    ../../src/trunk/gcc/tree-eh.c:4227

0xae681b cleanup_all_empty_eh

    ../../src/trunk/gcc/tree-eh.c:4355

0xae681b execute_cleanup_eh_1

    ../../src/trunk/gcc/tree-eh.c:4384

0xae681b execute_cleanup_eh

    ../../src/trunk/gcc/tree-eh.c:4409

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.



Preprocessed source code attached. Flag -O2 required.

Reply via email to