]> git.eshelyaron.com Git - emacs.git/commit
* Throw an ICE when asked to emit a cast with sign extension.
authorNicolás Bértolo <nicolasbertolo@gmail.com>
Sun, 31 May 2020 21:09:12 +0000 (18:09 -0300)
committerAndrea Corallo <akrl@sdf.org>
Mon, 1 Jun 2020 20:24:33 +0000 (21:24 +0100)
commit9f6c12be5574060014f91ad6190d79124ea19802
treece83e3948f87cf30c4ca3d3aaecc205663727b80
parent035a91dd963290a40766b430e4e9a108cbbc4eac
* Throw an ICE when asked to emit a cast with sign extension.

* src/comp.c (cast_kind_of_type): Enum that specifies the kind of type
in the cast enum (unsigned, signed, pointer).
(emit_coerce): Throw an ICE when asked to emit a cast with sign
extension.
(define_cast_from_to): Return NULL for casts involving sign extension.
(define_cast_functions): Specify the kind of each type in the cast
union.
src/comp.c