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 committed] Tweak gcc.dg/torture/builtin-math-7.c for sh


Hello!

I've applied the patch below which adds -mieee for sh*
targets to gcc.dg/torture/builtin-math-7.c test.

I though that alpha requires -mieee here too as in
http://gcc.gnu.org/ml/gcc-patches/2009-08/msg01272.html
but there are no failures found for builtin-math-7.c in
the recent alpha testresult:
http://gcc.gnu.org/ml/gcc-testresults/2009-08/msg02239.html
So I'd like to apply this sh specific change. The patch
is also tested on i686-pc-linux-gnu.

This is because alpha test system does not have MPC installed (yet).


BTW: Since sh-* and alpha-* both need -mieee, what do you think about using dg-add-options and introducing for example add_options_for_ieee? Something along the lines of existing dg_add_options_for_c99.

Then we just add:

/* { dg-add-options ieee } */

without touching original dg-options.

Uros.



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