[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-06 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #4 from Uroš Bizjak --- (In reply to Hongyu Wang from comment #3) > So we may need to support V8HFmode in VALID_SSE2_REG_MODE if we don't want > to modify those function_args and function_value stuff. We have V8HFmode moves for

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-06 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 Hongyu Wang changed: What|Removed |Added CC||wwwhhhyyy333 at gmail dot com ---

[Bug lto/94776] lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:153

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94776 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org

[Bug lto/69866] lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:158

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69866 Richard Biener changed: What|Removed |Added CC||harrywong at live dot com --- Comment

[Bug lto/88550] A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88550 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|WAITING

[Bug lto/86344] GCC 8.1 ICEd at LTO stage

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86344 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug lto/81847] ICE with LTO enabled

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81847 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug lto/69866] lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:158

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69866 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug lto/65995] LTO: ICE in add_symbol_to_partition_1, at lto/lto-partition.c:211 for debug build

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65995 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug lto/56963] GCC 4.8.0 LTO issue: lto1: internal compiler error: in add_symbol_to_partition, at lto/lto-partition.c:284

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56963 Richard Biener changed: What|Removed |Added CC||linuxsquirrel.dev at gmail dot com

[Bug lto/57715] lto1.exe: internal compiler error: in add_symbol_to_partition

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57715 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/93809] bogus error class tag used in naming union on typedef typename ::U U2

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

[Bug c++/83469] union is not accepted as a valid class-key in template name resolution

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83469 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/103596] [9/10/11/12 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103596 Andrew Pinski changed: What|Removed |Added Known to work||7.5.0 Status|UNCONFIRMED

[Bug tree-optimization/103596] [9/10/11/12 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103596 Andrew Pinski changed: What|Removed |Added Summary|[11/12 Regression] ICE: |[9/10/11/12 Regression]

[Bug tree-optimization/103596] New: [11/12 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

2021-12-06 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103596 Bug ID: 103596 Summary: [11/12 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:88

[Bug c++/83469] union is not accepted as a valid class-key in template name resolution

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83469 --- Comment #3 from Andrew Pinski --- (In reply to Marek Polacek from comment #1) > (gdb) p type > $4 = > (gdb) p class_key > $5 = union_type > > Should we allow such a combination? Yes. The code change here will also fix PR 93809. Let me try

[Bug c++/95873] Duplicated warning message "'class' tag used in naming 'union a'"

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95873 --- Comment #2 from Andrew Pinski --- The warning is invalid in this case anyways so even though there is a duplicated warning it only happens with valid code which should not warn at all.

[Bug c++/93809] bogus error class tag used in naming union on typedef typename ::U U2

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93809 --- Comment #4 from Andrew Pinski --- *** Bug 95873 has been marked as a duplicate of this bug. ***

[Bug c++/95873] Duplicated warning message "'class' tag used in naming 'union a'"

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

[Bug c++/94404] [meta-bug] C++ core issues

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 67013, which changed state. Bug 67013 Summary: [DR569] Compilation error for well-formed program with empty declaration in the global namespace https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67013 What

[Bug c++/96068] Extra semicolon outside of a function should be allowed after c++11?

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96068 Andrew Pinski changed: What|Removed |Added CC||anders.granlund.0 at gmail dot com ---

[Bug c++/67013] [DR569] Compilation error for well-formed program with empty declaration in the global namespace

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

[Bug c++/90107] [9/10/11/12 Regression] rejects-valid on global-namespace-qualified variable declared after class definition

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

[Bug c++/90107] [9/10/11/12 Regression] rejects-valid on global-namespace-qualified variable declared after class definition

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90107 Andrew Pinski changed: What|Removed |Added Known to fail||4.6.4 Summary|rejects-valid

[Bug c++/66892] [9/10/11/12 Regression] [DR355] Fix of core language defect 355 has status c++11 but is not implemented yet

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66892 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Summary|[DR355] Fix of

[Bug c++/66892] [DR355] Fix of core language defect 355 has status c++11 but is not implemented yet

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

[Bug c++/95610] GCC rejects class definition with a global qualification

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

[Bug c++/66892] [DR355] Fix of core language defect 355 has status c++11 but is not implemented yet

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66892 Andrew Pinski changed: What|Removed |Added Alias||cwg355 --- Comment #2 from Andrew

[Bug c++/44400] member function can have same name as constructor if declared using a typedef

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

[Bug c++/91013] member function can have same name as constructor if declared using a typedef

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

[Bug target/100868] PPC: Inefficient code for vec_reve(vector double)

2021-12-06 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100868 HaoChen Gui changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/34810] [DR1310] accepts invalid dependent type in template class method

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34810 Andrew Pinski changed: What|Removed |Added Summary|accepts invalid |[DR1310] accepts invalid

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #2 from Hongtao.liu --- > > Also, baz iz highly un-optimal for 32bit targets. Yes, it needs to be fixed, note w/ -mavx512fp16 codegen for baz is optimal on 32-bit target, maybe related to vector_mode_supported_p, but then why

[Bug c++/34810] accepts invalid dependent(?) type in template class method

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34810 --- Comment #11 from Andrew Pinski --- Someone who has better understanding of the C++ standard should answer the question if this is valid or not because I don't understand all of the specific rules rules which are in play here. Especially when

[Bug target/103554] -mavx generates worse code on scalar code

2021-12-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103554 --- Comment #8 from Hongtao.liu --- > but the x86 backend chooses to not let the vectorizer compare costs with > different vector sizes but instead asks it to pick the first working > solution from the vector of modes to consider (and in that

[Bug c++/34810] accepts invalid dependent(?) type in template class method

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34810 --- Comment #10 from Andrew Pinski --- Oh this: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#318 In a lookup in which the constructor is an acceptable lookup result, if the nested-name-specifier nominates a class C and the name

[Bug c++/40294] method definition can have the class scope multiple time

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40294 --- Comment #4 from Andrew Pinski --- *** Bug 33659 has been marked as a duplicate of this bug. ***

[Bug c++/33659] g++ permits duplicate class names in definition

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33659 --- Comment #3 from Andrew Pinski --- This is actually valid code, the class name is injected and can be used in this context (the last one is used to name the constructor otherwise). Dup of bug 40294 which is recording all of the valid cases

[Bug c++/40294] method definition can have the class scope multiple time

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40294 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |INVALID --- Comment #3 from Andrew

[Bug c++/34810] accepts invalid dependent(?) type in template class method

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34810 Andrew Pinski changed: What|Removed |Added Host|i386-portbld-freebsd6.2 |

[Bug c++/34810] accepts invalid dependent(?) type in template class method

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34810 --- Comment #8 from Andrew Pinski --- DR 147 is definitely the defect report here. Reading the new text still gives me questions about the case if typename is used: If the nested-name-specifier nominates a class C, and the name specified after

[Bug c++/34810] accepts invalid dependent(?) type in template class method

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

[Bug c++/89642] gcc rejects valid implicit typename context in cast

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

[Bug c++/34810] accepts invalid dependent(?) type in template class method

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

[Bug c++/66350] typename should be forbidden in inheriting constructors

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

[Bug c++/34810] accepts invalid dependent(?) type in template class method

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

[Bug c++/82347] Class Name Injection and Constructor Typenames

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

[Bug c++/34810] accepts invalid dependent(?) type in template class method

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

[Bug c++/103564] type-requirement that names a constructor should fail

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103564 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/103564] type-requirement that names a constructor should fail

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103564 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Maybe there is defect report in this area. Note even the original testcase MSVC accepts too.

[Bug c++/103564] type-requirement that names a constructor should fail

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103564 --- Comment #1 from Andrew Pinski --- Hmm, this is not really concept related, because GCC/ICC/MSVC all accept the following too: struct base { }; template void f(void) { typename T::base a; }; int main(void) { f(); } --- CUT While

[Bug c++/103566] confusing error message for typedefs with initializers

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

[Bug c++/103569] Type alias from result of lambda call in unevaluated context, used in template, is inconsistent

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

[Bug target/103594] [12 Regression] ICE in get, at cgraph.h:1335

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103594 --- Comment #2 from Andrew Pinski --- Created attachment 51937 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51937=edit Rewrite ix86_call_use_plt_p to be better Here is a rewrite and adds the check for FUNCTION_DECL before calling of

[Bug target/103594] [12 Regression] ICE in get, at cgraph.h:1335

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

[Bug c++/103186] [11/12 Regression] ICE with lambdas as default since r11-7965-g23be03a0f243a084

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 Andrew Pinski changed: What|Removed |Added CC||mortenkschou at gmail dot com ---

[Bug c++/103595] [11/12 Regression] std::function parameter with default value lambda, fails with error redefinition of 'const char _ZT... []'

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103595 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/103186] [11/12 Regression] ICE with lambdas as default since r11-7965-g23be03a0f243a084

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 --- Comment #9 from Andrew Pinski --- Just lambdas as default is needed really, reduced testcase: struct f { template f(const T1&){} }; template class A { public: void foo(A a, const f& fn = [](){}) { } void bar(A a) { foo(a); }

[Bug c++/103595] [11/12 Regression] std::function parameter with default value lambda, fails with error redefinition of 'const char _ZT... []'

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103595 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug c++/103595] [11 Regression] std::function parameter with default value lambda, fails with error redefinition of 'const char _ZT... []'

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103595 --- Comment #1 from Andrew Pinski --- typeinfo name for A::foo(A, std::function const&)::{default arg#1}::{lambda()#1}

[Bug c++/103595] New: [11 Regression] std::function parameter with default value lambda, fails with error redefinition of 'const char _ZT... []'

2021-12-06 Thread mortenkschou at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103595 Bug ID: 103595 Summary: [11 Regression] std::function parameter with default value lambda, fails with error redefinition of 'const char _ZT... []' Product: gcc

[Bug ipa/103594] [12 Regression] ICE in get, at cgraph.h:1335

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103594 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug target/103594] New: [12 Regression] ICE in get, at cgraph.h:1335

2021-12-06 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103594 Bug ID: 103594 Summary: [12 Regression] ICE in get, at cgraph.h:1335 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug rtl-optimization/70782] zero-initialized long returned by value generates useless stores/loads to the stack

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70782 --- Comment #3 from Andrew Pinski --- For the memset/memcpy version, I wonder if we should convert: MEM[(char * {ref-all})] = _10; ... MEM [(char * {ref-all})] = _8; Into using BIT_FIELD_REF.

[Bug target/57009] Select best typed instruction for scalar bitwise operations

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57009 --- Comment #2 from Andrew Pinski --- (In reply to Marc Glisse from comment #1) > union A { double d; unsigned long long i; }; > bool f(double x){ > A a; a.d = x; > unsigned long long inf = 0x7ff0; > return (a.i & inf) != inf;

[Bug target/26546] missed optimization with respect of vector intrinsics

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26546 --- Comment #4 from Andrew Pinski --- Without the uninitialized variable even LLVM produces the same assembly code. Is there really anything more to opimize here?

[Bug analyzer/103533] Enable "taint" state machine with -fanalyzer without requiring -fanalyzer-checker=taint

2021-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103533 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:c9543403c19fdc3c3b5a8db8546340de085bd14e commit r12-5815-gc9543403c19fdc3c3b5a8db8546340de085bd14e Author: David Malcolm Date:

[Bug tree-optimization/29756] SSE intrinsics hard to use without redundant temporaries appearing

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29756 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization --- Comment #17 from

[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

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

[Bug tree-optimization/103584] Points-to information is not conservatively correct

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

[Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/103492] 2 * new warnings in clang build

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103492 --- Comment #7 from Andrew Pinski --- reduced testcase for clang's warning: struct f { unsigned a:2; unsigned b:(32-2); }; int g(struct f *b) { switch (b->a) { case 0: return 2; case 1:

[Bug d/103558] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-06 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 Iain Buclaw changed: What|Removed |Added CC||doko at debian dot org --- Comment #2

[Bug d/103582] [12 Regression] trunk 20210501 ftbfs in libphobos on s390x-linux-gnu

2021-12-06 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103582 Iain Buclaw changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c/47781] warnings from custom printf format specifiers

2021-12-06 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781 --- Comment #26 from joseph at codesourcery dot com --- It's hard to define something that is sufficiently general to be useful but doesn't expose too much of the details of GCC's internal data structures for describing standard formats. %b

[Bug c/102291] [9/10/11/12 Regression] wrong overflow warning for compound expression conversion and bit_and expressions

2021-12-06 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102291 --- Comment #7 from joseph at codesourcery dot com --- I don't think TREE_OVERFLOW should be introduced in folding expressions that didn't have undefined behavior in the original source code.

[Bug c++/103593] [11/12 Regression] Naming the constructor of a template class without using the injected-class-name causes parse error with C++20

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103593 Andrew Pinski changed: What|Removed |Added Known to work||10.3.0 Summary|Naming the

[Bug fortran/103588] ICE: Simplification error in gfc_ref_dimen_size, at fortran/array.c:2407

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

[Bug c++/103593] New: Naming the constructor of a template class without using the injected-class-name causes parse error with C++20

2021-12-06 Thread enolan at alumni dot cmu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103593 Bug ID: 103593 Summary: Naming the constructor of a template class without using the injected-class-name causes parse error with C++20 Product: gcc Version:

[Bug fortran/103591] ICE in gfc_compare_string, at fortran/arith.c:1119

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

[Bug testsuite/103545] [12 regression] gcc.target/powerpc/undef-bool-2.c fails after r12-5580

2021-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103545 --- Comment #1 from CVS Commits --- The master branch has been updated by Paul Clarke : https://gcc.gnu.org/g:325c6163a33af91264d1b7817a45b8425d5e6a4f commit r12-5814-g325c6163a33af91264d1b7817a45b8425d5e6a4f Author: Paul A. Clarke Date:

[Bug jit/103562] Jitted code produces incorrect result when returning 3-member struct from internal function

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103562 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #2 from Andrew

[Bug c++/65861] libstdc++ is silently generating wrong code when its std::search is given an input iterator

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65861 --- Comment #13 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #11) > (In reply to Andrew Pinski from comment #10) > > GCC 10+ started to reject the code just the same as CLANG does. > > Clang doesn't reject it, libc++ does.

[Bug c++/103583] Range loop: "error: 'begin' was not declared in this scope" when 'end' is missing

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

[Bug target/103565] GCC emits more assembly than clang for carry flag

2021-12-06 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103565 --- Comment #4 from cqwrteur --- (In reply to Andrew Pinski from comment #3) > The tree level looks good: > _6 = (long long unsigned int) carry_1(D); > _13 = .ADD_OVERFLOW (a_3(D), _6); > temp_7 = REALPART_EXPR <_13>; > _14 =

[Bug target/103565] GCC emits more assembly than clang for carry flag

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

[Bug tree-optimization/103592] fatigue2 benchmarks on zen runs 43% faster with -fno-tree-vectorize -fno-tree-slp-vectorize

2021-12-06 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103592 --- Comment #1 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 > [Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) note that fatigue2 is polyhedron, not spec...

[Bug tree-optimization/103565] GCC emits more assembly than clang for carry flag

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103565 --- Comment #2 from Andrew Pinski --- The difference is just argument and return register differences (and maybe a register allocation issue). That is the extra instructions are: for add_carry_pattern_test: movzx edi, dil mov

[Bug fortran/103591] ICE in gfc_compare_string, at fortran/arith.c:1119

2021-12-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103591 --- Comment #2 from anlauf at gcc dot gnu.org --- Untested fix: diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c index 2bf21434a42..52bc5af7542 100644 --- a/gcc/fortran/match.c +++ b/gcc/fortran/match.c @@ -6075,6 +6075,15 @@

[Bug c/103587] [10/11/12 Regression] ICE in c_parser_consume_token, at c/c-parser.c:850

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

[Bug fortran/103591] ICE in gfc_compare_string, at fortran/arith.c:1119

2021-12-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103591 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

[Bug fortran/103589] ICE in gfc_match_varspec, at fortran/primary.c:2551

2021-12-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103589 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-12-06

[Bug fortran/103588] ICE: Simplification error in gfc_ref_dimen_size, at fortran/array.c:2407

2021-12-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103588 --- Comment #2 from anlauf at gcc dot gnu.org --- Untested patch: diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c index 5762c8d92d4..5f9ed17f919 100644 --- a/gcc/fortran/array.c +++ b/gcc/fortran/array.c @@ -2403,11 +2403,9 @@

[Bug tree-optimization/103592] New: fatigue2 benchmarks on zen runs 43% faster with -fno-tree-vectorize -fno-tree-slp-vectorize

2021-12-06 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103592 Bug ID: 103592 Summary: fatigue2 benchmarks on zen runs 43% faster with -fno-tree-vectorize -fno-tree-slp-vectorize Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/103588] ICE: Simplification error in gfc_ref_dimen_size, at fortran/array.c:2407

2021-12-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103588 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-12-06

[Bug fortran/101632] NON_RECURSIVE procedure prefix is unsupported. F2018 defaults to recursive procedures.

2021-12-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101632 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-12-06

[Bug fortran/103591] New: ICE in gfc_compare_string, at fortran/arith.c:1119

2021-12-06 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103591 Bug ID: 103591 Summary: ICE in gfc_compare_string, at fortran/arith.c:1119 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/103590] New: ICE: find_array_spec(): Missing spec

2021-12-06 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103590 Bug ID: 103590 Summary: ICE: find_array_spec(): Missing spec Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/103589] New: ICE in gfc_match_varspec, at fortran/primary.c:2551

2021-12-06 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103589 Bug ID: 103589 Summary: ICE in gfc_match_varspec, at fortran/primary.c:2551 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

  1   2   3   >