This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c99 complex multiplication and division: AVR port is broken


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]