[Bug other/94060] New: Cleanup code in gimple_or_expr_nonartificial_location
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Mar 5 21:10:00 GMT 2020
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.
More information about the Gcc-bugs
mailing list