Re: Analyzer tests fail on windows

2021-08-24 Thread David Malcolm via Gcc
On Mon, 2021-08-23 at 22:36 -0400, NightStrike wrote: > On Mon, Aug 23, 2021 at 8:16 PM NightStrike > wrote: > > On Mon, Aug 23, 2021 at 4:09 PM David Malcolm > > wrote: > > > Which tests are failing, specifically? > > Here's the full list of all 37 failures that fail for any reason: > > FAIL:

Re: Analyzer tests fail on windows

2021-08-24 Thread Jonathan Wakely via Gcc
On Tue, 24 Aug 2021 at 13:49, David Malcolm wrote: > Is there a recipe for testing this via > wine? (it's been almost 20 years since I did any Windows coding...) I use this for running libstdc++ tests under Wine: Xvfb :9 -screen 0 1024x768x16 & trap 'kill %1' EXIT # Start wine on the dummy X ser

Re: Analyzer tests fail on windows

2021-08-24 Thread Jonathan Wakely via Gcc
On Tue, 24 Aug 2021 at 14:32, Jonathan Wakely wrote: > > On Tue, 24 Aug 2021 at 13:49, David Malcolm wrote: > > Is there a recipe for testing this via > > wine? (it's been almost 20 years since I did any Windows coding...) > > I use this for running libstdc++ tests under Wine: > > Xvfb :9 -screen

Re: Usage of EBCDIC (IBM 1047)

2021-08-24 Thread Joseph Myers
On Mon, 23 Aug 2021, Jesus Diaz via Gcc wrote: > However i've noticed that on functions with the printf-style formatting > attribute the EBCDIC strings tend to generate spurious errors - to my surprise > the "%" character seems to cause these issues. This may be due to the ASCII > host mis-represe

Re: Porting to gcc 11 / intrinsics

2021-08-24 Thread NightStrike via Gcc
Should I make this a bugzilla? I guess I figured that wouldn't be appropriate. On Mon, Aug 9, 2021, 07:16 NightStrike wrote: > When porting to GCC 11, care must be taken to adjust includes of GCC > intrinsic headers due to this change: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97148 > > T

Re: Porting to gcc 11 / intrinsics

2021-08-24 Thread Andrew Pinski via Gcc
On Tue, Aug 24, 2021 at 6:39 PM NightStrike via Gcc wrote: > > Should I make this a bugzilla? I guess I figured that wouldn't be > appropriate. I don't see a reason why this should go into porting as there was no change needed from previous versions of GCC. Supporting -mno-sse is a new feature ev

Re: Analyzer tests fail on windows

2021-08-24 Thread NightStrike via Gcc
On Tue, Aug 24, 2021 at 8:48 AM David Malcolm wrote: > Thanks for working through the above. > > Do you have an account in GCC's bugzilla? If so, please can you turn > this into a bug report there. Is there a recipe for testing this via > wine? (it's been almost 20 years since I did any Windows

Re: Porting to gcc 11 / intrinsics

2021-08-24 Thread NightStrike via Gcc
On Tue, Aug 24, 2021 at 10:21 PM Andrew Pinski wrote: > > On Tue, Aug 24, 2021 at 6:39 PM NightStrike via Gcc wrote: > > On Mon, Aug 9, 2021, 07:16 NightStrike wrote: > > > > > When porting to GCC 11, care must be taken to adjust includes of GCC > > > intrinsic headers due to this change: > > >

What is this GIMPLE?

2021-08-24 Thread Gary Oblock via Gcc
I print out a bit of GIMPLE for a program and it looks like this: [local count: 13634385]: # a_1 = PHI # n_11 = PHI loop: # DEBUG n => n_11 # DEBUG a => a_1 _2 = (long unsigned int) a_1; _3 = _2 & 7; _347 = _3 != 0; That bit that says "loop:" isn't a GIMPLE_LABEL and it has ope

How to define Struct / Array type with runtime invariants like SVE or RVV

2021-08-24 Thread Jojo R via Gcc
Hi, I want to use struct or array type as container in my project, but GCC does not support this usage by now because that the size of these types are decided at compile-time :( so is there any good solution to fix this ? or some new feature patches to a