public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/43034] New: bootstrap with --enable-checking=fold fails Date: Thu, 11 Feb 2010 14:20:00 -0000 [thread overview] Message-ID: <bug-43034-14164@http.gcc.gnu.org/bugzilla/> (raw) cc1: warnings being treated as errors /mnt/svn/gcc-trunk/gcc/fold-const.c: In function 'fold_checksum_tree': /mnt/svn/gcc-trunk/gcc/fold-const.c:14249:3: error: new qualifiers in middle of multi-level non-const cast are unsafe make[3]: *** [fold-const.o] Error 1 make[3]: Leaving directory `/root/build-156693-x86-lto-checking-fold/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/root/build-156693-x86-lto-checking-fold' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/root/build-156693-x86-lto-checking-fold' make: *** [all] Error 2 The offending line is: slot = (const void **) htab_find_slot (ht, expr, INSERT); With htab_find_slot() declared as: extern void ** htab_find_slot (htab_t, const void *, enum insert_option); The situation is like: void fold_checksum_tree(void) { extern void **htab_find_slot(void); const void **slot = (const void **)htab_find_slot(); } -- Summary: bootstrap with --enable-checking=fold fails Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43034
next reply other threads:[~2010-02-11 14:20 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-02-11 14:20 zsojka at seznam dot cz [this message] 2010-04-15 18:22 ` [Bug bootstrap/43034] " matt at use dot net
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-43034-14164@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).