Re: [PATCH] PR libstdc++/84654 Do not use __float128 if it is disabled by the compiler

2018-03-01 Thread Jonathan Wakely
On 1 March 2018 at 18:54, Marc Glisse wrote: > On Thu, 1 Mar 2018, Tulio Magno Quites Machado Filho wrote: > >> In order to use the __float128 in C++ it's necessary to check if >> it is supported in libstdc++ (i.e. via _GLIBCXX_USE_FLOAT128) and if the >> compiler enabled its support too, e.g. -mfl

Re: [PATCH] PR libstdc++/84654 Do not use __float128 if it is disabled by the compiler

2018-03-01 Thread Marc Glisse
On Thu, 1 Mar 2018, Jakub Jelinek wrote: Note ia64, pa and powerpcspe likely need to be fixed too to predefine __SIZEOF_FLOAT128__=16 if they provide __float128. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56540 (it only mentions ia64) -- Marc Glisse

Re: [PATCH] PR libstdc++/84654 Do not use __float128 if it is disabled by the compiler

2018-03-01 Thread Jakub Jelinek
On Thu, Mar 01, 2018 at 08:10:03PM +0100, Jakub Jelinek wrote: > On Thu, Mar 01, 2018 at 03:47:19PM -0300, Tulio Magno Quites Machado Filho > wrote: > > In order to use the __float128 in C++ it's necessary to check if > > it is supported in libstdc++ (i.e. via _GLIBCXX_USE_FLOAT128) and if the > >

Re: [PATCH] PR libstdc++/84654 Do not use __float128 if it is disabled by the compiler

2018-03-01 Thread Jakub Jelinek
On Thu, Mar 01, 2018 at 03:47:19PM -0300, Tulio Magno Quites Machado Filho wrote: > In order to use the __float128 in C++ it's necessary to check if > it is supported in libstdc++ (i.e. via _GLIBCXX_USE_FLOAT128) and if the > compiler enabled its support too, e.g. -mfloat128 or -mno-float128. > >

Re: [PATCH] PR libstdc++/84654 Do not use __float128 if it is disabled by the compiler

2018-03-01 Thread Marc Glisse
On Thu, 1 Mar 2018, Tulio Magno Quites Machado Filho wrote: In order to use the __float128 in C++ it's necessary to check if it is supported in libstdc++ (i.e. via _GLIBCXX_USE_FLOAT128) and if the compiler enabled its support too, e.g. -mfloat128 or -mno-float128. Shouldn't we ensure that _GL

[PATCH] PR libstdc++/84654 Do not use __float128 if it is disabled by the compiler

2018-03-01 Thread Tulio Magno Quites Machado Filho
In order to use the __float128 in C++ it's necessary to check if it is supported in libstdc++ (i.e. via _GLIBCXX_USE_FLOAT128) and if the compiler enabled its support too, e.g. -mfloat128 or -mno-float128. 2018-03-01 Tulio Magno Quites Machado Filho PR libstdc++/84654 * include/b