aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-02-28 07:03:55 -0700
committerTom Tromey <tromey@adacore.com>2023-03-27 08:20:29 -0600
commiteb52a49702abe3d279cf9eba9291e08bc6b2d9dc (patch)
treefa64f2b15ceb651b28c0a0b888bdbf71414cfaae /contrib
parent4db6e7aa6ae167bc8e45829fa711f565c69a46bf (diff)
downloadgdb-eb52a49702abe3d279cf9eba9291e08bc6b2d9dc.zip
gdb-eb52a49702abe3d279cf9eba9291e08bc6b2d9dc.tar.gz
gdb-eb52a49702abe3d279cf9eba9291e08bc6b2d9dc.tar.bz2
Simplify binop_promote
binop_promote currently only handles integer sizes up to builtin_long_long. However, this may not handle 128-bit types. Simplify this code, unify the C and non-C (but not OpenCL, as I don't know how to test this) cases, and handle 128-bit integers as well. This still doesn't exactly follow C or C++ rules. This could be implemented, but if so, I think it makes more sense as a C-specific expression node.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions