[Bug middle-end/41001] alloca broken for -fno-builtin

2017-02-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41001 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/41001] alloca broken for -fno-builtin

2009-08-08 Thread joseph at codesourcery dot com
--- Comment #7 from joseph at codesourcery dot com 2009-08-08 10:37 --- Subject: Re: alloca broken for -fno-builtin On Sat, 8 Aug 2009, ktietz at gcc dot gnu dot org wrote: > Well, IMHO it is the same for alloca, as for setjmp, or longjmp. Even some > code > for detecting alloca sema

[Bug middle-end/41001] alloca broken for -fno-builtin

2009-08-08 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-08-08 10:31 --- The special_function thing is to make us not miss special side-effects of those functions even when we didn't recognize them as builtins. alloca doesn't have one apart from the likeliness to blow up the stack if we

[Bug middle-end/41001] alloca broken for -fno-builtin

2009-08-08 Thread ktietz at gcc dot gnu dot org
--- Comment #5 from ktietz at gcc dot gnu dot org 2009-08-08 08:43 --- (In reply to comment #4) > -fno-builtin means more or less exactly that the compiler *should not* > assume anything special about a function from its name (unless the name > starts __builtin or some similar reserved

[Bug middle-end/41001] alloca broken for -fno-builtin

2009-08-07 Thread joseph at codesourcery dot com
--- Comment #4 from joseph at codesourcery dot com 2009-08-07 22:36 --- Subject: Re: alloca broken for -fno-builtin On Fri, 7 Aug 2009, ktietz at gcc dot gnu dot org wrote: > Well, if so. It makes no sense that -fno-builtins tries to call a function > which isn't present. But for othe

[Bug middle-end/41001] alloca broken for -fno-builtin

2009-08-07 Thread ktietz at gcc dot gnu dot org
--- Comment #3 from ktietz at gcc dot gnu dot org 2009-08-07 21:05 --- (In reply to comment #2) > Subject: Re: New: alloca broken for -fno-builtin > > On Fri, 7 Aug 2009, ktietz at gcc dot gnu dot org wrote: > > > The function alloca (for cygwin/mingw target _alloca) is broken or not

[Bug middle-end/41001] alloca broken for -fno-builtin

2009-08-07 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2009-08-07 17:24 --- Subject: Re: New: alloca broken for -fno-builtin On Fri, 7 Aug 2009, ktietz at gcc dot gnu dot org wrote: > The function alloca (for cygwin/mingw target _alloca) is broken or not > available (for linux64), when u

[Bug middle-end/41001] alloca broken for -fno-builtin

2009-08-07 Thread ktietz at gcc dot gnu dot org
--- Comment #1 from ktietz at gcc dot gnu dot org 2009-08-07 15:38 --- Created an attachment (id=18324) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18324&action=view) Testcase for alloca/_alloca to be compiled with option -fno-builtins -- http://gcc.gnu.org/bugzilla/show_bu