Re: [PATCH] issues with configure --enable-checking option

2020-02-03 Thread Roman Zhuykov
Ping with CCing Jeff and Joseph. I think patch is rather obvious, but hopefully other items will also get some attention. 29.01.2020 16:32, Roman Zhuykov wrote: > Hi! > I've investigated a bit, because some of the following confused me > while working with some local 9.2-based branch. > >

[Bug target/93532] RISCV g++ hangs with optimization >= -O2

2020-02-03 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #10 from Jim Wilson --- Created attachment 47774 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47774=edit testcase that reproduces for me compile with -O2 -fPIC -fstack-protector-strong

[Bug target/93532] RISCV g++ hangs with optimization >= -O2

2020-02-03 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #9

[Bug libstdc++/88999] [9/10 Regression] testcases using in_avail() fail on nios2-elf

2020-02-03 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88999 --- Comment #5 from sandra at gcc dot gnu.org --- This may be the same as PR 79193. I'll check and see whether the patch attached to that issue fixes it.

[Bug libfortran/93550] Implement control of leading zero in formatted numeric output

2020-02-03 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93550 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org ---

[Bug target/92295] Inefficient vector constructor

2020-02-03 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92295 --- Comment #4 from Hongtao.liu --- (In reply to Martin Liška from comment #3) > Can we close the issue? Yes, it's fixed in GCC10.

[Bug libstdc++/88999] [9/10 Regression] testcases using in_avail() fail on nios2-elf

2020-02-03 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88999 --- Comment #4 from sandra at gcc dot gnu.org --- I've been taking another look at this issue. It looks like the trouble is that the "checking for S_ISREG or S_IFREG" test in the configure script is failing because it tries to link the test

[Bug tree-optimization/93560] New: strstr(s, s) not folded to s

2020-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93560 Bug ID: 93560 Summary: strstr(s, s) not folded to s Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug libbacktrace/90636] [libbacktrace] Tests edtest/edtest_alloc/ttest/ttest_alloc are failing on x64 Linux

2020-02-03 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90636 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[PATCH 14/14] Incorporate new code into the build machinery.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config.gcc (powerpc-*-*-*): Add rs6000-bif.o to extra_objs. * config/rs6000/t-rs6000 (rs6000-genbif.o): New target. (rbtree.o): Likewise. (rs6000-genbif): Likewise. (rs6000-bif.c): Likewise. (rs6000-bif.o): Likewise. ---

[PATCH 11/14] Write #defines to rs6000-vecdefines.h.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (write_defines_file): Implement. --- gcc/config/rs6000/rs6000-genbif.c | 4 1 file changed, 4 insertions(+) diff --git a/gcc/config/rs6000/rs6000-genbif.c b/gcc/config/rs6000/rs6000-genbif.c index 7bb7d2b24a4..0bcd035060d

[PATCH 10/14] Build function type identifiers and store them.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (complete_vector_type): New function. (complete_base_type): New function. (construct_fntype_id): New function. (parse_bif_entry): Call construct_fntype_id. (parse_ovld_entry): Likewise. ---

[PATCH 13/14] Write code to rs6000-bif.c.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (typemap): New struct. (TYPE_MAP_SIZE): New defined constant. (type_map): New filescope variable. (write_fntype): New callback function. (map_token_to_type_node): New function.

[PATCH 12/14] Write code to rs6000-bif.h.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (write_autogenerated_header): New function. (write_bif_enum): New callback function. (write_ovld_enum): New callback function. (write_decls): New function. (write_extern_fntype): New

[PATCH 09/14] Add parsing support for rs6000-overload.def.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (ovld_stanza): New struct. (MAXOVLDSTANZAS): New defined constant. (ovld_stanzas): New filescope variable. (curr_ovld_stanza): Likewise. (MAXOVLDS): New defined constant. (ovlddata): New

[PATCH 06/14] Red-black tree implementation for balanced tree search.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rbtree.c: New file. * config/rs6000/rbtree.h: New file. --- gcc/config/rs6000/rbtree.c | 233 + gcc/config/rs6000/rbtree.h | 51 2 files changed, 284 insertions(+) create mode 100644

[PATCH 08/14] Add support for parsing rs6000-bif.def.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (MAXBIFSTANZAS): New defined constant. (bif_stanzas): New filescope variable. (curr_bif_stanza): Likewise. (fnkinds): New enum. (typelist): New struct. (attrinfo): New struct.

[PATCH 05/14] Add support functions for matching types.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (void_status): New enum. (basetype): Likewise. (restriction): Likewise. (typeinfo): New struct. (match_basetype): New function. (match_const_restriction): New function. (match_type):

[PATCH 07/14] Add main function with stub functions for parsing and output.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (rbtree.h): New include. (num_bif_stanzas): New filescope variable. (num_bifs): Likewise. (num_ovld_stanzas): Likewise. (num_ovlds): Likewise. (exit_codes): Add more enum values.

[PATCH 04/14] Support functions to parse whitespace, lines, identifiers, integers.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (MININT): New defined constant. (exit_codes): New enum. (consume_whitespace): New function. (advance_line): New function. (safe_inc_pos): New function. (match_identifier): New function.

[PATCH 02/14] Add stubs for input files. These will grow much larger.

2020-02-03 Thread Bill Schmidt
This patch adds a subset of the builtin and overload descriptions. I've also started annotating the old-style descriptions in rs6000-c.c where I'm deliberately not planning to support new versions of them. We may have to have some discussion around these at some point, but this helps me track this

[PATCH 01/14] Initial create of rs6000-genbif.c.

2020-02-03 Thread Bill Schmidt
Includes header documentation and initial set of include directives. 2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c: New file. --- gcc/config/rs6000/rs6000-genbif.c | 124 ++ 1 file changed, 124 insertions(+) create mode 100644

[PATCH 00/14] rs6000: Begin replacing built-in support

2020-02-03 Thread Bill Schmidt
The current built-in support in the rs6000 back end requires at least a master's degree in spelunking to comprehend. It's full of cruft, redundancy, and unused bits of code, and long overdue for a replacement. This is the first part of my project to do that. My intent is to make adding new

[PATCH 03/14] Add file support and functions for diagnostic support.

2020-02-03 Thread Bill Schmidt
2020-02-03 Bill Schmidt * config/rs6000/rs6000-genbif.c (bif_file): New filescope variable. (ovld_file): Likewise. (header_file): Likewise. (init_file): Likewise. (defines_file): Likewise. (pgm_path): Likewise. (bif_path):

Re: libgo patch committed: Update to Go1.14beta1

2020-02-03 Thread Ian Lance Taylor
On Sun, Feb 2, 2020 at 2:27 AM Andreas Schwab wrote: > > I'm getting these errors on aarch64 with -mabi=ilp32: > > ../../../../libgo/go/runtime/mpagealloc.go:226:38: error: shift count overflow > 226 | chunks [1 << pallocChunksL1Bits]*[1 << pallocChunksL2Bits]pallocData > |

Re: libgo patch committed: Update to Go1.14beta1

2020-02-03 Thread Ian Lance Taylor
On Sat, Feb 1, 2020 at 5:38 AM Andreas Schwab wrote: > > ../../../libgo/go/syscall/syscall_linux_riscv64.go:7:14: error: imported and > not used: unsafe > 7 | import "unsafe" > | ^ > ../../../libgo/go/syscall/syscall_linux_riscv64.go:13:1: error: redefinition > of

[Bug libbacktrace/90636] [libbacktrace] Tests edtest/edtest_alloc/ttest/ttest_alloc are failing on x64 Linux

2020-02-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90636 --- Comment #6 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:628ee3c2f339da37e7570bcce0ebc6eb12bc33ae commit r10-6422-g628ee3c2f339da37e7570bcce0ebc6eb12bc33ae Author: Ian Lance Taylor

libbacktrace patch committed: Always build tests with -g

2020-02-03 Thread Ian Lance Taylor
This patch ensures that the libbacktrace tests are always built with -g. It also builds them with the default warning flags, so I had to add a few casts to ztest.c to get it pass without warnings. This should fix PR 90636. Bootstrapped and ran libbacktrace tests on x86_64-pc-linux-gnu.

Re: [PATCH] i386: Define TARGET_ASM_PRINT_PATCHABLE_FUNCTION_ENTRY

2020-02-03 Thread H.J. Lu
On Mon, Feb 3, 2020 at 4:02 PM H.J. Lu wrote: > > On Mon, Feb 3, 2020 at 10:35 AM H.J. Lu wrote: > > > > Define TARGET_ASM_PRINT_PATCHABLE_FUNCTION_ENTRY to make sure that the > > ENDBR are emitted before the patch area. When -mfentry -pg is also used > > together, there should be no ENDBR

[PATCH 3/3] libstdc++: Implement C++20 range adaptors

2020-02-03 Thread Patrick Palka
This patch implements [range.adaptors]. It also includes the changes from P3280 and P3278 and P3323, without which many standard examples won't work. The implementation is mostly dictated by the spec and there was not much room for implementation discretion. The most interesting part that was

[PATCH 1/3] libstdc++: Apply the move_iterator changes described in P1207R4

2020-02-03 Thread Patrick Palka
These changes are needed for some of the tests in the constrained algorithm patch, because they use move_iterator with an uncopyable output_iterator. The other changes described in the paper are already applied, it seems. libstdc++-v3/ChangeLog: * include/bits/stl_iterator.h

Re: [PATCH Coroutines v2] Handle type deduction of auto and decltype(auto) with indirect_ref expression

2020-02-03 Thread JunMa
在 2020/2/3 下午8:53, Nathan Sidwell 写道: On 2/2/20 9:28 PM, JunMa wrote: 在 2020/2/3 上午9:03, JunMa 写道: I think all you want here is:   await_expr = convert_from_reference (await_expr); Thanks, I'll update it. Regards JunMa Hi nathan, Here is the update.    /* This will produce the

[Bug c++/86917] [8/9/10 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2020-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/93519] [8/9/10 Regression] bogus -Wrestrict for strcpy(d, s) call guarded by d != s

2020-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93519 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[PATCH] avoid issuing -Wrestrict from folder (PR 93519)

2020-02-03 Thread Martin Sebor
PR 93519 reports a false positive -Wrestrict issued for an inlined call to strcpy that carefully guards against self-copying. This is caused by the caller's arguments substituted into the call during inlining and before dead code elimination. The attached patch avoids this by removing

Re: [PATCH] V12 patch #3 of 14, Improve address validation in rs6000_adjust_vec_address

2020-02-03 Thread Segher Boessenkool
On Mon, Feb 03, 2020 at 06:19:07PM -0500, Michael Meissner wrote: > On Fri, Jan 31, 2020 at 05:43:20PM -0600, Segher Boessenkool wrote: > > On Thu, Jan 09, 2020 at 07:27:58PM -0500, Michael Meissner wrote: > > > * config/rs6000/rs6000.c (reg_to_non_prefixed): Add forward > > > reference. > >

Re: [PATCH] V12 patch #2 of 14, Refactor rs6000_adjust_vec_address & rs6000_split_vec_extract_var

2020-02-03 Thread Segher Boessenkool
On Mon, Feb 03, 2020 at 05:02:25PM -0500, Michael Meissner wrote: > On Fri, Jan 31, 2020 at 11:30:22AM -0600, Segher Boessenkool wrote: > > But why is that the correct thing to do? Garbage in, garbage out is > > perfectly fine? Or do we have (e.g.) builtins that specify this masking? > > If so,

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-02-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 H.J. Lu changed: What|Removed |Added URL|https://gcc.gnu.org/ml/gcc- |https://gcc.gnu.org/ml/gcc-

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-02-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 --- Comment #13 from H.J. Lu --- A new patch works with both .cfi_startproc and DWARF debug info: https://gcc.gnu.org/ml/gcc-patches/2020-02/msg00107.html

Re: [PATCH] i386: Define TARGET_ASM_PRINT_PATCHABLE_FUNCTION_ENTRY

2020-02-03 Thread H.J. Lu
On Mon, Feb 3, 2020 at 10:35 AM H.J. Lu wrote: > > Define TARGET_ASM_PRINT_PATCHABLE_FUNCTION_ENTRY to make sure that the > ENDBR are emitted before the patch area. When -mfentry -pg is also used > together, there should be no ENDBR before "call __fentry__". > > OK for master if there is no

[Bug libbacktrace/90636] [libbacktrace] Tests edtest/edtest_alloc/ttest/ttest_alloc are failing on x64 Linux

2020-02-03 Thread thomas.or...@uni-hamburg.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90636 --- Comment #5 from Dr. Thomas Orgis --- I traced it down to the gcc build process not applying the -g flag consistently. In my build log, I see the respective objects being built two times (not sure in which directory the second one happens,

Re: [PATCH] V12 patch #5 of 14, Make -mpcrel default for -mcpu=future on little endian Linux 64-bit systems

2020-02-03 Thread Segher Boessenkool
On Mon, Feb 03, 2020 at 04:52:42PM -0500, Michael Meissner wrote: > > I understand why this is needed for pcrel (or useful at least), but why > > for prefixed addressing in general as well? What OS support is needed > > for that? > > > > Put another way, is this just carefulness, or do you run

[Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705

2020-02-03 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91052 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #14

[PATCH] contrib/vimrc: detect more C-like files

2020-02-03 Thread Patrick Palka
Currently this script doesn't set the indentation style for the standard library headers under libstdc++/ because they lack a file extension. But they do have a modeline, so the file type is still set appropriately by Vim. So by inspecting , we can also detect these standard library headers as

Re: [PATCH] V12 patch #3 of 14, Improve address validation in rs6000_adjust_vec_address

2020-02-03 Thread Michael Meissner
On Fri, Jan 31, 2020 at 05:43:20PM -0600, Segher Boessenkool wrote: > Hi! > > On Thu, Jan 09, 2020 at 07:27:58PM -0500, Michael Meissner wrote: > > * config/rs6000/rs6000.c (reg_to_non_prefixed): Add forward > > reference. > > FWIW, it is better to just reorder the code, in most cases. >

[Bug c++/91953] [8/9 Regression] G++ rejects lambda with constexpr variable

2020-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 Jason Merrill changed: What|Removed |Added Summary|[8/9/10 Regression] G++ |[8/9 Regression] G++

[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2020-02-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8fda2c274ac66d60c1dfc1349e9efb4e8c2a3580 commit r10-6416-g8fda2c274ac66d60c1dfc1349e9efb4e8c2a3580 Author: Jason Merrill Date:

[Bug c++/55004] [meta-bug] constexpr issues

2020-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 66477, which changed state. Bug 66477 Summary: [constexpr] accepts-invalid with constexpr member call on non-constant reference https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66477 What|Removed

[Bug c++/66477] [constexpr] accepts-invalid with constexpr member call on non-constant reference

2020-02-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66477 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:87fbd5347b33883006dc77e779b9edc590fcd2f0 commit r10-6417-g87fbd5347b33883006dc77e779b9edc590fcd2f0 Author: Jason Merrill Date:

[Bug c++/66477] [constexpr] accepts-invalid with constexpr member call on non-constant reference

2020-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66477 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[COMMITTED 1/2] c++: Allow parm of empty class type in constexpr.

2020-02-03 Thread Jason Merrill
Since copying a class object is defined in terms of the copy constructor, copying an empty class is OK even if it would otherwise not be usable in a constant expression. Relatedly, using a parameter as an lvalue is no more problematic than a local variable, and calling a member function uses the

[COMMITTED 2/2] c++: Fix constexpr vs. reference parameter.

2020-02-03 Thread Jason Merrill
[expr.const] specifically rules out mentioning a reference even if its address is never used, because it implies indirection that is similarly non-constant for a pointer variable. Tested x86_64-pc-linux-gnu, applying to trunk. PR c++/66477 * constexpr.c

[Bug c++/93559] internal compiler error: side-effects element in no-side-effects CONSTRUCTOR

2020-02-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93559 --- Comment #4 from Marek Polacek --- struct E { int d[10]; }; struct S { constexpr int operator()(char) { return 42; } }; template struct X { constexpr static E foo(S s) { return {{s(1)}}; } }; S s; static_assert((X::foo(s), 1), "");

Re: [PATCH] Add --with-diagnostics-urls configuration option and GCC_URLS/TERM_URLS env var

2020-02-03 Thread Bernd Edlinger
On 2/3/20 10:05 PM, Segher Boessenkool wrote: > On Mon, Feb 03, 2020 at 08:16:52PM +, Bernd Edlinger wrote: >> So gnome terminal is a problem, since it depend heavily on the software >> version, VTE library, and gnome-terminal. >> Sometimes URLs are functional, sometimes competely buggy. >> >>

Re: [PATCH] V12 patch #2 of 14, Refactor rs6000_adjust_vec_address & rs6000_split_vec_extract_var

2020-02-03 Thread Michael Meissner
On Fri, Jan 31, 2020 at 11:30:22AM -0600, Segher Boessenkool wrote: > But why is that the correct thing to do? Garbage in, garbage out is > perfectly fine? Or do we have (e.g.) builtins that specify this masking? > If so, please say that here. It has been this way since I added these for power7

[Bug target/93230] PowerPC GCC vec_extract of a vector in memory does not fold sign/zero extension into load

2020-02-03 Thread meissner at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230 --- Comment #7 from meissner at linux dot ibm.com --- On Sat, Jan 11, 2020 at 07:02:32AM +, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230 > > --- Comment #4 from Andrew Pinski --- > Does it make

Re: [PATCH] V12 patch #5 of 14, Make -mpcrel default for -mcpu=future on little endian Linux 64-bit systems

2020-02-03 Thread Michael Meissner
On Fri, Jan 31, 2020 at 07:12:53PM -0600, Segher Boessenkool wrote: > Hi! > > On Thu, Jan 09, 2020 at 07:40:08PM -0500, Michael Meissner wrote: > > * config/rs6000/linux64.h (PREFIXED_ADDR_SUPPORTED_BY_OS): Set to > > 1 to enable prefixed addressing if -mcpu=future. > >

[Bug target/92291] Non-optimal code generated for H8

2020-02-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92291 --- Comment #2 from Jeffrey A. Law --- So one more tidbit before I have to put this down. The reason we don't CSE the library calls is because the REG_EQUAL note we rely upon is removed. At the start of CSE we call df_analyze which recomputes

[Bug c++/66477] [constexpr] accepts-invalid with constexpr member call on non-constant reference

2020-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66477 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/93195] -fpatchable-function-entries : __patchable_function_entries should consider comdat groups

2020-02-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93195 --- Comment #3 from H.J. Lu --- Created attachment 47773 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47773=edit A patch

[Bug middle-end/93195] -fpatchable-function-entries : __patchable_function_entries should consider comdat groups

2020-02-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93195 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/93197] -fpatchable-function-entries : __patchable_function_entries does not survive under --gc-sections

2020-02-03 Thread hjl.tools at gmail dot com
"GCC: (GNU) 10.0.1 20200203 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-cfl-1 pr93197]$ cat b.s .file "b.c" .text .globl _start .type _start, @function _start: .section__patchable_functi

[Bug middle-end/93195] -fpatchable-function-entries : __patchable_function_entries should consider comdat groups

2020-02-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93195 --- Comment #2 from H.J. Lu --- *** Bug 93197 has been marked as a duplicate of this bug. ***

[Bug c++/93559] internal compiler error: side-effects element in no-side-effects CONSTRUCTOR

2020-02-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93559 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

Re: Warning on move and dereference of unique_ptr in the same expression

2020-02-03 Thread Allan Sandfeld Jensen
On Montag, 3. Februar 2020 21:47:13 CET Marek Polacek wrote: > On Mon, Feb 03, 2020 at 09:26:40PM +0100, Allan Sandfeld Jensen wrote: > > Hello gcc > > > > I have now twice hit obscure bugs in Chromium that crashed on some > > compilers but not on others, and didn't produce any warnings on any >

Re: [PATCH] Add --with-diagnostics-urls configuration option and GCC_URLS/TERM_URLS env var

2020-02-03 Thread Segher Boessenkool
On Mon, Feb 03, 2020 at 08:16:52PM +, Bernd Edlinger wrote: > So gnome terminal is a problem, since it depend heavily on the software > version, VTE library, and gnome-terminal. > Sometimes URLs are functional, sometimes competely buggy. > > But, wait a moment, here is the deal: > > I can

[Bug c++/93559] internal compiler error: side-effects element in no-side-effects CONSTRUCTOR

2020-02-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93559 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | --- Comment #3 from Marek Polacek ---

[Bug c++/93559] internal compiler error: side-effects element in no-side-effects CONSTRUCTOR

2020-02-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93559 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code, |

Re: [PATCH] Add --with-diagnostics-urls configuration option and GCC_URLS/TERM_URLS env var

2020-02-03 Thread Bernd Edlinger
On 2/3/20 9:26 PM, Jakub Jelinek wrote: > On Mon, Feb 03, 2020 at 08:16:52PM +, Bernd Edlinger wrote: >> Jakub, can you confirm that the COLORTERM on your working >> gnome-terminal is set to "truecolor" ? > > On the box where I have display attached to yes, but it isn't propagated > through

Re: Warning on move and dereference of unique_ptr in the same expression

2020-02-03 Thread Marek Polacek
On Mon, Feb 03, 2020 at 09:26:40PM +0100, Allan Sandfeld Jensen wrote: > Hello gcc > > I have now twice hit obscure bugs in Chromium that crashed on some compilers > but not on others, and didn't produce any warnings on any compiler. I would > like to know if this code is as undefined as I

[Bug c++/93559] internal compiler error: side-effects element in no-side-effects CONSTRUCTOR

2020-02-03 Thread raj.khem at gmail dot com
-__cxa_atexit Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.0.1 20200203 (experimental) (GCC)

[Bug c++/93559] New: internal compiler error: side-effects element in no-side-effects CONSTRUCTOR

2020-02-03 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93559 Bug ID: 93559 Summary: internal compiler error: side-effects element in no-side-effects CONSTRUCTOR Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug target/92291] Non-optimal code generated for H8

2020-02-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92291 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Warning on move and dereference of unique_ptr in the same expression

2020-02-03 Thread Allan Sandfeld Jensen
Hello gcc I have now twice hit obscure bugs in Chromium that crashed on some compilers but not on others, and didn't produce any warnings on any compiler. I would like to know if this code is as undefined as I think it is, and if it would make sense to have gcc warn about it. Both cases

Re: [PATCH] Add --with-diagnostics-urls configuration option and GCC_URLS/TERM_URLS env var

2020-02-03 Thread Jakub Jelinek
On Mon, Feb 03, 2020 at 08:16:52PM +, Bernd Edlinger wrote: > Jakub, can you confirm that the COLORTERM on your working > gnome-terminal is set to "truecolor" ? On the box where I have display attached to yes, but it isn't propagated through ssh to the workstation that I do GCC development

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-03 Thread Jeff Law
On Mon, 2020-02-03 at 18:55 +, Richard Sandiford wrote: > "H.J. Lu" writes: > > On Fri, Jan 24, 2020 at 2:39 PM Paul Smith wrote: > > > On Fri, 2020-01-24 at 22:45 +0100, Jakub Jelinek wrote: > > > > > > In my experience the output of git log is a total mess so cannot > > > > > > replace

[Bug analyzer/93388] ensure -fanalyzer works with our C code

2020-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93388 Bug 93388 depends on bug 93511, which changed state. Bug 93511 Summary: ICE in make_region_for_type analyzing zlib/gzwrite.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93511 What|Removed |Added

[Bug analyzer/93511] ICE in make_region_for_type analyzing zlib/gzwrite.c

2020-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93511 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/93457] ICE in make_region_for_type, at analyzer/region-model.cc:5983

2020-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93457 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

Re: [PATCH] Add --with-diagnostics-urls configuration option and GCC_URLS/TERM_URLS env var

2020-02-03 Thread Bernd Edlinger
On 2/3/20 3:08 PM, Segher Boessenkool wrote: > On Sun, Feb 02, 2020 at 08:00:44AM +, Bernd Edlinger wrote: Okay, thanks. That is a strong indication that there is no need to interfere with screen, which proves that any auto-disabling should have a very specific terminal

[Bug analyzer/93543] [10 regression] bootstrap with clang 9.0.1 fails in analyzer: reinterpret_cast from 'nullptr_t' to 'function *' is not allowed

2020-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93543 --- Comment #1 from David Malcolm --- Here's a simpler patch; does it fix the build with clang? gcc/analyzer/ChangeLog: PR analyzer/93543 * engine.cc (pod_hash_traits::mark_empty): Eliminate reinterpret_cast.

[Bug c++/93557] __builtin_convertvector doesn't mark input as used

2020-02-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93557 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/93458] ICE using coroutines

2020-02-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93458 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/90275] [8/9/10 Regression] ICE: in insert_regs, at cse.c:1128 with -O2 -fno-dce -fno-tree-dce

2020-02-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90275 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at redhat dot com ---

[Bug tree-optimization/93558] New: missing mempcpy folding defeats strlen optimization

2020-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93558 Bug ID: 93558 Summary: missing mempcpy folding defeats strlen optimization Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

Re: [PATCH, v3] wwwdocs: e-mail subject lines for contributions

2020-02-03 Thread Segher Boessenkool
On Mon, Feb 03, 2020 at 06:20:20PM +, Michael Matz wrote: > On Mon, 3 Feb 2020, Richard Earnshaw (lists) wrote: > > Well, I'd review a patch differently depending on whether or not it was > > already committed, a patch requiring review or an RFC looking for more > > general comments, so I

Re: [PATCH, v3] wwwdocs: e-mail subject lines for contributions

2020-02-03 Thread Segher Boessenkool
On Mon, Feb 03, 2020 at 06:20:20PM +, Michael Matz wrote: > On Mon, 3 Feb 2020, Richard Earnshaw (lists) wrote: > > Well, I'd review a patch differently depending on whether or not it was > > already committed, a patch requiring review or an RFC looking for more > > general comments, so I

[committed] analyzer: detect zero-assignment in phis (PR 93544)

2020-02-03 Thread David Malcolm
PR analyzer/93544 reports an ICE when attempting to report a double-free within diagnostic_manager::prune_for_sm_diagnostic, in which the variable of interest has become an INTEGER_CST. Additionally, it picks a nonsensical path through the function in which the pointer being double-freed is known

[Bug libgomp/92844] [10 regression] libgomp.fortran/use_device_ptr-optional-2.f90 fails after r279004

2020-02-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92844 --- Comment #6 from seurer at gcc dot gnu.org --- Make that... I see no failures after 2020-02-01.

[Bug libgomp/92844] [10 regression] libgomp.fortran/use_device_ptr-optional-2.f90 fails after r279004

2020-02-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92844 seurer at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[committed] analyzer: show BBs in .dot dumps

2020-02-03 Thread David Malcolm
I found this useful whilst debugging PR analyzer/93544 Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Pushed to master as 73f386581bddc4d630b93eeb0cddd32943bf24e7. gcc/analyzer/ChangeLog: * engine.cc (supernode_cluster::dump_dot): Show BB index as well as SN

[Bug analyzer/93544] ICE in get_lvalue_1, at analyzer/region-model.cc:4613

2020-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93544 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/93546] ICE: Segmentation fault (in ana::region_model::add_region_for_type)

2020-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93546 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[committed] analyzer: fix ICE merging models containing label pointers (PR 93546)

2020-02-03 Thread David Malcolm
PR analyzer/93546 reports an ICE within region_model::add_region_for_type when merging two region_models each containing a label pointer. The two labels are stored as pointers to symbolic_regions, but these regions were created with NULL type, leading to an assertion failure when a merged copy is

[Bug analyzer/93547] ICE in real_maxval, at real.c:2593

2020-02-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93547 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[committed] analyzer: fix ICE due to comparing int and real constants (PR 93547)

2020-02-03 Thread David Malcolm
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Pushed to master as r10-6409-g287ccd3bd6b92f11ec90c52ffccb764aacfadb89. gcc/analyzer/ChangeLog: PR analyzer/93547 * constraint-manager.cc (constraint_manager::get_or_add_equiv_class): Ensure types are

[Bug analyzer/93544] ICE in get_lvalue_1, at analyzer/region-model.cc:4613

2020-02-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93544 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:8525d1f5f57b11fe04a97674cc2fc2b7727621d0 commit r10-6412-g8525d1f5f57b11fe04a97674cc2fc2b7727621d0 Author: David Malcolm Date:

[Bug analyzer/93546] ICE: Segmentation fault (in ana::region_model::add_region_for_type)

2020-02-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93546 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:5e10b9a28be9061b9b0c4aa3cfabe6d478e444e0 commit r10-6410-g5e10b9a28be9061b9b0c4aa3cfabe6d478e444e0 Author: David Malcolm Date:

[Bug analyzer/93547] ICE in real_maxval, at real.c:2593

2020-02-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93547 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:287ccd3bd6b92f11ec90c52ffccb764aacfadb89 commit r10-6409-g287ccd3bd6b92f11ec90c52ffccb764aacfadb89 Author: David Malcolm Date:

[Bug c++/93557] New: __builtin_convertvector doesn't mak input as used

2020-02-03 Thread e...@coeus-group.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93557 Bug ID: 93557 Summary: __builtin_convertvector doesn't mak input as used Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

  1   2   3   >