https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78451
--- Comment #8 from Jakub Jelinek ---
Author: jakub
Date: Wed Nov 23 08:08:47 2016
New Revision: 242740
URL: https://gcc.gnu.org/viewcvs?rev=242740&root=gcc&view=rev
Log:
PR target/78451
* c-pragma.c (handle_pragma_target): Don't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78451
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822
--- Comment #31 from Dominik Vogt ---
No more backports, but the S390 fix for trunk is still in the queue. After it
gets the bug can be resolved.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78488
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012
--- Comment #3 from Aurelien Jarno ---
(In reply to Maciej W. Rozycki from comment #2)
> I can't reproduce your problem with either test case and:
>
> mips-mti-linux-gnu-gcc (GCC) 7.0.0 20161117 (experimental)
>
> -- code produced assembles cor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78482
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77739
--- Comment #5 from Jakub Jelinek ---
https://gcc.gnu.org/ml/gcc-patches/2016-11/msg02275.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489
Bug ID: 78489
Summary: Subsitution failure does not happen in lexical order
for SFINAE in NTTP.
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489
Eric Fiselier changed:
What|Removed |Added
Summary|Subsitution failure does|Substitution failure does
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78482
Richard Biener changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78485
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78390
Richard Biener changed:
What|Removed |Added
CC||doko at gcc dot gnu.org
--- Comment #27
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78390
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78477
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78211
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77569
Jakub Jelinek changed:
What|Removed |Added
CC||dmalcolm at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77285
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372
Eric Fiselier changed:
What|Removed |Added
CC||eric at efcs dot ca
--- Comment #9 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60300
--- Comment #6 from Georg-Johann Lay ---
Author: gjl
Date: Wed Nov 23 09:17:57 2016
New Revision: 242741
URL: https://gcc.gnu.org/viewcvs?rev=242741&root=gcc&view=rev
Log:
gcc/
PR target/60300
* config/avr/constraints.md (Csp): W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78482
--- Comment #3 from Richard Biener ---
This is another case where we end up with invalid nb_iterations_upper_bound
after
merging two CFG cycles. One is not recognized as loop at EVRP time but then
has its header merged with the existing loop hea
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60300
Georg-Johann Lay changed:
What|Removed |Added
Keywords||missed-optimization
Priorit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78490
Bug ID: 78490
Summary: [c++17] libstdc++ has undefined behavior in operator=
of propagate_const
Product: gcc
Version: 6.2.1
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71450
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
Summ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78490
--- Comment #1 from Felix Morgner ---
Created attachment 40124
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40124&action=edit
Proposed patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78490
--- Comment #2 from Felix Morgner ---
Comment on attachment 40124
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40124
Proposed patch
>--- propagate_const.org2016-11-23 10:28:45.682529129 +0100
>+++ propagate_const.new2016-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71450
Jakub Jelinek changed:
What|Removed |Added
CC||jason at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78491
Bug ID: 78491
Summary: invalid conversion from 'const void*' to 'void*'
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78491
--- Comment #1 from Luca Stoppa ---
Created attachment 40126
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40126&action=edit
full error message
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78491
--- Comment #2 from Luca Stoppa ---
Just wanted to add that changing the vector element from "const std::string" to
"std::string" seems to fix this issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443
--- Comment #8 from federico ---
Created attachment 40127
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40127&action=edit
Minimal program to test non_overridable functions in generic type-bound set
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443
--- Comment #9 from federico ---
Janus,
thanks for your hard work!
I'm sorry to post another bug / possibly further evidence of the same bug.
When the non_overridable function is part of a generic set, and the generic
binding is called (eith
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71399
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443
--- Comment #10 from janus at gcc dot gnu.org ---
(In reply to federico from comment #9)
> I have attached another minimal test to show the compiler's behavior.
> Maybe your fix also fixes this?
Thanks for this new test case, Federico. Unfortuna
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78443
--- Comment #11 from federico ---
Janus,
sure - please take your time!
Opening a new ticket for this further issue.
Thanks,
Federico
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492
Bug ID: 78492
Summary: [OOP] Compiler segfault with non_overridable function
in generic interface
Product: gcc
Version: 6.1.0
Status: UNCONFIRMED
Severity: norm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70184
--- Comment #7 from ktkachov at gcc dot gnu.org ---
(In reply to Richard Biener from comment #4)
> With TER we delay expanding of (unsigned b) until you require its expansion
> during asm op expansion (and thus may be interleaved with asm expansio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492
janus at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice-on-valid-code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78154
--- Comment #4 from prathamesh3492 at gcc dot gnu.org ---
Author: prathamesh3492
Date: Wed Nov 23 10:52:25 2016
New Revision: 242745
URL: https://gcc.gnu.org/viewcvs?rev=242745&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
Prath
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492
--- Comment #2 from janus at gcc dot gnu.org ---
Here is a reduced (and slightly modified) version which gives the same ICE:
module types
implicit none
type :: generic_class
contains
procedure, non_overridable :: dot_1d_no_ove
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012
James Cowgill changed:
What|Removed |Added
CC||james410 at cowgill dot org.uk
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78472
--- Comment #2 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 11:24:55 2016
New Revision: 242746
URL: https://gcc.gnu.org/viewcvs?rev=242746&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
PR lto/78472
* tree.c (gi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71762
--- Comment #10 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 11:33:03 2016
New Revision: 242747
URL: https://gcc.gnu.org/viewcvs?rev=242747&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
PR middle-end/71762
* ma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78472
Richard Biener changed:
What|Removed |Added
Known to work||7.0
--- Comment #3 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71762
Richard Biener changed:
What|Removed |Added
Known to work||7.0
Summary|[5/6/7 Regressio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77907
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77907
--- Comment #5 from Jakub Jelinek ---
Created attachment 40129
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40129&action=edit
gcc7-pr77907.patch
Untested fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78491
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78490
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78213
--- Comment #8 from Aldy Hernandez ---
Author: aldyh
Date: Wed Nov 23 12:18:23 2016
New Revision: 242748
URL: https://gcc.gnu.org/viewcvs?rev=242748&root=gcc&view=rev
Log:
PR target/78213
* opts.c (finish_options): Set -fsyntax-o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78213
Aldy Hernandez changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78472
--- Comment #4 from Jay Foad ---
Works for me, thanks!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71293
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71436
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71436
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78492
--- Comment #3 from janus at gcc dot gnu.org ---
I think what happens is this: After resolving the generic TBP call to the
specific one, we try to generate a polymorphic call, but that fails since the
vtab does not contain an entry for the non-ove
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78493
Bug ID: 78493
Summary: profiledbootstrap failure: error: attempt to free a
non-heap object 'names' in
../../gcc/cp/parser.c:11482:23
Product: gcc
Version: unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78493
Martin Liška changed:
What|Removed |Added
Target||x86_64-linux-gnu
Host|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70118
--- Comment #2 from Allan Jensen ---
I believe this to be fixed by r239889
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78400
Segher Boessenkool changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70118
--- Comment #3 from Allan Jensen ---
Or r217608
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70118
--- Comment #4 from Allan Jensen ---
Created attachment 40130
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40130&action=edit
Proposed patch
On closer inspection, we are only almost there, two minor changes are still
needed. (testing patc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78494
Bug ID: 78494
Summary: Issues pointed out by valgrind --tool=exp-dhat
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78494
--- Comment #1 from Markus Trippelsdorf ---
Beware that it take over an hour to run valgrind in this case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78494
--- Comment #2 from Markus Trippelsdorf ---
http://valgrind.org/docs/manual/dh-manual.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78338
--- Comment #1 from James Cowgill ---
Seems to be fixed in r242522
2016-11-16 Jason Merrill
* rtl.h: Declare gt_ggc_mx and gt_pch_nx.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78482
--- Comment #4 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 14:25:48 2016
New Revision: 242754
URL: https://gcc.gnu.org/viewcvs?rev=242754&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
PR tree-optimization/78482
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78495
Bug ID: 78495
Summary: [7 regression][new inheriting ctors] variant members
lead to uninitialized parameter
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78185
--- Comment #9 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 14:31:16 2016
New Revision: 242756
URL: https://gcc.gnu.org/viewcvs?rev=242756&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
Backport from mainline
20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78333
--- Comment #6 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 14:31:16 2016
New Revision: 242756
URL: https://gcc.gnu.org/viewcvs?rev=242756&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
Backport from mainline
20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78305
--- Comment #8 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 14:31:16 2016
New Revision: 242756
URL: https://gcc.gnu.org/viewcvs?rev=242756&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
Backport from mainline
20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78228
--- Comment #5 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 14:31:16 2016
New Revision: 242756
URL: https://gcc.gnu.org/viewcvs?rev=242756&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
Backport from mainline
20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78472
Richard Biener changed:
What|Removed |Added
Known to work||6.2.1
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78482
Richard Biener changed:
What|Removed |Added
Priority|P1 |P2
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77855
--- Comment #6 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 14:31:16 2016
New Revision: 242756
URL: https://gcc.gnu.org/viewcvs?rev=242756&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
Backport from mainline
20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78438
--- Comment #7 from Segher Boessenkool ---
Author: segher
Date: Wed Nov 23 14:33:13 2016
New Revision: 242757
URL: https://gcc.gnu.org/viewcvs?rev=242757&root=gcc&view=rev
Log:
combine: Convert subreg-of-lshiftrt to zero_extract properly (PR7839
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78228
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78477
--- Comment #5 from Segher Boessenkool ---
Author: segher
Date: Wed Nov 23 14:33:13 2016
New Revision: 242757
URL: https://gcc.gnu.org/viewcvs?rev=242757&root=gcc&view=rev
Log:
combine: Convert subreg-of-lshiftrt to zero_extract properly (PR7839
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77881
--- Comment #8 from Segher Boessenkool ---
Author: segher
Date: Wed Nov 23 14:33:13 2016
New Revision: 242757
URL: https://gcc.gnu.org/viewcvs?rev=242757&root=gcc&view=rev
Log:
combine: Convert subreg-of-lshiftrt to zero_extract properly (PR7839
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78390
--- Comment #28 from Segher Boessenkool ---
Author: segher
Date: Wed Nov 23 14:33:13 2016
New Revision: 242757
URL: https://gcc.gnu.org/viewcvs?rev=242757&root=gcc&view=rev
Log:
combine: Convert subreg-of-lshiftrt to zero_extract properly (PR783
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78305
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78396
--- Comment #7 from Richard Biener ---
Author: rguenth
Date: Wed Nov 23 14:40:05 2016
New Revision: 242759
URL: https://gcc.gnu.org/viewcvs?rev=242759&root=gcc&view=rev
Log:
2016-11-23 Richard Biener
PR tree-optimization/78396
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78494
--- Comment #3 from Jonathan Wakely ---
Author: redi
Date: Wed Nov 23 14:45:29 2016
New Revision: 242760
URL: https://gcc.gnu.org/viewcvs?rev=242760&root=gcc&view=rev
Log:
PR78494 add missing returns to propagate_const
2016-11-23 Felix Morgner
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78396
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78495
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |7.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78496
Bug ID: 78496
Summary: Missed opportunities for jump threading
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71399
--- Comment #15 from Ludovic Courtès ---
Hi Jakub,
Thanks for the suggestions. Unfortunately I cannot offer to rebuild everything
with dumps right now; I'll see if I can do something later, no promise.
Hopefully, with the details and faulty co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71595
Richard Biener changed:
What|Removed |Added
Status|NEW |ASSIGNED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71595
--- Comment #4 from Richard Biener ---
The real reason is probably that after
if (changed)
{
unsigned i;
unloop_loops (loop_closed_ssa_invalidated, &irred_invalidated);
the loop tree is hosed. The following i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69183
Jakub Jelinek changed:
What|Removed |Added
Keywords||openmp
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78490
--- Comment #4 from Jonathan Wakely ---
Author: redi
Date: Wed Nov 23 15:22:35 2016
New Revision: 242762
URL: https://gcc.gnu.org/viewcvs?rev=242762&root=gcc&view=rev
Log:
PR78490 add missing returns to propagate_const
2016-11-23 Felix Morgner
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78490
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78486
Jonathan Wakely changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #2 from Jonath
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78483
--- Comment #4 from Jonathan Wakely ---
Right, on_exit is not part of the C++ standard, so it's correct that it is not
in namespace std.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71595
--- Comment #6 from Richard Biener ---
diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c
index beb65b0..4af39fa 100644
--- a/gcc/tree-ssa-loop-ivcanon.c
+++ b/gcc/tree-ssa-loop-ivcanon.c
@@ -647,7 +647,7 @@ unloop_loops (bitm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69183
--- Comment #5 from Jakub Jelinek ---
Created attachment 40132
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40132&action=edit
gcc7-pr69183.patch
Untested fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78483
--- Comment #5 from Kris ---
Fair do's. But then, IMHO, 'on_exit' shouldn't pollute the global namespace
either. Hence, it should be prefixed with '__'?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78487
--- Comment #5 from Stephan Beyer ---
It crashes on run-time.
I have absolutely no experience using extended asm syntax but I
guess g++ relies on the constraints for its optimization, so I
guess the constraints are wrong.
I will port the code t
On Wed, Nov 23, 2016 at 10:34 AM, Nathan Sidwell wrote:
> On 11/22/2016 02:26 PM, Nathan Sidwell wrote:
>>
>> template
>> void for2 (T &v)
>> {
>> }
>>
>> void Foo ()
>> {
>> auto lam_1 = [](int &) { };
>> auto lam_2 = [](auto &) { }; // IIUC this is implicitly templatey
>>
>> for2 (lam_1);
On 11/22/2016 02:26 PM, Nathan Sidwell wrote:
template
void for2 (T &v)
{
}
void Foo ()
{
auto lam_1 = [](int &) { };
auto lam_2 = [](auto &) { }; // IIUC this is implicitly templatey
for2 (lam_1);
for2 (lam_2); // What is the lambda's argument type?
}
We get 2 instantiations of for2:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77541
--- Comment #4 from Vladimir Makarov ---
(In reply to Uroš Bizjak from comment #2)
> (In reply to Uroš Bizjak from comment #1)
> > This is RA failure, where reload tries to fix up:
>
> To be clear, it is LRA pass, not reload.
Yes, it is a LRA b
1 - 100 of 168 matches
Mail list logo