public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35539]  New: g77 with -fugly-logint wrongly evaluates .eqv. statement
@ 2008-03-11 13:53 janciosz at gmail dot com
  2008-03-11 15:34 ` [Bug fortran/35539] " pinskia at gcc dot gnu dot org
  2008-03-12  5:39 ` jvdelisle at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: janciosz at gmail dot com @ 2008-03-11 13:53 UTC (permalink / raw)
  To: gcc-bugs

Using -fugly-logint with the following code gives wrong evaluation of .eqv.
statement
      program test
      Logical a, b
      a=.TRUE.
      b=.FALSE.
      if( a .eqv. b )then
        print *,'true'
      else
        print *,'false'
      end if
      end
The result is "true". Program compiled using gcc 3.4.6
 gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)


-- 
           Summary: g77 with -fugly-logint wrongly evaluates .eqv. statement
           Product: gcc
           Version: 3.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janciosz at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug fortran/35539] g77 with -fugly-logint wrongly evaluates .eqv. statement
  2008-03-11 13:53 [Bug fortran/35539] New: g77 with -fugly-logint wrongly evaluates .eqv. statement janciosz at gmail dot com
@ 2008-03-11 15:34 ` pinskia at gcc dot gnu dot org
  2008-03-12  5:39 ` jvdelisle at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-11 15:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-03-11 15:33 -------
g77 is no longer maintained, long live gfortran.


-- 


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


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

* [Bug fortran/35539] g77 with -fugly-logint wrongly evaluates .eqv. statement
  2008-03-11 13:53 [Bug fortran/35539] New: g77 with -fugly-logint wrongly evaluates .eqv. statement janciosz at gmail dot com
  2008-03-11 15:34 ` [Bug fortran/35539] " pinskia at gcc dot gnu dot org
@ 2008-03-12  5:39 ` jvdelisle at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-03-12  5:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jvdelisle at gcc dot gnu dot org  2008-03-12 05:38 -------
This is a "won't fix".  Thank you for the report.  gfortran will compile g77
code so please give it a try. Please let us know if you have a problem with it.

Look here for binaries if not available from your distribution.

http://gcc.gnu.org/wiki/GFortranBinaries


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX


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


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

end of thread, other threads:[~2008-03-12  5:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11 13:53 [Bug fortran/35539] New: g77 with -fugly-logint wrongly evaluates .eqv. statement janciosz at gmail dot com
2008-03-11 15:34 ` [Bug fortran/35539] " pinskia at gcc dot gnu dot org
2008-03-12  5:39 ` jvdelisle 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).