Skip to content

Commit 7e99216

Browse files
tblahgithub-actions[bot]
authored andcommitted
Automerge: [flang][Lower] fix warning (#148667)
GCC 9.3.0 ``` .../flang/lib/Lower/Support/ReductionProcessor.cpp:137:1: error: control reaches end of non-void function [-Werror=return-type] ```
2 parents 536f3a3 + 3d6aac3 commit 7e99216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/lib/Lower/Support/ReductionProcessor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ ReductionProcessor::getReductionType(const fir::ReduceOperationEnum &redOp) {
134134
case fir::ReduceOperationEnum::MIN:
135135
return ReductionIdentifier::MIN;
136136
}
137+
llvm_unreachable("Unhandled ReductionIdentifier case");
137138
}
138139

139140
bool ReductionProcessor::supportedIntrinsicProcReduction(

0 commit comments

Comments
 (0)