[Bug c/18180] Disable special handling of functions with --freestanding

2004-10-27 Thread alex dot neyman at auriga dot ru
--- Additional Comments From alex dot neyman at auriga dot ru 2004-10-27 14:38 --- Created an attachment (id=7416) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7416action=view) The test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18180

[Bug c/18180] Disable special handling of functions with --freestanding

2004-10-27 Thread alex dot neyman at auriga dot ru
--- Additional Comments From alex dot neyman at auriga dot ru 2004-10-27 14:55 --- Created an attachment (id=7418) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7418action=view) Proposed patch The patch, however, leads to a build failure: optabs.h and c-common.h have a clash with

[Bug c/18180] Disable special handling of functions with --freestanding

2004-10-27 Thread alex dot neyman at auriga dot ru
--- Additional Comments From alex dot neyman at auriga dot ru 2004-10-27 14:56 --- Just to make it clear: this test case never produces variable might be clobbered warning, another test case was used for that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18180

[Bug c/18180] Disable special handling of functions with --freestanding

2004-10-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-27 15:00 --- Try with -fno-builtins. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18180

[Bug c/18180] Disable special handling of functions with --freestanding

2004-10-27 Thread alex dot neyman at auriga dot ru
--- Additional Comments From alex dot neyman at auriga dot ru 2004-10-27 15:09 --- Tried, the result of -ffreestanding -fno-builtin is the same as just -ffreestanding. Also, IIRC -ffreestanding implies -fno-builtin, doesn't it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18180

[Bug c/18180] Disable special handling of functions with --freestanding

2004-10-27 Thread jsm at polyomino dot org dot uk
--- Additional Comments From jsm at polyomino dot org dot uk 2004-10-27 15:39 --- Subject: Re: New: Disable special handling of functions with --freestanding On Wed, 27 Oct 2004, alex dot neyman at auriga dot ru wrote: - different code is generated for function issuing the setjmp()

[Bug c/18180] Disable special handling of functions with --freestanding

2004-10-27 Thread alex dot neyman at auriga dot ru
--- Additional Comments From alex dot neyman at auriga dot ru 2004-10-27 16:01 --- The bug 14411 was submitted by me as well, though from a different email address. I updated the patch in it to apply to 4.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18180

[Bug c/18180] Disable special handling of functions with --freestanding

2004-10-27 Thread jsm at polyomino dot org dot uk
--- Additional Comments From jsm at polyomino dot org dot uk 2004-10-27 17:05 --- Subject: Re: Disable special handling of functions with --freestanding On Wed, 27 Oct 2004, alex dot neyman at auriga dot ru wrote: The bug 14411 was submitted by me as well, though from a different