public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/19936] New: confused error message about implied do loop
@ 2005-02-13 19:32 Thomas dot Koenig at online dot de
  2005-02-13 20:51 ` [Bug fortran/19936] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-02-13 19:32 UTC (permalink / raw)
  To: gcc-bugs

$ cat implied_parameter.f90
program main
  integer, parameter :: i=4
  print *,(/(i,i=1,4)/)
end program main
$ gfortran implied_parameter.f90
 In file implied_parameter.f90:3

  print *,(/(i,i=1,4)/)
               1
Error: Syntax error in COMPLEX constant at (1)
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,f95
Thread model: posix
gcc version 4.0.0 20050212 (experimental)

-- 
           Summary: confused error message about implied do loop
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19936


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/19936] confused error message about implied do loop
  2005-02-13 19:32 [Bug fortran/19936] New: confused error message about implied do loop Thomas dot Koenig at online dot de
@ 2005-02-13 20:51 ` pinskia at gcc dot gnu dot org
  2005-02-14  0:25 ` sgk at troutmask dot apl dot washington dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-13 20:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-13 14:11 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-13 14:11:10
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19936


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/19936] confused error message about implied do loop
  2005-02-13 19:32 [Bug fortran/19936] New: confused error message about implied do loop Thomas dot Koenig at online dot de
  2005-02-13 20:51 ` [Bug fortran/19936] " pinskia at gcc dot gnu dot org
@ 2005-02-14  0:25 ` sgk at troutmask dot apl dot washington dot edu
  2005-03-05 23:36 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sgk at troutmask dot apl dot washington dot edu @ 2005-02-14  0:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sgk at troutmask dot apl dot washington dot edu  2005-02-13 18:00 -------
For a long winded explanation and patch, see

http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00643.html

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19936


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/19936] confused error message about implied do loop
  2005-02-13 19:32 [Bug fortran/19936] New: confused error message about implied do loop Thomas dot Koenig at online dot de
  2005-02-13 20:51 ` [Bug fortran/19936] " pinskia at gcc dot gnu dot org
  2005-02-14  0:25 ` sgk at troutmask dot apl dot washington dot edu
@ 2005-03-05 23:36 ` cvs-commit at gcc dot gnu dot org
  2005-03-05 23:40 ` cvs-commit at gcc dot gnu dot org
  2005-03-05 23:46 ` kargl at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-05 23:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-05 23:35 -------
Subject: Bug 19936

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	kargl@gcc.gnu.org	2005-03-05 23:35:46

Modified files:
	gcc/fortran    : ChangeLog primary.c 

Log message:
	PR 19936
	* primary.c (match_complex_constant): Mangled complex constant may
	be an implied do-loop.  Give implied do-loop matcher a chance.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.345&r2=1.346
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/primary.c.diff?cvsroot=gcc&r1=1.23&r2=1.24



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19936


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/19936] confused error message about implied do loop
  2005-02-13 19:32 [Bug fortran/19936] New: confused error message about implied do loop Thomas dot Koenig at online dot de
                   ` (2 preceding siblings ...)
  2005-03-05 23:36 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-05 23:40 ` cvs-commit at gcc dot gnu dot org
  2005-03-05 23:46 ` kargl at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-05 23:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-05 23:39 -------
Subject: Bug 19936

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	kargl@gcc.gnu.org	2005-03-05 23:39:52

Modified files:
	gcc/fortran    : ChangeLog primary.c 

Log message:
	PR fortran/19936
	* primary.c (match_complex_constant): Mangled complex constant may
	be an implied do-loop.  Give implied do-loop matcher a chance.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.8&r2=1.335.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/primary.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.22.2.1&r2=1.22.2.2



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19936


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/19936] confused error message about implied do loop
  2005-02-13 19:32 [Bug fortran/19936] New: confused error message about implied do loop Thomas dot Koenig at online dot de
                   ` (3 preceding siblings ...)
  2005-03-05 23:40 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-05 23:46 ` kargl at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-03-05 23:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kargl at gcc dot gnu dot org  2005-03-05 23:46 -------
Fixed.  A saner error message is generated for mangled implied-do loops.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19936


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-05 23:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-13 19:32 [Bug fortran/19936] New: confused error message about implied do loop Thomas dot Koenig at online dot de
2005-02-13 20:51 ` [Bug fortran/19936] " pinskia at gcc dot gnu dot org
2005-02-14  0:25 ` sgk at troutmask dot apl dot washington dot edu
2005-03-05 23:36 ` cvs-commit at gcc dot gnu dot org
2005-03-05 23:40 ` cvs-commit at gcc dot gnu dot org
2005-03-05 23:46 ` kargl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).