public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/66413] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
@ 2015-06-04 8:32 ` mpolacek at gcc dot gnu.org
2015-06-08 10:25 ` [Bug tree-optimization/66413] [6 Regression] " rguenth at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-06-04 8:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-06-04
CC| |mpolacek at gcc dot gnu.org
Target Milestone|--- |6.0
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed. Started with r222360.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [6 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
2015-06-04 8:32 ` [Bug tree-optimization/66413] ICE at -Os and above with -g enabled on x86_64-linux-gnu mpolacek at gcc dot gnu.org
@ 2015-06-08 10:25 ` rguenth at gcc dot gnu.org
2015-06-08 14:05 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-08 10:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [6 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
2015-06-04 8:32 ` [Bug tree-optimization/66413] ICE at -Os and above with -g enabled on x86_64-linux-gnu mpolacek at gcc dot gnu.org
2015-06-08 10:25 ` [Bug tree-optimization/66413] [6 Regression] " rguenth at gcc dot gnu.org
@ 2015-06-08 14:05 ` rguenth at gcc dot gnu.org
2015-06-09 8:06 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-08 14:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok, so IPA-CP propagates a constant to fn4 but this function has its parameter
unused (but by debug stmts). It looks like we have a tree sharing issue here,
as the location while initially stripped, gets substituted back in via
#0 expand_gimple_stmt_1 (stmt=<gimple_assign 0x7ffff6a1ff50>)
at /space/rguenther/tramp3d/trunk/gcc/cfgexpand.c:3317
3315 if (gimple_has_location (stmt) && CAN_HAVE_LOCATION_P
(rhs))
3316 SET_EXPR_LOCATION (rhs, gimple_location (stmt));
which is expansion of fn2.constprop (but the same address-expression is
used in fn4.constprop). The following fixes it for me:
Index: gcc/tree-inline.c
===================================================================
--- gcc/tree-inline.c (revision 224221)
+++ gcc/tree-inline.c (working copy)
@@ -3027,7 +3027,7 @@ insert_init_debug_bind (copy_body_data *
base_stmt = gsi_stmt (gsi);
}
- note = gimple_build_debug_bind (tracked_var, value, base_stmt);
+ note = gimple_build_debug_bind (tracked_var, unshare_expr (value),
base_stmt);
if (bb)
{
the issue is surely latent on the GCC 5 branch.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [6 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2015-06-08 14:05 ` rguenth at gcc dot gnu.org
@ 2015-06-09 8:06 ` rguenth at gcc dot gnu.org
2015-06-09 8:24 ` [Bug tree-optimization/66413] [4.8/4.9/5 " rguenth at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-09 8:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jun 9 08:06:17 2015
New Revision: 224267
URL: https://gcc.gnu.org/viewcvs?rev=224267&root=gcc&view=rev
Log:
2015-06-09 Richard Biener <rguenther@suse.de>
PR middle-end/66413
* tree-inline.c (insert_init_debug_bind): Unshare value.
* gcc.dg/torture/pr66413.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr66413.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-inline.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [4.8/4.9/5 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2015-06-09 8:06 ` rguenth at gcc dot gnu.org
@ 2015-06-09 8:24 ` rguenth at gcc dot gnu.org
2015-06-22 12:05 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-09 8:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |6.0
Target Milestone|6.0 |4.8.5
Summary|[6 Regression] ICE at -Os |[4.8/4.9/5 Regression] ICE
|and above with -g enabled |at -Os and above with -g
|on x86_64-linux-gnu |enabled on x86_64-linux-gnu
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk - I'm going to schedule this for a backport as such issues can
cause strange GC related issues. It should be latent everywhere.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [4.8/4.9/5 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2015-06-09 8:24 ` [Bug tree-optimization/66413] [4.8/4.9/5 " rguenth at gcc dot gnu.org
@ 2015-06-22 12:05 ` rguenth at gcc dot gnu.org
2015-06-23 8:17 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-22 12:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [4.8/4.9/5 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2015-06-22 12:05 ` rguenth at gcc dot gnu.org
@ 2015-06-23 8:17 ` rguenth at gcc dot gnu.org
2015-06-23 10:03 ` [Bug tree-optimization/66413] [4.9/5 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23 8:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.5 |4.9.3
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [4.9/5 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2015-06-23 8:17 ` rguenth at gcc dot gnu.org
@ 2015-06-23 10:03 ` rguenth at gcc dot gnu.org
2015-06-26 20:07 ` [Bug tree-optimization/66413] [4.9 " jakub at gcc dot gnu.org
2015-06-26 20:34 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23 10:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jun 23 10:02:38 2015
New Revision: 224831
URL: https://gcc.gnu.org/viewcvs?rev=224831&root=gcc&view=rev
Log:
2015-06-23 Richard Biener <rguenther@suse.de>
Backport from mainline
2015-06-09 Richard Biener <rguenther@suse.de>
PR middle-end/66413
* tree-inline.c (insert_init_debug_bind): Unshare value.
* gcc.dg/torture/pr66413.c: New testcase.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr66413.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/tree-inline.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [4.9 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2015-06-23 10:03 ` [Bug tree-optimization/66413] [4.9/5 " rguenth at gcc dot gnu.org
@ 2015-06-26 20:07 ` jakub at gcc dot gnu.org
2015-06-26 20:34 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/66413] [4.9 Regression] ICE at -Os and above with -g enabled on x86_64-linux-gnu
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2015-06-26 20:07 ` [Bug tree-optimization/66413] [4.9 " jakub at gcc dot gnu.org
@ 2015-06-26 20:34 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66413
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.3 |4.9.4
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-06-26 20:34 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-66413-4@http.gcc.gnu.org/bugzilla/>
2015-06-04 8:32 ` [Bug tree-optimization/66413] ICE at -Os and above with -g enabled on x86_64-linux-gnu mpolacek at gcc dot gnu.org
2015-06-08 10:25 ` [Bug tree-optimization/66413] [6 Regression] " rguenth at gcc dot gnu.org
2015-06-08 14:05 ` rguenth at gcc dot gnu.org
2015-06-09 8:06 ` rguenth at gcc dot gnu.org
2015-06-09 8:24 ` [Bug tree-optimization/66413] [4.8/4.9/5 " rguenth at gcc dot gnu.org
2015-06-22 12:05 ` rguenth at gcc dot gnu.org
2015-06-23 8:17 ` rguenth at gcc dot gnu.org
2015-06-23 10:03 ` [Bug tree-optimization/66413] [4.9/5 " rguenth at gcc dot gnu.org
2015-06-26 20:07 ` [Bug tree-optimization/66413] [4.9 " jakub at gcc dot gnu.org
2015-06-26 20:34 ` jakub 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).