aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorAbid Qadeer <haqadeer@amd.com>2024-07-10 14:37:59 +0100
committerGitHub <noreply@github.com>2024-07-10 14:37:59 +0100
commit51fac7747f8fb5bfa5e32f5d05e9d807c544a650 (patch)
tree14e5eddd5d13e1f9828f31c6832a22826239dc45 /clang/lib/Frontend/InitPreprocessor.cpp
parent8b511e14770781bd31b0c03bad790bdd82793dac (diff)
downloadllvm-51fac7747f8fb5bfa5e32f5d05e9d807c544a650.zip
llvm-51fac7747f8fb5bfa5e32f5d05e9d807c544a650.tar.gz
llvm-51fac7747f8fb5bfa5e32f5d05e9d807c544a650.tar.bz2
[flang][debug] Don't confuse count with upperBound. (#98174)
The code that handled allocatable array had swapped `count` with `upperBound`. This did not get caught earlier as all the example were using 1 as `lowerBound`. Fixes #98166. With the fix in place, the GDB now correctly handles the case pointed in the bug ticket. (gdb) p min::alloc2d $2 = ((0, 0, 0) (0, 0, 0) (0, 0, 0) (0, 0, 0) (0, 0, 0)) (gdb) ptype min::alloc2d type = integer, allocatable (-1:1,-2:2)
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions