Re: Re: [RISC-V PATCH] Improve style to work around PR 60994 in host compiler.

2023-12-01 Thread juzhe.zh...@rivai.ai
LGTM. juzhe.zh...@rivai.ai From: Robin Dapp Date: 2023-12-01 17:27 To: Roger Sayle; gcc-patches CC: rdapp.gcc; juzhe.zh...@rivai.ai Subject: Re: [RISC-V PATCH] Improve style to work around PR 60994 in host compiler. Yes, OK, thanks for that. CC'ing Juzhe as this is his pass. Regards Robin

Re: [RISC-V PATCH] Improve style to work around PR 60994 in host compiler.

2023-12-01 Thread Robin Dapp
Yes, OK, thanks for that. CC'ing Juzhe as this is his pass. Regards Robin

[RISC-V PATCH] Improve style to work around PR 60994 in host compiler.

2023-12-01 Thread Roger Sayle
This simple patch allows me to build a cross-compiler to riscv using older versions of RedHat's system compiler. The issue is PR c++/60994 where g++ doesn't like the same name (demand_flags) to be used by both a variable and a (enumeration) type, which is also undesirable from a (GNU) coding styl