This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19920] [4.0 Regression] build broken on several targets due to recent 'DC' type update to libgcc2
- From: "corsepiu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2005 15:15:26 -0000
- Subject: [Bug middle-end/19920] [4.0 Regression] build broken on several targets due to recent 'DC' type update to libgcc2
- References: <20050212040652.19920.schlie@comcast.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From corsepiu at gcc dot gnu dot org 2005-02-16 15:15 -------
(In reply to comment #15)
> > From: corsepiu at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org>
> > While building, I noticed warnings from math code in newlib, I haven't
> > noticed before. I am not sure whether these warnings had been present
> > before or not and if these are related to this patch.
>
> Like ...?
Here's one (target: h8300-rtems4.7):
../../../../../../gcc-4.0.0/newlib/libm/math/ef_remainder.c:49: warning: left
shift count >= width of type
There are dozens of similar warnings in my build-log.
Having a look into newlib shows all of these warnings to be related to
sizeof(int) vs. sizeof(long) vs. sizeof(void*), not to float/double.
I know newlib, is partially broken, in assuming
sizeof(int)==sizeof(long)==sizeof(void*)==32bit, but ...
... I have several local patches to newlib applied, which are supposed to fix
them. So, unless something has changed these sizes, I probably didn't work
carefully enough.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19920