This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51406] [4.5/4.6/4.7 Regression][c++0x] Incorrect result of static_cast to rvalue reference to base class.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51406

--- Comment #7 from Uros Bizjak <ubizjak at gmail dot com> 2011-12-17 07:28:59 UTC ---
The testcases use "target c++11" target selector.  This selector is not known
on 4.6 and earler branches.  The testcases fail as following on 4.6 branch [1]:

Running target unix
ERROR: g++.dg/cpp0x/rv-cast3.C: syntax error in target selector "target c++11"
for " dg-do 2 run { target c++11 } "
UNRESOLVED: g++.dg/cpp0x/rv-cast3.C: syntax error in target selector "target
c++11" for " dg-do 2 run { target c++11 } "
ERROR: g++.dg/cpp0x/rv-cast4.C: syntax error in target selector "target c++11"
for " dg-do 2 compile { target c++11 } "
UNRESOLVED: g++.dg/cpp0x/rv-cast4.C: syntax error in target selector "target
c++11" for " dg-do 2 compile { target c++11 } "

[1] http://gcc.gnu.org/ml/gcc-testresults/2011-12/msg01771.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]