public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/24646]  New: accepting invalid label
@ 2005-11-02 22:38 uttamp at us dot ibm dot com
  2005-11-02 22:42 ` [Bug fortran/24646] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: uttamp at us dot ibm dot com @ 2005-11-02 22:38 UTC (permalink / raw)
  To: gcc-bugs

$ cat tst.f
program test
199999     real :: a=5
end program test

$ gfortran tst.f
In file ice.f90:2

199999       a=5
   1
Warning: Ignoring bad statement label at (1)

I think the compiler should give hard error with error message something like 
"label must be less than or equal to five digits", or 
"Statement label contains more than 5 digits.".


-- 
           Summary: accepting invalid label
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: uttamp at us dot ibm dot com
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux


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


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

* [Bug fortran/24646] accepting invalid label
  2005-11-02 22:38 [Bug fortran/24646] New: accepting invalid label uttamp at us dot ibm dot com
@ 2005-11-02 22:42 ` pinskia at gcc dot gnu dot org
  2005-11-09 18:43 ` tobi at gcc dot gnu dot org
  2006-01-03 17:06 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-02 22:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-02 22:42 -------
Confirmed, even with -std=f95/-pedantic.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-02 22:42:19
               date|                            |


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


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

* [Bug fortran/24646] accepting invalid label
  2005-11-02 22:38 [Bug fortran/24646] New: accepting invalid label uttamp at us dot ibm dot com
  2005-11-02 22:42 ` [Bug fortran/24646] " pinskia at gcc dot gnu dot org
@ 2005-11-09 18:43 ` tobi at gcc dot gnu dot org
  2006-01-03 17:06 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-11-09 18:43 UTC (permalink / raw)
  To: gcc-bugs



-- 

tobi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


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


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

* [Bug fortran/24646] accepting invalid label
  2005-11-02 22:38 [Bug fortran/24646] New: accepting invalid label uttamp at us dot ibm dot com
  2005-11-02 22:42 ` [Bug fortran/24646] " pinskia at gcc dot gnu dot org
  2005-11-09 18:43 ` tobi at gcc dot gnu dot org
@ 2006-01-03 17:06 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-03 17:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-03 17:06 -------
Not PPC specific.

Also fixed in 4.1.0 and above:
 In file t.f90:3

199999     real :: a=5
     1
Error: Too many digits in statement label at (1)


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
  GCC build triplet|powerpc64-linux             |
   GCC host triplet|powerpc64-linux             |
 GCC target triplet|powerpc64-linux             |
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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



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

end of thread, other threads:[~2006-01-03 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-02 22:38 [Bug fortran/24646] New: accepting invalid label uttamp at us dot ibm dot com
2005-11-02 22:42 ` [Bug fortran/24646] " pinskia at gcc dot gnu dot org
2005-11-09 18:43 ` tobi at gcc dot gnu dot org
2006-01-03 17:06 ` pinskia 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).