Re: RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-31 Thread Sergey Bylokhov
On Fri, 31 Mar 2023 13:00:08 GMT, Erik Joelsson wrote: > That said, it may be worth adding a comment that this warning has only been > observed with GCC 7. That will help in the future when someone tries to > remove disabled warnings. Then the comment is better than nothing. -

Re: RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-31 Thread Erik Joelsson
On Thu, 30 Mar 2023 21:05:40 GMT, Joshua Cao wrote: > Builds successfully with GCC 7 > > > gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-15) > Copyright (C) 2017 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for

Re: RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-31 Thread Aleksey Shipilev
On Thu, 30 Mar 2023 21:11:25 GMT, Joshua Cao wrote: >> Builds successfully with GCC 7 >> >> >> gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-15) >> Copyright (C) 2017 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even

Re: RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-31 Thread Aleksey Shipilev
On Thu, 30 Mar 2023 21:05:40 GMT, Joshua Cao wrote: > Builds successfully with GCC 7 > > > gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-15) > Copyright (C) 2017 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for

Re: RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-30 Thread Sergey Bylokhov
On Thu, 30 Mar 2023 21:31:07 GMT, Erik Joelsson wrote: > > If we will going forward with this patch, can we exclude the warning for > > the old compilers only? as was mentioned in the JBS the gcc10+ compiles > > that code fine. > > The build system doesn't have a convenient way of selectively

Re: RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-30 Thread Erik Joelsson
On Thu, 30 Mar 2023 21:24:02 GMT, Sergey Bylokhov wrote: > If we will going forward with this patch, can we exclude the warning for the > old compilers only? as was mentioned in the JBS the gcc10+ compiles that code > fine. The build system doesn't have a convenient way of selectively disable

Re: RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-30 Thread Sergey Bylokhov
On Thu, 30 Mar 2023 21:05:40 GMT, Joshua Cao wrote: > Builds successfully with GCC 7 > > > gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-15) > Copyright (C) 2017 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for

Re: RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-30 Thread Joshua Cao
On Thu, 30 Mar 2023 21:05:40 GMT, Joshua Cao wrote: > Builds successfully with GCC 7 > > > gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-15) > Copyright (C) 2017 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for

RFR: 8304295: VM build fails with GCC 7 after JDK-8301998

2023-03-30 Thread Joshua Cao
Builds successfully with GCC 7 gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-15) Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -