public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/68117] New: [6 Regression] ICE: Segmentation fault building Firefox on ppc64le
@ 2015-10-27 18:42 trippels at gcc dot gnu.org
  2015-10-28 12:12 ` [Bug middle-end/68117] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-10-27 18:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68117

            Bug ID: 68117
           Summary: [6 Regression] ICE: Segmentation fault building
                    Firefox on ppc64le
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
  Target Milestone: ---

trippels@gcc2-power8 libvorbis % /home/trippels/gcc_test/usr/local/bin/gcc -o
Unified_c_media_libvorbis0.o -c -I../../dist/system_wrappers -include
/home/trippels/gecko-dev/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM
-DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/home/trippels/gecko-dev/media/libvorbis
-I. -I/home/trippels/gecko-dev/media/libvorbis/lib -I../../dist/include
-I/usr/include/nspr4 -I/home/trippels/moz-build-dir/dist/include/nss
-I/usr/include/pixman-1 -fPIC -include ../../mozilla-config.h -DMOZILLA_CLIENT
-MD -MP -MF .deps/Unified_c_media_libvorbis0.o.pp -Wall
-Wdeclaration-after-statement -Wempty-body -Wpointer-to-int-cast -Wsign-compare
-Wtype-limits -Werror=char-subscripts -Werror=comment -Werror=endif-labels
-Werror=enum-compare -Werror=ignored-qualifiers -Werror=int-to-pointer-cast
-Werror=multichar -Werror=nonnull -Werror=pointer-arith -Werror=pointer-sign
-Werror=return-type -Werror=sequence-point -Werror=trigraphs
-Werror=unknown-pragmas -Wno-unused -Wcast-align -w -ffunction-sections
-fdata-sections -std=gnu99 -fgnu89-inline -fno-strict-aliasing -fno-math-errno
-pthread -pipe -DNDEBUG -DTRIMMED -O3 -fomit-frame-pointer -Wno-uninitialized
/home/trippels/moz-build-dir/media/libvorbis/Unified_c_media_libvorbis0.c
In file included from
/home/trippels/moz-build-dir/media/libvorbis/Unified_c_media_libvorbis0.c:137:0:
/home/trippels/gecko-dev/media/libvorbis/lib/vorbisenc.c: In function
‘get_setup_template’:
/home/trippels/gecko-dev/media/libvorbis/lib/vorbisenc.c:633:20: error: invalid
PHI argument
 static const void *get_setup_template(long ch,long srate,
                    ^
<<< Unknown tree: <invalid tree code> >>>
/home/trippels/gecko-dev/media/libvorbis/lib/vorbisenc.c:633:20: internal
compiler error: Segmentation fault
0x107f7e73 crash_signal
        ../../gcc/gcc/toplev.c:353
0x1084fe44 contains_struct_check
        ../../gcc/gcc/tree.h:3032
0x1084fe44 verify_gimple_phi
        ../../gcc/gcc/tree-cfg.c:4669
0x1084fe44 verify_gimple_in_cfg(function*, bool)
        ../../gcc/gcc/tree-cfg.c:4963
0x106f98e3 execute_function_todo
        ../../gcc/gcc/passes.c:1968
0x106fa5e3 do_per_function
        ../../gcc/gcc/passes.c:1659
0x106fa8ff execute_todo
        ../../gcc/gcc/passes.c:2025
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Adding --save-temp to the above makes the issue go away.

Valgrind shows:

/home/trippels/gecko-dev/media/libvorbis/lib/vorbisenc.c:633:20: error: invalid
PHI argument
 static const void *get_setup_template(long ch,long srate,
                    ^
<<< Unknown tree: <invalid tree code> >>>
==2662== Invalid read of size 1
==2662==    at 0x1084FE44: contains_struct_check (tree.h:3032)
==2662==    by 0x1084FE44: verify_gimple_phi (tree-cfg.c:4669)
==2662==    by 0x1084FE44: verify_gimple_in_cfg(function*, bool)
(tree-cfg.c:4963)
==2662==    by 0x106F98E3: execute_function_todo(function*, void*)
(passes.c:1968)
==2662==    by 0x106FA5E3: do_per_function(void (*)(function*, void*), void*)
(passes.c:1659)
==2662==    by 0x106FA8FF: execute_todo(unsigned int) (passes.c:2025)
==2662==    by 0x106FE287: execute_one_pass(opt_pass*) (passes.c:2357)
==2662==    by 0x106FE763: execute_pass_list_1(opt_pass*) (passes.c:2397)
==2662==    by 0x106FE77B: execute_pass_list_1(opt_pass*) (passes.c:2398)
==2662==    by 0x106FE77B: execute_pass_list_1(opt_pass*) (passes.c:2398)
==2662==    by 0x106FE803: execute_pass_list(function*, opt_pass*)
(passes.c:2408)
==2662==    by 0x1034A7CF: cgraph_node::expand() (cgraphunit.c:1983)
==2662==    by 0x1034C7B7: expand_all_functions (cgraphunit.c:2119)
==2662==    by 0x1034C7B7: symbol_table::compile() (cgraphunit.c:2472)
==2662==    by 0x1034EEBB: symbol_table::finalize_compilation_unit()
(cgraphunit.c:2562)
==2662==  Address 0x118b0961 is not stack'd, malloc'd or (recently) free'd
==2662==
>From gcc-bugs-return-500722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 27 18:59:31 2015
Return-Path: <gcc-bugs-return-500722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5978 invoked by alias); 27 Oct 2015 18:59:31 -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 5951 invoked by uid 48); 27 Oct 2015 18:59:27 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/68117] [6 Regression] ICE: Segmentation fault building Firefox on ppc64le
Date: Tue, 27 Oct 2015 18:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-68117-4-Abj4Favete@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68117-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: 2015-10/txt/msg02277.txt.bz2
Content-length: 419

https://gcc.gnu.org/bugzilla/show_bug.cgi?idh117

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alalaw01 at gcc dot gnu.org

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r229437.


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

end of thread, other threads:[~2015-10-29 13:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-27 18:42 [Bug middle-end/68117] New: [6 Regression] ICE: Segmentation fault building Firefox on ppc64le trippels at gcc dot gnu.org
2015-10-28 12:12 ` [Bug middle-end/68117] " rguenth at gcc dot gnu.org
2015-10-28 12:18 ` rguenth at gcc dot gnu.org
2015-10-28 12:27 ` trippels at gcc dot gnu.org
2015-10-28 13:38 ` trippels at gcc dot gnu.org
2015-10-29  8:44 ` [Bug middle-end/68117] [6 Regression] error: invalid PHI argument <<< Unknown tree: <invalid tree code> >>> trippels at gcc dot gnu.org
2015-10-29 10:19 ` rguenth at gcc dot gnu.org
2015-10-29 12:29 ` trippels at gcc dot gnu.org
2015-10-29 13:08 ` rguenther at suse dot de
2015-10-29 13:51 ` trippels 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).