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]

Re: Crash while scanning queued lists


On May 18, 2000, Alexandre Oliva <aoliva@cygnus.com> wrote:

> gcc.c-torture/execute/va-arg-5.c (and a couple of other va-arg tests)
> won't compile with -O0 or -O1 on the mn10300 port.

> This patch fixes the problem

Only for -O0 :-(

For -O1, this additional patch is needed.  Ok to install?

Index: gcc/ChangeLog
from  Alexandre Oliva  <aoliva@cygnus.com>

	* cse.c (canon_hash): Do not record QUEUED.

Index: gcc/cse.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cse.c,v
retrieving revision 1.142
diff -u -r1.142 cse.c
--- gcc/cse.c	2000/05/04 13:49:48	1.142
+++ gcc/cse.c	2000/05/18 11:26:28
@@ -2275,6 +2275,7 @@
     case CC0:
     case CALL:
     case UNSPEC_VOLATILE:
+    case QUEUED:
       do_not_record = 1;
       return 0;
 

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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