RE: [PATCH] vect-pragma-target-2.C: Compile with -march=x86-64

"Liu, Hongtao" <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <DS4PPF240F42FB73B3E6305213203AF8DCBE5A62@DS4PPF240F42FB7.namprd11.prod.outlook.com>
> -----Original Message-----
> From: H.J. Lu <[email protected]>
> Sent: Tuesday, August 18, 2026 9:12 AM
> To: GCC Patches <[email protected]>; Uros Bizjak
> <[email protected]>; Liu, Hongtao <[email protected]>
> Subject: [PATCH] vect-pragma-target-2.C: Compile with -march=x86-64
> 
> Compile vect-pragma-target-2.C with -march=x86-64 so that x86-64-v2 and
> above features aren't enabled on x86-64-v4 machines when GCC is configured
> with
> 
> --with-arch=native --with-cpu=native

There are quite a few test cases that fail under --with-arch=native. As I understand it, the primary intent of using --with-arch=native is to serve as an indicator for detecting genuine regressions, rather than to actively investigate and fix those individual failures.

> 
> PR testsuite/126923
> * g++.target/i386/vect-pragma-target-2.C (dg-options): Add -march=x86-64.
> 
> --
> H.J.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.