+2015-10-21 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/68018
+ * config/i386/i386.c (ix86_compute_frame_layout): Realign the stack
+ for 64-bit MS_ABI targets also when default incoming stack boundary
+ is overriden.
+
2015-10-21 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c (cond_stmts_equal_p): Compare two GIMPLE
frame->nregs = ix86_nsaved_regs ();
frame->nsseregs = ix86_nsaved_sseregs ();
- /* 64-bit MS ABI seem to require stack alignment to be always 16 except for
- function prologues and leaf. */
+ /* 64-bit MS ABI seem to require stack alignment to be always 16,
+ except for function prologues, leaf functions and when the defult
+ incoming stack boundary is overriden at command line or via
+ force_align_arg_pointer attribute. */
if ((TARGET_64BIT_MS_ABI && crtl->preferred_stack_boundary < 128)
&& (!crtl->is_leaf || cfun->calls_alloca != 0
- || ix86_current_function_calls_tls_descriptor))
+ || ix86_current_function_calls_tls_descriptor
+ || ix86_incoming_stack_boundary < 128))
{
crtl->preferred_stack_boundary = 128;
crtl->stack_alignment_needed = 128;
+2015-10-21 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/68018
+ * gcc.target/i386/pr68018.c: New test.
+
2015-10-21 Richard Biener <rguenther@suse.de>
PR middle-end/68031
* gcc.dg/tree-ssa/ssa-dom-thread-2e.c: Likewise.
* gcc.dg/tree-ssa/ssa-dom-thread-2f.c: Likewise.
- PR testsuite/67959
+ PR testsuite/67959
* gcc.dg/tree-ssa/ssa-thread-13.c: Avoid bitfield assumptions.
2015-10-14 Marek Polacek <polacek@redhat.com>
2015-10-09 Martin Jambor <mjambor@suse.cz>
- tree-optimization/67794
- * gcc.dg/ipa/ipa-sra-10.c: Nw test.
- * gcc.dg/torture/pr67794.c: Likewise.
+ PR tree-optimization/67794
+ * gcc.dg/ipa/ipa-sra-10.c: New test.
+ * gcc.dg/torture/pr67794.c: Likewise.
2015-10-09 Alexandre Oliva <aoliva@redhat.com>
--- /dev/null
+/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
+/* { dg-options "-O -mabi=ms -mstackrealign" } */
+
+typedef float V __attribute__ ((vector_size (16)));
+
+int fn1 (V * x)
+{
+ V a = *x;
+ return a[0];
+}