This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove superfluous variable in expand_end_case
law@redhat.com wrote:-
> While minval is never modified or passed by reference, minval itself is
> a pointer and minval is passed to other routines.
>
> You need to verify those other routines do not modify the contents of the
> memory pointed to by minval, otherwise your change is not necessarily
> correct.
I don't think that's relevant. All that matters is that minval and
orig_minval are the same pointer all the way through, no?
Neil.