diff options
author | David Malcolm <dmalcolm@redhat.com> | 2017-05-05 21:03:07 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2017-05-05 21:03:07 +0000 |
commit | 26d5ed6ceaddb1ca32b34d556e57f082eb38a967 (patch) | |
tree | fa2957f414499bc4f89f1d8b7924c792b706a878 /gcc/store-motion.c | |
parent | 56d3558517e7d7b75ff6704913f563a11eb13118 (diff) | |
download | gcc-26d5ed6ceaddb1ca32b34d556e57f082eb38a967.zip gcc-26d5ed6ceaddb1ca32b34d556e57f082eb38a967.tar.gz gcc-26d5ed6ceaddb1ca32b34d556e57f082eb38a967.tar.bz2 |
Get rid of macros for diagnostic_report_current_module
diagnostic.h has a couple of macros (diagnostic_last_module_changed
and diagnostic_set_last_module) which are only used within
diagnostic_report_current_module.
This patch eliminates the macros in favor of static functions within
diagnostic.c.
No functional change intended.
gcc/ChangeLog:
* diagnostic.c (last_module_changed_p): New function.
(set_last_module): New function.
(diagnostic_report_current_module): Convert macro usage to
the above functions.
* diagnostic.h (diagnostic_context::last_module): Strengthen
from const line_map * to const line_map_ordinary *.
(diagnostic_last_module_changed): Delete macro.
(diagnostic_set_last_module): Delete macro.
From-SVN: r247664
Diffstat (limited to 'gcc/store-motion.c')
0 files changed, 0 insertions, 0 deletions