-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Description
Reproducible on Godbolt:
https://godbolt.org/z/c8e9ob5Gb
Reproducer:
function s(x)
character(len=2) :: x, s, ss
s = x
entry ss()
end function sError message:
conflicting debug info for argument
#dbg_declare(ptr %0, !15, !DIExpression(), !11)
!12 = !DILocalVariable(name: "s", arg: 1, scope: !4, file: !2, line: 2, type: !9)
!15 = !DILocalVariable(name: "ss", arg: 1, scope: !4, file: !2, line: 2, type: !9)
conflicting debug info for argument
#dbg_declare(ptr %0, !25, !DIExpression(), !23)
!22 = !DILocalVariable(name: "s", arg: 1, scope: !18, file: !2, line: 2, type: !9)
!25 = !DILocalVariable(name: "ss", arg: 1, scope: !18, file: !2, line: 2, type: !9)
error: failed to create the LLVM module