This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38695] [4.4 regression] gcc.c-torture/compile/pr37433.c ICE on trunk arm_function_in_section_p
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2009 18:17:02 -0000
- Subject: [Bug target/38695] [4.4 regression] gcc.c-torture/compile/pr37433.c ICE on trunk arm_function_in_section_p
- References: <bug-38695-7210@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2009-01-07 18:17 -------
Created an attachment (id=17049)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17049&action=view)
gcc44-pr38695.patch
Patch that cures the testcase. I think there is no need to do tail calls
say to VAR_DECLs (char buf[64] __attribute__((section(".text"))) and calling
((void (*) (void))buf) ()), so checking for FUNCTION_DECLs is enough.
Can somebody please test this on arm?
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38695