[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #13 from Patrick Palka --- Author: ppalka Date: Fri Apr 8 20:17:10 2016 New Revision: 234837 URL: https://gcc.gnu.org/viewcvs?rev=234837&root=gcc&view=rev Log: Fix PR c++/70590 (error: location references block not in block tree) g

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #12 from Jakub Jelinek --- (In reply to Patrick Palka from comment #8) > --- a/gcc/cp/constexpr.c > +++ b/gcc/cp/constexpr.c > @@ -4143,6 +4143,12 @@ cxx_eval_outermost_constant_expr (tree t, bool > allow_non_constant, > >verify

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #11 from Markus Trippelsdorf --- (In reply to Patrick Palka from comment #10) > (In reply to Markus Trippelsdorf from comment #9) > > Which hunk do you want me to test? > > The last one, sorry about the garbled message. Firefox comp

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #10 from Patrick Palka --- (In reply to Markus Trippelsdorf from comment #9) > Which hunk do you want me to test? The last one, sorry about the garbled message.

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #9 from Markus Trippelsdorf --- Which hunk do you want me to test?

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #8 from Patrick Palka --- (In reply to Markus Trippelsdorf from comment #6) > (In reply to Patrick Palka from comment #5) > > (In reply to Markus Trippelsdorf from comment #4) > > > (In reply to Patrick Palka from comment #3) > > > >

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #7 from Patrick Palka --- Reduced : // PR c++/70590 // { dg-options "-O2" } int a; constexpr int * foo () { return &a; } void blah (int *); int bar () { blah (foo ()); } int baz () { blah (foo ()); }

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #6 from Markus Trippelsdorf --- (In reply to Patrick Palka from comment #5) > (In reply to Markus Trippelsdorf from comment #4) > > (In reply to Patrick Palka from comment #3) > > > (In reply to Jakub Jelinek from comment #2) > > > >

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #5 from Patrick Palka --- (In reply to Markus Trippelsdorf from comment #4) > (In reply to Patrick Palka from comment #3) > > (In reply to Jakub Jelinek from comment #2) > > > location references block not in block tree generally mean

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #4 from Markus Trippelsdorf --- (In reply to Patrick Palka from comment #3) > (In reply to Jakub Jelinek from comment #2) > > location references block not in block tree generally means insufficient > > unsharing, where some function

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 --- Comment #3 from Patrick Palka --- (In reply to Jakub Jelinek from comment #2) > location references block not in block tree generally means insufficient > unsharing, where some function that got through gimple-low.c where > TREE_SET_BLOCK has

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/70590] [6 Regression] r234810 causes error: location references block not in block tree

2016-04-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70590 Markus Trippelsdorf changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED