public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/45869] New: type mismatch in shift expression produces ice with -O3 and -m32
@ 2010-10-02 18:49 gary at intrepid dot com
  2010-10-02 18:55 ` [Bug c/45869] " gary at intrepid dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gary at intrepid dot com @ 2010-10-02 18:49 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: type mismatch in shift expression produces ice with
                    -O3 and -m32
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gary@intrepid.com


This bug has a failure mode similar to bug #42927, except the failure occurs
only when compiling the attached test case with both -O3 and -m32 on an x86_64
host.  Checks must also be enabled.

The following output is produced:

vec-shift-m32-O3-ice.c: In function 'foo':
vec-shift-m32-O3-ice.c:22:1: error: type mismatch in vector shift expression
vector char *
vector char *
unsigned int
vect_var_.26_65 = vect_var_.23_64 v>> 64;

vec-shift-m32-O3-ice.c:22:1: error: type mismatch in vector shift expression
vector char *
vector char *
unsigned int
vect_var_.26_67 = vect_var_.26_66 v>> 32;

vec-shift-m32-O3-ice.c:22:1: internal compiler error: verify_stmts failed


Although the bug was detected in the 4.5.1 release, it can be reproduced in the
gcc-4.6-20100925 snapshot (SVN revision revision 164623) as well.


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

end of thread, other threads:[~2010-10-07 14:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-02 18:49 [Bug c/45869] New: type mismatch in shift expression produces ice with -O3 and -m32 gary at intrepid dot com
2010-10-02 18:55 ` [Bug c/45869] " gary at intrepid dot com
2010-10-02 23:16 ` [Bug c/45869] [4.5/4.6 Regression] " hjl.tools at gmail dot com
2010-10-02 23:20 ` hjl.tools at gmail dot com
2010-10-03 19:43 ` rguenth at gcc dot gnu.org
2010-10-07 13:39 ` rguenth at gcc dot gnu.org
2010-10-07 14:32 ` rguenth at gcc dot gnu.org
2010-10-07 14:53 ` rguenth 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).