------- Comment #4 from rearnsha at gcc dot gnu dot org  2010-03-26 09:05 
-------
This is a case where we have a 'variable length array' declaration but where
the variable is really const and well-known at compile time.  However, we still
end up with it being 'variably sized' at rtl expand time.

I think it would be much better if the generic optimizers could spot this case
and remove it entirely, turning it into a natural array declartion.  Then we
could eliminate even more from this function (for example, it doesn't really
need a frame pointer).

So changing to 'middle-end'.


-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rearnsha at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |enhancement
          Component|target                      |middle-end


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43513

Reply via email to