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 #8 from Mikael Pettersson <mikpe at it dot uu.se> 2011-12-17 11:31:33 UTC ---
(In reply to comment #7)
> 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 } "

I see the exact same failures with 4.5 branch on all targets I'm testing.


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