From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10036 invoked by alias); 28 Jun 2010 06:01:10 -0000 Received: (qmail 9153 invoked by uid 48); 28 Jun 2010 06:00:53 -0000 Date: Mon, 28 Jun 2010 06:01:00 -0000 Subject: [Bug c/44695] New: ice in simplify_subreg, at simplify-rtx.c:5117 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "regehr at cs dot utah dot edu" 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: 2010-06/txt/msg02674.txt.bz2 regehr@john-home:~/volatile/bugs/tmp319$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/home/regehr/z/compiler-install/gcc-r161425-install/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../configure --with-libelf=/usr/local --enable-lto --prefix=/home/regehr/z/compiler-install/gcc-r161425-install --program-prefix=r161425- --enable-languages=c,c++ Thread model: posix gcc version 4.6.0 20100626 (experimental) (GCC) regehr@john-home:~/volatile/bugs/tmp319$ current-gcc -O2 small.c -c small.c: In function ‘int81’: small.c:20:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5117 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. regehr@john-home:~/volatile/bugs/tmp319$ cat small.c typedef int int32_t; typedef unsigned char uint8_t; static uint8_t safe_div_func_uint8_t_u_u (uint8_t ui1, uint8_t ui2) { return ui2 ? : (ui1 / ui2); } int safe (int); int func_51 (int); void int81 (void) { int32_t l_219 = 8L; if (safe (safe_div_func_uint8_t_u_u (1 || 0, l_219 & func_51 (0)))) { } } -- Summary: ice in simplify_subreg, at simplify-rtx.c:5117 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: regehr at cs dot utah dot edu GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44695