[PATCH 09/49] gimple const-correctness fixes

2019-11-15 Thread David Malcolm
This patch converts various "gimple *" to "const gimple *" and similar fixes for gimple subclasses, adding is_a_helper for gimple subclasses to support the const form of as_a, and adding a few "const" overloads of accessors. This is enough to make pp_gimple_stmt_1's stmt const. gcc/ChangeLog:

Re: [PATCH 09/49] gimple const-correctness fixes

2019-12-04 Thread Martin Sebor
On 11/15/19 6:22 PM, David Malcolm wrote: This patch converts various "gimple *" to "const gimple *" and similar fixes for gimple subclasses, adding is_a_helper for gimple subclasses to support the const form of as_a, and adding a few "const" overloads of accessors. This is enough to make pp_gim

Re: [PATCH 09/49] gimple const-correctness fixes

2019-12-06 Thread Richard Biener
On Sat, Nov 16, 2019 at 2:20 AM David Malcolm wrote: > > This patch converts various "gimple *" to "const gimple *" and similar > fixes for gimple subclasses, adding is_a_helper for gimple subclasses > to support the const form of as_a, and adding a few "const" overloads > of accessors. > > This i

Re: [PATCH 09/49] gimple const-correctness fixes

2019-12-06 Thread David Malcolm
On Fri, 2019-12-06 at 11:52 +0100, Richard Biener wrote: > On Sat, Nov 16, 2019 at 2:20 AM David Malcolm > wrote: > > This patch converts various "gimple *" to "const gimple *" and > > similar > > fixes for gimple subclasses, adding is_a_helper for gimple > > subclasses > > to support the const fo

Re: [PATCH 09/49] gimple const-correctness fixes

2019-12-07 Thread Jeff Law
On Fri, 2019-11-15 at 20:22 -0500, David Malcolm wrote: > This patch converts various "gimple *" to "const gimple *" and > similar > fixes for gimple subclasses, adding is_a_helper for gimple subclasses > to support the const form of as_a, and adding a few "const" overloads > of accessors. > > Thi

Re: [PATCH 09/49] gimple const-correctness fixes

2019-12-09 Thread Richard Biener
On Sat, Dec 7, 2019 at 3:28 PM Jeff Law wrote: > > On Fri, 2019-11-15 at 20:22 -0500, David Malcolm wrote: > > This patch converts various "gimple *" to "const gimple *" and > > similar > > fixes for gimple subclasses, adding is_a_helper for gimple subclasses > > to support the const form of as_a,

Re: [PATCH 09/49] gimple const-correctness fixes

2019-12-09 Thread Richard Biener
On Fri, Dec 6, 2019 at 6:47 PM David Malcolm wrote: > > On Fri, 2019-12-06 at 11:52 +0100, Richard Biener wrote: > > On Sat, Nov 16, 2019 at 2:20 AM David Malcolm > > wrote: > > > This patch converts various "gimple *" to "const gimple *" and > > > similar > > > fixes for gimple subclasses, addin