mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 12:10:57 +08:00
i386: Fix Intel MCU psABI comment w.r.t DEFAULT_PCC_STRUCT_RETURN
2020-11-04 Uroš Bizjak <ubizjak@gmail.com> gcc/ * config/i386/i386-options.c (ix86_recompute_optlev_based_flags): Fix Intel MCU psABI comment w.r.t DEFAULT_PCC_STRUCT_RETURN.
This commit is contained in:
parent
9649031577
commit
c4f6330722
@ -1734,7 +1734,7 @@ ix86_recompute_optlev_based_flags (struct gcc_options *opts,
|
||||
if (opts->x_flag_pcc_struct_return == 2)
|
||||
{
|
||||
/* Intel MCU psABI specifies that -freg-struct-return should
|
||||
be on. Instead of setting DEFAULT_PCC_STRUCT_RETURN to 1,
|
||||
be on. Instead of setting DEFAULT_PCC_STRUCT_RETURN to 0,
|
||||
we check -miamcu so that -freg-struct-return is always
|
||||
turned on if -miamcu is used. */
|
||||
if (TARGET_IAMCU_P (opts->x_target_flags))
|
||||
|
Loading…
x
Reference in New Issue
Block a user