aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2016-04-27 18:08:46 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2016-04-27 18:08:46 +0000
commitb55b11bb7a9aceb8c7ffda6c194347ec6c1556e5 (patch)
treef07de371e1071a2f12c015b45436916f4f768eef /gcc/cp
parent1e55d29a0c643ebef76b6056077e9f78686669d6 (diff)
downloadgcc-b55b11bb7a9aceb8c7ffda6c194347ec6c1556e5.zip
gcc-b55b11bb7a9aceb8c7ffda6c194347ec6c1556e5.tar.gz
gcc-b55b11bb7a9aceb8c7ffda6c194347ec6c1556e5.tar.bz2
Convert DF_SCAN etc from #define to an enum
Whilst debugging an issue in df, I noticed that there are some #define constants that could be an enum (thus making them known to gdb). Convert them to a new enum, and update the "id" field of struct df_problem. gcc/ChangeLog: * df.h (DF_SCAN, DF_LR, DF_LIVE, DF_RD, DF_CHAIN, DF_WORD_LR, DF_NOTE, DF_MD, DF_MIR, DF_LAST_PROBLEM_PLUS1): Convert from #define to... (enum df_problem_id): ...this new enum. (struct df_problem): Convert field "id" from "int" to enum df_problem_id. From-SVN: r235522
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions