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