public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "xarthisius.kk at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/53700] New: [4.7 regression] ICE in reload_cse_simplify_operands, at postreload.c:403
Date: Sat, 16 Jun 2012 22:01:00 -0000	[thread overview]
Message-ID: <bug-53700-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 53700
           Summary: [4.7 regression] ICE in reload_cse_simplify_operands,
                    at postreload.c:403
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: xarthisius.kk@gmail.com


Created attachment 27635
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27635
reduced testcase

Attached code causes following:

(x86) otus / # gcc-4.7.1 -O2 -fPIC -c ice_421413.i
ice_421413.i: In function 'oc_enc_analyze_inter':
ice_421413.i:262:11: warning: passing argument 4 of 'oc_cost_inter4mv' makes
pointer from integer without a cast [enabled by default]
ice_421413.i:209:13: note: expected 'signed char (*)[2]' but argument is of
type 'int'
ice_421413.i:275:1: error: insn does not satisfy its constraints:
(insn 453 452 550 8 (set (reg/f:SI 405)
        (plus:SI (reg/f:SI 20 frame)
            (const_int -480 [0xfffffffffffffe20]))) 247 {*leasi_2}
     (expr_list:REG_EQUIV (plus:SI (reg/f:SI 20 frame)
            (const_int -480 [0xfffffffffffffe20]))
        (nil)))
ice_421413.i:275:1: internal compiler error: in reload_cse_simplify_operands,
at postreload.c:403

(x86) otus work # gcc -v
Using built-in specs.
COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.7.1/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.7.1/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /dev/shm/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.7.1
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.1
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.1/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.1/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check
--with-cloog-include=/usr/include/cloog-ppl --enable-lto --enable-nls
--without-included-gettext --with-system-zlib --enable-obsolete
--disable-werror --enable-secureplt --disable-multilib --enable-libmudflap
--disable-libssp --enable-libgomp
--with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.7.1/python
--enable-checking=release --disable-libgcj --with-arch=i686
--enable-languages=c,c++,fortran --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.7.1 p1.0,
pie-0.5.3'
Thread model: posix
gcc version 4.7.1 (Gentoo 4.7.1 p1.0, pie-0.5.3) 

It can be also reproduced on x86_64 with addition of -m32 flag.


             reply	other threads:[~2012-06-16 22:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-16 22:01 xarthisius.kk at gmail dot com [this message]
2012-06-16 22:04 ` [Bug rtl-optimization/53700] " xarthisius.kk at gmail dot com
2012-06-17  0:00 ` dirtyepic at gentoo dot org
2012-06-17  0:05 ` dirtyepic at gentoo dot org
2012-06-17 10:07 ` xarthisius.kk at gmail dot com
2012-06-18  9:02 ` rguenth at gcc dot gnu.org
2012-06-18 18:34 ` vmakarov at gcc dot gnu.org
2012-06-19  9:19 ` rguenth at gcc dot gnu.org
2012-06-23 16:40 ` doko at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53700-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).