diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2025-05-12 23:23:31 +0300 |
---|---|---|
committer | Alexander Monakov <amonakov@ispras.ru> | 2025-05-15 14:07:52 +0300 |
commit | 5c012971969db94f88335d9bacd192d318564daa (patch) | |
tree | 64cb9c4044829a6f49de6b83bf600a1e83e831ed /libgomp/testsuite/libgomp.c-c++-common/target-imperfect2.c | |
parent | f99017c3125f4400cf6a098cf5b33d32fe3e6645 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
As a followup to PAREN_EXPR verification, let's ensure that CONJ_EXPR is
only used with COMPLEX_TYPE. While at it, move the whole block towards
the end of the switch, because unlike the other entries it needs to
break out of the switch, not immediately return from the function,
as after the switch we check that types of LHS and RHS match.
Refactor a bit to avoid repeated blocks with debug_generic_expr.
gcc/ChangeLog:
* tree-cfg.cc (verify_gimple_assign_unary): Accept only
COMPLEX_TYPE for CONJ_EXPR.
Diffstat (limited to 'libgomp/testsuite/libgomp.c-c++-common/target-imperfect2.c')
0 files changed, 0 insertions, 0 deletions