public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34500] Bind(C): Character returning function with ENTRY gives ICE
[not found] <bug-34500-4@http.gcc.gnu.org/bugzilla/>
@ 2014-06-16 10:11 ` fxcoudert at gcc dot gnu.org
2014-06-16 10:52 ` dominiq at lps dot ens.fr
1 sibling, 0 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-06-16 10:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34500
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
CC| |fxcoudert at gcc dot gnu.org
--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Since 4.9, the code is now rejected (though it's valid):
$ gfortran a.f90
a.f90:4.43:
character(len=1,kind=c_char) :: test, bar
1
a.f90:5.9:
entry bar() bind(C)
2
Error: Procedure bar with binding label bar at (1) uses the same global
identifier as entity at (2)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/34500] Bind(C): Character returning function with ENTRY gives ICE
[not found] <bug-34500-4@http.gcc.gnu.org/bugzilla/>
2014-06-16 10:11 ` [Bug fortran/34500] Bind(C): Character returning function with ENTRY gives ICE fxcoudert at gcc dot gnu.org
@ 2014-06-16 10:52 ` dominiq at lps dot ens.fr
1 sibling, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-06-16 10:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34500
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Since 4.9, the code is now rejected (though it's valid): ...
The change occurred between r199034 (ICE, 2013-05-17) and r199221 (error,
2013-05-22).
I suspect r199120 (pr48858 and pr55465), although r199118 and r199119 are also
candidates.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/34500] Bind(C): Character returning function with ENTRY gives ICE
2007-12-16 20:37 [Bug fortran/34500] New: " burnus at gcc dot gnu dot org
2007-12-23 19:09 ` [Bug fortran/34500] " pinskia at gcc dot gnu dot org
@ 2008-08-24 10:03 ` burnus at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-08-24 10:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from burnus at gcc dot gnu dot org 2008-08-24 10:02 -------
As PR 37201 shows, testing "result = funct()" is not enough, one should also
test "otherfunc(func())" and "print *, func()". (Though the problems will
probably be solved by the fix for PR 37201.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34500
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/34500] Bind(C): Character returning function with ENTRY gives ICE
2007-12-16 20:37 [Bug fortran/34500] New: " burnus at gcc dot gnu dot org
@ 2007-12-23 19:09 ` pinskia at gcc dot gnu dot org
2008-08-24 10:03 ` burnus at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-23 19:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-23 19:09 -------
Cnfirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-12-23 19:09:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34500
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-16 10:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-34500-4@http.gcc.gnu.org/bugzilla/>
2014-06-16 10:11 ` [Bug fortran/34500] Bind(C): Character returning function with ENTRY gives ICE fxcoudert at gcc dot gnu.org
2014-06-16 10:52 ` dominiq at lps dot ens.fr
2007-12-16 20:37 [Bug fortran/34500] New: " burnus at gcc dot gnu dot org
2007-12-23 19:09 ` [Bug fortran/34500] " pinskia at gcc dot gnu dot org
2008-08-24 10:03 ` burnus 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).