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

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96966 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-09-08 Status|UNCONFIRM

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

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96967 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org Target Miles

[Bug target/96968] aarch64 : ICE in vregs pass lowering __builtin_aarch64_get_fpcr

2020-09-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96968 --- Comment #2 from Iain Sandoe --- for __builtin_aarch64_get_fpcr64 () O1 the fail is: $ ./gcc/xgcc -Bgcc ~/fpcr-test-a.c -S -O during RTL pass: expand .../fpcr-test-a.c: In function ‘main’: .../fpcr-test-a.c:7:1: internal compiler error: Segm

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

2020-09-08 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #9 from Alexander Monakov --- The most pronounced difference for depth=18 seems to be caused by m_b_r over-allocating by 2x: internally it mallocs 2x of the size given to the constructor, and then Linux pre-faults those extra pages, p

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

2020-09-08 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96967 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/96932] [nvptx] atomic_exchange missing barrier

2020-09-08 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96932 --- Comment #1 from Tom de Vries --- FWIW, I've tried this test-case to trigger the problem, but it runs fine: ... $ cat libgomp/testsuite/libgomp.oacc-c-c++-common/test.c /* { dg-do run } */ #include #include #define assert(COND) \ do {

[Bug target/96955] Implement __builtin_thread_pointer for x86 TLS

2020-09-08 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96955 --- Comment #3 from Hongtao.liu --- (In reply to Jakub Jelinek from comment #1) > And if possible, optimize, so that if one does say > int *p = (int *)__builtin_thread_pointer (); > return p[4]; > or > return p[i]; > it will not read %fs:0 into a

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

2020-09-08 Thread gcc_bugzilla at venus dot thegavinli.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96963 --- Comment #3 from Gavin --- Correct. Due to store-merging, -O2 and -O3 generate the same machine code on both x86_64 and armv7m.

[Bug lto/96969] New: ODR violations do not list the translation unit

2020-09-08 Thread alan at octopull dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96969 Bug ID: 96969 Summary: ODR violations do not list the translation unit Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: l

[Bug tree-optimization/96043] BB vectorizer costing lumps everything together

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96043 Richard Biener changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |rguenth at gcc dot gnu.org ---

[Bug gcov-profile/96970] New: -fprofile-arcs compiled binaries are not reproducible

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96970 Bug ID: 96970 Summary: -fprofile-arcs compiled binaries are not reproducible Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug gcov-profile/96970] -fprofile-arcs compiled binaries are not reproducible

2020-09-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96970 --- Comment #1 from Andrew Pinski --- I thought you have to set the seed if you want a reproductable binary in this case.

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

2020-09-08 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #10 from Dmitriy Ovdienko --- Looks like I know why C++ sample does not use all the CPU resources. C++ does not load threads equally. Last thread gets the most heavy task (MAX_DEPTH) and performs N iterations alone. Rust code instea

[Bug d/95680] libdruntime doesn't support shadow stack

2020-09-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95680 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:285d81be9725acc36dc8eca48d4df506cd5e6f6f commit r11-3047-g285d81be9725acc36dc8eca48d4df506cd5e6f6f Author: Iain Buclaw Date: Mon Se

[Bug libbacktrace/96971] New: libbacktrace identifies object format as pecoff instead of macho

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96971 Bug ID: 96971 Summary: libbacktrace identifies object format as pecoff instead of macho Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/96972] New: Missed constant propagation for forward declared constexpr in composite class

2020-09-08 Thread deve...@manuel-voegele.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96972 Bug ID: 96972 Summary: Missed constant propagation for forward declared constexpr in composite class Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug libbacktrace/96973] New: No backtrace for cc1 on x86_64-apple-darwin

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96973 Bug ID: 96973 Summary: No backtrace for cc1 on x86_64-apple-darwin Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libbac

[Bug libbacktrace/96973] No backtrace for cc1 on x86_64-apple-darwin

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96973 --- Comment #1 from Francois-Xavier Coudert --- Continuing to debug, I've added a darwin-specific implementation of getexecname() with this patch: diff --git a/libbacktrace/fileline.c b/libbacktrace/fileline.c index cc1011e8b5d..3e4161e47c6 1006

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96958 --- Comment #3 from Jonathan Wakely --- Yes, the public API for the load factor is defined in terms of float. We use a higher precision type internally though.

[Bug libbacktrace/96973] No backtrace for cc1 on x86_64-apple-darwin

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96973 --- Comment #2 from Francois-Xavier Coudert --- I've gone a bit further with this, using the patch in comment #1 to fix the executable path issue. I am now trying to make the backtrace work within libgfortran, on a case with a known runtime error

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #11 from Jonathan Wakely --- (In reply to Alexander Monakov from comment #9) > The most pronounced difference for depth=18 seems to be caused by m_b_r > over-allocating by 2x: internally it mallocs 2x of the size given to the > constr

[Bug tree-optimization/96974] New: [10/11 Regression] ICE in vect_get_vector_types_for_stmt compiling for SVE

2020-09-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96974 Bug ID: 96974 Summary: [10/11 Regression] ICE in vect_get_vector_types_for_stmt compiling for SVE Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ic

[Bug tree-optimization/96974] [10/11 Regression] ICE in vect_get_vector_types_for_stmt compiling for SVE

2020-09-08 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96974 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to fail||10.1.1, 11.0 Known to

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #12 from Jonathan Wakely --- (In reply to Alexander Monakov from comment #5) > The main gotcha here is m_b_r does not allocate on construction, but rather > allocates 2x of the preallocation size on first call to 'allocate', and then

[Bug c++/96975] New: gcc cannot compile at -O0 but compiles at -O1/-O2/-O3

2020-09-08 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96975 Bug ID: 96975 Summary: gcc cannot compile at -O0 but compiles at -O1/-O2/-O3 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug gcov-profile/96970] -fprofile-arcs compiled binaries are not reproducible

2020-09-08 Thread gccbmw at lsmod dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96970 Bernhard M. Wiedemann changed: What|Removed |Added CC||gccbmw at lsmod dot de --- Comme

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #13 from Jonathan Wakely --- (In reply to Alexander Monakov from comment #9) > I think the rest of the slowdown can be attributed to m_b_r simply doing > more work internally compared to your bare-bones malloc allocator The malloc-ba

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

2020-09-08 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #14 from Alexander Monakov --- > It adds 11 bytes to the size given to the constructor (for its internal > bookkeeping) and then rounds up to a power of two. What is the purpose of this rounding up?

[Bug target/96968] aarch64 : ICE in vregs or expand pass, lowering __builtin_aarch64_get_{fpcr,fpsr,fpcr64,fpsr64}

2020-09-08 Thread akrl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96968 --- Comment #3 from akrl at gcc dot gnu.org --- Confirm this was introduced by: 0d7e5fa655e59c99035bf94a46c912e369bb9fa0 "aarch64: Add 64 bit setter getter fpsr fpcr" I'll have a look as soon as I have a slot of time.

[Bug libbacktrace/96973] No backtrace for cc1 on x86_64-apple-darwin

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96973 --- Comment #3 from Francois-Xavier Coudert --- In macho_add_fat(), the code correctly identifies 2 archs, with the right types (first i386, then x86_64). It's then calling macho_add() for the x86_64 arch, with an foffset of 0xb000, w

[Bug c++/96976] New: g++ reports "call of overloaded '...' is ambiguous" when universal reference is used

2020-09-08 Thread igor.chorazewicz at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96976 Bug ID: 96976 Summary: g++ reports "call of overloaded '...' is ambiguous" when universal reference is used Product: gcc Version: 9.2.1 Status: UNCONFIRMED Seve

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

2020-09-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96967 --- Comment #2 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:19b0fed7c2d3663f0f144ca8557b6af29bafa4e3 commit r11-3049-g19b0fed7c2d3663f0f144ca8557b6af29bafa4e3 Author: Aldy Hernandez Date:

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

2020-09-08 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96967 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #15 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #12) > m_b_r really needs a "rewind()" member to mark all allocated memory as > unused again, without actually deallocating it and returning it to the > upstream r

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #16 from Jonathan Wakely --- (In reply to Alexander Monakov from comment #14) > > It adds 11 bytes to the size given to the constructor (for its internal > > bookkeeping) and then rounds up to a power of two. > > What is the purpose

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #17 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #16) > To request a power of two size from the upstream resource, so that we don't > e.g. ask for 4090 bytes and waste the end of a page. Or even worse, allocate

[Bug c++/96976] g++ reports "call of overloaded '...' is ambiguous" when universal reference is used

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96976 --- Comment #1 from Jonathan Wakely --- Fixed on trunk by r11-1571 It's also fixed on the gcc-10 branch by r10-8343

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

2020-09-08 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #18 from Alexander Monakov --- Huh? malloc is capable of splitting the tail of the last page for reuse in subsequent small allocations, why not let it do it? It will not be "wasted".

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #19 from Jonathan Wakely --- The upstream isn't necessarily malloc (although we could add a check to find out whether it is the std::new_delete_resource() if we wanted to). Suggestions for improvement are welcome. This is only the se

[Bug target/63826] GCC produces haswell instructions that darwin14 assembler does not like

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63826 Francois-Xavier Coudert changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug sanitizer/59068] libsanitizer doesn't build on x86_64-unknown-linux-gnu with Linux 2.6.18

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59068 Francois-Xavier Coudert changed: What|Removed |Added Resolution|--- |WORKSFORME Status|

[Bug target/25119] 64-bit GCC on AIX is not supported

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25119 Francois-Xavier Coudert changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

[Bug bootstrap/82091] [5 only] Build failure on macOS 10.13 with Xcode 9

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82091 Francois-Xavier Coudert changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--

[Bug c++/96977] New: mangling ‘typeof’ or use ‘decltype’

2020-09-08 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96977 Bug ID: 96977 Summary: mangling ‘typeof’ or use ‘decltype’ Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

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

2020-09-08 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #20 from Alexander Monakov --- Round up to 64 bytes (typical cache line size).

[Bug c++/96976] g++ reports "call of overloaded '...' is ambiguous" when universal reference is used

2020-09-08 Thread igor.chorazewicz at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96976 --- Comment #2 from Igor Chorazewicz --- (In reply to Jonathan Wakely from comment #1) > Fixed on trunk by r11-1571 > > It's also fixed on the gcc-10 branch by r10-8343 Do you plan to backport it to older gcc versions? Also, do you by any chan

[Bug tree-optimization/96978] New: [11 regression] gcc.dg/vect/bb-slp-pr92596.c causes an ICE since r11-3025 (g095d42feed09f880f835ed74d0aa7b1ad7abd03c)

2020-09-08 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96978 Bug ID: 96978 Summary: [11 regression] gcc.dg/vect/bb-slp-pr92596.c causes an ICE since r11-3025 (g095d42feed09f880f835ed74d0aa7b1ad7abd03c) Product: gcc Version:

[Bug libbacktrace/96973] No backtrace for cc1 on x86_64-apple-darwin

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96973 --- Comment #4 from Francois-Xavier Coudert --- I've identified the issue and found a fix. The problem is in the calculation of the offset when !is_64. The current code is take the uint32_t offset value, casting it into a uint64_t, then calling b

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

2020-09-08 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96951 --- Comment #4 from Florian Weimer --- Thanks. Checking for the null byte at the end (as in comment 0) currently seems the most convenient way. Writing those additional null bytes is not entirely free. As an industry standard, the strlcpy functi

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

2020-09-08 Thread kab at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96951 --- Comment #5 from kab at acm dot org --- (In reply to Martin Sebor from comment #3) > If in the code the test case was derived from the string > member is not necessarily meant to be a string then declaring it with > attribute nonstring avoids t

[Bug c++/96979] New: Switch with case values derived from constexpr function takes unreasonable time to compile

2020-09-08 Thread gcc at magey dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96979 Bug ID: 96979 Summary: Switch with case values derived from constexpr function takes unreasonable time to compile Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug tree-optimization/96043] BB vectorizer costing lumps everything together

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96043 --- Comment #2 from Richard Biener --- I have a patch.

[Bug target/96767] -mpure-code produces indirect loads for thumb-1

2020-09-08 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96767 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/96980] New: unimplemented of variably-modified type

2020-09-08 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96980 Bug ID: 96980 Summary: unimplemented of variably-modified type Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/96770] -mpure-code produces suboptimal code for relocations with small offset for thumb-1

2020-09-08 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96770 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

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

2020-09-08 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94595 Christophe Lyon changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

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

2020-09-08 Thread dmitriy.ovdienko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #21 from Dmitriy Ovdienko --- > This is only the second time > I've ever received any indication anybody is even using the > header, so I've not wasted my time tuning it. I used it to create an order book :). It helped me to impro

[Bug libbacktrace/96973] No backtrace for cc1 on x86_64-apple-darwin

2020-09-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96973 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #5 fr

[Bug tree-optimization/96978] [11 regression] gcc.dg/vect/bb-slp-pr92596.c causes an ICE since r11-3025 (g095d42feed09f880f835ed74d0aa7b1ad7abd03c)

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96978 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 Version|10.0

[Bug tree-optimization/96974] [10/11 Regression] ICE in vect_get_vector_types_for_stmt compiling for SVE

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96974 Richard Biener changed: What|Removed |Added Target Milestone|10.4|10.3 Version|unknown

[Bug c++/96981] New: Assembler messages: Error: missing name

2020-09-08 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96981 Bug ID: 96981 Summary: Assembler messages: Error: missing name Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/96975] gcc cannot compile at -O0 but compiles at -O1/-O2/-O3

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96975 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/96981] Assembler messages: Error: missing name

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96981 --- Comment #1 from Richard Biener --- on the border of being invalid I guess

[Bug tree-optimization/96979] Switch with case values derived from constexpr function takes unreasonable time to compile

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96979 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog CC|

[Bug tree-optimization/96979] [8/9/10/11 Regression] Switch with case values derived from constexpr function takes unreasonable time to compile

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96979 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.5 Summary|Switch with case

[Bug c++/96982] New: no assembler error with -O1/O2/O3, but with -O0

2020-09-08 Thread tangyixuan at mail dot dlut.edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96982 Bug ID: 96982 Summary: no assembler error with -O1/O2/O3, but with -O0 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug debug/96937] Duplicate DW_TAG_formal_parameter in out-of-line DW_TAG_subprogram instance

2020-09-08 Thread simon.marchi at polymtl dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96937 --- Comment #4 from Simon Marchi --- Created attachment 49198 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49198&action=edit Output from creduce

[Bug fortran/96983] New: [11 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042

2020-09-08 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96983 Bug ID: 96983 Summary: [11 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: nor

[Bug debug/96937] Duplicate DW_TAG_formal_parameter in out-of-line DW_TAG_subprogram instance

2020-09-08 Thread simon.marchi at polymtl dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96937 --- Comment #5 from Simon Marchi --- (In reply to Richard Biener from comment #3) > Hmm, can you point out the issue in the reduced testcase? I can't see it. > The only cloning done I see is partial inlining so does > -fno-partial-inlining fix

[Bug tree-optimization/96979] [8/9/10/11 Regression] Switch with case values derived from constexpr function takes unreasonable time to compile

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

[Bug c++/96981] Assembler messages: Error: missing name for O0-O3

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

[Bug target/96892] [ARM]Wrong __stack_chk_guard for comparison

2020-09-08 Thread thomas.preudhomme at celest dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 --- Comment #1 from Thomas Preud'homme --- Confirmed on GCC 11.0.0 20200908

[Bug tree-optimization/96043] BB vectorizer costing lumps everything together

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96043 --- Comment #3 from Richard Biener --- Turns out gcc.dg/vect/costmodel/x86_64/costmodel-pr69297.c can be massaged to such case.

[Bug fortran/96983] [11 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042

2020-09-08 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96983 --- Comment #1 from anlauf at gcc dot gnu.org --- The testcase has: ! { dg-require-effective-target fortran_real_16 } I assume that powerpc advertises supporting fortran_real_16 while it actually does not. Suggestions? Should the testcase be r

[Bug fortran/96983] [11 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96983 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c++/96981] Assembler messages: Error: missing name for O0-O3

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96981 --- Comment #3 from Richard Biener --- *** Bug 96982 has been marked as a duplicate of this bug. ***

[Bug c++/96982] no assembler error with -O1/O2/O3, but with -O0

2020-09-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96982 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/96892] [ARM]Wrong __stack_chk_guard for comparison

2020-09-08 Thread thomas.preudhomme at celest dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 --- Comment #2 from Thomas Preud'homme --- Wouldn't it be enough to add: "emit_move_insn (operands[3], gen_rtx_MEM(SImode, operands[3]));" just before the line "if (TARGET_32BIT)" in stack_protect_combined_test_insn insn pattern?

[Bug c++/96982] no assembler error with -O1/O2/O3, but with -O0

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

[Bug c++/96980] unimplemented of variably-modified type

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96980 --- Comment #1 from Jonathan Wakely --- This is not valid C++, that's why GCC doesn't accept it.

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

2020-09-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96962 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:47997a32e63b77ec88a7131a5d540f108c698661 commit r11-3050-g47997a32e63b77ec88a7131a5d540f108c698661 Author: David Malcolm Date: Mo

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

2020-09-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96950 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:af656c401e97f9de2a8478f18278e8efb2a6cf23 commit r11-3051-gaf656c401e97f9de2a8478f18278e8efb2a6cf23 Author: David Malcolm Date: Mo

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

2020-09-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96949 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:34d926dba097c4965917d09a3eedec11242c5457 commit r11-3052-g34d926dba097c4965917d09a3eedec11242c5457 Author: David Malcolm Date: Mo

[Bug middle-end/96984] New: bogus -Warray-bounds with -fsanitize due to FRE substituting subobjects at the same address

2020-09-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96984 Bug ID: 96984 Summary: bogus -Warray-bounds with -fsanitize due to FRE substituting subobjects at the same address Product: gcc Version: 11.0 Status: UNCONFIRMED

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

2020-09-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96950 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2020-09-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96949 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/96815] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12928

2020-09-08 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96815 Jason Cobb changed: What|Removed |Added CC||jason.e.cobb at gmail dot com --- Comment #

[Bug middle-end/96984] bogus -Warray-bounds with -fsanitize due to FRE substituting subobjects at the same address

2020-09-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96984 Martin Sebor changed: What|Removed |Added Last reconfirmed||2020-09-08 Status|UNCONFIRMED

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

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

[Bug libbacktrace/96973] No backtrace for cc1 on x86_64-apple-darwin

2020-09-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96973 --- Comment #6 from Iain Sandoe --- (In reply to Francois-Xavier Coudert from comment #4) from fat.h FAT headers are always written bigendian * at least there's no statement revoking that in the section on FAT64 * it doesn't seem that the FA

[Bug libbacktrace/96973] No backtrace for cc1 on x86_64-apple-darwin

2020-09-08 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96973 --- Comment #7 from Francois-Xavier Coudert --- Actually we're not using the other members. So how about simply: diff --git a/libbacktrace/macho.c b/libbacktrace/macho.c index bd737226ca6..7f093f309fb 100644 --- a/libbacktrace/macho.c +++ b/libb

[Bug c++/91483] Poor diagnostic on trying to take constexpr reference to non-static object

2020-09-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91483 --- Comment #2 from Marek Polacek --- Related test: void foo () { constexpr int a = 0; constexpr const int *p = &a; } We just say error: ‘& a’ is not a constant expression but that's inadequate. clang++ now says note: address of non-stati

[Bug fortran/96983] [11 regression] ICE compiling gfortran.dg/pr96711.f90 starting with r11-3042

2020-09-08 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96983 --- Comment #2 from anlauf at gcc dot gnu.org --- Could you please check if adding ! { dg-skip-if "" { "powerpc*-*-*" } } solves the issue? (That would be similar to testcase nan_7.f90)

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #22 from Jonathan Wakely --- Created attachment 49199 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49199&action=edit Patch to reduce monotonic_buffer_resource chunk sizes (In reply to Alexander Monakov from comment #20) > Rou

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

2020-09-08 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #23 from Alexander Monakov --- Are you benchmarking with bt_pmr_0thrd (attached in comment #3) with depth=18? On earlier tests there are other effects in play too.

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #24 from Jonathan Wakely --- Yes, I'm using that one, but I was testing depth=20. The new code is a lot better for depth=18, but worse (or not much different) for greater depths.

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

2020-09-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96942 --- Comment #25 from Jonathan Wakely --- Depth = 21, Pool size = 134,217,728 Bytes | |PMR | PMR (round64) |Malloc | |---|||---| | cache-references

[Bug c++/96985] New: c++ `noexcept` is ignored for *known* functions

2020-09-08 Thread sagebar at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96985 Bug ID: 96985 Summary: c++ `noexcept` is ignored for *known* functions Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

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

2020-09-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96933 --- Comment #9 from Segher Boessenkool --- I'm not sure what you mean. vmrglb merges the vectors abcdefghijklmnop and ABCDEFGHIJKLMNOP to iIjJkKlLmMnNoOpP ... ah, I see what you mean I guess. So, use something else instead? How about vp

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

2020-09-08 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96965 Segher Boessenkool changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

  1   2   >