public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [alpha/vms]: committed: always generate .end directive
@ 2011-06-27 12:50 Tristan Gingold
  0 siblings, 0 replies; only message in thread
From: Tristan Gingold @ 2011-06-27 12:50 UTC (permalink / raw)
  To: gcc-patches@gcc.gnu.org Patches

Hi,

-finhibit-size-directive prevented the generation of .end directive on alpha-vms.  This doesn't make sense
as .end does almost nothing and will be required by newly version of gas.

Committed on trunk.

Tristan.

2011-06-27  Tristan Gingold  <gingold@adacore.com>

	* config/alpha/alpha.c (alpha_end_function): Always generate .end
	directive on VMS.

Index: gcc/config/alpha/alpha.c
===================================================================
--- gcc/config/alpha/alpha.c	(revision 175520)
+++ gcc/config/alpha/alpha.c	(working copy)
@@ -8159,7 +8159,8 @@
 #endif
 
   /* End the function.  */
-  if (!flag_inhibit_size_directive)
+  if (TARGET_ABI_OPEN_VMS
+      || !flag_inhibit_size_directive)
     {
       fputs ("\t.end ", file);
       assemble_name (file, fnname);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-27 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27 12:50 [alpha/vms]: committed: always generate .end directive Tristan Gingold

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).