public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/67615] New: ICE on using arithmetic if with array instead of scalar
@ 2015-09-17 18:06 gerhard.steinmetz.fortran@t-online.de
  2015-09-17 18:07 ` [Bug fortran/67615] " gerhard.steinmetz.fortran@t-online.de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gerhard.steinmetz.fortran@t-online.de @ 2015-09-17 18:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67615
           Summary: ICE on using arithmetic if with array instead of
                    scalar
           Product: gcc
           Version: 5.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

An arithmetic if with an array instead of a numeric scalar :

   program p
      integer :: z(1) = [1]
      if ( z ) 1, 2, 3
    1 stop 1
    2 stop 2
    3 stop 3
   end

or this variation :

   program p
      integer :: z(2) = [1, 2]
      if ( z ) 1, 2, 3
    1 stop 1
    2 stop 2
    3 stop 3
   end


yields :
internal compiler error: Segmentation fault


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

end of thread, other threads:[~2015-09-21 18:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17 18:06 [Bug fortran/67615] New: ICE on using arithmetic if with array instead of scalar gerhard.steinmetz.fortran@t-online.de
2015-09-17 18:07 ` [Bug fortran/67615] " gerhard.steinmetz.fortran@t-online.de
2015-09-17 22:59 ` dominiq at lps dot ens.fr
2015-09-18 19:40 ` kargl at gcc dot gnu.org
2015-09-21 18:09 ` kargl at gcc dot gnu.org
2015-09-21 18:25 ` kargl at gcc dot gnu.org
2015-09-21 18:27 ` kargl 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).