Snapshot gcc-4.6-20110603 is now available on
ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20110603/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 4.6 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches
Lawrence Crowl writes:
> The PPH project has tests that compile two different ways, and
> then compare the assembly. If either of the compiles fails, the
> comparison will fail. We'd like to simply not run the comparison.
>
> We currently have:
>
> set have_errs [llength [grep $test "{\[ \t\]\+
The PPH project has tests that compile two different ways, and
then compare the assembly. If either of the compiles fails, the
comparison will fail. We'd like to simply not run the comparison.
We currently have:
set have_errs [llength [grep $test "{\[ \t\]\+dg-error\[\t\]\+.*\[ \t\]\+}"]]
# Com
Paolo Carlini wrote:
> The issue may even be known or already fixed in mainline and 4.6.
I confirm, the issue has already been fixed on the released version of 4.6.
It exists on gcc versions 4.5.1 (official release) and 4.6.0 20100609
(experimental) (GCC).
Best regards,
Piotr Wyderski
Hi,
> A proposed fix is to remove the current template-based detector in the
> standard library and provide
> a built-in function __is_convertible which would check such corner
> cases in a much smarter way
> than is possible with templates:
I don't see why shouldn't be possible deal with this cas
Consider the folowing:
class XXX {
public:
XXX(char) {}
template XXX(T) = delete;
};
fprintf(stderr, "ic::value = %i\n",
std::is_convertible::value);
fprintf(stderr, "ic::value = %i\n",
std::is_convertible::value);
The code above doesn't compile on gcc 4.6: