From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5406 invoked by alias); 30 Jan 2013 05:06:09 -0000 Received: (qmail 5312 invoked by uid 48); 30 Jan 2013 05:05:33 -0000 From: "regehr at cs dot utah.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/56144] New: ICE in get_reload_reg, at lra-constraints.c:421 Date: Wed, 30 Jan 2013 05:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: regehr at cs dot utah.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg02700.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56144 Bug #: 56144 Summary: ICE in get_reload_reg, at lra-constraints.c:421 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: regehr@cs.utah.edu CC: chenyang@cs.utah.edu regehr@home:~/z/reduce/r200$ gcc -O small.c small.c: In function =E2=80=98main=E2=80=99: small.c:43:1: internal compiler error: in get_reload_reg, at lra-constraints.c:421 } ^ 0x7f66a2 get_reload_reg /home/regehr/z/compiler-source/gcc/gcc/lra-constraints.c:421 0x7f6838 process_addr_reg /home/regehr/z/compiler-source/gcc/gcc/lra-constraints.c:1106 0x7f6b94 process_address /home/regehr/z/compiler-source/gcc/gcc/lra-constraints.c:2360 0x7f977f curr_insn_transform /home/regehr/z/compiler-source/gcc/gcc/lra-constraints.c:2720 0x7fbe04 lra_constraints(bool) /home/regehr/z/compiler-source/gcc/gcc/lra-constraints.c:3554 0x7eeeae lra(_IO_FILE*) /home/regehr/z/compiler-source/gcc/gcc/lra.c:2279 0x7b7218 do_reload /home/regehr/z/compiler-source/gcc/gcc/ira.c:4623 0x7b7218 rest_of_handle_reload /home/regehr/z/compiler-source/gcc/gcc/ira.c:4736 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. regehr@home:~/z/reduce/r200$ cat small.c int a; union U0 { volatile unsigned f2; volatile unsigned f4; }; volatile b; static union U0 c; volatile unsigned d, f; volatile e; volatile g; volatile h; volatile i; volatile j; volatile k; volatile l; volatile m; volatile n; volatile o; volatile p; main () { a =3D b; a +=3D c.f2; a +=3D c.f4; unsigned q =3D h; a +=3D q; q =3D g; a +=3D q; a +=3D f; q =3D e; a +=3D q; a +=3D d; a +=3D 2L; a +=3D j; a +=3D i; a +=3D k; a +=3D p; a +=3D o; a +=3D n; a +=3D m; a +=3D l; } regehr@home:~/z/reduce/r200$ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/home/regehr/z/compiler-install/gcc-r195565-install/l= ibexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /home/regehr/z/compiler-source/gcc/configure --with-libelf=3D/usr/local --enable-lto --prefix=3D/home/regehr/z/compiler-install/gcc-r195565-install --enable-languages=3Dc,c++ Thread model: posix gcc version 4.8.0 20130129 (experimental) (GCC)