aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2025-03-20 09:55:40 -0400
committerJason Merrill <jason@redhat.com>2025-03-21 11:04:56 -0400
commitcb537f0d838bac376bfe5e6d765e19cd3af01031 (patch)
treece1ebeeb1e96ef3348751fd64c5c774233ca877c /gcc/fortran/iresolve.cc
parent618c42d23726be6e2086d452d6718abe5e0daca8 (diff)
downloadgcc-cb537f0d838bac376bfe5e6d765e19cd3af01031.zip
gcc-cb537f0d838bac376bfe5e6d765e19cd3af01031.tar.gz
gcc-cb537f0d838bac376bfe5e6d765e19cd3af01031.tar.bz2
c++: fix return type of __cxa_bad_array_new_length
We were lying about the return type, but that's not necessary; we already need to handle a COND_EXPR where one side is void for THROW_EXPR. This fixes an execution failure on nvptx: error: Prototype doesn't match for '__cxa_throw_bad_array_new_length' gcc/cp/ChangeLog: * init.cc (throw_bad_array_new_length): Returns void.
Diffstat (limited to 'gcc/fortran/iresolve.cc')
0 files changed, 0 insertions, 0 deletions