This is the mail archive of the gcc@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: real.c error


mj wrote:
Can I compile my self made port without floating point library support ?

Gcc provides an FP emulation library in config/fp-bit.c.


error:
cc1: internal compiler error: in real_convert, at real.c:2438
Please submit a full bug report,
with preprocessed source if appropriate.

This is a poor bug report. line numbers are often useless for bug reports, because they change so often. I can guess that this is a REAL_MODE_FORMAT call, but there is still the issue that you haven't stated what the problem is. What is the value of mode? Why does mode have the value that it has? The bug could be that mode has the wrong value, or the bug could be that real_format_for_mode has the wrong value.


You also haven't specified the gcc version that you are using. Current sources do this differently than gcc-3.3. It looks like you have 3.3 instead of current sources.

The gcc-3.3 sources clearly say in a comment that the XFmode entry needs to be set in override_options. Did you do this? See for instance the i386.c override_options function. I suspect this is your problem.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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