--
Summary: incorrect declspec() handling of conditional operator
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: abarbati at iaanus dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36628
--- Comment #2 from abarbati at iaanus dot com 2008-06-26 11:39 ---
After a more careful reading of 5/5, 5.16/4 and 7.1.6.2/4, I believe that gcc
is correctly handling the int& case, that is the expected output should be:
FivE
FRivE
FivE
Only the int&& case is th
ReportedBy: abarbati at iaanus dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36740