[Bug libstdc++/16612] empty basic_strings can't live in shared memory

2006-12-13 Thread choe dot hwanjin at gmail dot com
--- Comment #32 from choe dot hwanjin at gmail dot com 2006-12-14 07:30 --- (From update of attachment 12801) Something similar happens when I use GCC option -fvisibility=hidden. I made a DSO which uses basic_string<>. And the main function created a basic_string instance with default

[Bug libstdc++/16612] empty basic_strings can't live in shared memory

2006-12-13 Thread choe dot hwanjin at gmail dot com
--- Comment #31 from choe dot hwanjin at gmail dot com 2006-12-14 07:29 --- Created an attachment (id=12801) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12801&action=view) basic_string test code with visibility option Something similar happens when I use GCC option -fvisibility

[Bug tree-optimization/22372] Vectorizer produces mis-match types

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-12-14 07:05 --- (In reply to comment #5) > one of the vectorizer testcases (vect-reduc-dot-u8b.c) still fails with > modify.diff.txt on MODIFY_EXPR where the right hand side is a call to a > builtin function (rs6000_builtin_mul_wid

[Bug rtl-optimization/30024] segfault with gcc.c-torture/compile/20000804-1.c on spu-elf

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-12-14 06:53 --- The spu-elf part of this bug is not a regression, the reason why we have CDI here is because spu-elf supports subregs of TI mode for CDI so we get that mode. Note the dataflow branch gets rid of this bug. -- pin

[Bug target/24598] Need to support odcctools and its ablity to use --prefix and libtool

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-12-14 06:51 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libgomp/29949] implement argument checking for user accessable runtime routines

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-12-14 06:50 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug tree-optimization/30087] [4.3 Regression] regressions in the gfortran testsuite with -ftree-vectorize

2006-12-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|regressions in the gfortran |[4.3 Regression] regressions |testsuite with -ftree

[Bug libfortran/30200] write(*,myfmt="(1X,a,'xyz')") "A" prints Az' instead of Axyz

2006-12-13 Thread jv244 at cam dot ac dot uk
--- Comment #7 from jv244 at cam dot ac dot uk 2006-12-14 06:41 --- (In reply to comment #6) > More information. I get Tobias bad result with -m64 on x86-64-Linux. The > problem goes away with -m32. > > $ gfortran -m32 pr30200-2.f90 > $ ./a.out > Axyz > $ gfortran -m64 pr30200-2.f90

[Bug c++/19756] -Wparentheses doesn't warn on ambiguous if in C++

2006-12-13 Thread ian at airs dot com
--- Comment #10 from ian at airs dot com 2006-12-14 06:04 --- Will be fixed in gcc 4.3. -- ian at airs dot com changed: What|Removed |Added CC|

[Bug c++/19564] -Wparentheses does not work with the C++ front-end

2006-12-13 Thread ian at airs dot com
--- Comment #9 from ian at airs dot com 2006-12-14 06:03 --- Will be fixed in gcc 4.3. -- ian at airs dot com changed: What|Removed |Added Status|NEW

[Bug c++/19564] -Wparentheses does not work with the C++ front-end

2006-12-13 Thread ian at gcc dot gnu dot org
--- Comment #8 from ian at gcc dot gnu dot org 2006-12-14 05:49 --- Subject: Bug 19564 Author: ian Date: Thu Dec 14 05:49:06 2006 New Revision: 119855 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119855 Log: PR c++/19564 PR c++/19756 gcc/: * c-typeck.c

[Bug c++/19756] -Wparentheses doesn't warn on ambiguous if in C++

2006-12-13 Thread ian at gcc dot gnu dot org
--- Comment #9 from ian at gcc dot gnu dot org 2006-12-14 05:49 --- Subject: Bug 19756 Author: ian Date: Thu Dec 14 05:49:06 2006 New Revision: 119855 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119855 Log: PR c++/19564 PR c++/19756 gcc/: * c-typeck.c

[Bug c++/30209] New: C++ front-end rejects valid compound literal (with complex types)

2006-12-13 Thread pinskia at gcc dot gnu dot org
Testcase: _Complex float f(float x, float y) { _Complex float a = (_Complex float){x}; return a; } -- Summary: C++ front-end rejects valid compound literal (with complex types) Product: gcc Version: 4.3.0 Status: UNCONFIRMED

[Bug middle-end/30164] Gimplifier does not produce valid gimple for global_vectora = CONSTRUCTOR

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-14 05:19 --- Actually there are three seperate issues: 1) for my recent vector patch, it was a c-gimplifier issue with respect of not setting GIMPLE_REG_P on the decls for the compount literals, this helps with complex typed vari

[Bug fortran/30207] [4.2/4.3 Regression] ICE in gfc_dep_resolver with where (a < 0) a(:) = 1

2006-12-13 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2006-12-14 05:03 --- I have a patch/hack to fix this. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/21920] alias violating

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #109 from pinskia at gcc dot gnu dot org 2006-12-14 04:53 --- *** Bug 30208 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/30208] program was compiled wrong when use GCC O2 or O3 option

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-14 04:53 --- You are violating C aliasing rules. C aliasing rules say you can only access a variable (or an array) by the orginal type (signed or unsigned version) or a character type (or qualified types of those). You have an a

[Bug c/30208] New: program was compiled wrong when use GCC O2 or O3 option

2006-12-13 Thread lucifer_ww at yahoo dot com
On such platforms: gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) gcc version 3.3.3 (SuSE Linux) Source Code: void func(unsigned char *buf) { unsigned short *p, a, b, c, d; unsigned int *q, m, n; unsigned int i1 = 0x; unsigned int i2 = 0x; unsign

[Bug middle-end/30172] Operations with partly constant complex values not folded

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-12-14 03:59 --- (In reply to comment #2) > but only if we don't honor NaNs or signed zeros. Some of these optimizations can be done even without worrying about NaNs because of -fcx-limited-range . -- http://gcc.gnu.org/bugzill

[Bug debug/30189] [4.1 Regression] ICE on modified_type_die

2006-12-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--- |4.1

[Bug fortran/30207] [4.2/4.3 Regression] ICE in gfc_dep_resolver with where (a < 0) a(:) = 1

2006-12-13 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2006-12-14 03:28 --- (In reply to comment #1) > Confirmed, reduced testcase: > IMPLICIT NONE > REAL, DIMENSION(2) :: ZXLON > WHERE(ZXLON < 0.0) > ZXLON(:) = 1 > END WHERE > END PROGRAM > A work

[Bug fortran/30207] [4.2/4.3 Regression] ICE in gfc_dep_resolver with where (a < 0) a(:) = 1

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-14 03:10 --- Confirmed, reduced testcase: IMPLICIT NONE REAL, DIMENSION(2) :: ZXLON WHERE(ZXLON < 0.0) ZXLON(:) = 1 END WHERE END PROGRAM -- pinskia at gcc dot gnu dot org changed:

[Bug fortran/30207] [4.2/4.3 Regression] ICE in gfc_dep_resolver

2006-12-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ICE in gfc_dep_resolver |[4.

[Bug fortran/30207] New: ICE in gfc_dep_resolver

2006-12-13 Thread deji_aking at yahoo dot ca
A trimmed down version of the code which produce the ice is below; The full code once compile with version 4.1.0, I believe >> ! SUBROUTINE POSL(LAT,LON,JUL,HEURE,MIN,PAZ) IMPLICIT NONE ! REAL,SAVE :: XPI! Pi REAL, DIMENSION(:), INTENT(IN):: LAT, LON, JUL, HEURE

[Bug c++/30205] RFE: g++ --unmangle

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-14 02:54 --- You should use -Wl,--demangle really. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30205

[Bug tree-optimization/30089] Compiling FreeFem3d uses unreasonable amount of time and memory

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #12 from dnovillo at gcc dot gnu dot org 2006-12-14 02:50 --- (In reply to comment #11) > I'll give the bitmaps a try for the operand scanner and see how it works. > OK. Hopefully that won't introduce a huge slowdown in the operand scanner. Assigning back to you. --

[Bug libstdc++/30204] std::vector operator[] 10x speedup (patch)

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-14 02:49 --- Can you test with -O1 or above? As mentioned in comment #1, this should remove all advatages gained from the "inlined" version. > Also, that isn't really a fair timing comparison, as you've removed the > function ca

[Bug libstdc++/30203] std::vector::size() 10x speedup (patch)

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-14 02:47 --- Can you test with -O1 or above? As mentioned in comment #1, this should remove all advatages gained from the "inlined" version. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug libfortran/30200] write(*,myfmt="(1X,a,'xyz')") "A" prints Az' instead of Axyz

2006-12-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2006-12-14 02:29 --- More information. I get Tobias bad result with -m64 on x86-64-Linux. The problem goes away with -m32. $ gfortran -m32 pr30200-2.f90 $ ./a.out Axyz $ gfortran -m64 pr30200-2.f90 $ ./a.out Az' I get a simila

[Bug fortran/25392] ICEs with -ff2c

2006-12-13 Thread tobi at gcc dot gnu dot org
--- Comment #7 from tobi at gcc dot gnu dot org 2006-12-14 01:18 --- I have a patch, but it adds another ugly layer of code, I'll try to clean this mess up and then submit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25392

[Bug tree-optimization/30089] Compiling FreeFem3d uses unreasonable amount of time and memory

2006-12-13 Thread dberlin at dberlin dot org
--- Comment #11 from dberlin at gcc dot gnu dot org 2006-12-14 01:11 --- Subject: Re: Compiling FreeFem3d uses unreasonable amount of time and memory On 13 Dec 2006 23:50:17 -, dnovillo at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote: > > > --- Comment #9 from dnovillo at gcc

[Bug libfortran/30200] write(*,myfmt="(1X,a,'xyz')") "A" prints Az' instead of Axyz

2006-12-13 Thread jvdelisle at verizon dot net
--- Comment #5 from jvdelisle at verizon dot net 2006-12-14 00:26 --- Subject: Re: write(*,myfmt="(1X,a,'xyz')") "A" prints Az' instead of Axyz I wonder if this is not a case of the io.h dependency bug hitting yet again. I would fix it if I knew how. -- http://gcc.gnu.org/bugz

[Bug libfortran/30193] Namelist issues when reading in asterisk preceeded arrays

2006-12-13 Thread jvdelisle at verizon dot net
--- Comment #7 from jvdelisle at verizon dot net 2006-12-14 00:12 --- Subject: Re: Namelist issues when reading in asterisk preceeded arrays Thanks for checking the latest 4.1, I just updated my 4.1 branch last night and I had not had a chance to check it. Also, the namelist I/O pre

[Bug tree-optimization/30089] Compiling FreeFem3d uses unreasonable amount of time and memory

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #10 from dnovillo at gcc dot gnu dot org 2006-12-13 23:54 --- (In reply to comment #9) > The memory problem is quite simple: We just have a *lot* of pointers and a > *lot* of addressable symbols. Here is a breakdown of what happens on the > first > call to compute_may_alia

[Bug tree-optimization/30089] Compiling FreeFem3d uses unreasonable amount of time and memory

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #9 from dnovillo at gcc dot gnu dot org 2006-12-13 23:50 --- The memory problem is quite simple: We just have a *lot* of pointers and a *lot* of addressable symbols. Here is a breakdown of what happens on the first call to compute_may_aliases: During the first call to com

[Bug fortran/30206] Fatal Error: Reading module: Bad name

2006-12-13 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2006-12-13 23:22 --- You code compiles fine with newer versions of gfortran troutmask:sgk[224] gfc --version GNU Fortran 95 (GCC) 4.2.0 20060927 (experimental) troutmask:sgk[225] gfc4x --version GNU Fortran 95 (GCC) 4.3.0 20061211 (exper

[Bug tree-optimization/30194] [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #10 from dnovillo at gcc dot gnu dot org 2006-12-13 22:37 --- (In reply to comment #9) > (In reply to comment #8) > > There must be. mem-ssa is @119760. If you can reproduce with @119760, then > > let me know and I'll take a look. > > I can reproduce it at @119761 which i

[Bug fortran/30206] Fatal Error: Reading module: Bad name

2006-12-13 Thread dmcr at Princeton dot EDU
--- Comment #3 from dmcr at Princeton dot EDU 2006-12-13 22:26 --- Created an attachment (id=12800) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12800&action=view) Source file that contains "USE CONSTANTS" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30206

[Bug fortran/30206] Fatal Error: Reading module: Bad name

2006-12-13 Thread dmcr at Princeton dot EDU
--- Comment #2 from dmcr at Princeton dot EDU 2006-12-13 22:25 --- Created an attachment (id=12799) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12799&action=view) Module file created by gfortran from Constants.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30206

[Bug fortran/30206] Fatal Error: Reading module: Bad name

2006-12-13 Thread dmcr at Princeton dot EDU
--- Comment #1 from dmcr at Princeton dot EDU 2006-12-13 22:24 --- Created an attachment (id=12798) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12798&action=view) The source file whose module file appears to be corrupt -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30206

[Bug fortran/30206] New: Fatal Error: Reading module: Bad name

2006-12-13 Thread dmcr at Princeton dot EDU
This problem occurs after creating a module file with one compilation, and then trying to use that module file in a second compilation, as shown below: # gfortran -I/usr/local/openmpi-1.1.2-gcc/include -c -Wall -Jmod -I. -Imod -g Source/Constants.f90 -o obj/Constants.o # gfortran -I/usr/local/ope

[Bug c++/30205] New: RFE: g++ --unmangle

2006-12-13 Thread Dave at Yost dot com
g++ and gcj should take an --unmangle option (or some such). The effect would be to tell ld to deliver its undefined symbols error messages with names that have been unmangled by the algorithm appropriate to the language used. Actually, I think this should be the default, and you should have to d

[Bug target/30192] [arm] Wrong sp value on exit after calling __floatdidf or __floatundidf

2006-12-13 Thread John dot Tytgat at aaug dot net
--- Comment #4 from John dot Tytgat at aaug dot net 2006-12-13 22:03 --- Just to avoid confusion, in comment #3 I was talking about patch with id 12793, not mine. I've tested it and works equally well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30192

[Bug target/30192] [arm] Wrong sp value on exit after calling __floatdidf or __floatundidf

2006-12-13 Thread John dot Tytgat at aaug dot net
--- Comment #3 from John dot Tytgat at aaug dot net 2006-12-13 22:01 --- Proposed patch works fine. Interworking safeness isn't important for my target so that's why didn't consider your approach. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30192

[Bug libfortran/29568] implement unformatted files with subrecords (Intel style)

2006-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #36 from tkoenig at gcc dot gnu dot org 2006-12-13 21:37 --- Fixed for trunk and 4.2. Will not backport to 4.1. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/30202] ICE in trans-array.c

2006-12-13 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2006-12-13 21:32 --- ICE is gone, if one removes intent(out). ICE is at gfc_conv_descriptor_data_addr: gcc_assert (GFC_DESCRIPTOR_TYPE_P (type)); program class_scal_p implicit none type scal_p real, allocatable :: b(:) end ty

[Bug libfortran/30200] write(*,myfmt="(1X,a,'xyz')") "A" prints Az' instead of Axyz

2006-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2006-12-13 21:12 --- (In reply to comment #3) > CC: some more libgfortran/io experienced persons. > > There seems to go something wrong when one uses > format = "(1X,a,'xyz')" > write(*,fmt=trim(format)) "A" > The result is: > Az'

[Bug tree-optimization/30087] regressions in the gfortran testsuite with -ftree-vectorize

2006-12-13 Thread tobi at gcc dot gnu dot org
--- Comment #3 from tobi at gcc dot gnu dot org 2006-12-13 20:46 --- Fixed by Ira in r119730, thanks. -- tobi at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/30201] gcc doesn't unroll nested loops

2006-12-13 Thread jacob at math dot jussieu dot fr
--- Comment #6 from jacob at math dot jussieu dot fr 2006-12-13 20:24 --- (In reply to comment #4) > most likely not in 4.2. I think something could be done in 4.3 timeframe. ah, ok. Thanks for the information. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30201

[Bug middle-end/30201] gcc doesn't unroll nested loops

2006-12-13 Thread jacob at math dot jussieu dot fr
--- Comment #5 from jacob at math dot jussieu dot fr 2006-12-13 20:22 --- Nope... with -O3 -ffast-math I get 1.9 seconds in average (this is a laptop with CPU frequency scaling, so it's difficult to get precise numbers). Adding -funroll-loops in addition to -ffast-math doesn't seem to m

[Bug middle-end/30201] gcc doesn't unroll nested loops

2006-12-13 Thread rakdver at atrey dot karlin dot mff dot cuni dot cz
--- Comment #4 from rakdver at atrey dot karlin dot mff dot cuni dot cz 2006-12-13 20:22 --- Subject: Re: gcc doesn't unroll nested loops > Not understanding much in compiler stuff, I tried what you said, namely > replace > the loop with > > for( int i = 0; i < 3; i++ ) >

[Bug libfortran/30200] write(*,myfmt="(1X,a,'xyz')") "A" prints Az' instead of Axyz

2006-12-13 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2006-12-13 20:11 --- CC: some more libgfortran/io experienced persons. There seems to go something wrong when one uses format = "(1X,a,'xyz')" write(*,fmt=trim(format)) "A" The result is: Az' Expected: Axyz The values in write_co

[Bug fortran/30200] valgrind errors for write statement

2006-12-13 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2006-12-13 19:47 --- Simplified version (might not cover all problems): character(len=20) myfmt myfmt="(1X,a,'x')" WRITE(*,fmt=trim(myfmt)) "y" END If one looks now at the dump: _gfortran_string_trim (&len.2, (void * *) &

[Bug testsuite/30119] libjava testsuite output is erratic and unhelpful

2006-12-13 Thread amylaar at gcc dot gnu dot org
--- Comment #8 from amylaar at gcc dot gnu dot org 2006-12-13 19:47 --- (In reply to comment #7) Sorry, I misunderstood you. Now the test works - most of the time: [EMAIL PROTECTED]:~/bld/2006-11-27-29858/i686/i686-pc-linux-gnu/libjava/testsuite$ /home/amylaar/bld/2006-11-27-29858/i6

[Bug middle-end/30191] [4.3 Regression] GCC error: in eliminate_regs_in_insn, at reload1.c:3126

2006-12-13 Thread bergner at gcc dot gnu dot org
--- Comment #8 from bergner at gcc dot gnu dot org 2006-12-13 19:34 --- The offending patch has been reverted. -- bergner at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/30191] [4.3 Regression] GCC error: in eliminate_regs_in_insn, at reload1.c:3126

2006-12-13 Thread bergner at gcc dot gnu dot org
-- bergner at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bergner at gcc dot gnu dot |dot org

[Bug fortran/30200] valgrind errors for write statement

2006-12-13 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2006-12-13 19:28 --- This problem seems to be at the root of most CP2K regtest failures described in PR29975 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30200

[Bug middle-end/30191] [4.3 Regression] GCC error: in eliminate_regs_in_insn, at reload1.c:3126

2006-12-13 Thread bergner at vnet dot ibm dot com
--- Comment #7 from bergner at vnet dot ibm dot com 2006-12-13 19:25 --- Ok, the reload fix has been reverted until we can find another way to fix this. Sorry for all of the trouble. Author: bergner Date: Wed Dec 13 19:19:03 2006 New Revision: 119844 URL: http://gcc.gnu.org/viewcvs?r

[Bug middle-end/30191] [4.3 Regression] GCC error: in eliminate_regs_in_insn, at reload1.c:3126

2006-12-13 Thread bergner at gcc dot gnu dot org
--- Comment #6 from bergner at gcc dot gnu dot org 2006-12-13 19:19 --- Subject: Bug 30191 Author: bergner Date: Wed Dec 13 19:19:03 2006 New Revision: 119844 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119844 Log: PR middle-end/30191 Revert: * reload1

[Bug testsuite/30157] cxa_atexit check doesn't work

2006-12-13 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2006-12-13 18:58 --- Fixed. -- danglin at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug middle-end/30201] gcc doesn't unroll nested loops

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-12-13 18:56 --- (In reply to comment #2) > than the original 1.9 seconds, but still far from the 0.3 seconds I get > manually unrolling the loop. Try with -ffast-math, you should get the same speed. Again the problem is with signe

[Bug middle-end/30201] gcc doesn't unroll nested loops

2006-12-13 Thread jacob at math dot jussieu dot fr
--- Comment #2 from jacob at math dot jussieu dot fr 2006-12-13 18:54 --- Not understanding much in compiler stuff, I tried what you said, namely replace the loop with for( int i = 0; i < 3; i++ ) for( int j = 0; j < 3; j++ ) { bool a = (i == j);

[Bug testsuite/30157] cxa_atexit check doesn't work

2006-12-13 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2006-12-13 18:49 --- Subject: Bug 30157 Author: danglin Date: Wed Dec 13 18:49:16 2006 New Revision: 119843 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119843 Log: PR testsuite/30157 * lib/target-supports.exp

[Bug testsuite/30157] cxa_atexit check doesn't work

2006-12-13 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2006-12-13 18:47 --- Subject: Bug 30157 Author: danglin Date: Wed Dec 13 18:47:04 2006 New Revision: 119842 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119842 Log: PR testsuite/30157 * lib/target-supports.exp

[Bug testsuite/30181] FAIL: gcc.dg/builtins-57.c scan-tree-dump trunc

2006-12-13 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2006-12-13 18:11 --- Subject: Re: FAIL: gcc.dg/builtins-57.c scan-tree-dump trunc > This is a testsuite failure as this testcase will fail on targets which don't > have C99 math functions. Target has trunc but not lfloor. Da

[Bug libstdc++/30204] std::vector operator[] 10x speedup (patch)

2006-12-13 Thread chris at bubblescope dot net
--- Comment #1 from chris at bubblescope dot net 2006-12-13 18:08 --- -O1 is enough to remove all advantages of this patch. Also, that isn't really a fair timing comparison, as you've removed the function call altogether (I still expect it to be faster, but possibly not by 10x) -- c

[Bug libstdc++/30203] std::vector::size() 10x speedup (patch)

2006-12-13 Thread chris at bubblescope dot net
--- Comment #1 from chris at bubblescope dot net 2006-12-13 18:07 --- -O1 is enough to remove all advantages of this patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30203

[Bug libstdc++/30204] New: std::vector operator[] 10x speedup (patch)

2006-12-13 Thread charles at rebelbase dot com
vector::operator[](size_type) in bits/stl_vector.h is currently implemented as reference operator[](size_type __n) { return *(begin() + __n); } const_reference operator[](size_type __n) const { return *(begin() + __n); } A faster implementation would be:

[Bug tree-optimization/30194] [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-12-13 17:59 --- (In reply to comment #8) > There must be. mem-ssa is @119760. If you can reproduce with @119760, then > let me know and I'll take a look. I can reproduce it at @119761 which is the same revision for the trunk as 1

[Bug tree-optimization/30194] [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #8 from dnovillo at gcc dot gnu dot org 2006-12-13 17:49 --- (In reply to comment #2) > Looks like the mem-ssa patches cause this. > There are no other patches in that time frame. > There must be. mem-ssa is @119760. If you can reproduce with @119760, then let me know and

[Bug tree-optimization/30194] [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #7 from dnovillo at gcc dot gnu dot org 2006-12-13 17:41 --- (In reply to comment #6) > (In reply to comment #5) > > You completely misunderstood. It works for me on my *mainline* tree that > > has > > the mem-ssa patch applied. > Then why does it fail for FX right after y

[Bug libstdc++/30203] New: std::vector::size() 10x speedup (patch)

2006-12-13 Thread charles at rebelbase dot com
vector::size() in bits/stl_vector.h is currently implemented as size_type size() const { return size_type(end() - begin()); } A faster implementation is size_type size() const { return _M_impl._M_finish - _M_impl._M_start; } Which avoids the temporary iterato

[Bug tree-optimization/30089] Compiling FreeFem3d uses unreasonable amount of time and memory

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #8 from dnovillo at gcc dot gnu dot org 2006-12-13 17:32 --- http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00959.html fixes the ICE in the operand scanner. The alias times should be back to saner values, but the memory consumption problem is still there. Still looking into

[Bug middle-end/30197] cexp ( __complex__ ( 0, x ) ) can be folded to cexpi (x)

2006-12-13 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |ASSIGNED Last reconfirmed|2006-12-13 17:18:56 |2006-12-13 1

[Bug middle-end/30197] cexp ( __complex__ ( 0, x ) ) can be folded to cexpi (x)

2006-12-13 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

[Bug fortran/30202] ICE in trans-array.c

2006-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-12-13 17:07 --- Confirmed. Fails on trunk as well. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30194] [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-12-13 16:59 --- (In reply to comment #5) > You completely misunderstood. It works for me on my *mainline* tree that has > the mem-ssa patch applied. Then why does it fail for FX right after your patch? -- http://gcc.gnu.org/bu

[Bug tree-optimization/30194] [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #5 from dnovillo at gcc dot gnu dot org 2006-12-13 16:50 --- (In reply to comment #4) > Subject: Re: [4.3 Regression] > gcc.dg/pr19633-1.c fails on the mainline > > On Wed, 2006-12-13 at 14:12 +, dnovillo at gcc dot gnu dot org > wrote: > > Works for me with @1

[Bug fortran/30202] ICE in trans-array.c

2006-12-13 Thread sfilippone at uniroma2 dot it
--- Comment #1 from sfilippone at uniroma2 dot it 2006-12-13 16:39 --- Created an attachment (id=12797) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12797&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30202

[Bug fortran/30202] New: ICE in trans-array.c

2006-12-13 Thread sfilippone at uniroma2 dot it
The attached sample code (as usual, much reduced but possibly not yet minimal) produces the subject error. [EMAIL PROTECTED] BUGS]$ gfortran -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.2-20061212/configure --prefix=/usr/local/gcc42 --with-mpfr=/home/sfilippo/COMPIL

[Bug tree-optimization/30194] [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline

2006-12-13 Thread pinskia at gmail dot com
--- Comment #4 from pinskia at gmail dot com 2006-12-13 16:37 --- Subject: Re: [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline On Wed, 2006-12-13 at 14:12 +, dnovillo at gcc dot gnu dot org wrote: > Works for me with @119760 (mem-ssa) on all arches (x86, x86_64, i

[Bug middle-end/30201] gcc doesn't unroll nested loops

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-13 16:33 --- Actually there are two issues with this bug, one issue is that we change (float)(CMP) into CMP?1.0:0.0 early on which in the end causes us to produce three different versions of the inner loop. If we write the inner

[Bug middle-end/30201] gcc doesn't unroll nested loops

2006-12-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|c++ |middle-end h

[Bug tree-optimization/30137] Missed folding of pointer comparison

2006-12-13 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-12-13 16:24 --- Created an attachment (id=12796) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12796&action=view) patch It unfortunately miscompares ... (but the testsuite is clean) -- http://gcc.gnu.org/bugzilla/show_b

[Bug middle-end/30172] Operations with partly constant complex values not folded

2006-12-13 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

[Bug c++/30201] New: gcc doesn't unroll nested loops

2006-12-13 Thread jacob at math dot jussieu dot fr
While developing a Free C++ library, I am facing what I think is a bug in gcc: it doesn't unroll nested loops. Namely, in the example program that I paste below, there is a nested loop like for( int i = 0; i < 3; i++ ) for( int j = 0; j < 3; j++ ) do_something( i, j ); and only the inner lo

[Bug middle-end/30198] __real / __imag cexpi (x) can be folded to cos (x) / sin (x)

2006-12-13 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |ASSIGNED Last reconfirmed|2006-12-13 16:21:54 |2006-12-13 1

[Bug middle-end/30198] __real / __imag cexpi (x) can be folded to cos (x) / sin (x)

2006-12-13 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

[Bug libffi/28036] libffi executable stack (missing .note.GNU-stack on .o files)

2006-12-13 Thread debian-gcc at lists dot debian dot org
--- Comment #3 from debian-gcc at lists dot debian dot org 2006-12-13 15:58 --- patch posted at http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00948.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28036

[Bug middle-end/30164] Gimplifier does not produce valid gimple for global_vectora = CONSTRUCTOR

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-13 15:54 --- I just exposed this on the mainline with my GIMPLE_REG vector patch for a lot more cases so I am going to take it. -- pinskia at gcc dot gnu dot org changed: What|Removed |Adde

[Bug fortran/29975] [meta-bugs] [4.1 and 4.2 only] ICEs with CP2K

2006-12-13 Thread jv244 at cam dot ac dot uk
--- Comment #39 from jv244 at cam dot ac dot uk 2006-12-13 15:25 --- I had a look at one of the failing testcases from CP2K testsuite, and under valgrind there were a number of errors that could be reproduced in the small testcase of PR30200 -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug fortran/30200] New: valgrind errors for write statement

2006-12-13 Thread jv244 at cam dot ac dot uk
[EMAIL PROTECTED]:/scratch/vondele/clean/cp2k/tests/QS/regtest-gpw-2> gfortran test.f90 [EMAIL PROTECTED]:/scratch/vondele/clean/cp2k/tests/QS/regtest-gpw-2> ./a.out [EMAIL PROTECTED]:/scratch/vondele/clean/cp2k/tests/QS/regtest-gpw-2> valgrind --tool=memcheck ./a.out ==16188== Memcheck, a memory

[Bug c++/28740] [4.0 regression] ICE with invalid inheritance

2006-12-13 Thread lmillward at gcc dot gnu dot org
--- Comment #7 from lmillward at gcc dot gnu dot org 2006-12-13 14:29 --- Subject: Bug 28740 Author: lmillward Date: Wed Dec 13 14:28:47 2006 New Revision: 119833 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119833 Log: PR c++27316 * g++.dg/inherit/error3.C: N

[Bug target/30199] New: config/freebsd.h does not define HANDLE_PRAGMA_PACK_PUSH_POP

2006-12-13 Thread tejblum at yandex-team dot ru
The GCC compiler on FreeBSD does not handle #pragma pack(push, ) since gcc/config/freebsd.h does not define HANDLE_PRAGMA_PACK_PUSH_POP. There is no reason for this: 1. gcc/config/linux.h defines HANDLE_PRAGMA_PACK_PUSH_POP. No reason why Linux and FreeBSD should be different here. 2. The 'native'

[Bug tree-optimization/30194] [4.3 Regression] gcc.dg/pr19633-1.c fails on the mainline

2006-12-13 Thread dnovillo at gcc dot gnu dot org
--- Comment #3 from dnovillo at gcc dot gnu dot org 2006-12-13 14:11 --- Works for me with @119760 (mem-ssa) on all arches (x86, x86_64, ia64 and ppc64). $ make check-gcc RUNTESTFLAGS=dg.exp=pr19633-1.c [...] Test Run By dnovillo on Wed Dec 13 09:05:53 2006 Native configuration is x86

[Bug fortran/29975] [meta-bugs] [4.1 and 4.2 only] ICEs with CP2K

2006-12-13 Thread burnus at gcc dot gnu dot org
--- Comment #38 from burnus at gcc dot gnu dot org 2006-12-13 14:03 --- Hi Paul, (In reply to comment #36) > > input_cp2k_motion.f90:3122: internal compiler error: in fold_convert, at > > A reduced version of this one would be very nice - if I would guess, it will > be an assignment in

[Bug fortran/29975] [meta-bugs] [4.1 and 4.2 only] ICEs with CP2K

2006-12-13 Thread jv244 at cam dot ac dot uk
--- Comment #37 from jv244 at cam dot ac dot uk 2006-12-13 14:01 --- (In reply to comment #36) well, this was reduced, filed as PR30147, and fixed. Tobias reduced another one and filed it as PR30190 (see dependencies). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29975

[Bug c++/27316] [4.0 Regression] ICE with two ill-placed expression

2006-12-13 Thread lmillward at gcc dot gnu dot org
--- Comment #7 from lmillward at gcc dot gnu dot org 2006-12-13 13:59 --- Subject: Bug 27316 Author: lmillward Date: Wed Dec 13 13:58:43 2006 New Revision: 119831 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119831 Log: PR c++/27316 * g++.dg/inherit/error3.C:

[Bug c++/28740] [4.0 regression] ICE with invalid inheritance

2006-12-13 Thread lmillward at gcc dot gnu dot org
--- Comment #6 from lmillward at gcc dot gnu dot org 2006-12-13 13:59 --- Subject: Bug 28740 Author: lmillward Date: Wed Dec 13 13:58:43 2006 New Revision: 119831 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119831 Log: PR c++/27316 * g++.dg/inherit/error3.C:

[Bug testsuite/30119] libjava testsuite output is erratic and unhelpful

2006-12-13 Thread aph at gcc dot gnu dot org
--- Comment #7 from aph at gcc dot gnu dot org 2006-12-13 13:42 --- You wrote ../gij -classpath PR18699.class:../libgcj-4.3.0.jar PR18699.class But I wrote: ../gij -classpath .:../libgcj-4.3.0.jar PR18699 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30119

  1   2   >