Re: GCC 12.3 Released

2023-05-09 Thread Hemlata Chelwani via Gcc
Cool, thanks Ankur ! On Tue, 9 May 2023, 20:09 Ankur Saini, wrote: > I think you can do that by via > > https://gcc.gnu.org/mailman/listinfo/gcc-announce > > > On 09-May-2023, at 7:34 PM, Hemlata Chelwani via Gcc > wrote: > > > > how can i unsubscribe ? > > Best Regards, > > Hemlata Chelwani >

Re: More C type errors by default for GCC 14

2023-05-09 Thread Eli Zaretskii via Gcc
> From: Arsen Arsenović > Cc: Eli Zaretskii , Jakub Jelinek , > jwakely@gmail.com, gcc@gcc.gnu.org > Date: Tue, 09 May 2023 22:21:03 +0200 > > > The concern is using the good will of the GNU Toolchain brand as the tip of > > the spear or battering ram to motivate software packages to fix the

Re: More C type errors by default for GCC 14

2023-05-09 Thread Eli Zaretskii via Gcc
> From: Florian Weimer > Cc: Jakub Jelinek , Eli Zaretskii , > jwakely@gmail.com, ar...@aarsen.me > Date: Tue, 09 May 2023 22:57:20 +0200 > > * Eli Zaretskii via Gcc: > > >> Date: Tue, 9 May 2023 21:07:07 +0200 > >> From: Jakub Jelinek > >> Cc: Jonathan Wakely , ar...@aarsen.me, > >> g

Re: More C type errors by default for GCC 14

2023-05-09 Thread Jonathan Wakely via Gcc
On Tue, 9 May 2023 at 23:38, Joel Sherrill wrote: > We are currently using gcc 12 and specifying C11. To experiment with > these stricter warnings and slowly address them, would we need to build > with a newer C version? No, the proposed changes are to give errors (instead of warnings) for rules

Re: More C type errors by default for GCC 14

2023-05-09 Thread Joel Sherrill
On Tue, May 9, 2023 at 5:28 PM David Edelsohn via Gcc wrote: > On Tue, May 9, 2023 at 4:40 PM Jonathan Wakely > wrote: > > > > > > > On Tue, 9 May 2023, 21:13 David Edelsohn, wrote: > > > >> On Tue, May 9, 2023 at 3:22 PM Eli Zaretskii via Gcc > >> wrote: > >> > >>> > Date: Tue, 9 May 2023 21:

Re: More C type errors by default for GCC 14

2023-05-09 Thread David Edelsohn via Gcc
On Tue, May 9, 2023 at 4:40 PM Jonathan Wakely wrote: > > > On Tue, 9 May 2023, 21:13 David Edelsohn, wrote: > >> On Tue, May 9, 2023 at 3:22 PM Eli Zaretskii via Gcc >> wrote: >> >>> > Date: Tue, 9 May 2023 21:07:07 +0200 >>> > From: Jakub Jelinek >>> > Cc: Jonathan Wakely , ar...@aarsen.me,

Re: More C type errors by default for GCC 14

2023-05-09 Thread Arsen Arsenović via Gcc
Thomas Koenig via Gcc writes: > Not replying to anybody in particular, just a bit of history, with > some potential parallels. > > In gfortran, we have had two major issues with interfaces. One was that > code which had happily violated the compiler ABI started failing, due > to a fix in the gf

Re: More C type errors by default for GCC 14

2023-05-09 Thread Thomas Koenig via Gcc
Not replying to anybody in particular, just a bit of history, with some potential parallels. In gfortran, we have had two major issues with interfaces. One was that code which had happily violated the compiler ABI started failing, due to a fix in the gfortran front end which meant that we were n

Re: More C type errors by default for GCC 14

2023-05-09 Thread Florian Weimer via Gcc
* Eli Zaretskii via Gcc: >> Date: Tue, 9 May 2023 21:07:07 +0200 >> From: Jakub Jelinek >> Cc: Jonathan Wakely , ar...@aarsen.me, gcc@gcc.gnu.org >> >> On Tue, May 09, 2023 at 10:04:06PM +0300, Eli Zaretskii via Gcc wrote: >> > People who ignore warnings will use options that disable these new >

Re: More C type errors by default for GCC 14

2023-05-09 Thread Jonathan Wakely via Gcc
On Tue, 9 May 2023, 21:13 David Edelsohn, wrote: > On Tue, May 9, 2023 at 3:22 PM Eli Zaretskii via Gcc > wrote: > >> > Date: Tue, 9 May 2023 21:07:07 +0200 >> > From: Jakub Jelinek >> > Cc: Jonathan Wakely , ar...@aarsen.me, >> gcc@gcc.gnu.org >> > >> > On Tue, May 09, 2023 at 10:04:06PM +0300

Re: More C type errors by default for GCC 14

2023-05-09 Thread Arsen Arsenović via Gcc
David Edelsohn writes: > This seems to be the core tension. If developers cared about these issues, > they would enable appropriate warnings and -Werror. These issues are easy to miss and overlook. Making them louder helps prevent that. Additionally, requiring the users to remember a dozen f

Re: More C type errors by default for GCC 14

2023-05-09 Thread Arsen Arsenović via Gcc
Eli Zaretskii writes: >> Cc: Jonathan Wakely , gcc@gcc.gnu.org >> Date: Tue, 09 May 2023 18:38:05 +0200 >> From: Arsen Arsenović via Gcc >> >> You're actively dismissing the benefit. > > Which benefit? > > No one has yet explained why a warning about this is not enough, and > why it must be ma

Re: More C type errors by default for GCC 14

2023-05-09 Thread David Edelsohn via Gcc
On Tue, May 9, 2023 at 3:22 PM Eli Zaretskii via Gcc wrote: > > Date: Tue, 9 May 2023 21:07:07 +0200 > > From: Jakub Jelinek > > Cc: Jonathan Wakely , ar...@aarsen.me, > gcc@gcc.gnu.org > > > > On Tue, May 09, 2023 at 10:04:06PM +0300, Eli Zaretskii via Gcc wrote: > > > > From: Jonathan Wakely

Re: More C type errors by default for GCC 14

2023-05-09 Thread Eli Zaretskii via Gcc
> Date: Tue, 9 May 2023 21:07:07 +0200 > From: Jakub Jelinek > Cc: Jonathan Wakely , ar...@aarsen.me, gcc@gcc.gnu.org > > On Tue, May 09, 2023 at 10:04:06PM +0300, Eli Zaretskii via Gcc wrote: > > > From: Jonathan Wakely > > > Date: Tue, 9 May 2023 18:15:59 +0100 > > > Cc: Arsen Arsenović , gcc@

Re: More C type errors by default for GCC 14

2023-05-09 Thread Jakub Jelinek via Gcc
On Tue, May 09, 2023 at 10:04:06PM +0300, Eli Zaretskii via Gcc wrote: > > From: Jonathan Wakely > > Date: Tue, 9 May 2023 18:15:59 +0100 > > Cc: Arsen Arsenović , gcc@gcc.gnu.org > > > > On Tue, 9 May 2023 at 17:56, Eli Zaretskii wrote: > > > > > > No one has yet explained why a warning about th

Re: More C type errors by default for GCC 14

2023-05-09 Thread Eli Zaretskii via Gcc
> From: Jonathan Wakely > Date: Tue, 9 May 2023 18:15:59 +0100 > Cc: Arsen Arsenović , gcc@gcc.gnu.org > > On Tue, 9 May 2023 at 17:56, Eli Zaretskii wrote: > > > > No one has yet explained why a warning about this is not enough, and > > why it must be made an error. Florian's initial post doesn

Re: More C type errors by default for GCC 14

2023-05-09 Thread Eli Zaretskii via Gcc
> From: Sam James > Cc: Arsen Arsenović , d...@killthe.net, > jwakely@gmail.com, gcc@gcc.gnu.org > Date: Tue, 09 May 2023 18:05:09 +0100 > > Eli Zaretskii via Gcc writes: > > >> Cc: Jonathan Wakely , gcc@gcc.gnu.org > >> Date: Tue, 09 May 2023 18:38:05 +0200 > >> From: Arsen Arsenović via

Re: More C type errors by default for GCC 14

2023-05-09 Thread Florian Weimer via Gcc
* David Edelsohn: > Yes, GCC has two, distinct user groups / use cases, but GCC also has a > very unique and crucial role, as the foundation for a large portion of > the GNU/Linux and FOSS software ecosystem. This proposal is missing a > motivation for this change, especially making new errors th

Re: More C type errors by default for GCC 14

2023-05-09 Thread Florian Weimer via Gcc
* Sam James: > Florian Weimer writes: > >> * Richard Biener: >> Am 09.05.2023 um 14:16 schrieb Florian Weimer via Gcc : TL;DR: This message is about turning implicit-int, implicit-function-declaration, and possibly int-conversion into errors for GCC 14. >>> >>> I suppos

Re: More C type errors by default for GCC 14

2023-05-09 Thread Sam James via Gcc
Jason Merrill writes: > On Tue, May 9, 2023 at 12:45 PM Florian Weimer via Gcc > wrote: >> >> * Richard Biener: >> >> > > Am 09.05.2023 um 18:13 schrieb David Edelsohn : >> > > >> > > On Tue, May 9, 2023 at 12:07 PM Jakub Jelinek via Gcc >> > > wrote: >> > > >> > > On Tue, May 09, 2023 at 0

Re: More C type errors by default for GCC 14

2023-05-09 Thread Jonathan Wakely via Gcc
On Tue, 9 May 2023 at 17:56, Eli Zaretskii wrote: > > > Cc: Jonathan Wakely , gcc@gcc.gnu.org > > Date: Tue, 09 May 2023 18:38:05 +0200 > > From: Arsen Arsenović via Gcc > > > > You're actively dismissing the benefit. > > Which benefit? > > No one has yet explained why a warning about this is not

Re: More C type errors by default for GCC 14

2023-05-09 Thread Sam James via Gcc
Florian Weimer writes: > * Richard Biener: > >>> Am 09.05.2023 um 14:16 schrieb Florian Weimer via Gcc : >>> >>> TL;DR: This message is about turning implicit-int, >>> implicit-function-declaration, and possibly int-conversion into errors >>> for GCC 14. >> >> I suppose the goal is to not need

Re: More C type errors by default for GCC 14

2023-05-09 Thread Jason Merrill via Gcc
On Tue, May 9, 2023 at 12:45 PM Florian Weimer via Gcc wrote: > > * Richard Biener: > > > > Am 09.05.2023 um 18:13 schrieb David Edelsohn : > > > > > > On Tue, May 9, 2023 at 12:07 PM Jakub Jelinek via Gcc > > > wrote: > > > > > > On Tue, May 09, 2023 at 05:16:19PM +0200, Richard Biener via Gcc

Re: More C type errors by default for GCC 14

2023-05-09 Thread Sam James via Gcc
Eli Zaretskii via Gcc writes: >> Cc: Jonathan Wakely , gcc@gcc.gnu.org >> Date: Tue, 09 May 2023 18:38:05 +0200 >> From: Arsen Arsenović via Gcc >> >> You're actively dismissing the benefit. > > Which benefit? > > No one has yet explained why a warning about this is not enough, and > why it mu

Re: More C type errors by default for GCC 14

2023-05-09 Thread Florian Weimer via Gcc
* Richard Biener: >> Am 09.05.2023 um 14:16 schrieb Florian Weimer via Gcc : >> >> TL;DR: This message is about turning implicit-int, >> implicit-function-declaration, and possibly int-conversion into errors >> for GCC 14. > > I suppose the goal is to not need to rely on altering CFLAGS but > ch

Re: More C type errors by default for GCC 14

2023-05-09 Thread Ian Lance Taylor via Gcc
On Tue, May 9, 2023 at 9:45 AM Florian Weimer via Gcc wrote: > > The part David quoted above is about this: > > $ gcc -fno-gnu89-inline -std=gnu89 t.c > cc1: error: ‘-fno-gnu89-inline’ is only supported in GNU99 or C99 mode > > And some packages need -fno-gnu89-inline, but also rely on implicit in

Re: More C type errors by default for GCC 14

2023-05-09 Thread Eli Zaretskii via Gcc
> Cc: Jonathan Wakely , gcc@gcc.gnu.org > Date: Tue, 09 May 2023 18:38:05 +0200 > From: Arsen Arsenović via Gcc > > You're actively dismissing the benefit. Which benefit? No one has yet explained why a warning about this is not enough, and why it must be made an error. Florian's initial post d

Re: More C type errors by default for GCC 14

2023-05-09 Thread Florian Weimer via Gcc
* Richard Biener: > > Am 09.05.2023 um 18:13 schrieb David Edelsohn : > > > > On Tue, May 9, 2023 at 12:07 PM Jakub Jelinek via Gcc > > wrote: > > > > On Tue, May 09, 2023 at 05:16:19PM +0200, Richard Biener via Gcc wrote: > > > > > > > > > > Am 09.05.2023 um 14:16 schrieb Florian Weimer via

Re: More C type errors by default for GCC 14

2023-05-09 Thread Arsen Arsenović via Gcc
Dave Blanchard writes: > On Tue, 9 May 2023 16:14:28 +0100 > Jonathan Wakely via Gcc wrote: > >> This isn't "be like Clang", this is "diagnose things that have been >> invalid C since 1999". > > And in the process, break half of my system, and make it even more of a pain > in > the ass to comp

Re: More C type errors by default for GCC 14

2023-05-09 Thread Arsen Arsenović via Gcc
Dave Blanchard writes: > On Tue, 09 May 2023 16:07:50 +0100 > Sam James via Gcc wrote: > >> Florian did note this already - ABI. Implicit function declarations are >> pretty horrible in a number of cases: >> - they prevent fortification (_FORTIFY_SOURCE) > > So what? Print a warning, for those

Re: End of subscription

2023-05-09 Thread Jakub Jelinek via Gcc
On Tue, May 09, 2023 at 09:44:08PM +0530, Ruchit Raushan via Gcc wrote: > Don't want to receive further emails. Each mail on the mailing list tells that in the headers: List-Unsubscribe: ,

Re: End of subscription

2023-05-09 Thread Jonathan Wakely via Gcc
On Tue, 9 May 2023 at 17:15, Ruchit Raushan via Gcc wrote: > > Don't want to receive further emails. See the bottom of https://gcc.gnu.org/mailman/listinfo/gcc

End of subscription

2023-05-09 Thread Ruchit Raushan via Gcc
Don't want to receive further emails.

Re: More C type errors by default for GCC 14

2023-05-09 Thread David Edelsohn via Gcc
On Tue, May 9, 2023 at 12:07 PM Jakub Jelinek via Gcc wrote: > On Tue, May 09, 2023 at 05:16:19PM +0200, Richard Biener via Gcc wrote: > > > > > > > Am 09.05.2023 um 14:16 schrieb Florian Weimer via Gcc >: > > > > > > TL;DR: This message is about turning implicit-int, > > > implicit-function-de

Re: More C type errors by default for GCC 14

2023-05-09 Thread Sam James via Gcc
Jakub Jelinek writes: > On Tue, May 09, 2023 at 05:16:19PM +0200, Richard Biener via Gcc wrote: >> >> >> > Am 09.05.2023 um 14:16 schrieb Florian Weimer via Gcc : >> > >> > TL;DR: This message is about turning implicit-int, >> > implicit-function-declaration, and possibly int-conversion into

Re: More C type errors by default for GCC 14

2023-05-09 Thread Jakub Jelinek via Gcc
On Tue, May 09, 2023 at 05:16:19PM +0200, Richard Biener via Gcc wrote: > > > > Am 09.05.2023 um 14:16 schrieb Florian Weimer via Gcc : > > > > TL;DR: This message is about turning implicit-int, > > implicit-function-declaration, and possibly int-conversion into errors > > for GCC 14. > > I su

Re: More C type errors by default for GCC 14

2023-05-09 Thread Jonathan Wakely via Gcc
Talking about dropping anybody out of a helicopter is not acceptable on this mailing list. Stop it. Learn to engage rationally or leave.

Re: More C type errors by default for GCC 14

2023-05-09 Thread Dave Blanchard
On Tue, 09 May 2023 16:07:50 +0100 Sam James via Gcc wrote: > Florian did note this already - ABI. Implicit function declarations are > pretty horrible in a number of cases: > - they prevent fortification (_FORTIFY_SOURCE) So what? Print a warning, for those who are writing new code or maintaini

Re: More C type errors by default for GCC 14

2023-05-09 Thread David Edelsohn via Gcc
On Tue, May 9, 2023 at 11:14 AM Jonathan Wakely wrote: > On Tue, 9 May 2023 at 16:04, David Edelsohn via Gcc > wrote: > > Yes, GCC has two, distinct user groups / use cases, but GCC also has a > very > > unique and crucial role, as the foundation for a large portion of the > > GNU/Linux and FOSS

Re: More C type errors by default for GCC 14

2023-05-09 Thread Dave Blanchard
On Tue, 9 May 2023 16:14:28 +0100 Jonathan Wakely via Gcc wrote: > This isn't "be like Clang", this is "diagnose things that have been > invalid C since 1999". And in the process, break half of my system, and make it even more of a pain in the ass to compile old software. With no real gain or b

Re: More C type errors by default for GCC 14

2023-05-09 Thread Richard Biener via Gcc
> Am 09.05.2023 um 14:16 schrieb Florian Weimer via Gcc : > > TL;DR: This message is about turning implicit-int, > implicit-function-declaration, and possibly int-conversion into errors > for GCC 14. I suppose the goal is to not need to rely on altering CFLAGS but change the default behavior

Re: More C type errors by default for GCC 14

2023-05-09 Thread Jonathan Wakely via Gcc
On Tue, 9 May 2023 at 16:04, David Edelsohn via Gcc wrote: > Yes, GCC has two, distinct user groups / use cases, but GCC also has a very > unique and crucial role, as the foundation for a large portion of the > GNU/Linux and FOSS software ecosystem. This proposal is missing a > motivation for thi

Re: More C type errors by default for GCC 14

2023-05-09 Thread Sam James via Gcc
David Edelsohn via Gcc writes: > On Tue, May 9, 2023 at 8:16 AM Florian Weimer via Gcc > wrote: > >> TL;DR: This message is about turning implicit-int, >> implicit-function-declaration, and possibly int-conversion into errors >> for GCC 14. >> >> A few of you might remember that I've been looki

Re: More C type errors by default for GCC 14

2023-05-09 Thread David Edelsohn via Gcc
On Tue, May 9, 2023 at 8:16 AM Florian Weimer via Gcc wrote: > TL;DR: This message is about turning implicit-int, > implicit-function-declaration, and possibly int-conversion into errors > for GCC 14. > > A few of you might remember that I've been looking into turning some > type errors from warn

Re: GCC 12.3 Released

2023-05-09 Thread Ankur Saini via Gcc
I think you can do that by via https://gcc.gnu.org/mailman/listinfo/gcc-announce > On 09-May-2023, at 7:34 PM, Hemlata Chelwani via Gcc wrote: > > how can i unsubscribe ? > Best Regards, > Hemlata Chelwani > > > On Mon, 8 May 2023 at 18:52, Richard Biener via gcc-announce < > gcc-annou...@gcc

Re: More C type errors by default for GCC 14

2023-05-09 Thread Dave Blanchard
How about this as a suitable compromise: Just introduce a new compiler option, maybe something like -Wjesus-christ-I-am-really-fucking-anal-and-definitely-want-EVERYTHING-TO-BE-AN-ERROR. That way all of the weirdos who want 90% of their system build to fail with ridiculously pedantic errors ca

Re: GCC 12.3 Released

2023-05-09 Thread Hemlata Chelwani via Gcc
how can i unsubscribe ? Best Regards, Hemlata Chelwani On Mon, 8 May 2023 at 18:52, Richard Biener via gcc-announce < gcc-annou...@gcc.gnu.org> wrote: > The GNU Compiler Collection version 12.3 has been released. > > GCC 12.3 is the first bug-fix release from the GCC 12 branch containing > impor

More C type errors by default for GCC 14

2023-05-09 Thread Florian Weimer via Gcc
TL;DR: This message is about turning implicit-int, implicit-function-declaration, and possibly int-conversion into errors for GCC 14. A few of you might remember that I've been looking into turning some type errors from warnings into errors by default. Mainly I've been looking at implicit functio