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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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@naromero-desktop bugs]$ f18 -i8 testint8.f90 
[naromero@naromero-desktop bugs]$ ./a.out 
  size of i                     4
[naromero@naromero-desktop bugs]$ pgf90 -i8 testint8.f90 
[naromero@naromero-desktop bugs]$ ./a.out 
  size of i                         8
FORTRAN STOP
[naromero@naromero-desktop bugs]$ f18 -fdefault-integer-8 testint8.f90 
[naromero@naromero-desktop bugs]$ ./a.out 
  size of i                     4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to