Re: Change to gcc/testsuite/go.test/test rejected by ChangeLog checker

2020-12-15 Thread Ian Lance Taylor via Gcc-patches
On Tue, Dec 15, 2020 at 3:43 PM Ian Lance Taylor wrote: > > I'm trying to commit a change that adds a bunch of new files to > gcc/testsuite/go.test/test. It's being rejected because the hook > can't deduce a ChangeLog file. But this directory has no ChangeLog > files. I've committed other chang

Re: Change to gcc/testsuite/go.test/test rejected by ChangeLog checker

2020-12-15 Thread Ian Lance Taylor via Gcc-patches
On Tue, Dec 15, 2020 at 3:51 PM Ian Lance Taylor wrote: > > On Tue, Dec 15, 2020 at 3:43 PM Ian Lance Taylor wrote: > > > > I'm trying to commit a change that adds a bunch of new files to > > gcc/testsuite/go.test/test. It's being rejected because the hook > > can't deduce a ChangeLog file. But

Re: [patch] Fix PR tree-optimization/96344

2020-12-15 Thread Jeff Law via Gcc-patches
On 12/15/20 3:17 AM, Eric Botcazou wrote: >> OK. > Thanks. Unfortunately I overlooked the comment of the function: > > MINVAL is the lowest case value of in the case nodes, > and RANGE is highest value minus MINVAL. MINVAL and RANGE > are not guaranteed to be of the same type as IN

[PATCH] d: Fix ICE in in force_decl_die, at dwarf2out.c with -gdwarf-2 -gstrict-dwarf [PR98067]

2020-12-15 Thread Iain Buclaw via Gcc-patches
Hi, This patch fixes an ICE in dwarf2out.c that occurs when compiling a selective import declaration in D with strict dwarf2 in effect. Manifest constants in D are represented as CONST_DECLs, which can be imported from one module to another. However, when compiling on strict dwarf2 targets such

Re: [PATCH] IBM Z: Detect libc's float_t behavior on cross compiles

2020-12-15 Thread Jeff Law via Gcc-patches
On 12/14/20 3:10 AM, Marius Hillenbrand via Gcc-patches wrote: > Hi, > > Currently, when the option --enable-s390-excess-float-precision is > omitted, configure checks the libc's behavior only for native builds yet > defaults to the new model for cross compiles. This patch extends the > configur

Re: [PATCH] Add -Wtsan.

2020-12-15 Thread Jeff Law via Gcc-patches
On 12/14/20 3:09 AM, Martin Liška wrote: > On 12/10/20 4:50 PM, Martin Sebor wrote: >> Most similar warnings mention the sanitizer option rather than >> referring to the tool by name.  E.g., >> >>    "transactional memory is not supported with  >> %<-fsanitize=address%>"

Re: V4 [PATCH 1/3] Switch to a new section if the SECTION_RETAIN bit doesn't match

2020-12-15 Thread Jeff Law via Gcc-patches
On 12/15/20 10:30 AM, H.J. Lu wrote: > When definitions marked with used attribute and unmarked definitions are > placed in the section with the same name, switch to a new section if the > SECTION_RETAIN bit doesn't match. > > gcc/ > > PR target/98146 > * output.h (switch_to_section)

Re: V4 [PATCH 2/3] Warn used and not used symbols in section with the same name

2020-12-15 Thread Jeff Law via Gcc-patches
On 12/15/20 10:30 AM, H.J. Lu wrote: > When SECTION_RETAIN is used, issue a warning when a symbol without used > attribute and a symbol with used attribute are placed in the section with > the same name, like > > int __attribute__((used,section(".data.foo"))) foo2 = 2; > int __attribute__((secti

Re: V4 [PATCH 3/3] Require .init_array/.fini_array support for SHF_GNU_RETAIN

2020-12-15 Thread Jeff Law via Gcc-patches
On 12/15/20 10:30 AM, H.J. Lu wrote: > Since SHF_GNU_RETAIN support doesn't work for crtstuff.c which switches > the output section directly with asm statement: > > --- > static void __attribute__((used)) > __do_global_dtors_aux (void) > { > static _Bool completed; > > if (__builtin_expect (

Re: [PATCH 22/23] Add rtl-ssa

2020-12-15 Thread Jeff Law via Gcc-patches
On 11/13/20 1:23 AM, Richard Sandiford via Gcc-patches wrote: > This patch adds the RTL SSA infrastructure itself. The following > fwprop.c patch will make use of it. > > gcc/ > * configure.ac: Add rtl-ssa to the list of dependence directories. > * configure: Regenerate. > * M

Re: [PATCH 23/23] fwprop: Rewrite to use RTL SSA

2020-12-15 Thread Jeff Law via Gcc-patches
On 11/13/20 1:24 AM, Richard Sandiford via Gcc-patches wrote: > This patch rewrites fwprop.c to use the RTL SSA framework. It tries > as far as possible to mimic the old behaviour, even in caes where > that doesn't fit naturally with the new framework. I've added ??? > comments to mark those p

Re: [PATCH] improve caching and enhance array bounds checking

2020-12-15 Thread Jeff Law via Gcc-patches
On 11/11/20 6:09 PM, Martin Sebor via Gcc-patches wrote: > The attached patch builds on top of the series I posted last > week(*) to improve the detection of out of bounds pointers > and C++ references, as well as a subset of invalid pointer > relational and subtraction expressions. > > First, a

Libcody breaks configure

2020-12-15 Thread Stott Graham via Gcc-patches
If any ---checking options used

Re: Problem building libstdc++ for the avr target

2020-12-15 Thread Vladimir V via Gcc-patches
Thank you very much. вт, 15 дек. 2020 г. в 12:48, Jonathan Wakely : > On 10/12/20 18:39 +0100, Vladimir V via Libstdc++ wrote: > >Hello. > > > >Could you please have a look at my trivial patch. > >It works as intended with avr-libc and doesn't seem to introduce > >regressions for x86_64 hosts. >

Re: [Ada] Fix serial port baud rate setting on GNU/Linux

2020-12-15 Thread Iain Sandoe via Gcc-patches
Rainer Orth wrote: Hi Pierre-Marie, This fixes an issue when setting the baud rate. The baud rate is set using the cfsetospeed and cfsetispeed system calls. The code is using speed_t for clarity. The non-blocking status is only reset when Block is True. And serial blocking mode is now properl

<    1   2