[Bug target/93418] [9 Regression] GCC incorrectly constant propagates _mm_sllv/srlv/srav

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

[Bug target/93418] [9/10 Regression] GCC incorrectly constant propagates _mm_sllv/srlv/srav

2020-01-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93418 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:bff948aa337807260344c83ac9079d6386410094 commit r10-6273-gbff948aa337807260344c83ac9079d6386410094 Author: Jakub Jelinek Date:

[Bug tree-optimization/93454] [10 Regression] buffer overflow in fold_array_ctor_reference since r10-1882

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

[Bug tree-optimization/93454] [10 Regression] buffer overflow in fold_array_ctor_reference since r10-1882

2020-01-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93454 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3c076c9642fd8877def0a0597ec7e4adfb5aa3b3 commit r10-6272-g3c076c9642fd8877def0a0597ec7e4adfb5aa3b3 Author: Jakub Jelinek Date:

[Bug middle-end/93399] [8/9/10 Regression] Annotate assembler option failure

2020-01-27 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93399 --- Comment #5 from Alexandre Oliva --- I suppose it would make sense for str_pattern_slim to quote line breaks and other active characters when printing out string literals. And perhaps to eliminate one more use of str_pattern_slim while at

Re: [PATCH] calls.c: refactor special_function_p for use by analyzer

2020-01-27 Thread Jakub Jelinek
On Mon, Jan 27, 2020 at 09:09:37PM -0500, David Malcolm wrote: > > Please see calls.c (special_function_p), you should treat certainly > > also sigsetjmp as a setjmp call, and similarly to special_function_p, > > skip over _ or __ prefixes before the setjmp or sigsetjmp name. > > Similarly for

Re: [PATCH] doc: clarify the situation with pointer arithmetic

2020-01-27 Thread Alexander Monakov
On Tue, 28 Jan 2020, Uecker, Martin wrote: > > (*) this also shows the level of "obfuscation" needed to fool compilers > > to lose provenance knowledge is hard to predict. > > Well, this is exactly the problem we want to address by defining > a clear way to do this. Casting to an integer would

[Bug rtl-optimization/93272] LRA: EH reg allocated to hold local variable

2020-01-27 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93272 --- Comment #5 from Andreas Krebbel --- (In reply to Vladimir Makarov from comment #4) > (In reply to Andreas Krebbel from comment #3) > > Created attachment 47714 [details] > > IRA EH fix - only when added at start of BB > > > > A probably

Re: [PATCH] i386: Don't use ix86_tune_ctrl_string in parse_mtune_ctrl_str

2020-01-27 Thread Uros Bizjak
On Mon, Jan 27, 2020 at 3:13 PM H.J. Lu wrote: > > There are > > static void > parse_mtune_ctrl_str (bool dump) > { > if (!ix86_tune_ctrl_string) > return; > > parse_mtune_ctrl_str is only called from set_ix86_tune_features, which > is only called from ix86_function_specific_restore and >

Re: [PATCH] i386: Disable TARGET_SSE_TYPELESS_STORES for TARGET_AVX

2020-01-27 Thread Uros Bizjak
On Mon, Jan 27, 2020 at 11:17 PM H.J. Lu wrote: > > On Mon, Jan 27, 2020 at 12:26 PM Uros Bizjak wrote: > > > > On Mon, Jan 27, 2020 at 7:23 PM H.J. Lu wrote: > > > > > > movaps/movups is one byte shorter than movdaq/movdqu. But it isn't the > > > case for AVX nor AVX512. We should disable

[Bug c++/92169] crash on referring to a local class member by unqualified name from outside the enclosing function

2020-01-27 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92169 Dmitry G. Dyachenko changed: What|Removed |Added CC||dimhen at gmail dot com ---

[Bug target/92137] [ia32] Missing documentation for ia32 builtins

2020-01-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92137 --- Comment #7 from Eric Gallager --- (In reply to Ariel Torti from comment #6) > (In reply to Eric Gallager from comment #5) > > (In reply to Jakub Jelinek from comment #3) > > > Those are intrinsics and most of them are documented in the Intel

[PATCH, libphobos] Fix compilation dependencies on s390x-linux-musl

2020-01-27 Thread Mathias Lang
Hi, This patch fixes GDC on s390x-linux-musl targets. It was specifically tested under Alpine Linux (see https://gitlab.alpinelinux.org/alpine/aports/commit/c123e0f14ab73976a36c651d47d134f249413f29 ). The patch fixes two issues: First, Musl always provide `__tls_get_addr`, so we can always use it

[Bug c/93476] int bit fields waste space

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

[Bug c/93476] New: int bit fields waste space

2020-01-27 Thread doug at cs dot dartmouth.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93476 Bug ID: 93476 Summary: int bit fields waste space Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c++/93475] New: With 100k+ mangled names, appears to incorrectly mangle about 15% causing demangle failure

2020-01-27 Thread simonhf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93475 Bug ID: 93475 Summary: With 100k+ mangled names, appears to incorrectly mangle about 15% causing demangle failure Product: gcc Version: 9.2.1 Status: UNCONFIRMED

[PATCH] calls.c: refactor special_function_p for use by analyzer

2020-01-27 Thread David Malcolm
On Wed, 2020-01-22 at 20:40 +0100, Jakub Jelinek wrote: > 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

[Bug middle-end/82407] [meta-bug] qsort_chk fallout tracking

2020-01-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82407 Bug 82407 depends on bug 93451, which changed state. Bug 93451 Summary: ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93451 What|Removed

[Bug analyzer/93451] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0)

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

[Bug preprocessor/93452] [10 Regression] __has_include changes broke compilation of -fdirectives-only preprocessed sources

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93452 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic, rejects-valid

[committed] analyzer: fix ICE when canonicalizing NaN (PR 93451)

2020-01-27 Thread David Malcolm
PR analyzer/93451 reports an ICE when canonicalizing the constants in a region_model, with a failed qsort_chk when attempting to sort the constants within the region_model. The svalues in the model were: sv0: {poisoned: uninit} sv1: {type: ‘double’, ‘0.0’} sv2: {type: ‘double’, ‘1.0e+0’}

[Bug analyzer/93451] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0)

2020-01-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93451 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:8c08c983015e675f555d57a30e15d918abef2b93 commit r10-6271-g8c08c983015e675f555d57a30e15d918abef2b93 Author: David Malcolm Date:

Re: [PATCH] doc: clarify the situation with pointer arithmetic

2020-01-27 Thread Uecker, Martin
Hi Richard, thank you for your response. Am Montag, den 27.01.2020, 15:42 +0100 schrieb Richard Biener: > On Fri, Jan 24, 2020 at 12:46 AM Uecker, Martin > wrote: > > > > Am Donnerstag, den 23.01.2020, 14:18 +0100 schrieb Richard Biener: > > > On Wed, Jan 22, 2020 at 12:40 PM Martin Sebor

Re: [PATCH] i386: Disable TARGET_SSE_TYPELESS_STORES for TARGET_AVX

2020-01-27 Thread H.J. Lu
On Mon, Jan 27, 2020 at 2:17 PM H.J. Lu wrote: > > On Mon, Jan 27, 2020 at 12:26 PM Uros Bizjak wrote: > > > > On Mon, Jan 27, 2020 at 7:23 PM H.J. Lu wrote: > > > > > > movaps/movups is one byte shorter than movdaq/movdqu. But it isn't the > > > case for AVX nor AVX512. We should disable

[PATCH 4/4] SRA: Do not ignore padding when totally scalarizing [PR92486]

2020-01-27 Thread Martin Jambor
borm/heads/sra-later_total-bfr-20200127 or look at https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=shortlog;h=refs/users/jamborm/heads/sra-later_total-bfr-20200127 if you are interested), but this approach meant that each such extended replacement which was written to (so all of them) could potentia

[PATCH 2/4] SRA: Total scalarization after access propagation [PR92706]

2020-01-27 Thread Martin Jambor
Hi, this patch fixes the second testcase in PR 92706 by performing total scalarization only quite a bit later, when we already have access trees constructed and even done propagation of accesses from RHSs of assignment to LHSs. The new code simultaneously traverses the existing access tree and

[PATCH 3/4] SRA: Also propagate accesses from LHS to RHS [PR92706]

2020-01-27 Thread Martin Jambor
Hi, the previous patch unfortunately does not fix the first testcase in PR 92706 and since I am afraid it might be the important one, I also focused on that. The issue here is again total scalarization accesses clashing with those representing accesses in the IL - on another aggregate but here

[PATCH 1/4] SRA: Add verification of accesses

2020-01-27 Thread Martin Jambor
Hi, this patch has not changed since the last submission at all, in fact it got approved but without the follow-up fix of the reverse flag, it would introduce regression, so it should not be committed on its own. Because the follow-up patches perform some non-trivial operations on SRA patches, I

[Bug rtl-optimization/90688] [8/9/10 Regression] ICE in calc_dfs_tree, at dominance.c:458 since r235297

2020-01-27 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90688 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug rtl-optimization/92610] [10 Regression] ICE in calc_dfs_tree, at dominance.c:458 since r270940

2020-01-27 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92610 --- Comment #5 from Jeffrey A. Law --- *** Bug 90688 has been marked as a duplicate of this bug. ***

[Bug c/93474] no warning for nonstandard bit field

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

[Bug c++/91075] Wrong code generated for static variable with local redeclaration

2020-01-27 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91075 --- Comment #1 from joseph at codesourcery dot com --- This would definitely be invalid C (the prior declaration visible in the inner scope has no linkage, so the inner declaration has external linkage and "If, within a translation unit, the

[Bug c/93474] New: no warning for nonstandard bit field

2020-01-27 Thread doug at cs dot dartmouth.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93474 Bug ID: 93474 Summary: no warning for nonstandard bit field Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

Re: [PATCH] i386: Fix ix86_fold_builtin shift folding [PR93418]

2020-01-27 Thread Jeff Law
On Tue, 2020-01-28 at 00:41 +0100, Jakub Jelinek wrote: > Hi! > > The following testcase is miscompiled, because the variable shift left > operand, { -1, -1, -1, -1 } is represented as a VECTOR_CST with > VECTOR_CST_NPATTERNS 1 and VECTOR_CST_NELTS_PER_PATTERN 1, so when > we call

Re: [PATCH] gimple-fold: Fix buffer overflow in fold_array_ctor_reference [PR93454]

2020-01-27 Thread Jeff Law
On Tue, 2020-01-28 at 00:33 +0100, Jakub Jelinek wrote: > Hi! > > libgcrypt FAILs to build on aarch64-linux with > *** stack smashing detected ***: terminated > when gcc is compiled with -D_FORTIFY_SOURCE=2. The problem is if > fold_array_ctor_reference is called with size equal to or very close

Re: [PATCH] libiberty/hashtab: More const parameters

2020-01-27 Thread Jeff Law
On Mon, 2020-01-27 at 22:32 +, Andrew Burgess wrote: > I know that the tree's currently closed to non-bugfix changes, but I > was hoping this might be accpeted anyway so it can be backported to > binutils-gdb. > > --- > > Makes some parameters const in libiberty's hashtab library. > >

[Bug rtl-optimization/93455] aarch64: Q constraint address is recomputed

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93455 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug debug/93380] Variable Length Array Evaluation will be wrong or cause GDB to crash due to GCC

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93380 --- Comment #3 from Andrew Pinski --- (In reply to Robert Dumitru from comment #2) > Hi Andrew, > > Thank you for your pointing out that. I will report the issue to ARM as well. > However, regarding 1 and 2: > > 1. I understand this looks

[Bug target/86793] mips port needs updating for CVE-2017-5753

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

[patch, fortran] PR93473 - ICE on valid with long module + submodule names

2020-01-27 Thread Andrew Benson
read model: posix Supported LTO compression algorithms: zlib gcc version 10.0.1 20200127 (experimental) (GCC) $ gfortran -c 1057.F90 -o test.o -ffree-line-length-none f951: internal compiler error: Segmentation fault 0xe1021f crash_signal ../../gcc-git/gcc/toplev.c:328 0x7f

[PATCH] i386: Fix ix86_fold_builtin shift folding [PR93418]

2020-01-27 Thread Jakub Jelinek
Hi! The following testcase is miscompiled, because the variable shift left operand, { -1, -1, -1, -1 } is represented as a VECTOR_CST with VECTOR_CST_NPATTERNS 1 and VECTOR_CST_NELTS_PER_PATTERN 1, so when we call builder.new_unary_operation, builder.encoded_nelts () will be just 1 and thus we

[Bug rtl-optimization/61926] const-anchor optimisation is sensitive to ordering

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61926 --- Comment #4 from Andrew Pinski --- (In reply to Martin Liška from comment #3) > Can the bug be marked as resolved? No, the testcases are just xfailed.

[Bug libfortran/91543] [10 Regression] nf failure ( Handling stack overflow more sensibly

2020-01-27 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91543 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #6

[Bug target/91474] Internal compiler error when building mabi=32 mips64-elf cross-compiler: segfault in parallel_settings.cc

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

[Bug target/80306] ICE in cfgexpand.c during cross-compilation for mips target

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80306 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 --- Comment #3 from Andrew Pinski

[Bug target/80306] ICE in cfgexpand.c during cross-compilation for mips target

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

[Bug libgcc/63882] internal compiler error: in int_mode_for_mode, at stor-layout.c:395

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

[PATCH] gimple-fold: Fix buffer overflow in fold_array_ctor_reference [PR93454]

2020-01-27 Thread Jakub Jelinek
Hi! libgcrypt FAILs to build on aarch64-linux with *** stack smashing detected ***: terminated when gcc is compiled with -D_FORTIFY_SOURCE=2. The problem is if fold_array_ctor_reference is called with size equal to or very close to MAX_BITSIZE_MODE_ANY_MODE bits and non-zero inner_offset. The

[Bug ipa/92550] [10 Regression] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-01-27 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug lto/92588] [10 Regression] ICE nodes with unreleased memory found

2020-01-27 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92588 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug target/86793] mips port needs updating for CVE-2017-5753

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86793 --- Comment #1 from Andrew Pinski --- So I can fix this for the Marvell/Cavium produced cores; Spectre workaround is not needed though. Someone inside WaveComputing/MIPS would have to implement this for those ones.

[Bug libgcc/86290] Go cross build fails, "with libgcc_s.so.1 [...] not found"

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

[Bug bootstrap/80656] mips64-linux cross build fails: Link tests are not allowed after GCC_NO_EXECUTABLES

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

[Bug target/28126] gcc moves an expensive (tls) instruction outside of a conditional

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28126 --- Comment #13 from Andrew Pinski --- > For now it is always emulated by kernel Not on MIPS64r3/MIPS32r3 and above cores. Octeon2/3 implements this register. There might be other cores which implement this register too.

[Bug fortran/93473] ICE on valid with long module + submodule names

2020-01-27 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93473 --- Comment #2 from Andrew Benson --- Problem occurs in set_syms_host_assoc() where the "parent1" and "parent2" variables have a maximum length of GFC_MAX_SYMBOL_LEN+1. This is insufficient when the parent names are a module+submodule name

[Bug fortran/93473] ICE on valid with long module + submodule names

2020-01-27 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93473 --- Comment #1 from Andrew Benson --- Created attachment 47722 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47722=edit Proposed patch

[Bug fortran/93473] New: ICE on valid with long module + submodule names

2020-01-27 Thread abensonca at gmail dot com
Galacticus/Tools_Devel --enable-languages=c,c++,fortran --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.0.1 20200127 (experimental) (GCC) $ gfortran -c 1057.F90 -o test.o -ffree-line-length-none f951: internal compiler error: Segmentation faul

Re: [cris-decc0 8/9] cris: Move trivially from cc0 to reg:CC model, removing most optimizations.

2020-01-27 Thread Segher Boessenkool
Hi! On Wed, Jan 22, 2020 at 07:11:27AM +0100, Hans-Peter Nilsson wrote: > I intend to put back as many as I find use for, of those > anonymous patterns in a controlled manner, with self-contained > test-cases proving their usability, rather than symmetry with > other instructions and similar

[Bug c++/90731] [9/10 Regression] noexcept broken for forward declarations with decltype

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

[PATCH] libiberty/hashtab: More const parameters

2020-01-27 Thread Andrew Burgess
I know that the tree's currently closed to non-bugfix changes, but I was hoping this might be accpeted anyway so it can be backported to binutils-gdb. --- Makes some parameters const in libiberty's hashtab library. include/ChangeLog: * hashtab.h (htab_remove_elt): Make a parameter

[Bug c++/93437] On protobuf generated code, -Warray-bounds is brittle and not very helpful

2020-01-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93437 --- Comment #2 from Andrew Pinski --- (In reply to Rafael Avila de Espindola from comment #1) > The warning is no longer issued after > 6889a3acfeed47265886676c6d43b04ef799fb82. g:6889a3acfeed47265886676c6d43b04ef799fb82 > > Martin, is this a

Re: [PATCH] i386: Disable TARGET_SSE_TYPELESS_STORES for TARGET_AVX

2020-01-27 Thread H.J. Lu
On Mon, Jan 27, 2020 at 12:26 PM Uros Bizjak wrote: > > On Mon, Jan 27, 2020 at 7:23 PM H.J. Lu wrote: > > > > movaps/movups is one byte shorter than movdaq/movdqu. But it isn't the > > case for AVX nor AVX512. We should disable TARGET_SSE_TYPELESS_STORES > > for TARGET_AVX. > > > > gcc/ > > >

Re: GCC Multi-Threading Ideas

2020-01-27 Thread Eric Gallager
On 1/24/20, Richard Earnshaw (lists) wrote: > On 24/01/2020 10:27, Jonathan Wakely wrote: >> On Fri, 24 Jan 2020 at 03:39, Nicholas Krause >> wrote: >>> Sorry for the second message Allan but make -j does not scale well >>> beyond 4 or >>> 8 threads and that's considering a 4 core or 8 machine.

[Bug c++/93437] On protobuf generated code, -Warray-bounds is brittle and not very helpful

2020-01-27 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93437 Rafael Avila de Espindola changed: What|Removed |Added CC||msebor at gcc dot gnu.org

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

2020-01-27 Thread Andrew Burgess
* Jeff Law [2020-01-22 13:52:27 -0700]: > 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

Re: Support gnu_unique_object symbols on MIPS

2020-01-27 Thread Jeff Law
On Mon, 2020-01-27 at 18:23 +, Joseph Myers wrote: > mips_declare_object_name is missing the support for declaring symbols > as gnu_unique_object that is present in the generic > ASM_DECLARE_OBJECT_NAME in elfos.h. I'm not aware of any > MIPS-specific reason for that support to be absent; >

Re: [PATCH v2][ARM] Disable code hoisting with -O3 (PR80155)

2020-01-27 Thread Segher Boessenkool
Hi! On Tue, Jan 21, 2020 at 02:10:21PM +, Wilco Dijkstra wrote: > While code hoisting generally improves codesize, it can affect performance > negatively. Benchmarking shows it doesn't help SPEC and negatively affects > embedded benchmarks. Since the impact is relatively small with -O2 and

[Bug c/93472] New: Document extended forms of constant expression

2020-01-27 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93472 Bug ID: 93472 Summary: Document extended forms of constant expression Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH 0/2] Make C front end share the C++ tree representation of loops and switches

2020-01-27 Thread Jeff Law
On Thu, 2019-12-12 at 15:44 -0500, Jason Merrill wrote: > Here are the dumps from ssa-dom-thread-7.c made to compile as C++; cx-current > is the dumps with current trunk; cx-old is changed to use the old goto-based > lowering like C. Sorry this has taken so long to get back to. For

[Bug fortran/93461] Bogus "symbol is already defined" with long subroutine names in submodule

2020-01-27 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93461 --- Comment #2 from Andrew Benson --- The problem occurs because GFC_MAX_MANGLED_SYMBOL_LEN is set to GFC_MAX_SYMBOL_LEN*2+4, which is sufficient for a module name plus function name (plus the additional "_"'s that get prepended), but

[Bug fortran/93461] Bogus "symbol is already defined" with long subroutine names in submodule

2020-01-27 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93461 --- Comment #1 from Andrew Benson --- Created attachment 47721 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47721=edit Patch for PR93461

[patch, fortran] PR93461 - Bogus "symbol is already defined" with long subroutine names in submodule

2020-01-27 Thread Andrew Benson
I created PR93461 for this issue: The following code causes a bogus "symbol is already defined" error (using git commit 73380abd6b2783215c7950a2ade5e3f4b271e2bc): module aModuleWithAnAllowedName interface module subroutine aShortName() end subroutine aShortName end interface

[Bug libstdc++/93470] [9/10 Regression] [C++2a] std::reference_wrapper to function type is broken with Clang

2020-01-27 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93470 --- Comment #4 from frankhb1989 at gmail dot com --- (In reply to Jonathan Wakely from comment #3) > (In reply to frankhb1989 from comment #2) > > Sorry, I missed to mention it only failed with `clang++ -std=c++2a` > > If you're going to claim

[Bug libstdc++/93470] [9/10 Regression] [C++2a] std::reference_wrapper to function type is broken with Clang

2020-01-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93470 Jonathan Wakely changed: What|Removed |Added Status|WAITING |ASSIGNED Target Milestone|---

[Bug go/92463] Cleanups due to minimum MPFR version bump to 3.1.0

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

[Bug target/89627] Miscompiled constructor call

2020-01-27 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89627 Jim Wilson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug go/92463] Cleanups due to minimum MPFR version bump to 3.1.0

2020-01-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92463 --- Comment #8 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:2f195832a12ff4fb54d723f32019d4175db1b5da commit r10-6267-g2f195832a12ff4fb54d723f32019d4175db1b5da Author: Ian Lance Taylor

Go patch committed: Cleanups for MPFR 3.1.0

2020-01-27 Thread Ian Lance Taylor
This patch to the Go frontend adds cleanups now that MPFR 3.1.0 is required. For MPFR functions, change from GMP_RND* to MPFR_RND*. Also change mp_exp_t to mpfr_expt_t. This fixes GCC PR 92463. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu (with MPFR 4.0.2). Committed to mainline.

[Bug target/93459] ix86_fold_builtin should handle __builtin_ia32_pcmpeqd128_mask and similar builtins

2020-01-27 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93459 --- Comment #2 from Marc Glisse --- For __builtin_ia32_vec_ext_v4si, shouldn't we lower it to an array access in gimple, when the second argument is constant? I assume we don't want to do it directly in smmintrin.h for diagnostic purposes.

Re: [PATCH] i386: Disable TARGET_SSE_TYPELESS_STORES for TARGET_AVX

2020-01-27 Thread Uros Bizjak
On Mon, Jan 27, 2020 at 7:23 PM H.J. Lu wrote: > > movaps/movups is one byte shorter than movdaq/movdqu. But it isn't the > case for AVX nor AVX512. We should disable TARGET_SSE_TYPELESS_STORES > for TARGET_AVX. > > gcc/ > > PR target/91461 > * config/i386/i386.h

[Bug libstdc++/93470] [C++2a] std::reference_wrapper to function type is broken

2020-01-27 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93470 --- Comment #2 from frankhb1989 at gmail dot com --- Case: #include void foo() {} int main() { std::ref(foo)(); } Sorry, I missed to mention it only failed with `clang++ -std=c++2a` (using Clang++ 9.0.1). G++ with `-std=c++2a` still

Re: fast_math_flags_set_p vs. set_fast_math_flags inconsistency?

2020-01-27 Thread Joseph Myers
On Mon, 27 Jan 2020, Ulrich Weigand wrote: > I see. I guess that makes me wonder what -fno-fast-math *ever* does > (except canceling a -ffast-math earlier on the command line). Looking > at the current code, -fno-fast-math (just like -ffast-math) only ever > sets flags whose default is not

RE: Home care Centers

2020-01-27 Thread Olivia Martin
Hi, Did you had a chance to review my previous mail which I sent across? If you are interested please revert me with your target requirement, so that I can get back to you with more information on the counts and pricing. Thank you and looking forward for your response. Regards,

[Bug libgomp/93471] New: GCC-9.2.0 libgomp configuration passes bogus mingw32 library search paths

2020-01-27 Thread keith.marshall at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93471 Bug ID: 93471 Summary: GCC-9.2.0 libgomp configuration passes bogus mingw32 library search paths Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/71625] missing strlen optimization on different array initialization style

2020-01-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 --- Comment #25 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8f25c39c454d7d3d323edf014a653649946352bd commit r10-6266-g8f25c39c454d7d3d323edf014a653649946352bd Author: Jason Merrill Date:

[Bug c++/90966] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:16155

2020-01-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90966 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8f25c39c454d7d3d323edf014a653649946352bd commit r10-6266-g8f25c39c454d7d3d323edf014a653649946352bd Author: Jason Merrill Date:

[COMMITTED] c++: Fix array of char typedef in template (PR90966).

2020-01-27 Thread Jason Merrill
Since Martin Sebor's patch for PR 71625 to change braced array initializers to STRING_CST in some cases, we need to be ready for STRING_CST with types that are changed by tsubst. fold_convert doesn't know how to deal with STRING_CST, which is reasonable; we really shouldn't expect it to here. So

[Bug libstdc++/93470] [C++2a] std::reference_wrapper to function type is broken

2020-01-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93470 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug libstdc++/93469] memory header fails to compile with _XOPEN_SOURCE macro defined and -std=c++2a option specified

2020-01-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93469 --- Comment #2 from Jonathan Wakely --- This is a bug in your libc headers (and I'm guessing you're on OS X). The aligned_alloc function should be declared for C++17 and later, irrespective of the _XOPEN_SOURCE value.

[Bug middle-end/93194] -fpatchable-function-entries : __patchable_function_entries has wrong sh_addralign

2020-01-27 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93194 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libstdc++/93469] memory header fails to compile with _XOPEN_SOURCE macro defined and -std=c++2a option specified

2020-01-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93469 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

Re: [PATCH] get source line for diagnostic from preprocessed file / PR preprocessor/79106

2020-01-27 Thread Jeff Law
On Mon, 2019-12-16 at 11:18 +, Bader, Lucas wrote: > Hello, > > within a compile cluster, only the preprocessed output of GCC is transferred > to remote nodes for compilation. > When GCC produces advanced diagnostics (with -fdiagnostics-show-caret), e.g. > prints out the affected source >

[Bug target/93418] [9/10 Regression] GCC incorrectly constant propagates _mm_sllv/srlv/srav

2020-01-27 Thread husseydevin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93418 --- Comment #8 from Devin Hussey --- Seems to work. ~ $ ~/gcc-test/bin/x86_64-pc-cygwin-gcc.exe -mavx2 -O3 _mm_sllv_bug.c ~ $ ./a.exe Without optimizations (correct result): 8000 fff8 With optimizations (incorrect

[Bug libstdc++/93470] New: [C++2a] std::reference_wrapper to function type is broken

2020-01-27 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93470 Bug ID: 93470 Summary: [C++2a] std::reference_wrapper to function type is broken Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/93443] gcc/cp/coroutines.cc:3555:23: runtime error: load of value 255, which is not a valid value for type 'bool'

2020-01-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93443 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:1f2e84238c9f079747804026b6225ec8c1d0e4b7 commit r10-6265-g1f2e84238c9f079747804026b6225ec8c1d0e4b7 Author: Iain Sandoe Date: Mon

[Bug libstdc++/93469] New: memory header fails to compile with _XOPEN_SOURCE macro defined and -std=c++2a option specified

2020-01-27 Thread karen.arutyunov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93469 Bug ID: 93469 Summary: memory header fails to compile with _XOPEN_SOURCE macro defined and -std=c++2a option specified Product: gcc Version: 9.2.0 Status: UNCONFIRMED

[Bug go/93468] New patches to build gcc-10 on GNU/Hurd

2020-01-27 Thread svante.signell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93468 --- Comment #2 from Svante Signell --- Created attachment 47720 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47720=edit Add hurd to // +build

[Bug go/93468] New patches to build gcc-10 on GNU/Hurd

2020-01-27 Thread svante.signell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93468 --- Comment #1 from Svante Signell --- Created attachment 47719 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47719=edit Add hurd to // +build

Re: [PATCH] Clean up references to Subversion in documentation sources.

2020-01-27 Thread Segher Boessenkool
On Mon, Jan 13, 2020 at 01:12:15PM -0500, Eric S. Raymond wrote: > Jonathan Wakely : > > Email the patches to gcc-patches@gcc.gnu.org, that's how things get > > merged. > > > > We're not looking to change any workflows now. > > Roger that. > > Once the dust from the conversion has settled,

[Bug go/93468] New: New patches to build gcc-10 on GNU/Hurd

2020-01-27 Thread svante.signell at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93468 Bug ID: 93468 Summary: New patches to build gcc-10 on GNU/Hurd Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go

  1   2   3   4   >