* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
@ 2012-09-10 8:29 ` jakub at gcc dot gnu.org
2012-09-10 8:32 ` jakub at gcc dot gnu.org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-09-10 8:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-09-10
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
Target Milestone|--- |4.8.0
Summary|Getting assembler messages |[4.8 Regression] Getting
|when compiling |assembler messages when
| |compiling
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-10 08:29:28 UTC ---
Started in between r189000 and r189400 (r189[123]00 issued errors on it).
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
2012-09-10 8:29 ` [Bug c++/54538] [4.8 Regression] " jakub at gcc dot gnu.org
@ 2012-09-10 8:32 ` jakub at gcc dot gnu.org
2012-09-10 8:38 ` jakub at gcc dot gnu.org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-09-10 8:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-10 08:32:18 UTC ---
Created attachment 28159
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28159
pr54538.ii
Reduced testcase for -std=c++11 -O2. The mangled name doesn't demangle with
c++filt btw.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
2012-09-10 8:29 ` [Bug c++/54538] [4.8 Regression] " jakub at gcc dot gnu.org
2012-09-10 8:32 ` jakub at gcc dot gnu.org
@ 2012-09-10 8:38 ` jakub at gcc dot gnu.org
2012-09-10 9:07 ` leonid at volnitsky dot com
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-09-10 8:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-10 08:37:49 UTC ---
In r189000 there were two different symbols:
_ZNSt17_Function_handlerIFbRFiSt6vectorIiSaIiEEEENSt11chain_rangeIRS2_E12default_predMUlPS3_E_EE9_M_invokeERKSt9_Any_dataS4_
_ZNSt17_Function_handlerIFbRFiSt6vectorIiSaIiEEEENSt11chain_rangeIOS2_E12default_predMUlPS3_E_EE9_M_invokeERKSt9_Any_dataS4_
one was &, the other &&.
Now they are both:
_ZNSt17_Function_handlerIFbRFiSt6vectorIiSaIiEEEENSt11chain_rangeIT_E12default_predMUlPS3_E_EE9_M_invokeERKSt9_Any_dataS4_
...IRS2_E... vs. ... IOS2_E... vs. ...IT_E...
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (2 preceding siblings ...)
2012-09-10 8:38 ` jakub at gcc dot gnu.org
@ 2012-09-10 9:07 ` leonid at volnitsky dot com
2012-09-10 14:13 ` markus at trippelsdorf dot de
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: leonid at volnitsky dot com @ 2012-09-10 9:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
--- Comment #4 from Leonid Volnitsky <leonid at volnitsky dot com> 2012-09-10 09:07:23 UTC ---
> I can successfully compile if I will use gcc-3.7.1
Incorrect version. It should be 4.7.1
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (3 preceding siblings ...)
2012-09-10 9:07 ` leonid at volnitsky dot com
@ 2012-09-10 14:13 ` markus at trippelsdorf dot de
2012-09-10 14:39 ` leonid at volnitsky dot com
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-10 14:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-10 14:13:29 UTC ---
Both icpc and clang++ reject the testcase:
clang:
pr54538.ii:283:13: error: no matching function for call to 'range'
auto r9 = range (v9);
^~~~~
pr54538.ii:277:66: note: candidate template ignored: substitution failure [with
Rn = std::vector<int, std::allocator<int> > &]: non-type template
argument is not a constant expression
template <class Rn> eIF <is_range <Rn> (), chain_range <Rn &&>>range (Rn &&
rn)
~~~~~~~~ ^
pr54538.ii:284:14: error: no matching function for call to 'range'
auto rr9 = range (mk_v9 ());
^~~~~
pr54538.ii:277:66: note: candidate template ignored: substitution failure [with
Rn = std::vector<int, std::allocator<int> >]: non-type template
argument is not a constant expression
template <class Rn> eIF <is_range <Rn> (), chain_range <Rn &&>>range (Rn &&
rn)
icpc:
...
pr54538.ii(283): error: no instance of function template "std::range" matches
the argument list
argument types are: (std::vector<int, std::allocator<int>>)
auto r9 = range (v9);
^
pr54538.ii(284): error: no instance of function template "std::range" matches
the argument list
argument types are: (std::vector<int, std::allocator<int>>)
auto rr9 = range (mk_v9 ());
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (4 preceding siblings ...)
2012-09-10 14:13 ` markus at trippelsdorf dot de
@ 2012-09-10 14:39 ` leonid at volnitsky dot com
2012-09-10 14:44 ` leonid at volnitsky dot com
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: leonid at volnitsky dot com @ 2012-09-10 14:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
--- Comment #6 from Leonid Volnitsky <leonid at volnitsky dot com> 2012-09-10 14:39:26 UTC ---
This code is very alpha and not supposed to be compiled with something not GCC.
CLANG probably will be able to compile it when they will fix constexpr bug
11851 ( http://llvm.org/bugs/show_bug.cgi?id=11851). Don't know about ICC or
how it supports C++11.
Assembler messeges were not from unit test, but from this:
scc 1
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (5 preceding siblings ...)
2012-09-10 14:39 ` leonid at volnitsky dot com
@ 2012-09-10 14:44 ` leonid at volnitsky dot com
2012-09-10 14:52 ` markus at trippelsdorf dot de
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: leonid at volnitsky dot com @ 2012-09-10 14:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
--- Comment #7 from Leonid Volnitsky <leonid at volnitsky dot com> 2012-09-10 14:43:55 UTC ---
It seams that gcc bugzilla substituted text "bug some-number" with erroneous
link.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (6 preceding siblings ...)
2012-09-10 14:44 ` leonid at volnitsky dot com
@ 2012-09-10 14:52 ` markus at trippelsdorf dot de
2012-09-10 17:47 ` jason at gcc dot gnu.org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-10 14:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
--- Comment #8 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-10 14:51:53 UTC ---
(In reply to comment #7)
> It seams that gcc bugzilla substituted text "bug some-number" with erroneous
> link.
Never mind, bugzilla just isn't psycic yet ;-)
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (7 preceding siblings ...)
2012-09-10 14:52 ` markus at trippelsdorf dot de
@ 2012-09-10 17:47 ` jason at gcc dot gnu.org
2012-09-10 23:51 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu.org @ 2012-09-10 17:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-10 17:47:12 UTC ---
Looks like it was 189190.
http://gcc.gnu.org/viewcvs?view=revision&revision=189190
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (8 preceding siblings ...)
2012-09-10 17:47 ` jason at gcc dot gnu.org
@ 2012-09-10 23:51 ` jason at gcc dot gnu.org
2012-09-10 23:52 ` jason at gcc dot gnu.org
2012-09-10 23:52 ` jason at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu.org @ 2012-09-10 23:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-10 23:51:41 UTC ---
Author: jason
Date: Mon Sep 10 23:51:34 2012
New Revision: 191164
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191164
Log:
PR c++/54538
PR c++/53783
* pt.c (tsubst_copy_and_build) [LAMBDA_EXPR]: Go back to using RECUR
for LAMBDA_EXPR_EXTRA_SCOPE except for function scope.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (9 preceding siblings ...)
2012-09-10 23:51 ` jason at gcc dot gnu.org
@ 2012-09-10 23:52 ` jason at gcc dot gnu.org
2012-09-10 23:52 ` jason at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu.org @ 2012-09-10 23:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-10 23:52:41 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/54538] [4.8 Regression] Getting assembler messages when compiling
2012-09-09 19:07 [Bug c++/54538] New: Getting assembler messages when compiling leonid at volnitsky dot com
` (10 preceding siblings ...)
2012-09-10 23:52 ` jason at gcc dot gnu.org
@ 2012-09-10 23:52 ` jason at gcc dot gnu.org
11 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu.org @ 2012-09-10 23:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54538
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-10 23:51:41 UTC ---
Author: jason
Date: Mon Sep 10 23:51:34 2012
New Revision: 191164
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191164
Log:
PR c++/54538
PR c++/53783
* pt.c (tsubst_copy_and_build) [LAMBDA_EXPR]: Go back to using RECUR
for LAMBDA_EXPR_EXTRA_SCOPE except for function scope.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-10 23:52:41 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 13+ messages in thread