Module Name:    src
Committed By:   chs
Date:           Sun Oct  9 21:17:34 UTC 2011

Modified Files:
        src/external/gpl3/gcc/dist/gcc: expr.c

Log Message:
in emit_push_insn(), ignore alignment if we don't have a type.
works around a gcc ICE on m68k.  from mrg.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/expr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/expr.c
diff -u src/external/gpl3/gcc/dist/gcc/expr.c:1.1.1.1 src/external/gpl3/gcc/dist/gcc/expr.c:1.2
--- src/external/gpl3/gcc/dist/gcc/expr.c:1.1.1.1	Tue Jun 21 01:20:17 2011
+++ src/external/gpl3/gcc/dist/gcc/expr.c	Sun Oct  9 21:17:33 2011
@@ -3764,7 +3764,8 @@ emit_push_insn (rtx x, enum machine_mode
   xinner = x;
 
   if (mode == BLKmode
-      || (STRICT_ALIGNMENT && align < GET_MODE_ALIGNMENT (mode)))
+      || (STRICT_ALIGNMENT && align < GET_MODE_ALIGNMENT (mode)
+	  && type != NULL_TREE))
     {
       /* Copy a block into the stack, entirely or partially.  */
 

Reply via email to