From: sam Date: Wed, 7 Nov 2007 14:51:05 +0000 (+0000) Subject: gcc/ada/ X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9ce4996139f9846e7677fd8695c4039284fa1df;p=thirdparty%2Fgcc.git gcc/ada/ * tracebak.c (i386 alternative): Remove useless comparaison which is always false; LOWEST_ADDRESS is 0 and is never greater than an unsigned integer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129964 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index f614c26a929d..31e640aad10b 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -18,6 +18,10 @@ (elaboration code): Timer_Queue lifetime is the one of the package. + * tracebak.c (i386 alternative): Remove useless comparaison + which is always false; LOWEST_ADDRESS is 0 and is never greater + than an unsigned integer. + 2007-11-07 Olivier Hainque * decl.c (make_aligning_type): Set the mode of the RECORD_TYPE we diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c index 18055ede2860..659dad243421 100644 --- a/gcc/ada/tracebak.c +++ b/gcc/ada/tracebak.c @@ -308,7 +308,6 @@ struct layout void *return_address; }; -#define LOWEST_ADDR 0 #define FRAME_LEVEL 1 /* builtin_frame_address (1) is expected to work on this target, and (0) might return the soft stack pointer, which does not designate a location where a @@ -318,7 +317,6 @@ struct layout #define PC_ADJUST -2 #define STOP_FRAME(CURRENT, TOP_STACK) \ (IS_BAD_PTR((long)(CURRENT)->return_address) \ - || (unsigned int)(CURRENT)->return_address < LOWEST_ADDR \ || (CURRENT)->return_address == 0|| (CURRENT)->next == 0 \ || (void *) (CURRENT) < (TOP_STACK))