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

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

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

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: 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

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 the

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 the

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

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

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.

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,

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

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

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 we

We're out of tree codes: Now what?

2007-03-12 Thread Doug Gregor

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

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

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

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

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

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

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

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: 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

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 28675?

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

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 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

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 is

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 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 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-ends?

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 in C++,

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

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

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 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 lowering

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 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

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 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 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

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: 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 calls in the

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: 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 the

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

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

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

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 stdio.h extern char * make_relative_prefix (const char *progname, const char *bin_prefix, const

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

[Bug fortran/31144] Gfortran module names are not Standards compliant

2007-03-12 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-03-12 07:05 --- (In reply to comment #1) I don't think underscores are part of Fortran's identifier character space. An underscore can appear in a symbol except as the first character. --

[Bug fortran/31139] sum(w_re(1:nn,1)*fi(i(1:nn, ii))) up to 3.5x slower than C version

2007-03-12 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-03-12 07:58 --- complex * complex is not a simple cross product in FP world. Well, the program calculates: real * complex -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31139

[Bug fortran/31139] sum(w_re(1:nn,1)*fi(i(1:nn, ii))) up to 3.5x slower than C version

2007-03-12 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-03-12 08:16 --- Can someone try instead of doing __real__ a += w[j] *__real__ mfi[*index]; Use a+= xxx* yyy and also use -std=c99 to get the correct multiplication? Well, -std=c99 was used already and the real(!) * complex

[Bug fortran/30922] IMPORT fails for same symbol in multiple interface bodies of same interface block

2007-03-12 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-03-12 08:50 --- Created an attachment (id=13193) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13193action=view) Patch draft (by Paul Thomas) Notes by Paul: (i) gfc_find_symbol searches via proc_name-ns to

[Bug objc++/31134] [4.3 Regression] Objective-C++ has ran into the tree number limit

2007-03-12 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2007-03-12 09:07 --- (In reply to comment #7) Also adding new features should not break old features Here we are not talking about trade-offs, that should be rather clear by now. We are talking about fixing for real the underlying very

[Bug c++/20599] variadic template support

2007-03-12 Thread pcarlini at suse dot de
--- Comment #15 from pcarlini at suse dot de 2007-03-12 09:26 --- Actually in the latest mailing there are two new papers, N2151 and N2152. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20599

[Bug c++/29164] Overloaded operator delete[] doesn't get called

2007-03-12 Thread Andreas dot Kowarz at tu-dresden dot de
--- Comment #10 from Andreas dot Kowarz at tu-dresden dot de 2007-03-12 09:30 --- THS (The Holy Standard :-) ) 3.7.4.2/3 reads to me that for standard library implementations the delete operators must be called in any case but return immediately if the first argument is NULL =

[Bug c++/29365] Unnecessary anonymous namespace warnings

2007-03-12 Thread Woebbeking at web dot de
--- Comment #7 from Woebbeking at web dot de 2007-03-12 09:37 --- Any news on this? It's really annoying if you've many pimpls which often use anonymous namespace. -- Woebbeking at web dot de changed: What|Removed |Added

[Bug c++/31145] New: ICE: in cse_find_path, at cse.c:5930 with -O3 -ftracer

2007-03-12 Thread wouter dot vermaelen at pi dot be
-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug i486-linux-gnu --enable-libmudflap --enable-checking=release Thread model: posix gcc version 4.3.0 20070312 (experimental) -- Summary: ICE: in cse_find_path, at cse.c:5930with -O3 - ftracer

[Bug c++/28774] Request for warning where const/volatile is ignored in a cast

2007-03-12 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2007-03-12 12:10 --- This seems a duplicate of PR 14710. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28774

[Bug tree-optimization/31146] New: forwprop does not look through casts

2007-03-12 Thread rguenth at gcc dot gnu dot org
The following two testcases should produce the same code after forwprop1: struct foo { int i[3]; }; void bar (void) { struct foo Foo; int i; for (i=0; i3; ++i) { void *p = Foo.i[i]; int *pi = (int *)p; if (pi != 0) { *pi = 0; } } } ---

[Bug c++/31147] New: increased size of debug information

2007-03-12 Thread Woebbeking at web dot de
Hi, compared to 4.1.2 the size increased by 50% and more. E.g. Qt 4.2.2 libQtGui.so.4.2.2.debug - 4.2.0 97902763 bytes - 4.1.2 62435403 bytes We compile with -O2 -g. Is this a regression or just more (useful?) information? -- Summary: increased size of debug information

[Bug inline-asm/23200] [4.0/4.1/4.2/4.3 regression] rejects i(var + 1)

2007-03-12 Thread amacleod at redhat dot com
--- Comment #30 from amacleod at redhat dot com 2007-03-12 13:11 --- Err, yeah. thats right. TER doesn't run without optimization, and I forgot this was more than just an optimization issue. Where is that work to do basic SSA optimizations at -O0 when you need it?? :-) --

[Bug tree-optimization/30604] Unable to coalesce ssa_names x and y which are marked as MUST COALESCE

2007-03-12 Thread amacleod at redhat dot com
--- Comment #10 from amacleod at redhat dot com 2007-03-12 13:33 --- They do all have the (ab) next to them, I was just indicating that they all occurred in a PHI together, and hence needed to be coalesced. I should have been more precise. Well, _t_3 definately does have the (ab) flag,

[Bug c++/31147] increased size of debug information

2007-03-12 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-03-12 14:03 --- It's more information - whether it's useful depends. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31147

[Bug c++/31147] increased size of debug information

2007-03-12 Thread Woebbeking at web dot de
--- Comment #2 from Woebbeking at web dot de 2007-03-12 14:22 --- Subject: Re: increased size of debug information On Monday 12 March 2007, rguenth at gcc dot gnu dot org wrote: It's more information - whether it's useful depends. Wow, more than 50%. Are there any docs to this

[Bug c++/30975] ptr to member func __delta is 0 if ptr declaration does not match function porototype

2007-03-12 Thread ingo dot donasch at L-3com dot com
--- Comment #5 from ingo dot donasch at L-3com dot com 2007-03-12 14:32 --- Subject: RE: ptr to member func __delta is 0 if ptr declar ation does not match function porototype I know our code is wrong, but my point is that gcc34 generated correct code and gcc4x is not. A

[Bug fortran/30922] IMPORT fails for same symbol in multiple interface bodies of same interface block

2007-03-12 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-03-12 14:50 --- Subject: Bug number PR30922 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-03/msg00728.html --

[Bug c++/31147] increased size of debug information

2007-03-12 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-03-12 14:51 --- Figure out which source causes the increase and then attach the preprocessed source and then we might be able to decide. It could be that in 4.1.2, that we were not emitting enums and some other types which should

[Bug c++/31145] ICE: in cse_find_path, at cse.c:5930 with -O3 -ftracer

2007-03-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-12 14:56 --- *** This bug has been marked as a duplicate of 31127 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/31127] [4.3 regression] ICE in cse_find_path, at cse.c:5930

2007-03-12 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-03-12 14:56 --- *** Bug 31145 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/31146] forwprop does not look through casts

2007-03-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-12 14:59 --- forwprop should NOT, I repeat should NOT look through casts for conditional if the SSA_NAME that defines the cast is still used after the conditional. Really this non zero optimization should be done by VRP. --

[Bug tree-optimization/31146] forwprop does not look through casts

2007-03-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-12 15:09 --- I should mention, unless it can produce a constant result. For an example this function: void bar (void * a) { struct foo Foo; int i; for (i=0; i3; ++i) { void *p = a; int *pi = (int *)p;

[Bug fortran/30922] IMPORT fails for same symbol in multiple interface bodies of same interface block

2007-03-12 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-03-12 15:24 --- The testcase in comment 1 should be lifted and deposited in another PR; it is going to be quite difficult to fix because the type and kind of an interface function is established before the specification statements

[Bug fortran/30870] GENERIC non-INTRINSIC procedure rejected as actual argument

2007-03-12 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-03-12 15:25 --- I just submitted a patch for this PR. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30870

[Bug tree-optimization/31146] forwprop does not look through casts

2007-03-12 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-03-12 15:35 --- The problem is that for example FRE value numbers void *p_4 = a[0]; int *q_1 = (int *)p_4; p_4 with void* type (even if a[0] is of int* type) and so re-generates the conversion to int* even though it is about

[Bug fortran/30879] Syntax error for derived type's compounds in a data-stmt-value-set

2007-03-12 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2007-03-12 15:40 --- I just submitted a patch for this PR. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31148] New: optional argument of elemental function

2007-03-12 Thread vivekrao4 at yahoo dot com
Since ivec is not passed to sub, I think the two calls to set_optional should be equivalent, but gfortran crashes upon the second call. u:\vrao\fortran type xopt_bug.f90 module sub_mod contains elemental subroutine set_optional(i,idef,iopt) ! set i to (iopt,idef) if iopt (is,is not) PRESENT

[Bug tree-optimization/31146] forwprop does not look through casts

2007-03-12 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-03-12 15:41 --- I think really this comes down to our type system, I remember posting a patch for the LTO branch which adds back the explict cast to void*, I can test that, it should fix this testcase also :). --

[Bug tree-optimization/31146] forwprop does not look through casts

2007-03-12 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-03-12 16:01 --- Well sure - if we then would get int *p_1 = a[0]; void *q_1 = (void *)p_1; int *r_1 = (int *)q_1; if (r_1 != NULL) ... then FRE would figure out that r_1 == p_1 and the forwprop pass after FRE will fold the

[Bug fortran/31149] New: gfortran: no diagnostics about too many arguments in legacy code (vs. g77)

2007-03-12 Thread bartoldeman at users dot sourceforge dot net
Consider this code: SUBROUTINE FOO(I) I=0 END SUBROUTINE BAR() CALL FOO(1,2) END compiled with g77 3.4.6: f77.f: In subroutine `bar': f77.f:1: SUBROUTINE FOO(I) 1 f77.f:6: (continued): CALL FOO(1,2) 2 Too

[Bug c++/30108] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890

2007-03-12 Thread mmitchel at gcc dot gnu dot org
--- Comment #10 from mmitchel at gcc dot gnu dot org 2007-03-12 16:24 --- Subject: Bug 30108 Author: mmitchel Date: Mon Mar 12 16:24:18 2007 New Revision: 122844 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122844 Log: PR c++/30108 * call.c

[Bug c++/31147] increased size of debug information

2007-03-12 Thread Woebbeking at web dot de
--- Comment #4 from Woebbeking at web dot de 2007-03-12 16:46 --- Created an attachment (id=13194) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13194action=view) preprocessed qcombobox.cpp I added both versions (4.2.0 and 4.1.2). It's compiled with -c -fno-exceptions -pipe -O2

[Bug middle-end/31150] New: [4.1/4.2/4.3 Regression] Not promoting an whole array to be static const

2007-03-12 Thread pinskia at gcc dot gnu dot org
Take: int main() { char str[2][34] = {a,b}; __builtin_puts(str[0]); return 0; } In 4.0.2, we used to get: static char C.0[2][34] = {a, b}; char str[2][34]; str = C.0; __builtin_puts (str[0][0]); But in 4.1.1 and above, we get: char str[2][34]; str = {};

[Bug middle-end/31150] [4.1/4.2/4.3 Regression] Not promoting an whole array to be static const

2007-03-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31150

[Bug c++/20478] poor diagnostic

2007-03-12 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2007-03-12 16:47 --- It would be helpful if you could reduce the testcase. Thanks. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/31151] New: During 'make bootstrap': Syntax error at line 1 : `' is not expected

2007-03-12 Thread jkurpa at co dot volusia dot fl dot us
Am receiving following error during 'make bootstrap' for GCC v4.1.2 on AIX 5.3: srcdir=/usr/local/gcc-4.1.2/fixincludes /bin/sh /usr/local/gcc-4.1.2/f ixincludes/mkfixinc.sh powerpc-ibm-aix5.3.0.0 sed -e 's/@gcc_version@//'mkheadersT /bin/sh: 0403-057 Syntax error at line 1 :

[Bug bootstrap/31151] During 'make bootstrap': Syntax error at line 1 : `' is not expected

2007-03-12 Thread jkurpa at co dot volusia dot fl dot us
--- Comment #1 from jkurpa at co dot volusia dot fl dot us 2007-03-12 16:51 --- Created an attachment (id=13195) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13195action=view) Screen output from 'make bootstrap' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31151

[Bug bootstrap/31151] During 'make bootstrap': Syntax error at line 1 : `' is not expected

2007-03-12 Thread jkurpa at co dot volusia dot fl dot us
--- Comment #2 from jkurpa at co dot volusia dot fl dot us 2007-03-12 16:52 --- Created an attachment (id=13196) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13196action=view) Screen output from configure -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31151

[Bug tree-optimization/31130] [4.3 Regression] VRP no longer derives range for division after negation

2007-03-12 Thread ian at airs dot com
--- Comment #4 from ian at airs dot com 2007-03-12 17:08 --- First test case: int f(int a) { if (a 0) a = -a; return a 0; } As far as I can tell the behaviour of this test case in VRP is unchanged by the patch in this PR. And the code is still fully optimized. Second test

[Bug tree-optimization/31130] [4.3 Regression] VRP no longer derives range for division after negation

2007-03-12 Thread ian at airs dot com
--- Comment #5 from ian at airs dot com 2007-03-12 17:21 --- Unfortunately my patch in comment #1 doesn't handle this test case correctly: extern void abort (void); void foo (int a) { if (a = (int) 0x8001) { a = - a; if (a 0) abort (); } } It turns

[Bug c/11051] -Wno-deprecated needed also for C

2007-03-12 Thread manu at gcc dot gnu dot org
--- Comment #14 from manu at gcc dot gnu dot org 2007-03-12 17:22 --- Tom, your patch http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01853.html will also fix this by adding Wdeprecated to the C front-end. -- manu at gcc dot gnu dot org changed: What|Removed

[Bug target/26090] IA-64 creates DT_TEXTREL binaries

2007-03-12 Thread rth at gcc dot gnu dot org
--- Comment #6 from rth at gcc dot gnu dot org 2007-03-12 17:15 --- Subject: Bug 26090 Author: rth Date: Mon Mar 12 17:15:44 2007 New Revision: 122847 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122847 Log: PR target/26090 * config/alpha/alpha.c

[Bug preprocessor/23479] Implement binary constants with a 0b prefix

2007-03-12 Thread manu at gcc dot gnu dot org
--- Comment #19 from manu at gcc dot gnu dot org 2007-03-12 17:31 --- (In reply to comment #18) Created an attachment (id=13025) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13025action=view) [edit] Updated patch, output from svn diff as of 2007-02-07 Joerg, as Andrew said,

[Bug tree-optimization/31152] New: -(xy) generates wrong code

2007-03-12 Thread anton at mips dot complang dot tuwien dot ac dot at
The actual gcc version is gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) When compiled and run with this gcc version, using the command line gcc -O xxx.c a.out the attached program outputs -1, whereas the correct output is 0. If I use gcc 3.3.6 or leave away the -O flag, the

[Bug c++/23263] Incomprehensible message for invalid attempt to partially specialize a member

2007-03-12 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2007-03-12 17:39 --- (In reply to comment #4) See also PR 23281 [snip] Consequently I'm filing this as a DR against the gcc DR reporting machinery itself, rather than against the compiler in particular. There needs to be categories for

[Bug tree-optimization/31152] -(xy) generates wrong code

2007-03-12 Thread anton at mips dot complang dot tuwien dot ac dot at
--- Comment #1 from anton at mips dot complang dot tuwien dot ac dot at 2007-03-12 17:43 --- Subject: Re: New: -(xy) generates wrong code I cannot create an attachment in Bugzilla, so I'll just append the test program here: #include stdio.h #include limits.h long foo(long x, long

[Bug other/28002] decNumber sources need GPL+exception for use in libgcc

2007-03-12 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2007-03-12 17:45 --- The link in comment #5 is to David Edelsohn's message that RMS had approved the license change. Ben Elliston changed the license in the decNumber files for mainline and the 4.2 branch. -- janis at gcc dot gnu dot

[Bug c/24016] Missing warning for unspecified evaluation order

2007-03-12 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2007-03-12 17:48 --- (In reply to comment #1) It is, however, at least unspecified order of evaluation and a warning here would still make sense. A candidate for -Wsequence-points ? --

  1   2   >