public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* patch to compile on vms
@ 1997-12-29 17:22 Weiwen Liu
  1998-01-02  5:00 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Weiwen Liu @ 1997-12-29 17:22 UTC (permalink / raw)
  To: egcs

While doing a cross-compile from dec-alpha-osf to dec-alpha-vms, I need to
apply the following patch.

Tue Dec 29 13:30:00 1997 Weiwen Liu <liu@hepmail.physics.yale.edu>
	* alpha.c: move vms_valid_decl_attribute_p.

*** alpha.c.~1~	Tue Dec 23 00:34:23 1997
--- alpha.c	Mon Dec 29 13:27:09 1997
***************
*** 2413,2418 ****
--- 2413,2430 ----
    SYMBOL_REF_FLAG (XEXP (DECL_RTL (current_function_decl), 0)) = 1;
  }
  
+ int
+ vms_valid_decl_attribute_p (decl, attributes, identifier, args)
+      tree decl;
+      tree attributes;
+      tree identifier;
+      tree args;
+ {
+   if (is_attribute_p ("overlaid", identifier))
+     return (args == NULL_TREE);
+   return 0;
+ }
+ 
  #else /* !OPEN_VMS */
  
  static int
***************
*** 2443,2460 ****
  	  return 1;
        }
  
-   return 0;
- }
- 
- int
- vms_valid_decl_attribute_p (decl, attributes, identifier, args)
-      tree decl;
-      tree attributes;
-      tree identifier;
-      tree args;
- {
-   if (is_attribute_p ("overlaid", identifier))
-     return (args == NULL_TREE);
    return 0;
  }
  
--- 2455,2460 ----



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patch to compile on vms
  1997-12-29 17:22 patch to compile on vms Weiwen Liu
@ 1998-01-02  5:00 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1998-01-02  5:00 UTC (permalink / raw)
  To: Weiwen Liu; +Cc: egcs

On Mon, Dec 29, 1997 at 08:09:28PM -0500, Weiwen Liu wrote:
> While doing a cross-compile from dec-alpha-osf to dec-alpha-vms, I need to
> apply the following patch.

Applied, thanks.


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-01-02  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-29 17:22 patch to compile on vms Weiwen Liu
1998-01-02  5:00 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).