https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395

--- Comment #4 from Jakub Łukasiewicz <dev at joren dot ga> ---
(In reply to Andrew Pinski from comment #3)
> (In reply to Jakub Łukasiewicz from comment #2)
> > Passing `-ftree-vrp` doesn't activate it either
> 
> Because of another part of the documentation:
> https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options
> 
> Most optimizations are completely disabled at -O0 or if an -O level is not
> set on the command line, even if individual optimization flags are
> specified. Similarly, -Og suppresses many optimization passes.

So there is not way of detecting automatic VLA in "debug release"?

Reply via email to