[flang] Do not enable OpenMP by default, oops.

Original-commit: flang-compiler/f18@7a627ac040
Reviewed-on: https://github.com/flang-compiler/f18/pull/130
Tree-same-pre-rewrite: false
This commit is contained in:
peter klausler 2018-07-18 11:37:15 -07:00
parent 80ece7418a
commit d100bcbc9f
1 changed files with 2 additions and 0 deletions

View File

@ -30,7 +30,9 @@ using LanguageFeatures = common::EnumSet<LanguageFeature, 32>;
class LanguageFeatureControl {
public:
LanguageFeatureControl() {
// These features must be explicitly enabled by command line options.
disable_.set(LanguageFeature::OldDebugLines);
disable_.set(LanguageFeature::OpenMP);
// These features, if enabled, conflict with valid standard usage.
disable_.set(LanguageFeature::LogicalAbbreviations);
disable_.set(LanguageFeature::XOROperator);