public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/43034] New: bootstrap with --enable-checking=fold fails
@ 2010-02-11 14:20 zsojka at seznam dot cz
2010-04-15 18:22 ` [Bug bootstrap/43034] " matt at use dot net
0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2010-02-11 14:20 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug bootstrap/43034] bootstrap with --enable-checking=fold fails
2010-02-11 14:20 [Bug bootstrap/43034] New: bootstrap with --enable-checking=fold fails zsojka at seznam dot cz
@ 2010-04-15 18:22 ` matt at use dot net
0 siblings, 0 replies; 2+ messages in thread
From: matt at use dot net @ 2010-04-15 18:22 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 742 bytes --]
------- Comment #1 from matt at use dot net 2010-04-15 18:21 -------
I'm hitting the same thing when bootstrapping 4.5 on Ubuntu 9.10 using GCC
4.4.1:
../../gcc-4.5-20100408/gcc/fold-const.c: In function fold_checksum_tree:
../../gcc-4.5-20100408/gcc/fold-const.c:14251:3: error: new qualifiers in
middle of multi-level non-const cast are unsafe
my configure command:
../gcc-4.5-20100408/configure --prefix=/home/matt --with-system-zlib
--enable-clocale=gnu --enable-lto --enable-languages=c,c++,lto --enable-gold
--enable-checking=all --enable-werror --enable-bootstrap
-with-plugin-ld=ld.gold --with-demangler-in-ld --enable-shared
--enable-threads=posix --with-fpmath=sse
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43034
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-15 18:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-11 14:20 [Bug bootstrap/43034] New: bootstrap with --enable-checking=fold fails zsojka at seznam dot cz
2010-04-15 18:22 ` [Bug bootstrap/43034] " matt at use dot net
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).