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/50199] [5/6/7 Regression] wrong code with -flto -fno-merge-constants


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50199

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Another option is to silently force -flto-partition=none (or would
-flto-partition=1to1 work too?) if !flag_merge_constants or HAVE_GAS_SHF_MERGE
is not defined.  Or silently turn on flag_merge_constants (set to 1 if 0) in
lto compilation, and/or force -flto-partition=none (or 1to1) if
HAVE_GAS_SHF_MERGE is not defined.
Honza/Richard, what do you prefer here?

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