This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Matrix Flattening and Transposing optimizations
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Diego Novillo" <dnovillo at redhat dot com>
- Cc: "Razya Ladelsky" <RAZYA at il dot ibm dot com>, gcc-patches at gcc dot gnu dot org, dberlin at dberlin dot org, "Jan Hubicka" <jh at suse dot cz>
- Date: Wed, 25 Apr 2007 22:51:44 -0700
- Subject: Re: [PATCH] Matrix Flattening and Transposing optimizations
- References: <OF9CBC5D0A.D8708AF3-ONC22572A9.002E67DB-C22572A9.003E36C4@il.ibm.com> <46300EFB.90201@redhat.com>
On 4/25/07, Diego Novillo <dnovillo@redhat.com> wrote:
> if (TREE_CODE (stmt) != GIMPLE_MODIFY_STMT)
> fatal_error ("Call to malloc not part of an assignment.");
No. Use gcc_assert()
Actually neither as I think plain calls to malloc will cause an ICE
which we don't want, we should be puntting if we find a malloc call
whos return value is ignored.
Thanks,
Andrew Pinski