[Bug libgcc/96948] _Unwind_GetIP() and _Unwind_GetIPInfo() empty in _Unwind_Backtrace() with SEH on mingw64

2020-09-07 Thread krlmlr+gcc at mailbox dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96948 --- Comment #4 from Kirill Müller --- Done.

[Bug c++/96961] New: ICE default lambda as non-type template with default argument

2020-09-07 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96961 Bug ID: 96961 Summary: ICE default lambda as non-type template with default argument Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/96964] [nvptx] Implement __atomic_test_and_set

2020-09-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96964 --- Comment #1 from Tom de Vries --- This is an attempt to implement it by using a fallback in libatomic (see also PR96898): ... diff --git a/gcc/config/nvptx/nvptx.md b/gcc/config/nvptx/nvptx.md index 4168190fa42..612240661f8 100644 ---

[Bug tree-optimization/96966] [8/9/10/11 Regression] redundant memcpy not eliminated after pointer subtraction

2020-09-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96966 Martin Sebor changed: What|Removed |Added Summary|redundant memcpy not|[8/9/10/11 Regression]

[Bug rtl-optimization/96965] New: combine RMW and flags

2020-09-07 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96965 Bug ID: 96965 Summary: combine RMW and flags Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug tree-optimization/96966] New: redundant memcpy not eliminated after pointer subtraction

2020-09-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96966 Bug ID: 96966 Summary: redundant memcpy not eliminated after pointer subtraction Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/96951] strncpy truncation warning does not recognize truncation check

2020-09-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96951 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Severity|normal

[Bug c++/96960] New: ICE in tsubst_copy_and_build, at cp/pt.c:20531 from lambda in return-type-requirement

2020-09-07 Thread hstong at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96960 Bug ID: 96960 Summary: ICE in tsubst_copy_and_build, at cp/pt.c:20531 from lambda in return-type-requirement Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/96959] New: GCC allows ill-formed explicit capture of requires-expression local parameter

2020-09-07 Thread hstong at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96959 Bug ID: 96959 Summary: GCC allows ill-formed explicit capture of requires-expression local parameter Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

[Bug analyzer/96962] New: [11 Regression] ICE in gimple_call_arg, at gimple.h:3256

2020-09-07 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96962 Bug ID: 96962 Summary: [11 Regression] ICE in gimple_call_arg, at gimple.h:3256 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-07 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #7 from Dmitriy Ovdienko --- Following are CPU counters for single threaded code. Pre-allocation is enabled. Memory pool is created inside the loop. ```cpp int poolSize(int depth) { return (1 << (depth + 1)) * sizeof(Node);

[Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-07 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #8 from Dmitriy Ovdienko --- Same as above for Depth = 19 | | PMR |Malloc | |---|---|---| | cache-references |16,571,923 |16,260,256 | |

[Bug analyzer/96950] ICE in apply_ctor_val_to_range, at analyzer/store.cc:475

2020-09-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96950 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/96963] -Wstringop-overflow false positive on -O3 or -O2 -ftree-vectorize when assigning consecutive char struct members

2020-09-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96963 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug libstdc++/96958] Long Double in Hash Table policy forces soft-float calculations

2020-09-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96958 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-09-07

[Bug analyzer/96962] [11 Regression] ICE in gimple_call_arg, at gimple.h:3256

2020-09-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96962 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/96898] [nvptx] libatomic support

2020-09-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96898 --- Comment #6 from Tom de Vries --- Created attachment 49195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49195=edit Tentative patch Introduces an option -fatomic-libcalls (analogous to -fsync-libcalls) such that __atomic_test_and_set

[Bug rtl-optimization/96965] combine RMW and flags

2020-09-07 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96965 --- Comment #1 from Alexandre Oliva --- One nit: I wrote the flag-setting non-canonical compare ended up in i0, but it actually becomes i1, with the original i1 (R) moved to i0.

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2020-09-07 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 --- Comment #15 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9164caf25cb210ad0a69357b226e39913aff00d1 commit r11-3042-g9164caf25cb210ad0a69357b226e39913aff00d1 Author: Harald Anlauf Date:

[Bug analyzer/96949] ICE in get_bit_offset, at analyzer/analyzer.h:164

2020-09-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96949 David Malcolm changed: What|Removed |Added Last reconfirmed||2020-09-07 Ever confirmed|0

[Bug target/96898] [nvptx] libatomic support

2020-09-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96898 --- Comment #7 from Tom de Vries --- (In reply to Tom de Vries from comment #6) > Created attachment 49195 [details] > Tentative patch > > Introduces an option -fatomic-libcalls (analogous to -fsync-libcalls) such > that __atomic_test_and_set

[Bug rtl-optimization/96796] [9/10/11 Regression] aarch64: ICE during RTL pass: reload

2020-09-07 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96796 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:6001db79c477b03eacc7e7049560921fb54b7845 commit r11-3041-g6001db79c477b03eacc7e7049560921fb54b7845 Author: Richard Sandiford

[Bug target/96964] New: [nvptx] Implement __atomic_test_and_set

2020-09-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96964 Bug ID: 96964 Summary: [nvptx] Implement __atomic_test_and_set Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/96963] New: -Wstringop-overflow false positive on -O3 or -O2 -ftree-vectorize when assigning consecutive char struct members

2020-09-07 Thread gcc_bugzilla at venus dot thegavinli.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96963 Bug ID: 96963 Summary: -Wstringop-overflow false positive on -O3 or -O2 -ftree-vectorize when assigning consecutive char struct members Product: gcc Version:

[Bug tree-optimization/96967] New: [11 Regression] ICE in decompose, at wide-int.h:984

2020-09-07 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96967 Bug ID: 96967 Summary: [11 Regression] ICE in decompose, at wide-int.h:984 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug target/96933] rs6000: inefficient code for char/short vec CTOR

2020-09-07 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96933 --- Comment #8 from Kewen Lin --- (In reply to Segher Boessenkool from comment #7) > There are vmrglb and vrghb etc.? But these are only for low/high part separately, with mtvsrdd both low/high parts (doubleword) have the values, we don't have

[Bug target/87767] Missing AVX512 memory broadcast for constant vector

2020-09-07 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87767 Hongtao.liu changed: What|Removed |Added CC||vmakarov at redhat dot com --- Comment

[Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-07 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #3 from Dmitriy Ovdienko --- Created attachment 49189 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49189=edit Original implementation (simplified, single threaded) Attached is a simplified original version of the benchmark.

[Bug debug/94235] worse debug info with O0 than with O2 with flto

2020-09-07 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94235 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fea13fcd0da0353520eb2675ad24c2f296611b85 commit r11-3026-gfea13fcd0da0353520eb2675ad24c2f296611b85 Author: Jakub Jelinek Date:

[Bug target/96933] rs6000: inefficient code for char/short vec CTOR

2020-09-07 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96933 --- Comment #6 from Kewen Lin --- (In reply to Kewen Lin from comment #5) > (In reply to Segher Boessenkool from comment #4) > > Yes, timing suggests there is some SHL/LHS flush. > > > > On p9 and later we can use mtvsrdd instead of mtvsrd

[Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-07 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #4 from Dmitriy Ovdienko --- Created attachment 49190 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49190=edit Modified solution with custom allocator based on malloc (simplified, single threaded) Attached is a benchmark

[Bug target/96861] Integer min/max optimization failed under -march=skylake-avx512

2020-09-07 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96861 Hongtao.liu changed: What|Removed |Added Status|RESOLVED|NEW Resolution|FIXED

[Bug testsuite/96574] FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]16[\t ] 6

2020-09-07 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96574 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by hongtao Liu : https://gcc.gnu.org/g:ce3001ff1d734e0763a1a5e434272bf89df1fe06 commit r10-8715-gce3001ff1d734e0763a1a5e434272bf89df1fe06 Author: liuhongt Date:

[Bug target/96854] [10 Regression] avx vectorizer breaks complex arithmetic

2020-09-07 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96854 --- Comment #17 from rguenther at suse dot de --- On Sun, 6 Sep 2020, already5chosen at yahoo dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96854 > > --- Comment #15 from Michael_S --- > Thank you. > That does not sound too

[Bug target/96939] LTO vs. different arm arch options

2020-09-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96939 --- Comment #8 from Jakub Jelinek --- So I think this bug has been introduced with https://gcc.gnu.org/legacy-ml/gcc-patches/2016-12/msg01390.html I think the right change is: --- gcc/config/arm/arm.c.jj 2020-07-30 15:04:38.136293101 +0200

[Bug tree-optimization/96951] strncpy truncation warning does not recognize truncation check

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

[Bug target/53929] Bug in the use of Intel asm syntax when a global is named "and"

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

[Bug target/53929] Bug in the use of Intel asm syntax when a global is named "and"

2020-09-07 Thread u1049321969 at caramail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53929 --- Comment #4 from tk --- I have found that if I manually change lea rax, bx[rip] to something like lea rax, __bx[rip] ... .weakref __bx, bx the assembly pass succeeds, with the correct results. (It

[Bug c++/96953] New: junk at end of line: convert const char[] to std::string

2020-09-07 Thread alex.wolf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96953 Bug ID: 96953 Summary: junk at end of line: convert const char[] to std::string Product: gcc Version: 8.4.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/96952] __builtin_thread_pointer support cannot be probed

2020-09-07 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96952 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org See

[Bug c++/96953] junk at end of line: convert const char[] to std::string

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

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

2020-09-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93399 Jakub Jelinek changed: What|Removed |Added CC||alex.wolf at gmail dot com --- Comment

[Bug tree-optimization/96951] New: strncpy truncation warning does not recognize truncation check

2020-09-07 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96951 Bug ID: 96951 Summary: strncpy truncation warning does not recognize truncation check Product: gcc Version: 10.2.1 Status: UNCONFIRMED Keywords: diagnostic

[Bug tree-optimization/96951] strncpy truncation warning does not recognize truncation check

2020-09-07 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96951 --- Comment #2 from Florian Weimer --- Then the warning should recommend to use memccpy, perhaps? if (memccpy (p->string, s, '\0', sizeof (p->string)) == NULL) return -1; return 0; -- Red Hat GmbH, https://de.redhat.com/ , Registered

[Bug libstdc++/96946] libstdc++ std::shared_ptr makes an "unrelated cast" that causes Clang's Control Flow Integrity sanitiser to crash

2020-09-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96946 --- Comment #1 from Jonathan Wakely --- I don't know what the problem is, the code should be roughly equivalent to: #include namespace x __attribute__((visibility("default"))) { template struct buffer { alignas(__alignof__(T)) unsigned char

[Bug preprocessor/96952] New: __builtin_thread_pointer support cannot be probed

2020-09-07 Thread sorear at fastmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96952 Bug ID: 96952 Summary: __builtin_thread_pointer support cannot be probed Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/96953] junk at end of line: convert const char[] to std::string

2020-09-07 Thread alex.wolf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96953 --- Comment #1 from Alex --- Created attachment 49191 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49191=edit g++-8 -std=c++11 -Og -dA -ggdb -S ~/test/abc.cpp Here you can see the Quote being generated on the wrong line at 523/524

[Bug c++/96953] junk at end of line: convert const char[] to std::string

2020-09-07 Thread alex.wolf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96953 --- Comment #2 from Alex --- Created attachment 49192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49192=edit g++-8 -std=c++11 -Og -dA -ggdb -c ~/test/abc.cpp 2>out.txt this is the output of the compile command: /tmp/cce5iZjM.s:

[Bug fortran/96896] Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function

2020-09-07 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96896 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:2b0df0a6ac79b34f5fac4f3d456e8e14db220e4a commit r11-3029-g2b0df0a6ac79b34f5fac4f3d456e8e14db220e4a Author: Tobias Burnus Date:

[Bug fortran/96896] Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function

2020-09-07 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96896 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-07 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug target/53929] Bug in the use of Intel asm syntax when a global is named "and"

2020-09-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53929 --- Comment #5 from Jakub Jelinek --- It is far easier to use (the default) assembler syntax that is properly designed and doesn't have flaws like this.

[Bug sanitizer/96332] Asan (libasan) deadlock inside a malloc

2020-09-07 Thread raster at rasterman dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96332 --- Comment #3 from Carsten Haitzler --- Anyone able to reproduce?

[Bug preprocessor/96952] __builtin_thread_pointer support cannot be probed

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

[Bug target/94595] gcc.target/arm/thumb2-cond-cmp-*.c fail for cortex-m

2020-09-07 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94595 --- Comment #1 from Christophe Lyon --- For thumb2-cond-cmp-4.c (if ( (i >= '+') ? (j <= '-') : 1) ) we generate: * cortex-m0: f: cmp r0, #42 ble .L3 movsr3, #45 movsr2, #0 lsrsr0, r1,

[Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses

2020-09-07 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #6 from Dmitriy Ovdienko --- > looking at cache-misses counter does not make sense here Well, if you compare Rust and C++, cache-misses CPU counter differs dramatically... and page-faults too... while amount of instructions is the

[Bug libstdc++/96958] Long Double in Hash Table policy forces soft-float calculations

2020-09-07 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96958 --- Comment #1 from James Greenhalgh --- Asleep at the wheel today, I had intended to link to the https://gcc.gnu.org/pipermail/libstdc++/2011-September/036420.html original discussion rather than leave it as a tedious exercise for the reader.

[Bug target/85830] vec_popcntd is improperly defined in altivec.h

2020-09-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85830 --- Comment #10 from Segher Boessenkool --- Thanks Carl!

[Bug c++/96954] gcc times out with -O2/-O3/-Os

2020-09-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96954 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/96956] New: When gcc does not see a label used in a goto it gives the wrong label address &

2020-09-07 Thread thomas.lynch at reasoningtechnology dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96956 Bug ID: 96956 Summary: When gcc does not see a label used in a goto it gives the wrong label address & Product: gcc Version: 10.2.1 Status: UNCONFIRMED

[Bug libstdc++/96946] libstdc++ std::shared_ptr makes an "unrelated cast" that causes Clang's Control Flow Integrity sanitiser to crash

2020-09-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96946 --- Comment #4 from Jonathan Wakely --- Libc++ seems to pass the std::list example in comment 3 because they rely on different UB: https://godbolt.org/z/xvdaxh The libc++ std::list node is allocated as though it's raw storage, and so is never

[Bug target/96955] New: Implement __builtin_thread_pointer

2020-09-07 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955 Bug ID: 96955 Summary: Implement __builtin_thread_pointer Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/96955] Implement __builtin_thread_pointer for x86 TLS

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

[Bug libstdc++/96946] libstdc++ std::shared_ptr makes an "unrelated cast" that causes Clang's Control Flow Integrity sanitiser to crash

2020-09-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96946 --- Comment #2 from Jonathan Wakely --- Ah I see what's wrong. We do the static_cast before creating an object at that address: #include namespace x __attribute__((visibility("default"))) { template struct buffer { alignas(__alignof__(T))

[Bug libstdc++/96946] libstdc++ std::shared_ptr makes an "unrelated cast" that causes Clang's Control Flow Integrity sanitiser to crash

2020-09-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96946 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug target/96827] [10/11 Regression] __m128i from _mm_set_epi32 is backwards with -O3

2020-09-07 Thread joel.hutton at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96827 --- Comment #8 from Joel Hutton --- I'm working on this. I believe this may have been introduced by my earlier SLP vector constructor patch.(commit 10d1592) What I believe to be the relevant section: + else if (constructor) +{ +

[Bug c++/96954] New: gcc times out with -O2/-O3/-Os

2020-09-07 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96954 Bug ID: 96954 Summary: gcc times out with -O2/-O3/-Os Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/96200] Implement __builtin_thread_pointer() and __builtin_set_thread_pointer() if TLS is supported

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

[Bug libstdc++/86419] codecvt::in() and out() incorrectly return ok in some cases.

2020-09-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86419 --- Comment #11 from Jonathan Wakely --- (In reply to Dimitrij Mijoski from comment #10) > Well, whatever, I will pause my work on this. Thanks again. There are a few code conversion issues in my TODO list, so I'll get around to properly

[Bug c/96956] When gcc does not see a label used in a goto it gives the wrong label address &

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

[Bug target/96933] rs6000: inefficient code for char/short vec CTOR

2020-09-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96933 --- Comment #7 from Segher Boessenkool --- There are vmrglb and vrghb etc.?

[Bug c++/96957] New: No name-lookup into base class when using an non dependent base class via template alias with dummy parameter.

2020-09-07 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96957 Bug ID: 96957 Summary: No name-lookup into base class when using an non dependent base class via template alias with dummy parameter. Product: gcc Version:

[Bug c++/96957] No name-lookup into base class when using an non dependent base class via template alias with dummy parameter.

2020-09-07 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96957 --- Comment #1 from Anders Granlund --- Also see the following stack overflow post: https://stackoverflow.com/questions/63761866/difference-in-behaviour-between-clang-and-gcc-when-trying-to-confuse-them-by-usi

[Bug debug/93865] .debug_line with LTO refers to bogus file-names

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

[Bug preprocessor/96952] __builtin_thread_pointer support cannot be probed

2020-09-07 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96952 Rich Felker changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #3

[Bug libstdc++/96958] New: Long Double in Hash Table policy forces soft-float calculations

2020-09-07 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96958 Bug ID: 96958 Summary: Long Double in Hash Table policy forces soft-float calculations Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal