diff options
| author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-13 21:25:39 +0000 |
|---|---|---|
| committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-13 21:25:39 +0000 |
| commit | 874a1db3f08137db771a503e91cf8c1fb48561b2 (patch) | |
| tree | cbeb2b59a3ff018226954d80ca81138975262b78 /gcc | |
| parent | 4b6d9d505dcfead35717f156c9eda0e0edaf69d6 (diff) | |
| download | ppe42-gcc-874a1db3f08137db771a503e91cf8c1fb48561b2.tar.gz ppe42-gcc-874a1db3f08137db771a503e91cf8c1fb48561b2.zip | |
Fixed HOST_WIDE_INT type mismatch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44870 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/s390/s390.c | 14 |
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b24e2d433e..20017ca5510 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-13 Ulrich Weigand <uweigand@de.ibm.com> + + * config/s390/s390.c (print_operand, s390_function_prologue, + s390_va_start): Fixed HOST_WIDE_INT type mismatch. + 2001-08-13 Richard Henderson <rth@redhat.com> * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New. diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index e07c64c85ae..f0f0fc3067c 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -1494,15 +1494,15 @@ print_operand (file, x, code) case CONST_INT: if (code == 'b') - fprintf (file, "%d", INTVAL (x) & 0xff); + fprintf (file, "%d", (int)(INTVAL (x) & 0xff)); else if (code == 'X') - fprintf (file, "%d", INTVAL (x) & 0xff); + fprintf (file, "%d", (int)(INTVAL (x) & 0xff)); else if (code == 'x') - fprintf (file, "0x%x", INTVAL (x) & 0xffff); + fprintf (file, "0x%x", (int)(INTVAL (x) & 0xffff)); else if (code == 'h') - fprintf (file, "%d", (INTVAL (x) << 16) >> 16); + fprintf (file, "%d", (int)(INTVAL (x) << 16) >> 16); else - fprintf (file, "%d", INTVAL (x)); + fprintf (file, "%d", (int)INTVAL (x)); break; default: @@ -2404,7 +2404,7 @@ s390_function_prologue (file, lsize) fprintf (file, "%s\tleaf function %d\n", ASM_COMMENT_START, leaf_function_p ()); fprintf (file, "%s\tautomatics %d\n", ASM_COMMENT_START, - lsize); + (int)lsize); fprintf (file, "%s\toutgoing args %d\n", ASM_COMMENT_START, current_function_outgoing_args_size); fprintf (file, "%s\tneed frame pointer %d\n", ASM_COMMENT_START, @@ -2934,7 +2934,7 @@ s390_va_start (stdarg_p, valist, nextarg) off = off > 0 ? off - UNITS_PER_WORD : off; if (TARGET_DEBUG_ARG) fprintf (stderr, "va_start: n_gpr = %d, n_fpr = %d off %d\n", - n_gpr, n_fpr, off); + (int)n_gpr, (int)n_fpr, off); t = build (PLUS_EXPR, TREE_TYPE (ovf), t, build_int_2 (off, 0)); |

