This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR37216 [cygming] Invalid alignment for SSE store to .comm data generated with -O3


Dave Korn wrote:
> gcc/ChangeLog:
> 
> 	PR target/37216

  A tiny spot of self-review:

> Index: gcc/config/i386/winnt.c
> ===================================================================
> --- gcc/config/i386/winnt.c	(revision 147710)
> +++ gcc/config/i386/winnt.c	(working copy)
> @@ -510,9 +510,12 @@ i386_pe_asm_output_aligned_decl_common (FILE *stre
>  
>    fprintf (stream, "\t.comm\t");
>    assemble_name (stream, name);
> -  fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC "\t" ASM_COMMENT_START


  There's a comment just above this point, that I should update along the
following lines before committing:


> -  /* Compute as in assemble_noswitch_variable, since we don't actually
> -     support aligned common.  */
> +  /* Compute as in assemble_noswitch_variable, since we don't have
> +     support for aligned common on older binutils.  */


  (Don't think I'll re-run the entire testsuite for that change, though!)

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]