public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/20246] New: libfortran: iargc off-by-one error
@ 2005-02-28 17:04 anlauf at hep dot tu-darmstadt dot de
2005-02-28 20:39 ` [Bug libfortran/20246] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: anlauf at hep dot tu-darmstadt dot de @ 2005-02-28 17:04 UTC (permalink / raw)
To: gcc-bugs
Hi,
there is an obvious off-by-one error in gfortran's implementation of
the IARGC() intrinsic:
program iargc_test
implicit none
integer :: iargc
print *, iargc ()
end program iargc_test
% gfortran iargc_test.f90 && ./a.out
prints 1 instead of zero.
Cheers,
-ha
--
Summary: libfortran: iargc off-by-one error
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anlauf at hep dot tu-darmstadt dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20246
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libfortran/20246] libfortran: iargc off-by-one error
2005-02-28 17:04 [Bug libfortran/20246] New: libfortran: iargc off-by-one error anlauf at hep dot tu-darmstadt dot de
@ 2005-02-28 20:39 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-28 20:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-28 13:45 -------
Note I think it is time either to read the gfortran list or to look for duplicates, both of the issues you
raised have been discussed on the list.
This is a dup of bug 20085 which is already fixed.
*** This bug has been marked as a duplicate of 20085 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20246
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-28 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-28 17:04 [Bug libfortran/20246] New: libfortran: iargc off-by-one error anlauf at hep dot tu-darmstadt dot de
2005-02-28 20:39 ` [Bug libfortran/20246] " 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).