This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user
- From: "edmar at freescale dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2008 18:57:10 -0000
- Subject: [Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user
- References: <bug-31128-14221@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from edmar at freescale dot com 2008-01-24 18:57 -------
(In reply to comment #10)
> Created an attachment (id=14573)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14573&action=view) [edit]
> gcc43-pr34134.patch
>
> Patch to avoid the ICE.
>
> I don't mind the patch which disables these builtins either, but
> 1) it might be better to add the space at the end of builtin's name rather than
> in the middle
> 2) have you posted it to gcc-patches?
>
I still see a problem on PowerPC. From dejagnu logfile:
Executing on host: /tmp/edmar/build_cde/job_28/obj_gcc/gcc/xgcc
-B/tmp/edmar/build_cde/job_28/obj_gcc/gcc/ -O0 -w -fno-show-column -c
-o 20071117-1.o
/tmp/edmar/build_cde/job_28/gcc/gcc/testsuite/gcc.c-torture/compile/20071117-1.c
(timeout = 300)
/tmp/edmar/build_cde/job_28/gcc/gcc/testsuite/gcc.c-torture/compile/20071117-1.c:
In function 'foo':
/tmp/edmar/build_cde/job_28/gcc/gcc/testsuite/gcc.c-torture/compile/20071117-1.c:13:
error: unrecognizable insn:
(insn 29 28 30 3
/tmp/edmar/build_cde/job_28/gcc/gcc/testsuite/gcc.c-torture/compile/20071117-1.c:10
(set (mem/c:SI (mem/f/c/i:SI (plus:SI (reg/f:SI 115 virtual-stack-vars)
(const_int 4 [0x4])) [0 p+0 S4 A32]) [0 S4 A8])
(reg:SI 134)) -1 (nil))
/tmp/edmar/build_cde/job_28/gcc/gcc/testsuite/gcc.c-torture/compile/20071117-1.c:13:
internal compiler error: in extract_insn, at recog.c:1990
--
edmar at freescale dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |edmar at freescale dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31128