Error in checking compat.exp

2007-03-12 Thread Revital1 Eres
Hello, I get the following error while running make check-gcc RUNTESTFLAGS="compat.exp" with mainline gcc version 4.3.0 20070312 on PPC. Revital === g++ tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board d

GCC 4.2 branch snapshots disabled

2007-03-12 Thread Mark Mitchell
As I'm now building GCC 4.2.0 RC1 (*), and am thereby beginning the release cycle for 4.2.0, I've disabled the 4.2 branch snapshots. It seems confusing to have both the prereleases (which I build) and the snapshots (which robots build) available simultaneously, and I would prefer to focus testing

PATCH: make_relative_prefix oddity

2007-03-12 Thread Mark Mitchell
I've noticed some behavior with make_relative_prefix that surprised me. In particular, consider this program: #include extern char * make_relative_prefix (const char *progname, const char *bin_prefix, const char *p

Re: A request for your input.

2007-03-12 Thread Brooks Moses
[EMAIL PROTECTED] wrote: I sincerely apologize for the spammish nature of this e-mail - I don't mean to abuse this list. I am trying to collect responses from as many open source developers and users as possible and a mailing list like can be the only way to reach many developers. FWIW, one op

A request for your input.

2007-03-12 Thread lmth
Hello My name is Lara Thynne and I am a PhD candidate at Deakin University Australia. I am currently researching the boundary between work and leisure activities directly related to the open source community and open source program development. As part of this I am running a survey at the follo

ACC Release V 0.5: Get Aspect-oriented through acc!

2007-03-12 Thread Michael Gong
Hi, We are pleased to announce the release of AspeCt-oriented C (ACC) V 0.5, formerly known as AspectC. Besides some new features, the ACC 0.5 release also includes a set of experimental weave adapters that help integrate aspeCts in the build process of large C-based software projects. For m

Re: We're out of tree codes; now what?

2007-03-12 Thread Daniel Berlin
On 3/12/07, Mike Stump <[EMAIL PROTECTED]> wrote: On Mar 12, 2007, at 2:14 PM, Paolo Carlini wrote: > When I said, let's support Doug, I meant let's support Doug from a > *practical* point of view. Either we suggest something doable with > a realistically sized effort or a little larger and at th

Re: We're out of tree codes; now what?

2007-03-12 Thread Doug Gregor
On 3/12/07, Mike Stump <[EMAIL PROTECTED]> wrote: That said, we all realize we are _not_ asking Doug to please re-implement the C++ frontend to our design to fix this issue. I'd be against that. Thank you :) I'm hoping that might allow us to reduce the pressure enough so that we can fit back

Re: Updating libtool in GCC and srctree

2007-03-12 Thread Steve Ellcey
> So, you need to run aclocal with: > $ aclocal -I ../config -I .. > > -- > albert chin ([EMAIL PROTECTED]) Thanks, that helps a lot. For libstdc++-v3 I actually needed "-I ." as well in order to find linkage.m4 so maybe "-I . -I .. -I ../config" is the best option list to use on aclocal call

gcc-4.1-20070312 is now available

2007-03-12 Thread gccadmin
Snapshot gcc-4.1-20070312 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20070312/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.1 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: We're out of tree codes; now what?

2007-03-12 Thread Mike Stump
On Mar 12, 2007, at 2:14 PM, Paolo Carlini wrote: When I said, let's support Doug, I meant let's support Doug from a *practical* point of view. Either we suggest something doable with a realistically sized effort or a little larger and at the same time we volunteer to actually do it. In my o

Re: Import GCC 4.2.0 PRs

2007-03-12 Thread Jason Merrill
Mark Mitchell wrote: * PR 27945 (Merill) * PR 30590 (Guenther, Merill) I'll get on these. Jason

Re: We're out of tree codes; now what?

2007-03-12 Thread Richard Kenner
> It's going to have a big performance impact. To extract a 9-bit value, > the compiler will need to do a lot of masking every time it accesses > the TREE_CODE. "a lot masking" means at most two additional instructions, one if we put it in the right place. I'd be shocked if we could even measure

Re: We're out of tree codes; now what?

2007-03-12 Thread Steven Bosscher
On 3/12/07, Paolo Carlini <[EMAIL PROTECTED]> wrote: In my opinion, "visions" for a better future do not help here. No, I fully agree. I mean, imagine we'd have a long term plan for GCC. That would be so out of line! ;-) I'm not arguing against a practical solution. But to me at least it is

Re: We're out of tree codes; now what?

2007-03-12 Thread NickK
Mike Stump wrote: On Mar 12, 2007, at 11:13 AM, Doug Gregor wrote: With the introduction of the variadic templates patch, we now have more than 255 tree codes in GCC. I do wonder about compilation speed for C++ code. Barring some other innovative approach, even with a slow down, which I'd hat

Re: We're out of tree codes; now what?

2007-03-12 Thread Joseph S. Myers
On Mon, 12 Mar 2007, Mike Stump wrote: > :-) I don't have any objections, as long as people can keep the compilation > speed up, though, sounds like a bit of work. I'd look towards a project > architect to help steer us towards goodness and keep us out of trouble. I can > see some advantage to

Re: We're out of tree codes; now what?

2007-03-12 Thread Daniel Berlin
On 3/12/07, Andrew Pinski <[EMAIL PROTECTED]> wrote: On 3/12/07, Steven Bosscher <[EMAIL PROTECTED]> wrote: > On 3/12/07, Andrew Pinski <[EMAIL PROTECTED]> wrote: > > Can I recommend something just crazy, rewrite the C and C++ front-ends > > so they don't use the tree structure at all except when

Re: We're out of tree codes; now what?

2007-03-12 Thread Gabriel Dos Reis
Paolo Carlini <[EMAIL PROTECTED]> writes: | In my opinion, "visions" for a better future do not help here. And here we are. :-) -- Gaby

Re: We're out of tree codes; now what?

2007-03-12 Thread Paolo Carlini
Steven Bosscher wrote: Another real solution would perhaps be to not use 'tree' for front end specific data structures in C++, and instead just define g++ specific data structures to represent all the language details ;-) When I said, let's support Doug, I meant let's support Doug from a *pra

Re: We're out of tree codes; now what?

2007-03-12 Thread Mike Stump
On Mar 12, 2007, at 1:47 PM, Andrew Pinski wrote: Can I recommend something just crazy, rewrite the C++ front-end so they don't use the tree structure at all except when lowering until gimple like the rest of the GCC front-ends? :-) I don't have any objections, as long as people can keep th

Re: We're out of tree codes; now what?

2007-03-12 Thread Gabriel Dos Reis
"Steven Bosscher" <[EMAIL PROTECTED]> writes: | On 3/12/07, Paolo Carlini <[EMAIL PROTECTED]> wrote: | > we are unavoidably | > adding tree codes and we must solve the issue, one way or another. | | Another real solution would perhaps be to not use 'tree' for front end | specific data structures

Re: We're out of tree codes; now what?

2007-03-12 Thread Andrew Pinski
On 3/12/07, Steven Bosscher <[EMAIL PROTECTED]> wrote: On 3/12/07, Andrew Pinski <[EMAIL PROTECTED]> wrote: > Can I recommend something just crazy, rewrite the C and C++ front-ends > so they don't use the tree structure at all except when lowering until > gimple like the rest of the GCC front-end

Re: We're out of tree codes; now what?

2007-03-12 Thread Steven Bosscher
On 3/12/07, Andrew Pinski <[EMAIL PROTECTED]> wrote: Can I recommend something just crazy, rewrite the C and C++ front-ends so they don't use the tree structure at all except when lowering until gimple like the rest of the GCC front-ends? The C front end already emits generic, so there's almost

Re: We're out of tree codes; now what?

2007-03-12 Thread Steven Bosscher
On 3/12/07, Paolo Carlini <[EMAIL PROTECTED]> wrote: we are unavoidably adding tree codes and we must solve the issue, one way or another. Another real solution would perhaps be to not use 'tree' for front end specific data structures in C++, and instead just define g++ specific data structures

Re: We're out of tree codes; now what?

2007-03-12 Thread Andrew Pinski
On 3/12/07, Paolo Carlini <[EMAIL PROTECTED]> wrote: Hi, just wanted to say explicitely that I'm supporting completely Doug' efforts at fixing this issue. Well, I'm a little biased, because I'm working on C++/26099 and I will need at least one new tree code, but that's not the point, the point i

Re: We're out of tree codes; now what?

2007-03-12 Thread Paolo Carlini
Hi, just wanted to say explicitely that I'm supporting completely Doug' efforts at fixing this issue. Well, I'm a little biased, because I'm working on C++/26099 and I will need at least one new tree code, but that's not the point, the point is that where we are implementing C++0x features an

Re: Import GCC 4.2.0 PRs

2007-03-12 Thread Paweł Sikora
On Monday 12 of March 2007 19:47:21 Mark Mitchell wrote: > * PR 29906 (Oliva) -- This is a crash during DWARF generation for a > small C++ test case. += PR 29202. ps). the PR 30052 (aliasing related) is still unconfirmed.

Re: We're out of tree codes; now what?

2007-03-12 Thread Doug Gregor
On 3/12/07, Steven Bosscher <[EMAIL PROTECTED]> wrote: On 3/12/07, David Edelsohn <[EMAIL PROTECTED]> wrote: > I thought that the Tuples conversion was suppose to address this > in the long term. The tuples conversion is only going to make things worse in the short term. Doug, isn't the

Re: We're out of tree codes; now what?

2007-03-12 Thread Mike Stump
On Mar 12, 2007, at 11:13 AM, Doug Gregor wrote: With the introduction of the variadic templates patch, we now have more than 255 tree codes in GCC. I do wonder about compilation speed for C++ code. Barring some other innovative approach, even with a slow down, which I'd hate, I think this

Re: Quick FUNCTION_MODE doco query

2007-03-12 Thread Jim Wilson
Dave Korn wrote: Was this description perhaps written in pre-RISC days? Yes. You can find identical text in the gcc-1.42 documentation, when almost every port was a CISC. The docs in rtl.texi for the call expression is a bit clearer about the intent here for FUNCTION_MODE. -- Jim Wilson

Re: Import GCC 4.2.0 PRs

2007-03-12 Thread Mark Mitchell
Ulrich Weigand wrote: > Mark Mitchell wrote: > >> * PR 28544 (Brook, Weigand) -- this is an ARM ICE which Paul has tracked >> to reload, but he's not sure what to do there. Perhaps Ulrich can help. > > This description doesn't appear to match the bugzilla record. Maybe you're > referring to PR

Re: We're out of tree codes; now what?

2007-03-12 Thread Steven Bosscher
On 3/12/07, David Edelsohn <[EMAIL PROTECTED]> wrote: I thought that the Tuples conversion was suppose to address this in the long term. The tuples conversion is only going to make things worse in the short term. Doug, isn't there a lang_tree bit you can make available, and use it to m

Re: Import GCC 4.2.0 PRs

2007-03-12 Thread Ulrich Weigand
Mark Mitchell wrote: > * PR 28544 (Brook, Weigand) -- this is an ARM ICE which Paul has tracked > to reload, but he's not sure what to do there. Perhaps Ulrich can help. This description doesn't appear to match the bugzilla record. Maybe you're referring to PR 28675? I can have a look at that

Re: Import GCC 4.2.0 PRs

2007-03-12 Thread Daniel Berlin
On 3/12/07, Mark Mitchell <[EMAIL PROTECTED]> wrote: Here are some GCC 4.2.0 P1s which I think it would be good for GCC to have resolved before the release, together with names of people I'd like to volunteer to help. (Naturally, I have no command authority, and I'd encourage anyone else who wan

Re: Import GCC 4.2.0 PRs

2007-03-12 Thread Andrew Pinski
On 3/12/07, Mark Mitchell <[EMAIL PROTECTED]> wrote: * PR 30132 (Pinski, Berlin) -- This is an aliasing crash on complex numbers. Andrew, you mentioned you might have a patch. Yes I have a patch but I need to go back and look at the sources again, I can get to this bug tomorrow as the sources

Import GCC 4.2.0 PRs

2007-03-12 Thread Mark Mitchell
Here are some GCC 4.2.0 P1s which I think it would be good for GCC to have resolved before the release, together with names of people I'd like to volunteer to help. (Naturally, I have no command authority, and I'd encourage anyone else who wants to help to pitch in, but I'm trying to tap a few lik

Re: We're out of tree codes; now what?

2007-03-12 Thread David Edelsohn
I thought that the Tuples conversion was suppose to address this in the long term. David

Re: none

2007-03-12 Thread Gabriel Dos Reis
"Doug Gregor" <[EMAIL PROTECTED]> writes: Am I the only one to receive Doug's recent messages with empty body? -- Gaby

We're out of tree codes; now what?

2007-03-12 Thread Doug Gregor
[This is a re-send of my previous e-mail; my apologies, yet again, for the e-mail mangling on my end. Those responsible have been sacked.] With the introduction of the variadic templates patch, we now have more than 255 tree codes in GCC. This causes the mainline Objective-C++ compiler to fail to

Re: Manipulating the tree Structure

2007-03-12 Thread Daniel Berlin
On 3/12/07, Andrea Callia D'Iddio <[EMAIL PROTECTED]> wrote: Great! thank you! I tested with your code and it works... but I'm still a bit confused. Could you help me with this simple example? Suppose that I obtained a tree structure with the following command: tree stmt = bsi_stmt (si); and su

We're out of tree codes: Now what?

2007-03-12 Thread Doug Gregor

Re: symbol names are not created with stdcall syntax: MINGW, (GCC) 4.3.0 20061021

2007-03-12 Thread Ross Ridge
Ross Ridge wrote: > Any library that needs to be able to be called from VisualBasic 6 or some > other "stdcall only" environment should explictly declare it's exported > functions with the stdcall calling convention. Tobias Burnus writes: > Thus, if I understood you correctly, you recommend that w

Re: Massive SPEC failures on trunk

2007-03-12 Thread H. J. Lu
On Mon, Mar 12, 2007 at 05:27:21PM +0100, Richard Guenther wrote: > Most of the problems are fixed, dealII remains with: > > /gcc/spec/sb-balakirew-head-64-2006/x86_64/install-hack/bin/g++ -c -o > quadrature.o -DSPEC_CPU -DNDEBUG -Iinclude -DBOOST_DISABLE_THREADS > -Ddeal_II_dimension=3 -O2 -D

Re: Manipulating the tree Structure

2007-03-12 Thread Andrea Callia D'Iddio
Great! thank you! I tested with your code and it works... but I'm still a bit confused. Could you help me with this simple example? Suppose that I obtained a tree structure with the following command: tree stmt = bsi_stmt (si); and suppose I want to execute the following task: For each tree sta

Re: Massive SPEC failures on trunk

2007-03-12 Thread Richard Guenther
On 3/3/07, Grigory Zagorodnev <[EMAIL PROTECTED]> wrote: Hi, Trunk GCC shows massive (2 compile-time and 6 run-time) failures on SPEC CPU2000 and CPU2006 at i386 and x86_64 on -O2 optimization level. Regression introduced somewhere between revision 122487 and 122478. There are three checkins, ca

Re: gcc 4.2 branch build failure on powerpc-apple-darwin8

2007-03-12 Thread Richard Henderson
On Mon, Mar 12, 2007 at 08:32:43AM -0400, Jack Howarth wrote: > - else if (decl_readonly_section_1 (exp, reloc, MACHOPIC_INDIRECT)) > + else if (decl_readonly_section (exp, reloc)) Not just that. Try this. * config/darwin.c (machopic_reloc_rw_mask): New. (machopic_select_sect

Re: S/390 Bootstrap failure: ICE in cse_find_path, at cse.c:5930

2007-03-12 Thread Steven Bosscher
On 3/12/07, Andreas Krebbel <[EMAIL PROTECTED]> wrote: Hi, gcc currently doesn't boostrap on s390 and s390x: See http://gcc.gnu.org/ml/gcc-bugs/2007-03/msg00930.html Gr. Steven

S/390 Bootstrap failure: ICE in cse_find_path, at cse.c:5930

2007-03-12 Thread Andreas Krebbel
Hi, gcc currently doesn't boostrap on s390 and s390x: /build2/gcc-4.3-build/s390x-ibm-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:2025: internal compiler error: in cse_find_path, at cse.c:5930 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.

Re: Manipulating the tree Structure

2007-03-12 Thread Tehila Meyzels
Andrea Callia D'Iddio wrote on 12/03/2007 16:56:53: > Hi all, > i have a very little question for you. I have a basic block and by a > statement iterator i can obtain a tree structure in the following > manner: > tree stmt = bsi_stmt (si); > I want to use this tree structure to manipulate

Re: Manipulating the tree Structure

2007-03-12 Thread Revital1 Eres
[EMAIL PROTECTED] wrote on 12/03/2007 16:56:53: > Hi all, > i have a very little question for you. I have a basic block and by a > statement iterator i can obtain a tree structure in the following > manner: > tree stmt = bsi_stmt (si); > I want to use this tree structure to manipulate t

RE: Problem with reg_equiv_alt_mem

2007-03-12 Thread Unruh, Erwin
>On 3/12/07, Unruh, Erwin <[EMAIL PROTECTED]> wrote: >> In a private port I had the problem that reg_equiv_alt_mem_list did >> contain the same RTL as reg_equiv_memory_loc. This caused an assert in >> delete_output_reload, where these are compared with equal_rtx_p. >> The list is build with push_

Manipulating the tree Structure

2007-03-12 Thread Andrea Callia D'Iddio
Hi all, i have a very little question for you. I have a basic block and by a statement iterator i can obtain a tree structure in the following manner: tree stmt = bsi_stmt (si); I want to use this tree structure to manipulate the statement, for example i 'd like to know if

RE: gcc 4.2 branch build failure on powerpc-apple-darwin8

2007-03-12 Thread Jack Howarth
It would seem we need to change... Index: gcc/config/darwin.c === /usr/local/bin/gccdiff: line 1: i#!/bin/bash: No such file or directory --- gcc/config/darwin.c (revision 122839) +++ gcc/config/darwin.c (working copy) @@ -1112,7 +

Re: Problem with reg_equiv_alt_mem

2007-03-12 Thread Steven Bosscher
On 3/12/07, Unruh, Erwin <[EMAIL PROTECTED]> wrote: In a private port I had the problem that reg_equiv_alt_mem_list did contain the same RTL as reg_equiv_memory_loc. This caused an assert in delete_output_reload, where these are compared with equal_rtx_p. The list is build with push_reg_equiv_alt

Problem with reg_equiv_alt_mem

2007-03-12 Thread Unruh, Erwin
In a private port I had the problem that reg_equiv_alt_mem_list did contain the same RTL as reg_equiv_memory_loc. This caused an assert in delete_output_reload, where these are compared with equal_rtx_p. The list is build with push_reg_equiv_alt_mem, but only when "tem != orig". The value tem is bu