public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/61109] New: ICE [4.10 Regression] in fortran/trans-array.c on dimension 0 arrays
@ 2014-05-08  7:17 juergen.reuter at desy dot de
  2014-05-08  7:49 ` [Bug fortran/61109] [4.10 Regression] ICE " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: juergen.reuter at desy dot de @ 2014-05-08  7:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61109
           Summary: ICE [4.10 Regression] in fortran/trans-array.c on
                    dimension 0 arrays
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de

Setting a dimension zero array to a constant value triggers an ICE:

Failing code:

module foo
logical, dimension(0) :: is_allowed = .true.
end module foo

triggers

f951: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:5408

f951: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)

It worked for 4.7.1/2/3, 4.8.0/1/2, 4.9.0.

Tested for MAC OS X and Linux x86_64.


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

* [Bug fortran/61109] [4.10 Regression] ICE in fortran/trans-array.c on dimension 0 arrays
  2014-05-08  7:17 [Bug fortran/61109] New: ICE [4.10 Regression] in fortran/trans-array.c on dimension 0 arrays juergen.reuter at desy dot de
@ 2014-05-08  7:49 ` rguenth at gcc dot gnu.org
  2014-05-09 13:27 ` dominiq at lps dot ens.fr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-08  7:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.10.0
            Summary|ICE [4.10 Regression] in    |[4.10 Regression] ICE in
                   |fortran/trans-array.c on    |fortran/trans-array.c on
                   |dimension 0 arrays          |dimension 0 arrays


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

* [Bug fortran/61109] [4.10 Regression] ICE in fortran/trans-array.c on dimension 0 arrays
  2014-05-08  7:17 [Bug fortran/61109] New: ICE [4.10 Regression] in fortran/trans-array.c on dimension 0 arrays juergen.reuter at desy dot de
  2014-05-08  7:49 ` [Bug fortran/61109] [4.10 Regression] ICE " rguenth at gcc dot gnu.org
@ 2014-05-09 13:27 ` dominiq at lps dot ens.fr
  2014-05-09 14:06 ` mrs at gcc dot gnu.org
  2014-05-09 14:08 ` mrs at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-05-09 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-05-09
                 CC|                            |mikestump at comcast dot net
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
r210042 (2014-05-03) is OK, r210124 (2014-05-06) gives the ICE. Wide-int
(r210113) fallout:

gcc_assert (wtmp != 0);


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

* [Bug fortran/61109] [4.10 Regression] ICE in fortran/trans-array.c on dimension 0 arrays
  2014-05-08  7:17 [Bug fortran/61109] New: ICE [4.10 Regression] in fortran/trans-array.c on dimension 0 arrays juergen.reuter at desy dot de
  2014-05-08  7:49 ` [Bug fortran/61109] [4.10 Regression] ICE " rguenth at gcc dot gnu.org
  2014-05-09 13:27 ` dominiq at lps dot ens.fr
@ 2014-05-09 14:06 ` mrs at gcc dot gnu.org
  2014-05-09 14:08 ` mrs at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mrs at gcc dot gnu.org @ 2014-05-09 14:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Author: mrs
Date: Fri May  9 14:06:15 2014
New Revision: 210277

URL: http://gcc.gnu.org/viewcvs?rev=210277&root=gcc&view=rev
Log:
    PR fortran/61109
        * trans-array.c (gfc_conv_array_initializer): Fix wide-int
    conversion bug.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c


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

* [Bug fortran/61109] [4.10 Regression] ICE in fortran/trans-array.c on dimension 0 arrays
  2014-05-08  7:17 [Bug fortran/61109] New: ICE [4.10 Regression] in fortran/trans-array.c on dimension 0 arrays juergen.reuter at desy dot de
                   ` (2 preceding siblings ...)
  2014-05-09 14:06 ` mrs at gcc dot gnu.org
@ 2014-05-09 14:08 ` mrs at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mrs at gcc dot gnu.org @ 2014-05-09 14:08 UTC (permalink / raw)
  To: gcc-bugs

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

mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> changed:

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

--- Comment #3 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2014-05-09 14:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-08  7:17 [Bug fortran/61109] New: ICE [4.10 Regression] in fortran/trans-array.c on dimension 0 arrays juergen.reuter at desy dot de
2014-05-08  7:49 ` [Bug fortran/61109] [4.10 Regression] ICE " rguenth at gcc dot gnu.org
2014-05-09 13:27 ` dominiq at lps dot ens.fr
2014-05-09 14:06 ` mrs at gcc dot gnu.org
2014-05-09 14:08 ` mrs 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).