public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/67341] New: [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278
@ 2015-08-24 14:34 gary at intrepid dot com
  2015-08-25  7:43 ` [Bug middle-end/67341] " miyuki at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gary at intrepid dot com @ 2015-08-24 14:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67341
           Summary: [ICE] libgo build failure: in
                    mark_stmt_if_obviously_necessary, at
                    tree-ssa-dce.c:278
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gary at intrepid dot com
  Target Milestone: ---

A change made to the trunk within the past week/so (trunk version greater than
227110) triggers this ICE.  Full bootstrap, release checks, CFLAGS='-O3'.

libtool: compile:  /eng/upc/dev/gary/gupc-merge/bld/packed-opt/./gcc/gccgo
-B/eng/upc/dev/gary/gu
pc-merge/bld/packed-opt/./gcc/
-B/eng/upc/dev/gary/gupc-merge/rls/packed-opt/x86_64-pc-linux-gnu/
bin/ -B/eng/upc/dev/gary/gupc-merge/rls/packed-opt/x86_64-pc-linux-gnu/lib/
-isystem /eng/upc/dev
/gary/gupc-merge/rls/packed-opt/x86_64-pc-linux-gnu/include -isystem
/eng/upc/dev/gary/gupc-merge
/rls/packed-opt/x86_64-pc-linux-gnu/sys-include -minline-all-stringops -O2 -g
-I . -c -fgo-pkgpat
h=encoding/gob
/eng/upc/dev/gary/gupc-merge/src/gupc/libgo/go/encoding/gob/decode.go
/eng/upc/dev
/gary/gupc-merge/src/gupc/libgo/go/encoding/gob/decoder.go
/eng/upc/dev/gary/gupc-merge/src/gupc/
libgo/go/encoding/gob/dec_helpers.go
/eng/upc/dev/gary/gupc-merge/src/gupc/libgo/go/encoding/gob/
doc.go /eng/upc/dev/gary/gupc-merge/src/gupc/libgo/go/encoding/gob/encode.go
/eng/upc/dev/gary/gu
pc-merge/src/gupc/libgo/go/encoding/gob/encoder.go
/eng/upc/dev/gary/gupc-merge/src/gupc/libgo/go
/encoding/gob/enc_helpers.go
/eng/upc/dev/gary/gupc-merge/src/gupc/libgo/go/encoding/gob/error.go
 /eng/upc/dev/gary/gupc-merge/src/gupc/libgo/go/encoding/gob/type.go  -fPIC -o
encoding/.libs/gob
.o
/eng/upc/dev/gary/gupc-merge/src/gupc/libgo/go/encoding/gob/decode.go: In
function ‘gob.decIgnoreOpFor.pN20_encoding_gob.Decoder’:
/eng/upc/dev/gary/gupc-merge/src/gupc/libgo/go/encoding/gob/decode.go:843:1:
internal compiler error: in mark_stmt_if_obviously_necessary, at
tree-ssa-dce.c:278
 func (dec *Decoder) decIgnoreOpFor(wireId typeId) decOp {
 ^
0xa80fab mark_stmt_if_obviously_necessary
        /eng/upc/dev/gary/gupc-merge/src/gupc/gcc/tree-ssa-dce.c:278
0xa80fab find_obviously_necessary_stmts
        /eng/upc/dev/gary/gupc-merge/src/gupc/gcc/tree-ssa-dce.c:397
0xa80fab perform_tree_ssa_dce
        /eng/upc/dev/gary/gupc-merge/src/gupc/gcc/tree-ssa-dce.c:1635
>From gcc-bugs-return-495509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Aug 24 14:40:58 2015
Return-Path: <gcc-bugs-return-495509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83014 invoked by alias); 24 Aug 2015 14:40:58 -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 82983 invoked by uid 48); 24 Aug 2015 14:40:54 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/67283] GCC regression over inlining of returned structures
Date: Mon, 24 Aug 2015 14:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: NEW
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:
Message-ID: <bug-67283-4-DMARkIVHxt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67283-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67283-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-08/txt/msg01651.txt.bz2
Content-length: 376

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

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #4)
>
> so no total scalarization for foo?  Maybe SRA is confused by the CLOBBER?

I think clobbers are fine, the problem is that the structure contains
an array an total scalarization is not implemented for them.


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

* [Bug middle-end/67341] [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278
  2015-08-24 14:34 [Bug middle-end/67341] New: [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278 gary at intrepid dot com
@ 2015-08-25  7:43 ` miyuki at gcc dot gnu.org
  2015-08-25 11:32 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: miyuki at gcc dot gnu.org @ 2015-08-25  7:43 UTC (permalink / raw)
  To: gcc-bugs

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

Mikhail Maltsev <miyuki at gcc dot gnu.org> changed:

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

--- Comment #1 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
Probably a dup of PR67284. At least for me bootstrap passes even with -O3 (with
--enable-checking=yes, though) with r227145.


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

* [Bug middle-end/67341] [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278
  2015-08-24 14:34 [Bug middle-end/67341] New: [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278 gary at intrepid dot com
  2015-08-25  7:43 ` [Bug middle-end/67341] " miyuki at gcc dot gnu.org
@ 2015-08-25 11:32 ` mpolacek at gcc dot gnu.org
  2015-08-25 19:38 ` gary at intrepid dot com
  2015-08-25 19:40 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-08-25 11:32 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-08-25
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Gary, could you please try this again?  I'd hope this has really been fixed
with my recentish Go patch.


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

* [Bug middle-end/67341] [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278
  2015-08-24 14:34 [Bug middle-end/67341] New: [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278 gary at intrepid dot com
  2015-08-25  7:43 ` [Bug middle-end/67341] " miyuki at gcc dot gnu.org
  2015-08-25 11:32 ` mpolacek at gcc dot gnu.org
@ 2015-08-25 19:38 ` gary at intrepid dot com
  2015-08-25 19:40 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gary at intrepid dot com @ 2015-08-25 19:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Gary Funck <gary at intrepid dot com> ---
(In reply to Marek Polacek from comment #2)
> Gary, could you please try this again?  I'd hope this has really been fixed
> with my recentish Go patch.

Confirmed - fixed.


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

* [Bug middle-end/67341] [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278
  2015-08-24 14:34 [Bug middle-end/67341] New: [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278 gary at intrepid dot com
                   ` (2 preceding siblings ...)
  2015-08-25 19:38 ` gary at intrepid dot com
@ 2015-08-25 19:40 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-08-25 19:40 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Thanks.


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

end of thread, other threads:[~2015-08-25 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-24 14:34 [Bug middle-end/67341] New: [ICE] libgo build failure: in mark_stmt_if_obviously_necessary, at tree-ssa-dce.c:278 gary at intrepid dot com
2015-08-25  7:43 ` [Bug middle-end/67341] " miyuki at gcc dot gnu.org
2015-08-25 11:32 ` mpolacek at gcc dot gnu.org
2015-08-25 19:38 ` gary at intrepid dot com
2015-08-25 19:40 ` mpolacek 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).