This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,AIX] Enable libiberty to read AIX XCOFF
- From: DJ Delorie <dj at redhat dot com>
- To: "REIX\, Tony" <tony dot reix at atos dot net>
- Cc: dje dot gcc at gmail dot com, iant at golang dot org, matthieu dot sarter dot external at atos dot net, gcc-patches at gcc dot gnu dot org
- Date: Wed, 07 Jun 2017 11:37:22 -0400
- Subject: Re: [PATCH,AIX] Enable libiberty to read AIX XCOFF
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dj at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 9222080C0A
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9222080C0A
"REIX, Tony" <tony.reix@atos.net> writes:
> It appears that XNEWVEC() calls xmalloc which prints a message and
> calls xexit if malloc fails.
Objection removed then ;-)
> So, yes, we check if (strtab == NULL) though there is no way that
> XDELETEVEC(NULL) breaks something. However, it is a classic
> programming style.
Yup, I noted that. Just mentioning the inconsistency.