[Bug fortran/29899] [Segfault] Fortran entry point caught from C function

2007-04-02 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2007-04-02 23:28 --- > You can found the complete ranlux.f subroutine at > http://www.systella.fr/~bertrand/rpl2/download/rpl-4.00pre8q.tar.bz2 The program does not compile for me: gfortran ./src/fonctions_speciales.conv.f90 ./src/fonc

[Bug c++/31449] New: static_cast can remove const-ness

2007-04-02 Thread simon_baldwin at yahoo dot com
The following const-incorrect program compiles without error on gcc 4.1.0, and 4.3.0 20070323: class Foo {}; class Bar : public Foo {}; static const Foo *foo = 0; static Bar *bar = static_cast(foo); // Error, casts away const void func(const Foo *foo) { Bar *bar = static_cast(foo); // Error,

[Bug libfortran/31099] [4.3/4.2 regression] Runtime error on legal code using RECL

2007-04-02 Thread jvdelisle at gcc dot gnu dot org
--- Comment #19 from jvdelisle at gcc dot gnu dot org 2007-04-03 01:04 --- Yes, this is fixed, closing. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/31450] New: natFileChannelPosix.cc should use mincore

2007-04-02 Thread tromey at gcc dot gnu dot org
Right now natFileChannelPosix.cc has stubs for loadImpl and isLoadedImpl. Instead it should use mincore for the latter, when mincore is available. -- Summary: natFileChannelPosix.cc should use mincore Product: gcc Version: 4.3.0 Status: UNCONFIRMED

[Bug libgcj/31450] natFileChannelPosix.cc should use mincore

2007-04-02 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2007-04-03 01:48 --- ... and it should be using madvise and msync for the other methods. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31450

[Bug testsuite/31451] New: FAIL: g++.dg/eh/ctor3.C (test for excess errors)

2007-04-02 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc/objdir/gcc/testsuite/g++/../../g++ -B/mnt/gnu/gc c/objdir/gcc/testsuite/g++/../../ /mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/eh/ctor3 .C -nostdinc++ -I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include /hppa2.0w-hp-hpux11.11 -I/mnt/gnu/gcc/objdir/hppa2.0w-hp

[Bug testsuite/31452] New: FAIL: g++.dg/tree-ssa/pr29585.C (test for excess errors)

2007-04-02 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc/objdir/gcc/testsuite/g++/../../g++ -B/mnt/gnu/gc c/objdir/gcc/testsuite/g++/../../ /mnt/gnu/gcc/gcc/gcc/testsuite/g++.dg/tree-ssa /pr29585.C -nostdinc++ -I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3 /include/hppa2.0w-hp-hpux11.11 -I/mnt/gnu/gcc/objdir/hpp

[Bug c++/31453] New: g++.old-deja/g++.mike/p4736b.C:41: ICE: in convert_memory_address, at explow.c:319

2007-04-02 Thread danglin at gcc dot gnu dot org
Executing on host: /mnt/gnu/gcc/objdir/gcc/testsuite/g++/../../g++ -B/mnt/gnu/gc c/objdir/gcc/testsuite/g++/../../ /mnt/gnu/gcc/gcc/gcc/testsuite/g++.old-deja/g+ +.mike/p4736b.C -nostdinc++ -I/mnt/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc ++-v3/include/hppa2.0w-hp-hpux11.11 -I/mnt/gnu/gcc/objdi

[Bug c++/31454] New: "protected" protects againt derived class

2007-04-02 Thread igodard at pacbell dot net
The code: struct base { protected: virtual void foo() {} }; struct der : public base { virtual void foo() { p->foo(); } base* p; }; gets you: ~/ootbc/sim/test$ g++ foo.cc foo.cc: In member function 'virtual void der::foo()': foo.cc:3: error: 'virtual void base::foo()' is prote

[Bug c++/31454] "protected" protects againt derived class

2007-04-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-03 04:36 --- This is not a bug. You are allowed to call protected functions on this but nobody elses. This has nothing to do with derived class or not. This is just how C++ works. -- pinskia at gcc dot gnu dot org changed:

[Bug rtl-optimization/31396] Inline code performance much worse than out-of-line

2007-04-02 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-04-03 05:49 --- The same thing happens on PPC also: L6: lfsx f0,r2,r9 addi r2,r2,4 lfd f13,104(r1) fadd f13,f13,f0 stfd f13,104(r1) bdnz L6 Why are you storing to the stack? Ok, part

[Bug rtl-optimization/31455] New: [4.3 Regression] lower subreg causes a performance regression in the inner loop sometimes

2007-04-02 Thread pinskia at gcc dot gnu dot org
Testcase: #include #include #define SIZE 256*1024*1024 float *data; static inline double one() { int i; double sum; sum = 0; for (i=0; ihttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=31455

[Bug rtl-optimization/31455] [4.3 Regression] lower subreg causes a performance regression in the inner loop sometimes

2007-04-02 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31455

[Bug rtl-optimization/31396] Inline code performance much worse than out-of-line

2007-04-02 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-04-03 06:03 --- (In reply to comment #5) > Why are you storing to the stack? The PPC issue is only an issue on the trunk, so I filed PR 31455 for that bug. But I bet this bug is related to some extend. -- http://gcc.gnu.org/

[Bug middle-end/31181] invalid warning that a variable is being used before being initialized

2007-04-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-03 06:19 --- >it is being set before being used within a loop that will always execute at >least 16 times. And the compiler does not know it can be executed at least once as -Os -fno-tree-dominator-opts turns off jump threading

[Bug tree-optimization/17506] [4.0/4.1 regression] warning about uninitialized variable points to wrong location

2007-04-02 Thread pinskia at gcc dot gnu dot org
--- Comment #34 from pinskia at gcc dot gnu dot org 2007-04-03 06:19 --- *** Bug 31181 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/31238] Too many instructions as not reversing loop

2007-04-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-03 06:23 --- Most likely what needs to happen is reverse the loop count. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug target/31263] addressing modes are not selected correcly for x86 always

2007-04-02 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-04-03 06:33 --- To reproduce this on the trunk use "#define PAR i*2+1000-i-i" instead for the complex one. For PPC, VARIABLE_PAR is actually slower, as it tries to use (long unsigned int) i * 8 as the index and PPC does not have th

[Bug target/31238] Too many instructions as not reversing loop

2007-04-02 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2007-04-03 07:17 --- Need to reverse the loop counter here. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/31339] [4.3 regression] ICE on invalid use of complex constant

2007-04-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-03 07:28 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug target/29953] [SH-4] Perfomance regression in loops. cmp/eq used instead of dt

2007-04-02 Thread christian dot bruel at st dot com
--- Comment #3 from christian dot bruel at st dot com 2007-04-03 07:43 --- thank you for reporting this, There is indeed a data dependency on 'r2' introduced by the cmp/eq instruction, preventing the mov and the comparaison to be executed in parallel, unlike the dt on the induction var

<    1   2