* Re: sid doesn't build with gcc 4.0.x
[not found] <20050630172848.GA4491@redhat.com>
@ 2005-06-30 20:21 ` Frank Ch. Eigler
2005-07-01 10:45 ` Aldy Hernandez
0 siblings, 1 reply; 3+ messages in thread
From: Frank Ch. Eigler @ 2005-06-30 20:21 UTC (permalink / raw)
To: Aldy Hernandez; +Cc: sid, jason
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
Hi -
aldyh wrote:
> Sid is not building with GCC 4.0 or above. The problem is in
> component/cgen-cpu/cgen-cpu.h's use of reinterpret_cast. The
> reinterpret_cast construct is not allowed amongst integers.
I'm checking in a variant of this code which uses pointer aliasing.
Some super-keener could make a union-based version (pre-approved).
> * component/interrupt/components.h (bus_size): Fix constructor to
> be legitimate C++.
This one is ok, feel free to commit.
> * component/cgen-cpu/cgen-cpu.h (GETMEMSF): Change
> reinterpret_cast to static_cast.
> (SETMEMSF): Same.
> (GETMEMDF): Same.
> (SETMEMDF): Same.
This one is not (but I will commit a better one).
- FChE
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sid doesn't build with gcc 4.0.x
2005-06-30 20:21 ` sid doesn't build with gcc 4.0.x Frank Ch. Eigler
@ 2005-07-01 10:45 ` Aldy Hernandez
2005-07-04 15:02 ` Frank Ch. Eigler
0 siblings, 1 reply; 3+ messages in thread
From: Aldy Hernandez @ 2005-07-01 10:45 UTC (permalink / raw)
To: Frank Ch. Eigler; +Cc: sid, jason
> > * component/interrupt/components.h (bus_size): Fix constructor to
> > be legitimate C++.
>
> This one is ok, feel free to commit.
Done, thanks.
>
> > * component/cgen-cpu/cgen-cpu.h (GETMEMSF): Change
> > reinterpret_cast to static_cast.
> > (SETMEMSF): Same.
> > (GETMEMDF): Same.
> > (SETMEMDF): Same.
>
> This one is not (but I will commit a better one).
I just checked the new snapshot, and gcc40 has more regressions on
a "make check-sid", than when compiled with 34. Could a cgen savvy person
take a look?
Meanwhile, I'm back to using 3.4.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sid doesn't build with gcc 4.0.x
2005-07-01 10:45 ` Aldy Hernandez
@ 2005-07-04 15:02 ` Frank Ch. Eigler
0 siblings, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2005-07-04 15:02 UTC (permalink / raw)
To: Aldy Hernandez; +Cc: sid
aldyh wrote:
> [...]
> I just checked the new snapshot, and gcc40 has more regressions on
> a "make check-sid", than when compiled with 34.
Do you have a diff of the two test results?
> Could a cgen savvy person take a look?
By the way, you're mistakenly conflating cgen and sid.
These are all sid issues.
- FChE
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-04 15:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20050630172848.GA4491@redhat.com>
2005-06-30 20:21 ` sid doesn't build with gcc 4.0.x Frank Ch. Eigler
2005-07-01 10:45 ` Aldy Hernandez
2005-07-04 15:02 ` Frank Ch. Eigler
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).