[Bug c++/101040] [11/12 Regression] Internal compiler error: in get_or_insert_ctor_field, at cp/constexpr.c:3571 since r11-7980-gc3d3bb0f03dbd025

2021-06-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101040 --- Comment #3 from Jason Merrill --- Created attachment 51060 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51060=edit bits dropped from the patch putting these here in case I want them later.

[Bug c++/101040] [11/12 Regression] Internal compiler error: in get_or_insert_ctor_field, at cp/constexpr.c:3571 since r11-7980-gc3d3bb0f03dbd025

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101040 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2168bfb81448ae1bfa4351760a23d4ec051c2a00 commit r12-1827-g2168bfb81448ae1bfa4351760a23d4ec051c2a00 Author: Jason Merrill Date:

[Bug c++/97566] [[no_unique_address]] causes miscompiles when mixed with EBO in constexpr context

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97566 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2168bfb81448ae1bfa4351760a23d4ec051c2a00 commit r12-1827-g2168bfb81448ae1bfa4351760a23d4ec051c2a00 Author: Jason Merrill Date:

[Bug c/98892] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c

2021-06-25 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98892 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/101145] niter analysis fails for until-wrap condition

2021-06-25 Thread amker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101145 --- Comment #7 from bin cheng --- (In reply to Jiu Fu Guo from comment #5) > (In reply to bin cheng from comment #4) > > (In reply to Jiu Fu Guo from comment #3) > > > Yes, while the code in adjust_cond_for_loop_until_wrap seems somehow > > >

[Bug fortran/101135] Use of absent assumed-shape array argument as an actual argument for an optional dummy argument mistakenly flagged as error by UndefinedBehaviourSanitizer

2021-06-25 Thread marcel.jacobse at ewetel dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101135 --- Comment #1 from Marcel Jacobse --- With some bisecting I managed to track this down to commit https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=243c288370fe51ba55c3a9ee61eb2a1a62cb1279 being the first "faulty" one. >From what I can tell the

[Bug c/101218] New: ICE on valid code with -O3 only: Segmentation fault, vect_optimize_slp(vec_info*)

2021-06-25 Thread cnsun at uwaterloo dot ca via Gcc-bugs
compression algorithms: zlib gcc version 12.0.0 20210625 (experimental) [master revision :1cefadb26:e9e2bad7251477db92ab9ebcdc010f9282dd9890] (GCC) $ cat mutant.c unsigned fib[]; count_fib() { int i; fib[1] = 1; for (i = 2; i < 1000; i++) fib[i] = fib[i - 1] + fib[i - 2]; } $ gcc-trunk

[Bug c++/100752] [11 Regression] error: cannot call member function ‘void S::f()’ without object

2021-06-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752 Marek Polacek changed: What|Removed |Added Summary|[11/12 Regression] error: |[11 Regression] error:

[Bug c++/100752] [11/12 Regression] error: cannot call member function ‘void S::f()’ without object

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100752 --- Comment #5 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:f9c80eb12c58126a94ad869380af5b88b752c06f commit r12-1822-gf9c80eb12c58126a94ad869380af5b88b752c06f Author: Marek Polacek Date:

[Bug middle-end/101204] infinite recursion in gtype-desc.c

2021-06-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101204 --- Comment #2 from Martin Sebor --- gtype-desc.c is a generated file. There's also r12-1096. Without it, r12-1801 wouldn't compile.

[Bug middle-end/101216] [12 regression] setjmp/longjmp excess "note" when warning suppressed after r12-1805

2021-06-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101216 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/101216] [12 regression] setjmp/longjmp excess "note" when warning suppressed after r12-1805

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101216 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:fd51b344ca86c9673db0161d4a383cccdb2f429c commit r12-1819-gfd51b344ca86c9673db0161d4a383cccdb2f429c Author: Martin Sebor Date:

[Bug middle-end/101216] [12 regression] setjmp/longjmp excess "note" when warning suppressed after r12-1805

2021-06-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101216 David Malcolm changed: What|Removed |Added Summary|[12 regression] |[12 regression]

[Bug middle-end/101216] [12 regression] setjmp/longjmp excess errors after r12-1805

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

[Bug middle-end/101217] Stray "note" diagnostics when warning suppressed in gcc.dg/analyzer/setjmp-2.c

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

[Bug middle-end/101217] New: Stray "note" diagnostics when warning suppressed in gcc.dg/analyzer/setjmp-2.c

2021-06-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101217 Bug ID: 101217 Summary: Stray "note" diagnostics when warning suppressed in gcc.dg/analyzer/setjmp-2.c Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug driver/93645] Support Clang 12 --ld-path=

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

[Bug driver/56062] Enhance -fuse-ld= option

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

[Bug tree-optimization/56223] Integer ABS is not recognized for more complicated pattern

2021-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223 Andrew Pinski changed: What|Removed |Added Depends on||101205 --- Comment #8 from Andrew

[Bug driver/93645] Support Clang 12 --ld-path=

2021-06-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645 H.J. Lu changed: What|Removed |Added CC||freesoftware at logarithmus dot de

[Bug driver/101215] Using non-standard custom linker with -fuse-ld

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

[Bug driver/101215] Using non-standard custom linker with -fuse-ld

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

[Bug middle-end/101216] [12 regression] setjmp/longjmp excess errors after r12-1805

2021-06-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101216 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/101215] Using non-standard custom linker with -fuse-ld

2021-06-25 Thread logarithmus.dev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101215 --- Comment #2 from logarithmus.dev at gmail dot com --- I think that making `-fuse-ld` to accept arbitrary path to linker's binary instead of adding `mold` to the list of predefined values is a much better strategy in long term. AFAIK clang

[Bug target/101215] Using non-standard custom linker with -fuse-ld

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101215 --- Comment #1 from Jonathan Wakely --- I think you should be able to build GCC with --with-ld=/path/to/mold you just can't select it later using -fuse-ld

[Bug middle-end/101216] [12 regression] setjmp/longjmp excess errors after r12-1805

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

[Bug c++/101194] [9/10/11/12 Regression] aggregate init requires default constructor

2021-06-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101194 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug middle-end/101216] New: [12 regression] setjmp/longjmp excess errors after r12-1805

2021-06-25 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101216 Bug ID: 101216 Summary: [12 regression] setjmp/longjmp excess errors after r12-1805 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/101215] New: Using non-standard custom linker with -fuse-ld

2021-06-25 Thread freesoftware at logarithmus dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101215 Bug ID: 101215 Summary: Using non-standard custom linker with -fuse-ld Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/101214] ranges::split_view​::​sentinel lacks default constructor

2021-06-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101214 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug libstdc++/97088] 17_intro/names.cc and experimental/names.cc fail with --disable-libstdcxx-pch

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97088 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e83a5a6b6893e910dc0b6b1cd034e1a258406c93 commit r12-1814-ge83a5a6b6893e910dc0b6b1cd034e1a258406c93 Author: Jonathan Wakely Date:

[Bug c++/100975] [C++23] Allow pointer to array of auto

2021-06-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100975 --- Comment #2 from Marek Polacek --- Looks like just disabling the check in create_array_type_for_decl lets us compile: struct false_type { static constexpr bool value = false; }; struct true_type { static constexpr bool value = true; };

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

2021-06-25 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 --- Comment #8 from seurer at gcc dot gnu.org --- I just tried with current trunk: g:e0672017370b9a9362fda52ecffe33d1c9c41829, r12-1813 make -k check-gcc-fortran RUNTESTFLAGS="dg.exp=gfortran.dg/parity_1.f90" FAIL: gfortran.dg/parity_1.f90

[Bug c++/101213] Improve support for decltype(std)

2021-06-25 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101213 --- Comment #2 from Jeremy R. --- (In reply to Jonathan Wakely from comment #1) > This is just how GCC recovers from a bad parse, so that it can attempt to > continue and give diagnostics for the rest of the code. An invalid type in > certain

[Bug libstdc++/101214] ranges::split_view​::​sentinel lacks default constructor

2021-06-25 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101214 --- Comment #1 from 康桓瑋 --- (In reply to 康桓瑋 from comment #0) > #include > > int main() { > auto r = std::views::iota(0) | std::views::take(5); > decltype(std::views::split(r, 0).end()) e{}; > } > Another tiny issue is that in

[Bug c++/94024] Error message has misleading source location for constructor member initialisation.

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94024 Jonathan Wakely changed: What|Removed |Added CC||bero at arklinux dot org --- Comment

[Bug c++/43933] Suboptimal error message when supplying a bad default value in initialization

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43933 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > It's not fixed in GCC 9 though. I think it's probably fixed by r11-2546 for > PR 94024 but I can't bisect right now. Confirmed as that revision. *** This

[Bug c++/101214] New: ranges::split_view​::​sentinel lacks default constructor

2021-06-25 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101214 Bug ID: 101214 Summary: ranges::split_view​::​sentinel lacks default constructor Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/97088] 17_intro/names.cc and experimental/names.cc fail with --disable-libstdcxx-pch

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97088 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/97088] 17_intro/names.cc and experimental/names.cc fail with --disable-libstdcxx-pch

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97088 --- Comment #5 from Jonathan Wakely --- *** Bug 101211 has been marked as a duplicate of this bug. ***

[Bug libstdc++/101211] [12 regression] 17_intro/names.cc fails

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

[Bug libstdc++/101211] [12 regression] 17_intro/names.cc fails

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101211 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > (In reply to Christophe Lyon from comment #4) > > It works for aarch64-linux-gnu, but fails for aarch64-elf (with newlib): > > FAIL: 17_intro/names.cc (test

[Bug c++/92105] [8/9/10 Regression] decltype(decltype(decltype)) prints exponential number of repeated errors

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92105 --- Comment #7 from Jonathan Wakely --- Glad we could help ;-)

[Bug c++/101213] Improve support for decltype(std)

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101213 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from

[Bug c++/101210] [9/10/11/12 regression] spurious "reference binding to misaligned address" ubsan error for integer comparison

2021-06-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101210 Jakub Jelinek changed: What|Removed |Added Summary|[7/8/9/10/11/12 regression] |[9/10/11/12 regression]

[Bug testsuite/101114] new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101114 --- Comment #3 from CVS Commits --- The master branch has been updated by Chung-Lin Tang : https://gcc.gnu.org/g:e0672017370b9a9362fda52ecffe33d1c9c41829 commit r12-1813-ge0672017370b9a9362fda52ecffe33d1c9c41829 Author: Chung-Lin Tang Date:

[Bug c++/101213] New: Improve support for decltype(std)

2021-06-25 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101213 Bug ID: 101213 Summary: Improve support for decltype(std) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/101212] New: forward declaration of parameter

2021-06-25 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101212 Bug ID: 101212 Summary: forward declaration of parameter Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libstdc++/101211] [12 regression] 17_intro/names.cc fails

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101211 --- Comment #5 from Jonathan Wakely --- (In reply to Christophe Lyon from comment #4) > It works for aarch64-linux-gnu, but fails for aarch64-elf (with newlib): > FAIL: 17_intro/names.cc (test for excess errors) > Excess errors: >

[Bug libstdc++/101211] [12 regression] 17_intro/names.cc fails

2021-06-25 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101211 --- Comment #4 from Christophe Lyon --- It works for aarch64-linux-gnu, but fails for aarch64-elf (with newlib): FAIL: 17_intro/names.cc (test for excess errors) Excess errors:

[Bug libstdc++/101211] [12 regression] 17_intro/names.cc fails

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101211 --- Comment #3 from Jonathan Wakely --- Ah, I bet it started to fail because I added this to the test: { dg-add-options no_pch } So this should fix it for arm: --- a/libstdc++-v3/testsuite/17_intro/names.cc +++

[Bug libstdc++/101211] [12 regression] 17_intro/names.cc fails

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101211 --- Comment #2 from Jonathan Wakely --- Oh, is it this? unsigned int j:1;

[Bug libstdc++/101211] [12 regression] 17_intro/names.cc fails

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101211 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/101211] New: [12 regression] 17_intro/names.cc fails

2021-06-25 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101211 Bug ID: 101211 Summary: [12 regression] 17_intro/names.cc fails Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/101210] New: [7/8/9/10/11/12 regression] spurious "reference binding to misaligned address" ubsan error for integer comparison

2021-06-25 Thread jlegg at feralinteractive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101210 Bug ID: 101210 Summary: [7/8/9/10/11/12 regression] spurious "reference binding to misaligned address" ubsan error for integer comparison Product: gcc Version:

[Bug fortran/101199] program changes the value of a dummy argument

2021-06-25 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 --- Comment #5 from Jürgen Reuter --- (In reply to ygal klein from comment #4) >) > > Thank you for the reply. > > After posting the bug report - I saw that implementing (inout) as your > number 1 suggestion - dodges the problem - though as

[Bug fortran/101199] program changes the value of a dummy argument

2021-06-25 Thread ygalklein at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 --- Comment #4 from ygal klein --- (In reply to Jürgen Reuter from comment #3) > I think that indeed this is not something the compiler needs to do as > expected, as it is an aliasing problem. > In the advance TBP you are calling again the

[Bug fortran/101199] program changes the value of a dummy argument

2021-06-25 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 Jürgen Reuter changed: What|Removed |Added CC||juergen.reuter at desy dot de ---

[Bug c++/96204] gcc complains about private member access in SFINAE context

2021-06-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96204 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/101145] niter analysis fails for until-wrap condition

2021-06-25 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101145 --- Comment #6 from Jiu Fu Guo --- > As tests, for below loop, adjust_cond_for_loop_until_wrap return false: > > foo (int *__restrict__ a, int *__restrict__ b, unsigned i) > { > while (++i > 100) > *a++ = *b++ + 1; > } For the above

[Bug libffi/101208] libffi.call/nested_struct12.c fails on aarch64

2021-06-25 Thread green at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101208 Anthony Green changed: What|Removed |Added CC||green at redhat dot com --- Comment #2

[Bug c++/101209] ICE with trailing return type on a conversion operator

2021-06-25 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101209 --- Comment #1 from Aaron Ballman --- > This should likely give an error about using a trailing return type for a > function with a declared return type other than a placeholder type. Err, that would be bad now that I think about it

[Bug c++/101209] New: ICE with trailing return type on a conversion operator

2021-06-25 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101209 Bug ID: 101209 Summary: ICE with trailing return type on a conversion operator Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/101079] [OPENMP] The value of list-item in linear clause in loop construct is not calculated on each iteration

2021-06-25 Thread xiao.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101079 --- Comment #6 from xiao@compiler-dev.com --- (In reply to Jakub Jelinek from comment #5) > OpenMP language committee discussions aren't public, there will be soon an > OpenMP 5.2 public draft though. > The particular restriction under

[Bug target/101200] Unneeded AND after shift

2021-06-25 Thread steinar+gcc at gunderson dot no via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 --- Comment #6 from Steinar H. Gunderson --- You're right, I don't know why the shrq happened. When I run now, I get shrb. Doesn't matter for the bug, though.

[Bug tree-optimization/80635] [9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning

2021-06-25 Thread paul.f.fee at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Paul Fee changed: What|Removed |Added CC||paul.f.fee at gmail dot com --- Comment #65

[Bug tree-optimization/101145] niter analysis fails for until-wrap condition

2021-06-25 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101145 --- Comment #5 from Jiu Fu Guo --- (In reply to bin cheng from comment #4) > (In reply to Jiu Fu Guo from comment #3) > > Yes, while the code in adjust_cond_for_loop_until_wrap seems somehow tricky: > > > > /* Only support simple cases for

[Bug tree-optimization/101207] [12 Regression] gcc.dg/vect/vect-strided-*-mult.c fails after SLP improvements

2021-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101207 Andrew Pinski changed: What|Removed |Added Target|aarch64-linux-gnu |aarch64-linux-gnu, |

[Bug tree-optimization/101207] [12 Regression] gcc.dg/vect/vect-strided-*-mult.c fails after SLP improvements

2021-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101207 --- Comment #2 from Andrew Pinski --- Most likely introduced by r12-1551 .

[Bug tree-optimization/101202] ICE at -O3 on x86_64-linux-gnu: Segmentation fault

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

[Bug tree-optimization/101202] ICE at -O3 on x86_64-linux-gnu: Segmentation fault

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101202 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:55a1546b73b60d2601f35671ba9e8f12a52a7b77 commit r12-1809-g55a1546b73b60d2601f35671ba9e8f12a52a7b77 Author: Richard Biener Date:

[Bug libffi/101208] libffi.call/nested_struct12.c fails on aarch64

2021-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101208 --- Comment #1 from Andrew Pinski --- Just for reference the x86_64 fix was r12-1524 .

[Bug fortran/101079] [OPENMP] The value of list-item in linear clause in loop construct is not calculated on each iteration

2021-06-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101079 --- Comment #5 from Jakub Jelinek --- OpenMP language committee discussions aren't public, there will be soon an OpenMP 5.2 public draft though. The particular restriction under discussion is: "For a linear clause that appears on a

[Bug tree-optimization/101207] [12 Regress] gcc.dg/vect/vect-strided-*-mult.c fails after SLP improvements

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

[Bug libffi/101208] New: libffi.call/nested_struct12.c fails on aarch64

2021-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101208 Bug ID: 101208 Summary: libffi.call/nested_struct12.c fails on aarch64 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/101207] [12 Regress] gcc.dg/vect/vect-strided-mult.c fails after SLP improvements

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

[Bug tree-optimization/101207] New: [12 Regress] gcc.dg/vect/vect-strided-mult.c fails after SLP improvements

2021-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101207 Bug ID: 101207 Summary: [12 Regress] gcc.dg/vect/vect-strided-mult.c fails after SLP improvements Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug target/101200] Unneeded AND after shift

2021-06-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101200 --- Comment #5 from Jakub Jelinek --- BTW, I certainly can't reproduce what #c0 shows, while I see movzbl in there because QImode loads are done that way in most tunings, I certainly see shrb$4, %al rather than 64-bit right shift.

[Bug target/101200] Unneeded AND after shift

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

[Bug testsuite/101206] [12 Regression] gcc.target/aarch64/vect-vmaxv.c and gcc.target/aarch64/vect-vaddv.c fail

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

[Bug testsuite/101206] New: [12 Regression] gcc.target/aarch64/vect-vmaxv.c and gcc.target/aarch64/vect-vaddv.c fail

2021-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101206 Bug ID: 101206 Summary: [12 Regression] gcc.target/aarch64/vect-vmaxv.c and gcc.target/aarch64/vect-vaddv.c fail Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/101151] [11 Regression] ICE at -O1 and above on x86_64-linux-gnu: verify_ssa failed since r11-3705-gdae673abd37d4004

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

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

2021-06-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101105 Richard Biener changed: What|Removed |Added Known to fail||11.1.0 Target Milestone|11.2

[Bug tree-optimization/101158] [10/11 Regression] ICE in gimple_call_arg, at gimple.h:3247

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101158 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:48097089ae539bd5c2649681f93ce4a6bad72b11 commit r11-8655-g48097089ae539bd5c2649681f93ce4a6bad72b11 Author: Richard

[Bug tree-optimization/101151] [11 Regression] ICE at -O1 and above on x86_64-linux-gnu: verify_ssa failed since r11-3705-gdae673abd37d4004

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101151 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:8dc3768ffb4debc559e428fd508a4e8c59586c00 commit r11-8654-g8dc3768ffb4debc559e428fd508a4e8c59586c00 Author: Richard

[Bug tree-optimization/101105] [11 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101105 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:00ab8e994b87693b9e56fa68c3b3ede01425a2c0 commit r11-8653-g00ab8e994b87693b9e56fa68c3b3ede01425a2c0 Author: Richard

[Bug middle-end/100672] wrong code with vector shift and unary minus

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100672 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e0dae9c92aa248c858f682f03ee1b16471297718 commit r11-8652-ge0dae9c92aa248c858f682f03ee1b16471297718 Author: Richard

[Bug middle-end/101204] infinite recursion in gtype-desc.c

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

[Bug c++/86524] [8 Regression] std::less with pointer arguments not usable in static_assert in constexpr function

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86524 Jonathan Wakely changed: What|Removed |Added CC||v at vsamko dot com --- Comment #13

[Bug c++/85319] std::char_traits::length does not always function in constexpr context

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85319 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Component|libstdc++

[Bug target/101188] [AVR] Miscompilation and function pointers

2021-06-25 Thread saaadhu at gcc dot gnu.org via Gcc-bugs
||saaadhu at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed||2021-06-25 --- Comment #1 from Senthil Kumar Selvaraj --- Confirmed with 12.0.0 20210625 Here's a reduced testcase that hangs indefinitely

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-06-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #4 from Jakub Jelinek --- Also, one will probably need to rename all the MOVE_* and *move_* stuff to COPY_* and *copy_* and reserve MOVE_* and *move_* for the overlapping copies. And most likely on various arches it might need

[Bug target/101205] New: csinv does not have an zero_extend version

2021-06-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 Bug ID: 101205 Summary: csinv does not have an zero_extend version Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

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

[Bug c/101204] New: infinite recursion in gtype-desc.c

2021-06-25 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101204 Bug ID: 101204 Summary: infinite recursion in gtype-desc.c Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/101202] ICE at -O3 on x86_64-linux-gnu: Segmentation fault

2021-06-25 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101202 --- Comment #7 from David Binderman --- (In reply to Richard Biener from comment #5) > I'll see to test the patch with -O3 bootstrap then - thanks for the info. You are very welcome. With the benefit of hindsight, changes in the -O3 area of

[Bug tree-optimization/101202] ICE at -O3 on x86_64-linux-gnu: Segmentation fault

2021-06-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101202 --- Comment #6 from Martin Liška --- And I noticed the same ICE in botan benchmark.

[Bug tree-optimization/101202] ICE at -O3 on x86_64-linux-gnu: Segmentation fault

2021-06-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101202 --- Comment #5 from Richard Biener --- (In reply to David Binderman from comment #4) > I see this also on gcc bootstrap with -O3, so it looks quite important. I'll see to test the patch with -O3 bootstrap then - thanks for the info.

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

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

[Bug c/101196] [12 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p

2021-06-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101196 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >