This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR 42946, df checking does not compile


The problem here is that with C++ warnings turned on conversion from
an enum to an integer type causes a warning to show up.  saved_flags
should be changed into an int just as df->changeable_flags was
changed.

Committed as obvious after a bootstrap/test with --enable-checking=yes,df.

Thanks,
Andrew Pinski

ChangeLog:
* df-core.c (df_finish_pass): Change type of saved_flags to int.

Attachment: t.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]