This is the mail archive of the gcc-bugs@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]

[Bug libfortran/15266] [tree-ssa] libgfortran doesn't compile on IRIX 5.3


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2004-05-03 16:11 -------
Subject: Re:  [tree-ssa] libgfortran doesn't compile on IRIX 5.3

pinskia at gcc dot gnu dot org writes:

> Man I hate non-C99 complaint C libraries.  Note the function is there for C99 stubs and the front-end 
> emits to those C99 functions.

But if libgfortran relies on a C99 libm, then why does it reimplement all
those complex functions at all?  They should already be present.  And if it
needs them to be present under any circumstances, it better use some
internal names to avoid clashes like the one described here.

> Maybe there should be a better way in libgfortran to check for these functions.

As I said: if they are present already (and with the correct signature!),
just use them instead of reimplementing them.

> Someone should complain to these companies for not updating their OS's to C99 as it has been out for 
> almost 5 years now.

Which doesn't hold for old releases like IRIX 5 or Tru64 UNIX V4.0.  But
even current O/S and compiler releases just now start supporting C99.
GCC has tried to accomodate non-bleeding-edge O/Ses for a long time, and I
don't see a good reason to stop this now.

	Rainer


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15266


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