[Bug c/111086] Possibly incorrect warning: arm-none-eabi-gcc:packed attribute causes inefficient alignment for

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111086 --- Comment #1 from Andrew Pinski --- if (STRICT_ALIGNMENT) warning (OPT_Wpacked, "packed attribute causes inefficient " "alignment for %qE", name); else

[Bug c/111086] New: Possibly incorrect warning: arm-none-eabi-gcc:packed attribute causes inefficient alignment for

2023-08-20 Thread tonyjosinew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111086 Bug ID: 111086 Summary: Possibly incorrect warning: arm-none-eabi-gcc:packed attribute causes inefficient alignment for Product: gcc Version: 9.2.1 Status: UNCONFIRMED

[Bug tree-optimization/111002] Code generation for vectorized -(a[i] != 0) with number of elements change could be improved

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111002 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug driver/111084] Support configurable dynamic linker path

2023-08-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 --- Comment #6 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #5) > Also buildroot uses sysroots and chroot/containers instead. > > Containers/chroot is the better approach anyways. We use sysroot and chroot since Linux From

[Bug driver/111084] Support configurable dynamic linker path

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 --- Comment #5 from Andrew Pinski --- Also buildroot uses sysroots and chroot/containers instead. Containers/chroot is the better approach anyways.

[Bug driver/111084] Support configurable dynamic linker path

2023-08-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #4

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2023-08-20 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #13 from waffl3x --- I am finding myself realizing that implementing this as a member function and turning off member function bits seems to be more difficult than implementing it as a static function and implementing member

[Bug target/111062] ICE: in final_scan_insn_1, at final.cc:2808 could not split insn {*andndi_1} with -O -mavx10.1-256 -mavx512bw -mno-avx512f

2023-08-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111062 --- Comment #1 from Hongtao.liu --- (In reply to Zdenek Sojka from comment #0) > Created attachment 55755 [details] > reduced testcase > > Compiler output: > $ x86_64-pc-linux-gnu-gcc -O -mavx10.1-256 -mavx512bw -mno-avx512f testcase.c > cc1:

[Bug tree-optimization/111002] Code generation for vectorized -(a[i] != 0) with number of elements chang could be improved

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111002 --- Comment #2 from Andrew Pinski --- here is the corrected patch: diff --git a/gcc/match.pd b/gcc/match.pd index 851f1af6eac..81666f28465 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -4718,6 +4718,15 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)

[Bug middle-end/111082] [14 Regression] ICE in expand_fn_using_insn, at internal-fn.cc:214 (AVX512 related)

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111082 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-08-20

[Bug modula2/111085] nexttoward and nexttowardf have incorrect definitions

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

[Bug modula2/111085] nexttoward and nexttowardf have incorrect definitions

2023-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111085 --- Comment #2 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:a724c6e93dfce3a86f9c0fbf8be4316c37dd5a40 commit r14-3346-ga724c6e93dfce3a86f9c0fbf8be4316c37dd5a40 Author: Gaius Mulley Date:

[Bug modula2/108143] LONGREAL and powerpc64le-linux

2023-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108143 --- Comment #5 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:a724c6e93dfce3a86f9c0fbf8be4316c37dd5a40 commit r14-3346-ga724c6e93dfce3a86f9c0fbf8be4316c37dd5a40 Author: Gaius Mulley Date:

[Bug modula2/111085] nexttoward and nexttowardf have incorrect definitions

2023-08-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111085 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2023-08-20 Ever confirmed|0

[Bug modula2/111085] New: nexttoward and nexttowardf have incorrect definitions

2023-08-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111085 Bug ID: 111085 Summary: nexttoward and nexttowardf have incorrect definitions Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug driver/111084] Support configurable dynamic linker path

2023-08-20 Thread hdante at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 --- Comment #3 from Henrique --- Hello, the reason is that linux from scratch bootstraps an initial toolchain decoupled from the host toolchain before installing the final system. The final installation will use the correct paths. The initial

[Bug driver/111084] Support configurable dynamic linker path

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug driver/52556] Ability to change GLIBC_DYNAMIC_LINKER

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52556 Andrew Pinski changed: What|Removed |Added CC||hdante at gmail dot com --- Comment #7

[Bug driver/111084] Support configurable dynamic linker path

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug driver/111084] New: Support configurable dynamic linker path

2023-08-20 Thread hdante at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 Bug ID: 111084 Summary: Support configurable dynamic linker path Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/107761] Implement C++23

2023-08-20 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107761 --- Comment #2 from gnzlbg --- Update: the reference implementation is now merged into libc++ and will release with LLVM 17.

[Bug fortran/49588] DATA statement with vector sections rejected (ICE: TODO)

2023-08-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49588 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug testsuite/110756] [14 Regression] commit g:92d1425ca78 causes failures in g++.dg/gomp/pr58567.C

2023-08-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110756 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/110756] [14 Regression] commit g:92d1425ca78 causes failures in g++.dg/gomp/pr58567.C

2023-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110756 --- Comment #5 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:40a6803c6d8ca244a7bdda8e4ec986c418362b24 commit r14-3344-g40a6803c6d8ca244a7bdda8e4ec986c418362b24 Author: Thiago Jung Bauermann

[Bug tree-optimization/110919] [14 Regression] Dead Code Elimination Regression at -O3 since r14-1691-gbc5a2c2e793

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110919 --- Comment #5 from Andrew Pinski --- Or take: ``` _Bool g(int a, int b) { b &= 1; _Bool t = a == b; _Bool e = a != 0; _Bool g = t & e; return g; } int g0(int a, int b) { b &= 1; _Bool t = 1 == b; _Bool e = a == 1; _Bool g = t

[Bug tree-optimization/110919] [14 Regression] Dead Code Elimination Regression at -O3 since r14-1691-gbc5a2c2e793

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110919 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/111082] [14 Regression] ICE in expand_fn_using_insn, at internal-fn.cc:214 (AVX512 related)

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111082 Andrew Pinski changed: What|Removed |Added Summary|ICE in |[14 Regression] ICE in

[Bug lto/111081] LTO link failure on darwin: g++.dg/lto/pr65276

2023-08-20 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111081 --- Comment #1 from Iain Sandoe --- This seems likely related to whether we consider type info to be weak linkage.

[Bug c++/111083] Test failure of g++.dg/ipa/pr67056.C on darwin

2023-08-20 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111083 --- Comment #1 from Iain Sandoe --- since this is a scan-dump test, we do not need to execute it - I guess we could add "-fno-PIE" to the options - AFAIR we will only reject this when linking.

[Bug c++/111083] Test failure of g++.dg/ipa/pr67056.C on darwin

2023-08-20 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111083 Francois-Xavier Coudert changed: What|Removed |Added Last reconfirmed||2023-08-20

[Bug c++/111083] New: Test failure of g++.dg/ipa/pr67056.C on darwin

2023-08-20 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111083 Bug ID: 111083 Summary: Test failure of g++.dg/ipa/pr67056.C on darwin Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/102609] [C++23] P0847R7 - Deducing this

2023-08-20 Thread gasper.azman at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102609 --- Comment #12 from Gašper Ažman --- Replies to relevant snippets inline. That was quite a write-up! > The only compelling case I can think of for such a thing would be passing a > pointer type that isn't related by inheritance anyway. That

[Bug middle-end/111082] ICE in expand_fn_using_insn, at internal-fn.cc:214 (AVX512 related)

2023-08-20 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111082 --- Comment #1 from Manuel Lauss --- Created attachment 55767 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55767=edit another compressed unreduced testcase Another testcase. it triggers with "-march=zvner1" but not e.g. "core2" but

[Bug middle-end/111082] New: ICE in expand_fn_using_insn, at internal-fn.cc:214 (AVX512 related)

2023-08-20 Thread manuel.lauss at googlemail dot com via Gcc-bugs
ced testcase gcc version 14.0.0 20230820 (experimental) d77c280454cfba48ef38357145cecdabc8c1b05c # gcc -O2 -march=znver4 -mtune=znver4 -pipe -std=gnu++11 gcc14-bf.ii In file included from /tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/panodata/PanoramaData.h

[Bug ipa/85656] gcc.dg/ipa/ipa-icf-38.c FAILs

2023-08-20 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85656 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug lto/111081] LTO link failure on darwin: g++.dg/lto/pr65276

2023-08-20 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111081 Francois-Xavier Coudert changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug lto/111081] New: LTO link failure on darwin: g++.dg/lto/pr65276

2023-08-20 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111081 Bug ID: 111081 Summary: LTO link failure on darwin: g++.dg/lto/pr65276 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug debug/111080] [11/12/13/14 Regression] restrict qualifier causes extra debug info to happen

2023-08-20 Thread sagebar at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111080 --- Comment #2 from sagebar at web dot de --- @Andrew Pinski Of course: yes. I did make a mistake there, but only for this case: > int (*fun_t)(struct foo *); // Leak (even w/o restrict!) asm: ... .globl fun_t

[Bug debug/111080] [11/12/13/14 Regression] restrict qualifier causes extra debug info to happen

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111080 Andrew Pinski changed: What|Removed |Added Summary|restrict qualifier causes |[11/12/13/14 Regression]

[Bug debug/111080] restrict qualifier causes extra debug info to happen

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111080 --- Comment #1 from Andrew Pinski --- > static int (*fun_t)(struct foo *); // Leak (even w/o restrict!) > int (*fun_t)(struct foo *); // Leak (even w/o restrict!) The above should include the foo debug information as

[Bug debug/111080] New: restrict qualifier leaks debug info

2023-08-20 Thread sagebar at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111080 Bug ID: 111080 Summary: restrict qualifier leaks debug info Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug

[Bug tree-optimization/110919] [14 Regression] Dead Code Elimination Regression at -O3 since r14-1691-gbc5a2c2e793

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110919 --- Comment #3 from Andrew Pinski --- The first change we get is threadfull1 where there is an extra jump threading. And then phiopt2 changes: [local count: 719407024]: if (l_15(D) != 0) goto ; [50.00%] else goto ; [50.00%] into:

[Bug tree-optimization/110918] [14 Regression] Dead Code Elimination Regression at -O3 since r14-2331-g018e7f16408

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110918 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-08-20

[Bug libstdc++/111077] atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111077 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug ipa/111036] Code generation error in handling __builtin_constant_p

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111036 Andrew Pinski changed: What|Removed |Added Depends on||99309 Known to work|

[Bug middle-end/111054] [14 Regression] ICE: in to_sreal, at profile-count.cc:472 with -O3 -fno-guess-branch-probability

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111054 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug bootstrap/111027] [11/12/13/14 Regression] `make install` touches the build directory; Install error "tmp-header-vars: Permission denied", build on NFS, improvement possible

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111027 Andrew Pinski changed: What|Removed |Added Known to fail||4.5.0 Known to work|

[Bug tree-optimization/111043] [14 regression] ICE in adjust_loop_info_after_peeling, at tree-ssa-loop-ivcanon.cc:1068

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

[Bug tree-optimization/111070] [14 Regregression] ./gcc.target/tic6x/abi-align-1.c on x86_64 with -O1

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111070 --- Comment #3 from Andrew Pinski --- In this case name1 and name2 are both ADDR_EXPR rather than SSA_NAMES. We start with: ``` [local count: 1073741822]: _1 = (long unsigned int) _ary[0]; _2 = _1 & 7; if (_2 != 0) goto ; [34.00%]

[Bug tree-optimization/111070] [14 Regregression] ./gcc.target/tic6x/abi-align-1.c on x86_64 with -O1

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111070 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-08-20

[Bug middle-end/110986] [14 Regression] aarch64 has support for conditional not (and vectorized conditional not ) after r14-3110-g7fb65f10285

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110986 --- Comment #20 from Andrew Pinski --- Only the scalar testcase remains failing now. I will come up with a solution next week.

[Bug tree-optimization/111006] [SVE] Extra neg for storing to short from int comparison

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111006 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug middle-end/110986] [14 Regression] aarch64 has support for conditional not (and vectorized conditional not ) after r14-3110-g7fb65f10285

2023-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110986 --- Comment #19 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:70c50c87273d940918225d5c6b03f1ccfb6f978e commit r14-3337-g70c50c87273d940918225d5c6b03f1ccfb6f978e Author: Andrew Pinski Date:

[Bug tree-optimization/111006] [SVE] Extra neg for storing to short from int comparison

2023-08-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111006 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:70c50c87273d940918225d5c6b03f1ccfb6f978e commit r14-3337-g70c50c87273d940918225d5c6b03f1ccfb6f978e Author: Andrew Pinski Date:

[Bug libstdc++/111077] atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111077 --- Comment #6 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #5) > See > https://gcc.gnu.org/pipermail/libstdc++/2022-October/054899.html > > Also This is just a buggy test.

[Bug sanitizer/111063] [UBSAN] Implement "-inf is outside the range of representable values of type 'unsigned long'" to be on par with Clang

2023-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111063 --- Comment #2 from Andrew Pinski --- Also I tested GCC 13.2.0 with -fsanitize=float-cast-overflow and GCC does produce an error message at runtime for the original testcase too.

[Bug sanitizer/111063] [UBSAN] Implement "-inf is outside the range of representable values of type 'unsigned long'" to be on par with Clang

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