[PATCH] i386: Use bzhi for x & ((1 << y) - 1) or x & ((1U << y) - 1) [PR93346]

2020-01-22 Thread Jakub Jelinek
Hi! The bzhi patterns are quite complicated because they need to accurately describe the behavior of the instruction for all input values. The following patterns are simple and make bzhi recognizable even for cases where not all input values are valid, because the user used a shift, in which case

[Bug rtl-optimization/92989] [10 Regression] The mips-mti-linux-gnu fails to build after r276327

2020-01-22 Thread dragan.mladjeno...@rt-rk.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92989 --- Comment #2 from Dragan Mladjenovic --- Thanks, I've checked https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01209.html, but there are still similar build failures down the line. I have to double-check it and will post any findings later.

[Bug bootstrap/93398] New: PGO bootstrap is not reproducible

2020-01-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93398 Bug ID: 93398 Summary: PGO bootstrap is not reproducible Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug libstdc++/91947] std::filesystem::file_size will return wrong value on 32bit platforms with large files support

2020-01-22 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91947 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug c/87944] Wrong code with LRA pushing stack local variable

2020-01-22 Thread stefan at franke dot ms
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87944 Stefan "Bebbo" Franke changed: What|Removed |Added CC||stefan at franke dot ms ---

[Bug ipa/93369] [10 regression] g++.dg/lto/pr64076 fails

2020-01-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93369 --- Comment #4 from Martin Liška --- (In reply to seurer from comment #3) > Will do in the future re: using g: Good. > > Should it also go in the Summary line? The hashes would make it quite long. Dunno, but I don't do it as it would really

[Bug analyzer/93392] Issue a "sorry" on attempts to use -fanalyzer with C++

2020-01-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93392 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/93397] [10 Regression] ICE in vect_create_epilog_for_reduction

2020-01-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93397 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/93393] [10 regression] gcc.dg/torture/pr93133.c fails

2020-01-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93393 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/93397] [10 Regression] ICE in vect_create_epilog_for_reduction

2020-01-22 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93397 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added CC||prathamesh3492 at gcc

Re: [PATCH] RFC: testsuite: add minimium version to dg-require-dot (PR analyzer/93293)

2020-01-22 Thread Eric Gallager
On Sat, Jan 18, 2020 at 8:58 PM Mike Stump wrote: > On Jan 17, 2020, at 2:07 PM, David Malcolm wrote: > > > > I ran into difficulties with the Graphviz format changing from under > > me during an upgrade, where the new version of "dot" would reject .dot > > files generated by the analyzer. > >

[Bug tree-optimization/93397] New: [10 Regression] ICE in vect_create_epilog_for_reduction

2020-01-22 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93397 Bug ID: 93397 Summary: [10 Regression] ICE in vect_create_epilog_for_reduction Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

libgo patch committed: Skip type descriptors in testsuite script

2020-01-22 Thread Ian Lance Taylor
This libgo patch changes the testsuite script to explicitly skip type descriptors. Type descriptors are normally weak and GNU nm will report them as V, so we will skip them when collecting the list of symbols. But when not using GNU nm, they may be reported as D, so also skip them in symstogo.

[Bug target/93396] New: [RX] tail call optimization does not work with indirect call

2020-01-22 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93396 Bug ID: 93396 Summary: [RX] tail call optimization does not work with indirect call Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

Re: Define HAVE_ for math long double functions declared in vxworks headers

2020-01-22 Thread Alexandre Oliva
On Jan 22, 2020, Andreas Schwab wrote: > On Dez 25 2019, Alexandre Oliva wrote: >> +dnl # Different versions and execution modes implement different >> +dnl # subsets of these functions. Instead of hard-coding, test for C >> +dnl # declarations in headers. The C primitives could be defined as

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-22 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #115 from Peter Bisroev --- Hi Dave, (In reply to dave.anglin from comment #114) > I would try to build 4.7.4 directly with aCC or gcc 3.3.6 (i.e., skip > intermediates). When I tried building 4.7.4 with aCC, 3-stage bootstrap

Re: Define HAVE_ for math long double functions declared in vxworks headers

2020-01-22 Thread Alexandre Oliva
On Jan 22, 2020, Jonathan Wakely wrote: > Isn't allowing arithmetic on function pointers a GNU extension? Does that matter? This test is only supposed to be compiled by GCC. > I think just adding the #undef to what you had originally is the best > version. 'k, thanks, will adjust, test,

[Bug analyzer/93367] FAIL: gcc.dg/analyzer/abort.c (test for warnings, line 71)

2020-01-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93367 David Malcolm changed: What|Removed |Added Status|WAITING |ASSIGNED --- Comment #3 from David

[Bug analyzer/93368] FAIL: gcc.dg/analyzer/data-model-1.c (test for excess errors)

2020-01-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93368 David Malcolm changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from David

[PATCH] analyzer: testsuite: introduce analyzer-torture.exp

2020-01-22 Thread David Malcolm
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. OK for master? I'm working on various followup bugfixes that could use this for test coverage. gcc/testsuite/ChangeLog: * gcc.dg/analyzer/data-model-3.c: Remove hardcoded "-O2" and move to torture/conftest-1.c.

[Bug analyzer/93382] ICE in validate, at analyzer/program-state.cc:512

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

[committed] analyzer: fix ICE due to sm-state origin being purged (PR 93382)

2020-01-22 Thread David Malcolm
The ICE in PR analyzer/93382 is a validation error. The global variable "idx" acquires a "tainted" state from local array n1[0]. When the frame is popped, the svalue for n1[0] is purged, but the "taint" sm_state_map's entry for "idx" has a svalue_id referencing the now-purged svalue. This is

[Bug analyzer/93382] ICE in validate, at analyzer/program-state.cc:512

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93382 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:591b59ebfcd48319452ebbd954267c9a05ba4b78 commit r10-6164-g591b59ebfcd48319452ebbd954267c9a05ba4b78 Author: David Malcolm Date:

[committed] analyzer: fix build with --enable-checking=release

2020-01-22 Thread David Malcolm
When adding namespaces to the analyzer in r10-6151-g75038aa6aa5b562e6358108619d66ef2ccab9a53 I messed up the nesting of the #endif for #if CHECKING_P and the closing of namespace ana. This patch fixes it. Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu; verified stage 1 build with

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-22 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #114 from dave.anglin at bell dot net --- On 2020-01-22 7:18 p.m., peter.bisroev at groundlabs dot com wrote: > >From what I can see in my other tests, we need C++ compiler built with GCC > 4.7.4 to bootstrap GCC 6.1.0 and above. This

[Bug middle-end/92830] -fdiagnostics-url shows the wrong URL for warnings which are not in 'gcc' but e.g. in 'gfortran'

2020-01-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92830 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[PATCH] Fix patchable-function-entry on arc

2020-01-22 Thread apinski
From: Andrew Pinski The problem here is arc looks at current_output_insn unconditional but sometimes current_output_insn is NULL. With patchable-function-entry, it will be. This is similar to how the nios2, handles "%.". Committed as obvious after a simple test with

[committed/PATCH] Revert "Allow tree-ssa.exp to be run by itself" and move some testcases

2020-01-22 Thread apinski
From: Andrew Pinski This reverts commit 9085381f1931cc3667412c8fff91878184835901 as it was causing default dg-do to be set incorrectly on most targets. Instead move testcases that are vect related testcase that use "dg-require-effective-target vect_*" to the vect test area. Committed as obvious

Re: [PATCH] Allow tree-ssa.exp to be run by itself

2020-01-22 Thread Andrew Pinski
On Wed, Jan 22, 2020 at 4:34 PM Jakub Jelinek wrote: > > On Wed, Jan 22, 2020 at 04:22:54PM -0800, Andrew Pinski wrote: > > > I see > > > pr88497-1.c:/* { dg-require-effective-target vect_double } */ > > > pr88497-2.c:/* { dg-require-effective-target vect_float } */ > > > pr88497-3.c:/* {

Re: [PATCH] Allow tree-ssa.exp to be run by itself

2020-01-22 Thread Jakub Jelinek
On Wed, Jan 22, 2020 at 04:22:54PM -0800, Andrew Pinski wrote: > > I see > > pr88497-1.c:/* { dg-require-effective-target vect_double } */ > > pr88497-2.c:/* { dg-require-effective-target vect_float } */ > > pr88497-3.c:/* { dg-require-effective-target vect_int } */ > > pr88497-4.c:/* {

Re: [PATCH] Allow tree-ssa.exp to be run by itself

2020-01-22 Thread Andrew Pinski
On Wed, Jan 22, 2020 at 3:39 PM Jakub Jelinek wrote: > > On Tue, Jan 21, 2020 at 05:56:38PM -0800, apin...@marvell.com wrote: > > From: Andrew Pinski > > > > tree-ssa testcases sometimes check autovect effective target > > but does not set it up. On MIPS, those testcases fail with > > some TCL

[Bug c++/93394] Request for operator* is ambiguous when binary and unary overloads are in different base classes

2020-01-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93394 --- Comment #3 from Jonathan Wakely --- See PR 52766 and PR 65299 and PR 92849

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-22 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 Peter Bisroev changed: What|Removed |Added CC||peter.bisroev at groundlabs dot co

[Bug c++/93394] Request for operator* is ambiguous when binary and unary overloads are in different base classes

2020-01-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93394 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: [PATCH] Allow tree-ssa.exp to be run by itself

2020-01-22 Thread Jakub Jelinek
On Thu, Jan 23, 2020 at 12:39:34AM +0100, Jakub Jelinek wrote: > I don't see how this could have been tested on x86_64-linux, it breaks there > a lot of tests (ditto i686-linux). My wild guess is that it changes the > default dg-do action for tests that don't have any, which in tree-ssa.exp >

Merge from trunk to gccgo branch

2020-01-22 Thread Ian Lance Taylor
I merged trunk revision 9e16359ce8db7180264fd5f047ca137ead8356dd to the gccgo branch. Ian

Re: git conversion in progress

2020-01-22 Thread Gerald Pfeifer
On Wed, 22 Jan 2020, Jakub Jelinek wrote: >> The rsync.html page can be removed too, since that was a way to download >> the entire svn repo. With git clone, you get the entire repo, so rsync >> isn't needed anymore. > I disagree, it isn't just about downloading a svn repo, but mailing list >

Re: [PATCH] Allow tree-ssa.exp to be run by itself

2020-01-22 Thread Jakub Jelinek
On Tue, Jan 21, 2020 at 05:56:38PM -0800, apin...@marvell.com wrote: > From: Andrew Pinski > > tree-ssa testcases sometimes check autovect effective target > but does not set it up. On MIPS, those testcases fail with > some TCL error messages. This fixes the issue by calling >

[Bug go/92810] Compiling GCC go for aarch64_be-marvell-linux-gnu fails

2020-01-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92810 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/68687] C compiler options to ignore all const qualifiers

2020-01-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68687 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

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

2020-01-22 Thread Ian Lance Taylor
On Wed, Jan 22, 2020 at 12:18 PM Rainer Orth wrote: > > > I've committed a patch to update libgo to Go 1.14beta1. As usual with > > these updates the patch is far too large to include in this e-mail > > message. I've included the diffs for gccgo-specific files. > > Bootstrapped and ran Go tests

libgo patch committed: Fix Solaris build

2020-01-22 Thread Ian Lance Taylor
This libgo patch fixes the build on Solaris after the 1.14beta upgrade. It adds a runtime.osinit function, and drops a duplicate runtime.getncpu function. Bootstrapped and tested on x86_64-pc-solaris2.11. Committed to mainline. Ian 9e16359ce8db7180264fd5f047ca137ead8356dd diff --git

libgo patch commited: Fix arm64be build

2020-01-22 Thread Ian Lance Taylor
This patch from Andrew Pinski fixes the libgo arm64be build, by using internal/syscall/unix/getrandom_linux_generic.go on arm64be. Committed to mainline. Ian diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 61f01d739ff..544c6e66e0d 100644 --- a/gcc/go/gofrontend/MERGE +++

[Bug testsuite/93391] [10 regression] new test cases c-c++-common/Wconversion-pr40752.c and pr40752a.c fail

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93391 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:55b7df8bfb12938e7716445d4e2dc0d2ddf44bac commit r10-6157-g55b7df8bfb12938e7716445d4e2dc0d2ddf44bac Author: Jason Merrill Date:

[Bug c++/40752] -Wconversion generates false warnings for operands not larger than target type

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752 --- Comment #36 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:55b7df8bfb12938e7716445d4e2dc0d2ddf44bac commit r10-6157-g55b7df8bfb12938e7716445d4e2dc0d2ddf44bac Author: Jason Merrill Date:

Re: [RFC c-common PATCH] PR c++/40752 - useless -Wconversion with short +=.

2020-01-22 Thread Jason Merrill
On 1/22/20 1:20 PM, Jason Merrill wrote: On 1/22/20 5:14 AM, Martin Liška wrote: Hi. Just for the record, after the change 526.blender_r fails due to: blender/source/blender/blenlib/intern/math_color.c: In function 'rgb_float_to_uchar':

[Bug other/93393] [10 regression] gcc.dg/torture/pr93133.c fails

2020-01-22 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93393 --- Comment #3 from seurer at gcc dot gnu.org --- Sorry, I accidentally cut off the test run output. I assume this doesn't change your analysis, though. Running it in gdb shows: Program received signal SIGABRT, Aborted. 0x3fffb7cd247c in

Re: [PATCH] Fix PR 93242: patchable-function-entry broken on MIPS

2020-01-22 Thread Jeff Law
On Wed, 2020-01-22 at 13:16 -0800, Andrew Pinski wrote: > On Wed, Jan 22, 2020 at 12:48 PM Jeff Law wrote: > > On Mon, 2020-01-20 at 09:42 +0100, Richard Biener wrote: > > > On Sat, Jan 18, 2020 at 1:47 AM wrote: > > > > From: Andrew Pinski > > > > > > > > On MIPS, .set noreorder/reorder needs

[Bug other/93393] [10 regression] gcc.dg/torture/pr93133.c fails

2020-01-22 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93393 --- Comment #2 from joseph at codesourcery dot com --- Inappropriate use of signaling comparisons on powerpc is bug 58684.

Ordem 475780 inclusão em CPF

2020-01-22 Thread ESTOFAMENTOS PRORLEY LTDA 154058 gcciton
Documento 429kb (Visualizar) Boa tarde, segue em anexo Guia do pedido,Cadastramento da inclusão em CPF. Atenciosamente,ESTOFAMENTOS PRORLEY LTDA

Ordem 281036 inclusão em CPF

2020-01-22 Thread DIANA VIEIRA SILVA 45975 gccampos
Documento 429kb (Visualizar) Boa tarde, segue em anexo Guia do pedido,Cadastramento da inclusão em CPF. Atenciosamente,DIANA VIEIRA SILVA

Ordem 1303202 inclusão em CPF

2020-01-22 Thread SUZANA EUGENIO DOS SANTOS 613277 gcby
Documento 429kb (Visualizar) Boa tarde, segue em anexo Guia do pedido,Cadastramento da inclusão em CPF. Atenciosamente,SUZANA EUGENIO DOS SANTOS

[Bug other/93393] [10 regression] gcc.dg/torture/pr93133.c fails

2020-01-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93393 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

Re: wwwdocs: Document the gcc git repository layout

2020-01-22 Thread Joseph Myers
On Wed, 22 Jan 2020, Richard Earnshaw (lists) wrote: > Joseph, have I got all of these right? refs/meta in that list should be refs/meta/config, there isn't anything else under refs/meta/ at present. -- Joseph S. Myers jos...@codesourcery.com

[Bug middle-end/26724] __builtin_constant_p fails to recognise function with constant return

2020-01-22 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26724 --- Comment #4 from Marc Glisse --- (In reply to pskocik from comment #3) > I don't know if this is related, It isn't, please file a separate bug report. memcmp is optimized to an integer comparison in strlen, much later than the lowering of

Re: [PATCH]: gcc: Enable bits for sanitizer support on FreeBSD x86_64

2020-01-22 Thread Kamil Rytarowski
On 22.01.2020 22:27, Andreas Tobler wrote: > Hi all, > > this patch adds the necessary bits to enable asan support on FreeBSD > x86_64. > Results will be produced over night. > > Ok for trunk once it is open again? > TIA, > Andreas > > gcc/ > >   * config/i386/i386.h: Define a new macro:

Re: [PATCH] Fix PR 93242: patchable-function-entry broken on MIPS

2020-01-22 Thread Andrew Pinski
On Wed, Jan 22, 2020 at 1:16 PM Andrew Pinski wrote: > > On Wed, Jan 22, 2020 at 12:48 PM Jeff Law wrote: > > > > On Mon, 2020-01-20 at 09:42 +0100, Richard Biener wrote: > > > On Sat, Jan 18, 2020 at 1:47 AM wrote: > > > > From: Andrew Pinski > > > > > > > > On MIPS, .set noreorder/reorder

Re: [C++ Patch] PR 92804 [10 Regression] ICE trying to use concept as a nested-name-specifier

2020-01-22 Thread Jason Merrill
On 1/22/20 3:31 PM, Paolo Carlini wrote: Hi, On 22/01/20 17:27, Jason Merrill wrote: On 1/22/20 10:22 AM, Paolo Carlini wrote: Hi, in this simple issue we either wrongly talked about variable template-id in c++17 mode or ICEd in c++2a. I think we simply want to handle concept-ids first,

[PATCH] testsuite: Enable asan tests on FreeBSD x86_64

2020-01-22 Thread Andreas Tobler
Hi all, and here the tests which should succeed now. Ok for trunk (as usual if open...) TIA, Andreas testsuite: * gcc.dg/asan/pr87930.c: Enable on x86_64 FreeBSD. * c-c++-common/asan/asan-interface-1.c: Likewise. * c-c++-common/asan/clone-test-1.c: Likewise.

[PATCH]: gcc: Enable bits for sanitizer support on FreeBSD x86_64

2020-01-22 Thread Andreas Tobler
Hi all, this patch adds the necessary bits to enable asan support on FreeBSD x86_64. Results will be produced over night. Ok for trunk once it is open again? TIA, Andreas gcc/ * config/i386/i386.h: Define a new macro: SUBTARGET_SHADOW_OFFSET. * config/i386/i386.c

[PATCH] libsanitizer: Add missign file and regen Makefile.in

2020-01-22 Thread Andreas Tobler
Hi all, I'm digginig out old patches and I want to complete the libasan support for FreeBSD x86_64. The below one was not that obvious when you have been away for the past years. In the last import the sanitizer_platform_limits_freebsd.cpp got forgotten. Fix this. Ok for trunk once it's

[Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file

2020-01-22 Thread doug at cs dot dartmouth.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93278 --- Comment #11 from doug mcilroy --- When I ran it on Linux, I did get catastrophe: "No space left on device". I do not know what device; ~ and /tmp live in different file systems. It's been decades since I last saw that diagnostic. It also

Re: [PATCH] Fix PR 93242: patchable-function-entry broken on MIPS

2020-01-22 Thread Andrew Pinski
On Wed, Jan 22, 2020 at 12:48 PM Jeff Law wrote: > > On Mon, 2020-01-20 at 09:42 +0100, Richard Biener wrote: > > On Sat, Jan 18, 2020 at 1:47 AM wrote: > > > From: Andrew Pinski > > > > > > On MIPS, .set noreorder/reorder needs to emitted around > > > the nop. The template for the nop

Re: [PATCH] avoid -Wrestrict on sprintf %p with destination as argument (PR 84919)

2020-01-22 Thread Martin Sebor
On 1/22/20 9:35 PM, Jeff Law wrote: On Wed, 2020-01-22 at 15:59 +0100, Martin Sebor wrote: The early front-end only implementation of -Wrestrict that's still present in GCC 10 issues a false postive for %p arguments that are the same as the destination. Bug 84919 reports an instance of this

[Bug target/93395] New: AVX2 missed optimization : _mm256_permute_pd() is unfortunately translated into the more expensive VPERMPD instead of the cheap VPERMILPD

2020-01-22 Thread nathanael.schaeffer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93395 Bug ID: 93395 Summary: AVX2 missed optimization : _mm256_permute_pd() is unfortunately translated into the more expensive VPERMPD instead of the cheap VPERMILPD Product:

Re: [PATCH 1/4] [ARC] Make libgcc compatible with ARC's reduced register set config.

2020-01-22 Thread Jeff Law
On Wed, 2020-01-22 at 10:14 +0200, Claudiu Zissulescu wrote: > ARC processors can work with a reduced register set (i.e. registers > r4-r9 and r16-r25 are not available). This option can be enabled > passing -mrf16 option to the compiler, or by using -mcpu=em_mini CPU > configuration. Using RF16

Re: Question about git: merging to gccgo branch

2020-01-22 Thread Joseph Myers
On Wed, 22 Jan 2020, Ian Lance Taylor wrote: > Thanks. Should I go ahead and commit and generate 581 e-mail > messages, or should I wait? In order to keep up with the Go release > cycle I'd like to commit this merge soon if possible. I suggest going ahead and committing. -- Joseph S. Myers

Re: [PATCH] gcc: Add new configure options to allow static libraries to be selected

2020-01-22 Thread Jeff Law
On Wed, 2020-01-22 at 15:39 +, Andrew Burgess wrote: > The motivation behind this change is to make it easier for a user to > link against static libraries on a target where dynamic libraries are > the default library type (for example GNU/Linux). > > Further, my motivation is really for

[Bug c/93348] [8/9 Regression] ICE in gimplify_expr, at gimplify.c:14378

2020-01-22 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93348 Joseph S. Myers changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/93348] [8/9 Regression] ICE in gimplify_expr, at gimplify.c:14378

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93348 --- Comment #7 from CVS Commits --- The releases/gcc-8 branch has been updated by Joseph Myers : https://gcc.gnu.org/g:7ec6673ada331b9eed0771875e58881049ec6915 commit r8-9948-g7ec6673ada331b9eed0771875e58881049ec6915 Author: Joseph Myers

Re: [PATCH] Fix PR 93242: patchable-function-entry broken on MIPS

2020-01-22 Thread Jeff Law
On Mon, 2020-01-20 at 09:42 +0100, Richard Biener wrote: > On Sat, Jan 18, 2020 at 1:47 AM wrote: > > From: Andrew Pinski > > > > On MIPS, .set noreorder/reorder needs to emitted around > > the nop. The template for the nop instruction uses %(/%) to > > do that. But

Re: [PATCH] testsuite: Add target/xfail argument to check-function-bodies

2020-01-22 Thread Jeff Law
On Tue, 2020-01-21 at 14:59 +, Richard Sandiford wrote: > check-function-bodies allows individual function tests to be > annotated with target/xfail selectors, but sometimes it's > useful to have the same selector for all functions. > > Tested on aarch64-linux-gnu and x86_64-linux-gnu, and

[Bug analyzer/93378] ICE in as_a, at is-a.h:197

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

Re: [PATCH] Allow tree-ssa.exp to be run by itself

2020-01-22 Thread Jeff Law
On Tue, 2020-01-21 at 17:56 -0800, apin...@marvell.com wrote: > From: Andrew Pinski > > tree-ssa testcases sometimes check autovect effective target > but does not set it up. On MIPS, those testcases fail with > some TCL error messages. This fixes the issue by calling >

[committed] analyzer: fix usage of "_setjmp" in test for PR 93378

2020-01-22 Thread David Malcolm
On Wed, 2020-01-22 at 14:56 -0500, David Malcolm wrote: > PR analyzer/93378 reports an ICE at -O1 -g when analyzing a rewind > via > longjmp to a setjmp call with. > > The root cause is that the rewind_info_t::get_setjmp_call attempts to > locate the setjmp GIMPLE_CALL via within the

Re: [PATCH] avoid -Wrestrict on sprintf %p with destination as argument (PR 84919)

2020-01-22 Thread Jeff Law
On Wed, 2020-01-22 at 15:59 +0100, Martin Sebor wrote: > The early front-end only implementation of -Wrestrict that's still > present in GCC 10 issues a false postive for %p arguments that are > the same as the destination. Bug 84919 reports an instance of this > false positive in the Linux

[Bug analyzer/93378] ICE in as_a, at is-a.h:197

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93378 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:597e403d6dbb44315f33fb2b5bb0ca4946a4a1e1 commit r10-6154-g597e403d6dbb44315f33fb2b5bb0ca4946a4a1e1 Author: David Malcolm Date:

Re: [C++ Patch] PR 92804 [10 Regression] ICE trying to use concept as a nested-name-specifier

2020-01-22 Thread Paolo Carlini
Hi, On 22/01/20 17:27, Jason Merrill wrote: On 1/22/20 10:22 AM, Paolo Carlini wrote: Hi, in this simple issue we either wrongly talked about variable template-id in c++17 mode or ICEd in c++2a. I think we simply want to handle concept-ids first, both as represented in c++17 mode and as

Re: [PATCH 3/4] [ARC] Save mlo/mhi registers when ISR.

2020-01-22 Thread Jeff Law
On Wed, 2020-01-22 at 10:14 +0200, Claudiu Zissulescu wrote: > ARC600 when configured with mul64 instructions uses mlo and mhi > registers to store the 64 result of the multiplication. In the ARC600 > ISA documentation we have the next register configuration when ARC600 > is configured only with

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

2020-01-22 Thread Rainer Orth
Hi Ian, > I've committed a patch to update libgo to Go 1.14beta1. As usual with > these updates the patch is far too large to include in this e-mail > message. I've included the diffs for gccgo-specific files. > Bootstrapped and ran Go tests on x86_64-pc-linux-gnu. Committed to > mainline.

Re: [PATCH 4/4] [ARC] Update ARC600 multiplication cost.

2020-01-22 Thread Jeff Law
On Wed, 2020-01-22 at 10:14 +0200, Claudiu Zissulescu wrote: > The ARC's 600 multiplication instruction can accept signed 12 bit > instructions. > > gcc/ > -xx-xx Claudiu Zissulescu > > * config/arc/arc.c (arc_rtx_costs): Update mul64 cost. OK jeff >

Re: [PATCH] auto-inc-dec: Don't add incs/decs to bare CLOBBERs [PR93124]

2020-01-22 Thread Jeff Law
On Wed, 2020-01-22 at 12:11 +, Richard Sandiford wrote: > In this PR, auto-inc-dec was trying to turn: > > (set (reg X) (plus (reg X) (const_int N))) > (clobber (mem (reg X))) > > into: > > (clobber (mem (pre_modify (reg X) ...))) > > But bare clobber insns are just there to

[Bug c++/93394] Request for operator* is ambiguous when binary and unary overloads are in different base classes

2020-01-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93394 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[committed] analyzer: fix setjmp handling with -g (PR 93378)

2020-01-22 Thread David Malcolm
PR analyzer/93378 reports an ICE at -O1 -g when analyzing a rewind via longjmp to a setjmp call with. The root cause is that the rewind_info_t::get_setjmp_call attempts to locate the setjmp GIMPLE_CALL via within the exploded_node containing it, but the exploded_node has two stmts: a

[Bug analyzer/93378] ICE in as_a, at is-a.h:197

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93378 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:fd9982bb0051d1a678191b684bb907d1ac177991 commit r10-6153-gfd9982bb0051d1a678191b684bb907d1ac177991 Author: David Malcolm Date:

[Bug c++/93394] New: Request for operator* is ambiguous when binary and unary overloads are in different base classes

2020-01-22 Thread gcc at sjnewell dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93394 Bug ID: 93394 Summary: Request for operator* is ambiguous when binary and unary overloads are in different base classes Product: gcc Version: 9.2.0 Status: UNCONFIRMED

[Bug analyzer/93316] Several gcc.dg/analyzer tests FAIL

2020-01-22 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93316 David Malcolm changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #5 from David

Re: [committed] analyzer: testsuite fixes for alloca, getpass, and setjmp (PR 93316)

2020-01-22 Thread Jakub Jelinek
On Wed, Jan 22, 2020 at 02:35:13PM -0500, David Malcolm wrote: > PR analyzer/93316 reports various testsuite failures where I > accidentally relied on properties of x86_64-pc-linux-gnu. > > The following patch fixes them on sparc-sun-solaris2.11 (gcc211 in the > GCC compile farm), and, I hope,

Re: [PATCH] cprop: Don't replace fixed hard regs with pseudos [PR93124]

2020-01-22 Thread Jeff Law
On Wed, 2020-01-22 at 12:02 +, Richard Sandiford wrote: > One consequence of r276318 was that cselib now preserves sp-based > values across function calls. This in turn convinced cprop to > replace the clobber in: > >(set (reg PSUEDO) (reg sp)) >... >(call ...) >... >

[committed] analyzer: testsuite fixes for alloca, getpass, and setjmp (PR 93316)

2020-01-22 Thread David Malcolm
PR analyzer/93316 reports various testsuite failures where I accidentally relied on properties of x86_64-pc-linux-gnu. The following patch fixes them on sparc-sun-solaris2.11 (gcc211 in the GCC compile farm), and, I hope, the other configurations showing failures. There may still be other

[Bug analyzer/93316] Several gcc.dg/analyzer tests FAIL

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93316 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:da7cf663b75513e4d2baf5a579ffcb4f8a61193b commit r10-6152-gda7cf663b75513e4d2baf5a579ffcb4f8a61193b Author: David Malcolm Date:

[Bug target/93335] [9 Regression] ICE: in extract_insn, at recog.c:2310 with __builtin_sub_overflow_p() on aarch64

2020-01-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93335 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/93291] 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations

2020-01-22 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93291 --- Comment #6 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:da7cf663b75513e4d2baf5a579ffcb4f8a61193b commit r10-6152-gda7cf663b75513e4d2baf5a579ffcb4f8a61193b Author: David Malcolm Date:

[Bug c++/92438] [8 Regression] Function declaration parsed incorrectly with `-std=c++1z`

2020-01-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92438 Jakub Jelinek changed: What|Removed |Added Summary|[8/9 Regression] Function |[8 Regression] Function

[Bug target/93009] [9 Regression] AVX512 FMA - wrong code generation since r265288

2020-01-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93009 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/93073] [8 Regression] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2020-01-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93073 Jakub Jelinek changed: What|Removed |Added Summary|[8/9 Regression] ICE in |[8 Regression] ICE in

[committed] Backports to 9.x branch

2020-01-22 Thread Jakub Jelinek
Hi! I've backported these 15 commits from trunk to 9.x branch, bootstrapped/regtested them on x86_64-linux and i686-linux and committed. Jakub PR c++/92992 * call.c (convert_arg_to_ellipsis): For decltype(nullptr) arguments that have side-effects use

[Bug analyzer/93307] ODR violations

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

Re: [PATCH] analyzer: introduce namespace to avoid ODR clashes (PR 93307)

2020-01-22 Thread David Malcolm
On Fri, 2020-01-17 at 16:54 -0500, David Malcolm wrote: > PR analyzer/93307 reports that in an LTO bootstrap, there are ODR > violations between: > - the "region" type: > gcc/analyzer/region-model.h:792 > vs: > gcc/sched-int.h:1443 > - the "constraint" type: >

[Bug testsuite/93391] [10 regression] new test cases c-c++-common/Wconversion-pr40752.c and pr40752a.c fail

2020-01-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93391 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

  1   2   3   4   >