public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/57603] New: Bootstrap fail on s390x segfault in fold_marked_statements
@ 2013-06-13  8:58 krebbel at gcc dot gnu.org
  2013-06-13  9:00 ` [Bug bootstrap/57603] " krebbel at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: krebbel at gcc dot gnu.org @ 2013-06-13  8:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57603
           Summary: Bootstrap fail on s390x segfault in
                    fold_marked_statements
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krebbel at gcc dot gnu.org

Created attachment 30300
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30300&action=edit
delta minimized testcase

cc1 -fpreprocessed -quiet -march=z9-109  -O1 t.c

Program received signal SIGSEGV, Segmentation fault.
0x00000000805c3b22 in fold_marked_statements(int, pointer_set_t*) ()
(gdb) bt
#0  0x00000000805c3b22 in fold_marked_statements(int, pointer_set_t*) ()
#1  0x00000000805d258c in optimize_inline_calls(tree_node*) ()
#2  0x0000000080900c82 in inline_transform(cgraph_node*) ()
#3  0x00000000804b7b86 in execute_all_ipa_transforms() ()
#4  0x0000000080234da6 in expand_function(cgraph_node*) ()
#5  0x0000000080236e68 in compile() ()
#6  0x0000000080237460 in finalize_compilation_unit() ()
#7  0x00000000800f3740 in c_write_global_declarations() ()
#8  0x0000000080568694 in compile_file() ()
#9  0x000000008056a84c in toplev_main(int, char**) ()
#10 0x000003fffdc99088 in __libc_start_main (main=0x800d53ac <main>,
argc=<optimized out>, 
    ubp_av=0x3fffffff258, init=<optimized out>, fini=0x809ee1f8
<__libc_csu_fini>, 
    rtld_fini=0x3fffdfed8f4 <_dl_fini>, stack_end=0x3fffffff1a0) at
libc-start.c:226
#11 0x00000000800d5412 in _start ()


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

* [Bug bootstrap/57603] Bootstrap fail on s390x segfault in fold_marked_statements
  2013-06-13  8:58 [Bug bootstrap/57603] New: Bootstrap fail on s390x segfault in fold_marked_statements krebbel at gcc dot gnu.org
@ 2013-06-13  9:00 ` krebbel at gcc dot gnu.org
  2013-07-31  7:45 ` krebbel at gcc dot gnu.org
  2013-07-31  7:45 ` krebbel at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: krebbel at gcc dot gnu.org @ 2013-06-13  9:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
The failure above was observed with r200057. Here the cc1 output:

cc1 -fpreprocessed -quiet -march=z9-109  -O1 t.c

t.c: In function ‘d_append_string’:
t.c:22:38: warning: incompatible implicit declaration of built-in function
‘strlen’ [enabled by default]
             d_append_buffer (dpi, s, strlen (s));
                                      ^
t.c: In function ‘d_demangle_callback’:
t.c:41:102: warning: incompatible implicit declaration of built-in function
‘strlen’ [enabled by default]
             else if ((__extension__ (__builtin_constant_p (8) &&
((__builtin_constant_p (mangled) && strlen (mangled) < ((size_t) (8))) ||
(__builtin_constant_p ("_GLOBAL_") && strlen ("_GLOBAL_") < ((size_t) (8)))) ?
__extension__ ({
                                                                               
                      ^
t.c: In function ‘__gcclibcxx_demangle_callback’:
t.c:60:15: internal compiler error: Segmentation fault
           int __gcclibcxx_demangle_callback (const char *mangled_name,        
                       void (*callback) (const char *, size_t, void *),        
                       void *opaque) {
               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-424299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 13 09:10:44 2013
Return-Path: <gcc-bugs-return-424299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23407 invoked by alias); 13 Jun 2013 09:10:43 -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 23364 invoked by uid 48); 13 Jun 2013 09:10:39 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/57604] New: LRA related bootstrap comparison failure on s390x --with-arch=zEC12
Date: Thu, 13 Jun 2013 09:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: krebbel at gcc dot gnu.org
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-57604-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-06/txt/msg00678.txt.bz2
Content-length: 1249

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

            Bug ID: 57604
           Summary: LRA related bootstrap comparison failure on s390x
                    --with-arch=zEC12
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krebbel at gcc dot gnu.org

Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/tree-ssa-loop-im.o differs

stage2:

    .align    2
    .type    _ZZN19ref_always_accessedclEP11mem_ref_locE12__FUNCTION__, @object
    .size    _ZZN19ref_always_accessedclEP11mem_ref_locE12__FUNCTION__, 11
_ZZN19ref_always_accessedclEP11mem_ref_locE12__FUNCTION__:
    .string    "operator()"

stage3:

    .align    2
    .type    _ZZN19ref_always_accessedclEP11mem_ref_locE12__FUNCTION__, @object
    .size    _ZZN19ref_always_accessedclEP11mem_ref_locE12__FUNCTION__, 12
_ZZN19ref_always_accessedclEP11mem_ref_locE12__FUNCTION__:
    .string    "operator ()"


Be aware of the additional blank in the string. This does not happen when
disabling LRA for bootstrap.


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

* [Bug bootstrap/57603] Bootstrap fail on s390x segfault in fold_marked_statements
  2013-06-13  8:58 [Bug bootstrap/57603] New: Bootstrap fail on s390x segfault in fold_marked_statements krebbel at gcc dot gnu.org
  2013-06-13  9:00 ` [Bug bootstrap/57603] " krebbel at gcc dot gnu.org
  2013-07-31  7:45 ` krebbel at gcc dot gnu.org
@ 2013-07-31  7:45 ` krebbel at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: krebbel at gcc dot gnu.org @ 2013-07-31  7:45 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #3 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Closed.


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

* [Bug bootstrap/57603] Bootstrap fail on s390x segfault in fold_marked_statements
  2013-06-13  8:58 [Bug bootstrap/57603] New: Bootstrap fail on s390x segfault in fold_marked_statements krebbel at gcc dot gnu.org
  2013-06-13  9:00 ` [Bug bootstrap/57603] " krebbel at gcc dot gnu.org
@ 2013-07-31  7:45 ` krebbel at gcc dot gnu.org
  2013-07-31  7:45 ` krebbel at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: krebbel at gcc dot gnu.org @ 2013-07-31  7:45 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Does not occur with r201325 anymore.


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

end of thread, other threads:[~2013-07-31  7:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-13  8:58 [Bug bootstrap/57603] New: Bootstrap fail on s390x segfault in fold_marked_statements krebbel at gcc dot gnu.org
2013-06-13  9:00 ` [Bug bootstrap/57603] " krebbel at gcc dot gnu.org
2013-07-31  7:45 ` krebbel at gcc dot gnu.org
2013-07-31  7:45 ` krebbel 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).