public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/59442] New: movapd tests fail if built with -fstack-protector-strong/all
@ 2013-12-10  1:06 rmansfield at qnx dot com
  2013-12-10  9:29 ` [Bug testsuite/59442] " ubizjak at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rmansfield at qnx dot com @ 2013-12-10  1:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59442

            Bug ID: 59442
           Summary: movapd tests fail if built with
                    -fstack-protector-strong/all
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rmansfield at qnx dot com

=== gcc tests ===

Schedule of variations:
    unix/-m32/-fstack-protector-strong

Running target unix/-m32/-fstack-protector-strong
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/ryan/gnu/gcc/trunk/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /home/ryan/gnu/gcc/trunk/gcc/testsuite/gcc.target/i386/i386.exp ...
FAIL: gcc.target/i386/avx-vmovapd-1.c execution test
FAIL: gcc.target/i386/avx-vmovapd-2.c execution test
FAIL: gcc.target/i386/avx-vmovapd-256-1.c execution test
FAIL: gcc.target/i386/avx-vmovapd-256-2.c execution test
FAIL: gcc.target/i386/sse2-movapd-1.c execution test
FAIL: gcc.target/i386/sse2-movapd-2.c execution test


The instrctions require 16 or 32byte alignment, but the tests are only aligning
the data at 8bytes.

Index: gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c
===================================================================
--- gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c    (revision 205838)
+++ gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c    (working copy)
@@ -15,7 +15,7 @@
 avx_test (void)
 {
   union256d u;
-  double e [4] __attribute__ ((aligned (8)))  =
{41124.234,2344.2354,8653.65635,856.43576};
+  double e [4] __attribute__ ((aligned (32)))  =
{41124.234,2344.2354,8653.65635,856.43576};

   u.x = test (e);

Index: gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c
===================================================================
--- gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c    (revision 205838)
+++ gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c    (working copy)
@@ -15,7 +15,7 @@
 avx_test (void)
 {
   union256d u;
-  double e [4] __attribute__ ((aligned (8))) = {0.0};
+  double e [4] __attribute__ ((aligned (32))) = {0.0};

   u.x = _mm256_set_pd (39578.467285, 7856.342941, 85632.783567, 47563.234215);

Index: gcc/testsuite/gcc.target/i386/sse2-movapd-1.c
===================================================================
--- gcc/testsuite/gcc.target/i386/sse2-movapd-1.c    (revision 205838)
+++ gcc/testsuite/gcc.target/i386/sse2-movapd-1.c    (working copy)
@@ -25,7 +25,7 @@
 TEST (void)
 {
   union128d u;
-  double e[2] __attribute__ ((aligned (8))) = {2134.3343,1234.635654};
+  double e[2] __attribute__ ((aligned (16))) = {2134.3343,1234.635654};

   u.x = test (e);   

Index: gcc/testsuite/gcc.target/i386/sse2-movapd-2.c
===================================================================
--- gcc/testsuite/gcc.target/i386/sse2-movapd-2.c    (revision 205838)
+++ gcc/testsuite/gcc.target/i386/sse2-movapd-2.c    (working copy)
@@ -25,7 +25,7 @@
 TEST (void)
 {
   union128d u;
-  double e[2] __attribute__ ((aligned (8))) = {0.0};
+  double e[2] __attribute__ ((aligned (16))) = {0.0};

   u.x = _mm_set_pd (2134.3343,1234.635654);


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/59442] movapd tests fail if built with -fstack-protector-strong/all
  2013-12-10  1:06 [Bug testsuite/59442] New: movapd tests fail if built with -fstack-protector-strong/all rmansfield at qnx dot com
@ 2013-12-10  9:29 ` ubizjak at gmail dot com
  2013-12-12  7:49 ` uros at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2013-12-10  9:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59442

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Please post the patch with ChangeLog entry to gcc-patches@ mailing list.
>From gcc-bugs-return-437169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 10 09:52:22 2013
Return-Path: <gcc-bugs-return-437169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4861 invoked by alias); 10 Dec 2013 09:52:22 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 4461 invoked by uid 48); 10 Dec 2013 09:52:18 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/59200] ICE with invalid alias template use
Date: Tue, 10 Dec 2013 09:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-59200-4-SYCnlE2z2m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59200-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59200-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-12/txt/msg00824.txt.bz2
Content-length: 406

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY200

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-12-10
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/59442] movapd tests fail if built with -fstack-protector-strong/all
  2013-12-10  1:06 [Bug testsuite/59442] New: movapd tests fail if built with -fstack-protector-strong/all rmansfield at qnx dot com
  2013-12-10  9:29 ` [Bug testsuite/59442] " ubizjak at gmail dot com
@ 2013-12-12  7:49 ` uros at gcc dot gnu.org
  2013-12-12  7:53 ` uros at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: uros at gcc dot gnu.org @ 2013-12-12  7:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59442

--- Comment #2 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Dec 12 07:49:42 2013
New Revision: 205919

URL: http://gcc.gnu.org/viewcvs?rev=205919&root=gcc&view=rev
Log:
    PR testsuite/59442
    * gcc.target/i386/sse2-movapd-1.c: Fix alignment attributes.
    * gcc.target/i386/sse2-movapd-2.c: Likewise.
    * gcc.target/i386/avx-vmovapd-256-1.c: Likewise.
    * gcc.target/i386/avx-vmovapd-256-2.c: Likewise.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c
    trunk/gcc/testsuite/gcc.target/i386/sse2-movapd-1.c
    trunk/gcc/testsuite/gcc.target/i386/sse2-movapd-2.c


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/59442] movapd tests fail if built with -fstack-protector-strong/all
  2013-12-10  1:06 [Bug testsuite/59442] New: movapd tests fail if built with -fstack-protector-strong/all rmansfield at qnx dot com
  2013-12-10  9:29 ` [Bug testsuite/59442] " ubizjak at gmail dot com
  2013-12-12  7:49 ` uros at gcc dot gnu.org
@ 2013-12-12  7:53 ` uros at gcc dot gnu.org
  2013-12-12  8:00 ` uros at gcc dot gnu.org
  2013-12-12  8:09 ` ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: uros at gcc dot gnu.org @ 2013-12-12  7:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59442

--- Comment #3 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Dec 12 07:53:33 2013
New Revision: 205920

URL: http://gcc.gnu.org/viewcvs?rev=205920&root=gcc&view=rev
Log:
    Backport from mainline
    2013-12-12  Ryan Mansfield  <rmansfield@qnx.com>

    PR testsuite/59442
    * gcc.target/i386/sse2-movapd-1.c: Fix alignment attributes.
    * gcc.target/i386/sse2-movapd-2.c: Likewise.
    * gcc.target/i386/avx-vmovapd-256-1.c: Likewise.
    * gcc.target/i386/avx-vmovapd-256-2.c: Likewise.


Modified:
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/sse2-movapd-1.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/sse2-movapd-2.c


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/59442] movapd tests fail if built with -fstack-protector-strong/all
  2013-12-10  1:06 [Bug testsuite/59442] New: movapd tests fail if built with -fstack-protector-strong/all rmansfield at qnx dot com
                   ` (2 preceding siblings ...)
  2013-12-12  7:53 ` uros at gcc dot gnu.org
@ 2013-12-12  8:00 ` uros at gcc dot gnu.org
  2013-12-12  8:09 ` ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: uros at gcc dot gnu.org @ 2013-12-12  8:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59442

--- Comment #4 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Dec 12 08:00:22 2013
New Revision: 205921

URL: http://gcc.gnu.org/viewcvs?rev=205921&root=gcc&view=rev
Log:
    Backport from mainline
    2013-12-12  Ryan Mansfield  <rmansfield@qnx.com>

    PR testsuite/59442
    * gcc.target/i386/sse2-movapd-1.c: Fix alignment attributes.
    * gcc.target/i386/sse2-movapd-2.c: Likewise.
    * gcc.target/i386/avx-vmovapd-256-1.c: Likewise.
    * gcc.target/i386/avx-vmovapd-256-2.c: Likewise.


Modified:
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/avx-vmovapd-256-1.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/avx-vmovapd-256-2.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/sse2-movapd-1.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/sse2-movapd-2.c


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/59442] movapd tests fail if built with -fstack-protector-strong/all
  2013-12-10  1:06 [Bug testsuite/59442] New: movapd tests fail if built with -fstack-protector-strong/all rmansfield at qnx dot com
                   ` (3 preceding siblings ...)
  2013-12-12  8:00 ` uros at gcc dot gnu.org
@ 2013-12-12  8:09 ` ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2013-12-12  8:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59442

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86
             Status|UNCONFIRMED                 |RESOLVED
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2013-12/msg00977.htm
                   |                            |l
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.7.4

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed.
>From gcc-bugs-return-437388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 12 08:11:27 2013
Return-Path: <gcc-bugs-return-437388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2098 invoked by alias); 12 Dec 2013 08:11:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 2048 invoked by uid 48); 12 Dec 2013 08:11:23 -0000
From: "stigge at antcom dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/57386] ICE: hash-long-double-tr1-aux.cc:54:7: error: unrecognizable insn
Date: Thu, 12 Dec 2013 08:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stigge at antcom dot de
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57386-4-rrPrld5o4J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57386-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57386-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-12/txt/msg01043.txt.bz2
Content-length: 363

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW386

--- Comment #10 from Roland Stigge <stigge at antcom dot de> ---
Please apply this patch only to 4.8.0 for now. The trunk needs some additional
care, I'm working on this separately and will open a separate bug when it's
ready.

Would be nice if you could have a look at powerpc-linux-gnuspe anyway, though.
;-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-12  8:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-10  1:06 [Bug testsuite/59442] New: movapd tests fail if built with -fstack-protector-strong/all rmansfield at qnx dot com
2013-12-10  9:29 ` [Bug testsuite/59442] " ubizjak at gmail dot com
2013-12-12  7:49 ` uros at gcc dot gnu.org
2013-12-12  7:53 ` uros at gcc dot gnu.org
2013-12-12  8:00 ` uros at gcc dot gnu.org
2013-12-12  8:09 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).