This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/64474] [4.8 Regression] transfer(c_null_ptr, ...) causes an internal error


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-02
                 CC|                            |janus at gcc dot gnu.org
            Summary|transfer(c_null_ptr, ...)   |[4.8 Regression]
                   |causes an internal error    |transfer(c_null_ptr, ...)
                   |                            |causes an internal error
     Ever confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org ---
I see the ICE with 4.7.4 and 4.8.3, but it is gone with 4.9.1 and trunk.

Also there is no ICE in 4.6.4, which technically makes it a regression. If we
can identify the commit which fixed this in 4.9, it could be backported to 4.8.

Btw, 4.7 and earlier show the warning:

    subroutine croutine( array ) bind(c,name='croutine')
                              1
Warning: Variable 'array' at (1) is a parameter to the BIND(C) procedure
'croutine' but may not be C interoperable


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]