[Bug tree-optimization/101555] Compile slowdown in tree PRE

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101555 --- Comment #5 from Richard Biener --- OK, so most of the time is spent in ANTIC compute, specifically PHI translation and there translate_vuse_through_block doing the (rate limited) stmt_may_clobber_ref_p_1 query. It's a bit fishy that we're d

[Bug target/102226] ICE with -O3 -msve-vector-bits=128

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226 Richard Biener changed: What|Removed |Added Target||aarch64 Keywords|

[Bug tree-optimization/102216] [12 Regression] missed optimization causing Warray-bounds

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 --- Comment #6 from Andrew Pinski --- Created attachment 51420 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51420&action=edit Patch which I am testing.

[Bug target/102226] ICE with -O3 -msve-vector-bits=128

2021-09-07 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226 --- Comment #2 from Gilles Gouaillardet --- Created attachment 51421 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51421&action=edit preprocessed reproducer Here is the preprocessed reproducer

[Bug target/102211] [12 regression] ICE introduced by r12-3277

2021-09-07 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102211 Andreas Schwab changed: What|Removed |Added Summary|ICE introduced by r12-3277 |[12 regression] ICE

[Bug target/102226] ICE with -O3 -msve-vector-bits=128

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

[Bug target/102211] [12 regression] ICE introduced by r12-3277

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

[Bug analyzer/102225] [12 Regression] ICE in get_or_create_int_cst, at analyzer/region-model-manager.cc:227 since r12-3237-geafa9d969237fd8f

2021-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102225 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org St

[Bug target/102226] [12 Regression] ICE with -O3 -msve-vector-bits=128

2021-09-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226 ktkachov at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1 Summary|ICE

[Bug target/102227] New: [12 Regression] Likely wrong code since r12-3376-g13beaf9e8d2d8264c0ad8f6504793fdcf26f3f73

2021-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102227 Bug ID: 102227 Summary: [12 Regression] Likely wrong code since r12-3376-g13beaf9e8d2d8264c0ad8f6504793fdcf26f3f73 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/102227] [12 Regression] Likely wrong code since r12-3376-g13beaf9e8d2d8264c0ad8f6504793fdcf26f3f73

2021-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102227 Martin Liška changed: What|Removed |Added Target Milestone|--- |12.0 Priority|P3

[Bug target/102227] [12 Regression] Likely wrong code since r12-3376-g13beaf9e8d2d8264c0ad8f6504793fdcf26f3f73

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

[Bug tree-optimization/101555] Compile slowdown in tree PRE

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101555 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f387ff788f63c1974479644edae728047f843ec4 commit r12-3378-gf387ff788f63c1974479644edae728047f843ec4 Author: Richard Biener Date:

[Bug tree-optimization/101555] Compile slowdown in tree PRE

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101555 --- Comment #7 from Richard Biener --- The committed change improves compile-time to less than 50s, in principle it also applies to the GCC 11 and 10 branches where the related issue was fixed.

[Bug target/102222] ICE on s390 (internal compiler error: in extract_insn, at recog.c:2770)

2021-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
c version 12.0.0 20210907 (experimental) (GCC)

[Bug target/102224] [9/10/11/12 regession] wrong code for `x * copysign(1.0, x)` since r9-5298-g33142cf9cf82aa1f

2021-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102224 Martin Liška changed: What|Removed |Added Summary|[9/10/11/12 regession] |[9/10/11/12 regession]

[Bug target/102226] [12 Regression] ICE with -O3 -msve-vector-bits=128

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226 --- Comment #5 from Richard Biener --- Confirmed - the incompatibility is hidden in the mode which isn't printed by the checking message. The PHI result has VNx2DImode while the PHI argument has V2DImode. It looks like this is from reduction-P

[Bug target/102226] [12 Regression] ICE with -O3 -msve-vector-bits=128

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

[Bug gcov-profile/80223] RFE: Exclude functions from profile instrumentation

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223 --- Comment #24 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:aad72d2ea8378e1a56c00d15daa4bdcac8a5ae39 commit r12-3379-gaad72d2ea8378e1a56c00d15daa4bdcac8a5ae39 Author: Martin Liska Date: Tue

[Bug gcov-profile/80223] RFE: Exclude functions from profile instrumentation

2021-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/102224] [9/10/11/12 regession] wrong code for `x * copysign(1.0, x)` since r9-5298-g33142cf9cf82aa1f

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

[Bug c++/102228] New: lookup_anon_field is quadratic

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102228 Bug ID: 102228 Summary: lookup_anon_field is quadratic Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Ass

[Bug c++/102228] lookup_anon_field is quadratic

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102228 Richard Biener changed: What|Removed |Added CC||jason at gcc dot gnu.org Key

[Bug c++/102228] lookup_anon_field is quadratic

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102228 --- Comment #2 from Richard Biener --- For the PR101555 testcase if you can trust callgrind we get 4000 times into build_class_member_access_expr and recurse 3000 times which means on average we have two nested anon aggregates. But then the loo

[Bug c++/102228] lookup_anon_field is quadratic

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102228 --- Comment #3 from Richard Biener --- The odd thing is of course that name lookup must already have found MEMBER and thus visited the path to it. It would just need to record that :/

[Bug target/102226] [12 Regression] ICE with -O3 -msve-vector-bits=128

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102226 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:843068149ec8fcaaaec12751f5b70221a1153857 commit r12-3381-g843068149ec8fcaaaec12751f5b70221a1153857 Author: Richard Biener Date:

[Bug target/102226] [12 Regression] ICE with -O3 -msve-vector-bits=128

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

[Bug c++/102228] lookup_anon_field is quadratic

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102228 --- Comment #4 from Richard Biener --- I think there must be also a 1:1 correspondence to anon type and its single use FIELD_DECL thus building a back-chain via DECL_CONTEXT and a new ANON_AGGR_TYPE_FIELD should be possible. At least I failed t

[Bug target/102224] [9/10/11/12 regession] wrong code for `x * copysign(1.0, x)` since r9-5298-g33142cf9cf82aa1f

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

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- cross toolchain fails to build

2021-09-07 Thread abrodkin at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #25 from Alexey Brodkin --- > (In reply to Jonathan Wakely from comment #22) > > *** Bug 101060 has been marked as a duplicate of this bug. *** > > We can fix it today XDXD > > PROFIT PROFIT PROFIT!!! Given there's a solution/pat

[Bug target/85819] conversion from __v[48]su to __v[48]sf should use FMA

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85819 --- Comment #3 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:ad9fcb961c0705f56907a728c3748c011a0a8048 commit r12-3382-gad9fcb961c0705f56907a728c3748c011a0a8048 Author: H.J. Lu Date: Sat Sep 4 07:4

[Bug c++/102229] New: 'decltype(auto)' cannot be cv-qualified

2021-09-07 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 Bug ID: 102229 Summary: 'decltype(auto)' cannot be cv-qualified Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/85819] conversion from __v[48]su to __v[48]sf should use FMA

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

[Bug debug/101947] [12 Regression] broken LTO bootstrap in get_base_type_offset at dwarf2out.c:4330

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947 --- Comment #10 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:81e9178fe7f8bae4609619b1195765b14eef35b7 commit r12-3383-g81e9178fe7f8bae4609619b1195765b14eef35b7 Author: Eric Botcazou Date:

[Bug debug/101947] [12 Regression] broken LTO bootstrap in get_base_type_offset at dwarf2out.c:4330

2021-09-07 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/102229] 'decltype(auto)' cannot be cv-qualified

2021-09-07 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 Richard Biener changed: What|Removed |Added Known to work||10.3.0 Last reconfirmed|

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-09-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 Marek Polacek changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/102230] New: ICE in classify_argument, at config/i386/i386.c:2474

2021-09-07 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102230 Bug ID: 102230 Summary: ICE in classify_argument, at config/i386/i386.c:2474 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-09-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 Marek Polacek changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug target/102231] New: includes unconditionally

2021-09-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102231 Bug ID: 102231 Summary: includes unconditionally Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target A

[Bug tree-optimization/102232] New: Missed arithmetic fold

2021-09-07 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 Bug ID: 102232 Summary: Missed arithmetic fold Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/102232] Missed arithmetic fold

2021-09-07 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 --- Comment #1 from Jeremy R. --- Correction on first line: *GCC optimizes bar into tgt here but not foo. Pardon my sloppy copy-paste from my bug report over on LLVM's bugzilla!

[Bug target/102231] includes unconditionally

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

[Bug target/65584] [i386] Intrinsics inclusion with `-nostdinc' failing due to `stdlib.h' dependency

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

[Bug target/65584] [i386] Intrinsics inclusion with `-nostdinc' failing due to `stdlib.h' dependency

2021-09-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65584 Segher Boessenkool changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/102228] lookup_anon_field is quadratic

2021-09-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102228 --- Comment #5 from Richard Biener --- (In reply to Richard Biener from comment #4) > I think there must be also a 1:1 correspondence to anon type and its single > use FIELD_DECL thus building a back-chain via DECL_CONTEXT and a new > ANON_AGGR_

[Bug target/65584] [i386] Intrinsics inclusion with `-nostdinc' failing due to `stdlib.h' dependency

2021-09-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65584 --- Comment #4 from Segher Boessenkool --- Since you closed PR102231 (which has a lot more detail), let me paste that here: includes unconditionally Instead, it should do something like #if __STDC_HOSTED__ #include #endif as Clang doe

[Bug target/65584] [i386] Intrinsics inclusion with `-nostdinc' failing due to `stdlib.h' dependency

2021-09-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65584 --- Comment #5 from Jakub Jelinek --- We could avoid the stdlib.h include for pmm_alloc.h through __builtin_malloc/__builtin_free and __SIZE_TYPE__. But yes, maybe not defining _mm_malloc/_mm_free at all for non-__STDC_HOSTED__ is better.

[Bug target/65584] [i386] Intrinsics inclusion with `-nostdinc' failing due to `stdlib.h' dependency

2021-09-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65584 --- Comment #6 from Jakub Jelinek --- And the "somehow" is now possible too, we can use __has_include().

[Bug fortran/101308] Bind(C): gfortran does not create C descriptors for scalar pointer/allocatable arguments

2021-09-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101308 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #

[Bug target/65584] [i386] Intrinsics inclusion with `-nostdinc' failing due to `stdlib.h' dependency

2021-09-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65584 --- Comment #7 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #6) > And the "somehow" is now possible too, we can use __has_include(). Including it with -ffreestanding in effect is always wrong. Even if the header exists it

[Bug c++/96103] Unclear diagnostic for a function return with "decltype(auto)"

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

[Bug c++/95658] Bogus duplicate error message in "decltype(auto)" type specifier

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

[Bug c++/96103] Unclear diagnostic for a function return with "decltype(auto)"

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

[Bug c++/95657] Duplicate error messages for decltype(auto) with -std=c++11

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95657 --- Comment #2 from Andrew Pinski --- Looks fixed in GCC 11: :1:1: error: 'decltype(auto)' type specifier only available with '-std=c++14' or '-std=gnu++14' 1 | decltype (auto) foo( decltype (auto) a ){ } | ^~~~ :1:22: error: 'dec

[Bug c++/100495] constexpr virtual destructor incorrectly reports memory leak

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100495 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:81f9718139cb1cc164ada411ada8cca9f32b8be8 commit r12-3387-g81f9718139cb1cc164ada411ada8cca9f32b8be8 Author: Jakub Jelinek Date: T

[Bug plugins/86441] instantiate_class_template() unable to re-execute constexpr function

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86441 --- Comment #3 from Andrew Pinski --- is your plugin called before *free_lang_data pass is happening? Because if it is not, then most if not all of the front-end specific data has been removed from the types which is why you might be getting a cr

[Bug plugins/86441] instantiate_class_template() unable to re-execute constexpr function

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

[Bug c++/100495] constexpr virtual destructor incorrectly reports memory leak

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100495 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9f300873f6bf8456ebdbd40d0211aefe57f95cb5 commit r11-8968-g9f300873f6bf8456ebdbd40d0211aefe57f95cb5 Author: Jakub Jelinek

[Bug c++/100495] constexpr virtual destructor incorrectly reports memory leak

2021-09-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100495 --- Comment #9 from Jakub Jelinek --- Fixed for 11.3+/12+ so far, probably should be backported for 10.4 too.

[Bug target/97142] __builtin_fmod not optimized on POWER

2021-09-07 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #17 from Peter Bergner --- (In reply to CVS Commits from comment #16) > The master branch has been updated by Xiong Hu Luo : So fixed on trunk. The Version about is to 10.2, does that mean we're going to back port this to the releas

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2021-09-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #26 from cqwrteur --- (In reply to Alexey Brodkin from comment #25) > > (In reply to Jonathan Wakely from comment #22) > > > *** Bug 101060 has been marked as a duplicate of this bug. *** > > > > We can fix it today XDXD > > > > P

[Bug c++/42356] improve list of candidates and error recovery for ambiguous call

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42356 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2011-10-22 00:00:00 |2021-9-7 --- Comment #19 from Andrew Pin

[Bug tree-optimization/102232] Missed arithmetic fold

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

[Bug tree-optimization/102232] Missed arithmetic fold

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 Andrew Pinski changed: What|Removed |Added Keywords||TREE Status|UNCONFIRMED

[Bug tree-optimization/102216] [12 Regression] missed optimization causing Warray-bounds

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Created attachment 51420 [details] > Patch which I am testing. Note I am throwing this patch away and started to rewrite parts of tree-ssa-forwprop.c instead.

[Bug fortran/101327] ICE in find_array_element, at fortran/expr.c:1355

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101327 --- Comment #6 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2a1537a19cb2fa85823cfa18ed40baa4b259b4e3 commit r12-3392-g2a1537a19cb2fa85823cfa18ed40baa4b259b4e3 Author: Harald Anlauf Date: T

[Bug target/102227] [12 Regression] Likely wrong code since r12-3369-g652bef70d392f9541b12ef65b461009c8c8fd54a

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

[Bug target/102224] [9/10/11/12 regession] wrong code for `x * copysign(1.0, x)` since r9-5298-g33142cf9cf82aa1f

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

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 102227, which changed state. Bug 102227 Summary: [12 Regression] Likely wrong code since r12-3369-g652bef70d392f9541b12ef65b461009c8c8fd54a https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102227 What|Removed

[Bug analyzer/102233] New: Compiling a smallish binary with -fanalyzer seems to cause very very long compile times

2021-09-07 Thread rjones at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102233 Bug ID: 102233 Summary: Compiling a smallish binary with -fanalyzer seems to cause very very long compile times Product: gcc Version: unknown Status: UNCONFIRMED

[Bug analyzer/102233] Compiling a smallish binary with -fanalyzer seems to cause very very long compile times

2021-09-07 Thread rjones at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102233 --- Comment #1 from Richard W.M. Jones --- perf top shows: 36.63% lto1 [.] shortest_paths::shortest_paths which it pretty much stuck permanently at 30-50% CPU. The machine has plenty of free memory and is not

[Bug analyzer/102233] Compiling a smallish binary with -fanalyzer seems to cause very very long compile times

2021-09-07 Thread rjones at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102233 --- Comment #2 from Richard W.M. Jones --- I think since this seems to be LTO-related, you probably do need to use LTO CFLAGS in the initial ./configure step. My actual CFLAGS were: export CFLAGS="$(rpm --eval '%{optflags}')" export CXXFLAGS="

[Bug analyzer/102233] LTO with -fanalyzer on a smallish binary causes very very long compile times

2021-09-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102233 --- Comment #3 from David Malcolm --- Thanks for filing this. As we discussed on IRC, I recommend avoiding the combination of -fanalyzer and LTO for now. It works for simple examples, but has scaling issues on anything bigger, which I hope to

[Bug target/97142] __builtin_fmod not optimized on POWER

2021-09-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #18 from Segher Boessenkool --- +/* { dg-final { scan-assembler-not {(?n)\mb.*fmod} } } */ +/* { dg-final { scan-assembler-not {(?n)\mb.*fmodf} } } */ +/* { dg-final { scan-assembler-not {(?n)\mb.*remainder} } } */ +/* { dg-final { sc

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-09-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #5

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-09-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 --- Comment #6 from Marek Polacek --- Thanks. With the latter interpretation in mind, it seems my earlier fix should be mitigated so that we allow constexpr decltype(auto) but not constexpr const decltype(auto) Yes? Do you want me to raise

[Bug analyzer/102233] LTO with -fanalyzer on a smallish binary causes very very long compile times

2021-09-07 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102233 --- Comment #4 from David Malcolm --- (In reply to Richard W.M. Jones from comment #2) > I think since this seems to be LTO-related, you probably do need > to use LTO CFLAGS in the initial ./configure step. My actual CFLAGS > were: > > export

[Bug c++/102234] New: internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

2021-09-07 Thread sin-ack at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102234 Bug ID: 102234 Summary: internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/82314] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:6972

2021-09-07 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82314 --- Comment #8 from anlauf at gcc dot gnu.org --- I am testing the following patch which fixes comment#0: diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 2e49a673e15..f2e8896b562 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c

[Bug c++/102234] internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102234 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from A

[Bug analyzer/102233] LTO with -fanalyzer on a smallish binary causes very very long compile times

2021-09-07 Thread rjones at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102233 --- Comment #5 from Richard W.M. Jones --- (In reply to David Malcolm from comment #4) > (In reply to Richard W.M. Jones from comment #2) > > I think since this seems to be LTO-related, you probably do need > > to use LTO CFLAGS in the initial .

[Bug c++/102234] internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

2021-09-07 Thread sin-ack at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102234 --- Comment #2 from sin-ack --- An important thing to note is that when the destructor is private, the ICE occurs. In the original code, when I made the desructor public (after adding the forgotten public: before the destructor), the code will s

[Bug c++/102234] internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

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

[Bug c++/96745] [concepts] internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96745 Andrew Pinski changed: What|Removed |Added CC||sin-ack at protonmail dot com --- Commen

[Bug target/97142] __builtin_fmod not optimized on POWER

2021-09-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97142 --- Comment #19 from Segher Boessenkool --- (In reply to Peter Bergner from comment #17) > The Version about is to 10.2, does that mean we're going to back port this > to the release branches, or are we calling it good with trunk? This is a pret

[Bug c++/102223] no warning when calling member function on dangling reference

2021-09-07 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102223 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug tree-optimization/102216] [12 Regression] missed optimization causing Warray-bounds

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 Andrew Pinski changed: What|Removed |Added Attachment #51420|0 |1 is obsolete|

[Bug fortran/82314] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:6972

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

[Bug go/102102] [12 Regression] trunk 20210827 ftbfs libgo on x86_64-linux-gnux32

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102102 --- Comment #1 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:21b046bade1c2666b82139d18c8b318bb051415e commit r12-3401-g21b046bade1c2666b82139d18c8b318bb051415e Author: Ian Lance Taylor Dat

[Bug go/102102] [12 Regression] trunk 20210827 ftbfs libgo on x86_64-linux-gnux32

2021-09-07 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102102 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/102115] symbol address eliminated by the xtensa size optimization

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102115 --- Comment #2 from CVS Commits --- The master branch has been updated by Max Filippov : https://gcc.gnu.org/g:b552c4e601c7fdc4d341e29cc1ed6081d42b00d0 commit r12-3402-gb552c4e601c7fdc4d341e29cc1ed6081d42b00d0 Author: Max Filippov Date: Tue

[Bug c++/102235] New: array not decay to pointer for template function parameter during specialization with parameter pack as template argument

2021-09-07 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102235 Bug ID: 102235 Summary: array not decay to pointer for template function parameter during specialization with parameter pack as template argument Product: gcc Ve

[Bug tree-optimization/89317] Ineffective code from std::copy

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

[Bug target/102115] symbol address eliminated by the xtensa size optimization

2021-09-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102115 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Max Filippov : https://gcc.gnu.org/g:dcb2873cd32b263643bfd9d1298b35d6cd028f0a commit r11-8969-gdcb2873cd32b263643bfd9d1298b35d6cd028f0a Author: Max Filippov Da

[Bug target/102115] symbol address eliminated by the xtensa size optimization

2021-09-07 Thread jcmvbkbc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102115 jcmvbkbc at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug c++/102236] New: emplace_deref is not constexpr for join_view

2021-09-07 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102236 Bug ID: 102236 Summary: emplace_deref is not constexpr for join_view Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/80155] [9/10/11/12 regression] Performance regression with code hoisting enabled

2021-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80155 --- Comment #50 from Andrew Pinski --- the original testcase for cortex-m7 seems to be fixed in GCC 11+.

[Bug target/102230] ICE in classify_argument, at config/i386/i386.c:2474

2021-09-07 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102230 --- Comment #1 from Hongtao.liu --- It relies on https://gcc.gnu.org/pipermail/gcc-patches/2021-August/576496.html which is not committed yet.

  1   2   >