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]

Re: [PATCH] PR fortran/66942 -- avoid referencing a NULL C++ thing


Le 29/07/2015 13:22, Richard Biener a Ãcrit :
On Wed, Jul 29, 2015 at 11:34 AM, Mikael Morin <mikael.morin@sfr.fr> wrote:
Le 29/07/2015 10:26, Richard Biener a Ãcrit :

Did you try using vec_safe_splice?


That handles NULL retargs, not NULL or empty arglist.

I think retargs is NULL.

Not if the patch fixes anything.

The case retargs == NULL is the case arglen == 0, which means every vector pointer we are about to splice is NULL.
So the patch fixes it.


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