[Bug target/100952] [12 regression] several test case failures after r12-1202

2021-06-08 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 --- Comment #4 from HaoChen Gui --- For fusion-p10-ldcmpi.c and prefix-no-update.c, the optimization doesn't work when mode promotion is disabled. I will do further investigation.

[Bug testsuite/100943] [12 regression] new test gcc.dg/pr100887.c in r12-1256 fails with excess errors

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100943 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/100946] [11/12 Regression] [concepts] nonsensical results of compound requirements in requires expressions

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100946 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/100949] [9/10/11/12 Regression] ICE in gfc_conv_expr_present, at fortran/trans-expr.c:1975

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100949 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug tree-optimization/28794] missed optimization with non-COND_EXPR and vrp and comparisions

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28794 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-01-17 00:00:00 |2021-6-8 --- Comment #4 from Andrew Pins

[Bug middle-end/99928] [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 --- Comment #21 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:245517470d6948a40cead9f5c312b8d79ac5c491 commit r12-1278-g245517470d6948a40cead9f5c312b8d79ac5c491 Author: Tobias Burnus Date: T

[Bug fortran/100950] ICE in output_constructor_regular_field, at varasm.c:5514

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100950 --- Comment #3 from Richard Biener --- So we hit /* Check if a STRING_CST fits into the field. Tolerate only the case when the NUL termination does not fit into the field. */ static bool check_string_literal (tree string, unsigned HOST

[Bug middle-end/100951] vec_duplicate leads to worse code

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100951 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org L

[Bug target/100952] [12 regression] several test case failures after r12-1202

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug inline-asm/100953] Add memory clobbers just for reads or just for writes

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

[Bug c++/100957] [12 Regression] ICE: Segmentation fault (in copy_tree_body_r)

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100957 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug testsuite/100943] [12 regression] new test gcc.dg/pr100887.c in r12-1256 fails with excess errors

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100943 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ec2174c6957e97bd69c001a782cd52b98e6ba2fb commit r12-1279-gec2174c6957e97bd69c001a782cd52b98e6ba2fb Author: Jakub Jelinek Date: T

[Bug target/100887] [12 Regression] ICE: in ix86_expand_vector_init_concat, at config/i386/i386-expand.c:14178 with -mavx512f and __builtin_shufflevector()

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100887 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ec2174c6957e97bd69c001a782cd52b98e6ba2fb commit r12-1279-gec2174c6957e97bd69c001a782cd52b98e6ba2fb Author: Jakub Jelinek Date:

[Bug other/100959] New: -fuse-ld=lld does not work when -flto is enabled

2021-06-08 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100959 Bug ID: 100959 Summary: -fuse-ld=lld does not work when -flto is enabled Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/100957] [12 Regression] ICE: Segmentation fault (in copy_tree_body_r)

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100957 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug tree-optimization/100299] [11 Regression] cc1plus taking all RAM in EVRP

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100299 Richard Biener changed: What|Removed |Added Summary|[11/12 Regression] cc1plus |[11 Regression] cc1plus

[Bug lto/100959] -fuse-ld=lld does not work when -flto is enabled (aka LLVM lld does not work correctly with gcc)

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

[Bug lto/100959] -fuse-ld=lld does not work when -flto is enabled (aka LLVM lld does not work correctly with gcc)

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100959 --- Comment #2 from Andrew Pinski --- That is the plugin API/ABI is different between LLVM and binutils ld (bfd and gold). We only support binutils ld plugins.

[Bug tree-optimization/55155] Autovectorization does not use unaligned loads/stores

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

[Bug debug/100960] New: var-tracking: parameter location in subregister not tracked

2021-06-08 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100960 Bug ID: 100960 Summary: var-tracking: parameter location in subregister not tracked Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug target/14224] GCC generates pessimizes code for integer division

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

[Bug target/14255] i386 backend should be teached how to use divl

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14255 Bug 14255 depends on bug 14224, which changed state. Bug 14224 Summary: GCC generates pessimizes code for integer division https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14224 What|Removed |Added -

[Bug fortran/100961] New: Intrinsic function as value to a class(*) assumed rank argument fails

2021-06-08 Thread mscfd at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100961 Bug ID: 100961 Summary: Intrinsic function as value to a class(*) assumed rank argument fails Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/30267] folding (~ -x) >= (-2147483647-1) to x != -2147483648

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

[Bug middle-end/100951] vec_duplicate leads to worse code

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100951 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ffe3a37f54ab866d85bdde48c2a32be5e09d8515 commit r12-1280-gffe3a37f54ab866d85bdde48c2a32be5e09d8515 Author: Richard Biener Date:

[Bug middle-end/100951] vec_duplicate leads to worse code

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

[Bug debug/100960] var-tracking: parameter location in subregister not tracked

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100960 --- Comment #1 from Richard Biener --- sounds like an implementation oversight to me.

[Bug target/43526] ICE: in construct_container, at config/i386/i386.c:5733 with -m96bit-long-double at x86_64-linux

2021-06-08 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43526 Zdenek Sojka changed: What|Removed |Added Known to work||12.0 Known to fail|

[Bug target/14224] GCC generates pessimizes code for integer division

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14224 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug rtl-optimization/17234] if-conversion problem

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17234 --- Comment #8 from Andrew Pinski --- I can no longer reproduce this issue with a more recent compiler. Also The order of the basic block changed. So we have now: entry je L3 calls L3: ret Most likely due to the heurstics changes. Anyways I for

[Bug tree-optimization/22196] Missed back prop

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22196 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Andrew Pins

[Bug debug/100960] var-tracking: parameter location in subregister not tracked

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100960 Jakub Jelinek changed: What|Removed |Added CC||aoliva at gcc dot gnu.org,

[Bug c++/100957] [12 Regression] ICE: Segmentation fault (in copy_tree_body_r)

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100957 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8b4641033ab6901c18f68b98843f1038a9a52e03 commit r12-1284-g8b4641033ab6901c18f68b98843f1038a9a52e03 Author: Jakub Jelinek Date: T

[Bug c++/100957] [12 Regression] ICE: Segmentation fault (in copy_tree_body_r)

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100957 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/100943] [12 regression] new test gcc.dg/pr100887.c in r12-1256 fails with excess errors

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100943 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/29881] union causes inefficient code

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

[Bug middle-end/35345] Scalar replacement to handle output dependence

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35345 Andrew Pinski changed: What|Removed |Added Known to fail||7.4.0 Target Milestone|---

[Bug c/100962] New: Poor optimization of AVR code when using structs in __flash

2021-06-08 Thread mojo at world3 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100962 Bug ID: 100962 Summary: Poor optimization of AVR code when using structs in __flash Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/45215] Tree-optimization misses a trick with bit tests

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

[Bug tree-optimization/45217] Tree optimizations do not recognize partial stores

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45217 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Build|i686-pc-linu

[Bug debug/100960] var-tracking: parameter location in subregister not tracked

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100960 --- Comment #3 from Jakub Jelinek --- Slightly related was https://gcc.gnu.org/legacy-ml/gcc-patches/2010-03/msg01379.html So, perhaps for the case where we do not track the source register in the wider mode we could for var-tracking purpose als

[Bug target/47949] Missed optimization for -Os using xchg instead of mov.

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47949 --- Comment #4 from Andrew Pinski --- This might have been fixed already via the commit referenced in PR92549

[Bug tree-optimization/45217] Tree optimizations do not recognize partial stores

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45217 --- Comment #3 from Richard Biener --- Note that alternatively we do allow BIT_FIELD_REF on the LHS if it operates on memory... (we're inserting into a global variable for the testcase). But indeed a RMW cycle might be prefered on targets that c

[Bug c++/100963] New: GCC 11 regression: templated constructor with std::initializer_list is not selected

2021-06-08 Thread j.l.k at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963 Bug ID: 100963 Summary: GCC 11 regression: templated constructor with std::initializer_list is not selected Product: gcc Version: 11.1.0 Status: UNCONFIRMED Se

[Bug middle-end/30267] folding (~ -x) >= (-2147483647-1) to x != -2147483648

2021-06-08 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30267 Bruno Haible changed: What|Removed |Added Known to work||10.3.0, 11.1.0, 6.5.0,

[Bug c++/100963] [11/12 Regression] GCC 11 regression: templated constructor with std::initializer_list is not selected

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/43526] ICE: in construct_container, at config/i386/i386.c:5733 with -m96bit-long-double at x86_64-linux

2021-06-08 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43526 Uroš Bizjak changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/100962] Poor optimization of AVR code when using structs in __flash

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100962 --- Comment #1 from Richard Biener --- You are using quite old (and unmaintained) GCC - does using newer GCC, like GCC 10 or GCC 11 improve things?

[Bug c++/100963] [11/12 Regression] GCC 11 regression: templated constructor with std::initializer_list is not selected

2021-06-08 Thread j.l.k at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963 Jakub Klinkovský changed: What|Removed |Added CC||j.l.k at gmx dot com --- Comment #1

[Bug d/100964] New: d: TypeInfo error when using slice copy on Structs with -fno-rtti

2021-06-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100964 Bug ID: 100964 Summary: d: TypeInfo error when using slice copy on Structs with -fno-rtti Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug debug/100852] [11/12 Regression] -fcompare-debug failure (length) with -Og -fif-conversion -fno-tree-ccp -fno-tree-copy-prop

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100852 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug rtl-optimization/100622] Conversion to smaller unsigned type in loop

2021-06-08 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100622 --- Comment #7 from Segher Boessenkool --- Nice :-)

[Bug fortran/100965] New: [OpenMP] ICE: Error: incorrect sharing of tree nodes

2021-06-08 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100965 Bug ID: 100965 Summary: [OpenMP] ICE: Error: incorrect sharing of tree nodes Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity:

[Bug c/100920] bogus warnings with -Wscalar-storage-order

2021-06-08 Thread george.thopas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920 --- Comment #9 from George Thopas --- /* Hi Eric, 1) I noticed there's a typo in the test, (which is my fault) and may give unexpected behavior later on memcpy(msg2, &msg1, sizeof(t_s12)); => should be memcpy(msg2, msg1, sizeof(t_

[Bug target/100966] New: [AArch64] __builtin_roundeven[f] is not inlined

2021-06-08 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100966 Bug ID: 100966 Summary: [AArch64] __builtin_roundeven[f] is not inlined Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug libstdc++/100947] gthr-default.h

2021-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100947 --- Comment #1 from Jonathan Wakely --- Please provide your full configure command. Does using --disable-threads make any difference?

[Bug c++/100956] Unused variable warnings ignore "if constexpr" blocks where variables are conditionally used

2021-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100956 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/81676] Wrong warning with unused-but-set-parameter within 'if constexpr'

2021-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81676 Jonathan Wakely changed: What|Removed |Added CC||mattreecebentley at gmail dot com ---

[Bug c++/81676] Wrong warning with unused-but-set-parameter within 'if constexpr'

2021-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81676 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/100963] [11/12 Regression] GCC 11 regression: templated constructor with std::initializer_list is not selected

2021-06-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-08 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #4 from TC --

[Bug d/100967] New: d: ICE: Segmentation fault (../../gcc/d/dmd/declaration.c:1258) with -fno-rtti

2021-06-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100967 Bug ID: 100967 Summary: d: ICE: Segmentation fault (../../gcc/d/dmd/declaration.c:1258) with -fno-rtti Product: gcc Version: 9.4.1 Status: UNCONFIRMED Severity

[Bug d/100967] d: ICE: Segmentation fault (../../gcc/d/dmd/declaration.c:1258) with -fno-rtti

2021-06-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100967 --- Comment #1 from Iain Buclaw --- ice.d:4:7: internal compiler error: Segmentation fault 4 | aa[0] = 1; | ^ 0xe958af crash_signal ../../gcc/toplev.c:327 0x88d8b8 TypeInfoDeclaration::TypeInfoDeclaration(Type*)

[Bug tree-optimization/100923] [9/10/11/12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100923 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7a56d3d3e99cc77ad8a6a674870c814da6225675 commit r12-1295-g7a56d3d3e99cc77ad8a6a674870c814da6225675 Author: Richard Biener Date:

[Bug tree-optimization/100923] [9/10/11 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100923 Richard Biener changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression] wrong

[Bug c++/100963] [11/12 Regression] GCC 11 regression: templated constructor with std::initializer_list is not selected

2021-06-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/91706] [9/10/11/12 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in equate_type_number_to_die, at dwarf2out.c:5782

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91706 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:46c1a9f6d03ab444b42c41067597e3fbfba38486 commit r11-8524-g46c1a9f6d03ab444b42c41067597e3fbfba38486 Author: Jason Merrill

[Bug middle-end/54400] recognize vector reductions

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54400 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/100962] Poor optimization of AVR code when using structs in __flash

2021-06-08 Thread mojo at world3 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100962 --- Comment #2 from mojo at world3 dot net --- avr-gcc-11.1.0-x64-windows>bin\avr-gcc -Og -xc -Wall -mmcu=atxmega64a1u test.c avr-gcc-11.1.0-x64-windows>bin\avr-objdump -h -S a.out > list.s Still producing code like this 2de: 18 97

[Bug debug/100852] [11/12 Regression] -fcompare-debug failure (length) with -Og -fif-conversion -fno-tree-ccp -fno-tree-copy-prop

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100852 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Eve

[Bug target/100962] Poor optimization of AVR code when using structs in __flash

2021-06-08 Thread mojo at world3 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100962 --- Comment #3 from mojo at world3 dot net --- Apologies, I noticed I had -Og on. Tried with -O3 and it optimised the struct away. With -O2 it uses the Z register with displacement, reading data from flash. So it seems that only -Og produces poo

[Bug inline-asm/100953] Add memory clobbers just for reads or just for writes

2021-06-08 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100953 --- Comment #2 from Segher Boessenkool --- Sure :-) But syntactically it probably is best put amongst the clobbers, all code parsing that already knows about handling various special cases of syntax (well, just "memory" and "cc", and the variou

[Bug target/58790] [missed optimization] reduction of masks of builtin vectors not transformed to ptest or movemask instructions

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58790 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug tree-optimization/58821] conditional reduction does not vectorize

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

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 58821, which changed state. Bug 58821 Summary: conditional reduction does not vectorize https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58821 What|Removed |Added ---

[Bug other/100968] New: libiberty: stuck in infinite loop in nm-new while demangling rust symbols

2021-06-08 Thread terrynini38514 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100968 Bug ID: 100968 Summary: libiberty: stuck in infinite loop in nm-new while demangling rust symbols Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug target/58790] [missed optimization] reduction of masks of builtin vectors not transformed to ptest or movemask instructions

2021-06-08 Thread kretz at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58790 --- Comment #4 from Matthias Kretz (Vir) --- I'm still not familiar with this part of GCC, but isn't `_2 == { -1, -1, -1, -1 }` equivalent to _1, i.e. it reverses VEC_COND_EXPR? However, if the `==` is supposed to return a scalar boolean instead

[Bug target/57952] AVX/AVX2 no ymm registers used in a trivial reduction

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

[Bug libgomp/59546] wrong behavior with reduction

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

[Bug tree-optimization/66623] Unsafe FP math reduction used in strict math mode

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

[Bug tree-optimization/81815] Invalid conditional reduction

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

[Bug fortran/100965] [OpenMP] ICE: Error: incorrect sharing of tree nodes

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100965 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Last

[Bug fortran/100965] [OpenMP] ICE: Error: incorrect sharing of tree nodes

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100965 --- Comment #1 from Jakub Jelinek --- Created attachment 50965 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50965&action=edit gcc12-pr100965.patch Untested fix.

[Bug libstdc++/100947] gthr-default.h

2021-06-08 Thread kclifford at tranaptic dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100947 --- Comment #2 from Keith Clifford --- The configure command is: configure --build=i686-w64-mingw32 --host=i686-w64-mingw32 --target=arm-eabi --enable-__cxa_atexit --with-pkgversion=Tranaptic-2021/06/06-12:09:39 --with-bugurl=none --enable-lang

[Bug debug/100969] New: Incorrect debug info for struct under O1 optimization

2021-06-08 Thread liyd2021 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100969 Bug ID: 100969 Summary: Incorrect debug info for struct under O1 optimization Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug fortran/100950] ICE in output_constructor_regular_field, at varasm.c:5514

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

[Bug fortran/100961] Intrinsic function as value to a class(*) assumed rank argument fails

2021-06-08 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100961 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2021-06-08 Status|UN

[Bug c/100920] bogus warnings with -Wscalar-storage-order

2021-06-08 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920 --- Comment #10 from Eric Botcazou --- > Raising one for these cases is really problematic. Functions using void in > stead of an explicit type are explicitly saying that the type does not > matter. There never is a warning for any other type wh

[Bug testsuite/100407] New test cases attr-retain-*.c fail after their introduction in r11-7284

2021-06-08 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100407 Peter Bergner changed: What|Removed |Added CC||amodra at gcc dot gnu.org --- Comment #

[Bug fortran/100950] ICE in output_constructor_regular_field, at varasm.c:5514

2021-06-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100950 --- Comment #5 from G. Steinmetz --- It should be valid, type-spec is explicitly given and the ac-values are type compatible (see e.g. F2018 7.8). With len(x(1:2))==2 the following simplified example works : $ cat zz1.f90 program p print *

[Bug fortran/100970] New: ICE in output_constructor_regular_field, at varasm.c:5514

2021-06-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100970 Bug ID: 100970 Summary: ICE in output_constructor_regular_field, at varasm.c:5514 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug fortran/100971] New: ICE: Bad IO basetype (7)

2021-06-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100971 Bug ID: 100971 Summary: ICE: Bad IO basetype (7) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assig

[Bug fortran/100972] New: Missing error with "implicit none (external)"

2021-06-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100972 Bug ID: 100972 Summary: Missing error with "implicit none (external)" Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fo

[Bug fortran/53653] [IR Tracking] Disallow abstract/unlimited-polymorphic types in array constructors

2021-06-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53653 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #3 from G.

[Bug preprocessor/100904] [9/10/11/12 Regression] Wrong line location #include error "No such file or directory" – line + 1 [traditional mode as used by gfortran]

2021-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100904 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-06-08 CC|

[Bug c++/100963] [11/12 Regression] GCC 11 regression: templated constructor with std::initializer_list is not selected

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:91349e57bbfd010156b9128b2ad751c8843e7245 commit r12-1299-g91349e57bbfd010156b9128b2ad751c8843e7245 Author: Jason Merrill Date: T

[Bug c++/100963] [11/12 Regression] GCC 11 regression: templated constructor with std::initializer_list is not selected

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5af06ce836d4d8d1654db3855db8b86a994faf49 commit r11-8526-g5af06ce836d4d8d1654db3855db8b86a994faf49 Author: Jason Merrill

[Bug c++/100973] New: gcc does not optimise based on knowing that `_mm256_movemask_ps` returns less than 255

2021-06-08 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100973 Bug ID: 100973 Summary: gcc does not optimise based on knowing that `_mm256_movemask_ps` returns less than 255 Product: gcc Version: og10 (devel/omp/gcc-10) Status: UNCO

[Bug c++/100963] [11/12 Regression] GCC 11 regression: templated constructor with std::initializer_list is not selected

2021-06-08 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/100950] ICE in output_constructor_regular_field, at varasm.c:5514

2021-06-08 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100950 --- Comment #6 from Steve Kargl --- On Tue, Jun 08, 2021 at 05:09:05PM +, gs...@t-online.de wrote: > > It should be valid, type-spec is explicitly given and the ac-values > are type compatible (see e.g. F2018 7.8). With len(x(1:2))==2 the >

  1   2   >