[llvm-commits] [llvm] r129156 - in /llvm/trunk: docs/SourceLevelDebugging.html lib/CodeGen/AsmPrinter/DwarfDebug.cpp test/DebugInfo/array.ll

Devang Patel dpatel at apple.com
Fri Apr 8 16:14:21 PDT 2011


On Apr 8, 2011, at 3:19 PM, Duncan Sands wrote:

>> An array is unbounded if non-zero lower bound is same as upper bound.
> 
> why is this?  If I have a one element Ada array, and the index of that element
> is 27, then won't the lower and upper bounds equal 27?  That doesn't make it an
> unbounded array.

Is it possible to have an zero element array with lower bound as 27 ? If not then, yes, we can remove this restriction.
-
Devang



More information about the llvm-commits mailing list