2018-06-05 Richard Biener <rguenther@suse.de>
commit8b73d2dbf2fc2ccba527ec57e5245d1eb794b134
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2018 11:10:25 +0000 (5 11:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2018 11:10:25 +0000 (5 11:10 +0000)
tree7046ce6cd79a9d513040cb517e836e0ce702a15f
parent260555278b749d14abf4eea926d88cfe7f235b6b
2018-06-05  Richard Biener  <rguenther@suse.de>

* tree-cfg.c (struct locus_discrim_map): Store line, not location.
(locus_discrim_hasher::hash): Adjust.
(locus_discrim_hasher::equal): Likewise.
(next_discriminator_for_locus): Work on line directly.
(same_line_p): Pass in expanded locus1 as well.
(assign_discriminators): Avoid redundant location expansions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261194 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-cfg.c