public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning
@ 2004-07-08 13:02 billingd at gcc dot gnu dot org
  2004-07-11 12:29 ` [Bug fortran/16433] " tobi at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: billingd at gcc dot gnu dot org @ 2004-07-08 13:02 UTC (permalink / raw)
  To: gcc-bugs

The following code, derived from g77.dg/pr5473.f, gives an incorrect warning.
I think it is standard Fortran 77/90/95.

      real x
      double precision dx
      x = 2.0
      dx = x
      end


/usr/local/obj/gcc-f/gcc/testsuite/../gfortran -B/usr/local/obj/gcc-
f/gcc/testsuite/../ /usr/local/src/gcc/gcc/testsuite/gfortran.dg/pr5473a.f -
O0 -pedantic-errors -S -o pr5473a.s
 In file /usr/local/src/gcc/gcc/testsuite/gfortran.dg/pr5473a.f:4

      dx = x
           1
Warning: Extension: Hexadecimal constant at (1) uses non-standard syntax.

-- 
           Summary: gfortran wrong hexadecimal constant warning
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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

* [Bug fortran/16433] gfortran wrong hexadecimal constant warning
  2004-07-08 13:02 [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning billingd at gcc dot gnu dot org
@ 2004-07-11 12:29 ` tobi at gcc dot gnu dot org
  2004-07-11 14:50 ` tobi at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-07-11 12:29 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-11 12:29:18
               date|                            |


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


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

* [Bug fortran/16433] gfortran wrong hexadecimal constant warning
  2004-07-08 13:02 [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning billingd at gcc dot gnu dot org
  2004-07-11 12:29 ` [Bug fortran/16433] " tobi at gcc dot gnu dot org
@ 2004-07-11 14:50 ` tobi at gcc dot gnu dot org
  2004-07-11 15:06 ` [Bug fortran/16433] " cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-07-11 14:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-07-11 14:50 -------
Patch here: http://gcc.gnu.org/ml/fortran/2004-07/msg00127.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic, patch
            Summary|wrong hexadecimal constant  |gfortran wrong hexadecimal
                   |warning                     |constant warning


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


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

* [Bug fortran/16433] wrong hexadecimal constant warning
  2004-07-08 13:02 [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning billingd at gcc dot gnu dot org
  2004-07-11 12:29 ` [Bug fortran/16433] " tobi at gcc dot gnu dot org
  2004-07-11 14:50 ` tobi at gcc dot gnu dot org
@ 2004-07-11 15:06 ` cvs-commit at gcc dot gnu dot org
  2004-07-11 15:07 ` tobi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-11 15:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-11 15:06 -------
Subject: Bug 16433

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-07-11 15:06:43

Modified files:
	gcc/fortran    : ChangeLog primary.c 

Log message:
	PR fortran/16433
	* primary.c (match_boz_constant): Call gfc_notify_std only if
	we actually have a non-standard boz-literal-constant.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.121&r2=1.122
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/primary.c.diff?cvsroot=gcc&r1=1.7&r2=1.8



-- 


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


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

* [Bug fortran/16433] wrong hexadecimal constant warning
  2004-07-08 13:02 [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning billingd at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-11 15:06 ` [Bug fortran/16433] " cvs-commit at gcc dot gnu dot org
@ 2004-07-11 15:07 ` tobi at gcc dot gnu dot org
  2004-07-11 15:21 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-07-11 15:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-07-11 15:07 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug fortran/16433] wrong hexadecimal constant warning
  2004-07-08 13:02 [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning billingd at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-07-11 15:07 ` tobi at gcc dot gnu dot org
@ 2004-07-11 15:21 ` cvs-commit at gcc dot gnu dot org
  2004-07-11 16:52 ` cvs-commit at gcc dot gnu dot org
  2004-07-12  5:41 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-11 15:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-11 15:21 -------
Subject: Bug 16433

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-07-11 15:21:52

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: pr16433.f 

Log message:
	PR fortran/16433
	* gfortran.dg/pr16433.f: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3983&r2=1.3984
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr16433.f.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug fortran/16433] wrong hexadecimal constant warning
  2004-07-08 13:02 [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning billingd at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-07-11 15:21 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-11 16:52 ` cvs-commit at gcc dot gnu dot org
  2004-07-12  5:41 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-11 16:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-11 16:52 -------
Subject: Bug 16433

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-07-11 16:52:50

Modified files:
	gcc/fortran    : expr.c lang.opt options.c 

Log message:
	PR fortran/16433
	* gfortran.dg/pr16433.f: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/expr.c.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/lang.opt.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/options.c.diff?cvsroot=gcc&r1=1.5&r2=1.6



-- 


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


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

* [Bug fortran/16433] wrong hexadecimal constant warning
  2004-07-08 13:02 [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning billingd at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-07-11 16:52 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-12  5:41 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12  5:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


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


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

end of thread, other threads:[~2004-07-12  5:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-08 13:02 [Bug fortran/16433] New: gfortran wrong hexadecimal constant warning billingd at gcc dot gnu dot org
2004-07-11 12:29 ` [Bug fortran/16433] " tobi at gcc dot gnu dot org
2004-07-11 14:50 ` tobi at gcc dot gnu dot org
2004-07-11 15:06 ` [Bug fortran/16433] " cvs-commit at gcc dot gnu dot org
2004-07-11 15:07 ` tobi at gcc dot gnu dot org
2004-07-11 15:21 ` cvs-commit at gcc dot gnu dot org
2004-07-11 16:52 ` cvs-commit at gcc dot gnu dot org
2004-07-12  5:41 ` 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).