public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/17074] New: Unclassifiable statement in IF-clause / Simple IF followed by WHERE
@ 2004-08-18  9:03 c dot lemmen at fz-juelich dot de
  2004-08-18  9:18 ` [Bug fortran/17074] " reichelt at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: c dot lemmen at fz-juelich dot de @ 2004-08-18  9:03 UTC (permalink / raw)
  To: gcc-bugs

> gfortran -v testcase_simpleifwhere.f90 

 In file testcase_simpleifwhere.f90:12

  if (2>1) where(index) values=-1.
          1
Error: Unclassifiable statement in IF-clause at (1)

*****************************
Configuration:

Configured with: ./configure --enable-threads=posix --disable-checking
--enable-libgcj --with-system-zlib --enable-shared --enable-__cxa_atexit
i686-suse-linux  --enable-languages=c,f95 --no-create --no-recursion
Thread model: posix
gcc version 3.5.0 20040818 (experimental)
GNU F95 version 3.5.0 20040818 (experimental) (i686-suse-linux)
        compiled by GNU C version 3.5.0 20040817 (experimental).
!**************************
!Test case code:

program testcase_simpleifwhere
  
  real,dimension(100)    :: values
  logical,dimension(100) :: index

  index(:)=.true.
    
  ! The following line works
  where(index) values=-1.

  ! Next line is broken
  if (2>1) where(index) values=-1.
  
end program testcase_simpleifwhere

!**********************************

This code works with nag/intel/pgf compilers

-- 
           Summary: Unclassifiable statement in IF-clause / Simple IF
                    followed by WHERE
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: c dot lemmen at fz-juelich dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-suse-linux
  GCC host triplet: i686-suse-linux
GCC target triplet: i686-suse-linux


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


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

end of thread, other threads:[~2004-08-19 23:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-18  9:03 [Bug libfortran/17074] New: Unclassifiable statement in IF-clause / Simple IF followed by WHERE c dot lemmen at fz-juelich dot de
2004-08-18  9:18 ` [Bug fortran/17074] " reichelt at gcc dot gnu dot org
2004-08-18  9:37 ` c dot lemmen at fz-juelich dot de
2004-08-19 15:20 ` tobi at gcc dot gnu dot org
2004-08-19 22:35 ` cvs-commit at gcc dot gnu dot org
2004-08-19 23:30 ` 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).