alpha.c (alpha_start_function): Adjust condition to create VMS trampoline entry point.

2011-12-20  Tristan Gingold  <gingold@adacore.com>

	* config/alpha/alpha.c (alpha_start_function): Adjust condition to
	create VMS trampoline entry point.

From-SVN: r182521
This commit is contained in:
Tristan Gingold 2011-12-20 08:35:12 +00:00 committed by Tristan Gingold
parent 8c3db96e64
commit cf45cd09af
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-20 Tristan Gingold <gingold@adacore.com>
* config/alpha/alpha.c (alpha_start_function): Adjust condition to
create VMS trampoline entry point.
2011-12-19 Richard Sandiford <rdsandiford@googlemail.com>
PR rtl-optimization/42839

View File

@ -7935,7 +7935,8 @@ alpha_start_function (FILE *file, const char *fnname,
if (TARGET_ABI_OPEN_VMS
&& !TREE_PUBLIC (decl)
&& DECL_CONTEXT (decl)
&& !TYPE_P (DECL_CONTEXT (decl)))
&& !TYPE_P (DECL_CONTEXT (decl))
&& TREE_CODE (DECL_CONTEXT (decl)) != TRANSLATION_UNIT_DECL)
{
strcpy (tramp_label, fnname);
strcat (tramp_label, "..tr");