re PR ada/52123 (gcc bootstrap with ada fails on mingw target)

2013-02-14  Rainer Emrich  <rainer@emrich-ebersheim.de>

        PR target/52123
        * tracebak.c: Cast from pointer via FARPROC.

From-SVN: r196051
This commit is contained in:
Rainer Emrich 2013-02-14 13:04:10 +00:00 committed by Kai Tietz
parent 03143140ad
commit 7d00dca998
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-02-14 Rainer Emrich <rainer@emrich-ebersheim.de>
PR target/52123
* tracebak.c: Cast from pointer via FARPROC.
2013-02-07 Simon Wright <simon@pushface.org>
PR target/50678

View File

@ -415,7 +415,7 @@ struct layout
#if defined (__WIN32)
#include <windows.h>
#define IS_BAD_PTR(ptr) (IsBadCodePtr((void *)ptr))
#define IS_BAD_PTR(ptr) (IsBadCodePtr((FARPROC)ptr))
#elif defined (sun)
#define IS_BAD_PTR(ptr) ((unsigned long)ptr == -1UL)
#else