public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mhlavink at redhat dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/52113] New: [4.7 regression][avr] ICE: in extract_insn, at recog.c:2123 Date: Fri, 03 Feb 2012 17:35:00 -0000 [thread overview] Message-ID: <bug-52113-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52113 Bug #: 52113 Summary: [4.7 regression][avr] ICE: in extract_insn, at recog.c:2123 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: mhlavink@redhat.com gcc 4.7 fails on code that was working in 4.6 without any problem Version: 4.7.0-20120128 Target: avr Problem happens only when optimization is used. Pre-processed reproducer: ============= cut ================= typedef unsigned int uint8_t __attribute__((__mode__(__QI__))); typedef unsigned int uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int uint32_t __attribute__ ((__mode__ (__SI__))); extern uint32_t inacCounter; uint8_t inactivityTimer; int main() { if(inacCounter>((uint32_t)inactivityTimer*1000)) inacCounter=0; } ============= cut ================= $ avr-g++ -c -mmcu=atmega64 reproducer.cpp -O1 reproducer.cpp: In function 'int main()': reproducer.cpp:11:1: error: unrecognizable insn: (insn 26 6 27 2 (set (concatn:HI [ (reg:QI 57) (reg:QI 58 [+1 ]) ]) (zero_extend:HI (reg:QI 48 [ inactivityTimer ]))) reproducer.cpp:10 -1 (nil)) reproducer.cpp:11:1: internal compiler error: in extract_insn, at recog.c:2123 Please submit a full bug report, with preprocessed source if appropriate. Additional information: $ avr-gcc -v Using built-in specs. COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/avr/4.7.0/lto-wrapper Target: avr Configured with: ../gcc-4.7-20120128/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --target=avr --enable-languages=c,c++ --disable-nls --disable-libssp --with-system-zlib --enable-version-specific-runtime-libs --with-pkgversion='Fedora 4.7-2.fc16' --with-bugurl=https://bugzilla.redhat.com/ Thread model: single gcc version 4.7.0 20120128 (experimental) (Fedora 4.7-2.fc16)
next reply other threads:[~2012-02-03 17:35 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-02-03 17:35 mhlavink at redhat dot com [this message] 2012-02-03 18:47 ` [Bug rtl-optimization/52113] [4.7 regression][lower-subreg.c] " gjl at gcc dot gnu.org 2012-02-04 0:10 ` jakub at gcc dot gnu.org 2012-02-04 1:15 ` gjl at gcc dot gnu.org 2012-02-04 7:39 ` jakub at gcc dot gnu.org 2012-02-04 12:48 ` jakub at gcc dot gnu.org 2012-02-04 12:59 ` jakub 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-52113-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: linkBe 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).