Skip to content

[Flang] Define PIC/PIE macros #135275

Open
Open
@vzakhari

Description

@vzakhari

gfortran defines __pic__/__PIC__/__pie__/__PIE__ macros according to -fpic/PIC/pie/PIE options, so I think flang should do the same.

Reference: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fpic

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions