diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-14 10:36:50 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-14 10:36:50 +0000 |
commit | 85f5e2ee5bdb17494e93b808d40eddda858a0a2d (patch) | |
tree | 001e0f81efbd2a370e6d6c036da01bc1cd490e18 /gcc/sched-int.h | |
parent | 1bca8cbd0c68366f07277f98ce6963e10c2aa617 (diff) | |
download | gcc-85f5e2ee5bdb17494e93b808d40eddda858a0a2d.tar.gz |
* c-common.c (warn_for_sign_compare): Cast to unsigned when shifting
a negative value.
* c-typeck.c (set_nonincremental_init_from_string): Use
HOST_WIDE_INT_M1U when shifting a negative value.
* rtlanal.c (split_double): Cast to unsigned when shifting a negative
value.
* sched-int.h (UNKNOWN_DEP_COST): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227743 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r-- | gcc/sched-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 61825ce5689..800262c4a4a 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -240,7 +240,7 @@ struct _dep int cost:20; }; -#define UNKNOWN_DEP_COST (-1<<19) +#define UNKNOWN_DEP_COST ((int) ((unsigned int) -1 << 19)) typedef struct _dep dep_def; typedef dep_def *dep_t; |