[Bug tree-optimization/98443] Failure to optimize out vector operations into a constant when possible

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98443 --- Comment #3 from Andrew Pinski --- Or we could push the BIT_FIELD_REF down the chain: _1 = w_3(D) & { 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; _2 = BIT_FIELD_REF <_1, 8, 0>; Which

[Bug tree-optimization/97351] gcc.dg/vect/bb-slp-subgroups-3.c bad vectorization with AVX

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97351 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/68050] SLP vectorization should negate constants to match up + vs -

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68050 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2015-10-22 00:00:00 |2021-8-28 --- Comment #2 from Andrew Pin

[Bug tree-optimization/89059] Once we emit switchconf tables, we don't optimize them anymore

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89059 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-01-25 00:00:00 |2021-8-28 --- Comment #3 from Andrew Pin

[Bug tree-optimization/40748] simple switch/case, if/else and arithmetics result in different code

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

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2021-08-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c/20110] format checking and non-ASCII character sets

2021-08-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20110 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug middle-end/37710] When peeling an ordinary label off a case-table and making it a default label, strip from the end with identical labels.

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37710 --- Comment #4 from Andrew Pinski --- and yes we get code that looks like: xorl%eax, %eax cmpl$-34, %edi jb .L1 negl%edi cmpl$34, %edi ja .L3 jmp *.L5(,%rdi,8)

[Bug middle-end/37710] When peeling an ordinary label off a case-table and making it a default label, strip from the end with identical labels.

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37710 --- Comment #3 from Andrew Pinski --- Here is a new testcase: extern void abort (void); extern char *name1; extern char *name2; int stab_xcoff_builtin_type (int typenum) __attribute__((noclone,noinline)); int stab_xcoff_builtin_type (int typenu

[Bug c++/97771] gcc/g++ failed to generate proper .init_array entries for local scope function, should create "axG", .init_array comdat

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97771 --- Comment #8 from Andrew Pinski --- (In reply to Erez Strauss from comment #7) > Hi Andrew, > > Here is a very simple test program, under clang++ its output is 3, as > expected. Right I already mentioned this is a dup of still opened bug 8806

[Bug middle-end/37710] When peeling an ordinary label off a case-table and making it a default label, strip from the end with identical labels.

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37710 --- Comment #2 from Andrew Pinski --- Note we almost optimize out the testcase now to just: [local count: 1073741819]: typenum.0_1 = (unsigned int) typenum_4(D); _2 = typenum.0_1 + 34; if (_2 > 33) goto ; [34.00%] else goto ; [

[Bug c++/97771] gcc/g++ failed to generate proper .init_array entries for local scope function, should create "axG", .init_array comdat

2021-08-28 Thread erstrauss at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97771 --- Comment #7 from Erez Strauss --- Hi Andrew, Here is a very simple test program, under clang++ its output is 3, as expected. Its output is 2 in case of g++ 11.2.1 20210728 (Red Hat 11.2.1-1) #include static int X; typedef void (*funcP)();

[Bug rtl-optimization/86352] setc/movzx introduced into loop to provide a constant 0 value for a later rep stos

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86352 --- Comment #2 from Andrew Pinski --- As for the memset issue with vectors, with -march=skylake on the trunk we get: BucketMap::acquireBucket(): movq%rdi, %rax movq%rsi, %rcx .L2: movq(%rsi), %rdx andl

[Bug rtl-optimization/86352] setc/movzx introduced into loop to provide a constant 0 value for a later rep stos

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

[Bug tree-optimization/86024] Missed memcpy loop distribution with elementwise copy

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86024 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2018-06-0

[Bug tree-optimization/85721] bad codegen for looped copy of primitives at -O2 and -O3 (differently bad)

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85721 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2018-05-1

[Bug c++/95797] Can std::allocator.deallocate newed pointer during constant evaluation

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
--- Clang has specific code to catch this: :4:5: error: static_assert expression is not an integral constant expression (std::allocator{}.deallocate(new int, 1), ^~ /opt/compiler-explorer/clang-trunk-20210828/bin/../include/c++/v1/__memory/allocator.h

[Bug c++/95797] Can std::allocator.deallocate newed pointer during constant evaluation

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

[Bug c++/95808] Can mismatch non-array new/delete with array new/delete during constant evaluation

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95808 --- Comment #6 from Andrew Pinski --- *** Bug 95797 has been marked as a duplicate of this bug. ***

[Bug c++/95797] Can std::allocator.deallocate newed pointer during constant evaluation

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95797 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #3 from Andrew Pin

[Bug tree-optimization/92638] gcc unable to remove empty loop after loop body is removed after malloc/free pair was removed

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

[Bug c++/95797] Can std::allocator.deallocate newed pointer during constant evaluation

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95797 Johel Ernesto Guerrero Peña changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug c++/96090] noexcept operator of potentially-throwing defaulted function gives the wrong result

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96090 Johel Ernesto Guerrero Peña changed: What|Removed |Added Known to fail||10.3.0, 11.2.0, 12.0

[Bug c++/99141] Name of deduced type unchecked in deduction guide

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99141 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/95977] No deallocation of temporary in return-statement during constant evaluation

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

[Bug c++/95977] No deallocation of temporary in return-statement during constant evaluation

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95977 Johel Ernesto Guerrero Peña changed: What|Removed |Added Status|NEW |RESOLVED Known to wor

[Bug c++/99141] Name of deduced type unchecked in deduction guide

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99141 Johel Ernesto Guerrero Peña changed: What|Removed |Added Known to fail||11.0, 12.0 --- Comment #1

[Bug tree-optimization/89713] Optimize away an empty loop whose finiteness can not be analytically determined

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89713 Andrew Pinski changed: What|Removed |Added CC||matt at godbolt dot org --- Comment #9 f

[Bug middle-end/67809] Empty pointer-chasing loops aren't optimized out

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

[Bug tree-optimization/89713] Optimize away an empty loop whose finiteness can not be analytically determined

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89713 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c/80852] SCEV final value replacement fails to recognise sum computed by loop

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80852 Bug 80852 depends on bug 46186, which changed state. Bug 46186 Summary: Clang creates code running 1600 times faster than gcc's https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 What|Removed |Added

[Bug middle-end/65855] SCEV / SCCP missing optimization: triangular numbers

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65855 Andrew Pinski changed: What|Removed |Added CC||j...@jak-linux.org --- Comment #11 from

[Bug tree-optimization/46186] Clang creates code running 1600 times faster than gcc's

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

[Bug c++/95849] Universal forwarding constructor inheritance resolution issue

2021-08-28 Thread herring at lanl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95849 S. Davis Herring changed: What|Removed |Added CC||herring at lanl dot gov --- Comment #

[Bug tree-optimization/99091] local array not prompted to static

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99091 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/95412] Constexpr variables captured in templated lambdas

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

[Bug c++/99507] Can't return static address from immediate function

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99507 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.3

[Bug c++/95269] Lambda is allowed to capture any constexpr variable without specifying any captures

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

[Bug c++/99507] Can't return static address from immediate function

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99507 Johel Ernesto Guerrero Peña changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to wor

[Bug c++/95269] Lambda is allowed to capture any constexpr variable without specifying any captures

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95269 --- Comment #1 from Andrew Pinski --- GCC and ICC accept this while clang and MSVC reject this. Without constexpr for value, GCC and ICC do reject this.

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-28 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #4 from Paul Clarke --- Created attachment 51372 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51372&action=edit preprocessed source (yet a bit smaller) I was able to remove one of the cases of the switch statement in the fun

[Bug c++/94716] comparison of address of template variables should be constexpr

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

[Bug c++/69681] C/C++ FEs do not consider comparisons of distinct function pointers to be constant expressions

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69681 Andrew Pinski changed: What|Removed |Added CC||ldalessandro at gmail dot com --- Commen

[Bug c++/101155] comparing non-capturing lambdas is not constexpr

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

[Bug c++/70380] SFINAE error with constexpr expressions referencing a non-const variable

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70380 --- Comment #4 from Andrew Pinski --- ICC rejects the template function f before even processing the statement. GCC, clang and MSVC rejects the same way.

[Bug c++/97740] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
const cld::detail::CommandLine::Arg&, const cld::detail::CommandLine::Arg&}]': /opt/compiler-explorer/gcc-trunk-20210828/include/c++/12.0.0/type_traits:2555:26: required by substitution of 'template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_o

[Bug c++/97752] incorrect address to inherited object in constexpr context

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97752 --- Comment #2 from Andrew Pinski --- Seems fixed on the trunk.

[Bug c++/96251] [constexpr, coroutines] co_yield incorrectly rejected in non-explicitly-constexpr generic lambda

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96251 Andrew Pinski changed: What|Removed |Added CC||kacper.slominski72 at gmail dot co

[Bug c++/96784] Templated lambda body remains constexpr despite having co_await in body

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

[Bug c++/96784] Templated lambda body remains constexpr despite having co_await in body

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96784 --- Comment #1 from Andrew Pinski --- Note there are some missing noexcept(true) in the testcases which I had to add to allow it compile in a more recent GCC version.

[Bug c++/93975] Wrong constexpr copy/move assignment operator allowed on non-literal type

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93975 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|rejects-valid

[Bug c++/94082] __builtin_memcpy in constexpr context should compile

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94082 --- Comment #7 from Andrew Pinski --- clang produces: :8:5: note: cannot constant evaluate 'memcpy' from object of type 'unsigned char' to object of type 'std::uint32_t' (aka 'unsigned int') __builtin_memcpy(&num, data, sizeof(std::uint32_t))

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-28 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #3 from Paul Clarke --- Created attachment 51371 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51371&action=edit preprocessed source (a bit smaller) I was able to cut out a bit more than half of the original code. It gets mor

[Bug c++/58601] [meta-bug] alignas

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58601 Bug 58601 depends on bug 70124, which changed state. Bug 70124 Summary: alignas error in constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124 What|Removed |Added

[Bug c++/55004] [meta-bug] constexpr issues

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 70124, which changed state. Bug 70124 Summary: alignas error in constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124 What|Removed |Added

[Bug c++/84403] Possible further extension of constexpr: allow to use them as template parameters

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

[Bug c++/70124] alignas error in constexpr function

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

[Bug c++/86105] Conversion to ambiguous/inaccessible rvalue base is valid in unevaluated context

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86105 --- Comment #1 from Johel Ernesto Guerrero Peña --- Denoised: https://godbolt.org/z/87fbMG6f5. ```C++ template concept is_static_castable = requires(From && (*from)()) { static_cast(from()); }; struct B { }; struct D : B { }; struct D2 : D, B {

[Bug c++/99992] Diagnose C++11 constexpr body that isn't just return even in uninstantiated templates

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/98672] constexpr function - for loop with return statement doesn't get recognized as constexpr subexpression

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98672 Andrew Pinski changed: What|Removed |Added CC||r-gcc at mail dot uk --- Comment #7 from

[Bug c++/96155] "throw" that is not executed in constexpr function fails to compile

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

[Bug c++/98672] constexpr function - for loop with return statement doesn't get recognized as constexpr subexpression

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98672 Andrew Pinski changed: What|Removed |Added Known to work||10.3.0, 11.1.0, 9.4.0 Known to fail

[Bug c++/89785] Incorrect "not a constant expression" error with switch statement that returns

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

[Bug c++/86767] [6/7 Regression] continue statements in constexpr functions causes unbounded looping

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86767 Andrew Pinski changed: What|Removed |Added CC||kevincox at kevincox dot ca --- Comment

[Bug c++/81042] Too many constexpr iterations on unreachable loop.

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

[Bug rtl-optimization/102115] New: symbol address eliminated by the xtensa size optimization

2021-08-28 Thread me at jhdtl dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102115 Bug ID: 102115 Summary: symbol address eliminated by the xtensa size optimization Product: gcc Version: 12.0 URL: https://github.com/earlephilhower/newlib-xtensa/issu

[Bug c++/82572] throw on line by itself in constexpr function aborts compile even if never reached

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82572 Bug 82572 depends on bug 80061, which changed state. Bug 80061 Summary: error on constexpr function with an unevaluated throw https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061 What|Removed |Added --

[Bug c++/80061] error on constexpr function with an unevaluated throw

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

[Bug c++/99859] constexpr evaluation with member function is incorrect

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c++/99859] constexpr evaluation with member function is incorrect

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 Andrew Pinski changed: What|Removed |Added CC||johelegp at gmail dot com --- Comment #2

[Bug c++/95806] Result of call with reference argument to newed object is cached during constant evaluation

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

[Bug libstdc++/101439] std::atomic::load() crashes - possible fix with mutable

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

[Bug c++/95806] Result of call with reference argument to newed object is cached during constant evaluation

2021-08-28 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95806 Will Wray changed: What|Removed |Added CC||wjwray at gmail dot com --- Comment #1 from

[Bug target/95722] libatomic crashes on __atomic_load of const object

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95722 Andrew Pinski changed: What|Removed |Added CC||doodspav at gmail dot com --- Comment #4

[Bug libstdc++/101439] std::atomic::load() crashes - possible fix with mutable

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

[Bug middle-end/101455] missing -Wstringop-overflow on buffer overflow by a complex number

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101455 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/98621] [9/10/11/12 Regression] ICE: x from g referenced in f

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98621 Andrew Pinski changed: What|Removed |Added CC||changochen1 at gmail dot com --- Comment

[Bug c/93572] [9/10/11/12 Regression] internal compiler error: q from h referenced in main

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

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-28 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 --- Comment #9 from David Binderman --- This second source code generates a similar but different error message: void dnslabel_vector_dnslabel_to_dnsname_namestack(int bottom) { char **name; int top; while (bottom <= top) { char label

[Bug c/79412] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2239

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79412 --- Comment #15 from Andrew Pinski --- *** Bug 101365 has been marked as a duplicate of this bug. ***

[Bug c/101365] [9/10/11/12 Regression] ICE: in fold_convert_loc, at fold-const.c:243

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

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-28 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c/101365] [9/10/11/12 Regression] ICE: in fold_convert_loc, at fold-const.c:243

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101365 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/101365] [9/10/11/12 Regression] ICE: in fold_convert_loc, at fold-const.c:243

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

[Bug fortran/99818] [10/11/12 Regression] ICE in gfc_get_tree_for_caf_expr, at fortran/trans-expr.c:2186

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99818 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug fortran/99818] [10/11/12 Regression] ICE in gfc_get_tree_for_caf_expr, at fortran/trans-expr.c:2186

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99818 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4a573574b17caf0391ee7f7febdaa82a9ff1094e commit r10-10078-g4a573574b17caf0391ee7f7febdaa82a9ff1094e Author: Paul Thomas Da

[Bug fortran/93925] Invalid memory reference upon call of a routine taking a procedure pointer as argument

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

[Bug middle-end/63434] builtins.c has incorrect parameters for GEN_CALL_VALUE

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63434 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug fortran/93924] [OOP] ICE with procedure pointer

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93924 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bf22e268b5c2a03216503254cfcb828016a7d998 commit r10-10077-gbf22e268b5c2a03216503254cfcb828016a7d998 Author: Paul Thomas D

[Bug fortran/93925] Invalid memory reference upon call of a routine taking a procedure pointer as argument

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93925 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bf22e268b5c2a03216503254cfcb828016a7d998 commit r10-10077-gbf22e268b5c2a03216503254cfcb828016a7d998 Author: Paul Thomas Da

[Bug tree-optimization/50918] Unoptimal code for vec-shift by scalar for integer (byte, short, long long) operands

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50918 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

[Bug fortran/93794] [9 Regression] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2497

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93794 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[9/10/11/12 Regression] ICE |[9 Regression] ICE in

[Bug fortran/93794] [9/10/11/12 Regression] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2497

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93794 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:803918dc6da9b7c88cc97635fc8a21bbd805a120 commit r10-10076-g803918dc6da9b7c88cc97635fc8a21bbd805a120 Author: Paul Thomas D

[Bug bootstrap/65065] ICE with -O3 -floop-block on bootstrap

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65065 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Resolution|---

[Bug target/64376] [SH] Improve bswap support

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

[Bug tree-optimization/64098] ICE isl_ctx.c:172: isl_ctx freed, but some objects still referenced

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64098 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Resolution|---

[Bug middle-end/63772] Double included .h files in gcc/gtype-desc.c

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63772 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/88486] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3401

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

[Bug testsuite/63211] gcc.target/i386/avx2-*.c tests use broken type-punning

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63211 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-28 Ever confirmed|0

[Bug c/53232] No warning for main() without a return statement with -std=c99

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

  1   2   >