diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2025-05-13 13:50:24 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2025-05-14 07:56:22 -0700 |
commit | 9a770e52028c010f31d86d0fed3635916f5852fd (patch) | |
tree | 7b7b560c7dfec7ece6459490cea986df21d886cd /gcc/fortran/dump-parse-tree.cc | |
parent | d8d3cb676949ea3c2af5ff2d4f6c5582ce7cc9f8 (diff) | |
download | gcc-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