[Bug c++/99599] [11/12/13 Regression] Concepts requirement falsely reporting cyclic dependency, breaks tag_invoke pattern

2023-04-03 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99599 catsith at me dot com changed: What|Removed |Added CC||catsith at me dot com --- Comment

[Bug c++/109397] [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself"

2023-04-03 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109397 catsith at me dot com changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNC

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #4 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:cdd2d6643f7fef40e335a7027edfea7276cde608 commit r13-6993-gcdd2d6643f7fef40e335a7027edfea7276cde608 Author: Kewen Lin Date: Mon Apr 3

[Bug target/108807] [11/12/13 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 --- Comment #4 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:d634e6088f139ee700d79ec73b1ad6436096a6ff commit r13-6994-gd634e6088f139ee700d79ec73b1ad6436096a6ff Author: Kewen Lin Date: Mon Apr 3

[Bug c++/109397] [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself"

2023-04-03 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109397 --- Comment #2 from catsith at me dot com --- Thank you. Looks like this is a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99599 then. I believe I can workaround my problem by using std::enable_if_t instead of concepts.

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-04-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 --- Comment #12 from Jason Merrill --- Created attachment 54806 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54806&action=edit patch to allow with -fpermissive Here's an (untested) possible approach to that. I'm about to be away for a

[Bug c++/107484] [13 Regression] ICE: Segmentation fault (in decls_match)

2023-04-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107484 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/107484] [13 Regression] ICE: Segmentation fault (in decls_match)

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107484 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0dfbb28a9549c2503204b0338bf550f1bff9c681 commit r13-6992-g0dfbb28a9549c2503204b0338bf550f1bff9c681 Author: Jason Merrill Date: Mo

[Bug c++/109397] [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself"

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109397 --- Comment #1 from Andrew Pinski --- See http://wg21.link/cwg2369 also

[Bug c++/109397] New: [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself"

2023-04-03 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109397 Bug ID: 109397 Summary: [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself" Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severi

[Bug analyzer/108767] O2 optimization has side effects on static analysis.

2023-04-03 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108767 --- Comment #1 from Geoffrey --- Hi, David, do you have any idea about why -O2 can lead to a FP?

[Bug analyzer/108100] GCC Static Analyzer does not know "(a || b) == true" in the true branch of "if (a || b) "

2023-04-03 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108100 --- Comment #1 from Geoffrey --- Hi, David. Could you spare some time to explain why GSA cannot handle `||`? Will you fix this? I'd like to contribute. Thanks a lot!

[Bug c++/109390] Does not reject specialized non-type argument of dependent type in class template partial specialization

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109390 --- Comment #2 from Andrew Pinski --- https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2127

[Bug c++/109390] Does not reject specialized non-type argument of dependent type in class template partial specialization

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109390 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/109387] "definition of explicitly-defaulted" error with explicit template instantiation

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109387 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/88245] Wrong location for "explicitly defaulted here"

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/109396] Winit-self doesn't warn when std::move()-d

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109396 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug libstdc++/109383] [QoI] std::type_index::operator<=> should not call __builtin_strcmp twice

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109383 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/109392] [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109392 --- Comment #2 from Andrew Pinski --- here is a better testcase which does not use vfork which is implicit returns_twice: ``` typedef short __attribute__ ((__vector_size__ (64))) V; V v, w; void g(void) __attribute__((returns_twice)); V foo (V a

[Bug tree-optimization/109392] [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109392 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-04-04 Ever confirmed|0

[Bug c++/109300] [13 Regression] ICE in cp_finish_decl, at cp/decl.cc:8279 since r13-6380-gd3d205ab44088616

2023-04-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109300 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/109300] [13 Regression] ICE in cp_finish_decl, at cp/decl.cc:8279 since r13-6380-gd3d205ab44088616

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109300 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c37ed38ada788ae410c48ec6d8c9b5d9f32ab8cf commit r13-6989-gc37ed38ada788ae410c48ec6d8c9b5d9f32ab8cf Author: Patrick Palka Date: M

[Bug c++/109396] New: Winit-self doesn't warn when std::move()-d

2023-04-03 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109396 Bug ID: 109396 Summary: Winit-self doesn't warn when std::move()-d Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-04-03 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #36 from Martin Uecker --- Am Montag, dem 03.04.2023 um 20:29 + schrieb qinzhao at gcc dot gnu.org: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 > > --- Comment #35 from qinzhao at gcc dot gnu.org --- > (In reply to Mar

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread dev at joren dot ga via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #9 from Jakub Łukasiewicz --- (In reply to Andrew Pinski from comment #7) > Yes and that is still a VLA in terms of C99 definition ... Indeed, but we only want to prevent automatic VLA, all other instances of VM types are even encou

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #8 from Andrew Pinski --- Note GCC's C++ front-end even rejects VLA definitions like that for parameters so I don't know how useful they are really.

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #7 from Andrew Pinski --- Yes and that is still a VLA in terms of C99 definition ...

[Bug fortran/100607] ICE with SELECT RANK

2023-04-03 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 --- Comment #5 from Steve Kargl --- On Mon, Apr 03, 2023 at 08:16:20PM +, anlauf at gcc dot gnu.org wrote: > --- Comment #3 from anlauf at gcc dot gnu.org --- > (In reply to kargl from comment #2) > > Remove ice-on-invalid-code as I don't ge

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread dev at joren dot ga via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #6 from Jakub Łukasiewicz --- (In reply to Andrew Pinski from comment #5) > (In reply to Jakub Łukasiewicz from comment #4) > > So there is not way of detecting automatic VLA in "debug release"? > > -Wvla works. > > https://gcc.gnu

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Łukasiewicz from comment #4) > So there is not way of detecting automatic VLA in "debug release"? -Wvla works. https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Warning-Options.html#index-Wv

[Bug sanitizer/108497] UBsan at -O1 failed to report an integer-overflow

2023-04-03 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108497 --- Comment #4 from Li Shaohua --- (In reply to Jakub Jelinek from comment #3) > Not now nor in the near future. After all, it isn't a regression, so > couldn't be fixed during stage4 anyway. This bug affects GCC>=8. GCC<=7 work fine on this c

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread dev at joren dot ga via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #4 from Jakub Łukasiewicz --- (In reply to Andrew Pinski from comment #3) > (In reply to Jakub Łukasiewicz from comment #2) > > Passing `-ftree-vrp` doesn't activate it either > > Because of another part of the documentation: > http

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #3 from Andrew Pinski --- (In reply to Jakub Łukasiewicz from comment #2) > Passing `-ftree-vrp` doesn't activate it either Because of another part of the documentation: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optim

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread dev at joren dot ga via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #2 from Jakub Łukasiewicz --- (In reply to Andrew Pinski from comment #1) > This is by designed and is even documented: > https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Warning-Options.html#index- > Wvla-larger-than_003d > > -Wvla-la

[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Keywords|

[Bug target/109374] FAIL: gnat.dg/div_zero.adb execution test

2023-04-03 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109374 --- Comment #8 from Eric Botcazou --- > No. Then the unwinder cannot unwind through it and the test cannot pass.

[Bug c/109395] New: -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread dev at joren dot ga via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 Bug ID: 109395 Summary: -Wvla-larger-than has no effect when compiling without optimizations Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/109374] FAIL: gnat.dg/div_zero.adb execution test

2023-04-03 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109374 --- Comment #7 from dave.anglin at bell dot net --- On 2023-04-03 4:46 p.m., ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109374 > > --- Comment #6 from Eric Botcazou --- >> As far as I can tell, this test h

[Bug target/109374] FAIL: gnat.dg/div_zero.adb execution test

2023-04-03 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109374 --- Comment #6 from Eric Botcazou --- > As far as I can tell, this test has always failed on both 32-bit linux and > hpux. Does libgcc/config/pa/milli64.S contain CFI directives or EH tables?

[Bug fortran/100607] ICE with SELECT RANK

2023-04-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 --- Comment #4 from anlauf at gcc dot gnu.org --- BTW: the "un-dead code" was introduced with r10-2912-g70570ec1927450 .

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-04-03 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #35 from qinzhao at gcc dot gnu.org --- (In reply to Martin Uecker from comment #34) > Created attachment 54787 [details] > patch for C FE to add size expressions to VM types in structs thanks a lot for the patch. could you please p

[Bug target/109374] FAIL: gnat.dg/div_zero.adb execution test

2023-04-03 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109374 --- Comment #5 from John David Anglin --- I'm not sure what is expected here: (gdb) r Starting program: /home/dave/gnu/gcc/objdir/gcc/testsuite/gnat/div_zero.exe warning: Unable to find libthread_db matching inferior's thread library, thread de

[Bug fortran/100607] ICE with SELECT RANK

2023-04-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100607 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug fortran/104349] ICE in (tree_to_uhwi) gfc_conv_array_initializer, at fortran/trans-array.cc:6337

2023-04-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104349 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug fortran/104349] ICE in (tree_to_uhwi) gfc_conv_array_initializer, at fortran/trans-array.cc:6337

2023-04-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104349 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/78212] Fortran allocatable strings in derived type elements debug info

2023-04-03 Thread jdelsignore at perforce dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78212 John DelSignore changed: What|Removed |Added CC||jdelsignore at perforce dot com --- Co

[Bug fortran/109394] list-directed read of character from complex number

2023-04-03 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109394 kargl at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |INVALID Status|UN

[Bug fortran/109394] New: list-directed read of character from complex number

2023-04-03 Thread snavece at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109394 Bug ID: 109394 Summary: list-directed read of character from complex number Product: gcc Version: og11 (devel/omp/gcc-11) Status: UNCONFIRMED Severity: normal Priority:

[Bug tree-optimization/109392] [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109392 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Target Milestone|--

[Bug tree-optimization/109393] Very trivial address calculation does not fold

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109393 --- Comment #1 from Andrew Pinski --- Note sometimes -fwrapv will optimize things because it can assume that overflow is defined as wrapping and this is one case that is true. Yes it sounds counter intuitive but it is true. Even re-association h

[Bug tree-optimization/109393] New: Very trivial address calculation does not fold

2023-04-03 Thread manolis.tsamis at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109393 Bug ID: 109393 Summary: Very trivial address calculation does not fold Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug c/109392] New: [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177

2023-04-03 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109392 Bug ID: 109392 Summary: [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/104272] finalizer gets called during allocate

2023-04-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104272 --- Comment #3 from Paul Thomas --- Following the allocation itself, we get: solver._data.dim[0].lbound = 1; solver._data.dim[0].ubound = 2; solver._data.dim[0].stride = 1; solver._data.offset = -1; solver

[Bug target/109384] [13 Regression] unquoted keyword 'float' in format [-Werror=format-diag]

2023-04-03 Thread damian--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109384 --- Comment #3 from Damian --- Hello Jakub, withe the change "%<-march=%s%>: z*inx conflicts with floating-point extensions ?" the build works again Best regards Damian

[Bug fortran/104272] finalizer gets called during allocate

2023-04-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104272 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Assignee|unassigned at gcc

[Bug analyzer/109361] RFE: SARIF output could contain timing/profile information

2023-04-03 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109361 --- Comment #3 from David Malcolm --- Created attachment 54804 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54804&action=edit v1 of patch for this This patch works, but it also enables the output on stderr, and I see significant differe

[Bug ipa/108007] [10/11/12/13 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 --- Comment #8 from Jakub Jelinek --- E.g. PR93385.

[Bug ipa/108007] [10/11/12/13 Regression] wrong code at -Os and above with "-fno-dce -fno-tree-dce" on x86_64-linux-gnu

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108007 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug target/108910] [12/13 Regression] Further ICE in aarch64_layout_arg

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1

[Bug modula2/109388] clang warnings related to Modula-2

2023-04-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109388 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/109388] clang warnings related to Modula-2

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109388 --- Comment #2 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:9a75f0a02e5006e081b335acd36300a85bef8eb8 commit r13-6987-g9a75f0a02e5006e081b335acd36300a85bef8eb8 Author: Gaius Mulley Date: Mon

[Bug ipa/109303] [13 Regression] ICE in push_agg_values_from_plats, at ipa-cp.cc:1458 since r13-3358-ge0403e95689af7d5

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109303 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:da3fd01757297c1d20cf3dcd76046488da737569 commit r13-6986-gda3fd01757297c1d20cf3dcd76046488da737569 Author: Martin Jambor Date:

[Bug ipa/109303] [13 Regression] ICE in push_agg_values_from_plats, at ipa-cp.cc:1458 since r13-3358-ge0403e95689af7d5

2023-04-03 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109303 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/109389] g++ file.cpp -lgmp (option only works after filename)

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109389 --- Comment #6 from Andrew Pinski --- Note Debian (and Ubuntu) has a patch to their GCC which does cause the default arguments to ld to include --as-needed . That is why you are seeing a difference between gcc and clang. Note if you build GCC fr

[Bug c++/109389] g++ file.cpp -lgmp (option only works after filename)

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109389 --- Comment #5 from Andrew Pinski --- Note for shared libraries it might the case the gcc you using defaults to passing --as-needed to the linker and the clang driver does not.

[Bug c++/109389] g++ file.cpp -lgmp (option only works after filename)

2023-04-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109389 --- Comment #4 from Jonathan Wakely --- Clang is not a linker either. Both Clang and GCC just pass the options to the linker. Any difference in behaviour is a difference in the linker, not a difference between Clang and GCC.

[Bug c++/109389] g++ file.cpp -lgmp (option only works after filename)

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109389 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug analyzer/109190] GCC Static Analyzer cannot handle the initialization of an array with a for loop

2023-04-03 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109190 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #2 fr

[Bug c++/109389] g++ file.cpp -lgmp (option only works after filename)

2023-04-03 Thread frechbengel at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109389 --- Comment #2 from Bernd --- @ Jonathan Wakely Thank you for correcting me and setting the issue solved. Sorry for the wrong report. For a long time g++ accepted the -lgmp before the filename, clang++ still does. That's why I thought that thi

[Bug c++/109381] [10/11/12/13 Regression] Ambiguous member lookup with this-> accepted when it should be rejected

2023-04-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109381 Patrick Palka changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug target/109254] Bug in gcc (13.0.1) support for ARM SVE, which randomly modifies the prediction register

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109254 --- Comment #8 from Jakub Jelinek --- Should be fixed on the trunk so far.

[Bug c++/109319] [12 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3793 since r12-5510

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109319 Jakub Jelinek changed: What|Removed |Added Summary|[12/13 Regression] ICE in |[12 Regression] ICE in

[Bug target/109384] [13 Regression] unquoted keyword 'float' in format [-Werror=format-diag]

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109384 --- Comment #2 from Jakub Jelinek --- And something is conflict with something_else is incorrect grammar, so %<-march=%s%>: z*inx conflicts with floating-point extensions ?

[Bug target/109384] [13 Regression] unquoted keyword 'float' in format [-Werror=format-diag]

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109384 Jakub Jelinek changed: What|Removed |Added Summary|unquoted keyword 'float' in |[13 Regression] unquoted

[Bug target/109384] unquoted keyword 'float' in format [-Werror=format-diag]

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109384 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/108888] [13 Regression] error: definition in block 26 follows the use

2023-04-03 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug analyzer/109190] GCC Static Analyzer cannot handle the initialization of an array with a for loop

2023-04-03 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109190 --- Comment #1 from Geoffrey --- Hi, David! Could you spare a little time to explain this case to me? Thanks a lt!

[Bug analyzer/108428] -Wanalyzer-null-dereference false negative with *f = 1

2023-04-03 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108428 --- Comment #2 from Geoffrey --- Hi, David! Could you spare a little time to explain this case for me? Please ^v^

[Bug rtl-optimization/109391] New: Inefficient codegen on AArch64 when structure types are returned

2023-04-03 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109391 Bug ID: 109391 Summary: Inefficient codegen on AArch64 when structure types are returned Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimi

[Bug c++/109389] g++ file.cpp -lgmp (option only works after filename)

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

[Bug analyzer/107733] -Wanalyzer-null-dereference false positive with wrong path note "(3) 'e' is NULL" and inconsistent behaviors

2023-04-03 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107733 --- Comment #4 from Geoffrey --- (In reply to David Malcolm from comment #2) > ...and also, as you note: > * deleting the unrelated code ` int *d = 0;` should not affect the result > (but does) > > > > the path note `(3) 'e' is NULL` is wron

[Bug tree-optimization/109386] [13 Regression] Frange value relation related miscompilation

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109386 --- Comment #3 from Jakub Jelinek --- Created attachment 54803 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54803&action=edit gcc13-pr109386.patch Untested fix. When LT/LE/GT/GE have lhs [0, 0] or UNLT/UNLE/UNGT/UNGE have lhs [1, 1], w

[Bug c++/109390] New: Does not reject specialized non-type argument of dependent type in class template partial specialization

2023-04-03 Thread sbergman at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109390 Bug ID: 109390 Summary: Does not reject specialized non-type argument of dependent type in class template partial specialization Product: gcc Version: unknown

[Bug c++/109389] New: g++ file.cpp -lgmp (option only works after filename)

2023-04-03 Thread frechbengel at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109389 Bug ID: 109389 Summary: g++ file.cpp -lgmp (option only works after filename) Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug target/109380] inline member function symbol not exported with explicit template instantiation declaration on MinGW

2023-04-03 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109380 LIU Hao changed: What|Removed |Added CC||lh_mouse at 126 dot com --- Comment #4 from L

[Bug tree-optimization/109386] [13 Regression] Frange value relation related miscompilation

2023-04-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109386 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libstdc++/109383] [QoI] std::type_index::operator<=> should not call __builtin_strcmp twice

2023-04-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109383 --- Comment #3 from Jonathan Wakely --- For !__GXX_TYPEINFO_EQUALITY_INLINE we need to export a new symbol from the library, so the patch above doesn't optimize that case.

[Bug libstdc++/109383] [QoI] std::type_index::operator<=> should not call __builtin_strcmp twice

2023-04-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109383 --- Comment #2 from Jonathan Wakely --- --- a/libstdc++-v3/include/std/typeindex +++ b/libstdc++-v3/include/std/typeindex @@ -87,13 +87,21 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION strong_ordering operator<=>(const type_index& __rhs) const n

[Bug tree-optimization/109386] [13 Regression] Frange value relation related miscompilation

2023-04-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109386 --- Comment #2 from Jakub Jelinek --- The swapping isn't really needed, the testcase can be simplified to: static inline float foo (float x, float y) { float u = __builtin_fabsf (x); float v = __builtin_fabsf (y); if (!(u >= v)) {

[Bug libstdc++/109383] [QoI] std::type_index::operator<=> should not call __builtin_strcmp twice

2023-04-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109383 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug modula2/109388] clang warnings related to Modula-2

2023-04-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109388 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug gcov-profile/96919] [GCOV] uncovered line of stack allocation while using virutal destructor

2023-04-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96919 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug rtl-optimization/108681] [12 Regression] gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-04-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108681 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED Resoluti

[Bug tree-optimization/101301] Improving sparse switch statement

2023-04-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101301 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug target/109072] [12 Regression] SLP costs for vec duplicate too high since g:4963079769c99c4073adfd799885410ad484cbbe

2023-04-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109072 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|

[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2023-04-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 Martin Liška changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/103429] Optimization of Auto-generated condition chain is not giving good lookup tables.

2023-04-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103429 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug gcov-profile/105238] Regression: using -fprofile-dir: gcno files not ccache cachable anymore / gcovr report broken

2023-04-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105238 Martin Liška changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/108608] [12 Regression] AArch64 vectorizer ICE in vect_transform_reduction and __builtin_fmax

2023-04-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108608 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resoluti

[Bug ipa/106816] noreturn/pure attributes are not set correctly on multiversioned functions

2023-04-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106816 Martin Liška changed: What|Removed |Added Target Milestone|--- |13.0 Keywords|

  1   2   >