Re: Massive SPEC failures on trunk

2007-03-06 Thread Vladimir Sysoev
FYI Bug has been already reported http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31037 -Vladimir

Re: new auto-inc-dec pass

2007-03-06 Thread Joern Rennecke
In http://gcc.gnu.org/ml/gcc/2007-03/msg00128.html, you wrote: One case is about multiple increments, the tree optimizer merges them and increments the register only once, so if one only looks at the size of the pointer value one misses them, e.g. something like this: (set (mem (reg))

Re: Is FTZ/DAZ for SSE via fast math available for x86 arch other than Linux?

2007-03-06 Thread Zuxy Meng
Hello, Zuxy Meng [EMAIL PROTECTED] дÈëÏûÏ¢ÐÂÎÅ:[EMAIL PROTECTED] I saw the patch in http://gcc.gnu.org/ml/gcc/2005-08/msg00281.html but is it available for other hosts, like mingw32? I've uploaded a proposed patch for this bug (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13151action=diff).

Re: subreg pass

2007-03-06 Thread Roman Zippel
Hi, On Mon, 5 Mar 2007, Roman Zippel wrote: Yes, it is in general better now to split double-word length operations before reload. It's not necessarily better to split as early as possible, as that will essentially disable the RTL level loop optimizations. I was worried about that

Re: new auto-inc-dec pass

2007-03-06 Thread Roman Zippel
Hi, On Tue, 6 Mar 2007, Joern Rennecke wrote: In http://gcc.gnu.org/ml/gcc/2007-03/msg00128.html, you wrote: One case is about multiple increments, the tree optimizer merges them and increments the register only once, so if one only looks at the size of the pointer value one misses them,

Re: subreg pass

2007-03-06 Thread Roman Zippel
On Tue, 6 Mar 2007, Roman Zippel wrote: Reload has now to match (reg %d0) and (reg 38) above in insn 32 and after pseudo register replacement it looks like this: (insn 32 10 30 2 (parallel [ (set (strict_low_part (reg:SI 1 %d1 [orig:38+4 ] [38])) (mult:SI

Re: subreg pass

2007-03-06 Thread Andi Kleen
Roman Zippel [EMAIL PROTECTED] writes: The new subreg lowering pass seems to generate a bit worse code on m68k than before, let's take simple example: FWIW I see the opposite on i386: I have a function that strangely ran slower with -fomit-frame-pointer than without on 4.1. With a 4.3

Mainline bug in RTL fwprop.

2007-03-06 Thread Andrew MacLeod
I was working on a a patch for PR 21596, and it seems to have triggered a bug in fwprop on x86 in mainline. The testcase is simple: register int *reg __asm__(%edi); int test () { return *--reg = 0; } I've attached the patch for TER which changes the tree produced in mainline from:

Adding a new gcc dir

2007-03-06 Thread Paulo J. Matos
Hi all, I've just added a new gcc subdir : head/gcc/myproj with structures and utilities for my ipa pass which lives in head/gcc. Now I have to tell gcc to compile the files inside myproj. Is there a standard way to do this? I've looked into head/gcc/Makefile.in but it seem quite cluttered and I

Re: Massive SPEC failures on trunk

2007-03-06 Thread Ian Lance Taylor
Vladimir Sysoev [EMAIL PROTECTED] writes: Bug has been already reported http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31037 I don't think this one could have anything to do with my VRP changes, but I'll try to take a look later today. Ian

Re: Massive SPEC failures on trunk

2007-03-06 Thread Diego Novillo
Ian Lance Taylor wrote on 03/06/07 09:49: Vladimir Sysoev [EMAIL PROTECTED] writes: Bug has been already reported http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31037 I don't think this one could have anything to do with my VRP changes, but I'll try to take a look later today. Actually,

BUG: wrong function call

2007-03-06 Thread W. Ivanov
Hi, I use multiple inheritance in my project. In the child class i have functions GetParam() and SetParam(). In the cpp-file I call GetParam() function, but I fell to SetParam() function. Can You help me?

Re: BUG: wrong function call

2007-03-06 Thread Paulo J. Matos
On 3/6/07, W. Ivanov [EMAIL PROTECTED] wrote: Hi, I use multiple inheritance in my project. In the child class i have functions GetParam() and SetParam(). In the cpp-file I call GetParam() function, but I fell to SetParam() function. Can You help me? Don't take me wrong but it is most likely

Re: Adding a new gcc dir

2007-03-06 Thread Paulo J. Matos
On 3/6/07, Paulo J. Matos [EMAIL PROTECTED] wrote: Hi all, I've just added a new gcc subdir : head/gcc/myproj with structures and utilities for my ipa pass which lives in head/gcc. Now I have to tell gcc to compile the files inside myproj. Is there a standard way to do this? I've looked into

Doxygen documentation nearly unreadable

2007-03-06 Thread Jens Seidel
Hi, I try from time to time to find some information related GNU's C++ STL implemention e.g. in http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__string.html But this page (and others) are nearly unreadable because there is no way to recognise member function declarations

Re: BUG: wrong function call

2007-03-06 Thread W. Ivanov
Paulo J. Matos wrote: On 3/6/07, W. Ivanov [EMAIL PROTECTED] wrote: Hi, I use multiple inheritance in my project. In the child class i have functions GetParam() and SetParam(). In the cpp-file I call GetParam() function, but I fell to SetParam() function. Can You help me? Don't take me wrong

RE: Adding a new gcc dir

2007-03-06 Thread Dave Korn
On 06 March 2007 16:07, Paulo J. Matos wrote: Well, added a couple of lines to gcc/Makefile.in referring to files in myproj. Still, although it is partly working one thing is annoying me. It's using these flags by default: -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes

Re: Adding a new gcc dir

2007-03-06 Thread Paul Brook
Which means using C90, which means no mixed declarations and code, no C++ comments, etc. Is there any way to compile at least, my files with c99 constructs? Or all gcc code should be built like this?? This is a feature. gcc can be bootstrapped using an arbitrary c90 compiler. The warning

Re: BUG: wrong function call

2007-03-06 Thread Steven Bosscher
On 3/6/07, W. Ivanov [EMAIL PROTECTED] wrote: Paulo J. Matos wrote: On 3/6/07, W. Ivanov [EMAIL PROTECTED] wrote: Hi, I use multiple inheritance in my project. In the child class i have functions GetParam() and SetParam(). In the cpp-file I call GetParam() function, but I fell to SetParam()

Re: BUG: wrong function call

2007-03-06 Thread Manuel López-Ibáñez
On 06/03/07, W. Ivanov [EMAIL PROTECTED] wrote: Paulo J. Matos wrote: On 3/6/07, W. Ivanov [EMAIL PROTECTED] wrote: Hi, I use multiple inheritance in my project. In the child class i have functions GetParam() and SetParam(). In the cpp-file I call GetParam() function, but I fell to

Re: Mainline bug in RTL fwprop.

2007-03-06 Thread Paolo Bonzini
It would be really sweet if we propagated the 'di - 4' into insn 8, then recognized that di is now the value of SI 58, and propagated di into the compare. insn 7 would be dead and we'd get the code the PR is looking for :-) Unfortunately there's no hope of that because fwprop doesn't do

build broken

2007-03-06 Thread Mike Stump
It appears that one of these: r122580 | doko | 2007-03-05 15:23:18 -0800 (Mon, 05 Mar 2007) | 6 lines 2007-03-02 Mario Torre [EMAIL PROTECTED] PR classpath/31017: committed for Petteri RC383C2A4ty [EMAIL

Re: Improvements of the haifa scheduler

2007-03-06 Thread Daniel Berlin
On 3/5/07, Maxim Kuvyrkov [EMAIL PROTECTED] wrote: Diego Novillo wrote: Maxim Kuvyrkov wrote on 03/05/07 02:14: o Fix passes that invalidate tree-ssa alias export. Yes, this should be good and shouldn't need a lot of work. o { Fast but unsafe Gupta's aliasing patch, Unsafe tree-ssa

Re: Improvements of the haifa scheduler

2007-03-06 Thread Daniel Berlin
On 3/6/07, Daniel Berlin [EMAIL PROTECTED] wrote: On 3/5/07, Maxim Kuvyrkov [EMAIL PROTECTED] wrote: Diego Novillo wrote: Maxim Kuvyrkov wrote on 03/05/07 02:14: o Fix passes that invalidate tree-ssa alias export. Yes, this should be good and shouldn't need a lot of work. o

Re: Mainline bug in RTL fwprop.

2007-03-06 Thread Andrew MacLeod
On Tue, 2007-03-06 at 18:18 +0100, Paolo Bonzini wrote: It would be really sweet if we propagated the 'di - 4' into insn 8, then recognized that di is now the value of SI 58, and propagated di into the compare. insn 7 would be dead and we'd get the code the PR is looking for :-)

Re: reload.c as a bugzilla quip

2007-03-06 Thread Daniel Berlin
On 3/5/07, Joe Buck [EMAIL PROTECTED] wrote: On Sun, Mar 04, 2007 at 09:45:13AM +0100, FX Coudert wrote: One of the bugzilla quips (the headlines appearing at random for each bug list) is actually the head of gcc/reload.c (full text below). That is really obnoxious and should be removed.

Re: reload.c as a bugzilla quip

2007-03-06 Thread Joe Buck
On Tue, Mar 06, 2007 at 12:50:47PM -0500, Daniel Berlin wrote: On 3/5/07, Joe Buck [EMAIL PROTECTED] wrote: On Sun, Mar 04, 2007 at 09:45:13AM +0100, FX Coudert wrote: One of the bugzilla quips (the headlines appearing at random for each bug list) is actually the head of gcc/reload.c (full

Re: Adding a new gcc dir

2007-03-06 Thread Paulo J. Matos
On 3/6/07, Dave Korn [EMAIL PROTECTED] wrote: On 06 March 2007 16:07, Paulo J. Matos wrote: Well, added a couple of lines to gcc/Makefile.in referring to files in myproj. Still, although it is partly working one thing is annoying me. It's using these flags by default: -W -Wall

Re: Adding a new gcc dir

2007-03-06 Thread Paulo J. Matos
On 3/6/07, Paulo J. Matos [EMAIL PROTECTED] wrote: Hi all, I've just added a new gcc subdir : head/gcc/myproj with structures and utilities for my ipa pass which lives in head/gcc. Now I have to tell gcc to compile the files inside myproj. Is there a standard way to do this? I've looked into

RE: Adding a new gcc dir

2007-03-06 Thread Dave Korn
On 06 March 2007 18:22, Paulo J. Matos wrote: i686-pc-linux-gnu-ar: symbol-tables.o: No such file or directory And in fact there is no symbol-tables.o but I saw it being compiled so I wonder where it has gone to. Any suggestions ?? 1. Always pipe the build output to a file so you

Re: build broken

2007-03-06 Thread Matthias Klose
Mike Stump schrieb: It appears that one of these: + '[' -s .bad_compare ']' + exit 1 I have a feeling sed -i isn't our friend. fixed. Matthias 2007-03-06 Matthias Klose [EMAIL PROTECTED] * doc/Makefile.am(gkeytool.pod): Don't use sed -i. * doc/Makefile.in: Regenerate.

Re: Adding a new gcc dir

2007-03-06 Thread Paulo J. Matos
On 3/6/07, Dave Korn [EMAIL PROTECTED] wrote: On 06 March 2007 18:22, Paulo J. Matos wrote: i686-pc-linux-gnu-ar: symbol-tables.o: No such file or directory And in fact there is no symbol-tables.o but I saw it being compiled so I wonder where it has gone to. Any suggestions ?? 1.

RE: Adding a new gcc dir

2007-03-06 Thread Dave Korn
On 06 March 2007 20:12, Paulo J. Matos wrote: On 3/6/07, Dave Korn [EMAIL PROTECTED] wrote: On 06 March 2007 18:22, Paulo J. Matos wrote: i686-pc-linux-gnu-ar: symbol-tables.o: No such file or directory And in fact there is no symbol-tables.o but I saw it being compiled so I wonder

Re: GCC 4.2.0 Status Report (2007-03-04)

2007-03-06 Thread Manuel López-Ibáñez
On 05/03/07, Manuel López-Ibáñez [EMAIL PROTECTED] wrote: On 05/03/07, Mark Mitchell [EMAIL PROTECTED] wrote: After reviewing all of the traffic[1] that stemmed from my previous status report, I've decided that, indeed, it makes sense to steam ahead with GCC 4.2.0 based on current GCC 4.2.0

Re: Adding a new gcc dir

2007-03-06 Thread Paulo J. Matos
On 3/6/07, Dave Korn [EMAIL PROTECTED] wrote: No, I advise that when adding a pass, regardless of whether the code can fit in a single file or is large enough to need to use several separate files, it's consistent to put all the files that implement the pass in the main 'gcc' source directory.

Re: GCC 4.2.0 Status Report (2007-03-04)

2007-03-06 Thread Mark Mitchell
Manuel López-Ibáñez wrote: On 05/03/07, Mark Mitchell [EMAIL PROTECTED] wrote: After reviewing all of the traffic[1] that stemmed from my previous status report, I've decided that, indeed, it makes sense to steam ahead with GCC 4.2.0 based on current GCC 4.2.0 release branch. I ask special

Re: which opt. flags go where? - references

2007-03-06 Thread Grigori Fursin
Hi Kenneth, Just found your post in the gcc archive ;) - wanted to say that there have been many projects on the topic of optimal compiler flag selections. Actually, there are several free and commercial tools available for several years already: PathOpt from PathScale and ESTO from IBM, for

GCC Interactive Compilation Interface development

2007-03-06 Thread Grigori Fursin
Dear all, Just wanted to announce that we are working on the GCC Interactive Compilation Interface to enable automatic tuning of optimization heuristic. This interface is used in HiPEAC, MilePost, SARC and GCCC projects. A website with latest patches, software, forums, mailing lists,

Re: GCC 4.2.0 Status Report (2007-03-04)

2007-03-06 Thread Manuel López-Ibáñez
On 06/03/07, Mark Mitchell [EMAIL PROTECTED] wrote: Manuel López-Ibáñez wrote: On 05/03/07, Mark Mitchell [EMAIL PROTECTED] wrote: After reviewing all of the traffic[1] that stemmed from my previous status report, I've decided that, indeed, it makes sense to steam ahead with GCC 4.2.0 based

Re: build broken

2007-03-06 Thread Mike Stump
On Mar 6, 2007, at 11:14 AM, Matthias Klose wrote: Mike Stump schrieb: I have a feeling sed -i isn't our friend. fixed. I can confirm that this fixed my build. I'm expected the regression tester to follow shortly. Thanks.

Re: GCC 4.2.0 Status Report (2007-03-04)

2007-03-06 Thread Gabriel Dos Reis
Manuel López-Ibáñez [EMAIL PROTECTED] writes: | On 06/03/07, Mark Mitchell [EMAIL PROTECTED] wrote: | Manuel López-Ibáñez wrote: | On 05/03/07, Mark Mitchell [EMAIL PROTECTED] wrote: | After reviewing all of the traffic[1] that stemmed from my previous | status report, I've decided that,

[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

2007-03-06 Thread anlauf at gmx dot de
--- Comment #3 from anlauf at gmx dot de 2007-03-06 08:20 --- (In reply to comment #2) The value 5008 is listed in libgfortran.h as ERROR_ENDFILE. The -1 corresponds to ERROR_END. So, the return value of 5008 is telling you that you are trying to (initiate a?) read beyond the end

[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

2007-03-06 Thread anlauf at gmx dot de
--- Comment #4 from anlauf at gmx dot de 2007-03-06 08:42 --- (In reply to comment #3) All other compilers I have checked (xlf, ifort 7.x-9.x, g95) stay at the end of file. I stand corrected with regard to xlf. It returns a documented recoverable error condition. I have to find

[Bug target/17114] ColdFire ICE with illegal constraints

2007-03-06 Thread rsandifo at gcc dot gnu dot org
--- Comment #5 from rsandifo at gcc dot gnu dot org 2007-03-06 08:54 --- Subject: Bug 17114 Author: rsandifo Date: Tue Mar 6 08:54:31 2007 New Revision: 122604 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122604 Log: gcc/ PR target/23482 PR target/17114

[Bug target/23482] [ColdFire] ICE in in final_scan_insn

2007-03-06 Thread rsandifo at gcc dot gnu dot org
--- Comment #7 from rsandifo at gcc dot gnu dot org 2007-03-06 08:54 --- Subject: Bug 23482 Author: rsandifo Date: Tue Mar 6 08:54:31 2007 New Revision: 122604 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122604 Log: gcc/ PR target/23482 PR target/17114

[Bug target/23482] [ColdFire] ICE in in final_scan_insn

2007-03-06 Thread rsandifo at gcc dot gnu dot org
--- Comment #8 from rsandifo at gcc dot gnu dot org 2007-03-06 08:57 --- Fixed in trunk. This particular form of the patch is too invasive for 4.1 and 4.2. -- rsandifo at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/28181] [4.0/4.1/4.2/4.3 regression] ICE in reload_cse_simplify_operands, at postreload.c:393 on m68k

2007-03-06 Thread rsandifo at gcc dot gnu dot org
--- Comment #11 from rsandifo at gcc dot gnu dot org 2007-03-06 09:01 --- Subject: Bug 28181 Author: rsandifo Date: Tue Mar 6 09:01:07 2007 New Revision: 122609 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122609 Log: gcc/ PR target/28181 *

[Bug target/28181] [4.1/4.2 regression] ICE in reload_cse_simplify_operands, at postreload.c:393 on m68k

2007-03-06 Thread rsandifo at gcc dot gnu dot org
--- Comment #12 from rsandifo at gcc dot gnu dot org 2007-03-06 09:02 --- Now fixed in trunk. The patch may be too invasive to backport; I'm not sure. -- rsandifo at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/31037] [4.3 Regression] ICE: verify_ssa failed - definition in block 23 does not dominate use in block 32

2007-03-06 Thread vladimir dot sysoev at gmail dot com
--- Comment #6 from vladimir dot sysoev at gmail dot com 2007-03-06 09:17 --- This issue causes cpu2006/447.dealII ICE too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31037

[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

2007-03-06 Thread anlauf at gmx dot de
--- Comment #5 from anlauf at gmx dot de 2007-03-06 10:22 --- (In reply to comment #4) I have to find out why the code in question that lead to the problem report does not properly recover with gfortran. It might be an interference with BACKSPACE, as the full code that lead me to the

[Bug c++/31045] gcc4.1. has problems with pointers

2007-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-03-06 10:31 --- Fixed in 4.0.4/4.1.2. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31045] gcc4.1. has problems with pointers

2007-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-03-06 10:31 --- Err, FIXED! -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31047] GCC 4.1.1 has template bug

2007-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-03-06 10:42 --- No, this is a bug, 2nd stage name-lookup should find foo(const int) as var is dependent on the template parameter T (14.6/8, /9). But I bet we have a dup for this. -- rguenth at gcc dot gnu dot org changed:

[Bug c++/31049] G++ 4.1.1 forgets to allocate memory (skips part of user code)

2007-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-03-06 10:50 --- Stock 4.1.1 ICEs for me on the testcase, but 4.1.2 looks fine - can you provide the wrong assembly you are seeing? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31049

[Bug target/29498] FTZ/DAZ for SSE should be ported to mingw32

2007-03-06 Thread zuxy dot meng at gmail dot com
--- Comment #2 from zuxy dot meng at gmail dot com 2007-03-06 11:26 --- Created an attachment (id=13151) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13151action=view) Proposed patch against 4.1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29498

[Bug tree-optimization/18501] [4.1/4.2/4.3 Regression] Missing 'used unintialized' warning

2007-03-06 Thread manu at gcc dot gnu dot org
--- Comment #13 from manu at gcc dot gnu dot org 2007-03-06 11:41 --- (In reply to comment #4) This is not really fixable. Analysis: http://gcc.gnu.org/ml/gcc/2004-12/msg00681.html I am really ignorant on this CCP optimisaton but I am willing to learn. I guess that we merge

[Bug c++/16625] Discarded Linkonce sections in .rodata

2007-03-06 Thread michael dot klein at fazi dot de
--- Comment #42 from michael dot klein at fazi dot de 2007-03-06 12:07 --- Created an attachment (id=13152) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13152action=view) Testcase (generated assembly files from gcc 4.1.1) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625

[Bug middle-end/31055] New: missed auto-vectorization optimization, when there is float to int conversion

2007-03-06 Thread tehila at il dot ibm dot com
On powerpc, current auto-vectorizer does not vectorize loops that have conversion from float to int statement in it. For example, in case we have the following program: #include stdarg.h #define N 32 int main1 () { int i; int ib[N]; float fa[N] =

[Bug tree-optimization/31037] [4.3 Regression] ICE: verify_ssa failed - definition in block 23 does not dominate use in block 32

2007-03-06 Thread dnovillo at gcc dot gnu dot org
--- Comment #7 from dnovillo at gcc dot gnu dot org 2007-03-06 12:55 --- Might as well take this one too. -- dnovillo at gcc dot gnu dot org changed: What|Removed |Added

[Bug objc/31056] New: objc bogus warning when using const

2007-03-06 Thread icicle at cg dot tuwien dot ac dot at
preprocessed source at: http://www.cg.tuwien.ac.at/~icicle/gcc/ActionsForPolarisationImages.mi complete output: .m.o: ActionsForPolarisationImages Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.1.2/configure --enable-languages=c,objc

[Bug preprocessor/14331] please add option to suppress warning message no newline at end of file

2007-03-06 Thread JBoncek at Hunter dot Com
--- Comment #10 from JBoncek at Hunter dot Com 2007-03-06 14:44 --- This is just a nuisance at the end of a .c or .cpp file. It is, however, a serious error that should always be notified at the end of an included (header) file. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14331

[Bug tree-optimization/21596] [4.0/4.1/4.2/4.3 Regression] extra temporaries when using global register variables

2007-03-06 Thread amacleod at redhat dot com
--- Comment #9 from amacleod at redhat dot com 2007-03-06 15:01 --- actually, mainline isn't working either. A closer examination shows the code generated has an extra offset of -4 in the compare that shouldn't be there. This patch triggers a bug in rtl's fwprop pass. --

[Bug middle-end/24639] [meta-bug] bug to track all uninit variable issues

2007-03-06 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2007-03-06 15:09 --- Another one. -- manu at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug target/31055] missed auto-vectorization optimization, when there is float to int conversion

2007-03-06 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-03-06 15:16 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/31058] New: array overflow warning due to incorrect loop unrolling

2007-03-06 Thread mueller at gcc dot gnu dot org
building this testcase with -O2 -march=athlon -Wall -fprefetch-loop-arrays gives: warning: array subscript is above array bounds [...] which, according to VRP, seems to be valid. testcase is: === Cut === struct real_value { unsigned int cl:2; unsigned int decimal:1; unsigned long

[Bug middle-end/31058] array overflow warning due to incorrect loop unrolling

2007-03-06 Thread mueller at gcc dot gnu dot org
--- Comment #1 from mueller at gcc dot gnu dot org 2007-03-06 15:22 --- after prefetch-loop-arrays run, vrp2 looks like this: L81:; D.1885_87 = r_4(D)-sig[i_13]; D.1886_88 = D.1885_87 + 160B; __builtin_prefetch (D.1886_88, 1); r_4(D)-sig[i_13] = 0; i_8 = i_13 + 1; i_26 =

[Bug c++/16625] Discarded Linkonce sections in .rodata

2007-03-06 Thread hjl at lucon dot org
--- Comment #43 from hjl at lucon dot org 2007-03-06 15:27 --- (In reply to comment #42) Created an attachment (id=13152) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13152action=view) [edit] Testcase (generated assembly files from gcc 4.1.1) I got bash-3.1$ readelf -S -N

[Bug middle-end/31058] array overflow warning due to incorrect loop unrolling

2007-03-06 Thread rakdver at gcc dot gnu dot org
--- Comment #2 from rakdver at gcc dot gnu dot org 2007-03-06 15:31 --- (In reply to comment #1) and so on. since it definitely writes more than 5 ints, I don't see how it should *not* overflow the array. since the body of the loop is never entered. --

[Bug bootstrap/31020] cannot write in /test/gnu/gcc/objdir/prev-gcc/../gcc/./include

2007-03-06 Thread jsm28 at gcc dot gnu dot org
--- Comment #4 from jsm28 at gcc dot gnu dot org 2007-03-06 15:50 --- Subject: Bug 31020 Author: jsm28 Date: Tue Mar 6 15:50:28 2007 New Revision: 122620 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122620 Log: fixincludes: * mkheaders.in: Fix headers for each multilib

[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

2007-03-06 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #6 from sgk at troutmask dot apl dot washington dot edu 2007-03-06 15:53 --- Subject: Re: Bad IOSTAT values when readings NAMELISTs past EOF On Tue, Mar 06, 2007 at 08:20:23AM -, anlauf at gmx dot de wrote: --- Comment #3 from anlauf at gmx dot de 2007-03-06

[Bug middle-end/30744] [4.2/4.3 Regression] ICE in compare_values, at tree-vrp.c:466

2007-03-06 Thread sayle at gcc dot gnu dot org
--- Comment #3 from sayle at gcc dot gnu dot org 2007-03-06 16:30 --- Subject: Bug 30744 Author: sayle Date: Tue Mar 6 16:30:12 2007 New Revision: 122622 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122622 Log: PR middle-end/30744 * fold-const.c (fold_binary)

[Bug middle-end/30744] [4.2/4.3 Regression] ICE in compare_values, at tree-vrp.c:466

2007-03-06 Thread roger at eyesopen dot com
--- Comment #4 from roger at eyesopen dot com 2007-03-06 16:32 --- This should now be fixed on both mainline and the 4.2 release branch. -- roger at eyesopen dot com changed: What|Removed |Added

[Bug c++/16625] Discarded Linkonce sections in .rodata

2007-03-06 Thread michael dot klein at fazi dot de
--- Comment #44 from michael dot klein at fazi dot de 2007-03-06 16:33 --- (In reply to comment #43) It means your gcc 4.1.1 was built with a very old binutils and it doesn't support COMDAT group Yes, this gcc was build with binutils 2.15 from Debian Sarge. Thanks --

[Bug c++/31047] GCC 4.1.1 has template bug

2007-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-03-06 17:10 --- (In reply to comment #3) No, this is a bug, 2nd stage name-lookup should find foo(const int) as var is dependent on the template parameter T (14.6/8, /9). But I bet we have a dup for this. 14.6.4.2/1 says this

[Bug fortran/31059] New: Detect nonconforming assignment of allocatable arrays

2007-03-06 Thread vivekrao4 at yahoo dot com
Gfortran does not report an error if an allocatable array is set to an array of larger size, for example in the code below. program xalloc_words ! shows error with nonconformant assignment of an allocatable array ! not caught by most compilers character (len=1), allocatable :: w(:) integer,

[Bug ada/31060] New: Error compiling expression with unary minus

2007-03-06 Thread oliver dot kellogg at eads dot com
-- file: error_compiling_unary_minus.adb procedure Error_Compiling_Unary_Minus (X : Float) is No_Problem : Float := -1.0 * X; ERROR : Float := X * -1.0; -- this is line 3 begin null; end Error_Compiling_Unary_Minus; -- end of file $ gcc -v -c error_compiling_unary_minus.adb Using

[Bug libstdc++/28080] header dependencies

2007-03-06 Thread paolo at gcc dot gnu dot org
--- Comment #22 from paolo at gcc dot gnu dot org 2007-03-06 17:43 --- Subject: Bug 28080 Author: paolo Date: Tue Mar 6 17:43:27 2007 New Revision: 122628 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122628 Log: 2007-03-06 Paolo Carlini [EMAIL PROTECTED] PR

[Bug ada/31060] Error compiling expression with unary minus

2007-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-06 17:52 --- And this is actually invalid Ada, see PR 19539. *** This bug has been marked as a duplicate of 19539 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/19539] missing operand: B * -A

2007-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-03-06 17:52 --- *** Bug 31060 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/30848] [4.1/4.2/4.3 regression] ICE with invalid constraint in asm statement

2007-03-06 Thread rth at gcc dot gnu dot org
-- rth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org

[Bug libstdc++/31061] New: error with '-D_GLIBCXX_DEBUG'

2007-03-06 Thread ulf at linuxmail dot org
Compiled this program: http://www.justsoftwaresolutions.co.uk/cplusplus/vector_bowling.html without -D_GLIBCXX_DEBUG the program works ok, but with -D_GLIBCXX_DEBUG I get /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/debug/vector:199: error: attempt to subscript container

[Bug libstdc++/31061] error with '-D_GLIBCXX_DEBUG'

2007-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-06 18:14 --- I actually think this is a bug in the user code. the error message is correct in that the code is acessing one past the end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31061

[Bug fortran/31053] print file name when file cannot be opened for writing

2007-03-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2007-03-06 19:32 --- Yes, this would be useful. Confirmed. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/31020] [4.3 Regression] cannot write in /test/gnu/gcc/objdir/prev-gcc/../gcc/./include

2007-03-06 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|cannot write in |[4.3 Regression] cannot

[Bug libstdc++/31061] error with '-D_GLIBCXX_DEBUG'

2007-03-06 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-03-06 20:17 --- Yes, there isn't much to add, the whole point of debug-mode is catching this kind of bug: in is_strike the vector rolls is subscripted at index 20. -- pcarlini at suse dot de changed: What|Removed

[Bug libstdc++/31061] error with '-D_GLIBCXX_DEBUG'

2007-03-06 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-03-06 20:37 --- Sorry, I misread the backtrace: the problem happens in accumulate, called by frame_score(), called by score(). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31061

[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

2007-03-06 Thread anlauf at gmx dot de
--- Comment #7 from anlauf at gmx dot de 2007-03-06 21:51 --- Created an attachment (id=13153) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13153action=view) Revised demo Revised demo. New namelist for this demo follows. At some place, the input read gets garbled with gfortran,

[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

2007-03-06 Thread anlauf at gmx dot de
--- Comment #8 from anlauf at gmx dot de 2007-03-06 21:52 --- Created an attachment (id=13154) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13154action=view) Namelist -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31052

[Bug fortran/30950] intrinsic: CPU_TIME

2007-03-06 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-03-06 21:57 --- Subject: Bug 30950 Author: dfranke Date: Tue Mar 6 21:57:02 2007 New Revision: 122640 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122640 Log: 2007-03-06 Daniel Franke [EMAIL PROTECTED] PR

[Bug fortran/30950] intrinsic: CPU_TIME

2007-03-06 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2007-03-06 21:57 --- Subject: Bug 30950 Author: dfranke Date: Tue Mar 6 21:57:09 2007 New Revision: 122641 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122641 Log: 2007-03-06 Daniel Franke [EMAIL PROTECTED] PR

[Bug fortran/30950] intrinsic: CPU_TIME

2007-03-06 Thread dfranke at gcc dot gnu dot org
--- Comment #5 from dfranke at gcc dot gnu dot org 2007-03-06 21:58 --- Fixed in 4.2 and trunk. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/31052] Bad IOSTAT values when readings NAMELISTs past EOF

2007-03-06 Thread anlauf at gmx dot de
--- Comment #9 from anlauf at gmx dot de 2007-03-06 22:00 --- (In reply to comment #8) In the new example, when I comment out the BACKSPACE in position_nml for ios0 (EOF condition), the garbled output goes away. But in the large program (where this was extracted) this does not help;

[Bug c++/31063] New: Spurrious/missing warn_unused_result warnings affected by presence/absense of copy constructor

2007-03-06 Thread fletcherdunn at yahoo dot com
// Illustrates some bugs related to __attribute__((warn_unused_result)). struct Vector { float x, y, z; inline Vector() {} inline Vector(float _x,float _y,float _z) : x(_x), y(_y), z(_z) {} // BUG: Toggling the presence of a copy constructor (doesn't matter which

[Bug c++/31063] Spurrious/missing warn_unused_result warnings affected by presence/absense of copy constructor

2007-03-06 Thread fletcherdunn at yahoo dot com
--- Comment #1 from fletcherdunn at yahoo dot com 2007-03-06 22:26 --- Created an attachment (id=13155) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13155action=view) Repro code with the proper line breaks Line breaks got messed up when pasting into bug description. --

[Bug c++/31063] Spurrious/missing warn_unused_result warnings affected by presence/absense of copy constructor

2007-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-06 22:40 --- // If you comment out the copy constructor, the warnings do not appear. // Note that I produced this with the Playstation (CELL) version of GCC under // MinGW/MSys, but I don't think this is a platform specific

[Bug c++/30797] Failure to build Cinelerra 2.1

2007-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-03-07 00:05 --- Closing as fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug objc/31013] [4.3 Regression] objc PCH is broken on powerpc-darwin again

2007-03-06 Thread geoffk at gcc dot gnu dot org
--- Comment #2 from geoffk at gcc dot gnu dot org 2007-03-07 00:16 --- The change to gccspec.c was made by Franz Sirl on 2001-06-16, revision 43421. The mail on gcc-patches is at http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01394.html. There's further discussion at

[Bug objc/31013] [4.3 Regression] objc PCH is broken on powerpc-darwin again

2007-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-03-07 00:26 --- I should mention that with the GNU runtime, we want the shared libgcc for exceptions so any patch that breaks the GNU runtime linking with the shared libgcc should be rejected. --

[Bug tree-optimization/30735] [4.3 Regression] 50% slow down due to mem-ssa merge

2007-03-06 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|50% slow down due to mem-ssa|[4.3 Regression] 50% slow |merge

[Bug preprocessor/28709] [4.0/4.1 regression] Bad diagnostic pasting tokens with ##

2007-03-06 Thread ahs3 at fc dot hp dot com
--- Comment #7 from ahs3 at fc dot hp dot com 2007-03-07 00:49 --- Is this code snippet related to this bug, or a new one entirely? #define LABEL(a, b) a##b##: int main () { LABEL(all,done) return 0; }

  1   2   >