Re: [v3] Library bits of c++/49813

2011-07-28 Thread Steve Ellcey
On Thu, 2011-07-28 at 22:46 +0200, Paolo Carlini wrote: > Hi, > > > I ran into this problem on the IA64 HP-UX bootstrap and tried your > > patch to semantics.c. It fixed the problem for me and I was able > > to bootstrap. > > Thanks Steve. I say let's commit it, I'm pretty sure it's by and large

Re: [v3] Library bits of c++/49813

2011-07-28 Thread Paolo Carlini
Hi, > I ran into this problem on the IA64 HP-UX bootstrap and tried your > patch to semantics.c. It fixed the problem for me and I was able > to bootstrap. Thanks Steve. I say let's commit it, I'm pretty sure it's by and large correct and anyway it unbreaks the bootstrap for many people. Can yo

Re: [v3] Library bits of c++/49813

2011-07-28 Thread Pat Haugen
On 07/28/2011 04:43 AM, Paolo Carlini wrote: /usr/local/gcc/gcc-20110728/Build/ia64-suse-linux/libstdc++-v3/include/cmath: In function 'constexpr float std::fma(float, float, float)': /usr/local/gcc/gcc-20110728/Build/ia64-suse-linux/libstdc++-v3/include/cmath:1288:43: sorry, unimplemented: unexp

Re: [v3] Library bits of c++/49813

2011-07-28 Thread Steve Ellcey
Paolo, I ran into this problem on the IA64 HP-UX bootstrap and tried your patch to semantics.c. It fixed the problem for me and I was able to bootstrap. Steve Ellcey s...@cup.hp.com

Re: [v3] Library bits of c++/49813

2011-07-28 Thread Paolo Carlini
Hi Andreas, /usr/local/gcc/gcc-20110728/Build/ia64-suse-linux/libstdc++-v3/include/cmath: In function 'constexpr float std::fma(float, float, float)': /usr/local/gcc/gcc-20110728/Build/ia64-suse-linux/libstdc++-v3/include/cmath:1288:43: sorry, unimplemented: unexpected ast of kind fma_expr /us

Re: [v3] Library bits of c++/49813

2011-07-28 Thread Andreas Schwab
Paolo Carlini writes: > 2011-07-27 Paolo Carlini > > PR c++/49813 > * include/c_global/cmath: Use _GLIBCXX_CONSTEXPR and constexpr. I'm seeing this error on ia64: /usr/local/gcc/gcc-20110728/Build/./gcc/xgcc -shared-libgcc -B/usr/local/gcc/gcc-20110728/Build/./gcc -nostdinc++ -

[v3] Library bits of c++/49813

2011-07-27 Thread Paolo Carlini
Hi, these are the library bits of the issue, with a workaround in place for the weird std::isinf issue described in the audit trail. Tested x86_64-linux multilib, committed to mainline. Paolo. /// 2011-07-27 Paolo Carlini PR c++/49813 * include/c_globa