This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/19543] fortran LOGICAL*8 not consistently distinguished from 32 bit integers



------- Comment #11 from sayle at gcc dot gnu dot org  2006-02-20 00:34 -------
Subject: Bug 19543

Author: sayle
Date: Mon Feb 20 00:34:12 2006
New Revision: 111294

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111294
Log:

        PR middle-end/19543
        * 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:
    trunk/gcc/testsuite/gfortran.dg/logical_1.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varasm.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]