This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C++: Fix PR86083
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 26 Jun 2018 11:17:06 +0200
- Subject: Re: [PATCH] C++: Fix PR86083
- References: <20180620114107.11570-1-krebbel@linux.vnet.ibm.com>
Hi Andreas,
> When turning a user-defined numerical literal into an operator
> invocation the literal needs to be translated to the execution
> character set.
>
> Bootstrapped and regtested on s390x. x86_64 still running.
> Ok to apply if x86_64 is clean?
the new testcase FAILs on Solaris
FAIL: g++.dg/pr86082.C (test for excess errors)
Excess errors:
cc1plus: error: conversion from UTF-8 to IBM1047 not supported by iconv
and, according to gcc-testresults, on powerpc-ibm-aix7.2.0.0.
Fixed as follows, tested on i386-pc-solaris2.11, installed on mainline.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2018-06-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/pr86082.C: Require IBM1047 support.
# HG changeset patch
# Parent eeab29b53ad0ae8a16bb9e8d4d0f934e9d5ebebe
Require IBM1047 support in g++.dg/pr86082.C
diff --git a/gcc/testsuite/g++.dg/pr86082.C b/gcc/testsuite/g++.dg/pr86082.C
--- a/gcc/testsuite/g++.dg/pr86082.C
+++ b/gcc/testsuite/g++.dg/pr86082.C
@@ -1,4 +1,5 @@
/* { dg-do link } */
+/* { dg-require-iconv "IBM1047" } */
/* { dg-options "-fexec-charset=IBM1047 -std=c++11" } */
/* When turning 123_test into an operator invocation the literal 123