[Bug libstdc++/33485] parallel v3: do not use __builtin_alloca, use VLA

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 19 17:09:00 GMT 2007



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-09-19 17:08 -------
(In reply to comment #3)
> Awesome: thanks for doing these PR's Wolfgang.
> 
> Andrew, you mean the attribute?
No.
I mean something like:

int f(int n)
{
  __extension__ int h[n];
  h[n-1] = 0;
  return h[n-1];
}

Which gets of the pedwarn also.


-- 


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



More information about the Gcc-bugs mailing list