This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c99 complex multiplication and division: AVR port is broken
- From: Björn Haase <bjoern dot m dot haase at web dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 12 Feb 2005 22:10:28 +0100
- Subject: Re: c99 complex multiplication and division: AVR port is broken
- References: <200502122145.03116.bjoern.m.haase@web.de>
After changing line #96 in libgcc2.h from
typedef _Complex float DCtype __atribute__ ((mode (DC)));
to
typedef _Complex float DCtype __atribute__ ((mode (SC)));
it is indeed again possible to build the avr port.
In my opinion the best method for dealing with this problem would be to make
sure some way that the #define symbols from the target header file are
already known when compiling libgcc2 prior to including libgcc2.h. Then one
would have the possibility to bracked line #96 within #ifndef #endif
statements.
Yours,
Björn.