Re: Setting -frounding-math by default

2009-03-08 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 8, 2009, at 3:26 PM, Sylvain Pion wrote: Joseph S. Myers a écrit : On Sun, 8 Mar 2009, Sylvain Pion wrote: http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00104.html introduced the -frounding-math option, and changed the default behavior of GCC to optimize "unsaf

Re: bitwise dataflow

2009-03-06 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 6, 2009, at 7:00 PM, Silvius Rus wrote: I'm thinking about adding bitwise dataflow analysis support to RTL. Is this a good idea? Bad idea? Already done? Please review if interested. There is already some bitwise dataflow implemented in combine. And I think

Re: How to implement "unsigned long long __rdtsc ()" for x86?

2009-01-16 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 16, 2009, at 9:23 AM, "H.J. Lu" wrote: Hi, I am trying to implement unsigned long long __rdtsc (void); for RDTSC as an intrinsic. It is easy to do it with asm statement. But I am having a hard time to implement it as a gcc builtin. The main problem is there is

Re: no conversion from char[] to char* on function calls under circumstances [was: A bug?]

2008-12-16 Thread Andrew Thomas Pinski
C++98 is not C99 :) there is no rvalue to lvalue conversion for rvalue arrays in C++98. Also this code is still undefined C99 but will most likely become valid C1x. Sent from my iPhone On Dec 16, 2008, at 8:45 AM, Jan Engelhardt wrote: On Tuesday 2008-12-16 17:05, Michel Van den Bergh wr

Re: [ARM] Implement __builtin_bswap32() via ARMv6 "rev" instruction

2008-12-08 Thread Andrew Thomas Pinski
Sent from my iPhone On Dec 8, 2008, at 9:37 AM, "Alexandre Pereira Nunes" <[EMAIL PROTECTED] > wrote: 2008/12/8 Paul Brook <[EMAIL PROTECTED]>: On Monday 08 December 2008, Alexandre Pereira Nunes wrote: A patch follows. I didn't take care of the scheduling case the correct way, tought (a

Re: gcc4.1.2 compilation errors

2008-11-29 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 29, 2008, at 6:34 PM, yx <[EMAIL PROTECTED]> wrote: Hi, I am trying to compile SPEC2000 benchmark with gcc 4.1.2 (gfortran and g++ were compiled successfully for gcc4.1.2.) However I got compilation errors for 4 benchmarks in SPEC2000. The error messages are listed

Re: bootstrap with -ftree-parallelize-loops

2008-11-20 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 20, 2008, at 4:28 AM, Razya Ladelsky <[EMAIL PROTECTED]> wrote: "Andrew Pinski" <[EMAIL PROTECTED]> wrote on 19/11/2008 20:54:19: On Wed, Nov 19, 2008 at 10:48 AM, David Edelsohn <[EMAIL PROTECTED]> wrote: On Wed, Nov 19, 2008 at 1:47 PM, Andrew Pinski <[EMAIL P

Re: C/C++ FEs: Do we really need three char_type_nodes?

2008-09-19 Thread Andrew Thomas Pinski
Yes char, unsigned char and signed char are three distant types. Unlike the other interger types in C/C++. That is they are incompatable types. Thanks, Andrew Pinski Sent from my iPhone On Sep 19, 2008, at 9:36 AM, "Diego Novillo" <[EMAIL PROTECTED]> wrote: When we instantiate char_typ

Re: Instrument-functions: possible also for function exit via exception?

2008-09-01 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 1, 2008, at 4:22, Tim München <[EMAIL PROTECTED] wuppertal.de> wrote: On Friday 29 August 2008 23:04:15 you wrote: On Fri, Aug 29, 2008 at 2:36 AM, Tim München <[EMAIL PROTECTED]> wrote: is it somehow possible to also be notified if a function/method is left w

Re: obvious race condition in darwin/netbsd __enable_execute_stack due to caching pagesize/mask

2008-08-27 Thread Andrew Thomas Pinski
Sent from my iPhone On Aug 27, 2008, at 0:27, Jay <[EMAIL PROTECTED]> wrote: gcc 4.3.1 config/darwin.h: #define ENABLE_EXECUTE_STACK\ extern void __enable_execute_stack (void *);\ void

Re: shouldn't every middle-end pass be uniquely named?

2008-07-31 Thread Andrew Thomas Pinski
Sent from my iPhone On Jul 31, 2008, at 1:11, Basile STARYNKEVITCH <[EMAIL PROTECTED]> wrote: Hello All, Some middle-end passes (those declared in tree-passes.h) are still unnamed. I tend to believe that it would be helpful (mostly for gcc debugging purposes) that every struct opt_p