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]

[Fortran, committed] Do not accept RTL_EXPR,


L.S.,

I just committed this patch, to catch the use of RTL_EXPR (which I do
not expect):

2000-11-10  Toon Moene  <toon@moene.indiv.nluug.nl>

        * com.c (ffecom_stabilize_aggregate_) case RTL_EXPR:
        Abort.

*** com.c.orig  Thu Nov  2 21:16:24 2000
--- com.c       Fri Nov 10 19:50:47 2000
*************** ffecom_stabilize_aggregate_ (tree ref)
*** 1083,1091 ****
  
      case RTL_EXPR:
!       result = build1 (INDIRECT_REF, TREE_TYPE (ref),
!                      save_expr (build1 (ADDR_EXPR,
!                                         build_pointer_type (TREE_TYPE
(ref)),
!                                         ref)));
!       break;
  
  
--- 1083,1087 ----
  
      case RTL_EXPR:
!       abort ();
  

Bootstrapped on i686-pc-linux-gnu and alphaev6-unknown-linux-gnu.  Make
-k check'd on alphaev6-unknown-linux-gnu.

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

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