Skip to content

Commit 5426481

Browse files
Fixed artifact of attempted refactoring
1 parent fc2c35f commit 5426481

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/tools/flang-driver/fc1_main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static int printSupportedCPUs(llvm::StringRef triple) {
4141
llvm::TargetRegistry::lookupTarget(triple, error);
4242
if (!target) {
4343
llvm::errs() << error;
44+
return 1;
4445
}
4546

4647
// the target machine will handle the mcpu printing

0 commit comments

Comments
 (0)