------- Comment #1 from mikpe at it dot uu dot se 2010-08-18 15:43 ------- Created an attachment (id=21511) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21511&action=view) proposed fix
The issue is that stdarg_p has a non-const parameter but the call site in the ARM backend has a const value it wants to pass. The right solution seems to be to make stdarg_p accept a const parameter, but then the problem is that the parameter is stored in the iterator's fntype field. Nothing uses that field, so removing it and then making the parameter const fixes the issue. ARM bootstrap still fails for me with comparison failures, however. (I'm in an email black hole at the moment so can't easily submit this to gcc-patches.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45321