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]

set_mem_attributes


Hopefully the comment is self-explanitory.  Shows up 
running the testsuite on ia64-linux.


r~

        * explow.c (set_mem_attributes): Do nothing for NULL type.

Index: explow.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/explow.c,v
retrieving revision 1.50
diff -c -p -d -r1.50 explow.c
*** explow.c	2000/06/06 03:37:50	1.50
--- explow.c	2000/06/13 21:14:01
*************** set_mem_attributes (ref, t, objectp)
*** 659,665 ****
       tree t;
       int objectp;
  {
!   tree type = TYPE_P (t) ? t : TREE_TYPE (t);
  
    /* Get the alias set from the expression or type (perhaps using a
       front-end routine) and then copy bits from the type.  */
--- 659,673 ----
       tree t;
       int objectp;
  {
!   tree type;
! 
!   /* It can happen that type_for_mode was given a mode for which there
!      is no language-level type.  In which case it returns NULL, which
!      we can see here.  */
!   if (t == NULL_TREE)
!     return;
! 
!   type = TYPE_P (t) ? t : TREE_TYPE (t);
  
    /* Get the alias set from the expression or type (perhaps using a
       front-end routine) and then copy bits from the type.  */

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