https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95386
--- Comment #3 from Jiří Paleček ---
Created attachment 48629
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48629&action=edit
Original code which fails to compile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95386
--- Comment #2 from Jiří Paleček ---
(In reply to Martin Liška from comment #1)
> Was the original code a valid code?
> It seems the reduced code is invalid.
Yes at least I believe so. I will attach the original code, it is not big.
Note that y
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jpalecek at web dot de
Target Milestone: ---
Created attachment 48627
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48627&action=edit
C-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54293
--- Comment #10 from Jiří Paleček 2012-08-21 07:51:55
UTC ---
(In reply to comment #9)
> (In reply to comment #8)
> > > I agree with your analysis, but would like to point out that there is
> > > change
> > > planned to essentially this part of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54293
--- Comment #8 from Jiří Paleček 2012-08-20 22:52:31
UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > — If E2 is a non-static data member and the type of E1 is “cq1 vq1 X”, and
> > the
> > type of E2 is “cq2 vq2
> > T”, the expres
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54293
--- Comment #6 from Jiří Paleček 2012-08-20 21:56:39
UTC ---
(In reply to comment #5)
> I think there is a compiler bug. The ruling text seems to be the
> first bullet of 8.5.3/5 and its first sub-bullet:
>
> - If the reference is an lvalue
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52026
--- Comment #8 from Jiří Paleček 2012-08-19 15:38:33
UTC ---
(In reply to comment #7)
> Do you have a copyright assignment on file?
I don't know what you're talking about, so probably no. (BTW which file?)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52026
--- Comment #6 from Jiří Paleček 2012-08-19 14:13:44
UTC ---
BTW I have proposed a patch that fixes this problem here:
http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01252.html. Please take a look at
it.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488
--- Comment #11 from Jiří Paleček 2012-08-19 14:11:22
UTC ---
BTW I have proposed a patch that fixes this problem here:
http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01252.html. Please take a look at
it.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52026
--- Comment #5 from Jiří Paleček 2012-08-19 14:04:34
UTC ---
*** Bug 53488 has been marked as a duplicate of this bug. ***
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488
Jiří Paleček changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52026
Jiří Paleček changed:
What|Removed |Added
CC||jpalecek at web dot de
--- Comment #4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54293
Jiří Paleček changed:
What|Removed |Added
CC||jpalecek at web dot de
--- Comment #4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488
--- Comment #7 from Jiří Paleček 2012-06-24 20:23:38
UTC ---
Daniel, sorry, but I don't think your second example is relevant. First this
bug occurs only when capturing by reference, not by value, but your second
example uses capture by value. Mo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488
Jiří Paleček changed:
What|Removed |Added
CC||lunow at math dot
|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53486
Jiří Paleček changed:
What|Removed |Added
Attachment #27499|0 |1
is obsolete|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53486
--- Comment #5 from Jiří Paleček 2012-05-25 18:29:19
UTC ---
If I got a minimal testcase, but a slightly different error message, what
should I do?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53486
--- Comment #3 from Jiří Paleček 2012-05-25 17:58:50
UTC ---
Created attachment 27499
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27499
Compressed source file
Sorry again, the file was too big.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53486
--- Comment #2 from Jiří Paleček 2012-05-25 17:55:39
UTC ---
Sorry for the missing test file, it was somehow lost in the bug submission
process. The compiler version is
jirka@debian:~/benchmark$
LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBR
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488
--- Comment #2 from Jiří Paleček 2012-05-25 17:54:00
UTC ---
The bug occurs with these compiler versions:
jirka@debian:~/benchmark$ g++-4.7 -v
Using built-in specs.
COLLECT_GCC=g++-4.7
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.7/lto-wrap
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53488
Bug #: 53488
Summary: Incorrect code generated when capturing a constant by
reference in a lambda
Classification: Unclassified
Product: gcc
Version: unknown
Status: U
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53486
Bug #: 53486
Summary: ICE compiling code using lambdas as default argument
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
22 matches
Mail list logo