public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/54041] New: -mshort ICE in convert_memory_address_addr_space, at explow.c:327
@ 2012-07-20  1:57 ksop at hot dot ee
  2012-07-20  1:59 ` [Bug middle-end/54041] " ksop at hot dot ee
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: ksop at hot dot ee @ 2012-07-20  1:57 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54041
           Summary: -mshort ICE in convert_memory_address_addr_space, at
                    explow.c:327
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ksop@hot.ee


Appears when pointer+index is evaluated, with sizetype being short.

Also tried with one convert_memory_address_addr_space() call commented out, in
which case no ICE is produced. 4.6.3, 4.5.4 affected as well. An -mshort target
makes an interesting testing tool.

$ m68k-linux-gnu-gcc-4.7.1 -v
Using built-in specs.
COLLECT_GCC=m68k-linux-gnu-gcc-4.7.1
COLLECT_LTO_WRAPPER=/opt/gnu/libexec/gcc/m68k-linux-gnu/4.7.1/lto-wrapper
Target: m68k-linux-gnu
Configured with: ./configure --target=m68k-linux-gnu --build=x86_64-linux-gnu
--enable-languages=c --prefix=/opt/gnu
Thread model: posix
gcc version 4.7.1 (GCC) 

$ m68k-linux-gnu-gcc-4.7.1 -mshort -O -S test.i
test.i: In function 'fn':
test.i:5:2: internal compiler error: in convert_memory_address_addr_space, at
explow.c:327
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

end of thread, other threads:[~2014-02-11 14:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20  1:57 [Bug middle-end/54041] New: -mshort ICE in convert_memory_address_addr_space, at explow.c:327 ksop at hot dot ee
2012-07-20  1:59 ` [Bug middle-end/54041] " ksop at hot dot ee
2012-07-20  2:01 ` ksop at hot dot ee
2012-07-20 10:22 ` mikpe at it dot uu.se
2012-07-20 10:54 ` schwab@linux-m68k.org
2012-07-20 11:33 ` mikpe at it dot uu.se
2012-07-20 12:37 ` schwab@linux-m68k.org
2012-07-20 13:15 ` [Bug middle-end/54041] [4.7/4.8 regression] " schwab@linux-m68k.org
2012-07-20 13:18 ` schwab@linux-m68k.org
2012-09-07 10:02 ` rguenth at gcc dot gnu.org
2012-09-20 10:28 ` jakub at gcc dot gnu.org
2013-04-11  8:00 ` [Bug middle-end/54041] [4.7/4.8/4.9 " rguenth at gcc dot gnu.org
2014-02-06  6:02 ` law at redhat dot com
2014-02-11 13:59 ` law at gcc dot gnu.org
2014-02-11 14:00 ` law at redhat 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).