https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94060
Bug ID: 94060
Summary: Cleanup code in gimple_or_expr_nonartificial_location
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: law at redhat dot com
Target Milestone: ---
gimple_or_expr_nonartificial_location will extract a location from the passed
in expr node. That's generally the wrong thing to do.
For gcc-11 that code should either be removed or turned into a gcc_unreachable
so that we can track down occurrences of UNKNOWN_LOCATION slipping through on
gimple statements.