aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-06-29 11:30:43 -0700
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:15:26 -0300
commite43f33cbba499edeb82ce286f5df82b2e3fdd98b (patch)
tree2660cc92a8565c4fac01e3d30568d98d98c96c17 /gcc/fortran
parent7d5230ada669a4fb611845e8e4c700cc81ea8493 (diff)
downloadgcc-e43f33cbba499edeb82ce286f5df82b2e3fdd98b.zip
gcc-e43f33cbba499edeb82ce286f5df82b2e3fdd98b.tar.gz
gcc-e43f33cbba499edeb82ce286f5df82b2e3fdd98b.tar.bz2
compiler: remove some erroneous code that was never run
The code accidentally called Type::type_descriptor rather than the do_type_descriptor method. Calling Type::type_descriptor with a second argument of NULL would always crash. Since that never happened, it revealed that this code was never actually executed. Fixes PR go/95970 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/240477
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions