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: [PATCH, Fortran] Correct declaration of frexp and friends


Hi Tobias,

here's a gcc-4.5 patch which fixes: (1) the comment for fntype[2], (2) the
prototypes for the frexp family and (3) the prototypes for the scalbn family.
I checked all uses of all of the function types declared here and all the rest
seem to be correct. I also took a look at an example using scalbn and it looks
like calls to scalbn pass arguments in the right order (i.e. consistent with the
fixed prototype). I'm running the testsuite now. OK to apply to the 4.5 branch
if it passes testing?

OK. (Contrary to the now fixed frexp, it seems to only affect < 4.6.)

yes, scalbn was already fixed in gcc-4.6 and later.


Thanks for checking and fixing these bugs!

No problem, thanks for approving! Committed as revision 171979.


Ciao, Duncan.


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