public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC
@ 2004-05-27 11:51 dtucker at arlut dot utexas dot edu
2004-05-27 12:09 ` [Bug fortran/15665] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: dtucker at arlut dot utexas dot edu @ 2004-05-27 11:51 UTC (permalink / raw)
To: gcc-bugs
[dtucker@mordy mpe]$ /usr/bin/gfortran-ssa -v
Reading specs from /lib/ssa/gcc/i686-redhat-linux/3.5-tree-ssa/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --libdir=/lib/ssa --libexecdir=/lib/ssa --host=i686-
redhat-linux --enable-shared --enable-threads=posix --disable-checking --enable-
languages=c,c++,java,objc,f95 --with-system-zlib --enable-__cxa_atexit --
disable-multilib
Thread model: posix
gcc version 3.5-tree-ssa 20040513 (Fedora Core Rawhide 3.5ssa-snapshot)
[dtucker@mordy mpe]$ uname -a
Linux mordy 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
Pentium III
[dtucker@mordy mpe]$ /usr/bin/gfortran-ssa -c -save-temps farg.f
farg.f: In function `mpir_iargc':
farg.f:3: internal compiler error: in gfc_conv_intrinsic_function, at
fortran/trans-intrinsic.c:2589
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
farg.f:
integer function mpir_iargc()
mpir_iargc = IARGC()
return
end
c
subroutine mpir_getarg( i, s )
integer i
character (LEN=*) s
external getarg
call GETARG(i,s)
return
end
--
Summary: unable to compile file w/ reference to GETARG/IARGC
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dtucker at arlut dot utexas dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
@ 2004-05-27 12:09 ` pinskia at gcc dot gnu dot org
2004-06-09 2:44 ` bdavis at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-27 12:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-26 19:52 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Known to fail| |3.5.0
Last reconfirmed|0000-00-00 00:00:00 |2004-05-26 19:52:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
2004-05-27 12:09 ` [Bug fortran/15665] " pinskia at gcc dot gnu dot org
@ 2004-06-09 2:44 ` bdavis at gcc dot gnu dot org
2004-06-12 14:50 ` [Bug fortran/15665] [gfortran] " cvs-commit at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-06-09 2:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bdavis at gcc dot gnu dot org 2004-06-09 02:44 -------
here is a proposed patch for part of the problem:
http://gcc.gnu.org/ml/fortran/2004-06/msg00055.html
--bud
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] [gfortran] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
2004-05-27 12:09 ` [Bug fortran/15665] " pinskia at gcc dot gnu dot org
2004-06-09 2:44 ` bdavis at gcc dot gnu dot org
@ 2004-06-12 14:50 ` cvs-commit at gcc dot gnu dot org
2004-06-12 15:03 ` tobi at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-12 14:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-12 14:50 -------
Subject: Bug 15665
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tobi@gcc.gnu.org 2004-06-12 14:50:49
Modified files:
gcc/testsuite : ChangeLog
libgfortran : ChangeLog
Log message:
PR fortran/15665 Fixup ChangeLog from my previous commit
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3847&r2=1.3848
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.28&r2=1.29
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] [gfortran] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
` (2 preceding siblings ...)
2004-06-12 14:50 ` [Bug fortran/15665] [gfortran] " cvs-commit at gcc dot gnu dot org
@ 2004-06-12 15:03 ` tobi at gcc dot gnu dot org
2004-06-29 18:37 ` [Bug fortran/15665] " jblomqvi at cc dot hut dot fi
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-12 15:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-12 15:03 -------
>From the mailing list:
>I added the PR to the ChangeLog entries. Is all of PR 15665 fixed now?
No, iargc still ICEs.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
` (3 preceding siblings ...)
2004-06-12 15:03 ` tobi at gcc dot gnu dot org
@ 2004-06-29 18:37 ` jblomqvi at cc dot hut dot fi
2004-06-30 9:30 ` jblomqvi at cc dot hut dot fi
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jblomqvi at cc dot hut dot fi @ 2004-06-29 18:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jblomqvi at cc dot hut dot fi 2004-06-29 18:35 -------
Patch for iargc() ICE here:
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg02526.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
` (4 preceding siblings ...)
2004-06-29 18:37 ` [Bug fortran/15665] " jblomqvi at cc dot hut dot fi
@ 2004-06-30 9:30 ` jblomqvi at cc dot hut dot fi
2004-07-04 17:00 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jblomqvi at cc dot hut dot fi @ 2004-06-30 9:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jblomqvi at cc dot hut dot fi 2004-06-30 09:18 -------
Bugfixed version of the previous patch here
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg02580.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
` (5 preceding siblings ...)
2004-06-30 9:30 ` jblomqvi at cc dot hut dot fi
@ 2004-07-04 17:00 ` cvs-commit at gcc dot gnu dot org
2004-07-04 18:49 ` pinskia at gcc dot gnu dot org
2004-07-10 0:30 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-04 17:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-04 17:00 -------
Subject: Bug 15665
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pbrook@gcc.gnu.org 2004-07-04 17:00:12
Modified files:
gcc/fortran : ChangeLog gfortran.h intrinsic.c intrinsic.h
iresolve.c trans-decl.c trans-intrinsic.c
trans.h
libgfortran : ChangeLog libgfortran.h
libgfortran/intrinsics: args.c
Log message:
PR fortran/15280
PR fortran/15665
* gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_IARGC and
GFC_ISYM_COMMAND_ARGUMENT_COUNT.
* intrinsic.c (add_functions): Identify iargc. Add
command_argument_count.
(add_subroutines): Resolve getarg. Add get_command and
get_command_argument.
* intrinsic.h (gfc_resolve_getarg, gfc_resolve_get_command,
gfc_resolve_get_command_argument): Add prototypes.
* iresolve.c (gfc_resolve_getarg, gfc_resolve_get_command,
gfc_resolve_get_command_argument): New functions.
* trans-decl.c (gfor_fndecl_iargc): New variable.
(gfc_build_intrinsic_function_decls): Set it.
* trans-intrinsic.c (gfc_conv_intrinsic_iargc): New function.
(gfc_conv_intrinsic_function): Use it.
* trans.h (gfor_fndecl_iargc): Declare.
libgfortran/
* libgfortran.h (gfc_strlen_type): Define.
* intrinsics/args.c (getarg): Rename ...
(getarg_i4): ... to this.
(getarg_i8, get_command_argument_i4, get_command_argument_i8,
get_command_i4, get_command_i8): New functions.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.101&r2=1.102
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/gfortran.h.diff?cvsroot=gcc&r1=1.16&r2=1.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.c.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/intrinsic.h.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-decl.c.diff?cvsroot=gcc&r1=1.17&r2=1.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-intrinsic.c.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans.h.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.46&r2=1.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/libgfortran.h.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/args.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
` (6 preceding siblings ...)
2004-07-04 17:00 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-04 18:49 ` pinskia at gcc dot gnu dot org
2004-07-10 0:30 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-04 18:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-04 18:49 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/15665] unable to compile file w/ reference to GETARG/IARGC
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
` (7 preceding siblings ...)
2004-07-04 18:49 ` pinskia at gcc dot gnu dot org
@ 2004-07-10 0:30 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-10 0:30 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-07-10 0:29 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-27 11:51 [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC dtucker at arlut dot utexas dot edu
2004-05-27 12:09 ` [Bug fortran/15665] " pinskia at gcc dot gnu dot org
2004-06-09 2:44 ` bdavis at gcc dot gnu dot org
2004-06-12 14:50 ` [Bug fortran/15665] [gfortran] " cvs-commit at gcc dot gnu dot org
2004-06-12 15:03 ` tobi at gcc dot gnu dot org
2004-06-29 18:37 ` [Bug fortran/15665] " jblomqvi at cc dot hut dot fi
2004-06-30 9:30 ` jblomqvi at cc dot hut dot fi
2004-07-04 17:00 ` cvs-commit at gcc dot gnu dot org
2004-07-04 18:49 ` pinskia at gcc dot gnu dot org
2004-07-10 0:30 ` 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).