How can I get VRP information for an RTX?

2007-03-31 Thread David Daney
I am looking at how the MIPS backend handles division. For the compiler configuration in question (mipsel-linux) division operations trap on division by zero. This is handled in mips_output_division in mips.c where we unconditionally emit a conditional trap. I would like to change it so that

how to convince someone about migrating from gcc-2.95 to gcc-3.x

2007-03-31 Thread ganesh subramonian
Hi I work in a company where we have been using gcc-2.95.4 (based cross compiler) for compiling our code. Most of the code is written in c++ and makes extensive use of the stl libraries. We would not be changing our operating system or processor architecture (so portability is not a very

Re: Discrepancies in real.c:mpfr_to_real and fortran/trans-const.c:gfc_conv_mpfr_to_tree?

2007-03-31 Thread Kaveh R. GHAZI
> We've currently got two different bits of code for converting an MPFR > real number to a REAL_VALUE_TYPE. One of them's at the end of > gcc/real.c, in mpfr_to_real; the other is in fortran/trans-const.c, in > gfc_conv_mpfr_to_tree. Yeah, the fortran one predated mine and didn't do quite what

RE: Writing a option pass

2007-03-31 Thread Dave Korn
On 31 March 2007 10:40, albino aiello wrote: > Thank you, > my problem is that the value of the variable that i have defined in > common.opt in the following manner is always at the default value: > > myvariable= > Common RejectNegative UInteger Var (my_variable) Init(-1) > Comments > > In passe

Re: Build report for gcc 4.1.1 on Cygwin

2007-03-31 Thread Brian Dessent
Tarmo Pikaro wrote: > Tried to compile gcc 4.1.1 (and .2) under windows / cygwin environment - and > end up with error: This is more a question for gcc-help. > Used command lines: > > $ ./configure --prefix=/usr/lo

Build report for gcc 4.1.1 on Cygwin

2007-03-31 Thread Tarmo Pikaro
Hi ! Tried to compile gcc 4.1.1 (and .2) under windows / cygwin environment - and end up with error: In file included from ../.././gcc/gcc.c:134: ./configargs.h:2: error: missing terminating " character ./configargs.h:3: error: missing terminating " character ./configargs.h:4: error: parse error

Re: Writing a option pass

2007-03-31 Thread Mike Stump
On Mar 31, 2007, at 2:39 AM, albino aiello wrote: my problem is that the value of the variable that i have defined in common.opt in the following manner is always at the default value Now, take something that works, print it's value. Pass the documented flag, see if you can notice it change

Re: Information regarding -fPIC support for Interix gcc

2007-03-31 Thread Murali Vemulapati
On 3/31/07, Mayank Kumar <[EMAIL PROTECTED]> wrote: Further to this email, I did some more investigation, here is some more detailed information about what I am doing:- 1: Compiled a shared library(tcl8.4.14) using -fPIC on gcc4.3.0 for interix(was able to compile gcc 4.3.0 for interix) 2: The

Re: -Wswitch-enum and -Wswitch-default

2007-03-31 Thread Manuel López-Ibáñez
On 30/03/07, Ching, Jimen (US SSA) <[EMAIL PROTECTED]> wrote: Hi, I'm using g++ 4.1.1 under Fedora Core 5 in an X86 system. I read the GCC manual and it says -Wall includes the -Wswitch-enum and -Wswitch-default warnings. But I had to supply these command line options explicitly before the wa

Re: How to Install GCC

2007-03-31 Thread Denis Vlasenko
On Sunday 11 March 2007 16:01, Thomas Schwinge wrote: > On Sun, Mar 11, 2007 at 10:45:53AM -0400, Sadri SARRAY wrote: > > Please, Would you like to send me a procedure to install the GCC > > compiler on a Linux-Ubuntu OS ? > > With a power screwdriver. Granted, poster was totally new to Linux and

RE: Information regarding -fPIC support for Interix gcc

2007-03-31 Thread Mayank Kumar
Further to this email, I did some more investigation, here is some more detailed information about what I am doing:- 1: Compiled a shared library(tcl8.4.14) using -fPIC on gcc4.3.0 for interix(was able to compile gcc 4.3.0 for interix) 2: The assembly generated for a particular region of code wh

Re: Writing a option pass

2007-03-31 Thread albino aiello
Thank you, my problem is that the value of the variable that i have defined in common.opt in the following manner is always at the default value: myvariable= Common RejectNegative UInteger Var (my_variable) Init(-1) Comments In passes.c i have defined a new compilation pass that must use the