public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/58960] New: [4.9 regression] ICE in bmp_iter_set_init
@ 2013-11-01 12:31 schwab@linux-m68k.org
  2013-11-04 14:29 ` [Bug rtl-optimization/58960] " rguenth at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: schwab@linux-m68k.org @ 2013-11-01 12:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58960
           Summary: [4.9 regression] ICE in bmp_iter_set_init
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org

gcc/xg++ -Bgcc/ ../gcc/testsuite/g++.dg/opt/pr48272.C -nostdinc++ -I
ia64-suse-linux/libstdc++-v3/include/ia64-suse-linux
-Iia64-suse-linux/libstdc++-v3/include -I../libstdc++-v3/libsupc++
-I../libstdc++-v3/include/backward -I../libstdc++-v3/testsuite/util
-std=gnu++11 -O3 -ftracer -fsched-pressure -S
../gcc/testsuite/g++.dg/opt/pr48272.C: In constructor
‘std::iostreams::zlib_error::zlib_error(int)’:
../gcc/testsuite/g++.dg/opt/pr48272.C:128:5: internal compiler error:
Segmentation fault
     }
     ^
0x4000000000be814f crash_signal
        ../../gcc/toplev.c:334
0x40000000012a428f bmp_iter_set_init
        ../../gcc/bitmap.h:360
0x40000000012a428f initiate_reg_pressure_info
        ../../gcc/haifa-sched.c:982
0x40000000012a600f initiate_bb_reg_pressure_info
        ../../gcc/haifa-sched.c:1030
0x40000000012a600f sched_setup_bb_reg_pressure_info(basic_block_def*, rtx_def*)
        ../../gcc/haifa-sched.c:3034
0x4000000000b46c3f schedule_region
        ../../gcc/sched-rgn.c:3015
0x4000000000b46fff schedule_insns()
        ../../gcc/sched-rgn.c:3390
0x4000000000b4718f rest_of_handle_sched
        ../../gcc/sched-rgn.c:3583
0x4000000000b4718f execute
        ../../gcc/sched-rgn.c:3647


Program received signal SIGSEGV, Segmentation fault.
bmp_iter_set_init (bit_no=<optimized out>, start_bit=0, map=<optimized out>, 
    bi=<optimized out>) at ../../gcc/bitmap.h:341
341       bi->elt1 = map->first;
(gdb) bt
#0  bmp_iter_set_init (bit_no=<optimized out>, start_bit=0, 
    map=<optimized out>, bi=<optimized out>) at ../../gcc/bitmap.h:341
#1  initiate_reg_pressure_info (live=0x40) at ../../gcc/haifa-sched.c:982
#2  0x40000000012a6010 in initiate_bb_reg_pressure_info (bb=<optimized out>)
    at ../../gcc/haifa-sched.c:1030
#3  sched_setup_bb_reg_pressure_info (bb=0x2000000000a42de8, 
    after=0x20000000009ee6c0) at ../../gcc/haifa-sched.c:3034
#4  0x4000000000b46c40 in schedule_region (rgn=3) at ../../gcc/sched-rgn.c:3015
#5  0x4000000000b47000 in schedule_insns () at ../../gcc/sched-rgn.c:3390
#6  0x4000000000b47190 in rest_of_handle_sched () at ../../gcc/sched-rgn.c:3583
#7  (anonymous namespace)::pass_sched::execute (
    this=0x4000000000a60600 <execute_one_pass(opt_pass*)+2384>)
    at ../../gcc/sched-rgn.c:3647
#8  0x4000000000a60600 in execute_one_pass (pass=0x600000000029bbc0)
    at ../../gcc/passes.c:2215
#9  0x4000000000a60dc0 in execute_pass_list (pass=0x600000000029bbc0)
    at ../../gcc/passes.c:2267
#10 0x4000000000a60e10 in execute_pass_list (pass=0x600000000029ac00)
    at ../../gcc/passes.c:2268
#11 0x40000000005a4f20 in expand_function (node=0x2000000000a80980)
    at ../../gcc/cgraphunit.c:1753
#12 0x40000000005a94a0 in expand_all_functions ()
    at ../../gcc/cgraphunit.c:1858
#13 0x40000000005aa180 in compile () at ../../gcc/cgraphunit.c:2195
#14 0x40000000005aa500 in finalize_compilation_unit ()
    at ../../gcc/cgraphunit.c:2272
#15 0x400000000022cf30 in cp_write_global_declarations ()
    at ../../gcc/cp/decl2.c:4401
#16 0x4000000000be9500 in compile_file () at ../../gcc/toplev.c:559
#17 0x4000000000bee3c0 in do_compile () at ../../gcc/toplev.c:1894
#18 toplev_main (argc=16279, argv=0x600ffffffffeefe8)
    at ../../gcc/toplev.c:1970
#19 0x40000000013ee4b0 in main (argc=34, argv=0x600ffffffffeefe8)
    at ../../gcc/main.c:36

Reverting r204194 avoids the crash.  Looks similar to bug48272.
>From gcc-bugs-return-433257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 01 12:51:10 2013
Return-Path: <gcc-bugs-return-433257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8093 invoked by alias); 1 Nov 2013 12:51:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 8069 invoked by uid 48); 1 Nov 2013 12:51:05 -0000
From: "afenkart at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/58961] New: missing "<variable> may be used uninitialized in this function"
Date: Fri, 01 Nov 2013 12:51: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-Version: 4.7.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: afenkart at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-58961-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-11/txt/msg00034.txt.bz2
Content-length: 432

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX961

            Bug ID: 58961
           Summary: missing "<variable> may be used uninitialized in this
                    function"
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: afenkart at gmail dot com


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

end of thread, other threads:[~2014-02-18  5:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-01 12:31 [Bug rtl-optimization/58960] New: [4.9 regression] ICE in bmp_iter_set_init schwab@linux-m68k.org
2013-11-04 14:29 ` [Bug rtl-optimization/58960] " rguenth at gcc dot gnu.org
2013-11-19 13:30 ` rguenth at gcc dot gnu.org
2013-12-04 14:41 ` jakub at gcc dot gnu.org
2013-12-04 14:44 ` mpolacek at gcc dot gnu.org
2014-01-21 13:51 ` abel at gcc dot gnu.org
2014-01-21 13:59 ` schwab@linux-m68k.org
2014-01-22  9:01 ` abel at gcc dot gnu.org
2014-01-22  9:12 ` abel at gcc dot gnu.org
2014-01-23  8:38 ` schwab@linux-m68k.org
2014-01-23 11:05 ` abel at gcc dot gnu.org
2014-02-18  5:42 ` abel at gcc dot gnu.org
2014-02-18  5:42 ` abel at gcc dot gnu.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).