GCC Bugzilla – Attachment 16303 Details for
Bug 37216
[cygming] Invalid alignment for SSE store to .comm data generated with -O3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Implement alignment for non-local commons
pr37216_winnt.c_patch (text/plain), 1.19 KB, created by
Nick Clifton
on 2008-09-12 15:52:21 UTC
(
hide
)
Description:
Implement alignment for non-local commons
Filename:
MIME Type:
Creator:
Nick Clifton
Created:
2008-09-12 15:52:21 UTC
Size:
1.19 KB
patch
obsolete
>Index: gcc/config/i386/winnt.c >=================================================================== >--- gcc/config/i386/winnt.c (revision 140312) >+++ gcc/config/i386/winnt.c (working copy) >@@ -502,24 +502,13 @@ > void > i386_pe_asm_output_aligned_decl_common (FILE *stream, tree decl, > const char *name, HOST_WIDE_INT size, >- HOST_WIDE_INT align ATTRIBUTE_UNUSED) >+ HOST_WIDE_INT align) > { >- HOST_WIDE_INT rounded; >- >- /* Compute as in assemble_noswitch_variable, since we don't actually >- support aligned common. */ >- rounded = size ? size : 1; >- rounded += (BIGGEST_ALIGNMENT / BITS_PER_UNIT) - 1; >- rounded = (rounded / (BIGGEST_ALIGNMENT / BITS_PER_UNIT) >- * (BIGGEST_ALIGNMENT / BITS_PER_UNIT)); >- > i386_pe_maybe_record_exported_symbol (decl, name, 1); >- >- fprintf (stream, "\t.comm\t"); >+ >+ fprintf (stream, "\t.bss\n\t.balign %d\n\t.comm \t", ((int) align) / BITS_PER_UNIT); > assemble_name (stream, name); >- fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC "\t" ASM_COMMENT_START >- " " HOST_WIDE_INT_PRINT_DEC "\n", >- rounded, size); >+ fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC "\n", size); > } > > /* The Microsoft linker requires that every function be marked as
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37216
:
16303
|
16425
|
16426
|
16427
|
16458
|
16475
|
17895
|
17906
|
17909