File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,8 @@ ToolChain::getTargetAndModeFromProgramName(StringRef PN) {
503503 // the time being and should be removed once AMD Classic Flang has been
504504 // removed from ROCm.
505505 if (FlangNew) {
506- if (!::getenv (" AMD_NOWARN_FLANG_NEW" )) {
506+ // flang-new warning is overwarning, disabling until fixed.
507+ if (false && !::getenv (" AMD_NOWARN_FLANG_NEW" )) {
507508 // The solution with "llvm::errs()" is not ideal, but the driver object
508509 // is not been constructed yet, so we cannot use the Diag() infrastructure
509510 // for this.
Original file line number Diff line number Diff line change 11! RUN: amdflang-new -c %s 2>&1 | FileCheck %s
2- ! CHECK: warning: the 'amdflang-new' and 'flang-new' commmands have been deprecated; please use 'amdflang' instead
2+ ! CHECK: warning: the 'amdflang-new' and 'flang-new' commmands have been deprecated; please use 'amdflang' instead
3+ ! XFAIL: *
Original file line number Diff line number Diff line change 1- ! XFAIL: *
21! Test the default setting. Emit warnings only.
32! RUN: %flang -c %s 2>&1 | FileCheck %s -check-prefix=DEFAULT
43
You can’t perform that action at this time.
0 commit comments