public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/27882]  New: [4.2 regression] segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits
@ 2006-06-03 10:14 tbm at cyrius dot com
  2006-06-03 10:18 ` [Bug tree-optimization/27882] " tbm at cyrius dot com
                   ` (31 more replies)
  0 siblings, 32 replies; 33+ messages in thread
From: tbm at cyrius dot com @ 2006-06-03 10:14 UTC (permalink / raw)
  To: gcc-bugs

I get a segfault with 20060530 when building xstow that I didn't get with
20060508.  The segfault doesn't show up when I run g++ on the preprocessed
file but pinskia pointed out that I should use --param ggc-min-expand=0
--param ggc-min-heapsize=0, and indeed, when I add --param ggc-min-expand=0
I see it - but also with 20060508.

It turns out that this segfault was introduced sometime between 20060325
and 20060419.  (And, in fact, compiling xstow with 20060419 also segfaults,
just not 20060508.)

(sid)492:tbm@reyes: ~] /usr/lib/gcc-snapshot/bin/g++ -c --param
ggc-min-expand=0 -O2 segfault.c
segfault.c:3617: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
zsh: exit 1     /usr/lib/gcc-snapshot/bin/g++ -c --param ggc-min-expand=0 -O2
segfault.c
(sid)493:tbm@reyes: ~] /usr/lib/gcc-snapshot/bin/g++ -c --param
ggc-min-expand=0 segfault.c
(sid)494:tbm@reyes: ~]

Program received signal SIGSEGV, Segmentation fault.
cgraph_decide_inlining_incrementally (node=0x8d619d00, early=1 '\001')
    at /home/tbm/scratch/gcc/gcc/ipa-inline.c:1055
1055        if (e->callee->local.disregard_inline_limits
(gdb) where
#0  cgraph_decide_inlining_incrementally (node=0x8d619d00, early=1 '\001')
    at /home/tbm/scratch/gcc/gcc/ipa-inline.c:1055
#1  0x085835bd in cgraph_early_inlining () at
/home/tbm/scratch/gcc/gcc/ipa-inline.c:1163
#2  0x0852c1e6 in execute_one_pass (pass=0x874b660) at
/home/tbm/scratch/gcc/gcc/passes.c:864
#3  0x0852c417 in execute_ipa_pass_list (pass=0x874b660) at
/home/tbm/scratch/gcc/gcc/passes.c:925
#4  0x0857f1f5 in cgraph_optimize () at
/home/tbm/scratch/gcc/gcc/cgraphunit.c:1378
#5  0x080d66ca in cp_finish_file () at
/home/tbm/scratch/gcc/gcc/cp/decl2.c:3112
#6  0x0819efff in c_common_parse_file (set_yydebug=0) at
/home/tbm/scratch/gcc/gcc/c-opts.c:1165
#7  0x084f6f7d in toplev_main (argc=1, argv=0xaff02de4) at
/home/tbm/scratch/gcc/gcc/toplev.c:999
#8  0xa7dc1eb0 in __libc_start_main () from /lib/tls/libc.so.6
#9  0x08049c11 in _start () at ../sysdeps/i386/elf/start.S:119
(gdb)


-- 
           Summary: [4.2 regression] segfault in ipa-inline.c, if (e-
                    >callee->local.disregard_inline_limits
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27882


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

end of thread, other threads:[~2008-07-04 15:35 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-03 10:14 [Bug tree-optimization/27882] New: [4.2 regression] segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits tbm at cyrius dot com
2006-06-03 10:18 ` [Bug tree-optimization/27882] " tbm at cyrius dot com
2006-06-03 10:19 ` tbm at cyrius dot com
2006-06-03 16:11 ` pinskia at gcc dot gnu dot org
2006-06-03 20:37 ` rguenth at gcc dot gnu dot org
2006-06-03 20:47 ` tbm at cyrius dot com
2006-06-03 20:52 ` rguenther at suse dot de
2006-06-03 21:20 ` tbm at cyrius dot com
2006-06-04 19:50 ` mmitchel at gcc dot gnu dot org
2006-06-05 19:59 ` janis at gcc dot gnu dot org
2006-06-06  6:13 ` pinskia at gcc dot gnu dot org
2006-06-07  5:31 ` pinskia at gcc dot gnu dot org
2006-06-07  5:50 ` pinskia at gcc dot gnu dot org
2006-06-07  6:01 ` pinskia at gcc dot gnu dot org
2006-06-07  6:19 ` pinskia at gcc dot gnu dot org
2006-06-07  7:02 ` pinskia at gcc dot gnu dot org
2006-06-07 12:25 ` hubicka at ucw dot cz
2006-06-07 15:04 ` rguenth at gcc dot gnu dot org
2006-06-07 16:16 ` tbm at cyrius dot com
2006-06-08 14:12 ` tbm at cyrius dot com
2006-06-11  8:39 ` steven at gcc dot gnu dot org
2006-06-12 18:05 ` tbm at cyrius dot com
2006-06-12 20:51 ` tbm at cyrius dot com
2006-07-19 12:44 ` [Bug tree-optimization/27882] [4.1/4.2 " reichelt at gcc dot gnu dot org
2006-07-19 13:19 ` rguenth at gcc dot gnu dot org
2006-07-19 13:32 ` rguenth at gcc dot gnu dot org
2006-07-19 13:59 ` rguenth at gcc dot gnu dot org
2006-07-19 14:07 ` rguenth at gcc dot gnu dot org
2006-07-19 17:29 ` hubicka at gcc dot gnu dot org
2006-07-20  8:29 ` rguenth at gcc dot gnu dot org
2006-07-26 20:17 ` hubicka at gcc dot gnu dot org
2007-02-14  9:12 ` [Bug tree-optimization/27882] [4.1 " mmitchel at gcc dot gnu dot org
2008-07-04 15:35 ` jsm28 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).