aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.cc
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2025-05-13 13:50:24 -0700
committerAndrew Pinski <quic_apinski@quicinc.com>2025-05-14 07:56:22 -0700
commit9a770e52028c010f31d86d0fed3635916f5852fd (patch)
tree7b7b560c7dfec7ece6459490cea986df21d886cd /gcc/fortran/dump-parse-tree.cc
parentd8d3cb676949ea3c2af5ff2d4f6c5582ce7cc9f8 (diff)
downloadgcc-9a770e52028c010f31d86d0fed3635916f5852fd.zip
gcc-9a770e52028c010f31d86d0fed3635916f5852fd.tar.gz
gcc-9a770e52028c010f31d86d0fed3635916f5852fd.tar.bz2
gimple: Add assert for code being a comparison in gimple_cond_set_code
We have code later on that verifies the code is a comparison. So let's try to catch it earlier. So it is easier to debug where the incorrect code gets set. Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * gimple.h (gimple_cond_set_code): Add assert of the code being a comparison. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/fortran/dump-parse-tree.cc')
0 files changed, 0 insertions, 0 deletions