Re: PLEASE HELP!!

2005-07-27 Thread Chris Garrett
If you really need to just jump into it you can try Chinook (http://www.degarrah.com/chinookfree.php). It's a cross platform IDE that ships with GCC/GDB and is free. Chris louise kelliher wrote: Hiya, im wondering if you could help me, Im at my wits end and need to cover c programming before

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Ian Lance Taylor
"Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > I checked http://gcc.gnu.org/install/prerequisites.html > Under "Tools/packages necessary for modifying GCC" it has > > autogen version 5.5.4 (or later) > > My fault, but... I'm just testing my bootstrap and am not intending to modify > gcc, so

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Paul C. Leopardi
Hi all, a quick follow-up below. Best regards, Paul Leopardi On Thu, 28 Jul 2005 12:04 pm, Paul C. Leopardi wrote: > In output of make -k check, I did notice that autogen is missing, causing > an "Error 2", but the test carries on regardless. Is this OK? ... > SUSE packaged autogen for SUSE Linux 9

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread H. J. Lu
On Thu, Jul 28, 2005 at 10:53:02AM +1000, Paul C. Leopardi wrote: > [EMAIL PROTECTED]:~/src/gcc/gcc-4.0.1-obj> ../gcc-4.0.1/configure > --prefix=/usr/local/gcc/gcc-4.0.1 --enable-threads=posix --disable-libgcj > --with-system-zlib --enable-shared --enable-__cxa_atexit > --enable-languages=c,c

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Ian Lance Taylor
"Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > The preamble to g++ testing says: > > make[1]: [check-gcc] Error 1 (ignored) > (rootme=`${PWDCMD-pwd}`; export rootme; \ > srcdir=`cd ../../gcc-4.0.1/gcc; ${PWDCMD-pwd}` ; export srcdir ; \ > cd testsuite; \ > EXPECT=expect ; export EXPECT ; \ > if

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Paul C. Leopardi
Mike, Thanks. Reply below. Best regards, Paul Leopardi On Thu, 28 Jul 2005 10:40 am, Mike Stump wrote: > On Jul 27, 2005, at 5:21 PM, Paul C. Leopardi wrote: > >> What sets the value of this variable? > > We will expect you to be able to find the code and read it. The code > you want to read is o

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Ian Lance Taylor
"Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED]:~/src/gcc/gcc-4.0.1-obj> ../gcc-4.0.1/configure > --prefix=/usr/local/gcc/gcc-4.0.1 --enable-threads=posix --disable-libgcj > --with-system-zlib --enable-shared --enable-__cxa_atexit > --enable-languages=c,c++ x86_64-suse-lin

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Paul C. Leopardi
Hi Lance, Thanks for your prompt reply. Point by point, below. Best regards, Paul Leopardi On Thu, 28 Jul 2005 10:26 am, Ian Lance Taylor wrote: > "Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > > Hi all, > > I did not receive a reply to my earlier message. Have I posted it to the > > wrong list?

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Mike Stump
On Jul 27, 2005, at 5:21 PM, Paul C. Leopardi wrote: How do I make the tests find the bootstrapped g++? You don't it already does. Shouldn't the test just do this automatically? Yes. How is the test supposed to find find the bootstrapped g++? Carefully, see the source code. Is it done

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Ian Lance Taylor
"Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > Hi all, > I did not receive a reply to my earlier message. Have I posted it to the > wrong > list? If so, what is the right list for this message? > Thanks > > On Sat, 23 Jul 2005 07:23 pm, Paul C. Leopardi wrote: > > How do I make the tests find

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Paul C. Leopardi
Hi all, I did not receive a reply to my earlier message. Have I posted it to the wrong list? If so, what is the right list for this message? Thanks On Sat, 23 Jul 2005 07:23 pm, Paul C. Leopardi wrote: > How do I make the tests find the bootstrapped g++? Shouldn't the test just > do this automati

Re: rfa (x86): 387<=>sse moves

2005-07-27 Thread Dale Johannesen
On Jul 27, 2005, at 2:18 PM, Richard Henderson wrote: On Tue, Jul 26, 2005 at 11:10:56PM -0700, Dale Johannesen wrote: Yes, it is. The following fixes my problem, and causes a couple of 3DNow-specific regressions in the testsuite which I need to look at, but nothing serious; I think it's gott

-Wstrict-aliasing=2 does not warn about all problems

2005-07-27 Thread Ian Lance Taylor
Hi Jim, the documentation for -Wstrict-aliasing=2 says: It warns about all code which might break the strict aliasing rules that the compiler is using for optimization. This warning catches all cases, but it will also give a warning for some ambiguous cases that are safe. However

Re: rfa (x86): 387<=>sse moves

2005-07-27 Thread Richard Henderson
On Tue, Jul 26, 2005 at 11:10:56PM -0700, Dale Johannesen wrote: > Yes, it is. The following fixes my problem, and causes a couple of > 3DNow-specific regressions > in the testsuite which I need to look at, but nothing serious; I think > it's gotten far enough to post > for opinions. This is in

Error repair in the C++ parser

2005-07-27 Thread Ziemowit Laski
I'm fixing a problem with ObjC++ going beserk upon encountering a syntax error, specifically not finding a '{' at the beginning of a method definition. Is there a safe, established way of repairing the token stream, i.e., inserting the '{' at that point? That way, I could print an ObjC++-specific

FW: wow, check this out !

2005-07-27 Thread [EMAIL PROTECTED]
-Original Message- From: Mark Sent: Monday, Jul 9, 2005 5:14 PM To: Olga Cc: Vera Subject: wow, check this out ! http://teeny.servehttp.com/

Re: how to write a define_peephole2 that uses custom registers in nios2

2005-07-27 Thread James E Wilson
Liu Haibin wrote: (match_operand:SI 2 "register_operand" "r") But the problem is it uses normal register, like r8, r9. How can I write the define_peephole2 so that it uses custom registers? See the "Constraints" section of the documentation. "r" means a general reg

Re: Questions about the new M32C target

2005-07-27 Thread DJ Delorie
> 1. Does anyone know if or when there will be a libc supporting this > target, and which one that will be (newlib?)? newlib/libgloss patches are next on my list. There's a simulator and gdb port on the way too. I have a couple of hardware boards as well, which I'll use for testing and whatnot.

Questions about the new M32C target

2005-07-27 Thread glagnar
Hi everyone, I was excited to find out that gcc now supports the Renesas M16C/M32C architecture. I have compiled binutils and gcc from the CVS sources. However, there are several questions that I have: 1. Does anyone know if or when there will be a libc supporting this target, and which one that

Re: Inserting a call statement

2005-07-27 Thread Daniel Berlin
On Wed, 2005-07-27 at 13:39 -0400, drizzle drizzle wrote: > Thanks for your help. I am attaching my patch. Most of the code dont > modify anything. The code I am talking about is ia small piece in > tree-data-ref.c in a function insert_annotations. The only > modification in the rest of the code i

Re: Inserting a call statement

2005-07-27 Thread drizzle drizzle
Thanks for your help. I am attaching my patch. Most of the code dont modify anything. The code I am talking about is ia small piece in tree-data-ref.c in a function insert_annotations. The only modification in the rest of the code is that an extra variable refid is set for particular array referen

Re: Inserting a call statement

2005-07-27 Thread Daniel Berlin
On Wed, 2005-07-27 at 17:54 +0100, Paul Brook wrote: > On Wednesday 27 July 2005 17:33, drizzle drizzle wrote: > > Hi > > I am trying to insert a function call "foo" inside the tree list. > > > > > > Inside this particular loop > > for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next

Re: Inserting a call statement

2005-07-27 Thread Daniel Berlin
On Wed, 2005-07-27 at 12:58 -0400, drizzle drizzle wrote: > Its inside this function > > static inline var_ann_t > var_ann (tree t) > > from the error dump itseems to the following assertion > gcc_assert (DECL_P (t)) > > > thanks > I'm gonna need a lot more info than that. Maybe you shoul

Re: Inserting a call statement

2005-07-27 Thread drizzle drizzle
Its inside this function static inline var_ann_t var_ann (tree t) from the error dump itseems to the following assertion gcc_assert (DECL_P (t)) thanks On 7/27/05, Daniel Berlin <[EMAIL PROTECTED]> wrote: > On Wed, 2005-07-27 at 12:33 -0400, drizzle drizzle wrote: > > Hi > > I am t

Re: Inserting a call statement

2005-07-27 Thread Paul Brook
On Wednesday 27 July 2005 17:33, drizzle drizzle wrote: > Hi > I am trying to insert a function call "foo" inside the tree list. > > > Inside this particular loop > for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) > { > > //if a particular condition i

Re: Inserting a call statement

2005-07-27 Thread Daniel Berlin
On Wed, 2005-07-27 at 12:33 -0400, drizzle drizzle wrote: > Hi > I am trying to insert a function call "foo" inside the tree list. > > > Inside this particular loop > for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) > { > > //if a partic

Inserting a call statement

2005-07-27 Thread drizzle drizzle
Hi I am trying to insert a function call "foo" inside the tree list. Inside this particular loop for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) { //if a particular condition is satisfied I do the following tree id =

Re: Minor documentation problem

2005-07-27 Thread Ian Lance Taylor
"Ioannis E. Venetis" <[EMAIL PROTECTED]> writes: > I downloaded gcc 4.0.1 and created the manual with 'make dvi'. While > browsing through it, I noticed the option -ftree-dse, which is > mentioned in paragraph 3.1 (Options summary) and in paragraph 3.10 > (Options That Control Optimization) under

Re: Latent PTA bug?

2005-07-27 Thread Daniel Berlin
On Wed, 2005-07-27 at 16:02 +0200, Richard Guenther wrote: > On Wed, 27 Jul 2005, Diego Novillo wrote: > > > On Wed, Jul 27, 2005 at 03:09:09PM +0200, Richard Guenther wrote: > > > > > i.e. while we see that the temporary pointer points to array[0], for > > > SFT.2_6 (i.p) we don't see anything?

Re: Latent PTA bug?

2005-07-27 Thread Richard Guenther
On Wed, 27 Jul 2005, Diego Novillo wrote: > On Wed, Jul 27, 2005 at 03:09:09PM +0200, Richard Guenther wrote: > > > i.e. while we see that the temporary pointer points to array[0], for > > SFT.2_6 (i.p) we don't see anything? So if we'd see { SFT.1 } here, too, > > we'd be wrong in both cases.

Re: Mailing list archive header wrong for fortran

2005-07-27 Thread Christopher Faylor
On Wed, Jul 27, 2005 at 12:14:38PM +0200, Gerald Pfeifer wrote: >On Wed, 27 Jul 2005, Steven Bosscher wrote: >> Jack Howarth pointed out to me that when you look at the archives for >> the [EMAIL PROTECTED] list at http://gcc.gnu.org/ml/fortran/current/, >> you get this header: >> >> This is the m

Re: Latent PTA bug?

2005-07-27 Thread Diego Novillo
On Wed, Jul 27, 2005 at 03:09:09PM +0200, Richard Guenther wrote: > i.e. while we see that the temporary pointer points to array[0], for > SFT.2_6 (i.p) we don't see anything? So if we'd see { SFT.1 } here, too, > we'd be wrong in both cases. -> aka my bug, correct? > What is SFT.1? array[0]?

Re: Latent PTA bug?

2005-07-27 Thread Richard Guenther
C testcase ;) typedef struct { int *p; } X; void includes(const X *); void test4(void) { int array[2] = { 2, 4 }; X i; int * _p; _p = array; i.p = _p; includes(&i); } if you change that to i.p = array; it works... !? But I note this in the failing case: Pointed-to sets for poin

Re: Latent PTA bug?

2005-07-27 Thread Diego Novillo
On Wed, Jul 27, 2005 at 01:08:38PM +0200, Richard Guenther wrote: > Points-to sets > > _first_5 = { array } > array = { } > array.1 = { } > con = { array } > D.1810_8 = { array } > _ptr_9 = { array } > D.1809 = { array } > D.1796 = { array } > D.1794 = { array } > D.1797_16 = { ANYTHING } > [ ..

Re: Latent PTA bug?

2005-07-27 Thread Daniel Berlin
On Wed, 2005-07-27 at 13:08 +0200, Richard Guenther wrote: > Hi all! > > I reduced my array aliasing libstdc++ failures to the following > testcase: > > struct iterator > { > int* ptr; > iterator(int* _ptr) : ptr(_ptr) {} > }; > > struct container { > int* first; > container(int*

Minor documentation problem

2005-07-27 Thread Ioannis E. Venetis
Hello, I downloaded gcc 4.0.1 and created the manual with 'make dvi'. While browsing through it, I noticed the option -ftree-dse, which is mentioned in paragraph 3.1 (Options summary) and in paragraph 3.10 (Options That Control Optimization) under -O1. However, this option is not documented

Latent PTA bug?

2005-07-27 Thread Richard Guenther
Hi all! I reduced my array aliasing libstdc++ failures to the following testcase: struct iterator { int* ptr; iterator(int* _ptr) : ptr(_ptr) {} }; struct container { int* first; container(int* _first) : first(_first) {} iterator begin() { return iterator(first); } }; bool i

Re: Mailing list archive header wrong for fortran

2005-07-27 Thread Gerald Pfeifer
On Wed, 27 Jul 2005, Steven Bosscher wrote: > Jack Howarth pointed out to me that when you look at the archives for > the [EMAIL PROTECTED] list at http://gcc.gnu.org/ml/fortran/current/, > you get this header: > > This is the mail archive of the [EMAIL PROTECTED] mailing list for the > Fortran 9

Mailing list archive header wrong for fortran

2005-07-27 Thread Steven Bosscher
Hi, Jack Howarth pointed out to me that when you look at the archives for the [EMAIL PROTECTED] list at http://gcc.gnu.org/ml/fortran/current/, you get this header: This is the mail archive of the [EMAIL PROTECTED] mailing list for the Fortran 95 project. Note the [EMAIL PROTECTED] This should