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] Matrix Flattening and Transposing optimizations


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


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