public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33015] New: F66/Vendor extension: Implement support for DATA jhlf/'f'/
@ 2007-08-07 19:45 burnus at gcc dot gnu dot org
2007-08-07 20:14 ` [Bug fortran/33015] g77/F66/vendor extension: Implement support for DATA jhlf /'f'/ burnus at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-08-07 19:45 UTC (permalink / raw)
To: gcc-bugs
Possible extension to be added is the support of:
data jhlf,jhlg/'f','g'/
Which is interpreted as follows (thanks to Steve Lionel of Intel):
| The character literals are blank-padded on the right to the length of the
| corresponding variables (or truncated as necessary) and then the ASCII
| equivalent is assigned. So what you have here could be replaced by:
|
| data jhlf,jhlg /Z'20202066',Z'20202067'/
|
| or use transfer('f ',jhlf), etc.
|
| Effectively, this is the old F66 Hollerith constant style of
| programming.
Found in Cowan's rcn program, which started in 1961.
ftp://aphysics.lanl.gov/pub/cowan/
I don't feel strong about it, but it would make life easier for such old
programs.
Actually, ifort also supports:
integer :: jhlf
jhlf = 'f'
Such a character -> integer/real/complex conversion would be something for
-std=legacy.
--
Summary: F66/Vendor extension: Implement support for DATA
jhlf/'f'/
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33015
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/33015] g77/F66/vendor extension: Implement support for DATA jhlf /'f'/
2007-08-07 19:45 [Bug fortran/33015] New: F66/Vendor extension: Implement support for DATA jhlf/'f'/ burnus at gcc dot gnu dot org
@ 2007-08-07 20:14 ` burnus at gcc dot gnu dot org
2007-08-15 11:55 ` [Bug fortran/33015] g77 " fxcoudert at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-08-07 20:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from burnus at gcc dot gnu dot org 2007-08-07 20:13 -------
Just for completeness: This is a regression with regards to g77.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.3.0
Known to work| |3.3.5
Summary|F66/Vendor extension: |g77/F66/vendor extension:
|Implement support for DATA |Implement support for DATA
|jhlf/'f'/ |jhlf /'f'/
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33015
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/33015] g77 extension: Implement support for DATA jhlf /'f'/
2007-08-07 19:45 [Bug fortran/33015] New: F66/Vendor extension: Implement support for DATA jhlf/'f'/ burnus at gcc dot gnu dot org
2007-08-07 20:14 ` [Bug fortran/33015] g77/F66/vendor extension: Implement support for DATA jhlf /'f'/ burnus at gcc dot gnu dot org
@ 2007-08-15 11:55 ` fxcoudert at gcc dot gnu dot org
2010-05-11 16:38 ` dfranke at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-15 11:55 UTC (permalink / raw)
To: gcc-bugs
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-08-15 11:55:37
date| |
Summary|g77/F66/vendor extension: |g77 extension: Implement
|Implement support for DATA |support for DATA jhlf /'f'/
|jhlf /'f'/ |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33015
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/33015] g77 extension: Implement support for DATA jhlf /'f'/
2007-08-07 19:45 [Bug fortran/33015] New: F66/Vendor extension: Implement support for DATA jhlf/'f'/ burnus at gcc dot gnu dot org
2007-08-07 20:14 ` [Bug fortran/33015] g77/F66/vendor extension: Implement support for DATA jhlf /'f'/ burnus at gcc dot gnu dot org
2007-08-15 11:55 ` [Bug fortran/33015] g77 " fxcoudert at gcc dot gnu dot org
@ 2010-05-11 16:38 ` dfranke at gcc dot gnu dot org
2010-05-12 3:28 ` jvdelisle at gcc dot gnu dot org
2010-05-12 12:27 ` dfranke at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-05-11 16:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dfranke at gcc dot gnu dot org 2010-05-11 16:38 -------
(In reply to comment #1)
> Just for completeness: This is a regression with regards to g77.
The standards are a mouthful already. Do we need every extension that there
ever was? Besides this PR, demand was non-existent, as far as I can tell.
How about: document the absence of this feature and close as WONTFIX?
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33015
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/33015] g77 extension: Implement support for DATA jhlf /'f'/
2007-08-07 19:45 [Bug fortran/33015] New: F66/Vendor extension: Implement support for DATA jhlf/'f'/ burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-05-11 16:38 ` dfranke at gcc dot gnu dot org
@ 2010-05-12 3:28 ` jvdelisle at gcc dot gnu dot org
2010-05-12 12:27 ` dfranke at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2010-05-12 3:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2010-05-12 03:28 -------
With all due respect for Cowan, I think that the program should be revised to
use standard code, or at least not use this particular feature. The last
revision of the program was in 2004. I agree we should close this PR.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33015
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/33015] g77 extension: Implement support for DATA jhlf /'f'/
2007-08-07 19:45 [Bug fortran/33015] New: F66/Vendor extension: Implement support for DATA jhlf/'f'/ burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-05-12 3:28 ` jvdelisle at gcc dot gnu dot org
@ 2010-05-12 12:27 ` dfranke at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-05-12 12:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-12 12:26 -------
*** Bug 41218 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33015
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-05-12 12:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-07 19:45 [Bug fortran/33015] New: F66/Vendor extension: Implement support for DATA jhlf/'f'/ burnus at gcc dot gnu dot org
2007-08-07 20:14 ` [Bug fortran/33015] g77/F66/vendor extension: Implement support for DATA jhlf /'f'/ burnus at gcc dot gnu dot org
2007-08-15 11:55 ` [Bug fortran/33015] g77 " fxcoudert at gcc dot gnu dot org
2010-05-11 16:38 ` dfranke at gcc dot gnu dot org
2010-05-12 3:28 ` jvdelisle at gcc dot gnu dot org
2010-05-12 12:27 ` dfranke 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).