This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/64766] New: internal compiler error: tree check: expected block, have error_mark in lower_function_body, at gimple-low.c:122


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

            Bug ID: 64766
           Summary: internal compiler error: tree check: expected block,
                    have error_mark in lower_function_body, at
                    gimple-low.c:122
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org

./cc1 -quiet ice1.c
ice1.c:6:1: error: function âfn1â is initialized like a variable
 void fn1 () =
 ^
ice1.c:6:1: error: expected expression at end of input
ice1.c: In function âfn1â:
ice1.c:2:1: internal compiler error: tree check: expected block, have
error_mark in lower_function_body, at gimple-low.c:122
 fn1 ()
 ^
0xface14 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
    /home/marek/src/gcc/gcc/tree.c:9290
0x14f37fb tree_check
    /home/marek/src/gcc/gcc/tree.h:2846
0x14f37fb lower_function_body
    /home/marek/src/gcc/gcc/gimple-low.c:122
0x14f37fb execute
    /home/marek/src/gcc/gcc/gimple-low.c:205
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.

void
fn1 ()
{
}

void fn1 () =

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]