public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38281]  New: ice: Segmentation fault
@ 2008-11-27  0:26 regehr at cs dot utah dot edu
  2008-11-27  0:39 ` [Bug rtl-optimization/38281] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: regehr at cs dot utah dot edu @ 2008-11-27  0:26 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]

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 <http://gcc.gnu.org/bugs.html> 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-12-03  8:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-27  0:26 [Bug c/38281] New: ice: Segmentation fault regehr at cs dot utah dot edu
2008-11-27  0:39 ` [Bug rtl-optimization/38281] " pinskia at gcc dot gnu dot org
2008-11-27  0:39 ` pinskia at gcc dot gnu dot org
2008-11-27  0:40 ` [Bug rtl-optimization/38281] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-11-27  1:02 ` pinskia at gcc dot gnu dot org
2008-11-27 10:03 ` jakub at gcc dot gnu dot org
2008-11-27 17:42 ` jsm28 at gcc dot gnu dot org
2008-11-29  2:46 ` pinskia at gcc dot gnu dot org
2008-12-03  8:43 ` ebotcazou at gcc dot gnu dot org
2008-12-03  8:49 ` [Bug rtl-optimization/38281] [4.4 Regression] segmentation fault with optimization enabled ebotcazou at gcc dot gnu dot org

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).