------- Comment #6 from hjl dot tools at gmail dot com  2010-09-18 02:59 -------
This patch:


fixes the bug, but caused:

FAIL: g++.dg/conversion/op5.C  (test for errors, line 18)
FAIL: g++.dg/conversion/op5.C (test for excess errors)

Now, we get

[...@gnu-6 gcc]$ ./xgcc -B./ -S -O
/export/gnu/import/git/gcc/gcc/testsuite/g++.dg/conversion/op5.C -ansi
/export/gnu/import/git/gcc/gcc/testsuite/g++.dg/conversion/op5.C: In function
\u2018void foo(const B&)\u2019:
/export/gnu/import/git/gcc/gcc/testsuite/g++.dg/conversion/op5.C:18:15: error:
conversion from \u2018const B\u2019 to non-scalar type \u2018A\u2019 requested
[...@gnu-6 gcc]$ 

"const" is missing.


hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
   Target Milestone|4.3.6                       |---


Reply via email to