public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20895] New: error needed
@ 2005-04-08 16:05 jv244 at cam dot ac dot uk
2005-05-19 17:33 ` [Bug fortran/20895] " tobi at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jv244 at cam dot ac dot uk @ 2005-04-08 16:05 UTC (permalink / raw)
To: gcc-bugs
The following is non-standard and the compiler should probably generate a
warning/error with '-pedantic -std=f95'
CHARACTER(LEN=10), TARGET :: a
CHARACTER(LEN=4), POINTER :: b
b=>a
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=20895
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/20895] error needed
2005-04-08 16:05 [Bug fortran/20895] New: error needed jv244 at cam dot ac dot uk
@ 2005-05-19 17:33 ` tobi at gcc dot gnu dot org
2005-06-25 18:44 ` fxcoudert at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-05-19 17:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-05-19 17:23 -------
I don't think so, I'm sure this code is valid, but I believe you know the
standard well enough to justify your statement.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20895
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/20895] error needed
2005-04-08 16:05 [Bug fortran/20895] New: error needed jv244 at cam dot ac dot uk
2005-05-19 17:33 ` [Bug fortran/20895] " tobi at gcc dot gnu dot org
@ 2005-06-25 18:44 ` fxcoudert at gcc dot gnu dot org
2005-09-30 20:52 ` pinskia at gcc dot gnu dot org
2005-09-30 21:07 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-25 18:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-25 18:44 -------
Well, don't know the standard reference, but the Sun compiler does error out on
this code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20895
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/20895] error needed
2005-04-08 16:05 [Bug fortran/20895] New: error needed jv244 at cam dot ac dot uk
2005-05-19 17:33 ` [Bug fortran/20895] " tobi at gcc dot gnu dot org
2005-06-25 18:44 ` fxcoudert at gcc dot gnu dot org
@ 2005-09-30 20:52 ` pinskia at gcc dot gnu dot org
2005-09-30 21:07 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30 20:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-30 20:52 -------
I am going to go out on a limb and say this is invalid so confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Keywords| |accepts-invalid
Last reconfirmed|0000-00-00 00:00:00 |2005-09-30 20:52:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20895
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/20895] error needed
2005-04-08 16:05 [Bug fortran/20895] New: error needed jv244 at cam dot ac dot uk
` (2 preceding siblings ...)
2005-09-30 20:52 ` pinskia at gcc dot gnu dot org
@ 2005-09-30 21:07 ` tobi at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-09-30 21:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2005-09-30 21:07 -------
Length is a type parameter. All type parameters shall be identical in a POINTER
assignment. Hence the example is illegal.
This means that bound checking should reject the following for i /= 5:
character*5, pointer :: p
character*10, target :: t
p => t(1:i)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20895
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-30 21:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08 16:05 [Bug fortran/20895] New: error needed jv244 at cam dot ac dot uk
2005-05-19 17:33 ` [Bug fortran/20895] " tobi at gcc dot gnu dot org
2005-06-25 18:44 ` fxcoudert at gcc dot gnu dot org
2005-09-30 20:52 ` pinskia at gcc dot gnu dot org
2005-09-30 21:07 ` 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).