[Bug c++/101533] ICE in gen_type_die_with_usage, at dwarf2out.c:25988

2021-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101533 --- Comment #1 from Richard Biener --- 25987 /* Prevent broken recursion; we can't hand off to the same type. */ 25988 gcc_assert (DECL_ORIGINAL_TYPE (name) != type); I guess the issue is that we have qualified_type == type but

[Bug testsuite/101531] [11 regression] gcc.target/powerpc/pr101129.c has excess errors after r11-8780

2021-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101531 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.2

[Bug middle-end/101530] ICE: 'verify_gimple' failed: non-top-level 'bit_field_ref' with __builtin_shufflevector()[0]

2021-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101530 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/101544] New: [OpenMP] 'declare target' block around class – unresolved _Znwm = "operator new(unsigned long)"

2021-07-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 Bug ID: 101544 Summary: [OpenMP] 'declare target' block around class – unresolved _Znwm = "operator new(unsigned long)" Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug testsuite/101528] [11 regression] gcc.target/powerpc/int_128bit-runnable.c fails after r11-8743

2021-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101528 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.2

[Bug tree-optimization/101525] "out of the bounds" warning for an Innocuous memset call with LTO

2021-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101525 Richard Biener changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

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

2021-07-20 Thread me at larbob dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #270 from Larkin Nickle --- Reading symbols from /home/larbob/Projects/build-gcc/builds/gcc-11.1.0/.o/./prev-gcc/cc1...BFD: /home/larbob/Projects/build-gcc/builds/gcc-11.1.0/.o/prev-gcc/cc1 symbol number 7215 references nonexistent SH

[Bug target/80813] x86: std::vector::operator[] could be somewhat faster using BT instead of SHL

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80813 --- Comment #1 from Andrew Pinski --- Note the code is worse in GCC 11+, there seems to be a missing optimization on the gimple level ...

[Bug target/101543] extra zeroing of empty struct argument/return value

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101543 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/101543] New: extra zeroing of empty struct argument/return value

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101543 Bug ID: 101543 Summary: extra zeroing of empty struct argument/return value Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhanc

[Bug target/64405] [arm] Invalid codegenaration for ARMv3 and ARMv2

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64405 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0 Resolution|---

[Bug target/61287] "error: ‘nios2_fpu_insn_enabled’ was not declared in this scope" when building with ada

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61287 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

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

2021-07-20 Thread me at larbob dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #269 from Larkin Nickle --- (In reply to The Written Word from comment #268) > (In reply to Larkin Nickle from comment #262) > > Created attachment 51182 [details] > > GCC 11.1 patch to net dwarf2 debugging symbols > > > > Rebuilding

[Bug target/31679] Incorrect result of multiplication long long by 0xFFFFFFFFLL constant.

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31679 --- Comment #7 from Andrew Pinski --- HWI is always 64bit these days so I doubt this can be reproduced.

[Bug target/39329] x86 -Os could use mulw for (uint16 * uint16)>>16

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39329 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

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

2021-07-20 Thread bugzilla-gcc at thewrittenword dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #268 from The Written Word --- (In reply to Larkin Nickle from comment #262) > Created attachment 51182 [details] > GCC 11.1 patch to net dwarf2 debugging symbols > > Rebuilding with this patch. Should hopefully net me actual dwarf2

[Bug target/21812] libgcc could use some ia32/x86_64 specific optimizations

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21812 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug target/13588] little-endian code generated inappropriately

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13588 Andrew Pinski changed: What|Removed |Added Host|i686-cygwin | Last reconfirmed|2004-04-18 04:15:35

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug tree-optimization/84416] [9/10/11/12 Regression] internal compiler error: in int_cst_value, at tree.c:11089

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84416 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5

[Bug tree-optimization/84416] [9/10/11/12 Regression] internal compiler error: in int_cst_value, at tree.c:11089

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84416 Andrew Pinski changed: What|Removed |Added Known to work||4.2.0, 4.8.5 Last reconfirmed|2018-02-

[Bug tree-optimization/88531] Index data types when targeting AVX-512 vectorization with gather/scatter

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88531 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Blocks|

[Bug tree-optimization/85017] Missed constant propagation to index of array reference

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85017 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug tree-optimization/64716] Missed vectorization in a hot code of SPEC2000 ammp

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64716 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug tree-optimization/81558] Loop not vectorized

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81558 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug tree-optimization/54935] No way to do if converison

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54935 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug tree-optimization/57204] Auto-vectorization in nested loops with non-varying indexed array access results in very poor performance (worse than no auto-vectorization)

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57204 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug tree-optimization/58280] Missed Opportunity for Aligned Vectorized Load

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58280 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement See Also|

[Bug tree-optimization/58902] small matrix multiplication non vectorized

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58902 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug tree-optimization/56717] Enhance Dot-product pattern recognition to avoid mult widening.

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56717 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug tree-optimization/42172] inefficient bit fields assignments

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42172 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/42172] inefficient bit fields assignments

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42172 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

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

2021-07-20 Thread bugzilla-gcc at thewrittenword dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #267 from The Written Word --- (In reply to Larkin Nickle from comment #266) > I'll try that 7.9.1 as a last resort; I noticed that 7.3.1 was able to read > dwarf4 symbols from a previous 4.9.2 build I did so I'm testing building > 1

[Bug libstdc++/101542] New: __gnu_cxx::sequence_buffer const copy constructor is badly broken

2021-07-20 Thread brooks at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101542 Bug ID: 101542 Summary: __gnu_cxx::sequence_buffer const copy constructor is badly broken Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/51074] No constant folding performed for VEC_PERM_EXPR, VEC_INTERLEAVE*EXPR, VEC_EXTRACT*EXPR

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51074 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug tree-optimization/48092] associative property of builtins is not exploited on GIMPLE

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48092 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug tree-optimization/49773] use of class data members prevent vectorization

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49773 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Blocks|

[Bug tree-optimization/33243] Missed opportunities for vectorization due to unhandled real_type

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33243 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

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

2021-07-20 Thread me at larbob dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #266 from Larkin Nickle --- I'll try that 7.9.1 as a last resort; I noticed that 7.3.1 was able to read dwarf4 symbols from a previous 4.9.2 build I did so I'm testing building 11.1 patched to produce debug symbols similarly.

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

2021-07-20 Thread bugzilla-gcc at thewrittenword dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #265 from The Written Word --- (In reply to Larkin Nickle from comment #264) > Oh, and I should mention this is what I get with 7.3.1 or 7.5.1: > > Reading symbols from > /home/larbob/Projects/build-gcc/builds/gcc-11.1.0/.o/prev-gcc

[Bug middle-end/93742] Optimization request: pattern-match typical addition overflow checks

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93742 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #4 from Andrew P

[Bug libstdc++/101510] std::filesystem::create_directory on an existing symlink to a directory

2021-07-20 Thread enometh at meer dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101510 --- Comment #17 from Madhu --- * "redi at gcc dot gnu.org" Wrote on Tue, 20 Jul 2021 19:38:18 + > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101510 > Fixed on trunk now, I'll backport it too, but not in time for 11.2 Thanks!

[Bug tree-optimization/87319] When vector is wrapped, expression is not optimized.

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87319 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization --- Comment #6 from An

[Bug middle-end/82705] Missing tail calls for large structs

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-10-25 00:00:00 |2021-7-20 Target|x86_64-*-*,

[Bug middle-end/78115] Missed optimization for "int modulo 2^31"

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78115 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #3 from Andrew P

[Bug middle-end/96633] missed optimization?

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96633 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement See Also|

[Bug middle-end/50384] Returning std::array is not optimal

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50384 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/20671] Poor bit-field code generation

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20671 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/85234] missed optimisation opportunity for (~x >> CST)!=0 is not optimized to (((unsigned)x) < ~((1<

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85234 Andrew Pinski changed: What|Removed |Added Summary|missed optimisation |missed optimisation |o

[Bug fortran/78219] [F08] specifying the kind of a FORALL index in the header

2021-07-20 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78219 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug middle-end/95208] missed switch optimization as bit test

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95208 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Andrew P

[Bug middle-end/42972] Very bad bit field code

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42972 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement CC|

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

2021-07-20 Thread me at larbob dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #263 from Larkin Nickle --- I'm having trouble actually getting a GDB that can read the resulting symbols properly. readelf --debug-dump=info cc1 | grep -A 2 'Compilation Unit @' Compilation Unit @ offset 0x0: Length:0x

[Bug tree-optimization/31862] Loop IM and other optimizations harmful for -fopenmp

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31862 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization --- Comment #26 from A

[Bug c++/101219] [12 Regression] ice in perform_or_defer_access_check since r12-1804-g65870e75616ee435

2021-07-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101219 --- Comment #7 from Martin Sebor --- Thanks for tracking down the change that triggers the ICE! I removed the suppression in a few cases where it served no apparent purpose (wasn't necessary to suppress warnings exercised by the test suite). T

[Bug middle-end/90864] Suboptimal codegen of structs in C/C++on x86_64

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90864 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2019-06-1

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

2021-07-20 Thread me at larbob dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #264 from Larkin Nickle --- Oh, and I should mention this is what I get with 7.3.1 or 7.5.1: Reading symbols from /home/larbob/Projects/build-gcc/builds/gcc-11.1.0/.o/prev-gcc/cc1...BFD: /home/larbob/Projects/build-gcc/builds/gcc-11.

[Bug rtl-optimization/44608] unspecified signed overflow applied to unsigned int

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44608 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/77295] missed optimisation when copying/moving union members

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77295 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/101219] [12 Regression] ice in perform_or_defer_access_check since r12-1804-g65870e75616ee435

2021-07-20 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101219 --- Comment #6 from Sergei Trofimovich --- gcc internals doc says that binfo should be attached to every class/struct (RECORD). I'm not sure if this case qualifies. Maybe? Why this crash happens mechanically? I skimmed through commit 65870e7561

[Bug libstdc++/101527] The implementation of std::common_iterator::operator== seems to be wrong

2021-07-20 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101527 --- Comment #1 from 康桓瑋 --- (In reply to 康桓瑋 from comment #0) > But according to the description of [class.friend#10]: "Friendship is > neither inherited nor transitive." this will cause the following valid codes > to be rejected: This is the i

[Bug middle-end/85234] missed optimisation opportunity for (~x >> n) ? a : b with n, a, b constants

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85234 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/81161] poor code concatenating bitfields

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81161 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug middle-end/66741] loops not fused nor vectorized

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/101541] New: Missing ABSU detection at gimple

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101541 Bug ID: 101541 Summary: Missing ABSU detection at gimple Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Pri

[Bug middle-end/70871] questionable optimisation in fold-const.c

2021-07-20 Thread jan.smets at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70871 --- Comment #6 from Jan Smets --- Sounds good. I appreciate the follow-up, thanks you for that.

[Bug rtl-optimization/75964] insn combiner removes comparison after ABS

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=75964 Andrew Pinski changed: What|Removed |Added CC||avr at gjlay dot de --- Comment #12 from

[Bug middle-end/70871] questionable optimisation in fold-const.c

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70871 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/101104] test case gcc.c-torture/execute/ieee/cdivchkld.c fails

2021-07-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101104 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org

[Bug ipa/94818] GCC emits dead bodies of functions whose all calls have been eliminated by optimisations

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94818 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug ipa/89139] GCC emits code for static functions that aren't used by the optimized code

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89139 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/98865] Missed transform of (a >> 63) * b

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98865 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment #

[Bug tree-optimization/101534] ICE in create_tailcall_accumulator, at tree-tailcall.c:1083

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101534 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug tree-optimization/101540] New: CONSTRUCTOR for vector(1) should just be VCE

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101540 Bug ID: 101540 Summary: CONSTRUCTOR for vector(1) should just be VCE Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug target/101529] wrong code with __builtin_convertvector() and __builtin_shufflevector() at -Og

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101529 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-20 Status|UNCONFIRM

[Bug testsuite/101206] [12 Regression] gcc.target/aarch64/vect-vmaxv.c and gcc.target/aarch64/vect-vaddv.c fail

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101206 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug rtl-optimization/101523] Huge number of combine attempts

2021-07-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101523 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org

[Bug tree-optimization/101024] Missed min expression at phiopt1

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101024 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/101536] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7324

2021-07-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101536 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFI

[Bug c++/101539] [C++20] Implement builtins for layout-compatibility and pointer-interconvertibility traits

2021-07-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101539 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-07-20 Status|UNCONFIRM

[Bug c++/101539] New: [C++20] Implement builtins for layout-compatibility and pointer-interconvertibility traits

2021-07-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101539 Bug ID: 101539 Summary: [C++20] Implement builtins for layout-compatibility and pointer-interconvertibility traits Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/101397] [11 Regression] spurious warning writing to the result of stpcpy minus 1

2021-07-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101397 Martin Sebor changed: What|Removed |Added Known to fail||11.1.0 Summary|[11/12 Regress

[Bug middle-end/101397] [11/12 Regression] spurious warning writing to the result of stpcpy minus 1

2021-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101397 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:8bf5b49ebd2176b8c535147377381dd07fbdd643 commit r12-2422-g8bf5b49ebd2176b8c535147377381dd07fbdd643 Author: Martin Sebor Date: Tue

[Bug fortran/101514] ICE: out of memory allocating 18446744073709551600 bytes

2021-07-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101514 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2021-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 Jonathan Wakely changed: What|Removed |Added Keywords||patch Status|NEW

[Bug c/63326] whether a #pragma is a statement depends on the type of pragma

2021-07-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63326 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #32

[Bug c/101538] [10/11/12 Regression] #pragma considered a statement

2021-07-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101538 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c/101538] New: [10/11/12 Regression] #pragma considered a statement

2021-07-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101538 Bug ID: 101538 Summary: [10/11/12 Regression] #pragma considered a statement Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug libstdc++/101510] std::filesystem::create_directory on an existing symlink to a directory

2021-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101510 --- Comment #16 from Jonathan Wakely --- Fixed on trunk now, I'll backport it too, but not in time for 11.2

[Bug libstdc++/101510] std::filesystem::create_directory on an existing symlink to a directory

2021-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101510 --- Comment #15 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:124eaa50e0a34f5f89572c1aa812c50979da58fc commit r12-2421-g124eaa50e0a34f5f89572c1aa812c50979da58fc Author: Jonathan Wakely Date

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2021-07-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #10 from Jason Merrill --- (In reply to Richard Smith from comment #4) > Yep, looks like GCC miscompiles direct calls to operator new / operator > delete since that patch landed: https://godbolt.org/z/dK99Rz Note that this is true on

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-07-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 101300, which changed state. Bug 101300 Summary: -fsanitize=undefined suppresses -Wuninitialized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101300 What|Removed |Added -

[Bug middle-end/101300] -fsanitize=undefined suppresses -Wuninitialized

2021-07-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101300 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Known to fail|12.0

[Bug middle-end/101300] -fsanitize=undefined suppresses -Wuninitialized

2021-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101300 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:e07d30fdcaec4906e0dcb948fc4748bf74c15c05 commit r12-2420-ge07d30fdcaec4906e0dcb948fc4748bf74c15c05 Author: Martin Sebor Date: Tue

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2021-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #9 from Jonathan Wakely --- Thanks

[Bug libstdc++/94295] use __builtin_operator_new and __builtin_operator_delete when available

2021-07-20 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94295 --- Comment #8 from Richard Smith --- (In reply to Jonathan Wakely from comment #7) > Richard S., is there any reason to use the built-ins for the constant > evaluation case? No, Clang's constant evaluator treats the built-ins and calls to repla

[Bug tree-optimization/101534] ICE in create_tailcall_accumulator, at tree-tailcall.c:1083

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101534 --- Comment #4 from Andrew Pinski --- Created attachment 51183 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51183&action=edit Patch which is under testing

[Bug fortran/101514] ICE: out of memory allocating 18446744073709551600 bytes

2021-07-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101514 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

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

2021-07-20 Thread me at larbob dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #262 from Larkin Nickle --- Created attachment 51182 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51182&action=edit GCC 11.1 patch to net dwarf2 debugging symbols Rebuilding with this patch. Should hopefully net me actual dwa

[Bug tree-optimization/101534] ICE in create_tailcall_accumulator, at tree-tailcall.c:1083

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101534 --- Comment #3 from Andrew Pinski --- The fix which I am testing: --- a/gcc/tree-tailcall.c +++ b/gcc/tree-tailcall.c @@ -1080,6 +1080,9 @@ create_tailcall_accumulator (const char *label, basic_block bb, tree init) phi = create_phi_node (tmp

  1   2   3   >