From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12812 invoked by alias); 27 Nov 2008 00:26:39 -0000 Received: (qmail 11454 invoked by uid 48); 27 Nov 2008 00:25:17 -0000 Date: Thu, 27 Nov 2008 00:26:00 -0000 Subject: [Bug c/38281] New: ice: Segmentation fault 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: 2008-11/txt/msg02306.txt.bz2 Seen using r142231 on Ubuntu Hardy on x86. regehr@john-home:~/volatile/tmp69$ current-gcc -O small.c small.c: In function ‘func_41’: small.c:22: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. regehr@john-home:~/volatile/tmp69$ current-gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../configure --program-prefix=current- --enable-languages=c,c++ --prefix=/home/regehr : (reconfigured) ../configure --program-prefix=current- --enable-languages=c,c++ --prefix=/home/regehr : (reconfigured) ../configure --program-prefix=current- --enable-languages=c,c++ --prefix=/home/regehr Thread model: posix gcc version 4.4.0 20081126 (experimental) (GCC) regehr@john-home:~/volatile/tmp69$ cat small.c typedef unsigned short int uint16_t; inline uint16_t safe_div_uint16_t_u_u (uint16_t ui1, uint16_t ui2) { if (ui2 == 0) return ui1; return ui1 / ui2; } uint16_t g_223; uint16_t g_243; int g_252; int func_41 (uint16_t p_42) { int l_258 = 0; int l_261 = 0x3D75D162L; g_223 = safe_div_uint16_t_u_u (g_243 > l_261, func_110 (l_258, 1)); for (g_252 = 0; g_252; g_252 = 1) { } } -- Summary: ice: Segmentation fault 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=38281