public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/23663] New: Compiler fails on valid code
@ 2005-08-31 21:39 federico dot carminati at cern dot ch
2005-08-31 21:39 ` [Bug fortran/23663] " federico dot carminati at cern dot ch
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: federico dot carminati at cern dot ch @ 2005-08-31 21:39 UTC (permalink / raw)
To: gcc-bugs
The following code does not compile
function ibug()
ibug=0
return
entry ierror()
ierror=0
ierror=max(ierror,1)
return
end
error is
[/Users/fca] /opt/gcc-4_0/bin/gfortran -c junk.f
In file junk.f:6
ierror=max(ierror,1)
1
Error: 'a1' argument of 'max' intrinsic at (1) must be INTEGER or REAL
--
Summary: Compiler fails on valid code
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: federico dot carminati at cern dot ch
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: Darwin 8.2.0 Power Macintosh powerpc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23663
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/23663] Compiler fails on valid code
2005-08-31 21:39 [Bug fortran/23663] New: Compiler fails on valid code federico dot carminati at cern dot ch
@ 2005-08-31 21:39 ` federico dot carminati at cern dot ch
2005-08-31 22:11 ` [Bug fortran/23663] rejects entry point as a value pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: federico dot carminati at cern dot ch @ 2005-08-31 21:39 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |alfredo dot ferrari at cern
| |dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23663
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/23663] rejects entry point as a value
2005-08-31 21:39 [Bug fortran/23663] New: Compiler fails on valid code federico dot carminati at cern dot ch
2005-08-31 21:39 ` [Bug fortran/23663] " federico dot carminati at cern dot ch
@ 2005-08-31 22:11 ` pinskia at gcc dot gnu dot org
2005-09-13 9:57 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 22:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 22:10 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC host triplet|Darwin 8.2.0 Power Macintosh|
|powerpc |
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2005-08-31 22:10:24
date| |
Summary|Compiler fails on valid code|rejects entry point as a
| |value
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23663
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/23663] rejects entry point as a value
2005-08-31 21:39 [Bug fortran/23663] New: Compiler fails on valid code federico dot carminati at cern dot ch
2005-08-31 21:39 ` [Bug fortran/23663] " federico dot carminati at cern dot ch
2005-08-31 22:11 ` [Bug fortran/23663] rejects entry point as a value pinskia at gcc dot gnu dot org
@ 2005-09-13 9:57 ` jakub at gcc dot gnu dot org
2005-09-20 14:38 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-09-13 9:57 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-08-31 22:10:24 |2005-09-13 09:57:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23663
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/23663] rejects entry point as a value
2005-08-31 21:39 [Bug fortran/23663] New: Compiler fails on valid code federico dot carminati at cern dot ch
` (2 preceding siblings ...)
2005-09-13 9:57 ` jakub at gcc dot gnu dot org
@ 2005-09-20 14:38 ` cvs-commit at gcc dot gnu dot org
2005-09-20 14:54 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-20 14:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-20 14:38 -------
Subject: Bug 23663
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jakub@gcc.gnu.org 2005-09-20 14:37:45
Modified files:
gcc/fortran : ChangeLog
gcc/testsuite : ChangeLog
gcc/fortran : primary.c
Added files:
gcc/testsuite/gfortran.fortran-torture/execute: entry_11.f90
Log message:
PR fortran/23663
* primary.c (match_actual_arg): Handle ENTRY the same way
as FUNCTION.
* gfortran.fortran-torture/execute/entry_11.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.561&r2=1.562
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6081&r2=1.6082
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/primary.c.diff?cvsroot=gcc&r1=1.37&r2=1.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/entry_11.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23663
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/23663] rejects entry point as a value
2005-08-31 21:39 [Bug fortran/23663] New: Compiler fails on valid code federico dot carminati at cern dot ch
` (3 preceding siblings ...)
2005-09-20 14:38 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-20 14:54 ` pinskia at gcc dot gnu dot org
2005-09-29 16:03 ` cvs-commit at gcc dot gnu dot org
2005-09-29 16:18 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-20 14:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-20 14:54 -------
Fixed in 4.1.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23663
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/23663] rejects entry point as a value
2005-08-31 21:39 [Bug fortran/23663] New: Compiler fails on valid code federico dot carminati at cern dot ch
` (4 preceding siblings ...)
2005-09-20 14:54 ` pinskia at gcc dot gnu dot org
@ 2005-09-29 16:03 ` cvs-commit at gcc dot gnu dot org
2005-09-29 16:18 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-29 16:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-29 16:03 -------
Subject: Bug 23663
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: jakub@gcc.gnu.org 2005-09-29 16:02:25
Modified files:
gcc/fortran : ChangeLog
gcc/testsuite : ChangeLog
gcc/fortran : primary.c
Added files:
gcc/testsuite/gfortran.fortran-torture/execute: entry_11.f90
Log message:
PR fortran/23663
* primary.c (match_actual_arg): Handle ENTRY the same way
as FUNCTION.
* gfortran.fortran-torture/execute/entry_11.f90: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.119&r2=1.335.2.120
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.413&r2=1.5084.2.414
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/primary.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.22.2.11&r2=1.22.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/entry_11.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.8.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23663
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/23663] rejects entry point as a value
2005-08-31 21:39 [Bug fortran/23663] New: Compiler fails on valid code federico dot carminati at cern dot ch
` (5 preceding siblings ...)
2005-09-29 16:03 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-29 16:18 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-29 16:18 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23663
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-29 16:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-31 21:39 [Bug fortran/23663] New: Compiler fails on valid code federico dot carminati at cern dot ch
2005-08-31 21:39 ` [Bug fortran/23663] " federico dot carminati at cern dot ch
2005-08-31 22:11 ` [Bug fortran/23663] rejects entry point as a value pinskia at gcc dot gnu dot org
2005-09-13 9:57 ` jakub at gcc dot gnu dot org
2005-09-20 14:38 ` cvs-commit at gcc dot gnu dot org
2005-09-20 14:54 ` pinskia at gcc dot gnu dot org
2005-09-29 16:03 ` cvs-commit at gcc dot gnu dot org
2005-09-29 16:18 ` 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).