Re: [PATCH] Add --enable-default-semantic-interposition to GCC configure

2021-06-07 Thread Fangrui Song
On 2021-06-07, Jakub Jelinek wrote: On Mon, Jun 07, 2021 at 12:01:55PM -0600, Jeff Law via Gcc-patches wrote: > This breaks assumptions across the board. If software packages want > to use -fno-semantic-interposition that is one thing. But distros > should not be changing the default. This

Re: [PATCH] Add --enable-default-semantic-interposition to GCC configure

2021-06-07 Thread Jakub Jelinek via Gcc-patches
On Mon, Jun 07, 2021 at 12:01:55PM -0600, Jeff Law via Gcc-patches wrote: > > This breaks assumptions across the board. If software packages want > > to use -fno-semantic-interposition that is one thing. But distros > > should not be changing the default. This is just like using > > -ffast-math

Re: [PATCH] Add --enable-default-semantic-interposition to GCC configure

2021-06-07 Thread Jeff Law via Gcc-patches
On 6/6/2021 5:18 PM, Andrew Pinski via Gcc-patches wrote: On Sun, Jun 6, 2021 at 4:13 PM Fangrui Song via Gcc-patches wrote: From: Fangrui Song --enable-default-semantic-interposition=no makes -fPIC default to -fno-semantic-interposition which enables interprocedural optimizations for defa

Re: [PATCH] Add --enable-default-semantic-interposition to GCC configure

2021-06-06 Thread Fangrui Song
On 2021-06-06, Andrew Pinski wrote: On Sun, Jun 6, 2021 at 4:13 PM Fangrui Song via Gcc-patches wrote: From: Fangrui Song --enable-default-semantic-interposition=no makes -fPIC default to -fno-semantic-interposition which enables interprocedural optimizations for default visibility non-vague

Re: [PATCH] Add --enable-default-semantic-interposition to GCC configure

2021-06-06 Thread Andrew Pinski via Gcc-patches
On Sun, Jun 6, 2021 at 4:13 PM Fangrui Song via Gcc-patches wrote: > > From: Fangrui Song > > --enable-default-semantic-interposition=no makes -fPIC default to > -fno-semantic-interposition which enables interprocedural optimizations > for default visibility non-vague-linkage function definitions

[PATCH] Add --enable-default-semantic-interposition to GCC configure

2021-06-06 Thread Fangrui Song via Gcc-patches
From: Fangrui Song --enable-default-semantic-interposition=no makes -fPIC default to -fno-semantic-interposition which enables interprocedural optimizations for default visibility non-vague-linkage function definitions. The suppression of interprocedural optimizations and inlining for such funct