public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/61765] New: Rejects valid BIND(C) ENTRY
@ 2014-07-09 22:33 fxcoudert at gcc dot gnu.org
  2014-07-09 22:37 ` [Bug fortran/61765] " fxcoudert at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-07-09 22:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765

            Bug ID: 61765
           Summary: Rejects valid BIND(C) ENTRY
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org

gfortran 4.9 and 4.10 reject the code below with:

   subroutine sub(x)
     integer, intent(in) :: x
     entry sub_c(x) bind(c)
   end subroutine sub

a.f90:3.16-16:

     entry sub_c(x) bind(c)
                12
Error: Procedure sub_c with binding label sub_c at (1) uses the same global
identifier as entity at (2)


As far as I can tell, this code is standard-conforming (related to non-legal
code from PR 35031). It should be accepted.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/61765] Rejects valid BIND(C) ENTRY
  2014-07-09 22:33 [Bug fortran/61765] New: Rejects valid BIND(C) ENTRY fxcoudert at gcc dot gnu.org
@ 2014-07-09 22:37 ` fxcoudert at gcc dot gnu.org
  2014-07-09 22:58 ` [Bug fortran/61765] [4.9/4.10 Regression] " dominiq at lps dot ens.fr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-07-09 22:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-07-09
             Blocks|                            |32630
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/61765] [4.9/4.10 Regression] Rejects valid BIND(C) ENTRY
  2014-07-09 22:33 [Bug fortran/61765] New: Rejects valid BIND(C) ENTRY fxcoudert at gcc dot gnu.org
  2014-07-09 22:37 ` [Bug fortran/61765] " fxcoudert at gcc dot gnu.org
@ 2014-07-09 22:58 ` dominiq at lps dot ens.fr
  2014-11-19 13:27 ` [Bug fortran/61765] [4.9/5 " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-07-09 22:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Rejects valid BIND(C) ENTRY |[4.9/4.10 Regression]
                   |                            |Rejects valid BIND(C) ENTRY

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The code is accepted up to r199034 (2013-05-17) and rejected after r199221
(2013-05-22). Likely r199118, r199119, or r199120 (pr 48858).


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/61765] [4.9/5 Regression] Rejects valid BIND(C) ENTRY
  2014-07-09 22:33 [Bug fortran/61765] New: Rejects valid BIND(C) ENTRY fxcoudert at gcc dot gnu.org
  2014-07-09 22:37 ` [Bug fortran/61765] " fxcoudert at gcc dot gnu.org
  2014-07-09 22:58 ` [Bug fortran/61765] [4.9/4.10 Regression] " dominiq at lps dot ens.fr
@ 2014-11-19 13:27 ` rguenth at gcc dot gnu.org
  2015-02-16  9:55 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-19 13:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/61765] [4.9/5 Regression] Rejects valid BIND(C) ENTRY
  2014-07-09 22:33 [Bug fortran/61765] New: Rejects valid BIND(C) ENTRY fxcoudert at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-11-19 13:27 ` [Bug fortran/61765] [4.9/5 " rguenth at gcc dot gnu.org
@ 2015-02-16  9:55 ` dominiq at lps dot ens.fr
  2015-06-26 20:05 ` [Bug fortran/61765] [4.9/5/6 " jakub at gcc dot gnu.org
  2015-06-26 20:34 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-02-16  9:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The code is accepted up to r199034 (2013-05-17) and rejected after r199221
> (2013-05-22). Likely r199118, r199119, or r199120 (pr 48858).

It is r199120.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/61765] [4.9/5/6 Regression] Rejects valid BIND(C) ENTRY
  2014-07-09 22:33 [Bug fortran/61765] New: Rejects valid BIND(C) ENTRY fxcoudert at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-02-16  9:55 ` dominiq at lps dot ens.fr
@ 2015-06-26 20:05 ` jakub at gcc dot gnu.org
  2015-06-26 20:34 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug fortran/61765] [4.9/5/6 Regression] Rejects valid BIND(C) ENTRY
  2014-07-09 22:33 [Bug fortran/61765] New: Rejects valid BIND(C) ENTRY fxcoudert at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-06-26 20:05 ` [Bug fortran/61765] [4.9/5/6 " jakub at gcc dot gnu.org
@ 2015-06-26 20:34 ` jakub at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.3                       |4.9.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-26 20:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09 22:33 [Bug fortran/61765] New: Rejects valid BIND(C) ENTRY fxcoudert at gcc dot gnu.org
2014-07-09 22:37 ` [Bug fortran/61765] " fxcoudert at gcc dot gnu.org
2014-07-09 22:58 ` [Bug fortran/61765] [4.9/4.10 Regression] " dominiq at lps dot ens.fr
2014-11-19 13:27 ` [Bug fortran/61765] [4.9/5 " rguenth at gcc dot gnu.org
2015-02-16  9:55 ` dominiq at lps dot ens.fr
2015-06-26 20:05 ` [Bug fortran/61765] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:34 ` jakub at gcc dot gnu.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).