[Bug ipa/100994] [12 Regression] wrong code with "-O1 -finline-small-functions -fipa-cp"

2021-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100994 --- Comment #5 from Jakub Jelinek --- Consider with the same -O2 -fno-early-inlining -fno-tree-sra -fno-tree-fre flags: const struct S { unsigned b : 4; unsigned c : 9; } d; __attribute__((noipa)) void foo (void) {} static int bar (const struct

[Bug target/100998] [12 Regression] bug in experimental GCC12 with optimization '-O1', disappears with optimization '-O0'

2021-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100998 --- Comment #5 from Andrew Pinski --- (In reply to Peter Bergner from comment #3) > (In reply to Andrew Pinski from comment #2) > > If this is powerpc and on power10, then it is most likely caused by > > r12-1020. > > Not arguing with you, but

[Bug c++/101000] New: ICE when trying to import the absl/container/flat_hash_map.h as a header module

2021-06-09 Thread boris.staletic at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101000 Bug ID: 101000 Summary: ICE when trying to import the absl/container/flat_hash_map.h as a header module Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severi

[Bug tree-optimization/100925] [12 Regression] tree check fail in make_range_step with -O1 in reassoc

2021-06-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100925 --- Comment #8 from CVS Commits --- The master branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:d4faa36e7540c573c5dc17850bcd938d0900b2e9 commit r12-1349-gd4faa36e7540c573c5dc17850bcd938d0900b2e9 Author: Andrew Pinski Date: S

[Bug tree-optimization/100925] [12 Regression] tree check fail in make_range_step with -O1 in reassoc

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

[Bug c++/101000] ICE when trying to import the absl/container/flat_hash_map.h as a header module

2021-06-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101000 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-06-09 Ever confirmed|0

[Bug target/100998] [12 Regression] bug in experimental GCC12 with optimization '-O1', disappears with optimization '-O0'

2021-06-09 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100998 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |acsawdey at gcc dot gnu.org

[Bug tree-optimization/101001] New: wrong code at -O3 on x86_64-linux-gnu

2021-06-09 Thread qrzhang at gatech dot edu via Gcc-bugs
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: qrzhang at gatech dot edu Target Milestone: --- It affects gcc-8 to the trunk. Gcc-7 works fine. $ gcc-trunk -v gcc version 12.0.0 20210609 (experimental) [master revision 174e75a2107:3b61ba37fe1

[Bug ipa/100994] [12 Regression] wrong code with "-O1 -finline-small-functions -fipa-cp"

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

[Bug target/100998] [12 Regression] bug in experimental GCC12 with optimization '-O1', disappears with optimization '-O0'

2021-06-09 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100998 --- Comment #7 from Peter Bergner --- (In reply to Peter Bergner from comment #6) > And you guessed well! I built a mainline compiler for Gordon with Aaron's > commit reverted and the issue goes away. Assigning this to Aaron to debug. Talking

[Bug target/100998] [12 Regression] bug in experimental GCC12 with optimization '-O1', disappears with optimization '-O0'

2021-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100998 --- Comment #8 from Andrew Pinski --- (In reply to Peter Bergner from comment #7) > (In reply to Peter Bergner from comment #6) > > And you guessed well! I built a mainline compiler for Gordon with Aaron's > > commit reverted and the issue goes

[Bug testsuite/101002] New: Some powerpc tests fail with -mlong-double-64

2021-06-09 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101002 Bug ID: 101002 Summary: Some powerpc tests fail with -mlong-double-64 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: te

[Bug target/100998] [12 Regression] bug in experimental GCC12 with optimization '-O1', disappears with optimization '-O0'

2021-06-09 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100998 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/101003] New: [12 regression] ICE compiling gcc.dg/pr86179.c after r12-1329

2021-06-09 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101003 Bug ID: 101003 Summary: [12 regression] ICE compiling gcc.dg/pr86179.c after r12-1329 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

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

2021-06-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100950 anlauf at gcc dot gnu.org changed: What|Removed |Added Attachment #50967|0 |1 is obsolete|

[Bug ipa/100994] [12 Regression] wrong code with "-O1 -finline-small-functions -fipa-cp"

2021-06-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100994 --- Comment #7 from Eric Botcazou --- > Perhaps the tree-inline.c change is fine for Ada, but it doesn't seem to be > safe for C/C++. You're casting away the const qualifier though, how can this valid C++?

[Bug ipa/100994] [12 Regression] wrong code with "-O1 -finline-small-functions -fipa-cp"

2021-06-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100994 --- Comment #8 from Eric Botcazou --- > The > MEM[(struct a *)&l].c = l$c_24; > in the function to be inlined is there since esra. Arguably it is strange > that esra stores back into the parameter when it is const. Right, it's a duplicate of

[Bug ipa/100994] [12 Regression] wrong code with "-O1 -finline-small-functions -fipa-cp"

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

[Bug tree-optimization/100453] [12 Regression] wrong code at -O1 and above since r12-434

2021-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100453 Andrew Pinski changed: What|Removed |Added CC||suochenyao at 163 dot com --- Comment #

[Bug target/100085] Bad code for union transfer from __float128 to vector types

2021-06-09 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 --- Comment #11 from Peter Bergner --- (In reply to luoxhu from comment #9) > But for __float128 to __int128 mentioned in #c4, need hack > rs6000_modes_tieable_p > to remove the stack operation in dse1. But I am not sure this is *LEGAL* > since

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

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

[Bug c++/101004] New: SFINAE constrained conversion operator of class template parameter type does not work with built-in arithmetic operators

2021-06-09 Thread namark at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101004 Bug ID: 101004 Summary: SFINAE constrained conversion operator of class template parameter type does not work with built-in arithmetic operators Product: gcc Ver

[Bug target/100085] Bad code for union transfer from __float128 to vector types

2021-06-09 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100085 --- Comment #12 from Segher Boessenkool --- We want to use plain TImode instead of V1TImode on newer cpus. It probably is a good idea (for performance) on p9 already, but this will need testing. That's only sideways related to this issue though

[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-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100904 --- Comment #3 from David Malcolm --- FWIW the following hackish workaround seems to fix it, though am still investigating why this is happening. diff --git a/libcpp/directives.c b/libcpp/directives.c index f4aa17d1156..b5bdd443a5a 100644 --- a

[Bug bootstrap/101005] New: [12 regression] bootstrap failure after r12-1342

2021-06-09 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101005 Bug ID: 101005 Summary: [12 regression] bootstrap failure after r12-1342 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/101005] [12 regression] bootstrap failure after r12-1342

2021-06-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101005 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/101006] New: Request diagnostic for likely concept syntax errors

2021-06-09 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101006 Bug ID: 101006 Summary: Request diagnostic for likely concept syntax errors Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug tree-optimization/97770] [ICELAKE]Missing vectorization for vpopcnt

2021-06-09 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97770 --- Comment #17 from Hongtao.liu --- (In reply to Richard Biener from comment #16) > Changing the signature will not help given we don't want to regress other > cases. > Instead we have to somehow remove the pro- and demotions with the help of >

[Bug c/100939] Missing warning with misplaced attribute declaration in struct, enum, or union definition

2021-06-09 Thread johnfbennett at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100939 --- Comment #1 from johnfbennett at protonmail dot com --- G++ does have a good warning for this scenario: $ g++ -Wall misplacedattribute.c misplacedattribute.c: In function ‘int main()’: misplacedattribute.c:7:37: warning: attributes ignored on

[Bug driver/100937] configure: Add --enable-default-semantic-interposition

2021-06-09 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100937 --- Comment #6 from Fangrui Song --- Then can you add a -fvisibility=protected variant which only applies to non-weak defined functions? Two issues need to be fixed: (1): https://sourceware.org/bugzilla/show_bug.cgi?id=27973 __attribute__((vi

[Bug target/101007] New: ICE: in extract_insn, at recog.c:2770 (unrecognizable insn) with -mno-sse2

2021-06-09 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101007 Bug ID: 101007 Summary: ICE: in extract_insn, at recog.c:2770 (unrecognizable insn) with -mno-sse2 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice

[Bug rtl-optimization/101008] New: ICE: in native_encode_rtx, at simplify-rtx.c:6594 with -O -g

2021-06-09 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101008 Bug ID: 101008 Summary: ICE: in native_encode_rtx, at simplify-rtx.c:6594 with -O -g Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

2021-06-09 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 --- Comment #19 from rguenther at suse dot de --- On Wed, 9 Jun 2021, public at timruffing dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667 > > Tim Ruffing changed: > >What|Removed |Added

[Bug c/100993] ICE with -O2: Segmentation fault, cgraph_update_edges_for_call_stmt(gimple*, tree_node*, gimple*)

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

[Bug tree-optimization/97770] [ICELAKE]suboptimal vectorization for vpopcntw/b/q

2021-06-09 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97770 --- Comment #18 from rguenther at suse dot de --- On Thu, 10 Jun 2021, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97770 > > --- Comment #17 from Hongtao.liu --- > (In reply to Richard Biener from comment #1

[Bug tree-optimization/101001] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

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

[Bug tree-optimization/101003] [12 regression] ICE compiling gcc.dg/pr86179.c after r12-1329

2021-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101003 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-06-10 Assignee|unassign

[Bug target/101007] ICE: in extract_insn, at recog.c:2770 (unrecognizable insn) with -mno-sse2

2021-06-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101007 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-06-10 Ever confirmed|0

<    1   2