diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-01-19 17:02:45 +0000 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2021-01-20 10:03:50 +0000 |
commit | 85d8754632d597fe3d94404406082bcbb2f5ff94 (patch) | |
tree | a118c7d4e6c294fb2b775da8fb75efad6227b0f0 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | 6e09093f1f759a78387d214b6d0fe8ba17b752b6 (diff) | |
download | gcc-85d8754632d597fe3d94404406082bcbb2f5ff94.zip gcc-85d8754632d597fe3d94404406082bcbb2f5ff94.tar.gz gcc-85d8754632d597fe3d94404406082bcbb2f5ff94.tar.bz2 |
Implement NegationExpression
This is an example of a unary expression in gimple. The rules for enforcing
the types are observed in the type resolver here too.
Unary negate cannot be applied to bools but only integers and floats.
Unary not cannot be applied to floating points but can be applied to
integers and bools.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions