Re: [PATCH] rs6000: Check -+0 and NaN for smax/smin generation

2020-03-09 Thread Jiufu Guo
Segher Boessenkool writes: > Hi! > > On Thu, Mar 05, 2020 at 10:46:58AM +0800, Jiufu Guo wrote: >> PR93709 mentioned regressions on maxlocval_4.f90 and minlocval_f.f90 which >> relates to max of '-inf' and 'nan'. This regression occur on P9 which has >> new instruction 'xsmaxcdp/xsmincdp'. >>

[Bug inline-asm/94113] Apparently incorrect register allocation in inline asm when using CMOV.

2020-03-09 Thread contact at pgazz dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94113 --- Comment #4 from Paul --- That worked. Thank you for the explanation!

[Bug inline-asm/31386] wrong registers used in cmov instruction

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

[Bug inline-asm/94113] Apparently incorrect register allocation in inline asm when using CMOV.

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

[Bug tree-optimization/94114] New: [10 Regression] ICE in gimplify_modify_expr, at gimplify.c:5936

2020-03-09 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94114 Bug ID: 94114 Summary: [10 Regression] ICE in gimplify_modify_expr, at gimplify.c:5936 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug inline-asm/94113] Apparently incorrect register allocation in inline asm when using CMOV.

2020-03-09 Thread contact at pgazz dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94113 --- Comment #2 from Paul --- Created attachment 48003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48003=edit The assembly output.

[Bug inline-asm/94113] Apparently incorrect register allocation in inline asm when using CMOV.

2020-03-09 Thread contact at pgazz dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94113 --- Comment #1 from Paul --- Created attachment 48002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48002=edit The original C file.

[Bug inline-asm/94113] New: Apparently incorrect register allocation in inline asm when using CMOV.

2020-03-09 Thread contact at pgazz dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94113 Bug ID: 94113 Summary: Apparently incorrect register allocation in inline asm when using CMOV. Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/94098] [10 Regression] ICE: canonical types differ for identical types 'int(void*, void*)' and 'int(void*, void*)'

2020-03-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94098 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

Re: [PATCH] [rs6000] Fix a wrong GC issue

2020-03-09 Thread binbin
Hi, On 2020/3/9 下午10:32, Segher Boessenkool wrote: Hi! On Mon, Mar 09, 2020 at 01:58:01PM +0800, binbin wrote: 2020-03-09 Bin Bin Lv * config/rs6000/rs6000-internal.h (altivec_builtin_mask_for_load, builtin_mode_to_type[MAX_MACHINE_MODE][2]): Remove the declaration. Just

Re: [PATCH] Backport to gcc-9: PR92398: Fix testcase failure of pr72804.c

2020-03-09 Thread luoxhu
On 2020/3/10 05:28, Segher Boessenkool wrote: On Thu, Mar 05, 2020 at 02:21:58AM -0600, luo...@linux.ibm.com wrote: From: Xionghu Luo Backport the patch to fix failures on P9 and P8BE, P7LE for PR94036. No changes were needed? Yes, no conflicts of the patch and instruction counts are

Re: [PATCH v2] generate EH info for volatile asm statements (PR93981)

2020-03-09 Thread J.W. Jagersma
On 2020-03-10 01:25, Segher Boessenkool wrote: > On Mon, Mar 09, 2020 at 07:42:20PM +0100, J.W. Jagersma wrote: >> On 2020-03-09 19:01, Segher Boessenkool wrote: >>> On Mon, Mar 09, 2020 at 01:54:53PM +0100, Richard Biener wrote: int foo = 0 try {

Re: [PATCH v2] generate EH info for volatile asm statements (PR93981)

2020-03-09 Thread J.W. Jagersma
On 2020-03-09 23:10, Segher Boessenkool wrote: > Hi! > > On Sun, Mar 08, 2020 at 05:18:21PM +0100, J.W. Jagersma wrote: >> There is also still the question of whether non-volatile asms should be >> allowed to throw or not. I don't know if that should be discussed here >> or on the PR. > > I

[Bug c++/94112] New: Please add a warning for potentially throwing code in noexcept function

2020-03-09 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94112 Bug ID: 94112 Summary: Please add a warning for potentially throwing code in noexcept function Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

Re: c: ignore initializers for elements of variable-size types [PR93577]

2020-03-09 Thread Joseph Myers
On Mon, 9 Mar 2020, Christophe Lyon wrote: > Hi Joseph, > > I've noticed that your patch introduces regressions on aarch64: > FAIL: gcc.target/aarch64/sve/acle/general-c/sizeless-1.c > -march=armv8.2-a+sve (test for errors, line 33) > we now get >

Re: [PATCH v2] generate EH info for volatile asm statements (PR93981)

2020-03-09 Thread Segher Boessenkool
On Mon, Mar 09, 2020 at 07:42:20PM +0100, J.W. Jagersma wrote: > On 2020-03-09 19:01, Segher Boessenkool wrote: > > On Mon, Mar 09, 2020 at 01:54:53PM +0100, Richard Biener wrote: > >> int foo = 0 > >> try > >> { > >> asm volatile ("..." : "=r" (foo)); > >>

Re: [PATCH] avoid -Wredundant-tags on a first declaration in use (PR 93824)

2020-03-09 Thread Jason Merrill
On 3/9/20 5:39 PM, Martin Sebor wrote: On 3/9/20 1:40 PM, Jason Merrill wrote: On 3/9/20 12:31 PM, Martin Sebor wrote: On 2/28/20 1:24 PM, Jason Merrill wrote: On 2/28/20 12:45 PM, Martin Sebor wrote: On 2/28/20 9:58 AM, Jason Merrill wrote: On 2/24/20 6:58 PM, Martin Sebor wrote:

[Bug c++/93870] [8/9/10 Regression] User-defined conversion function not working in evaluation of template argument

2020-03-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93870 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/92031] [9 Regression] Incorrect "taking address of r-value" error

2020-03-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92031 Marek Polacek changed: What|Removed |Added Summary|[9/10 Regression] Incorrect |[9 Regression] Incorrect

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

2020-03-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Marek Polacek changed: What|Removed |Added Summary|[9/10 Regression] |[9 Regression] unexpected

[Bug c++/94068] [9 Regression] Internal compiler error when trying to resolve function overload since r9-2384

2020-03-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94068 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/94068] [9/10 Regression] Internal compiler error when trying to resolve function overload since r9-2384

2020-03-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94068 --- Comment #4 from Marek Polacek --- commit d417b4f5414d9076300ab41974a14424f722688c Author: Marek Polacek Date: Fri Feb 28 16:57:04 2020 -0500 c++: Fix convert_like in template [PR91465, PR93870, PR92031, PR94068] The point of

Re: [PATCH v2] c++: Fix convert_like in template [PR91465, PR93870, PR92031]

2020-03-09 Thread Jason Merrill
On 3/9/20 7:32 PM, Marek Polacek wrote: On Mon, Mar 02, 2020 at 05:50:01PM -0500, Jason Merrill wrote: On 2/29/20 2:32 PM, Marek Polacek wrote: The point of this patch is to fix the recurring problem of trees generated by convert_like while processing a template that break when substituting.

Re: [PATCH v2] c++: Fix convert_like in template [PR91465, PR93870, PR92031]

2020-03-09 Thread Marek Polacek
On Mon, Mar 02, 2020 at 05:50:01PM -0500, Jason Merrill wrote: > On 2/29/20 2:32 PM, Marek Polacek wrote: > > The point of this patch is to fix the recurring problem of trees > > generated by convert_like while processing a template that break when > > substituting. For instance, when

[committed] libstdc++: Handle type-changing path concatenations (PR 94063)

2020-03-09 Thread Jonathan Wakely
The filesystem::path::operator+= and filesystem::path::concat functions operate directly on the native format of the path and so can cause a path to mutate to a completely different type. For Windows combining a filename "x" with a filename ":" produces a root-name "x:". Similarly, a Cygwin

Re: text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments))

2020-03-09 Thread Jonathan Wakely
On Mon, 9 Mar 2020 at 10:28, Jakub Jelinek wrote: > 6) there used to be a Raw text URL to grab the raw email, now there is nothing Based on info from #overseers ... While you can't download the raw text of an individual email now, you can get the entire month's mail in a compressed archive, from

[Bug middle-end/92824] Wrong optimization: representation of long doubles not copied even with memcpy

2020-03-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92824 Alexander Cherepanov changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/94103] Wrong optimization: reading value of a variable changes its representation for optimizer

2020-03-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94103 --- Comment #3 from Alexander Cherepanov --- *** Bug 92824 has been marked as a duplicate of this bug. ***

[PATCH 1/2] c++: Replay errors during diagnosis of constraint satisfaction failures

2020-03-09 Thread Patrick Palka
This patch adds a new flag -fconcepts-diagnostics-depth to the C++ frontend which controls how deeply we replay errors when diagnosing a constraint satisfaction failure. The default is -fconcepts-diagnostics-depth=1 which diagnoses only the topmost constraint satisfaction failure and is

[PATCH 2/2] c++: Respect current_constraint_diagnosis_depth in diagnose_compound_requirement

2020-03-09 Thread Patrick Palka
The first patch tries to avoid changing our current default diagnostics. But for the sake of consistency we arguably should also respect current_constraint_diagnosis_depth in diagnose_compound_requirement() like we do in the other error-replaying diagnostic routine. But doing so would be a

Re: [PATCH v2][gcc] libgccjit: handle long literals in playback::context::new_string_literal

2020-03-09 Thread Andrea Corallo
Hi all, second version of the patch for the 200 characters limit for literal strings addressing comments. make check-jit is passing clean. Best Regards Andrea gcc/jit/ChangeLog 2020-??-?? Andrea Corallo * jit-playback.h (gcc::jit::playback::context m_recording_ctxt):

Re: Compiling GCC using an older sysroot

2020-03-09 Thread Paul Smith
On Mon, 2020-03-09 at 22:01 +, Joseph Myers wrote: > On Mon, 9 Mar 2020, Paul Smith wrote: > > I have a sysroot I've created (downloading RPMs from older systems and > > unpacking them) which is sufficient to build GCC (and binutils etc.) I > > need the GCC binaries I create to be compiled

Will lost comments be restored?

2020-03-09 Thread Stephen Casner
The bug 94085 that I reported at 2020-03-07 06:26 appears to be one of a half dozen that lost their comments due to the server move. I've been standing by as instructed, but I wonder when or if corrections will happen. Will these comments be restored, or should I reconstruct them? Also, I

Re: text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments))

2020-03-09 Thread Jonathan Wakely
On Mon, 9 Mar 2020 at 19:57, Thomas König wrote: > As far as the advantages go: A per-thread view is nice, but I don't > think having it outweighs the disadvantages above. We always had a threaded view: https://gcc.gnu.org/legacy-ml/gcc-bugs/2020-03/threads.html It just wasn't the default:

Re: [PATCH v2] generate EH info for volatile asm statements (PR93981)

2020-03-09 Thread Segher Boessenkool
Hi! On Sun, Mar 08, 2020 at 05:18:21PM +0100, J.W. Jagersma wrote: > The only question I have left now is if my proposed change to the > documentation is acceptable or should be expanded/reworded. I think it is fine. It's easier to judge if you look fresh at it, in my experience, so I might

Re: Compiling GCC using an older sysroot

2020-03-09 Thread Joseph Myers
On Mon, 9 Mar 2020, Paul Smith wrote: > I have a sysroot I've created (downloading RPMs from older systems and > unpacking them) which is sufficient to build GCC (and binutils etc.) I > need the GCC binaries I create to be compiled using this sysroot so > that they can run on older systems. > >

Compiling GCC using an older sysroot

2020-03-09 Thread Paul Smith
I have a somewhat complex makefile that I've been using for many years to build GCC: it builds tools needed (make, bison, flex, m4, binutils), downloads the source prerequisites and links them, etc. I'd like some advice, hopefully an easy answer, that allows me to simplify that system, which

Re: [AArch64] Backporting -moutline-atomics to gcc 9.x and 8.x

2020-03-09 Thread Pop, Sebastian via Gcc-patches
Hi, Please see attached the patches to add -moutline-atomics to the gcc-9 branch. Tested on graviton2 aarch64-linux with bootstrap and `make check` passes with no new fails. Tested `make check` on glibc built with gcc-9 with and without "-moutline-atomics" and CFLAGS=" -O2 -g

Re: [PATCH] avoid -Wredundant-tags on a first declaration in use (PR 93824)

2020-03-09 Thread Martin Sebor
On 3/9/20 1:40 PM, Jason Merrill wrote: On 3/9/20 12:31 PM, Martin Sebor wrote: On 2/28/20 1:24 PM, Jason Merrill wrote: On 2/28/20 12:45 PM, Martin Sebor wrote: On 2/28/20 9:58 AM, Jason Merrill wrote: On 2/24/20 6:58 PM, Martin Sebor wrote: -Wredundant-tags doesn't consider type

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #42 from Segher Boessenkool --- Okay, I see your dumps are 64-bit as well. But mine are very different, huh. Still, it crashes in pretty much the same way.

Re: [PATCH] Backport to gcc-9: PR92398: Fix testcase failure of pr72804.c

2020-03-09 Thread Segher Boessenkool
On Thu, Mar 05, 2020 at 02:21:58AM -0600, luo...@linux.ibm.com wrote: > From: Xionghu Luo > > Backport the patch to fix failures on P9 and P8BE, P7LE for PR94036. No changes were needed? > Tested pass on P9/P8/P7, ok to commit? Yes, okay for 9. Thanks! Segher > 2020-03-05 Luo

Re: text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments))

2020-03-09 Thread Joseph Myers
On Mon, 9 Mar 2020, Jakub Jelinek via Overseers wrote: > 5) emails used to be sanitized against harvesters, now they aren't The pipermail munging feature was unusably bad (it messed up Texinfo diffs very badly, including in the mbox version of the archive, e.g. "+@node" at the start of a line

[Bug middle-end/94111] New: Wrong optimization: decimal floating-point infinity casted to double -> zero

2020-03-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94111 Bug ID: 94111 Summary: Wrong optimization: decimal floating-point infinity casted to double -> zero Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug c++/94067] [10 Regression] ICE on rotate with -Wconversion since r10-6527

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

Re: [PATCH] c++: Readd [LR]ROTATE_EXPR support to constexpr.c [PR94067]

2020-03-09 Thread Jason Merrill
On 3/6/20 7:57 AM, Jakub Jelinek wrote: Hi! Since r10-6527-gaaa26bf496a646778ac861aed124d960b5bf549f fold_for_warn will perform maybe_constant_value even on some cp_fold produced trees and so can include rotate exprs which were removed last fall from constexpr.c OK. It's unfortunate that

[Bug c++/94074] bogus modifying a const object error with const COMPONENT_REF

2020-03-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94074 --- Comment #2 from Marek Polacek --- And this should be diagnosed but isn't: struct X { int i; }; template struct S { const X x; constexpr S(int) : x{} { const_cast(x).i = 19; // { dg-error "modifying a const object" } } };

Re: [PATCH] c++: Fix wrong modifying const object error for COMPONENT_REF [PR94074]

2020-03-09 Thread Marek Polacek
On Mon, Mar 09, 2020 at 04:25:00PM -0400, Marek Polacek wrote: > On Mon, Mar 09, 2020 at 03:37:56PM -0400, Jason Merrill wrote: > > On 3/9/20 9:40 AM, Marek Polacek wrote: > > > On Mon, Mar 09, 2020 at 09:19:30AM -0400, Jason Merrill wrote: > > > > On 3/9/20 8:58 AM, Jakub Jelinek wrote: > > > > >

Re: [PATCH] drop weakref attribute on function definitions (PR 92799)

2020-03-09 Thread Martin Sebor
On 3/5/20 5:26 PM, Jeff Law wrote: On Fri, 2020-02-14 at 15:41 -0700, Martin Sebor wrote: Because attribute weakref introduces a kind of a definition, it can only be applied to declarations of symbols that are not defined. GCC normally issues a warning when the attribute is applied to a

[Bug fortran/94110] New: Erroneous code compiling

2020-03-09 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94110 Bug ID: 94110 Summary: Erroneous code compiling Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

Re: [PATCH] c++: Fix wrong modifying const object error for COMPONENT_REF [PR94074]

2020-03-09 Thread Marek Polacek
On Mon, Mar 09, 2020 at 03:37:56PM -0400, Jason Merrill wrote: > On 3/9/20 9:40 AM, Marek Polacek wrote: > > On Mon, Mar 09, 2020 at 09:19:30AM -0400, Jason Merrill wrote: > > > On 3/9/20 8:58 AM, Jakub Jelinek wrote: > > > > On Fri, Mar 06, 2020 at 07:43:43PM -0500, Jason Merrill wrote: > > > > >

Re: [PATCH] rs6000: Check -+0 and NaN for smax/smin generation

2020-03-09 Thread Segher Boessenkool
Hi! On Thu, Mar 05, 2020 at 10:46:58AM +0800, Jiufu Guo wrote: > PR93709 mentioned regressions on maxlocval_4.f90 and minlocval_f.f90 which > relates to max of '-inf' and 'nan'. This regression occur on P9 which has > new instruction 'xsmaxcdp/xsmincdp'. > The similar issue also could be find on

Re: [PATCH][RFC] API extension for binutils (type of symbols).

2020-03-09 Thread Jan Hubicka
> On Mon, Mar 9, 2020 at 9:56 AM Martin Liška wrote: > > > > On 3/9/20 4:36 PM, H.J. Lu wrote: > > > We nee to support different variables, like TLS, data and bss variables. > > > > Why do we need TLS? Right now, it's not supported by nm. Or am I wrong? > > Since you are introducing symbol

Re: text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline (was:Re: Mailing list stripping off attachments))

2020-03-09 Thread Thomas König
Hi, Some comments. Generally, I found the old format to be very good for navigating, and I would like to have the new one match the old one as closely as possible. 1) the by date monthly list of mails used to be ordered newest to oldest mails first, now it is oldest to newest, so when dealing

Re: gcc mailing list is not being archived

2020-03-09 Thread Christopher Faylor
On Mon, Mar 09, 2020 at 10:10:31AM -0400, Frank Ch. Eigler via Overseers wrote: >Hi - > >> one more point: The gcc mailing list including this discussion is >> currently not being archived, the last message is from 2020-03-06. > >Found & fixed a permission problem with the mailmnan archives.

Re: [PATCH][RFC] API extension for binutils (type of symbols).

2020-03-09 Thread Michael Matz
Hello, On Mon, 9 Mar 2020, Martin Liška wrote: > On 3/9/20 4:36 PM, H.J. Lu wrote: > > We nee to support different variables, like TLS, data and bss variables. > > Why do we need TLS? Right now, it's not supported by nm. Of course it does. It's the 'T' (or 't') character. When you introduce

Re: [PATCH] avoid -Wredundant-tags on a first declaration in use (PR 93824)

2020-03-09 Thread Jason Merrill
On 3/9/20 12:31 PM, Martin Sebor wrote: On 2/28/20 1:24 PM, Jason Merrill wrote: On 2/28/20 12:45 PM, Martin Sebor wrote: On 2/28/20 9:58 AM, Jason Merrill wrote: On 2/24/20 6:58 PM, Martin Sebor wrote: -Wredundant-tags doesn't consider type declarations that are also the first uses of the

Re: [PATCH] c++: Fix wrong modifying const object error for COMPONENT_REF [PR94074]

2020-03-09 Thread Jason Merrill
On 3/9/20 9:40 AM, Marek Polacek wrote: On Mon, Mar 09, 2020 at 09:19:30AM -0400, Jason Merrill wrote: On 3/9/20 8:58 AM, Jakub Jelinek wrote: On Fri, Mar 06, 2020 at 07:43:43PM -0500, Jason Merrill wrote: On 3/6/20 6:54 PM, Marek Polacek wrote: I got a report that building Chromium fails

[Bug fortran/94109] New: Memory leak introduced in 8.3.0->8.3.1

2020-03-09 Thread antony at cosmologist dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109 Bug ID: 94109 Summary: Memory leak introduced in 8.3.0->8.3.1 Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug other/94108] New: transaction memory attributes not documented

2020-03-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94108 Bug ID: 94108 Summary: transaction memory attributes not documented Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

X86 GCC automated testers are back online

2020-03-09 Thread H.J. Lu
X86 GCC automated testers are back online. They bootstrap and run testsuite for master branch and the current 2 release branches on Linux/x86-64 and Linux/i686: https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/555912.html

[Bug c/94106] [8/9/10 Regression] error on a function redeclaration with attribute transaction_safe

2020-03-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94106 Martin Sebor changed: What|Removed |Added Summary|error on a function |[8/9/10 Regression] error

[Bug c++/94107] New: Infinite loop with malformed requires-expression inside a static_assert

2020-03-09 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94107 Bug ID: 94107 Summary: Infinite loop with malformed requires-expression inside a static_assert Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c/94106] New: error on a function redeclaration with attribute transaction_safe

2020-03-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94106 Bug ID: 94106 Summary: error on a function redeclaration with attribute transaction_safe Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/94105] New: ICE in get_region, at analyzer/region-model.h:1744

2020-03-09 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94105 Bug ID: 94105 Summary: ICE in get_region, at analyzer/region-model.h:1744 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug fortran/94104] New: Request for diagnostic improvement

2020-03-09 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94104 Bug ID: 94104 Summary: Request for diagnostic improvement Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

Re: [PATCH v2] generate EH info for volatile asm statements (PR93981)

2020-03-09 Thread J.W. Jagersma
On 2020-03-09 19:01, Segher Boessenkool wrote: > Hi! > > On Mon, Mar 09, 2020 at 01:54:53PM +0100, Richard Biener wrote: >> I think memory operands are fine - my original concern was about >> register outputs and SSA form that should reflect the correct def >> on the EH vs non-EH edge. From a

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #41 from Martin Liška --- Ok, the way how we build our compiler is to use: ./configure --with-cpu=default32 that should also lead to the ICE. I'm checking that.

Re: [PATCH][RFC] API extension for binutils (type of symbols).

2020-03-09 Thread H.J. Lu
On Mon, Mar 9, 2020 at 9:56 AM Martin Liška wrote: > > On 3/9/20 4:36 PM, H.J. Lu wrote: > > We nee to support different variables, like TLS, data and bss variables. > > Why do we need TLS? Right now, it's not supported by nm. Or am I wrong? Since you are introducing symbol types, why not

[PATCH] libstdc++: LWG 3286 ranges::size is not required to be valid after ...

2020-03-09 Thread Patrick Palka
... a call to ranges::begin on an input range. This implements LWG 3286. The new wording for the single-argument subrange::subrange constructor is implemented by splitting the constructor into two delegating constructors, one constrained by _S_store_size and the other by !_S_store_size. Tested

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #40 from Martin Liška --- (In reply to Segher Boessenkool from comment #36) > > > I did that (with /usr/bin/gcc etc. though, won't work at all otherwise), > > > but that builds stage2 as 64-bit? > > > > Hm, that's possible. But the

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-09 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #39 from Vladimir Makarov --- I've reverted the patch in trouble: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=commitdiff;h=5dc1390b41db5c1765e25fd21dad1a930a015aac

Re: [PATCH v2] generate EH info for volatile asm statements (PR93981)

2020-03-09 Thread Segher Boessenkool
Hi! On Mon, Mar 09, 2020 at 01:54:53PM +0100, Richard Biener wrote: > I think memory operands are fine - my original concern was about > register outputs and SSA form that should reflect the correct def > on the EH vs non-EH edge. From a "miscompile" perspective > doing nothig which means

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #38 from Segher Boessenkool --- Then, how did you do that?

Re: [PING^2][PATCH] Fix documentation of -mpoke-function-name ARM option

2020-03-09 Thread Wilco Dijkstra
Hi, There is no single PC offset that is correct given CPUs may use different offsets. GCC may also schedule the instruction that stores the PC. This feature used to work on early Arms but is no longer functional or useful today, so the best way forward is to remove it altogether. There are many

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #37 from Segher Boessenkool --- Oh wait. I am dumb I guess? You did those dumps with a stage1 compiler?

[Bug target/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #36 from Segher Boessenkool --- > > I did that (with /usr/bin/gcc etc. though, won't work at all otherwise), > > but that builds stage2 as 64-bit? > > Hm, that's possible. But the stage2 should not crash right? It doesn't work, of

[Bug c++/93922] [10 Regression] Fails to emit inline class template destructor instantiation, but which is called

2020-03-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93922 --- Comment #6 from Jakub Jelinek --- The problem as I understand it is that #1 0x00abeb95 in mark_used (decl=, complain=3) at ../../gcc/cp/decl2.c:5686 #2 0x00987243 in build_over_call (cand=0x375c910, flags=35, complain=3) at

[Bug middle-end/94103] Wrong optimization: reading value of a variable changes its representation for optimizer

2020-03-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94103 --- Comment #2 from Andrew Pinski --- long double has padding bits on x86_64 so that is not shocking there. _Decimal3 is a different issue all together.

Re: ping Re: PR90763: PowerPC vec_xl_len should take const argument.

2020-03-09 Thread Segher Boessenkool
On Mon, Mar 09, 2020 at 09:48:01AM -0500, will schmidt wrote: > On Tue, 2020-02-25 at 12:15 -0600, will schmidt wrote: > > PR90763: PowerPC vec_xl_len should take const argument. > > ping! :-) https://gcc.gnu.org/pipermail/gcc-patches/2020-February/540969.html Segher

[Bug middle-end/94103] Wrong optimization: reading value of a variable changes its representation for optimizer

2020-03-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94103 --- Comment #1 from Alexander Cherepanov --- Example with decimal floating-point: -- #include #include int main() { _Decimal32 x = 999; // maximum significand

[Bug middle-end/94103] New: Wrong optimization: reading value of a variable changes its representation for optimizer

2020-03-09 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94103 Bug ID: 94103 Summary: Wrong optimization: reading value of a variable changes its representation for optimizer Product: gcc Version: 10.0 Status: UNCONFIRMED

Re: [PATCH][AArch64] Use intrinsics for widening multiplies (PR91598)

2020-03-09 Thread Andrew Pinski
On Mon, Mar 9, 2020 at 10:26 AM Wilco Dijkstra wrote: > > Hi Christophe, > > > I noticed a regression introduced by Delia's patch "aarch64: ACLE > > intrinsics for BFCVTN, BFCVTN2 and BFCVT": > > (on aarch64-linux-gnu) > > FAIL: g++.dg/cpp0x/variadic-sizeof4.C -std=c++14 (internal compiler

Re: [PATCH][AArch64] Use intrinsics for widening multiplies (PR91598)

2020-03-09 Thread Wilco Dijkstra
Hi Christophe, > I noticed a regression introduced by Delia's patch "aarch64: ACLE > intrinsics for BFCVTN, BFCVTN2 and BFCVT": > (on aarch64-linux-gnu) > FAIL: g++.dg/cpp0x/variadic-sizeof4.C  -std=c++14 (internal compiler error) > > I couldn't reproduce it with current ToT, until I realized

Re: text/x-* attachments stripped

2020-03-09 Thread Nathan Sidwell
On 3/9/20 1:07 PM, Jonathan Wakely wrote: On Mon, 9 Mar 2020 at 16:58, Nathan Sidwell wrote: On 3/9/20 9:57 AM, Thomas König wrote: Hi, I concur with what Jakub wrote. The new web interface is much less useful than the old one; a severe regression for developers, so to speak. OMG I've

[Bug c++/93922] [10 Regression] Fails to emit inline class template destructor instantiation, but which is called

2020-03-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93922 --- Comment #5 from Jakub Jelinek --- Testcase modified to be usable in the testsuite: // PR c++/93922 // { dg-do link { target c++11 } } template struct A { A () {} template A (A const &) {} ~A () {} }; int t; struct B {}; struct C :

Re: text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline

2020-03-09 Thread Jonathan Wakely
On Mon, 9 Mar 2020 at 16:58, Nathan Sidwell wrote: > > On 3/9/20 9:57 AM, Thomas König wrote: > > Hi, > > > > I concur with what Jakub wrote. The new web interface is much less useful > > than the old one; a severe regression for developers, so to speak. > > OMG I've just looked. It's awful.

Re: text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline

2020-03-09 Thread Andreas Schwab
On Mär 09 2020, Nathan Sidwell wrote: > For example https://gcc.gnu.org/pipermail/gcc-patches/2020-March/date.html > just gives a list of emails, no dates shown. There's no indication what > the ordering is -- and apparently it is not most recent first. Heading says: Starting: Sun Mar 1

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

2020-03-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91638 Bill Schmidt changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/94095] Modifier 'a' do not work as described

2020-03-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94095 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

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

2020-03-09 Thread cel at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91638 Carl Love changed: What|Removed |Added CC||cel at us dot ibm.com --- Comment #7 from

Re: [PATCH][RFC] API extension for binutils (type of symbols).

2020-03-09 Thread Martin Liška
On 3/9/20 4:36 PM, H.J. Lu wrote: We nee to support different variables, like TLS, data and bss variables. Why do we need TLS? Right now, it's not supported by nm. Or am I wrong? About BSS and DATA I agree that it would be handy. I can theoretically covered with code in

Re: text/x-* attachments stripped (was: Re: gcc ML archive: text/x-patch attachments no longer shown inline

2020-03-09 Thread Nathan Sidwell
On 3/9/20 9:57 AM, Thomas König wrote: Hi, I concur with what Jakub wrote. The new web interface is much less useful than the old one; a severe regression for developers, so to speak. OMG I've just looked. It's awful. Sorry, but No. For example

[PATCH] Fix 'A' operand modifier: PR inline-asm/94095

2020-03-09 Thread apinski
From: Andrew Pinski The problem here is there was a typo in the documentation for the 'A' modifier in the table, it was recorded as 'a' in the table on the modifier column. Committed as obvious. 2020-03-09 Andrew Pinski PR inline-asm/94095 * doc/extend.texi (x86 Operand

Re: How do I run SIMD Testcases on PPC64?

2020-03-09 Thread GT via Gcc
‐‐‐ Original Message ‐‐‐ On Thursday, March 5, 2020 6:59 PM, Segher Boessenkool wrote: > On Thu, Mar 05, 2020 at 05:04:16PM +, GT wrote: > > > At the top of that file is dejagnu directive: > > /* { dg-require-effective-target vect_int } */ > > > > 1. How do I check to see if

[Bug tree-optimization/92879] [10 Regression] incorrect warning of __builtin_memset offset is out of the bounds on zero-size allocation and initialization

2020-03-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92879 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

New Swedish PO file for 'gcc' (version 10.1-b20200209)

2020-03-09 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file,

Re: [PATCH] avoid -Wredundant-tags on a first declaration in use (PR 93824)

2020-03-09 Thread Martin Sebor
On 2/28/20 1:24 PM, Jason Merrill wrote: On 2/28/20 12:45 PM, Martin Sebor wrote: On 2/28/20 9:58 AM, Jason Merrill wrote: On 2/24/20 6:58 PM, Martin Sebor wrote: -Wredundant-tags doesn't consider type declarations that are also the first uses of the type, such as in 'void f (struct S);' and

Re: [PATCH] [rs6000] Rewrite the declaration of a variable

2020-03-09 Thread Segher Boessenkool
Hi Bin Bin, On Mon, Mar 09, 2020 at 09:55:22PM +0800, binbin wrote: > OK, removed the empty line and showed the changelog. And I found that the > declaration in rs6000-internal.h should also be removed, right? The > attachment is the latest patch. Thanks. > gcc/ChangeLog > > 2020-03-09 Bin

[Bug target/94095] Modifier 'a' do not work as described

2020-03-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94095 --- Comment #1 from Andrew Pinski --- The problem is just 'a' in the first (Modifier) column is wrong, it should have been 'A'. I will commit the patch in a few minutes. Operand column is correct to use 'A'.

[Bug c++/94101] Variadic template deduction guide issue - error: 'In instantiation of'

2020-03-09 Thread rosemberg at ymail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94101 rosemberg at ymail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

  1   2   3   >