Files
mercury/tests/submodules/Mercury.options
Zoltan Somogyi 2a1f376c5d Use spaces in all Mercury.options files.
Use consistent indentation.

Sort many blocks of module-specific MCFLAGS settings by module name.

Add XXXs about some questionable options.
2025-12-06 10:39:04 +11:00

26 lines
1.4 KiB
Bash

#---------------------------------------------------------------------------#
# vim: ts=4 sw=4 expandtab ft=sh
#---------------------------------------------------------------------------#
MCFLAGS-class += --no-warn-stdlib-shadowing
MCFLAGS-direct_arg_cyclic += --intermod-opt
MCFLAGS-direct_arg_cyclic_helper_1 += --intermod-opt
MCFLAGS-direct_arg_cyclic_helper_2 += --intermod-opt
MCFLAGS-direct_arg_intermod += --intermod-opt
MCFLAGS-direct_arg_intermod_helper_1 += --intermod-opt
MCFLAGS-direct_arg_intermod_helper_2 += --intermod-opt
MCFLAGS-g12_fe_bug += --intermod-opt
MCFLAGS-g12_fe_bug.g12_fe_bug_helper_1 += --intermod-opt
MCFLAGS-g12_fe_bug.g12_fe_bug_helper_1 += --no-warn-unused-interface-imports
MCFLAGS-g12_fe_bug.g12_fe_bug_helper_2 += --intermod-opt
MCFLAGS-g12_fe_bug.g12_fe_bug_helper_2.g12_fe_bug_helper_3 += --intermod-opt
# --intermod-opt causes impl_def_literal to abort during the STM
# transformation (bug #136). Its use here is disabled until that is fixed.
MCFLAGS-impl_def_literal += --no-intermod-opt --no-warn-simple-code
MCFLAGS-impl_def_literal.sub += --no-intermod-opt --no-warn-simple-code
MCFLAGS-nested_intermod += --intermod-opt
MCFLAGS-nested_intermod_helper_1 += --intermod-opt
MCFLAGS-non_word_mutable += --intermod-opt --no-intermodule-analysis