Re: Template declaration inside function

2005-06-21 Thread Mattias Karlsson
On Tue, 21 Jun 2005, Florian Weimer wrote: * Mattias Karlsson: Given: void f(void) { template class A { }; } g++ 4.0/3.4 gives: bug.cpp:4: error: expected primary-expression before 'template' Can a language lawer please confirm that this is even valid before I create a

Template declaration inside function

2005-06-21 Thread Mattias Karlsson
Given: void f(void) { template class A { }; } g++ 4.0/3.4 gives: bug.cpp:4: error: expected primary-expression before 'template' Can a language lawer please confirm that this is even valid before I create a PR?

Re: Reporting bugs: there is nothing to gain in frustrating reporters

2005-06-19 Thread Mattias Karlsson
On Sun, 19 Jun 2005, Vincent Lefevre wrote: Since the "gcc-is-buggy" solution of changing x87 rounding modes will: 1) Be a lot of work. 2) Cause a lot of regressions. This remains to see. BTW, the Opteron uses SSE by default. Did you see a lot of regressions? Opteron is not an issue, when I

Re: Reporting bugs: there is nothing to gain in frustrating reporters

2005-06-19 Thread Mattias Karlsson
On Sun, 19 Jun 2005, Vincent Lefevre wrote: Since the "gcc-is-buggy" solution of changing x87 rounding modes will: 1) Be a lot of work. 2) Cause a lot of regressions. This remains to see. BTW, the Opteron uses SSE by default. Did you see a lot of regressions? Opteron is not an issue, when I

Re: Reporting bugs: there is nothing to gain in frustrating reporters

2005-06-18 Thread Mattias Karlsson
On Sat, 18 Jun 2005, Robert Dewar wrote: Mattias Karlsson wrote: On Sat, 18 Jun 2005, Robert Dewar wrote: Mattias Karlsson wrote: Don't know about you, but I consider any processor that is unable to store a register to memory and then read back the same value to be buggy. THe x8

Re: Reporting bugs: there is nothing to gain in frustrating reporters

2005-06-18 Thread Mattias Karlsson
On Sat, 18 Jun 2005, Robert Dewar wrote: Mattias Karlsson wrote: Don't know about you, but I consider any processor that is unable to store a register to memory and then read back the same value to be buggy. THe x86/x87 does not violate this requirement In my Obi-Wan-Point-Of-View it

Re: Reporting bugs: there is nothing to gain in frustrating reporters

2005-06-18 Thread Mattias Karlsson
On Sat, 18 Jun 2005, Vincent Lefevre wrote: On 2005-06-16 17:54:03 -0400, Robert Dewar wrote: As you well know, not everyone agrees this is a bug, and this does not have to do with performance. Saying over and over again that you think it is a bug does not make it so. I haven't seen any corre

Re: Packing booleans?

2005-05-04 Thread Mattias Karlsson
On Wed, 4 May 2005, Nathan Sidwell wrote: Sam Lauber wrote: Would it be possible to have a -fpack-bools option that packs booleans into the smallest form possible (8 booleans -> 1 8-bit reg, etc.) into a register (or memory, as the case may be)? why would you want to do this? Seems to me you migh