Pascal Obry <obry@adacore.com>
* unwind-dw2-fde.c (classify_object_over_fdes):
Cast the constant 1 to _Unwind_Ptr.
(add_fdes): Likewise.
(linear_search_fdes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151899
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-09-20 Kai Tietz <kai.tietz@onevision.com>
+ Pascal Obry <obry@adacore.com>
+
+ * unwind-dw2-fde.c (classify_object_over_fdes):
+ Cast the constant 1 to _Unwind_Ptr.
+ (add_fdes): Likewise.
+ (linear_search_fdes): Likewise.
+
2009-09-20 Eric Botcazou <ebotcazou@adacore.com>
* stor-layout.c (set_sizetype): Avoid useless type copy.
2009-09-20 Eric Botcazou <ebotcazou@adacore.com>
* stor-layout.c (set_sizetype): Avoid useless type copy.
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
- mask = (1L << (mask << 3)) - 1;
+ mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1;
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
- mask = (1L << (mask << 3)) - 1;
+ mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1;
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
- mask = (1L << (mask << 3)) - 1;
+ mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1;