r235522 - in /trunk/gcc: ChangeLog df.h
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Wed Apr 27 18:08:00 GMT 2016
Author: dmalcolm
Date: Wed Apr 27 18:08:46 2016
New Revision: 235522
URL: https://gcc.gnu.org/viewcvs?rev=235522&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/df.h
More information about the Gcc-cvs
mailing list