diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-26 14:20:39 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-26 14:20:39 +0000 |
commit | c80760849f3b5640f47a789070d3d420e7c1f22d (patch) | |
tree | cc9676874f6a1ec2605d4af7227233a8650f66f1 /gcc/machmode.h | |
parent | be851ef2c1ad32b92298a0a8329dc74939aa2a66 (diff) | |
download | gcc-c80760849f3b5640f47a789070d3d420e7c1f22d.tar.gz |
PR middle-end/52940
* machmode.h (CLASS_HAS_WIDER_MODES_P): True for MODE_PARTIAL_INT.
* expr.c (convert_move): Honor unsignedp when extending partial int
modes.
* genmodes.c (complete_mode): Don't clear component field of partial
int modes.
(emit_mode_inner): Don't emit it however.
(calc_wider_mode): Partial int modes widen to their component.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index 4a3f6f50d16..6137c70e1e6 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -166,6 +166,7 @@ extern const unsigned char mode_class[NUM_MACHINE_MODES]; /* Nonzero if CLASS modes can be widened. */ #define CLASS_HAS_WIDER_MODES_P(CLASS) \ (CLASS == MODE_INT \ + || CLASS == MODE_PARTIAL_INT \ || CLASS == MODE_FLOAT \ || CLASS == MODE_DECIMAL_FLOAT \ || CLASS == MODE_COMPLEX_FLOAT \ |