http://llvm.org/bugs/show_bug.cgi?id=20630

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <[email protected]> ---
No, that's a VLA. When determining whether you have a VLA, this is the code the
compiler looks at:

  void func(const int n)                                                        
  {                                                                             
      std::vector<int> futs[n];                                                 

The way in which you call this function is not relevant; 'n' is not constant
here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to