This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Restore builds of cc0 ports.


On Fri, 2005-12-16 18:09:19 -0800, Kazu Hirata <kazu@codesourcery.com> wrote:
> Hi,
> 
> info doesn't have a field x_start, but p does.  Committed as obvious.
> Index: struct-equiv.c
> ===================================================================
> --- struct-equiv.c	(revision 108604)
> +++ struct-equiv.c	(working copy)
> @@ -249,7 +249,7 @@ struct_equiv_improve_checkpoint (struct 
>  				 struct equiv_info *info)
>  {
>  #ifdef HAVE_cc0
> -  if (reg_mentioned_p (cc0_rtx, info->x_start) && !sets_cc0_p (info->x_start))
> +  if (reg_mentioned_p (cc0_rtx, p->x_start) && !sets_cc0_p (p->x_start))
>      return;
>  #endif
>    if (info->cur.input_count >= IMPOSSIBLE_MOVE_FACTOR)

Since this, my vax-dec-linux-gnu cross-compiler is unusable. This is
while building uClibc:

  CC libc/misc/fnmatch/fnmatch.o
libc/misc/fnmatch/fnmatch.c: In function '__fnmatch':
libc/misc/fnmatch/fnmatch.c:222: internal compiler error: in condjump_equiv_p, at cfgcleanup.c:940
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [libc/misc/fnmatch/fnmatch.o] Error 1

For what I think (and the author, see
http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01258.html), it shouldn't
be p->x_start, but info->cur.x_start .

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fÃr einen Freien Staat voll Freier BÃrger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]