[llvm-bugs] [Bug 46307] New: -i8 flag ignored by f18
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jun 12 12:57:34 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46307
Bug ID: 46307
Summary: -i8 flag ignored by f18
Product: flang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: Frontend
Assignee: unassignedbugs at nondot.org
Reporter: naromero at anl.gov
CC: David.Truby at arm.com, jperier at nvidia.com,
kirankumartp at gmail.com, llvm-bugs at lists.llvm.org,
sscalpone at nvidia.com
Looks like the f18 tooling driver ignores `-i8` which is needed by many codes.
I am hoping this is easy to fix.
See reduced test case in attachment.
[naromero at naromero-desktop bugs]$ f18 -i8 testint8.f90
[naromero at naromero-desktop bugs]$ ./a.out
size of i 4
[naromero at naromero-desktop bugs]$ pgf90 -i8 testint8.f90
[naromero at naromero-desktop bugs]$ ./a.out
size of i 8
FORTRAN STOP
[naromero at naromero-desktop bugs]$ f18 -fdefault-integer-8 testint8.f90
[naromero at naromero-desktop bugs]$ ./a.out
size of i 4
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200612/460552a2/attachment.html>
More information about the llvm-bugs
mailing list