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: [libstdc++ patch] Check for __builtins in std_cmath.h


Roger Sayle <roger@eyesopen.com> writes:

[...]

| The hopefully obvious patch below fixes the cosf and sinf cases in
| libstdc++-v3/libmath/stubs.c to reflect that strategy.  This approach
| also allows significant simplification in c_shadow/bits/std_cmath.h
| where we can/should always call the __builtin function, this matches
| how things are done in c_std/bits/std_cmath.h.

Currently, the shadowed headers are in unfortunate states on all
plateforms (I beleive) :-( 

|  Alas this independent
| (and possibly controversial?) change is not so trivial so I'll run a
| bootstrap (together with this patch) before submitting it.
| 
| Gaby, is this what you had in mind?

That looks OK.

Thanks,

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


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