From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19536 invoked by alias); 22 Mar 2011 13:14:16 -0000 Received: (qmail 19496 invoked by uid 22791); 22 Mar 2011 13:14:14 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Mar 2011 13:14:10 +0000 From: "doko at ubuntu dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/48173] [4.6 regression] bootstrap error on arm-linux-gnueabi (defaulting to armv4t) X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at ubuntu 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-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 22 Mar 2011 13:16:00 -0000 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: 2011-03/txt/msg02305.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48173 --- Comment #3 from Matthias Klose 2011-03-22 13:13:57 UTC --- had to reproduce it with a local build ... the ice is triggered with any warning, -Warray-bounds as in the example, or faster with -Wlong-long, e.g.: -g -O2 -Warray-bounds -Wlong-long Program received signal SIGSEGV, Segmentation fault. pp_base_format (pp=0x7833fc, text=0xbeee47bc) at ../../src/gcc/pretty-print.c:217 217 new_chunk_array = XOBNEW (&buffer->chunk_obstack, struct chunk_info); (gdb) bt #0 pp_base_format (pp=0x7833fc, text=0xbeee47bc) at ../../src/gcc/pretty-print.c:217 #1 0x00166d54 in diagnostic_report_diagnostic (context=0x937a14, diagnostic=0xbeee47bc) at ../../src/gcc/diagnostic.c:541 #2 0x00086fc4 in pedwarn_c90 (location=, opt=250, gmsgid=0x7833fc "ISO C90 does not support %") at ../../src/gcc/c-errors.c:62 #3 0x00095930 in declspecs_add_type (loc=572947, specs=0xa95758, spec=...) at ../../src/gcc/c-decl.c:8780 #4 0x000b8d24 in c_parser_declspecs (parser=0x40824b60, specs=0xa95758, scspec_ok=, typespec_ok=, start_attr_ok=1 '\001', la=cla_nonabstract_decl) at ../../src/gcc/c-parser.c:2090 #5 0x000b9c80 in c_parser_parameter_declaration (parser=0x40824b60, attrs=) at ../../src/gcc/c-parser.c:3230 #6 0x000b9f84 in c_parser_parms_list_declarator (parser=0x40824b60, id_list_ok=, attrs=) at ../../src/gcc/c-parser.c:3137 #7 c_parser_parms_declarator (parser=0x40824b60, id_list_ok=, attrs=) at ../../src/gcc/c-parser.c:3085 #8 0x000ba51c in c_parser_direct_declarator_inner (parser=0x40824b60, id_present=, inner=0xa95738) at ../../src/gcc/c-parser.c:3015 #9 0x000b13b0 in c_parser_declaration_or_fndef (parser=0x40824b60, fndef_ok=1 '\001', static_assert_ok=, empty_ok=, nested=0 '\000', start_attr_ok=1 '\001', objc_foreach_object_declaration=0x0) at ../../src/gcc/c-parser.c:1576 #10 0x000bd2d4 in c_parser_external_declaration (parser=0x40824b60) at ../../src/gcc/c-parser.c:1332 #11 0x000bdfdc in c_parser_translation_unit () at ../../src/gcc/c-parser.c:1220 #12 c_parse_file () at ../../src/gcc/c-parser.c:9950 #13 0x000eb36c in c_common_parse_file () at ../../src/gcc/c-family/c-opts.c:1077 #14 0x00333650 in compile_file (argc=11085600, argv=0x40024de0) at ../../src/gcc/toplev.c:579 #15 do_compile (argc=11085600, argv=0x40024de0) at ../../src/gcc/toplev.c:1900 #16 toplev_main (argc=11085600, argv=0x40024de0) at ../../src/gcc/toplev.c:1963 #17 0x000f94e0 in main (argc=, argv=) at ../../src/gcc/main.c:36 (gdb) p buffer $1 = (output_buffer *) 0x204f5349 (gdb) p buffer->chunk_obstack Cannot access memory at address 0x204f5375