This is the mail archive of the gcc-patches@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]

Re: [PATCH, i386]: Fix PR82725, ICE in change_address_1, at emit-rtl.c


On Mon, Oct 30, 2017 at 7:56 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
> On 29/10/2017 18:59, H.J. Lu wrote:
>>
>>
>>>>>> 2017-10-29  Uros Bizjak  <ubizjak@gmail.com>
>>>>>>
>>>>>>      PR target/82725
>>>>>>      * g++.dg/pr82725.C: New test.
>
> The new testcase is failing for everybody in gnu++98 mode. I think you want
> to move it to the cpp0x directory and use the appropriate DejaGnu
> incantations.

Thanks for heads up. Fixed with:

2017-10-30  Uros Bizjak  <ubizjak@gmail.com>

* g++.dg/pr82725.C: Move to ...
* g++.dg/cpp0x/pr82725.C: ... here.  Add c++11 target directive.

Tested on x86_64-linux-gnu and committed.

Uros.

Index: g++.dg/cpp0x/pr82725.C
===================================================================
--- g++.dg/cpp0x/pr82725.C      (revision 254212)
+++ g++.dg/cpp0x/pr82725.C      (working copy)
@@ -1,4 +1,4 @@
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && c++11 } } }
// { dg-require-effective-target pie }
// { dg-options "-O2 -fpie -mtls-direct-seg-refs" }


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