[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org
--- Comment #15 from chaoyingfu at gcc dot gnu dot org 2006-11-30 19:25 --- Subject: Bug 29537 Author: chaoyingfu Date: Thu Nov 30 19:24:37 2006 New Revision: 119373 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119373 Log: Merged revisions 118337-118377 via svnmerge from svn

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-11-01 Thread aldot at gcc dot gnu dot org
--- Comment #14 from aldot at gcc dot gnu dot org 2006-11-01 19:30 --- Fixed on trunk. -- aldot at gcc dot gnu dot org changed: What|Removed |Added Status|ASS

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-31 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #13 from sgk at troutmask dot apl dot washington dot edu 2006-10-31 23:47 --- Subject: Re: ICE in gfc_match_common for blank common in BLOCK DATA unit On Tue, Oct 31, 2006 at 11:42:42PM -, aldot at gcc dot gnu dot org wrote: > > > Bernhard, > > > > This is ok for tr

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-31 Thread aldot at gcc dot gnu dot org
--- Comment #12 from aldot at gcc dot gnu dot org 2006-10-31 23:42 --- (In reply to comment #10) > Bernhard, > > This is ok for trunk. Thanks. Worth backporting this to 4.2 (and 4.1) in a week or two? -- aldot at gcc dot gnu dot org changed: What|Removed

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-31 Thread aldot at gcc dot gnu dot org
--- Comment #11 from aldot at gcc dot gnu dot org 2006-10-31 23:39 --- Subject: Bug 29537 Author: aldot Date: Tue Oct 31 23:38:58 2006 New Revision: 118347 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118347 Log: fortran/ChangeLog: 2006-11-01 Bernhard Fischer <[EMAIL PROTECT

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-28 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #10 from sgk at troutmask dot apl dot washington dot edu 2006-10-28 23:56 --- Subject: Re: ICE in gfc_match_common for blank common in BLOCK DATA unit On Sun, Oct 22, 2006 at 09:08:02PM -, aldot at gcc dot gnu dot org wrote: > > Created an attachment (id=12476) --> (

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-26 Thread aldot at gcc dot gnu dot org
--- Comment #9 from aldot at gcc dot gnu dot org 2006-10-26 12:59 --- (In reply to comment #8) > Created an attachment (id=12476) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12476&action=view) [edit] > untested proposed fix > > I hope to test this patch soon. bootstrapped and r

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-22 Thread aldot at gcc dot gnu dot org
--- Comment #8 from aldot at gcc dot gnu dot org 2006-10-22 21:08 --- Created an attachment (id=12476) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12476&action=view) untested proposed fix I hope to test this patch soon. Note that it adds a warning about blank common in block da

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-22 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #7 from sgk at troutmask dot apl dot washington dot edu 2006-10-22 15:00 --- Subject: Re: ICE in gfc_match_common for blank common in BLOCK DATA unit On Sun, Oct 22, 2006 at 11:36:15AM -, aldot at gcc dot gnu dot org wrote: > > --- Comment #5 from aldot at gcc dot

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-22 Thread aldot at gcc dot gnu dot org
--- Comment #6 from aldot at gcc dot gnu dot org 2006-10-22 11:50 --- > I think the code in comment #1 is valid. Rejecting blank common in block data stmts would add a regression in testsuite's blockdata_1.f90 like so: [EMAIL PROTECTED]:~/src/gcc-4.2/gcc/testsuite/gfortran.dg$ gfortran-

[Bug fortran/29537] ICE in gfc_match_common for blank common in BLOCK DATA unit

2006-10-22 Thread aldot at gcc dot gnu dot org
--- Comment #5 from aldot at gcc dot gnu dot org 2006-10-22 11:36 --- I think the code in comment #1 is valid. f95, 5.5.2.4 Differences between named common and blank common reads: A blank common block has the same properties as a named common block except (iii) [...] objects in blank c

[Bug fortran/29537] ICE in gfc_match_common

2006-10-21 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2006-10-21 22:04 --- First, I agree there is a bug because gfortran should not have an ICE. However, I believe the code is invalid. The Fortran 95 standard specifically mentions "named common blocks" in the description of "block data".

[Bug fortran/29537] ICE in gfc_match_common

2006-10-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|minor |normal Target Milestone|4.2.0 |--- http://g

[Bug fortran/29537] ICE in gfc_match_common

2006-10-21 Thread aldot at gcc dot gnu dot org
-- aldot at gcc dot gnu dot org changed: What|Removed |Added Keywords|ice-on-invalid-code | Target Milestone|--- |4.2.0 http://gcc.gnu

[Bug fortran/29537] ICE in gfc_match_common

2006-10-21 Thread aldot at gcc dot gnu dot org
--- Comment #3 from aldot at gcc dot gnu dot org 2006-10-21 18:05 --- (In reply to comment #2) > (In reply to comment #1) > > Shorter testcase: > > $ egrep -v "(^\!|^$)" foo2.f90 > > block data > > common c > > end > > > According to lahey's checker, this code is valid. Still it ICEs

[Bug fortran/29537] ICE in gfc_match_common

2006-10-21 Thread aldot at gcc dot gnu dot org
--- Comment #2 from aldot at gcc dot gnu dot org 2006-10-21 18:04 --- (In reply to comment #1) > Shorter testcase: > $ egrep -v "(^\!|^$)" foo2.f90 > block data > common c > end > According to lahey's checker, this code is valid. Still it ICEs -- http://gcc.gnu.org/bugzilla/show_

[Bug fortran/29537] ICE in gfc_match_common

2006-10-21 Thread aldot at gcc dot gnu dot org
--- Comment #1 from aldot at gcc dot gnu dot org 2006-10-21 17:42 --- Shorter testcase: $ egrep -v "(^\!|^$)" foo2.f90 block data common c end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29537