Thu Dec 06 13:17:24 2012: Request 81748 was acted upon.
Transaction: Ticket created by BULKDD
       Queue: Win32-API
     Subject: strawberry perl 5.8.9 with mingw.org gcc 3.4.5 alloca broken
   Broken in: 0.74
    Severity: (no value)
       Owner: Nobody
  Requestors: bul...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81748 >


Using strawberry perl 5.8.9 with its included mingw.org gcc 3.4.5,
alloca's return value is being used as a memory block, when alloca
really has a void return type. The same problem was in Cygwin, in RT 
80217. For Strawberry Perl 5.8.9, "#  define _alloca(size)
__builtin_alloca(size)" fixed the problem just like in Cygwin. I don't
know when to conditionally enable __builtin_alloca for strawberry Perls,
or what version number of GCC or other macro to use as the conditional.

Reply via email to