public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33217]  New: ICE in 20070827 version of gfortran when INQUIRE is in a module
@ 2007-08-28 13:36 michael dot a dot richmond at nasa dot gov
  2007-08-28 14:41 ` [Bug fortran/33217] [4.3 regression] ICE on INQUIRE " fxcoudert at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: michael dot a dot richmond at nasa dot gov @ 2007-08-28 13:36 UTC (permalink / raw)
  To: gcc-bugs

When I compile the module listed below using the version of gfortran for Linux
dated August 27 (downloaded from http://gcc.gnu.org/wiki/GFortranBinaries), I
get the following error:

p.f90: In function 'i':
p.f90:5: internal compiler error: in make_decl_rtl, at varasm.c:1263
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

MODULE print_it
CONTAINS
  SUBROUTINE i()
    LOGICAL :: qexist
    INQUIRE (UNIT=1, EXIST=qexist)
  END SUBROUTINE i
END MODULE print_it


-- 
           Summary: ICE in 20070827 version of gfortran when INQUIRE is in a
                    module
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


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


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

* [Bug fortran/33217] [4.3 regression] ICE on INQUIRE in a module
  2007-08-28 13:36 [Bug fortran/33217] New: ICE in 20070827 version of gfortran when INQUIRE is in a module michael dot a dot richmond at nasa dot gov
@ 2007-08-28 14:41 ` fxcoudert at gcc dot gnu dot org
  2007-08-29  1:27 ` jvdelisle at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-08-28 14:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2007-08-28 14:41 -------
This appeared at some point between 20070821 [rev 127667] and 20070827 [rev
127830]. Most likely culprit at this point is:

2007-08-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/33055
        * trans-io.c (create_dummy_iostat): New function to create a unique
        dummy variable expression to use with IOSTAT.
        (gfc_trans_inquire): Use the new function to pass unit number error
info
        to run-time library if a regular IOSTAT variable was not given.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu dot
                   |                            |org, fxcoudert at gcc dot
                   |                            |gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-08-28 14:41:18
               date|                            |
            Summary|ICE in 20070827 version of  |[4.3 regression] ICE on
                   |gfortran when INQUIRE is in |INQUIRE in a module
                   |a module                    |


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


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

* [Bug fortran/33217] [4.3 regression] ICE on INQUIRE in a module
  2007-08-28 13:36 [Bug fortran/33217] New: ICE in 20070827 version of gfortran when INQUIRE is in a module michael dot a dot richmond at nasa dot gov
  2007-08-28 14:41 ` [Bug fortran/33217] [4.3 regression] ICE on INQUIRE " fxcoudert at gcc dot gnu dot org
@ 2007-08-29  1:27 ` jvdelisle at gcc dot gnu dot org
  2007-08-30  4:59 ` jvdelisle at gcc dot gnu dot org
  2007-09-01 16:50 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-08-29  1:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jvdelisle at gcc dot gnu dot org  2007-08-29 01:27 -------
I think the problem has to do with not having a backend_decl associated with
the dummy variable expression created.  I will not be able to get to this
quickly, so I will revert the patch until I get this fixed.

Thanks for the report.


-- 


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


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

* [Bug fortran/33217] [4.3 regression] ICE on INQUIRE in a module
  2007-08-28 13:36 [Bug fortran/33217] New: ICE in 20070827 version of gfortran when INQUIRE is in a module michael dot a dot richmond at nasa dot gov
  2007-08-28 14:41 ` [Bug fortran/33217] [4.3 regression] ICE on INQUIRE " fxcoudert at gcc dot gnu dot org
  2007-08-29  1:27 ` jvdelisle at gcc dot gnu dot org
@ 2007-08-30  4:59 ` jvdelisle at gcc dot gnu dot org
  2007-09-01 16:50 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2007-08-30  4:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2007-08-30 04:59 -------
Reverted patch from PR33055


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug fortran/33217] [4.3 regression] ICE on INQUIRE in a module
  2007-08-28 13:36 [Bug fortran/33217] New: ICE in 20070827 version of gfortran when INQUIRE is in a module michael dot a dot richmond at nasa dot gov
                   ` (2 preceding siblings ...)
  2007-08-30  4:59 ` jvdelisle at gcc dot gnu dot org
@ 2007-09-01 16:50 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-01 16:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-09-01 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-28 13:36 [Bug fortran/33217] New: ICE in 20070827 version of gfortran when INQUIRE is in a module michael dot a dot richmond at nasa dot gov
2007-08-28 14:41 ` [Bug fortran/33217] [4.3 regression] ICE on INQUIRE " fxcoudert at gcc dot gnu dot org
2007-08-29  1:27 ` jvdelisle at gcc dot gnu dot org
2007-08-30  4:59 ` jvdelisle at gcc dot gnu dot org
2007-09-01 16:50 ` 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).