[Bug target/38695] [4.4 regression] gcc.c-torture/compile/pr37433.c ICE on trunk arm_function_in_section_p

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 7 18:17:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list