[Bug target/107757] New: PPCLE: Inefficient vector constant creation

2022-11-18 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107757 Bug ID: 107757 Summary: PPCLE: Inefficient vector constant creation Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/107756] New: Change in sizeof(enum) with -std=gnu11 breaks Linux kernel code compilation (PR c/36113 change regression)

2022-11-18 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107756 Bug ID: 107756 Summary: Change in sizeof(enum) with -std=gnu11 breaks Linux kernel code compilation (PR c/36113 change regression) Product: gcc Version: 13.0 Status:

[Bug c++/107755] ICE: in fold_convert_loc, at fold-const.c:2435, with -Wlogical-op, implicit user-defined conversion operator, template function, logical operator, and conditional operator

2022-11-18 Thread pokechu022+gccbugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107755 Pokechu22 changed: What|Removed |Added Known to fail||10.3.0, 12.2.0, 4.8.1, |

[Bug c++/107755] New: ICE: in fold_convert_loc, at fold-const.c:2435, with -Wlogical-op, implicit user-defined conversion operator, template function, logical operator, and conditional operator

2022-11-18 Thread pokechu022+gccbugzilla at gmail dot com via Gcc-bugs
mpiler-explorer/gcc-snapshot/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-trunk-20221118/configure --prefix=/opt/compiler-explorer/gcc-build/staging --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch --with-abi=m64 --with-multili

[Bug analyzer/107582] - -Wanalyzer-use-of-uninitialized-value false positive with while loop in pthread_cleanup_push

2022-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582 --- Comment #9 from David Malcolm --- s/earlier/earliest/

[Bug analyzer/107582] - -Wanalyzer-use-of-uninitialized-value false positive with while loop in pthread_cleanup_push

2022-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582 --- Comment #8 from David Malcolm --- (In reply to David Malcolm from comment #7) > I hope to backport this to GCC 12; keeping this open to track that. I believe the buggy implementation of dynamic_call_info_t::update_model was introduced in

[Bug analyzer/107582] - -Wanalyzer-use-of-uninitialized-value false positive with while loop in pthread_cleanup_push

2022-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582 --- Comment #7 from David Malcolm --- Fixed on trunk for GCC 13 by the above commit. I hope to backport this to GCC 12; keeping this open to track that.

[Bug analyzer/107582] - -Wanalyzer-use-of-uninitialized-value false positive with while loop in pthread_cleanup_push

2022-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582 --- Comment #6 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:a7aef0a5a2b7e20048275a29bd80674c1a061a24 commit r13-4158-ga7aef0a5a2b7e20048275a29bd80674c1a061a24 Author: David Malcolm Date:

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #9 from Steve Kargl --- On Fri, Nov 18, 2022 at 11:24:29PM +, sgk at troutmask dot apl.washington.edu wrote: > > Does anyone know what is meant by "Fortran rules"? F66 does not > have any particular algorithm specified. I'll

[Bug ipa/96503] attribute alloc_size effect lost after inlining

2022-11-18 Thread pageexec at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96503 PaX Team changed: What|Removed |Added CC||pageexec at gmail dot com --- Comment #2

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread weslley.pereira at ucdenver dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #8 from Weslley da Silva Pereira --- Created attachment 53927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53927=edit Test case with many examples of complex division Test code used in LAPACK 3.11.0. Code extracted from

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread weslley.pereira at ucdenver dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #7 from Weslley da Silva Pereira --- (In reply to anlauf from comment #3) > I guess the reporter assumes that gcc uses a clever algorithm like Smith's > to handle such extreme cases of complex division. Not sure if that one is >

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #6 from Steve Kargl --- On Fri, Nov 18, 2022 at 11:24:29PM +, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 > > --- Comment #5 from Steve Kargl --- > On Fri, Nov 18, 2022

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #5 from Steve Kargl --- On Fri, Nov 18, 2022 at 10:05:21PM +, kargl at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 > > --- Comment #4 from kargl at gcc dot gnu.org --- > (In reply to anlauf from

[Bug debug/99090] gsplit-dwarf broken on riscv64-linux

2022-11-18 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99090 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug rtl-optimization/100647] ICE during sms pass

2022-11-18 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100647 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug rtl-optimization/103296] Select satisfied register for deleting noop move instruction.

2022-11-18 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103296 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #4 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #3) > I guess the reporter assumes that gcc uses a clever algorithm like Smith's > to handle such extreme cases of complex division. Not sure if that one is >

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #26 from Andrew Pinski --- (In reply to Andrew Pinski from comment #25) > The minmax is recorded as PR 101024. There is some more improvements to > gimple_simplify_phiopt needed for early_p as the way min/max patterns are >

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 --- Comment #10 from Segher Boessenkool --- (In reply to Hongyu Wang from comment #9) > The difference is, -mno-unroll-only-small-loops -O2 would cause > rtl-loop-unroll takeing effect, No. -m{no-,}unroll-only-small-loops does not enable or

[Bug tree-optimization/107754] Confusing -Warray-bounds warning with strcpy with a null pointer and non-zero offset for struct array

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107754 --- Comment #2 from Andrew Pinski --- Note in the origin "reduced" testcase, we had a conditional null pointer which was exposing the null pointer at -O2 due to optimizations.

[Bug tree-optimization/107754] Confusing -Warray-bounds warning with strcpy with a null pointer

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

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 --- Comment #3 from anlauf at gcc dot gnu.org --- I guess the reporter assumes that gcc uses a clever algorithm like Smith's to handle such extreme cases of complex division. Not sure if that one is available by some compilation flag, and I

[Bug c/107754] New: Confusing -Warray-bounds warning with strcpy

2022-11-18 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107754 Bug ID: 107754 Summary: Confusing -Warray-bounds warning with strcpy Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug analyzer/107582] - -Wanalyzer-use-of-uninitialized-value false positive with while loop in pthread_cleanup_push

2022-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582 --- Comment #5 from David Malcolm --- It's a bug in feasibility-checking when jumping through a function pointer: dynamic_call_info_t::update_model blindly copies over the state from the exploded_node's state, overwriting the precise knowledge

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2022-11-18 Thread kerukuro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 kerukuro changed: What|Removed |Added CC||kerukuro at gmail dot com --- Comment #13

[Bug analyzer/107582] - -Wanalyzer-use-of-uninitialized-value false positive with while loop in pthread_cleanup_push

2022-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/107751] [11/12/13 regression] False positive -Wmaybe-uninitialized at -O0

2022-11-18 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107751 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/107751] [11/12/13 regression] False positive -Wmaybe-uninitialized at -O0

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107751 --- Comment #2 from Andrew Pinski --- Reduced testcase (removes the templates, also now able to compile as C): typedef const int T1; typedef const int T2; void std_equal(T1* a1, T1* a2, T2* b1); void f() { int a[3] = {1, 2, 3}; T1* x

[Bug c++/107751] [11/12/13 regression] False positive -Wmaybe-uninitialized at -O0

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107751 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.4 Last reconfirmed|

[Bug sanitizer/107752] Lack of column information in AddressSanitizer reports

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107752 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug sanitizer/107752] Lack of column information in AddressSanitizer reports

2022-11-18 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107752 --- Comment #3 from Li Shaohua --- (In reply to Andrew Pinski from comment #1) > Do you mean the column information rather than offset? Yes, I meant the column information. I don’t know the implementation details of ASAN. But as UBsan can

[Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-11-18

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-18 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 --- Comment #9 from Hongyu Wang --- (In reply to Segher Boessenkool from comment #8) > (In reply to Jiu Fu Guo from comment #5) > > > -munroll-only-small-loops does not turn on or off -funroll-loops, and it > > > should not, so that it does

[Bug fortran/107753] New: gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I)

2022-11-18 Thread weslley.pereira at ucdenver dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107753 Bug ID: 107753 Summary: gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I) Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug fortran/107680] ICE in arith_power, at fortran/arith.cc:989 and :1006

2022-11-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107680 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/107576] [10/11/12/13 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.cc:6193

2022-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107576 --- Comment #11 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:820c25c83561085f54268bd536f9d216d03c3e18 commit r13-4147-g820c25c83561085f54268bd536f9d216d03c3e18 Author: Harald Anlauf Date:

[Bug testsuite/107689] [13 regression] r13-3979-g9d29dd2fcf2922 causes failures in diagnostic-format-json-2.c and others

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107689 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug sanitizer/107752] Lack of column information in AddressSanitizer reports

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107752 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug sanitizer/107752] Lack of column information in AddressSanitizer reports

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107752 Andrew Pinski changed: What|Removed |Added Summary|Lack of offset information |Lack of column information

[Bug sanitizer/107752] Lack of offset information in AddressSanitizer reports

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107752 --- Comment #1 from Andrew Pinski --- Do you mean the column information rather than offset?

[Bug c/106765] [12/13 Regression] ICE (invalid code) in tree check: expected class 'type', have 'exceptional' (error_mark) in create_tmp_from_val, at gimplify.cc since r12-7222-g3f10e0d50b5e3b3f

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106765 Andrew Pinski changed: What|Removed |Added Target Milestone|12.3|13.0 Status|ASSIGNED

[Bug middle-end/107307] [12/13 Regression] ICE tree check: expected class 'type', have 'exceptional' (error_mark) in canonicalize_component_ref, at gimplify.cc:2923 since r12-3278-g823685221de986af

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107307 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/106764] [12/13 Regression] ICE on invalid code in tree check: expected function_type or method_type, have error_mark in gimplify_call_expr, at gimplify.cc

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106764 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/107705] [12/13 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in ix86_function_type_abi, at config/i386/i386.cc:1529

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107705 Andrew Pinski changed: What|Removed |Added Target Milestone|12.3|13.0 Status|ASSIGNED

[Bug c/106764] [12/13 Regression] ICE on invalid code in tree check: expected function_type or method_type, have error_mark in gimplify_call_expr, at gimplify.cc

2022-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106764 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:bd0c9d9e706adaeea0d96152daade0a6819a8715 commit r13-4143-gbd0c9d9e706adaeea0d96152daade0a6819a8715 Author: Andrew Pinski Date:

[Bug middle-end/107307] [12/13 Regression] ICE tree check: expected class 'type', have 'exceptional' (error_mark) in canonicalize_component_ref, at gimplify.cc:2923 since r12-3278-g823685221de986af

2022-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107307 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:bd0c9d9e706adaeea0d96152daade0a6819a8715 commit r13-4143-gbd0c9d9e706adaeea0d96152daade0a6819a8715 Author: Andrew Pinski Date:

[Bug c/107705] [12/13 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in ix86_function_type_abi, at config/i386/i386.cc:1529

2022-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107705 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:ceba66ee230bb96b0889fc8ec7333c7ffae96d6e commit r13-4144-gceba66ee230bb96b0889fc8ec7333c7ffae96d6e Author: Andrew Pinski Date:

[Bug c/106765] [12/13 Regression] ICE (invalid code) in tree check: expected class 'type', have 'exceptional' (error_mark) in create_tmp_from_val, at gimplify.cc since r12-7222-g3f10e0d50b5e3b3f

2022-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106765 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:bd0c9d9e706adaeea0d96152daade0a6819a8715 commit r13-4143-gbd0c9d9e706adaeea0d96152daade0a6819a8715 Author: Andrew Pinski Date:

[Bug sanitizer/107752] New: Lack of offset information in AddressSanitizer reports

2022-11-18 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107752 Bug ID: 107752 Summary: Lack of offset information in AddressSanitizer reports Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/107183] [10/11/12/13 Regression] -fcompare-debug failure (length) with -fsanitize=float-cast-overflow since r7-5708-gcfd719e7769fd43f

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107183 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/106462] LRA on mips64el: unable to reload (subreg:SI (reg:DI)) constrained by "f"

2022-11-18 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106462 --- Comment #2 from Vladimir Makarov --- I built mips64el-linux-gnuabi64 but using -mabi=64 -msingle-float for it gives cc1: error: unsupported combination: -mgp64 -mno-odd-spreg Did I miss something?

[Bug target/107183] [10/11/12/13 Regression] -fcompare-debug failure (length) with -fsanitize=float-cast-overflow since r7-5708-gcfd719e7769fd43f

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107183 --- Comment #4 from Jakub Jelinek --- Seems the bug is in swap_rtx_condition. It is called on: (insn 10023 10021 10024 4 (set (reg:CCFP 17 flags) (unspec:CCFP [ (compare:CCFP (reg:XF 9 st(1) [orig:84 _3 ] [84])

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 --- Comment #8 from Segher Boessenkool --- (In reply to Jiu Fu Guo from comment #5) > > -munroll-only-small-loops does not turn on or off -funroll-loops, and it > > should not, so that it does what it says, if nothing else. > > Yes, and

[Bug analyzer/107750] Many gcc.dg/analyzer/fd-*.c tests FAIL

2022-11-18 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107750 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from David Malcolm --- > Sorry about the breakage; thanks for filing this, and for the patch. > > Looking at: > FAIL: gcc.dg/analyzer/fd-access-mode-target-headers.c

[Bug target/107692] [13 regression] r13-3950-g071e428c24ee8c breaks many test cases

2022-11-18 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107692 --- Comment #7 from Jiu Fu Guo --- (In reply to Hongyu Wang from comment #6) > (In reply to Jiu Fu Guo from comment #4) > cut... > > Yes, I've already posted the patch at > https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606478.html

[Bug c++/107751] New: [11/12 regression] False positive -Wmaybe-uninitialized

2022-11-18 Thread alvinhochun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107751 Bug ID: 107751 Summary: [11/12 regression] False positive -Wmaybe-uninitialized Product: gcc Version: 12.2.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug analyzer/107750] Many gcc.dg/analyzer/fd-*.c tests FAIL

2022-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107750 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

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

2022-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107733 --- Comment #2 from David Malcolm --- ...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 wrong, this may suggest some problems. Note (3) seems

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

2022-11-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107733 --- Comment #1 from David Malcolm --- Thanks for filing this bug. It's analyzing "a" twice: as called by main, and as a standalone function. The warning comes from the analysis of "a" as a standalone function; if I delete "main" from the

[Bug target/107131] [11/12/13 Regression] wrong code with -Os -fno-ipa-vrp -fno-tree-bit-ccp

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107131 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug analyzer/107750] Many gcc.dg/analyzer/fd-*.c tests FAIL

2022-11-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107750 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug analyzer/107750] Many gcc.dg/analyzer/fd-*.c tests FAIL

2022-11-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107750 --- Comment #1 from Rainer Orth --- Created attachment 53925 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53925=edit Patch for missing includes

[Bug analyzer/107750] New: Many gcc.dg/analyzer/fd-*.c tests FAIL

2022-11-18 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107750 Bug ID: 107750 Summary: Many gcc.dg/analyzer/fd-*.c tests FAIL Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug target/107628] ICE: SIGSEGV in commutative_operand_precedence (rtlanal.cc:3770) with -fsignaling-nans

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

[Bug target/107748] [13 Regression] Isn't _mm_cvtsbh_ss incorrect?

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107748 --- Comment #4 from Jakub Jelinek --- Created attachment 53923 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53923=edit gcc13-pr107748-uglify.patch Besides the missing uglification in this spot, I found some others (only checked for .

[Bug target/107748] [13 Regression] Isn't _mm_cvtsbh_ss incorrect?

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107748 --- Comment #3 from Jakub Jelinek --- (In reply to Hongtao.liu from comment #2) > float > _mm_cvtsbh_ss (__bf16 __A) > { > union{ float sf; __bf16 bf[2];} __tmp; > __tmp.sf = 0.0f; > __tmp.bf[1] = __A; > return __tmp.sf; > } > > Looks

[Bug target/107748] [13 Regression] Isn't _mm_cvtsbh_ss incorrect?

2022-11-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107748 --- Comment #2 from Hongtao.liu --- float _mm_cvtsbh_ss (__bf16 __A) { union{ float sf; __bf16 bf[2];} __tmp; __tmp.sf = 0.0f; __tmp.bf[1] = __A; return __tmp.sf; } Looks like gcc can optimize it to _mm_cvtsbh_ss(bool _Accum):

[Bug web/107749] onlinedocs: gdc docs got removed during sphinx revert

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107749 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug web/107749] New: onlinedocs: gdc docs got removed during sphinx revert

2022-11-18 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107749 Bug ID: 107749 Summary: onlinedocs: gdc docs got removed during sphinx revert Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/107748] [13 Regression] Isn't _mm_cvtsbh_ss incorrect?

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107748 --- Comment #1 from Jakub Jelinek --- Discovered as +FAIL: gcc.target/i386/avx512bf16-cvtsbh2ss-1.c scan-assembler-times sall[ t]+[^{\\n]*16 1 regression with my https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606398.html patch,

[Bug target/107748] [13 Regression] Isn't _mm_cvtsbh_ss incorrect?

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107748 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug target/107748] New: [13 Regression] Isn't _mm_cvtsbh_ss incorrect?

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107748 Bug ID: 107748 Summary: [13 Regression] Isn't _mm_cvtsbh_ss incorrect? Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/107745] long double constexprs don't work with * or /, but work with + and - (JUST ON PPC)

2022-11-18 Thread Sebastian at SSpaeth dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107745 --- Comment #5 from Sebastian "spaetz" Spaeth --- I fully understand that nobody wants to invest time into fixing this. What would be nice though, is if this were really just a missed optimization and not rejecting to compile valid code.

[Bug sanitizer/107747] New: gcc trunk at -Os misses a global-buffer-overflow

2022-11-18 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107747 Bug ID: 107747 Summary: gcc trunk at -Os misses a global-buffer-overflow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/107745] long double constexprs don't work with * or /, but work with + and - (JUST ON PPC)

2022-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107745 --- Comment #4 from Jakub Jelinek --- I think we have many dups on this. IBM double double isn't accurately emulated inside of GCC (GCC emulation pretends it is a 106-bit mantissa type, which isn't true, e.g. for denormals it has only 53-bit

[Bug sanitizer/107746] New: gcc -O1 misses a stack-buffer-overflow

2022-11-18 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107746 Bug ID: 107746 Summary: gcc -O1 misses a stack-buffer-overflow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/107745] long double constexprs don't work with * or /, but work with + and - (JUST ON PPC)

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107745 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-18 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 --- Comment #7 from chenglulu --- (In reply to Xi Ruoyao from comment #6) > Fixed for trunk. Should we backport it to gcc-12 branch too? I don't know what the problem is, I always fail when I backport. If it is convenient for you, could you

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 Andrew Pinski changed: What|Removed |Added CC||Sebastian at SSpaeth dot de --- Comment

[Bug c++/107745] long double constexprs don't work with * or /, but work with + and - (JUST ON PPC)

2022-11-18 Thread Sebastian at SSpaeth dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107745 --- Comment #2 from Sebastian "spaetz" Spaeth --- (sid_ppc64el-dchroot)~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc64le-linux-gnu/12/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none

[Bug target/107713] Wrong implementation atomic_exchange on LoongArch

2022-11-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713 --- Comment #6 from Xi Ruoyao --- Fixed for trunk. Should we backport it to gcc-12 branch too?

[Bug c++/107745] long double constexprs don't work with * or /, but work with + and - (JUST ON PPC)

2022-11-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107745 --- Comment #1 from Andreas Schwab --- How did you configure the compiler?

[Bug middle-end/107661] [13 Regression] lambdas get merged incorrectly in tempaltes, cause llvm-12 miscompilation since r13-3358-ge0403e95689af7

2022-11-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661 --- Comment #10 from Sergei Trofimovich --- I think ipa-cp adds the call edge info in wrong direction. a.cc.081i.cp snippet around do3() param1 (our callback): IPA lattices after all propagation: Lattices: ... Node: void

[Bug c++/107745] New: long double constexprs don't work with * or /, but work with + and - (JUST ON PPC)

2022-11-18 Thread Sebastian at SSpaeth dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107745 Bug ID: 107745 Summary: long double constexprs don't work with * or /, but work with + and - (JUST ON PPC) Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug middle-end/107661] [13 Regression] lambdas get merged incorrectly in tempaltes, cause llvm-12 miscompilation since r13-3358-ge0403e95689af7

2022-11-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661 Sergei Trofimovich changed: What|Removed |Added Attachment #53888|0 |1 is obsolete|

[Bug middle-end/107661] [13 Regression] lambdas get merged incorrectly in tempaltes, cause llvm-12 miscompilation since r13-3358-ge0403e95689af7

2022-11-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661 --- Comment #8 from Sergei Trofimovich --- (In reply to Sergei Trofimovich from comment #7) > When debug reports unqualified `Aggregate replacements: 1[0]=callback_fn` > does it mean ipa-cp does not distinguish between: > * static void

[Bug tree-optimization/107717] [13 Regression] ICEs expanding permutes after g:dc95e1e9702f2f6367bbc108c8d01169be1b66d2

2022-11-18 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107717 --- Comment #4 from Hongyu Wang --- (In reply to Tamar Christina from comment #3) > Fixed Thanks for the fix! It also give me a good tip for match pattern writing :)

[Bug middle-end/107734] [13 Regression] valgrind error for gcc/testsuite/cc.target/i386/pr46051.c

2022-11-18 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107734 --- Comment #12 from Hongyu Wang --- (In reply to Andrew Pinski from comment #9) > Fixed. Thanks for the fix! I was not aware that sbitmap does not have a default constructor :(.

[Bug middle-end/107743] expmed: extract_bit_field_1: maybe-uninitialized warning

2022-11-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107743 --- Comment #1 from Richard Biener --- Is that with release checking? The code around this is /* Extraction of a full MODE1 value can be done with a subreg as long as the least significant bit of the value is the least significant