--- Comment #9 from ktietz at gcc dot gnu dot org 2009-09-01 16:20 ---
As the initial reason of this bug is solved, I close it. In fact is the
__chkstk function here incompatible to VC version, but this should be part of a
feature request.
--
ktietz at gcc dot gnu dot org changed:
--- Comment #5 from dannysmith at users dot sourceforge dot net 2008-02-14
08:14 ---
And just think of the havoc that will be caused with old mingw32 and cygwin
libs that depend on the _chkstk meaning of __alloca if you change __alloca
semantics.
eg there are 69 undefined references to
--- Comment #6 from ktietz at gcc dot gnu dot org 2008-02-14 09:00 ---
I agree, that the havoc for 32-bit backward compatibility is to avoid.
But the havoc for windows sources using -fno-builtin and using _alloca () for
stack allocation produces in future even more troubles IMHO.
We
--- Comment #7 from dannysmith at users dot sourceforge dot net 2008-02-14
17:46 ---
(In reply to comment #6)
I agree, that the havoc for 32-bit backward compatibility is to avoid.
But the havoc for windows sources using -fno-builtin and using _alloca () for
stack allocation
--- Comment #8 from dannysmith at users dot sourceforge dot net 2008-02-14
20:10 ---
(In reply to comment #7)
If someone really wants an MSCV compatible (one underscore) _alloca they just
add this to their srcs
void *_alloca (size_t size) {return __builtin_alloca (size));
Ugh.
--- Comment #2 from nightstrike at gmail dot com 2008-02-14 01:17 ---
This bug needs to be finished off before 4.3.0 closes...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35124
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-02-14 01:20 ---
(In reply to comment #2)
This bug needs to be finished off before 4.3.0 closes...
Why? it has been a bug in GCC for a while now. And x86_64-pc-mingw32 is new.
--
pinskia at gcc dot gnu dot org changed:
--- Comment #4 from dannysmith at users dot sourceforge dot net 2008-02-14
01:43 ---
Actually, I see this as unfortunate choice of name for the undocumented
__alloca label rather than as a serious bug.
__alloca is an internal symbol that should have been named _alloca_probe for
--- Comment #1 from nightstrike at gmail dot com 2008-02-12 02:39 ---
http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00350.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35124