[tree-ssa] Lowering of VLA's, second attempt

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Tue Aug 26 22:01:00 GMT 2003


Hello,

> OK.  I might also add an
> 
> #ifdef ENABLE_CHECKING
> if (TREE_STATIC (var))
>   abort ();
> #endif
> 
> to make sure that we don't try to do this for local statics.

Added.  Just OOC -- why the ENABLE_CHECKING? It would make sense if the
check would be expensive, but otherwise it seems preferable to me to
detect such errors even if not checking (imho it is better if compiler
crashes than if it misscompiles something).

Zdenek



More information about the Gcc-patches mailing list