This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
m32c vs loop-opts - possible work-around
- From: DJ Delorie <dj at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 8 Sep 2009 22:44:51 -0400
- Subject: m32c vs loop-opts - possible work-around
If loop optimization assumes sizeof(void *) == sizeof(size_t) and
won't work correctly otherwise, perhaps a check for that condition in
gate_tree_ssa_loop_ivopts() would be appropriate? I thought of just
disabling that flag in m32c.c, but I figured a more generic solution
would make more sense, and occasionally get the attention of the loop
maintainers to remind them of the limitation.