public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20897] New: error needed
@ 2005-04-08 16:06 jv244 at cam dot ac dot uk
2005-05-19 17:50 ` [Bug fortran/20897] derived type name shall not be same as intrinsic type name tobi at gcc dot gnu dot org
2005-06-19 7:15 ` fxcoudert at gcc dot gnu dot org
0 siblings, 2 replies; 7+ messages in thread
From: jv244 at cam dot ac dot uk @ 2005-04-08 16:06 UTC (permalink / raw)
To: gcc-bugs
The following is non-standard and the compiler should probably generate a
warning/error with '-pedantic -std=f95'
TYPE doubleprecision
REAL x
END TYPE
END
--
Summary: error needed
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20897
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/20897] derived type name shall not be same as intrinsic type name
2005-04-08 16:06 [Bug fortran/20897] New: error needed jv244 at cam dot ac dot uk
@ 2005-05-19 17:50 ` tobi at gcc dot gnu dot org
2005-06-19 7:15 ` fxcoudert at gcc dot gnu dot org
1 sibling, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-05-19 17:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-05-19 17:27 -------
second constraint in 4.4.1
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Summary|error needed |derived type name shall not
| |be same as intrinsic type
| |name
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20897
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/20897] derived type name shall not be same as intrinsic type name
2005-04-08 16:06 [Bug fortran/20897] New: error needed jv244 at cam dot ac dot uk
2005-05-19 17:50 ` [Bug fortran/20897] derived type name shall not be same as intrinsic type name tobi at gcc dot gnu dot org
@ 2005-06-19 7:15 ` fxcoudert at gcc dot gnu dot org
1 sibling, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-19 7:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-19 07:15 -------
"A derived type name can not be the same as the name of any intrinsic type
[DOUBLEPRECISION]", says Intel. Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC target triplet|i686-pc-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2005-06-19 07:15:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20897
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/20897] derived type name shall not be same as intrinsic type name
[not found] <bug-20897-6642@http.gcc.gnu.org/bugzilla/>
2007-03-22 14:36 ` tobi at gcc dot gnu dot org
2007-03-22 15:37 ` tobi at gcc dot gnu dot org
@ 2007-03-22 15:39 ` tobi at gcc dot gnu dot org
2007-03-22 15:39 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-03-22 15:39 UTC (permalink / raw)
To: gcc-bugs
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20897
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/20897] derived type name shall not be same as intrinsic type name
[not found] <bug-20897-6642@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2007-03-22 15:39 ` tobi at gcc dot gnu dot org
@ 2007-03-22 15:39 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-03-22 15:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from tobi at gcc dot gnu dot org 2007-03-22 15:39 -------
Fixed on the mainline.
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20897
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/20897] derived type name shall not be same as intrinsic type name
[not found] <bug-20897-6642@http.gcc.gnu.org/bugzilla/>
2007-03-22 14:36 ` tobi at gcc dot gnu dot org
@ 2007-03-22 15:37 ` tobi at gcc dot gnu dot org
2007-03-22 15:39 ` tobi at gcc dot gnu dot org
2007-03-22 15:39 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-03-22 15:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tobi at gcc dot gnu dot org 2007-03-22 15:37 -------
Subject: Bug 20897
Author: tobi
Date: Thu Mar 22 15:37:25 2007
New Revision: 123129
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123129
Log:
PR fortran/20897
fortran/
* decl.c (gfc_match_derived_decl): Reliably reject
'doubleprecision' and 'doublecomplex' as type names.
testsuite/
* gfortran.dg/derived_name_1.f90: New.
* gfortran.dg/derived_name_2.f: New.
Added:
trunk/gcc/testsuite/gfortran.dg/derived_name_1.f90
trunk/gcc/testsuite/gfortran.dg/derived_name_2.f
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20897
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/20897] derived type name shall not be same as intrinsic type name
[not found] <bug-20897-6642@http.gcc.gnu.org/bugzilla/>
@ 2007-03-22 14:36 ` tobi at gcc dot gnu dot org
2007-03-22 15:37 ` tobi at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2007-03-22 14:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tobi at gcc dot gnu dot org 2007-03-22 14:36 -------
I'm testing a very simple fix.
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tobi at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-12-30 19:45:20 |2007-03-22 14:36:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20897
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-03-22 15:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08 16:06 [Bug fortran/20897] New: error needed jv244 at cam dot ac dot uk
2005-05-19 17:50 ` [Bug fortran/20897] derived type name shall not be same as intrinsic type name tobi at gcc dot gnu dot org
2005-06-19 7:15 ` fxcoudert at gcc dot gnu dot org
[not found] <bug-20897-6642@http.gcc.gnu.org/bugzilla/>
2007-03-22 14:36 ` tobi at gcc dot gnu dot org
2007-03-22 15:37 ` tobi at gcc dot gnu dot org
2007-03-22 15:39 ` tobi at gcc dot gnu dot org
2007-03-22 15:39 ` tobi 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).