[Bug target/65771] [5 Regression] ICE (in loc_list_from_tree, at dwarf2out.c:14964) on arm-linux-gnueabihf

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 15 13:49:00 GMT 2015


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

--- Comment #4 from ktkachov at gcc dot gnu.org ---

> The switch statement in loc_list_from_tree
> doesn't handle DEBUG_EXPR_DECL which is why it ICEs.
> However, I'm not familiar with the code.
> Should it handle DEBUG_EXPR_DECL (just return 0)?

Adding a return 0 for the DEBUG_EXPR_DECL fixes the ICE in the testcase, but I
have no idea if it's the correct thing to do.



More information about the Gcc-bugs mailing list