The program below is ill-formed and should be diagnosed. Release: gcc 3.1 How-To-Repeat: $ cat t.cpp ; g++ --version ; g++ -c -pedantic t.cpp void foo (char*&); int main () { signed char *s; foo (reinterpret_cast<char*>(s)); } g++ (GCC) 3.1 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
State-Changed-From-To: open->closed State-Changed-Why: fixed in cvs