Add __attribute__((externally_visible)).
2011-01-10 H.J. Lu <hongjiu.lu@intel.com> PR lto/47222 * g++.dg/torture/stackalign/test-unwind.h (g_edi): Mark it externally visible. (g_esi): Likewise. (g_ebx): Likewise. (g_ebp): Likewise. (g_esp): Likewise. (g_ebp_save): Likewise. (g_esp_save): Likewise. From-SVN: r168640
This commit is contained in:
parent
75b023da28
commit
b88e4ef16c
@ -1,3 +1,15 @@
|
||||
2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR lto/47222
|
||||
* g++.dg/torture/stackalign/test-unwind.h (g_edi): Mark it
|
||||
externally visible.
|
||||
(g_esi): Likewise.
|
||||
(g_ebx): Likewise.
|
||||
(g_ebp): Likewise.
|
||||
(g_esp): Likewise.
|
||||
(g_ebp_save): Likewise.
|
||||
(g_esp_save): Likewise.
|
||||
|
||||
2011-01-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* g++.dg/ipa/pr46984.C: Add dg-require-effective-target lto.
|
||||
|
@ -47,8 +47,13 @@ copy (char *p, int size)
|
||||
__builtin_strncpy (p, "good", size);
|
||||
}
|
||||
|
||||
int g_edi=INIT_EDI, g_esi=INIT_ESI, g_ebx=INIT_EBX;
|
||||
int g_ebp, g_ebp_save, g_esp, g_esp_save;
|
||||
int g_edi __attribute__((externally_visible)) =INIT_EDI;
|
||||
int g_esi __attribute__((externally_visible)) =INIT_ESI;
|
||||
int g_ebx __attribute__((externally_visible)) = INIT_EBX;
|
||||
int g_ebp __attribute__((externally_visible));
|
||||
int g_esp __attribute__((externally_visible));
|
||||
int g_ebp_save __attribute__((externally_visible));
|
||||
int g_esp_save __attribute__((externally_visible));
|
||||
int n_error;
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user