* [Bug target/65593] [5 Regression] internal compiler error: in extract_insn, at recog.c:2343
2015-03-27 6:15 [Bug target/65593] New: [5 Regression] internal compiler error: in extract_insn, at recog.c:2343 hjl.tools at gmail dot com
@ 2015-03-27 6:59 ` hjl.tools at gmail dot com
2015-03-27 8:36 ` ubizjak at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2015-03-27 6:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65593
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-03-27
CC| |tmsriram at google dot com
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It was caused by r218397.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/65593] [5 Regression] internal compiler error: in extract_insn, at recog.c:2343
2015-03-27 6:15 [Bug target/65593] New: [5 Regression] internal compiler error: in extract_insn, at recog.c:2343 hjl.tools at gmail dot com
2015-03-27 6:59 ` [Bug target/65593] " hjl.tools at gmail dot com
@ 2015-03-27 8:36 ` ubizjak at gmail dot com
2015-03-27 9:13 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2015-03-27 8:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65593
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Looks similar to PR65560.
>From gcc-bugs-return-481950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 27 08:11:06 2015
Return-Path: <gcc-bugs-return-481950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38003 invoked by alias); 27 Mar 2015 08:11:05 -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 37955 invoked by uid 48); 27 Mar 2015 08:11:02 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/65595] New: [5 Regression] Linux kernel build failure: ICE: in as_a, at is-a.h:192
Date: Fri, 27 Mar 2015 08:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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 cc
Message-ID: <bug-65595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-03/txt/msg03094.txt.bz2
Content-length: 2480
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65595
Bug ID: 65595
Summary: [5 Regression] Linux kernel build failure: ICE: in
as_a, at is-a.h:192
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
CC: hubicka at gcc dot gnu.org
trippels@gcc2-power8 linux-3.18.8 % cat libcxgbi.i
extern void *memcpy(void *, const void *, unsigned long);
struct in6_addr {
struct {
int u6_addr32[4];
};
};
struct foo {
struct in6_addr daddr;
struct in6_addr saddr;
} a;
extern void ip6_route_output(struct foo, int);
int b;
static void find_route_ipv6(struct in6_addr *p1) {
if (p1)
memcpy(0, p1, sizeof(struct in6_addr));
ip6_route_output(a, b);
}
void cxgbi_ep_connect() { find_route_ipv6(0); }
trippels@gcc2-power8 linux-3.18.8 % gcc -O2 -c libcxgbi.i
libcxgbi.i: In function ‘find_route_ipv6.constprop’:
libcxgbi.i:18:1: internal compiler error: in as_a, at is-a.h:192
void cxgbi_ep_connect() { find_route_ipv6(0); }
^
0x100f16e3 as_a<gcall*, gimple_statement_base>
../../gcc/gcc/is-a.h:192
0x1030ffb7 as_a<gcall*, gimple_statement_base>
../../gcc/gcc/is-a.h:192
0x1030ffb7 cgraph_update_edges_for_call_stmt_node
../../gcc/gcc/cgraph.c:1524
0x1031045f cgraph_update_edges_for_call_stmt(gimple_statement_base*,
tree_node*, gimple_statement_base*)
../../gcc/gcc/cgraph.c:1588
0x108720a3 fold_marked_statements
../../gcc/gcc/tree-inline.c:4843
0x10884ebf tree_function_versioning(tree_node*, tree_node*,
vec<ipa_replace_map*, va_gc, vl_embed>*, bool, bitmap_head*, bool,
bitmap_head*, basic_block_def*)
../../gcc/gcc/tree-inline.c:5813
0x103229ef cgraph_materialize_clone
../../gcc/gcc/cgraphclones.c:1056
0x103229ef symbol_table::materialize_all_clones()
../../gcc/gcc/cgraphclones.c:1153
0x1031c3cb symbol_table::compile()
../../gcc/gcc/cgraphunit.c:2326
0x1031ee67 symbol_table::finalize_compilation_unit()
../../gcc/gcc/cgraphunit.c:2444
0x1015d1c7 c_write_global_declarations()
../../gcc/gcc/c/c-decl.c:10801
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.
>From gcc-bugs-return-481949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 27 07:56:03 2015
Return-Path: <gcc-bugs-return-481949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16142 invoked by alias); 27 Mar 2015 07:56:03 -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 16091 invoked by uid 48); 27 Mar 2015 07:55:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/65594] libgomp.graphite/force-parallel-6.c timeout
Date: Fri, 27 Mar 2015 08:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: jakub 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: cc
Message-ID: <bug-65594-4-q3AamKvLS1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65594-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65594-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-03/txt/msg03093.txt.bz2
Content-length: 587
https://gcc.gnu.org/bugzilla/show_bug.cgi?ide594
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, GOMP_parallel doesn't always create new threads, but still it has some
synchronization overhead etc. IMNSHO the testcase should be scaled down for
the testsuite, IMHO lowering N to 100 would be in order.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/65593] [5 Regression] internal compiler error: in extract_insn, at recog.c:2343
2015-03-27 6:15 [Bug target/65593] New: [5 Regression] internal compiler error: in extract_insn, at recog.c:2343 hjl.tools at gmail dot com
2015-03-27 6:59 ` [Bug target/65593] " hjl.tools at gmail dot com
2015-03-27 8:36 ` ubizjak at gmail dot com
@ 2015-03-27 9:13 ` rguenth at gcc dot gnu.org
2015-03-27 12:10 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-27 9:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65593
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Target Milestone|--- |5.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/65593] [5 Regression] internal compiler error: in extract_insn, at recog.c:2343
2015-03-27 6:15 [Bug target/65593] New: [5 Regression] internal compiler error: in extract_insn, at recog.c:2343 hjl.tools at gmail dot com
` (2 preceding siblings ...)
2015-03-27 9:13 ` rguenth at gcc dot gnu.org
@ 2015-03-27 12:10 ` jakub at gcc dot gnu.org
2015-03-27 13:53 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-27 12:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65593
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Looks like a bug in legitimize_pic_address. Working on a fix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/65593] [5 Regression] internal compiler error: in extract_insn, at recog.c:2343
2015-03-27 6:15 [Bug target/65593] New: [5 Regression] internal compiler error: in extract_insn, at recog.c:2343 hjl.tools at gmail dot com
` (3 preceding siblings ...)
2015-03-27 12:10 ` jakub at gcc dot gnu.org
@ 2015-03-27 13:53 ` jakub at gcc dot gnu.org
2015-03-27 17:51 ` jakub at gcc dot gnu.org
2015-03-27 18:01 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-27 13:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65593
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 35161
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35161&action=edit
gcc5-pr65593.patch
Untested fix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/65593] [5 Regression] internal compiler error: in extract_insn, at recog.c:2343
2015-03-27 6:15 [Bug target/65593] New: [5 Regression] internal compiler error: in extract_insn, at recog.c:2343 hjl.tools at gmail dot com
` (4 preceding siblings ...)
2015-03-27 13:53 ` jakub at gcc dot gnu.org
@ 2015-03-27 17:51 ` jakub at gcc dot gnu.org
2015-03-27 18:01 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-27 17:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65593
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar 27 17:35:14 2015
New Revision: 221741
URL: https://gcc.gnu.org/viewcvs?rev=221741&root=gcc&view=rev
Log:
PR target/65593
* config/i386/i386.c (legitimize_pic_address): If base
is SYMBOL_REF or LABEL_REF using %rip addressing, force
it to reg to avoid PLUS of SYMBOL_REF/LABEL_REF and register.
* gcc.c-torture/compile/pr65593.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr65593.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/65593] [5 Regression] internal compiler error: in extract_insn, at recog.c:2343
2015-03-27 6:15 [Bug target/65593] New: [5 Regression] internal compiler error: in extract_insn, at recog.c:2343 hjl.tools at gmail dot com
` (5 preceding siblings ...)
2015-03-27 17:51 ` jakub at gcc dot gnu.org
@ 2015-03-27 18:01 ` jakub at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-27 18:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65593
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread