r235524 - in /trunk/gcc: ChangeLog df-core.c df...
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Wed Apr 27 18:18:00 GMT 2016
Author: dmalcolm
Date: Wed Apr 27 18:18:45 2016
New Revision: 235524
URL: https://gcc.gnu.org/viewcvs?rev=235524&root=gcc&view=rev
Log:
df: make df_problem instances "const"
The various struct df_problem instances are constant data; mark them
as such.
gcc/ChangeLog:
* df-core.c (df_add_problem): Make the problem param be const.
(df_remove_problem): Make local "problem" be const.
* df-problems.c (problem_RD): Make const.
(problem_LR): Likewise.
(problem_LIVE): Likewise.
(problem_MIR): Likewise.
(problem_CHAIN): Likewise.
(problem_WORD_LR): Likewise.
(problem_NOTE): Likewise.
(problem_MD): Likewise.
* df-scan.c (problem_SCAN): Likewise.
* df.h (struct df_problem): Make field "dependent_problem" be
const.
(struct dataflow): Likewise for field "problem".
(df_add_problem): Make param const.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/df-core.c
trunk/gcc/df-problems.c
trunk/gcc/df-scan.c
trunk/gcc/df.h
More information about the Gcc-cvs
mailing list