[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-31 Thread fxcoudert at gcc dot gnu dot org
--- Comment #18 from fxcoudert at gcc dot gnu dot org 2006-10-31 20:15 --- Subject: Bug 29067 Author: fxcoudert Date: Tue Oct 31 20:15:22 2006 New Revision: 118338 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118338 Log: PR fortran/29067 * decl.c

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-30 Thread fxcoudert at gcc dot gnu dot org
--- Comment #17 from fxcoudert at gcc dot gnu dot org 2006-10-30 16:46 --- The following patch fixes the problem: Index: data.c === --- data.c (revision 118134) +++ data.c (working copy) @@ -155,7 +155,8 @@

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-17 Thread pault at gcc dot gnu dot org
--- Comment #15 from pault at gcc dot gnu dot org 2006-10-17 12:43 --- I cannot persuade this to fault on any of the platforms to which I have access either. 'tis an odd one. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29067

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #16 from fxcoudert at gcc dot gnu dot org 2006-10-17 13:01 --- Hurray! I can now also reproduce this on x86_64-linux with ElectricFence. Run f951 inside gdb and preload ElectricFence (in gdb: set environment LD_PRELOAD /usr/lib64/libefence.so). The segfault backtrace is:

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-16 Thread mathieu dot courtois at free dot fr
--- Comment #14 from mathieu dot courtois at free dot fr 2006-10-16 21:28 --- Sorry for my silence... I have the same error with source code of comment #12 always with : gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13) I'm downloading svn snapshot... --

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-15 Thread fxcoudert at gcc dot gnu dot org
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2006-10-15 08:40 --- (In reply to comment #10) This trimmed down example is invalid code. The if (i0) statement tries to use before it is defined. Sorry about that: the following code is valid, and also fails to compile with the

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-14 Thread kargl at gcc dot gnu dot org
--- Comment #10 from kargl at gcc dot gnu dot org 2006-10-15 01:20 --- (In reply to comment #9) I managed to trim it down to: implicit none integer :: n, i character(len=16),parameter :: s = if (s(9:16) == 90123456) then endif if (i 0)

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-14 Thread kargl at gcc dot gnu dot org
--- Comment #11 from kargl at gcc dot gnu dot org 2006-10-15 01:53 --- I can't reproduce this, so drop assign status. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2006-10-13 07:38 --- (In reply to comment #3) Can you upgrade and confirm that the code compiles? No, Steve, it doesn't work for me either on i686-linux. I downloaded the code from comment #2 (and to answer Paul: it doesn't contain

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2006-10-13 07:54 --- I managed to trim it down to: implicit none integer :: n, i character(len=16),parameter :: s = if (s(9:16) == 90123456) then endif if (i 0) then write (i,*) n

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-12 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2006-10-12 12:18 --- (In reply to comment #5) I try as soon as possible. Thanks for your help. This subroutine is one of an open-source project which contains about 1.000.000 lines of fortran : http://www.code-aster.org. Mathieu,

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-10-12 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #7 from sgk at troutmask dot apl dot washington dot edu 2006-10-12 14:13 --- Subject: Re: Internal Error: gfc_resolve_expr(): Bad expression type On Thu, Oct 12, 2006 at 12:18:30PM -, pault at gcc dot gnu dot org wrote: --- Comment #6 from pault at gcc dot

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-09-14 Thread mathieu dot courtois at free dot fr
--- Comment #4 from mathieu dot courtois at free dot fr 2006-09-14 09:05 --- Created an attachment (id=12266) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12266action=view) work around With some *1 added, compilation pass !? --

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-09-14 Thread mathieu dot courtois at free dot fr
--- Comment #5 from mathieu dot courtois at free dot fr 2006-09-14 09:08 --- I try as soon as possible. Thanks for your help. This subroutine is one of an open-source project which contains about 1.000.000 lines of fortran : http://www.code-aster.org. --

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-09-13 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2006-09-13 20:17 --- This compiles with gfortran 4.2, so you may want to update to a newer compiler. Does this file contain any TAB characters? -- kargl at gcc dot gnu dot org changed: What|Removed

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-09-13 Thread mathieu dot courtois at free dot fr
--- Comment #2 from mathieu dot courtois at free dot fr 2006-09-13 20:18 --- Created an attachment (id=12252) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12252action=view) source code add source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29067

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

2006-09-13 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2006-09-13 21:42 --- This compiles with both troutmask:sgk[265] gfc41 --version GNU Fortran 95 (GCC) 4.1.2 20060913 (prerelease) Copyright (C) 2006 Free Software Foundation, Inc. troutmask:sgk[266] gfc4x --version GNU Fortran 95 (GCC)

[Bug fortran/29067] Internal Error: gfc_resolve_expr(): Bad expression type

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