[PATCH] i386: Fix splitters that call extract_insn_cached [PR93611]

2020-02-06 Thread Jakub Jelinek
Hi! The following testcase ICEs. The generated split_insns starts with recog_data.insn = NULL and then tries to put various operands into recog_data.operand array and checks various splitter conditions. The problem is that some atom related tuning splitters indirectly call extract_insn_cached on

[Bug ipa/93621] [10 Regression] ICE in redirect_call_stmt_to_callee, at cgraph.c:1443

2020-02-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93621 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/93618] [10 Regression] : unknown array size in delete when using C++20 standard

2020-02-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93618 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug tree-optimization/93616] Missed chance to use alias checks to vectorise invariant indirection

2020-02-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93616 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug c++/93614] C++ compile error with struct in template class and < operator

2020-02-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93614 Richard Biener changed: What|Removed |Added Keywords||rejects-valid --- Comment #2 from

Re: [PATCH, rs6000]: mark clobber for registers changed by untpyed_call

2020-02-06 Thread Jiufu Guo
Segher Boessenkool writes: > Hi! > > On Thu, Feb 06, 2020 at 10:49:36AM +0800, Jiufu Guo wrote: >> > emit_call_insn (gen_call (operands[0], const0_rtx, const0_rtx)); >> > >> > for (i = 0; i < XVECLEN (operands[2], 0); i++) >> > { >> > rtx set = XVECEXP (operands[2], 0, i); >> >

[Bug middle-end/323] optimized code gives strange floating point results

2020-02-06 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 --- Comment #213 from Eric Gallager --- (In reply to Eric Gallager from comment #212) > (In reply to Rich Felker from comment #211) > > If new reports are going to be marked as duplicates of this, then can it > > please be moved from SUSPENDED

[Bug ipa/93621] New: [10 Regression] ICE in redirect_call_stmt_to_callee, at cgraph.c:1443

2020-02-06 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93621 Bug ID: 93621 Summary: [10 Regression] ICE in redirect_call_stmt_to_callee, at cgraph.c:1443 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug fortran/93599] [9/10 regression] Bug in fortran asynchronous I/O wait function

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

PING^6: [PATCH] i386: Properly encode xmm16-xmm31/ymm16-ymm31 for vector move

2020-02-06 Thread H.J. Lu
On Mon, Jan 27, 2020 at 10:59 AM H.J. Lu wrote: > > On Mon, Jul 8, 2019 at 8:19 AM H.J. Lu wrote: > > > > On Tue, Jun 18, 2019 at 8:59 AM H.J. Lu wrote: > > > > > > On Fri, May 31, 2019 at 10:38 AM H.J. Lu wrote: > > > > > > > > On Tue, May 21, 2019 at 2:43 PM H.J. Lu wrote: > > > > > > > > >

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

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

[Bug middle-end/323] optimized code gives strange floating point results

2020-02-06 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 --- Comment #212 from Eric Gallager --- (In reply to Rich Felker from comment #211) > If new reports are going to be marked as duplicates of this, then can it > please be moved from SUSPENDED status to REOPENED? The situation is far > worse than

Re: [PATCH] x86-64: Pass aggregates with only float/double in GPRs for MS_ABI

2020-02-06 Thread H.J. Lu
On Wed, Feb 05, 2020 at 09:51:14PM +0100, Uros Bizjak wrote: > On Wed, Feb 5, 2020 at 6:59 PM H.J. Lu wrote: > > > > MS_ABI requires passing aggregates with only float/double in integer > > registers. Checked gcc outputs against Clang and fixed: > > > > FAIL: libffi.bhaible/test-callback.c -W

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

2020-02-06 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93195 Bug 93195 depends on bug 93536, which changed state. Bug 93536 Summary: -fpatchable-function-entries -ffunction-sections doesn't work with --gc-sections https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93536 What|Removed

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

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

[Bug middle-end/93536] -fpatchable-function-entries -ffunction-sections doesn't work with --gc-sections

2020-02-06 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93536 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH] Use the section flag 'o' for __patchable_function_entries

2020-02-06 Thread H.J. Lu
This commit in GNU binutils 2.35: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=b7d072167715829eed0622616f6ae0182900de3e added the section flag 'o' to .section directive: .section __patchable_function_entries,"awo",@progbits,foo which specifies the symbol name which the

[Bug middle-end/323] optimized code gives strange floating point results

2020-02-06 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 --- Comment #211 from Rich Felker --- If new reports are going to be marked as duplicates of this, then can it please be moved from SUSPENDED status to REOPENED? The situation is far worse than what seems to have been realized last this was worked

[Bug middle-end/323] optimized code gives strange floating point results

2020-02-06 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 --- Comment #210 from Rich Felker --- If new reports are going to be marked as duplicates of this, then can it please be moved from SUSPENDED status to REOPENED? The situation is far worse than what seems to have been realized last this was worked

[Bug middle-end/323] optimized code gives strange floating point results

2020-02-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Andrew Pinski changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #209

[Bug c++/93620] Floating point is broken in C++ on targets with excess precision

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

[Bug c++/93620] New: Floating point is broken in C++ on targets with excess precision

2020-02-06 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93620 Bug ID: 93620 Summary: Floating point is broken in C++ on targets with excess precision Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c/82318] -fexcess-precision=standard has no effect on a libm function call

2020-02-06 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82318 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #5

RE: [PATCH][AARCH64] Fix for PR86901

2020-02-06 Thread Modi Mo via gcc-patches
> I did a quick bootstrap, this shows several failures like: > > gcc/builtins.c:9427:1: error: unrecognizable insn: > 9427 | } > | ^ > (insn 212 211 213 24 (set (reg:SI 207) > (zero_extract:SI (reg:SI 206) > (const_int 26 [0x1a]) > (const_int 6 [0x6])))

Re: GCC GSoC 2020: Call for mentors and project ideas

2020-02-06 Thread David Malcolm
On Mon, 2020-01-27 at 16:30 +0100, Martin Liška wrote: > On 1/15/20 11:45 PM, Martin Jambor wrote: > > Therefore, first and foremost, I would like to ask all (moderately) > > seasoned GCC contributors to consider mentoring a student this year > > and > > ideally also come up with a project that

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

2020-02-06 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #137 from dave.anglin at bell dot net --- On 2020-02-05 10:18 p.m., peter.bisroev at groundlabs dot com wrote: > I just had a chance to do some testing tonight. So attempting to bootstrap > 8.3.0 in stock configuration gives PCREL21B

Re: [wwwdocs] Mention common attribute in gcc-10/porting_to.html

2020-02-06 Thread Sandra Loosemore
On 2/6/20 3:18 PM, Gerald Pfeifer wrote: On Thu, 6 Feb 2020, Jakub Jelinek wrote: + If tentative definitions of particular variable or variables need to be I believe that would be "a particular variable", but best to simplify to "of particular variables". + placed in a common block,

[Bug rtl-optimization/93561] [bounds checking] memory overflow for spill_for

2020-02-06 Thread zhongyunde at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93561 --- Comment #3 from vfdff --- thanks very much!

Re: [PATCH 2/3] libstdc++: Implement C++20 constrained algorithms

2020-02-06 Thread Patrick Palka
On Thu, 6 Feb 2020, Jonathan Wakely wrote: > On 03/02/20 21:07 -0500, Patrick Palka wrote: > > +#ifndef _RANGES_ALGO_H > > +#define _RANGES_ALGO_H 1 > > + > > +#if __cplusplus > 201703L > > + > > +#include > > +#include > > +#include > > +// #include > > This line could be removed, or leave

[PATCH 4/3] Add [range.istream]

2020-02-06 Thread Patrick Palka
This patch adds ranges::basic_istream_view and ranges::istream_view. This seems to be the last missing part of the ranges header. libstdc++-v3/ChangeLog: * include/std/ranges (ranges::__detail::__stream_extractable, ranges::basic_istream_view, ranges::istream_view): Define.

[Bug analyzer/93288] ICE in supergraph.cc:180

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

[Bug analyzer/93375] ICE in gimple_call_arg, at gimple.h:3258

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

[Bug analyzer/93405] Passing constant arguments to subroutines in Fortran ... and the analyzer.

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

[Bug analyzer/93375] ICE in gimple_call_arg, at gimple.h:3258

2020-02-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93375 --- Comment #7 from David Malcolm --- Does the patch in comment #6 fix the remaining test failures for everyone?

[committed] analyzer: fix reproducer for PR 93375

2020-02-06 Thread David Malcolm
Reproducing the ICE in PR analyzer/93375 required some kind of analyzer diagnostic occurring after a call with fewer arguments than required by the callee. The testcase used __builtin_memcpy with a NULL argument for this. On x86_64-pc-linux-gnu this happened to be already optimized into: _4 =

[Bug analyzer/93375] ICE in gimple_call_arg, at gimple.h:3258

2020-02-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93375 --- Comment #6 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:13f5b93e6453d121abc15c718dfcc588aca976c3 commit r10-6496-g13f5b93e6453d121abc15c718dfcc588aca976c3 Author: David Malcolm Date:

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-02-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #6 from Marek Polacek

[PATCH] c++: Fix ICE with template codes in check_narrowing [PR91465]

2020-02-06 Thread Marek Polacek
In ed4f2c001a883b2456fc607a33f1c59f9c4ee65d I changed the call to fold_non_dependent_expr in check_narrowing to maybe_constant_value. That was the wrong thing to do as these tests show: check_narrowing bails out for dependent expressions but we can still have template codes like CAST_EXPR that

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

2020-02-06 Thread Patrick Palka
On Thu, 6 Feb 2020, Jonathan Wakely wrote: > On 03/02/20 21:07 -0500, Patrick Palka wrote: > > 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

[Bug rtl-optimization/93565] Combine duplicates count trailing zero instructions

2020-02-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93565 --- Comment #7 from Segher Boessenkool --- What makes that move redundant? I don't see it.

Re: [PATCH] Fix PowerPC -fstack-clash-protection -mprefixed-addr ICE (PR target/93122)

2020-02-06 Thread Segher Boessenkool
Hi again, On Thu, Feb 06, 2020 at 08:51:06PM +0100, Jakub Jelinek wrote: > On Thu, Feb 06, 2020 at 01:15:25PM -0600, Segher Boessenkool wrote: > > On Thu, Jan 30, 2020 at 05:14:08PM +0100, Jakub Jelinek wrote: > > > Here is what I meant as the alternative, i.e. don't check any predicates, > > >

[Bug target/93569] [10 regression] r10-6419 causes ICE in gcc.target/powerpc/vsx-builtin-15d.c

2020-02-06 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93569 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/93569] [10 regression] r10-6419 causes ICE in gcc.target/powerpc/vsx-builtin-15d.c

2020-02-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93569 --- Comment #2 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:a66219dce7fcba068a0998dd926e2ffc6857f149 commit r10-6494-ga66219dce7fcba068a0998dd926e2ffc6857f149 Author: Michael Meissner

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Segher Boessenkool
On Thu, Feb 06, 2020 at 01:57:49PM -0500, Jason Merrill wrote: > On Thu, Feb 6, 2020 at 11:25 AM Segher Boessenkool < > seg...@kernel.crashing.org> wrote: > > > > > We also need a way to fix changelog entries for the errors that do seep > > through (and that are bad enough that they do need

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

2020-02-06 Thread Martin Sebor
On 2/6/20 6:16 AM, Richard Biener wrote: On Thu, Feb 6, 2020 at 2:00 PM Jeff Law wrote: On Wed, 2020-02-05 at 09:19 +0100, Richard Biener wrote: On Tue, Feb 4, 2020 at 11:02 PM Martin Sebor wrote: On 2/4/20 2:31 PM, Jeff Law wrote: On Tue, 2020-02-04 at 13:08 -0700, Martin Sebor wrote:

Re: [PATCH] PR target/93569 [version 2], Fix PowerPC vsx-builtin-15d.c test case

2020-02-06 Thread Segher Boessenkool
On Thu, Feb 06, 2020 at 01:40:03PM -0500, Michael Meissner wrote: > This patch addresses the concern the Segher raised in the original submission > of the patch to fix PR target/93569. In addition to checking for D*-form > addresses in the traditional Altivec registers, this patch also checks for

Re: [PATCH] add -mvsx to pr92923-1.c test requiring vsx

2020-02-06 Thread Segher Boessenkool
Hi Will, On Thu, Feb 06, 2020 at 11:41:47AM -0600, will schmidt wrote: > The existing testcase pr92923-1.c uses vector long long, and thus > requires vsx. > OK for master? Sure! Thanks for the patch. > * testsuite/gcc.target/powerpc/pr92923-1.c: Add -mvsx. The changelog is

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Segher Boessenkool
On Thu, Feb 06, 2020 at 03:01:20PM +0100, Richard Biener wrote: > On Thu, Feb 6, 2020 at 2:51 PM Segher Boessenkool > wrote: > > If you rebase changelog files, then yes, it's a bloody pain ;-) > > So do you have a script that takes a commit with a ChangeLog at its end > and populates the

[Bug rtl-optimization/93565] Combine duplicates count trailing zero instructions

2020-02-06 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93565 Wilco changed: What|Removed |Added CC||wdijkstr at arm dot com --- Comment #6 from

Re: [wwwdocs] Mention common attribute in gcc-10/porting_to.html

2020-02-06 Thread Gerald Pfeifer
On Thu, 6 Feb 2020, Jakub Jelinek wrote: > + If tentative definitions of particular variable or variables need to be I believe that would be "a particular variable", but best to simplify to "of particular variables". > + placed in a common block, __attribute__((__common__)) can be > + used to

Patch to fix PR93561

2020-02-06 Thread Vladimir Makarov
The following patch fixes   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93561 The patch was successfully bootstrapped on x86-64. commit d26f37a16e3ed3d75a93ffb1da10c44c36a8a36d (HEAD -> master) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1754aa76399..aec58a06529 100644 ---

[Bug rtl-optimization/93561] [bounds checking] memory overflow for spill_for

2020-02-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93561 --- Comment #2 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:d26f37a16e3ed3d75a93ffb1da10c44c36a8a36d commit r10-6493-gd26f37a16e3ed3d75a93ffb1da10c44c36a8a36d Author: Vladimir N. Makarov

[Bug rtl-optimization/93565] Combine duplicates count trailing zero instructions

2020-02-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93565 --- Comment #5 from Segher Boessenkool --- IOW, we need hard numbers, not guesstimates :-)

[Bug rtl-optimization/93565] Combine duplicates count trailing zero instructions

2020-02-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93565 --- Comment #4 from Segher Boessenkool --- Why would that be unlikely? It lengthens the lifetime of that pseudo, potentially significantly.

[Bug tree-optimization/93616] Missed chance to use alias checks to vectorise invariant indirection

2020-02-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93616 Andrew Pinski changed: What|Removed |Added Keywords||alias Status|UNCONFIRMED

[Bug tree-optimization/93616] Missed chance to use alias checks to vectorise invariant indirection

2020-02-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93616 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug middle-end/93512] Introduce rotate_truncation_mask

2020-02-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93512 --- Comment #4 from Segher Boessenkool --- I said (or I meant, at least) that as far as I see and know, all rotate instructions on all machines do this truncation. It is of course possible for targets to write it in RTL that only works for a

Re: [PATCH] middle-end/93519 - avoid folding stmts in obviously unreachable code

2020-02-06 Thread Martin Sebor
On 2/6/20 7:52 AM, Richard Biener wrote: The inliner folds stmts delayed, the following arranges things so to not fold stmts that are obviously not reachable to avoid warnings from those code regions. Bootstrapped and tested on x86_64-unknown-linux-gnu. It fixes the reported problem so it

[Bug target/87612] Bad diagnostic for conflicting mcpu and march options on aarch64

2020-02-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87612 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/93619] New: aarch64 target testsuite is so broken with -mcpu=*

2020-02-06 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93619 Bug ID: 93619 Summary: aarch64 target testsuite is so broken with -mcpu=* Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/92517] [10 Regression] ICE on incorrect syntax involving requires and decltype

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

[Bug fortran/70070] ICE on initializing character data beyond min/max bound

2020-02-06 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70070 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 --- Comment #10 from kargl

[Bug fortran/70070] ICE on initializing character data beyond min/max bound

2020-02-06 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70070 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

Re: C++ constructors and callgraph interaction ("__ct_comp " vs constructor function body)

2020-02-06 Thread David Malcolm
On Thu, 2020-02-06 at 13:49 +0100, Martin Jambor wrote: > Hi, > > On Wed, Feb 05 2020, David Malcolm wrote: > > Answering my own question, calling ultimate_alias_target on the > > __ct_comp cgraph_node seems to find the "right" cgraph_node. > > > > Is that the right general-purpose answer here?

[Bug analyzer/93288] ICE in supergraph.cc:180

2020-02-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 David Malcolm changed: What|Removed |Added Keywords||patch --- Comment #7 from David Malcolm

[PATCH 2/2] analyzer: use ultimate alias target at calls (PR 93288)

2020-02-06 Thread David Malcolm
PR analyzer/93288 reports an ICE in a C++ testcase when calling a constructor. The issue is that when building the supergraph, we encounter the cgraph edge to "__ct_comp ", the DECL_COMPLETE_CONSTRUCTOR_P, and this node's DECL_STRUCT_FUNCTION has a NULL CFG, which the analyzer reads through,

[PATCH 1/2] analyzer: g++ testsuite support

2020-02-06 Thread David Malcolm
PR analyzer/93288 reports a C++-specific ICE with -fanalyzer. This patch creates the beginnings of a C++ test suite for the analyzer, so that there's a place to put test coverage for the fix. It adds a regression test for PR analyzer/93212, an ICE fixed in

[Bug fortran/70913] ICE in gfc_encode_character, at fortran/target-memory.c:227

2020-02-06 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70913 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug analyzer/93405] Passing constant arguments to subroutines in Fortran ... and the analyzer.

2020-02-06 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93405 David Malcolm changed: What|Removed |Added Keywords||patch --- Comment #2 from David Malcolm

[wwwdocs] Mention common attribute in gcc-10/porting_to.html

2020-02-06 Thread Jakub Jelinek
Hi! On Tue, Jan 07, 2020 at 03:15:05PM +, Wilco Dijkstra wrote: > --- a/htdocs/gcc-10/porting_to.html > +++ b/htdocs/gcc-10/porting_to.html > @@ -29,9 +29,25 @@ and provide solutions. Let us know if you have suggestions > for improvements! > Preprocessor issues > --> > > - > + > +Default

[PATCH 1/2] analyzer: gfortran testsuite support

2020-02-06 Thread David Malcolm
PR analyzer/93405 reports an ICE when attempting to use -fanalyzer on certain gfortran code. The second patch in this kit fixes that, but in the meantime I need somewhere to put regression tests for -fanalyzer with gfortran. This patch adds a gfortran.dg/analyzer subdirectory with an

[PATCH 2/2] analyzer: fix ICE with fortran constant arguments (PR 93405)

2020-02-06 Thread David Malcolm
PR analyzer/93405 reports an ICE with -fanalyzer when passing a constant "by reference" in gfortran. The issue is that the constant is passed as an ADDR_EXPR of a CONST_DECL, and region_model::get_lvalue_1 doesn't know how to handle CONST_DECL. This patch implements it for CONST_DECL by

Re: [PATCH] Fix PowerPC -fstack-clash-protection -mprefixed-addr ICE (PR target/93122)

2020-02-06 Thread Jakub Jelinek
On Thu, Feb 06, 2020 at 01:15:25PM -0600, Segher Boessenkool wrote: > On Thu, Jan 30, 2020 at 05:14:08PM +0100, Jakub Jelinek wrote: > > Here is what I meant as the alternative, i.e. don't check any predicates, > > just gen_add3_insn, if that fails, force rs into register and retry. > > I don't

[Bug lto/93609] gcc -flto -fno-comon places symbols into ".text" section

2020-02-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93609 --- Comment #3 from Martin Liška --- (In reply to Sergei Trofimovich from comment #2) > (In reply to Martin Liška from comment #1) > > Hello, it's a known and reported issue: > > https://lists.gnu.org/archive/html/libtool/2020-01/msg00022.html >

[Bug target/90763] PowerPC vec_xl_len should take const

2020-02-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90763 --- Comment #3 from Martin Liška --- (In reply to Bill Schmidt from comment #2) > Whoops, that was not supposed to go to bz. Sorry about that. Hehe. Sure, I'll do it next time.

[committed] analyzer: round-trip pointer-equality through intptr_t

2020-02-06 Thread David Malcolm
When investigating how the analyzer handles malloc/free of Cray pointers in gfortran I noticed that that analyzer was losing information on pointers that were cast to an integer type, and then back to a pointer type again. The root cause is that region_model::maybe_cast_1 was only preserving the

[PATCH/RFC] analyzer: workaround for nested pp_printf

2020-02-06 Thread David Malcolm
The dumps from the analyzer sometimes contain garbled output. The root cause is due to nesting of calls to pp_printf: I'm using pp_printf with %qT to print types with a PP using default_tree_printer. default_tree_printer handles 'T' (and various other codes) via dump_generic_node (pp, t, 0,

[Bug c++/86269] [concepts] ICE with intermediate concepts notation

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86269 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 86269, which changed state. Bug 86269 Summary: [concepts] ICE with intermediate concepts notation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86269 What|Removed |Added

[Bug c++/67491] [meta-bug] concepts issues

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 87441, which changed state. Bug 87441 Summary: [concepts] Found compiler internal error: in tsubst at cp/pt.c:13657 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87441 What|Removed

[Bug c++/87441] [concepts] Found compiler internal error: in tsubst at cp/pt.c:13657

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87441 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/79759] [concepts] ICE in tsubst, at cp/pt.c:13509

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79759 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 79759, which changed state. Bug 79759 Summary: [concepts] ICE in tsubst, at cp/pt.c:13509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79759 What|Removed |Added

[Bug c++/80746] [concepts] ICE evaluating constraints for concepts with dependent template parameters

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80746 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/80746] [concepts] ICE evaluating constraints for concepts with dependent template parameters

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80746 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target

[Bug c++/67491] [meta-bug] concepts issues

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 80746, which changed state. Bug 80746 Summary: [concepts] ICE evaluating constraints for concepts with dependent template parameters https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80746 What|Removed

[Bug c++/80773] [Concepts] Internal Compiler error on template parameter pack expansion

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80773 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 80773, which changed state. Bug 80773 Summary: [Concepts] Internal Compiler error on template parameter pack expansion https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80773 What|Removed

[Bug c++/82740] [concepts] requires clause evaluated early

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82740 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-06 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 82740, which changed state. Bug 82740 Summary: [concepts] requires clause evaluated early https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82740 What|Removed |Added

[Bug analyzer/93375] ICE in gimple_call_arg, at gimple.h:3258

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

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

2020-02-06 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 Jim Wilson changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wilson at gcc dot gnu.org ---

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

2020-02-06 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #12 from Jim Wilson --- A bisection on mainline between the gcc-8 and gcc-9 releases shows that this testcase was fixed by a combine patch for PR87600 that stops combining hard regs with pseudos to reduce register pressure. The

Re: [PATCH] Fix PowerPC -fstack-clash-protection -mprefixed-addr ICE (PR target/93122)

2020-02-06 Thread Segher Boessenkool
Hi! Sorry for dropping this once again. On Thu, Jan 30, 2020 at 05:14:08PM +0100, Jakub Jelinek wrote: > Here is what I meant as the alternative, i.e. don't check any predicates, > just gen_add3_insn, if that fails, force rs into register and retry. I don't like gen_add3_insn here *at all*, as

[Bug lto/93609] gcc -flto -fno-comon places symbols into ".text" section

2020-02-06 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93609 --- Comment #2 from Sergei Trofimovich --- (In reply to Martin Liška from comment #1) > Hello, it's a known and reported issue: > https://lists.gnu.org/archive/html/libtool/2020-01/msg00022.html >

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-02-06 Thread Jason Merrill
On Thu, Feb 6, 2020 at 11:25 AM Segher Boessenkool < seg...@kernel.crashing.org> wrote: > > We also need a way to fix changelog entries for the errors that do seep > through (and that are bad enough that they do need fixing). It doesn't > have to be easy or convenient, but we need *some* way to

[Bug c++/93618] [10 Regression] : unknown array size in delete when using C++20 standard

2020-02-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93618 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/91212] [8/9/10 Regression] const ignored for ctor arguments within return since r8-2493-g4ce8c5dea53d8073

2020-02-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91212 --- Comment #7 from Jason Merrill --- Created attachment 47793 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47793=edit Fix This patch fixes the pre-P1825 bug, but breaks the PR58051 test which is not actually allowed by DR 1579 (but is

[Bug target/91638] powerpc -mlong-double-NN (documentation) issues

2020-02-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91638 --- Comment #2 from Segher Boessenkool --- That isn't documentation.

[PATCH] PR target/93569 [version 2], Fix PowerPC vsx-builtin-15d.c test case

2020-02-06 Thread Michael Meissner
This patch addresses the concern the Segher raised in the original submission of the patch to fix PR target/93569. In addition to checking for D*-form addresses in the traditional Altivec registers, this patch also checks for D*-form addresses for vectors in the traditional floating point

  1   2   3   >