Re: C PATCH to use INDIRECT_REF_P

2015-06-26 Thread Joseph Myers
On Fri, 26 Jun 2015, Marek Polacek wrote: > We have INDIRECT_REF_P macro, so let's use it to make the code a bit > more clear. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? OK. -- Joseph S. Myers jos...@codesourcery.com

[committed] C++ PATCH to use INDIRECT_REF_P

2015-06-26 Thread Marek Polacek
As the subject says. Bootstrapped/regtested on x86_64-linux, applying to trunk. 2015-06-26 Marek Polacek * cp-array-notation.c (expand_sec_reduce_builtin): Use INDIRECT_REF_P. * cp-ubsan.c (cp_ubsan_check_member_access_r): Likewise. diff --git gcc/cp/cp-array-notation.c gcc/c

C PATCH to use INDIRECT_REF_P

2015-06-26 Thread Marek Polacek
We have INDIRECT_REF_P macro, so let's use it to make the code a bit more clear. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2015-06-25 Marek Polacek * array-notation-common.c (find_rank): Use INDIRECT_REF_P. * c-common.c (c_fully_fold_internal): Likewise. (c