This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/45321] [4.6 regression] ARM bootstrap failure due to stdarg_p change



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]