[Bug translation/12197] wrong french translation

2005-11-26 Thread gdr at gcc dot gnu dot org
--- Comment #5 from gdr at gcc dot gnu dot org 2005-11-26 08:04 --- The PR should be reported to the translation project which operates independently of GCC. -- Gaby -- gdr at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/12277] Warn on dynamic casts with known NULL results.

2005-11-26 Thread gdr at gcc dot gnu dot org
-- gdr at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |gdr at gcc dot gnu dot org |dot org

[Bug c++/12333] [DR 272] Explicit call to MyClass::~MyClass() not allowed

2005-11-26 Thread gdr at gcc dot gnu dot org
--- Comment #11 from gdr at gcc dot gnu dot org 2005-11-26 08:10 --- This is reject-valid. -- gdr at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug libfortran/24945] calling two open statements (same unit) without close fails

2005-11-26 Thread jb at gcc dot gnu dot org
--- Comment #3 from jb at gcc dot gnu dot org 2005-11-26 08:52 --- *** Bug 25036 has been marked as a duplicate of this bug. *** -- jb at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/25036] Reopening a file with STATUS='UNKNOWN' should work

2005-11-26 Thread jb at gcc dot gnu dot org
--- Comment #4 from jb at gcc dot gnu dot org 2005-11-26 08:52 --- This seems to be a duplicate of PR 24945. Sorry. *** This bug has been marked as a duplicate of 24945 *** -- jb at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13384] error: non-lvalue in assignment - message a little misleading for C++

2005-11-26 Thread gdr at gcc dot gnu dot org
--- Comment #4 from gdr at gcc dot gnu dot org 2005-11-26 08:57 --- (In reply to comment #1) I can confirm the behavior, though I'm not sure whether we really need to change the error message. Gaby -- you're the diagnostics maintainer, so it's your call. I believe it is OK to add

[Bug c++/13657] Error message incorrectly describes return type as argument type

2005-11-26 Thread gdr at gcc dot gnu dot org
-- gdr at gcc dot gnu dot org changed: What|Removed |Added CC||gdr at gcc dot gnu dot org AssignedTo|unassigned at gcc dot gnu

[Bug c++/14172] g++ should not emit effc++ warnings in system headers

2005-11-26 Thread gdr at gcc dot gnu dot org
--- Comment #6 from gdr at gcc dot gnu dot org 2005-11-26 09:08 --- (In reply to comment #0) Some warning options trigger warnings in standard C++ headers, rendering -Werror unusable. This can be seen with a simple example: #include list int main() { std::listint foo; }

[Bug libfortran/24945] calling two open statements (same unit) without close fails

2005-11-26 Thread jb at gcc dot gnu dot org
--- Comment #4 from jb at gcc dot gnu dot org 2005-11-26 09:12 --- Subject: Bug 24945 Author: jb Date: Sat Nov 26 09:12:36 2005 New Revision: 107538 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107538 Log: libgfortran ChangeLog: 2005-11-26 Janne Blomqvist [EMAIL PROTECTED]

[Bug libstdc++/12854] libstdc++ vs. -Weffc++

2005-11-26 Thread gdr at gcc dot gnu dot org
--- Comment #10 from gdr at gcc dot gnu dot org 2005-11-26 09:12 --- (In reply to comment #8) So, I put the c++ enhancement requests as blockers to this bug. I think -Weffc++ is now usable on mainline, but before I do any more work on this stuff, I'd like to see the g++ side make

[Bug c++/14329] [tree-ssa] badly formatted warnings for SRA replacements

2005-11-26 Thread gdr at gcc dot gnu dot org
-- gdr at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |gdr at gcc dot gnu dot org |dot org

[Bug libfortran/24945] calling two open statements (same unit) without close fails

2005-11-26 Thread jb at gcc dot gnu dot org
--- Comment #5 from jb at gcc dot gnu dot org 2005-11-26 09:27 --- Subject: Bug 24945 Author: jb Date: Sat Nov 26 09:27:22 2005 New Revision: 107539 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107539 Log: libgfortran ChangeLog: 2005-11-26 Janne Blomqvist [EMAIL PROTECTED]

[Bug libfortran/24945] calling two open statements (same unit) without close fails

2005-11-26 Thread jb at gcc dot gnu dot org
--- Comment #6 from jb at gcc dot gnu dot org 2005-11-26 09:32 --- Subject: Bug 24945 Author: jb Date: Sat Nov 26 09:32:21 2005 New Revision: 107540 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=107540 Log: testsuite ChangeLog: 2005-11-26 Janne Blomqvist [EMAIL PROTECTED]

[Bug middle-end/16315] Strange variable names for temporaries in warnings

2005-11-26 Thread gdr at gcc dot gnu dot org
-- gdr at gcc dot gnu dot org changed: What|Removed |Added CC||gdr at gcc dot gnu dot org AssignedTo|unassigned at gcc dot gnu

[Bug libfortran/25039] broken formatted I/O

2005-11-26 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2005-11-26 09:58 --- (In reply to comment #2) What is this unprintable character? Is that right? I don't see an unprintable character in my i686-linux dump: MAIN__ () { int4 i1; int4 i2; { struct __st_parameter_dtquire

[Bug fortran/25030] Character pointer can associated with not the same length character variable.

2005-11-26 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2005-11-26 10:04 --- This was fixed at some point, since current gfortran mainline (4.2) does it the way you want: $ gfortran u.f90 ./a.out test string But indeed, Intel output a garbage string, g95 and Sun f90 reject the code.

[Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms

2005-11-26 Thread pluto at agmk dot net
--- Comment #43 from pluto at agmk dot net 2005-11-26 11:57 --- i've done quick tests on ix86: $ stage1/xgcc -Bstage1/ -c -gnatpg -gnata -g -I- -I. -Iada -I../../gcc/ada ../../gcc/ada/a-except.adb -o ada/a-except.o -fno-inline -O1 -march=i{486,586,686,pentium,pentiumpro} WORKS. but

[Bug other/25004] elfutils misscompilation (testuite failure).

2005-11-26 Thread pluto at agmk dot net
--- Comment #6 from pluto at agmk dot net 2005-11-26 12:17 --- (In reply to comment #5) waiting for a short testcase and/or see if it has been fixed already. 4.1 (rev. 107414) doesn't fix this problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25004

[Bug ada/22533] [4.1/4.2 regression] Ada ICE during bootstrap on many platforms

2005-11-26 Thread pluto at agmk dot net
--- Comment #44 from pluto at agmk dot net 2005-11-26 12:40 --- (In reply to comment #43) i'll check this witout Uros' switch-mmx-mode patchset. confirmed. Uros' patchset from PR19161 causes this ICE with -mmmx. Uros, can you look at this? -- pluto at agmk dot net changed:

[Bug target/25043] [m68k] ICE in instantiate_virtual_regs_lossage

2005-11-26 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2005-11-26 15:53 --- Confirmed. Works with gcc 4.1/trunk. -- schwab at suse dot de changed: What|Removed |Added

[Bug fortran/25030] Character pointer can associated with not the same length character variable.

2005-11-26 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2005-11-26 16:12 --- I believe the code is illegal from 7.5.2, page 110, Constraint: The target shall be of the same type, kind type parameters, and rank as the pointer. Then on page 111, you find The target shall

[Bug c/25044] New: problems caused by unresolved symbols in libgcc

2005-11-26 Thread nekkar at libero dot it
gcc was configured with: --target=$TARGET --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=$PREFIX --with-cpu=ep9312 --with-fpu=maverick --enable-cxx-flags=-mcirrus-fix-invalid-insns --disable-altivec --disable-nls --disable-checking --disable-werror --disable-libunwind-exceptions

[Bug target/25044] problems caused by unresolved symbols in libgcc

2005-11-26 Thread nekkar at libero dot it
--- Comment #1 from nekkar at libero dot it 2005-11-26 16:35 --- I forgot to specify those variables: TARGET=arm-ep9312-linux-uclibc PREFIX=/mnt/dati/cross-gcc-4x -- nekkar at libero dot it changed: What|Removed |Added

[Bug tree-optimization/5035] Incorrectly produces '`var' might be used uninitialized in this function'

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-11-26 16:39 --- Actually this is easy to find a testcase where we do warn (turning off DOM is an easy example) -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/21750] GCC gives may be used uninitialized warning for a non-conditional initialised variable. (not a duplicate bug!)

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-26 16:39 --- We have: if (gc-contextP) { ... set hieght set width set clip0min set command ... } ... if (xx) {} ... if (gc-contextP) { ... use clipOmin use command use hieght use width use clip0min ... } Anyways this

[Bug tree-optimization/5035] Incorrectly produces '`var' might be used uninitialized in this function'

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2005-11-26 16:39 --- *** Bug 21750 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/25043] [4.0 Regression] [m68k] ICE in instantiate_virtual_regs_lossage

2005-11-26 Thread schwab at suse dot de
-- schwab at suse dot de changed: What|Removed |Added Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25043

[Bug middle-end/21733] filecmp.c:252: warning: #n1# may be used uninitialized in this function

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-26 16:52 --- k1=k2=0; e1=e2=0; for(;;) { if (!e1) if(k1) { set n1 if (n1 0) { break; } } if (!e2) if(k2) { set n2 if (n2 0) { break;

[Bug middle-end/18956] [3.4 only] [hppa] 'bus error' at runtime while passing a special struct to a C++ member function

2005-11-26 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2005-11-26 16:57 --- Subject: Re: [3.4 only] [hppa] 'bus error' at runtime while passing a special struct to a C++ member function Are you working on this? It lools like the bug has been there for a while. I'm inclined to

[Bug fortran/25045] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: END SUBROUTINE S1(N) INTEGER, OPTIONAL :: N INTEGER :: A(3) write(6,*) PRODUCT(A,N) END SUBROUTINE -- Summary: better diagnostic

[Bug fortran/25046] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: END SUBROUTINE S1(N) INTEGER :: A(3) LOGICAL :: B(3,3) write(6,*) PRODUCT(A,B) END SUBROUTINE -- Summary: better diagnostic

[Bug fortran/25047] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE t contains integer function foo () character*4 bar foo = 21 return entry bar () bar = abcd

[Bug fortran/25048] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER, POINTER :: I CALL S1((I)) CONTAINS SUBROUTINE S1(I) INTEGER, POINTER ::I END SUBROUTINE S1 END -- Summary: better diagnostic

[Bug fortran/25049] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: module M integer, parameter :: A(2,2)=0 integer, parameter, dimension(2,2) :: B = TRANSPOSE(A) end module M END -- Summary: better

[Bug fortran/25050] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: module M integer, parameter :: A(2,2)=0 integer, parameter, dimension(2,2) :: B = CSHIFT(A,1) end module M END -- Summary: better

[Bug fortran/25051] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER, POINTER, DIMENSION(:,:) :: i INTEGER, POINTER, DIMENSION(:) :: a a=NULL(i) END -- Summary: better diagnostic needed

[Bug fortran/25052] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: REAL*8 :: I,J COMMON /SIN/ I ! error COMMON /COS/ J ! is OK write(6,*) SIN(I),DCOS(J) END -- Summary: better diagnostic needed

[Bug fortran/25053] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: integer :: a,b NAMELIST /NLIST/ a,b a=1 ; b=2 write(6,FMT=*,NML=NLIST) END -- Summary: better diagnostic needed Product

[Bug fortran/25054] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: SUBROUTINE S1(I) integer :: a,b(I) NAMELIST /NLIST/ a,b a=1 ; b=2 write(6,NML=NLIST) END SUBROUTINE S1 END -- Summary: better

[Bug fortran/25055] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: STOP 001234 END -- Summary: better diagnostic needed Product: gcc Version: 4.1.0 Status: UNCONFIRMED

[Bug fortran/25056] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 CONTAINS FUNCTION L() L=1 END FUNCTION L PURE FUNCTION J(K) INTERFACE PURE FUNCTION K() END FUNCTION K END INTERFACE

[Bug fortran/25057] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: TYPE T1 INTEGER :: I=7 END TYPE T1 TYPE(T1), SAVE, DIMENSION(4) :: D DATA (D(I),I=1,2) /T1(3),T1(3)/ IF (ANY(D%I.NE.(/3,3,7,7/))) write(6,*) Never

[Bug fortran/25058] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 CONTAINS FUNCTION F1(I) RESULT(RF1) INTEGER :: I,K,RE1,RF1 RE1=K RETURN ENTRY E1(K) RESULT(RE1) RE1=-I RETURN END FUNCTION F1 END

[Bug fortran/25059] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 TYPE T1 INTEGER :: I END TYPE T1 INTERFACE ASSIGNMENT(=) MODULE PROCEDURE S1 END INTERFACE CONTAINS SUBROUTINE S1(I,J) TYPE

[Bug fortran/25060] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: subroutine e(a) real, intent(out) :: a(*) a = 1.e0 end subroutine end -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25061] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTERFACE I1 SUBROUTINE S1(I) END SUBROUTINE S1 SUBROUTINE S2(R) END SUBROUTINE S2 END INTERFACE I1 CONTAINS SUBROUTINE I1(I) END SUBROUTINE I1

[Bug fortran/25062] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER, PARAMETER :: C1=1 COMMON /C1/ I INTEGER I END -- Summary: better diagnostic needed Product: gcc Version

[Bug fortran/25063] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: write(6,FMT='(I0)',EOR=999,ADVANCE=NO) I 999 CONTINUE END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25064] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: NAMELIST /NML/ I write(6,nml=nml) I END -- Summary: better diagnostic needed Product: gcc Version: 4.1.0

[Bug fortran/25065] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: NAMELIST /NML/ I write(6,nml=nml) I END -- Summary: better diagnostic needed Product: gcc Version: 4.1.0

[Bug fortran/25066] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: write(6,FMT='(I0)',SIZE=J,ADVANCE=NO) I 999 CONTINUE END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25067] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: read(5,FMT=*,REC=10) I END -- Summary: better diagnostic needed Product: gcc Version: 4.1.0 Status

[Bug fortran/25068] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER*8 :: I OPEN(10,FILE=fort.10) CLOSE(10,IOSTAT=I) END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25069] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE debug LOGICAL debug_area NAMELIST/debugging/debug_area END MODULE debug PROGRAM ding USE debug NAMELIST/debugging/debug_area END

[Bug fortran/25070] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER :: I(2,2) I=RESHAPE((/1,2,3,4/),(/2,2/)) CALL TST(I) CONTAINS SUBROUTINE TST(I) INTEGER :: I(:) write(6,*) I END SUBROUTINE TST END

[Bug fortran/25071] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER :: I(2,2) CALL TST(I) CONTAINS SUBROUTINE TST(I) INTEGER :: I(6) END SUBROUTINE TST END -- Summary: better diagnostic needed

[Bug fortran/25072] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER :: I,A(10) FORALL(I=1:10,T(I)) A(I)=I CONTAINS LOGICAL FUNCTION T(I) INTEGER :: I T=(MOD(I,2)==0) END FUNCTION T END

[Bug fortran/25073] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: LOGICAL :: L SELECT CASE(L) CASE(.true.) CASE(.false.) CASE(.true.) END SELECT END -- Summary: better diagnostic needed

[Bug fortran/25074] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 TYPE T1 INTEGER :: I(3) END TYPE T1 TYPE(T1), PARAMETER :: D1=T1((/1,2,3/)) CONTAINS SUBROUTINE S1(J) INTEGER, INTENT(INOUT) :: J

[Bug fortran/25075] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER :: I(10),J(11) write(6,*) DOT_PRODUCT(I,J) END -- Summary: better diagnostic needed Product: gcc Version

[Bug fortran/25076] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER :: A(10,10) FORALL(I=1:10,J=I:10) A(I,J)=I+J ENDFORALL END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25077] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 IMPLICIT NONE INTERFACE ASSIGNMENT(=) MODULE PROCEDURE T1 END INTERFACE CONTAINS SUBROUTINE T1(I,J) INTEGER, INTENT(OUT) :: I

[Bug fortran/25078] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: EQUIVALENCE(I) END -- Summary: better diagnostic needed Product: gcc Version: 4.1.0 Status

[Bug fortran/25079] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: TYPE T0 INTEGER,POINTER :: I END TYPE T0 TYPE(T0) :: a a=T0(1) END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25080] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: TYPE T1 INTEGER :: i(2,2) END TYPE TYPE(T1) :: a a=T1((/1,2,3,4/)) END -- Summary: better diagnostic needed

[Bug fortran/25081] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 CONTAINS SUBROUTINE S1 CONTAINS CHARACTER(LEN=*) FUNCTION F1() F1=1234 END FUNCTION F1 END SUBROUTINE S1 END MODULE M1 END

[Bug fortran/25082] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: SUBROUTINE S1(*) INTEGER :: a(2) RETURN a END SUBROUTINE S1 -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25083] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: BLOCK DATA D INTEGER I DATA I /1/ END BLOCK DATA END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25084] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 TYPE SET INTEGER CARD END TYPE SET END MODULE M1 MODULE INTEGER_SETS INTERFACE OPERATOR (.IN.) FUNCTION ELEMENT(X,A) USE

[Bug fortran/25085] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: FUNCTION F1() CHARACTER(LEN=*), DIMENSION(10) :: F1 END FUNCTION F1 END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25086] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: FUNCTION F1() CHARACTER(LEN=*), POINTER :: F1 END FUNCTION F1 END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25087] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: SUBROUTINE s(n) CHARACTER(LEN=n), EXTERNAL :: a write(6,*) a(n) END SUBROUTINE s FUNCTION a(n) CHARACTER(LEN=n) :: a a=111 END FUNCTION

[Bug fortran/25088] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER :: S CALL S() END SUBROUTINE S END SUBROUTINE -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25089] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 CONTAINS INTEGER FUNCTION F1() NAMELIST /NML/ F2 F1=1 END FUNCTION INTEGER FUNCTION F2() F2=1 END FUNCTION END

[Bug fortran/25090] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: SUBROUTINE S1(I) CHARACTER(LEN=I+J) :: a ENTRY E1(J) END SUBROUTINE S1 END -- Summary: better diagnostic needed

[Bug fortran/25091] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: FUNCTION F1() RESULT(RES_F1) INTEGER RES_F1(2,2) INTEGER RES_E1(4) ENTRY E1() RESULT(RES_E1) END FUNCTION END -- Summary: better

[Bug fortran/25092] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: FUNCTION F1() RESULT(RES_F1) INTEGER :: RES_F1(4) INTEGER :: RES_E1(3) ENTRY E1() RESULT(RES_E1) END FUNCTION END -- Summary

[Bug fortran/25093] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 TYPE T1 INTEGER :: I END TYPE T1 PRIVATE :: T1 PUBLIC :: F1 CONTAINS TYPE(T1) FUNCTION F1() END FUNCTION END MODULE USE M1 END

[Bug fortran/25094] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 TYPE T1 INTEGER :: I END TYPE T1 INTERFACE I MODULE PROCEDURE F1 END INTERFACE PRIVATE :: T1,F1 PUBLIC :: I CONTAINS INTEGER

[Bug fortran/25095] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER :: i(10) DATA (i(MODULO(j,5)),j=1,4) /4*0/ END -- Summary: better diagnostic needed Product: gcc Version

[Bug fortran/25096] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: TYPE T1 INTEGER :: I(2) END TYPE T1 TYPE(T1) :: D(4) DATA (D(i)%I,i=1,4) /8*0/ END -- Summary: better diagnostic needed

[Bug fortran/25097] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 TYPE T1 INTEGER :: I END TYPE T1 CONTAINS SUBROUTINE S1(D1) TYPE(T1), OPTIONAL :: D1 write(6,*) PRESENT(D1%I) END

[Bug fortran/25098] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE M1 CONTAINS SUBROUTINE S1(F) INTERFACE FUNCTION F() INTEGER F END FUNCTION F END INTERFACE END SUBROUTINE S1 END MODULE M1 USE

[Bug fortran/25099] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: integer :: I(2,2),J(2) CALL S(I,J) CONTAINS ELEMENTAL SUBROUTINE S(I,J) INTEGER, INTENT(IN) :: I,J END SUBROUTINE S END -- Summary

[Bug fortran/25100] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: integer :: I(4),J(2) CALL S(I,J) CONTAINS ELEMENTAL SUBROUTINE S(I,J) INTEGER, INTENT(IN) :: I,J END SUBROUTINE S END -- Summary

[Bug fortran/25101] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER :: A(10),J(2),I FORALL(I=1:2:0) A(I)=1 END FORALL END -- Summary: better diagnostic needed Product: gcc

[Bug middle-end/23669] fold does convert (-a)/10 into a/-10 with -fno-wrapv

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-26 18:08 --- Patch posted: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01850.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/25102] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: MODULE TT TYPE data_type INTEGER :: I END TYPE data_type INTERFACE ASSIGNMENT (=) MODULE PROCEDURE set END INTERFACE CONTAINS PURE

[Bug fortran/25103] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: module foo integer:: i end module foo program bar use foo integer, dimension (i)::j end program bar -- Summary: better

[Bug fortran/25104] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: INTEGER, PARAMETER :: K(2)=1 SELECT CASE(I) CASE(MAXLOC(K,1)) END SELECT END -- Summary: better diagnostic needed Product: gcc

[Bug fortran/25105] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: Subroutine My(n1) Dimension myArray(n1) Save myArray CALL xxx(myarray) End Subroutine xxx(myarray) Dimension

[Bug tree-optimization/24575] -(i /10) is not foldded to i/-10

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-26 18:10 --- (In reply to comment #2) That should have been i/-10. I am going to make this bug about -(i/-10) to i/10. Actually -(i/10) to i/-10. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24575

[Bug fortran/25106] New: better diagnostic needed

2005-11-26 Thread jv244 at cam dot ac dot uk
using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease) with '-g -pedantic -std=f95', I get a bad / no diagnostic for the following invalid code: 0 CONTINUE END -- Summary: better diagnostic needed Product: gcc Version: 4.1.0 Status: UNCONFIRMED

[Bug tree-optimization/24575] -(i /10) is not foldded to i/-10

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-26 18:12 --- Writing a fix for this one also, we don't really need to fix PR 23669 to fix the orginal testcase in here. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/25107] New: undefined reference even though the template is instantiated

2005-11-26 Thread smirolo at hotmail dot com
I get a different behavior when compiling on powerpc/MacOSX 10.3.9 and i686/Linux. In the first case, the symbol is undefined while in the second case it is weak and thus link correctly. #include iostream #include boost/dynamic_bitset.hpp int main( int argc, char *argv[] ) {

[Bug c++/25107] undefined reference even though the template is instantiated

2005-11-26 Thread smirolo at hotmail dot com
--- Comment #1 from smirolo at hotmail dot com 2005-11-26 18:28 --- Created an attachment (id=10342) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10342action=view) source file to reproduce the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25107

[Bug c++/25107] undefined reference even though the template is instantiated

2005-11-26 Thread smirolo at hotmail dot com
--- Comment #2 from smirolo at hotmail dot com 2005-11-26 18:29 --- Created an attachment (id=10343) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10343action=view) save-temps on macos -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25107

[Bug c++/25107] undefined reference even though the template is instantiated

2005-11-26 Thread smirolo at hotmail dot com
--- Comment #3 from smirolo at hotmail dot com 2005-11-26 18:30 --- Created an attachment (id=10344) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10344action=view) output log on macos -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25107

[Bug c++/25107] undefined reference even though the template is instantiated

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-26 18:30 --- This is a dup of bug 11026 which was fixed only for 4.0.0. The work around is to instantiated explictly. *** This bug has been marked as a duplicate of 11026 *** *** This bug has been marked as a duplicate of

[Bug target/11026] [Darwin] g++ does not instantiate static data members of templates

2005-11-26 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2005-11-26 18:30 --- *** Bug 25107 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >