This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19543] [4.1 only] fortran LOGICAL*8 not consistently distinguished from 32 bit integers
- From: "sayle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Mar 2006 19:25:29 -0000
- Subject: [Bug middle-end/19543] [4.1 only] fortran LOGICAL*8 not consistently distinguished from 32 bit integers
- References: <bug-19543-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from sayle at gcc dot gnu dot org 2006-03-14 19:25 -------
Subject: Bug 19543
Author: sayle
Date: Tue Mar 14 19:25:25 2006
New Revision: 112065
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112065
Log:
PR middle-end/19543
Backport from mainline.
* varasm.c (compare_constant) <INTEGER_CST>: Integer constants are
only equivalent if the have both the same mode and precision.
* gfortran.dg/logical_1.f90: New test case.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/logical_1.f90
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/varasm.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19543