This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c-family/c-pretty-print.c - fix for 'restrict' quliafiers
- From: Gary Funck <gary at intrepid dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: Gcc Patches <gcc-patches at gcc dot gnu dot org>, Nenad Vukicevic <nenad at intrepid dot com>
- Date: Mon, 17 Aug 2015 05:43:49 -0700
- Subject: Re: c-family/c-pretty-print.c - fix for 'restrict' quliafiers
- Authentication-results: sourceware.org; auth=none
- References: <20150817011418 dot GD9735 at intrepid dot com> <20150817100608 dot GE2093 at redhat dot com>
On 08/17/15 12:06:08, Marek Polacek wrote:
> No, I don't think this assignment is missing here. The restrict qualifier
> is printed last so we don't need to mark that we've printed something.
>
> Actually, the whole "previous" flag seems to be redundant; pp_c_ws_string
> calls pp_c_maybe_whitespace so it prints a whitespace if necessary.
OK. I'm not familiar with this code, so please go ahead
and make the changes as needed.
- Gary