: P3
Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: tho...@maier-komor.de
non-const default arguments get rejected with following error message:
error: default argument for 'A& a' has type 'A'
Here is an example, where function
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51480
--- Comment #2 from Thomas Maier-Komor 2011-12-09
09:47:06 UTC ---
Why is that so?
Visual Studio compiler seems to handle that situation without a problem and I
think it could come handy in certain situations...
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: tho...@maier-komor.de
Target Milestone: ---
Created attachment 40427
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40427&action=edit
set of testcase files, compile test
++
Assignee: unassigned at gcc dot gnu.org
Reporter: tho...@maier-komor.de
Target Milestone: ---
Created attachment 36688
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36688&action=edit
file to reproduce the segv
g++ terminates on SegV and gives following messag
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68295
--- Comment #1 from Thomas Maier-Komor ---
The bug is reproduceable with gcc 5.2.0 on cygwin.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68295
--- Comment #2 from Thomas Maier-Komor ---
Created attachment 36701
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36701&action=edit
Another preprocessed testcase
This testcase has no missing symbols and should compile cleanly.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68295
--- Comment #4 from Thomas Maier-Komor ---
(In reply to Richard Biener from comment #3)
> Works for me on x86_64-linux.
Yes - it seems to be cygwin specific...