public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug bootstrap/45321] New: [4.6 regression] ARM bootstrap failure due to stdarg_p change @ 2010-08-18 15:33 mikpe at it dot uu dot se 2010-08-18 15:43 ` [Bug bootstrap/45321] " mikpe at it dot uu dot se ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: mikpe at it dot uu dot se @ 2010-08-18 15:33 UTC (permalink / raw) To: gcc-bugs Attempting to bootstrap gcc-4.6-20100814 (r163252) on arm-linux-gnueabi fails due to a warning in stage2 and the default use of -Werror there: /home/mikpe/gcc-4.6-20100814/gcc/config/arm/arm.c: In function 'arm_get_pcs_model': /home/mikpe/gcc-4.6-20100814/gcc/config/arm/arm.c:3720:7: error: passing argument 1 of 'stdarg_p' discards 'const' qualifier from pointer target type [-Werror] /home/mikpe/gcc-4.6-20100814/gcc/tree.h:4829:13: note: expected 'tree' but argument is of type 'const_tree' cc1: all warnings being treated as errors make[3]: *** [arm.o] Error 1 make[3]: Leaving directory `/home/mikpe/objdir46/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/home/mikpe/objdir46' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/home/mikpe/objdir46' make: *** [bootstrap] Error 2 Presumably caused by r163033: http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00244.html -- Summary: [4.6 regression] ARM bootstrap failure due to stdarg_p change Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC host triplet: armv5tel-unknown-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45321 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/45321] [4.6 regression] ARM bootstrap failure due to stdarg_p change 2010-08-18 15:33 [Bug bootstrap/45321] New: [4.6 regression] ARM bootstrap failure due to stdarg_p change mikpe at it dot uu dot se @ 2010-08-18 15:43 ` mikpe at it dot uu dot se 2010-08-18 16:07 ` rguenth at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: mikpe at it dot uu dot se @ 2010-08-18 15:43 UTC (permalink / raw) To: gcc-bugs ------- 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/45321] [4.6 regression] ARM bootstrap failure due to stdarg_p change 2010-08-18 15:33 [Bug bootstrap/45321] New: [4.6 regression] ARM bootstrap failure due to stdarg_p change mikpe at it dot uu dot se 2010-08-18 15:43 ` [Bug bootstrap/45321] " mikpe at it dot uu dot se @ 2010-08-18 16:07 ` rguenth at gcc dot gnu dot org 2010-08-19 10:40 ` ramana at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2010-08-18 16:07 UTC (permalink / raw) To: gcc-bugs -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45321 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/45321] [4.6 regression] ARM bootstrap failure due to stdarg_p change 2010-08-18 15:33 [Bug bootstrap/45321] New: [4.6 regression] ARM bootstrap failure due to stdarg_p change mikpe at it dot uu dot se 2010-08-18 15:43 ` [Bug bootstrap/45321] " mikpe at it dot uu dot se 2010-08-18 16:07 ` rguenth at gcc dot gnu dot org @ 2010-08-19 10:40 ` ramana at gcc dot gnu dot org 2010-09-01 11:53 ` ramana at gcc dot gnu dot org 2010-09-01 12:03 ` ramana at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: ramana at gcc dot gnu dot org @ 2010-08-19 10:40 UTC (permalink / raw) To: gcc-bugs -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-08-19 10:40:03 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45321 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/45321] [4.6 regression] ARM bootstrap failure due to stdarg_p change 2010-08-18 15:33 [Bug bootstrap/45321] New: [4.6 regression] ARM bootstrap failure due to stdarg_p change mikpe at it dot uu dot se ` (2 preceding siblings ...) 2010-08-19 10:40 ` ramana at gcc dot gnu dot org @ 2010-09-01 11:53 ` ramana at gcc dot gnu dot org 2010-09-01 12:03 ` ramana at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: ramana at gcc dot gnu dot org @ 2010-09-01 11:53 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from ramana at gcc dot gnu dot org 2010-09-01 11:53 ------- Subject: Bug 45321 Author: ramana Date: Wed Sep 1 11:52:55 2010 New Revision: 163726 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163726 Log: 2010-09-01 Mikael Pettersson <mikpe@it.uu.se> PR bootstrap/45321 * tree.c (stdarg_p): Make fntype parameter const. * tree.h (stdarg_p): Likewise. (function_args_iterator): Remove unused fntype field. (function_args_iter_init): Do not initialize fntype field. Make fntype parameter const. Modified: trunk/gcc/ChangeLog trunk/gcc/tree.c trunk/gcc/tree.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45321 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/45321] [4.6 regression] ARM bootstrap failure due to stdarg_p change 2010-08-18 15:33 [Bug bootstrap/45321] New: [4.6 regression] ARM bootstrap failure due to stdarg_p change mikpe at it dot uu dot se ` (3 preceding siblings ...) 2010-09-01 11:53 ` ramana at gcc dot gnu dot org @ 2010-09-01 12:03 ` ramana at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: ramana at gcc dot gnu dot org @ 2010-09-01 12:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from ramana at gcc dot gnu dot org 2010-09-01 12:03 ------- Fixed. -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45321 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-09-01 12:03 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-08-18 15:33 [Bug bootstrap/45321] New: [4.6 regression] ARM bootstrap failure due to stdarg_p change mikpe at it dot uu dot se 2010-08-18 15:43 ` [Bug bootstrap/45321] " mikpe at it dot uu dot se 2010-08-18 16:07 ` rguenth at gcc dot gnu dot org 2010-08-19 10:40 ` ramana at gcc dot gnu dot org 2010-09-01 11:53 ` ramana at gcc dot gnu dot org 2010-09-01 12:03 ` ramana at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).