This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25458] New: Kind of constants in generic intrinsics
- From: "rofi at ya dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2005 20:01:39 -0000
- Subject: [Bug fortran/25458] New: Kind of constants in generic intrinsics
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following program
PROGRAM p
INTEGER(KIND=4) :: A
INTEGER(KIND=8) :: B
A = NOT(0)
B = NOT(0)
PRINT *, A, B
B = NOT(0_8)
PRINT *, A, B
END PROGRAM p
yields the following output in gfortran
-1 4294967295
-1 -1
while the expected result is
-1 -1
-1 -1
--
Summary: Kind of constants in generic intrinsics
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rofi at ya dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25458