public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60506] New: g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming
@ 2014-03-12  4:47 jenkinsj89 at yahoo dot ca
  2014-03-12  4:48 ` [Bug c++/60506] " jenkinsj89 at yahoo dot ca
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jenkinsj89 at yahoo dot ca @ 2014-03-12  4:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60506
           Summary: g++ reports "internal compiler error" using SSE2 and
                    not entirely beautiful programming
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jenkinsj89 at yahoo dot ca
              Host: i86_64-pc-cygwin
            Target: i86_64-pc-cygwin -march=corei7

I compiled the enclosed program with:

g++ -S -v -Wall -Wextra -std=c++11 -march=corei7 -save-temps rabbit-gccbug.cc

and it reported the text hereafter pasted.  It reports the same error
if "-O2" is enabled, and it also reports the same error if 
"-fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations"
is provided.

As requested, I am attaching the preprocessed output rather than the original
program, but please note that the only included file is <cstdint>.


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

* [Bug c++/60506] g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming
  2014-03-12  4:47 [Bug c++/60506] New: g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming jenkinsj89 at yahoo dot ca
@ 2014-03-12  4:48 ` jenkinsj89 at yahoo dot ca
  2014-03-12  5:03 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jenkinsj89 at yahoo dot ca @ 2014-03-12  4:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from jenkinsj89 at yahoo dot ca ---
Created attachment 32337
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32337&action=edit
the program that gives g++ fits


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

* [Bug c++/60506] g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming
  2014-03-12  4:47 [Bug c++/60506] New: g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming jenkinsj89 at yahoo dot ca
  2014-03-12  4:48 ` [Bug c++/60506] " jenkinsj89 at yahoo dot ca
@ 2014-03-12  5:03 ` pinskia at gcc dot gnu.org
  2014-03-12  5:09 ` pinskia at gcc dot gnu.org
  2014-03-12  5:12 ` [Bug c++/60506] ICE with && on vectors in C++ pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-03-12  5:03 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


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

* [Bug c++/60506] g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming
  2014-03-12  4:47 [Bug c++/60506] New: g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming jenkinsj89 at yahoo dot ca
  2014-03-12  4:48 ` [Bug c++/60506] " jenkinsj89 at yahoo dot ca
  2014-03-12  5:03 ` pinskia at gcc dot gnu.org
@ 2014-03-12  5:09 ` pinskia at gcc dot gnu.org
  2014-03-12  5:12 ` [Bug c++/60506] ICE with && on vectors in C++ pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-03-12  5:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
typedef unsigned QuadV4 __attribute__((vector_size(16)));
void updateCount() {
QuadV4 QZ;
QuadV4 v;
v == QZ && v == QZ;
}


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

* [Bug c++/60506] ICE with && on vectors in C++
  2014-03-12  4:47 [Bug c++/60506] New: g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming jenkinsj89 at yahoo dot ca
                   ` (2 preceding siblings ...)
  2014-03-12  5:09 ` pinskia at gcc dot gnu.org
@ 2014-03-12  5:12 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-03-12  5:12 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|i86_64-pc-cygwin            |
                   |-march=corei7               |
            Summary|g++ reports "internal       |ICE with && on vectors in
                   |compiler error" using SSE2  |C++
                   |and not entirely beautiful  |
                   |programming                 |
              Alias|kc_sse2_shuffle             |

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
ICEs as of 4.9 20140219 too.

C front-end errors out:
t.c: In function ‘updateCount’:
t.c:5:5: error: used vector type where scalar is required
>From gcc-bugs-return-446072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 12 05:14:22 2014
Return-Path: <gcc-bugs-return-446072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7012 invoked by alias); 12 Mar 2014 05:14: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 6931 invoked by uid 48); 12 Mar 2014 05:14:18 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60506] ICE with && on vectors in C++
Date: Wed, 12 Mar 2014 05:14: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.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
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 resolution
Message-ID: <bug-60506-4-YZUUgsKxOb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60506-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: 2014-03/txt/msg00941.txt.bz2
Content-length: 592

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`506

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Turns out this is dup of bug 58845.  In 4.9 we print a sorry message meaning we
don't handle this just yet.

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


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

end of thread, other threads:[~2014-03-12  5:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-12  4:47 [Bug c++/60506] New: g++ reports "internal compiler error" using SSE2 and not entirely beautiful programming jenkinsj89 at yahoo dot ca
2014-03-12  4:48 ` [Bug c++/60506] " jenkinsj89 at yahoo dot ca
2014-03-12  5:03 ` pinskia at gcc dot gnu.org
2014-03-12  5:09 ` pinskia at gcc dot gnu.org
2014-03-12  5:12 ` [Bug c++/60506] ICE with && on vectors in C++ pinskia at gcc dot gnu.org

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).