public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/56969] New: ISO_C_BINDING regression with current trunk
@ 2013-04-15 14:17 sfilippone at uniroma2 dot it
  2013-04-15 14:40 ` [Bug fortran/56969] [4.9 Regression] " dominiq at lps dot ens.fr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sfilippone at uniroma2 dot it @ 2013-04-15 14:17 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56969

             Bug #: 56969
           Summary: ISO_C_BINDING regression with current trunk
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sfilippone@uniroma2.it


Created attachment 29876
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29876
test case

Hi,
Attached code works with 4.8, fails with trunk.
Salvatore 

---------------------------------------------------------
[sfilippo@jacobi BugCBind]$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gnu48/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.8.0/configure --prefix=/usr/local/gnu48
--enable-languages=c,c++,fortran --with-gmp=/home/travel/GNUBUILD/gmp
--with-mpfr=/home/travel/GNUBUILD/mpfr --with-mpc=/home/travel/GNUBUILD/mpc
Thread model: posix
gcc version 4.8.0 (GCC) 
[sfilippo@jacobi BugCBind]$ gfortran -c tst_cbind.f90
[sfilippo@jacobi BugCBind]$ 
------------------------------------------------------------
[sfilippo@jacobi BugCBind]$ gfortran -v 
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gnu49/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gnu49
--enable-languages=c,c++,fortran --with-gmp=/home/travel/GNUBUILD/gmp
--with-mpfr=/home/travel/GNUBUILD/mpfr --with-mpc=/home/travel/GNUBUILD/mpc :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu49
--enable-languages=c,c++,fortran --with-gmp=/home/travel/GNUBUILD/gmp
--with-mpfr=/home/travel/GNUBUILD/mpfr --with-mpc=/home/travel/GNUBUILD/mpc :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu49
--enable-languages=c,c++,fortran --with-gmp=/home/travel/GNUBUILD/gmp
--with-mpfr=/home/travel/GNUBUILD/mpfr --with-mpc=/home/travel/GNUBUILD/mpc :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu49
--enable-languages=c,c++,fortran --with-gmp=/home/travel/GNUBUILD/gmp
--with-mpfr=/home/travel/GNUBUILD/mpfr --with-mpc=/home/travel/GNUBUILD/mpc :
(reconfigured) ../gcc/configure --prefix=/usr/local/gnu49
--enable-languages=c,c++,fortran --with-gmp=/home/travel/GNUBUILD/gmp
--with-mpfr=/home/travel/GNUBUILD/mpfr --with-mpc=/home/travel/GNUBUILD/mpc
Thread model: posix
gcc version 4.9.0 20130411 (experimental) (GCC) 
[sfilippo@jacobi BugCBind]$ gfortran -c tst_cbind.f90 
tst_cbind.f90:57.18:

  if (c_associated(a%deviceMat%Mat)) then 
                  1
Error: Name 'c_associated' at (1) is an ambiguous reference to 'c_associated'
from module '__iso_c_binding'
tst_cbind.f90:59.5:

  end if
     1
Error: Expecting END SUBROUTINE statement at (1)
[sfilippo@jacobi BugCBind]$


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

end of thread, other threads:[~2013-04-16 14:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15 14:17 [Bug fortran/56969] New: ISO_C_BINDING regression with current trunk sfilippone at uniroma2 dot it
2013-04-15 14:40 ` [Bug fortran/56969] [4.9 Regression] " dominiq at lps dot ens.fr
2013-04-15 14:53 ` burnus at gcc dot gnu.org
2013-04-16 14:18 ` burnus at gcc dot gnu.org
2013-04-16 14:18 ` burnus 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).