public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
@ 2015-05-03  7:44 zsojka at seznam dot cz
  2015-05-04  9:31 ` [Bug target/65990] " jakub at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2015-05-03  7:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

            Bug ID: 65990
           Summary: ICE: in extract_insn, at recog.c:2341 (unrecognizable
                    insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32
                    -mtune=btver2
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

Created attachment 35447
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35447&action=edit
reduced testcase

Compiler output:
$ gcc -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 testcase.c
testcase.c: In function 'foo':
testcase.c:24:1: error: unrecognizable insn:
 }
 ^
(insn 8 7 9 2 (parallel [
            (set (reg:SI 89)
                (const_int 0 [0]))
            (set (reg/f:SI 87)
                (plus:SI (ashift:SI (reg:SI 89)
                        (const_int 3 [0x3]))
                    (reg/f:SI 87)))
            (set (reg/f:SI 88)
                (plus:SI (ashift:SI (reg:SI 89)
                        (const_int 3 [0x3]))
                    (reg/f:SI 88)))
            (set (mem/c:BLK (reg/f:SI 87) [0 u9+0 S32 A32])
                (mem/u/c:BLK (reg/f:SI 88) [0  S32 A32]))
            (use (reg:SI 89))
        ]) testcase.c:11 -1
     (nil))
testcase.c:24:1: internal compiler error: in extract_insn, at recog.c:2341
0xae3e58 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:110
0xae3ee8 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:118
0xa99fe8 extract_insn(rtx_insn*)
        /mnt/svn/gcc-trunk/gcc/recog.c:2341
0x866dde instantiate_virtual_regs_in_insn
        /mnt/svn/gcc-trunk/gcc/function.c:1646
0x866dde instantiate_virtual_regs
        /mnt/svn/gcc-trunk/gcc/function.c:1966
0x866dde execute
        /mnt/svn/gcc-trunk/gcc/function.c:2015
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r222716 - ICE
5 r222437 - ICE
4_9 r222436 - ICE


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
@ 2015-05-04  9:31 ` jakub at gcc dot gnu.org
  2015-05-05  7:03 ` ubizjak at gmail dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-05-04  9:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-05-04
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Not a regression, seems to have started with r201645 when the option has been
introduced.


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
  2015-05-04  9:31 ` [Bug target/65990] " jakub at gcc dot gnu.org
@ 2015-05-05  7:03 ` ubizjak at gmail dot com
  2015-05-05  7:42 ` ubizjak at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2015-05-05  7:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
We are passing (unsupported on 32bit target) DImode to
expand_set_or_movmem_via_rep:

(gdb) bt
#0  expand_set_or_movmem_via_rep (destmem=0x2aaaae8b8d68,
srcmem=0x2aaaae8b8d80, destptr=0x2aaaae8b8d98, srcptr=0x2aaaae8b8dc8,
value=0x0, 
    orig_value=0x0, count=0x2aaaae7b06c0, mode=DImode, issetmem=false) at
/home/uros/gcc-svn/trunk/gcc/config/i386/i386.c:23523
#1  0x00000000010eb99b in ix86_expand_set_or_movmem (dst=0x2aaaae8b8d68,
src=0x2aaaae8b8d80, count_exp=0x2aaaae7b06c0, val_exp=0x0, 
    align_exp=0x2aaaae7b04c0, expected_align_exp=0x2aaaae7b04c0,
expected_size_exp=0x2aaaae7b0470, min_size_exp=0x2aaaae7b06c0, 
    max_size_exp=0x2aaaae7b06c0, probable_max_size_exp=0x2aaaae7b06c0,
issetmem=false) at /home/uros/gcc-svn/trunk/gcc/config/i386/i386.c:25114
#2  0x0000000001259fc4 in gen_movmemsi (operand0=0x2aaaae8b8d68,
operand1=0x2aaaae8b8d80, operand2=0x2aaaae7b06c0, operand3=0x2aaaae7b04c0, 
    operand4=0x2aaaae7b04c0, operand5=0x2aaaae7b0470, operand6=0x2aaaae7b06c0,
operand7=0x2aaaae7b06c0, operand8=0x2aaaae7b06c0)
    at /home/uros/gcc-svn/trunk/gcc/config/i386/i386.md:15968
>From gcc-bugs-return-485470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 05 07:12:39 2015
Return-Path: <gcc-bugs-return-485470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7792 invoked by alias); 5 May 2015 07:12:39 -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 7676 invoked by uid 48); 5 May 2015 07:12:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66012] Sub-optimal 64bit load is generated instead of zero-extension
Date: Tue, 05 May 2015 07:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-66012-4-8CqX6RmXrJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66012-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66012-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: 2015-05/txt/msg00310.txt.bz2
Content-length: 643

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf012

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
In GIMPLE that masking is generally useless though, you shift the bits away,
and without the extra BIT_AND_EXPR the expression is more canonical and
shorter.
So, supposedly during expansion or combine you could figure this from the left
shift with large shift count.


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
  2015-05-04  9:31 ` [Bug target/65990] " jakub at gcc dot gnu.org
  2015-05-05  7:03 ` ubizjak at gmail dot com
@ 2015-05-05  7:42 ` ubizjak at gmail dot com
  2015-05-05 16:54 ` uros at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2015-05-05  7:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Proposed patch:

--cut here--
Index: i386.c
===================================================================
--- i386.c      (revision 222796)
+++ i386.c      (working copy)
@@ -2988,6 +2988,17 @@ ix86_parse_stringop_strategy_string (char *strateg
           return;
         }

+      if ((stringop_alg) i == rep_prefix_8_byte
+         && !TARGET_64BIT)
+       {
+         /* rep; movq isn't available in 32-bit code.  */
+         error ("stringop strategy name %s specified for option %s "
+                "not supported for 32-bit code",
+                 alg_name,
+                 is_memset ? "-mmemset_strategy=" : "-mmemcpy_strategy=");
+         return;
+       }
+
       input_ranges[n].max = maxs;
       input_ranges[n].alg = (stringop_alg) i;
       if (!strcmp (align, "align"))
--cut here--
>From gcc-bugs-return-485478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 05 07:52:37 2015
Return-Path: <gcc-bugs-return-485478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112957 invoked by alias); 5 May 2015 07:52:37 -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 112891 invoked by uid 48); 5 May 2015 07:52:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/66011] [6 Regression] call to '__open_missing_mode' declared with attribute error
Date: Tue, 05 May 2015 07:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-66011-4-GneKdLYVhv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66011-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66011-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: 2015-05/txt/msg00318.txt.bz2
Content-length: 1011

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf011

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |redi at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
    CloseFD out = { ::open(to.c_str(), O_WRONLY|O_CREAT) };
indeed looks like a bug to me, for O_CREAT one needs to use 3 argument ::open,
to specify mode.  It is true that there is later on a fchmodat or chmod, but
that still leaves the permissions in between the open and chmod as random.
Either it should be ::open(to.c_str(), O_WRONLY|O_CREAT, from_st->st_mode) ,
or perhaps say from_st->st_mode & S_IRWXU, etc. so that you don't expose the
file content while it is still incomplete to other users, or just S_IWUSR so
that owner can write and nothing else.


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2015-05-05  7:42 ` ubizjak at gmail dot com
@ 2015-05-05 16:54 ` uros at gcc dot gnu.org
  2015-05-05 16:59 ` ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: uros at gcc dot gnu.org @ 2015-05-05 16:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

--- Comment #4 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue May  5 16:53:27 2015
New Revision: 222817

URL: https://gcc.gnu.org/viewcvs?rev=222817&root=gcc&view=rev
Log:
        PR target/65990
        * config/i386/i386.c (ix86_parse_stringop_strategy_string): Error out
        if rep_8byte stringop strategy was specified for 32-bit target.

testsuite/ChangeLog:

        PR target/65990
        * gcc.target/i386/pr65990.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr65990.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2015-05-05 16:54 ` uros at gcc dot gnu.org
@ 2015-05-05 16:59 ` ubizjak at gmail dot com
  2015-05-05 17:08 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2015-05-05 16:59 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 12643 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com
>From gcc-bugs-return-485547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 05 17:03:50 2015
Return-Path: <gcc-bugs-return-485547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15867 invoked by alias); 5 May 2015 17:03:49 -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 15794 invoked by uid 48); 5 May 2015 17:03:46 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65983] [6 Regression] ICE: SIGSEGV in mark_label_nuses (emit-rtl.c:3618) with -fsanitize=thread -mavx512ifma -marchºrcelona
Date: Tue, 05 May 2015 17:03: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: 6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status dependson resolution
Message-ID: <bug-65983-4-OU5u9hkqmv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65983-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-05/txt/msg00387.txt.bz2
Content-length: 736

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65983

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Depends on|65915                       |
         Resolution|---                         |DUPLICATE

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Confirmed dup of PR65915.

*** This bug has been marked as a duplicate of bug 65915 ***


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65915
[Bug 65915] [6 Regression] FAIL: gcc.target/i386/avx512f-vrndscalepd-2.c
(internal compiler error)
>From gcc-bugs-return-485548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 05 17:03:51 2015
Return-Path: <gcc-bugs-return-485548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16041 invoked by alias); 5 May 2015 17:03:50 -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 15828 invoked by uid 48); 5 May 2015 17:03:47 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65915] [6 Regression] FAIL: gcc.target/i386/avx512f-vrndscalepd-2.c (internal compiler error)
Date: Tue, 05 May 2015 17:03: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: blocked
Message-ID: <bug-65915-4-nff7z2K9ps@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65915-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65915-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-05/txt/msg00388.txt.bz2
Content-length: 631

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65915

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|65983                       |

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
*** Bug 65983 has been marked as a duplicate of this bug. ***


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65983
[Bug 65983] [6 Regression] ICE: SIGSEGV in mark_label_nuses (emit-rtl.c:3618)
with -fsanitize=thread -mavx512ifma -march=barcelona
>From gcc-bugs-return-485549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 05 17:05:34 2015
Return-Path: <gcc-bugs-return-485549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20359 invoked by alias); 5 May 2015 17:05:34 -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 20319 invoked by uid 48); 5 May 2015 17:05:30 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65915] [6 Regression] FAIL: gcc.target/i386/avx512f-vrndscalepd-2.c (internal compiler error)
Date: Tue, 05 May 2015 17:05: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-65915-4-qNdmq9id31@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65915-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65915-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-05/txt/msg00389.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65915

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed.
>From gcc-bugs-return-485550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 05 17:07:24 2015
Return-Path: <gcc-bugs-return-485550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27424 invoked by alias); 5 May 2015 17:07:24 -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 24580 invoked by uid 48); 5 May 2015 17:07:21 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66020] New: [6.0 regression] FAIL: gcc.target/powerpc/ppc64-abi-2.c execution test
Date: Tue, 05 May 2015 17:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget
Message-ID: <bug-66020-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: 2015-05/txt/msg00390.txt.bz2
Content-length: 2952

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf020

            Bug ID: 66020
           Summary: [6.0 regression] FAIL:
                    gcc.target/powerpc/ppc64-abi-2.c execution test
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
  Target Milestone: ---
            Target: powerpc64-*-*

$ gcc/xgcc -Bgcc/ ../gcc/testsuite/gcc.target/powerpc/ppc64-abi-2.c -O2
-fprofile -mprofile-kernel -maltivec -mabi=altivec -lm -m64 -o
./ppc64-abi-2.exe
$ ./ppc64-abi-2.exe
Segmentation fault
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00003fffb7d24dcc in generic_start_main (
    main=@0x10012190: 0x100005d0 <main>, argc=<optimized out>,
    argv=0x3fffffffef48, auxvec=0x3ffffffff220, init=<optimized out>,
    rtld_fini=<optimized out>, stack_end=<optimized out>, fini=<optimized out>)
    at ../csu/libc-start.c:269
#2  0x00003fffb7d24fd4 in __libc_start_main (argc=<optimized out>,
    argv=<optimized out>, ev=<optimized out>, auxvec=<optimized out>,
    rtld_fini=<optimized out>, stinfo=<optimized out>,
    stack_on_entry=<optimized out>)
    at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:80
#3  0x0000000000000000 in ?? ()


Breakpoint 3, fcvi (s=0x100011e0 "vv", v=..., i=2)
    at ../gcc/testsuite/gcc.target/powerpc/ppc64-abi-2.c:138
138       reg_parms_t lparms = gparms;
(gdb) disass
Dump of assembler code for function fcvi:
   0x0000000010000900 <+0>:     mflr    r0
   0x0000000010000904 <+4>:     bl      0x10000820 <my_mcount>
   0x0000000010000908 <+8>:     mflr    r0
=> 0x000000001000090c <+12>:    nop
   0x0000000010000910 <+16>:    li      r8,176
   0x0000000010000914 <+20>:    ld      r10,-32744(r2)
   0x0000000010000918 <+24>:    std     r0,16(r1)
   0x000000001000091c <+28>:    stdu    r1,-112(r1)
   0x0000000010000920 <+32>:    ld      r9,0(r10)
   0x0000000010000924 <+36>:    ld      r6,32(r10)
   0x0000000010000928 <+40>:    cmpd    cr7,r3,r9
   0x000000001000092c <+44>:    lvx     v0,r10,r8
   0x0000000010000930 <+48>:    bne-    cr7,0x10000954 <fcvi+84>
   0x0000000010000934 <+52>:    vcmpequw. v2,v2,v0
   0x0000000010000938 <+56>:    bge-    cr6,0x10000954 <fcvi+84>
   0x000000001000093c <+60>:    cmpd    cr7,r7,r6
   0x0000000010000940 <+64>:    bne-    cr7,0x10000954 <fcvi+84>
   0x0000000010000944 <+68>:    addi    r1,r1,112
   0x0000000010000948 <+72>:    ld      r0,16(r1)
   0x000000001000094c <+76>:    mtlr    r0
   0x0000000010000950 <+80>:    blr
   0x0000000010000954 <+84>:    bl      0x100005bc
<00000044.plt_call.abort@@GLIBC_2.3>
   0x0000000010000958 <+88>:    ld      r2,40(r1)
   0x000000001000095c <+92>:    .long 0x0
   0x0000000010000960 <+96>:    .long 0x1
   0x0000000010000964 <+100>:   lwz     r0,0(0)
End of assembler dump.
(gdb) i reg r0
r0             0x0      0


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2015-05-05 16:59 ` ubizjak at gmail dot com
@ 2015-05-05 17:08 ` ubizjak at gmail dot com
  2015-05-06 16:18 ` uros at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2015-05-05 17:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.3
>From gcc-bugs-return-485553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue May 05 17:11:13 2015
Return-Path: <gcc-bugs-return-485553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64610 invoked by alias); 5 May 2015 17:11:13 -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 64531 invoked by uid 48); 5 May 2015 17:11:10 -0000
From: "nunoplopes at sapo dot pt" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/66021] New: GCC miscompiles Z3
Date: Tue, 05 May 2015 17:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: nunoplopes at sapo dot pt
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-66021-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: 2015-05/txt/msg00393.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf021

            Bug ID: 66021
           Summary: GCC miscompiles Z3
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nunoplopes at sapo dot pt
  Target Milestone: ---

GCC 4.92 miscompiles Z3. I've tried Cygwin and Linux, 32 and 64 bits, and all
miscompile.


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2015-05-05 17:08 ` ubizjak at gmail dot com
@ 2015-05-06 16:18 ` uros at gcc dot gnu.org
  2015-05-06 16:21 ` uros at gcc dot gnu.org
  2015-05-06 16:23 ` ubizjak at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: uros at gcc dot gnu.org @ 2015-05-06 16:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

--- Comment #5 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed May  6 16:17:59 2015
New Revision: 222858

URL: https://gcc.gnu.org/viewcvs?rev=222858&root=gcc&view=rev
Log:
        PR target/65990
        * config/i386/i386.c (ix86_parse_stringop_strategy_string): Error out
        if rep_8byte stringop strategy was specified for 32-bit target.

testsuite/ChangeLog:

        PR target/65990
        * gcc.target/i386/pr65990.c: New test.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr65990.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/i386/i386.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2015-05-06 16:18 ` uros at gcc dot gnu.org
@ 2015-05-06 16:21 ` uros at gcc dot gnu.org
  2015-05-06 16:23 ` ubizjak at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: uros at gcc dot gnu.org @ 2015-05-06 16:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

--- Comment #6 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed May  6 16:21:07 2015
New Revision: 222859

URL: https://gcc.gnu.org/viewcvs?rev=222859&root=gcc&view=rev
Log:
        PR target/65990
        * config/i386/i386.c (ix86_parse_stringop_strategy_string): Error out
        if rep_8byte stringop strategy was specified for 32-bit target.

testsuite/ChangeLog:

        PR target/65990
        * gcc.target/i386/pr65990.c: New test.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr65990.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/i386/i386.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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

* [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
  2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
                   ` (7 preceding siblings ...)
  2015-05-06 16:21 ` uros at gcc dot gnu.org
@ 2015-05-06 16:23 ` ubizjak at gmail dot com
  8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2015-05-06 16:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
.
>From gcc-bugs-return-485670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 06 16:23:02 2015
Return-Path: <gcc-bugs-return-485670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125213 invoked by alias); 6 May 2015 16:23:01 -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 125173 invoked by uid 48); 6 May 2015 16:22:58 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65990] ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2
Date: Wed, 06 May 2015 16:23: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: 6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 4.9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65990-4-90ECYvznrm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65990-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65990-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-05/txt/msg00510.txt.bz2
Content-length: 140

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed everywhere.
>From gcc-bugs-return-485672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 06 16:26:30 2015
Return-Path: <gcc-bugs-return-485672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53435 invoked by alias); 6 May 2015 16:26:30 -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 52975 invoked by uid 48); 6 May 2015 16:26:24 -0000
From: "amacleod at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65697] __atomic memory barriers not strong enough for __sync builtins
Date: Wed, 06 May 2015 16:26: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: 5.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amacleod at redhat dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mwahab at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65697-4-NgNnoMk2KF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65697-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65697-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: 2015-05/txt/msg00512.txt.bz2
Content-length: 1246

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide697

--- Comment #52 from Andrew Macleod <amacleod at redhat dot com> ---
(In reply to mwahab from comment #51)

> The mips backend was the only one that stood out as needing some care,
> because the way it uses the memory models (e.g. in function
> mips_process_sync_loop) is a little different from the backends.
>

Yeah, it looks a bit wonky, but doesn't need anything special when I looked
closer. That 11 and 10 are special overrides on a  couple of patterns, the rest
are just normal memory model values from a specified operand.

Although I did miss a conversion there that has no real effect, but should be
put in place...    I'll add it to my patches.


*** mips.c      2015-05-06 12:15:04.145423200 -0400
--- BAK/mips.c  2015-05-06 12:12:57.265671466 -0400
*************** mips_process_sync_loop (rtx_insn *insn,
*** 13111,13117 ****
        model = MEMMODEL_ACQUIRE;
        break;
      default:
!       model = memmodel_from_int (INTVAL (operands[memmodel_attr]));
      }

    mips_multi_start ();
--- 13111,13117 ----
        model = MEMMODEL_ACQUIRE;
        break;
      default:
!       model = (enum memmodel) INTVAL (operands[memmodel_attr]);
      }

    mips_multi_start ();


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

end of thread, other threads:[~2015-05-06 16:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-03  7:44 [Bug target/65990] New: ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 zsojka at seznam dot cz
2015-05-04  9:31 ` [Bug target/65990] " jakub at gcc dot gnu.org
2015-05-05  7:03 ` ubizjak at gmail dot com
2015-05-05  7:42 ` ubizjak at gmail dot com
2015-05-05 16:54 ` uros at gcc dot gnu.org
2015-05-05 16:59 ` ubizjak at gmail dot com
2015-05-05 17:08 ` ubizjak at gmail dot com
2015-05-06 16:18 ` uros at gcc dot gnu.org
2015-05-06 16:21 ` uros at gcc dot gnu.org
2015-05-06 16:23 ` 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).