mirror of git://gcc.gnu.org/git/gcc.git
* ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
From-SVN: r70077
This commit is contained in:
parent
93b8a7a857
commit
c76becbdce
|
|
@ -1,3 +1,7 @@
|
|||
2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
|
||||
|
||||
2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
|
||||
|
|
|
|||
|
|
@ -588,7 +588,7 @@ gt_pch_restore (FILE *f)
|
|||
fileno (f), mmi.offset);
|
||||
|
||||
/* The file might not be mmap-able. */
|
||||
needs_read = mmap_result == MAP_FAILED;
|
||||
needs_read = mmap_result == (void *) MAP_FAILED;
|
||||
|
||||
/* Sanity check for broken MAP_FIXED. */
|
||||
if (! needs_read && mmap_result != mmi.preferred_base)
|
||||
|
|
|
|||
Loading…
Reference in New Issue