[Bug tree-optimization/107838] spurious "may be used uninitialized" warning on variable initialized at the first iteration of a loop

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107838 --- Comment #4 from Richard Biener --- comment#3 is a slightly different issue in that we do not have the guarding condition obviously true here, instead what we'd need to prove is that r_8 is always initialized because the first loop iteration

[Bug analyzer/108252] false positive: leak detection

2023-01-11 Thread chipitsine at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108252 --- Comment #5 from Илья Шипицин --- thank you, David! I'll rerun haproxy check soon

[Bug libstdc++/108221] Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc

2023-01-11 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221 --- Comment #18 from Jan Dubiec --- Thanks Jonathan. I confirm – I have successfully built master (554bb9b6) for both targets. Although I'm still using binutils 2.39, I haven't tried its current master yet.

[Bug preprocessor/108244] [13 Regression] `pragma GCC diagnostic` and -E -fdirectives-only causes the preprocessor to become confused since r13-1544-ge46f4d7430c52104

2023-01-11 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108244 Lewis Hyatt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug preprocessor/108244] [13 Regression] `pragma GCC diagnostic` and -E -fdirectives-only causes the preprocessor to become confused since r13-1544-ge46f4d7430c52104

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108244 --- Comment #11 from CVS Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:9ca4899144de6db61a782b03a1257489bd26f750 commit r13-5114-g9ca4899144de6db61a782b03a1257489bd26f750 Author: Lewis Hyatt Date: Thu

[Bug tree-optimization/108379] -Wmaybe-uninitialized false positive on conditional use

2023-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108379 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew

[Bug target/96373] SVE miscompilation on vectorized division loop, leading to FP exception

2023-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96373 --- Comment #13 from Andrew Pinski --- vect__1.9_40 = .MASK_LOAD (_13, 64B, loop_mask_39); _15 = [(double *)s_9(D) + ivtmp_48 * 8]; vect__2.12_43 = .MASK_LOAD (_15, 64B, loop_mask_39); vect__3.13_44 = vect__1.9_40 / vect__2.12_43;

[Bug target/96373] SVE miscompilation on vectorized division loop, leading to FP exception

2023-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96373 Andrew Pinski changed: What|Removed |Added CC||evatux at gmail dot com --- Comment #12

[Bug target/108378] gcc generates fpu traps unsafe code for armv8-a+sve

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

[Bug tree-optimization/108379] -Wmaybe-uninitialized false positive on conditional use

2023-01-11 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108379 --- Comment #2 from Sam James --- Minimum command needed to reproduce: ``` $ gcc-13 -Werror -Wuninitialized -O2 -c tee.i src/tee.c: In function 'tee_files': src/tee.c:272:25: error: 'out_pollable' may be used uninitialized

[Bug tree-optimization/108379] -Wmaybe-uninitialized false positive on conditional use

2023-01-11 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108379 --- Comment #1 from Sam James --- Created attachment 54252 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54252=edit coreutils-tee.patch

[Bug tree-optimization/108379] New: -Wmaybe-uninitialized false positive on conditional use

2023-01-11 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108379 Bug ID: 108379 Summary: -Wmaybe-uninitialized false positive on conditional use Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/108378] New: gcc generates fpu traps unsafe code for armv8-a+sve

2023-01-11 Thread evatux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108378 Bug ID: 108378 Summary: gcc generates fpu traps unsafe code for armv8-a+sve Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libgcc/108279] Improved speed for float128 routines

2023-01-11 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108279 --- Comment #5 from Michael_S --- Hi Thomas Are you in or out? If you are still in, I can use your help on several issues. 1. Torture. See if Invalid Operand exception raised properly now. Also if there are still remaining problems with NaN.

[Bug tree-optimization/99411] s311, s312, s31111, s31111, s3110, vsumr benchmark of TSVC is vectorized by clang better than by gcc

2023-01-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99411 --- Comment #8 from Jan Hubicka --- Compared to aocc we also do worse on zen4: jh@alberti:~/tsvc/bin> ~/trunk-install/bin/gcc -Ofast -march=native s311.c jh@alberti:~/tsvc/bin> time ./a.out real0m3.207s user0m3.206s sys

[Bug middle-end/99634] s2102 benchmarks of TSVC is vectorized better by icc than gcc, interchange is missing

2023-01-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99634 --- Comment #2 from Jan Hubicka --- AOCC produced code is: .LBB0_2:# %vector.body # Parent Loop BB0_1 Depth=1 # => This Inner

[Bug fortran/108369] FM509 Fails to compile with error

2023-01-11 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #1) > (In reply to Ben Brewer from comment #0) > Workaround: either use -std=legacy or fix the above argument declaration to: > > CHARACTER

[Bug analyzer/108252] false positive: leak detection

2023-01-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108252 --- Comment #4 from David Malcolm --- Should be fixed on trunk for gcc 13 by the above commit. I *think* the store::set_value change can be readily backported to GCC 12, so keeping this bug open to track that backport (perhaps even earlier???)

[Bug fortran/108369] FM509 Fails to compile with error

2023-01-11 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 kargl at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug analyzer/108252] false positive: leak detection

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108252 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:688fc162b76dc6747a30fcfd470f4770da0f4924 commit r13-5113-g688fc162b76dc6747a30fcfd470f4770da0f4924 Author: David Malcolm Date:

[Bug tree-optimization/108377] Unexpected 'exceeds maximum object size' diagnostic, wrong-code?

2023-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108377 --- Comment #3 from Andrew Pinski --- Just adding: if (n+1 == 0) __builtin_unreachable(); Right before the first malloc removes the warning as expected.

[Bug tree-optimization/108377] Unexpected 'exceeds maximum object size' diagnostic, wrong-code?

2023-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108377 --- Comment #2 from Andrew Pinski --- So we have: const __SIZE_TYPE__ n = calc_n(259); #if 1 haystack = __builtin_malloc(n + 1); if (!haystack) __builtin_abort(); for (__SIZE_TYPE__ i = 0; i < n + 1; ++i) haystack[i] = '0';

[Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105972 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:23b4ce18379cd336d99d7c71701be28118905b57 commit r13-5112-g23b4ce18379cd336d99d7c71701be28118905b57 Author: Jakub Jelinek Date:

[Bug tree-optimization/108377] Unexpected 'exceeds maximum object size' diagnostic, wrong-code?

2023-01-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108377 --- Comment #1 from Thomas Schwinge --- That's x86_64-pc-linux-gnu at today's commit de99049f6fe5341024d4d939ac50d063280f90db.

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-01-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 --- Comment #19 from Iain Sandoe --- (In reply to Gaius Mulley from comment #18) > For the runtime perspective then your layered approach is much cleaner. indeed .. > It would be good to allow users to be able to use pim and some iso >

[Bug tree-optimization/108377] New: Unexpected 'exceeds maximum object size' diagnostic, wrong-code?

2023-01-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108377 Bug ID: 108377 Summary: Unexpected 'exceeds maximum object size' diagnostic, wrong-code? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/107838] spurious "may be used uninitialized" warning on variable initialized at the first iteration of a loop

2023-01-11 Thread guilherme.janczak at yandex dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107838 Guilherme Janczak changed: What|Removed |Added CC||guilherme.janczak at yandex dot co

[Bug middle-end/108376] TSVC s1279 runs 40% faster with aocc than gcc at zen4

2023-01-11 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108376 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug tree-optimization/108334] Strange message in libgav1

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

[Bug fortran/108369] FM509 Fails to compile with error

2023-01-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/108199] Bitfields, unions and SRA and storage_order_attribute

2023-01-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108199 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/108199] Bitfields, unions and SRA and storage_order_attribute

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108199 --- Comment #19 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:01e80c4c630a5a6286a521b047d0ef80631c892c commit r11-10463-g01e80c4c630a5a6286a521b047d0ef80631c892c Author: Eric

[Bug tree-optimization/108199] Bitfields, unions and SRA and storage_order_attribute

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108199 --- Comment #18 from CVS Commits --- The releases/gcc-12 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:eec3a65ed638a1c58fa08ddf508d2d60b64d311d commit r12-9041-geec3a65ed638a1c58fa08ddf508d2d60b64d311d Author: Eric Botcazou

[Bug c/108375] [10/11/12/13 Regression] Some variably modified types not detected as such

2023-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108375 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > https://gcc.gnu.org/pipermail/gcc-patches/2006-May/194375.html I can't tell if the Ada testcase was added or not.

[Bug c/108375] [10/11/12/13 Regression] Some variably modified types not detected as such

2023-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108375 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2006-May/194375.html

[Bug c/108375] [10/11/12/13 Regression] Some variably modified types not detected as such

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

[Bug preprocessor/108244] [13 Regression] `pragma GCC diagnostic` and -E -fdirectives-only causes the preprocessor to become confused since r13-1544-ge46f4d7430c52104

2023-01-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108244 Andrew Pinski changed: What|Removed |Added CC||thiago at kde dot org --- Comment #10

[Bug preprocessor/108372] [12 regression] -E -fdirectives-only crash

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

[Bug tree-optimization/99412] s352 benchmark of TSVC is vectorized by clang and not by gcc

2023-01-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99412 --- Comment #2 from Jan Hubicka --- This is also seen with zen4 comparing gcc and aocc. (about 2.3 times differnece)

[Bug tree-optimization/99408] s3251 benchmark of TSVC vectorized by clang runs about 7 times faster compared to gcc

2023-01-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99408 --- Comment #3 from Jan Hubicka --- with zen4 gcc build loop takes 19s, while aocc 6.6. aocc: .LBB0_1:# %for.cond22.preheader # =>This Loop Header: Depth=1

[Bug middle-end/108376] New: TSVC s1279 runs 40% faster with aocc than gcc at zen4

2023-01-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108376 Bug ID: 108376 Summary: TSVC s1279 runs 40% faster with aocc than gcc at zen4 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/108375] New: [10/11/12/13 Regression] Some variably modified types not detected as such

2023-01-11 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108375 Bug ID: 108375 Summary: [10/11/12/13 Regression] Some variably modified types not detected as such Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/108374] [12/13 Regression] unexpected -Wstringop-overflow when using std::atomic and std::shared_ptr

2023-01-11 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108374 --- Comment #1 from Romain Geissler --- I forgot to mention: this happens on x86-64 with -O1.

[Bug tree-optimization/108374] New: [12/13 Regression] unexpected -Wstringop-overflow when using std::atomic and std::shared_ptr

2023-01-11 Thread romain.geissler at amadeus dot com via Gcc-bugs
put: In file included from /opt/compiler-explorer/gcc-trunk-20230111/include/c++/13.0.0/atomic:41, from :1: In member function 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const [with _ITp = long unsigned int]', in

[Bug target/108293] Incorrect assembly emitted for float for BPF target

2023-01-11 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108293 Jose E. Marchesi changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/71343] missed optimization (can't "prove" shift and multiplication equivalence)

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71343 --- Comment #4 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:98837d6e79dd27c15f5218f3f1ddf838cda4796c commit r13-5111-g98837d6e79dd27c15f5218f3f1ddf838cda4796c Author: Roger Sayle Date: Wed

[Bug c/105180] [10/11/12/13 Regression] K style definition does not evaluate array size

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

[Bug target/108293] Incorrect assembly emitted for float for BPF target

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108293 --- Comment #4 from CVS Commits --- The master branch has been updated by David Faust : https://gcc.gnu.org/g:c7279270a2deda81eaeba37a87d721bee0ed6004 commit r13-5110-gc7279270a2deda81eaeba37a87d721bee0ed6004 Author: David Faust Date: Tue

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #13 from Iain Sandoe --- Created attachment 54248 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54248=edit Revised fix This essentially makes Modula-2 build its include paths in the Front End (which is how all the other

[Bug tree-optimization/108199] Bitfields, unions and SRA and storage_order_attribute

2023-01-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108199 Eric Botcazou changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug fortran/107424] [13 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.cc:5397 - and wrong code - with non-rectangular loops

2023-01-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107424 --- Comment #3 from Tobias Burnus --- Commenting out the 'gcc_assert' of comment 0, it compiles and produces the following dump. I don't understand why there is a 'lastprivate' – and 'i' in the bounds are wrong: for the first iteration, it is

[Bug tree-optimization/108199] Bitfields, unions and SRA and storage_order_attribute

2023-01-11 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108199 Andreas Krebbel changed: What|Removed |Added Version|13.0|12.2.1 --- Comment #16 from Andreas

[Bug tree-optimization/108199] Bitfields, unions and SRA and storage_order_attribute

2023-01-11 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108199 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/107424] [13 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.cc:5397 - and wrong code - with non-rectangular loops

2023-01-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107424 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org

[Bug tree-optimization/108334] Strange message in libgav1

2023-01-11 Thread lukaszcz18 at wp dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108334 --- Comment #5 from Jamaika --- Created attachment 54247 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54247=edit Added zip files

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-01-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 --- Comment #18 from Gaius Mulley --- For the runtime perspective then your layered approach is much cleaner. It would be good to allow users to be able to use pim and some iso functionality or visa versa.

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-01-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 --- Comment #17 from Gaius Mulley --- Yes I was coming to the same conclusion (re: name mangling). If each library module had its mangled name component set via -flibname=pim or -flibname=iso etc. Then we have one universe of distinct named

[Bug tree-optimization/108199] Bitfields, unions and SRA and storage_order_attribute

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108199 --- Comment #14 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:3e1cba12a8d71e70235a9a9b8f1a237a561db3e7 commit r13-5109-g3e1cba12a8d71e70235a9a9b8f1a237a561db3e7 Author: Eric Botcazou Date:

[Bug modula2/108261] modula-2 module registration process seems to fail with shared libraries.

2023-01-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108261 --- Comment #16 from Iain Sandoe --- (In reply to Iain Sandoe from comment #13) > (In reply to Iain Sandoe from comment #12) > > (In reply to Gaius Mulley from comment #11) > > > > when a module has the same name but a different interface are

[Bug tree-optimization/108355] [13 Regression] Dead Code Elimination Regression at -O2 since r13-2772-g9baee6181b4e42

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108355 --- Comment #2 from Richard Biener --- Basically get_ref_base_and_extent trusts TYPE_SIZE of the array operand of an ARRAY_REF (it would also use range info on an SSA name index, but we'd expect a singleton to be propagated there already). In

[Bug libstdc++/108225] canadian compilation of gdb error for libstdc++'s std_mutex.h on x86_64-w64-mingw32 host

2023-01-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225 --- Comment #26 from Eric Botcazou --- > For --enable-threads=posix the value of _WIN32_WINNT doesn't matter, so we > don't want to disable _GLIBCXX_HAS_GTHREADS in that case. That's why we need > to include , to find out if it's actually

[Bug c/108370] gcc doesn't merge bitwise-AND if an explicit comparison against 0 is given

2023-01-11 Thread dhowells at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108370 --- Comment #3 from dhowells at redhat dot com --- We don't want to do: return ((unsigned int) bio->bi_flags >> bit & 1) != 0; if we can avoid it as "bit" is usually constant - though I'm guessing the optimiser should handle that?

[Bug modula2/108373] New: Update 'contrib/gcc_update:files_and_dependencies' for Modula-2

2023-01-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108373 Bug ID: 108373 Summary: Update 'contrib/gcc_update:files_and_dependencies' for Modula-2 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/108372] New: [12 regression] -E -fdirectives-only crash

2023-01-11 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108372 Bug ID: 108372 Summary: [12 regression] -E -fdirectives-only crash Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/108240] [13 Regression] ICE in emit_library_call_value_1 at gcc/calls.cc:4181 since r13-4894-gacc727cf02a144

2023-01-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 --- Comment #8 from Kewen Lin --- (In reply to Segher Boessenkool from comment #7) > -m64 requires 64-bit instructions. We will ICE if we try to generate code > for -m64 without support for 64-bit insns enabled in the compiler. For > example,

[Bug target/108371] gcc for x86_64 may sign/zero extent arguments unnecessarily

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108371 Richard Biener changed: What|Removed |Added Target||x86_64-*-*

[Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4

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

[Bug c/108370] gcc doesn't merge bitwise-AND if an explicit comparison against 0 is given

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108370 --- Comment #2 from Richard Biener --- ifcombine seems to assume that D.1987_7 = op0 & 1; if (D.1987_7 != 0) is canonical but we see _9 = (_Bool) _6; if (_9 != 0) instead. That's already the form introduced by inlining from

[Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4

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

[Bug libstdc++/103755] {has,use}_facet() and iostream constructor performance

2023-01-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103755 --- Comment #16 from Jonathan Wakely --- Unfortunately this change causes a regression for libs that were statically linked to libstdc++.a before the PR 91057 fix. Any object which has the buggy std::locale::id::_M_id() code linked into it can

[Bug target/108371] New: gcc for x86_64 may sign/zero extent arguments unnecessarily

2023-01-11 Thread dhowells at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108371 Bug ID: 108371 Summary: gcc for x86_64 may sign/zero extent arguments unnecessarily Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal

[Bug c/108370] gcc doesn't merge bitwise-AND if an explicit comparison against 0 is given

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108370 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-01-11 Ever confirmed|0

[Bug fortran/108349] LTO mismatch for __builtin_realloc between glibc and gfortran frontend

2023-01-11 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108349 Thomas Schwinge changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug tree-optimization/108368] [13 Regression] Dead Code Elimination Regression at -O3 since r13-1759-gdbb093f4f15

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108368 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 --- Comment #1 from Richard

[Bug c/108370] New: gcc doesn't merge bitwise-AND if an explicit comparison against 0 is given

2023-01-11 Thread dhowells at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108370 Bug ID: 108370 Summary: gcc doesn't merge bitwise-AND if an explicit comparison against 0 is given Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity:

[Bug fortran/108369] New: FM509 Fails to compile with error

2023-01-11 Thread ben.brewer at codethink dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369 Bug ID: 108369 Summary: FM509 Fails to compile with error Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/108368] New: [13 Regression] Dead Code Elimination Regression at -O3 since r13-1759-gdbb093f4f15

2023-01-11 Thread yann at ywg dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108368 Bug ID: 108368 Summary: [13 Regression] Dead Code Elimination Regression at -O3 since r13-1759-gdbb093f4f15 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 --- Comment #8 from Richard Biener --- (In reply to Richard Biener from comment #7) > (In reply to Martin Liška from comment #6) > > We fail in the param assignment: > > > > (gdb) pp x > > (reg:V4DI 82) > > (gdb) pp y > > (mem/c:BLK (reg/f:DI

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 --- Comment #7 from Richard Biener --- (In reply to Martin Liška from comment #6) > We fail in the param assignment: > > (gdb) pp x > (reg:V4DI 82) > (gdb) pp y > (mem/c:BLK (reg/f:DI 76 virtual-incoming-args) [1 x+0 S32 A256]) > > So we will

[Bug tree-optimization/108367] [12/13 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 3) since r12-5138-ge82c382971664d6f

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108367 --- Comment #2 from Richard Biener --- The OACC parloops pass adds a loop-around edge which short-cuts the definition of the debug use. I don't see anywhere how that handles debug stmts - maybe it gets fixed during lowering ... (yes, with

[Bug middle-end/105126] [10/11/12/13 Regression] Optimization regression gcc inserts not needed movsx when using switch statement

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

[Bug tree-optimization/108366] [12/13 Regression] Spurious stringop overflow, possibly alias-related since r12-145-gd1d01a66012a93cc

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108366 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Last

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 Martin Liška changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/107767] [13 Regression] switch to table conversion happening even though using btq is better

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

[Bug tree-optimization/107767] [13 Regression] switch to table conversion happening even though using btq is better

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107767 --- Comment #19 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f99d7d669eaa2830eb5878df4da67e77ec791522 commit r13-5106-gf99d7d669eaa2830eb5878df4da67e77ec791522 Author: Richard Biener Date:

[Bug c++/108365] [9/10/11/12/13 Regression] Wrong code with -O0

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108365 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/108308] [13 Regression] wrong code at -Os and -O2 with "-fno-tree-ccp" on x86_64-linux-gnu

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108308 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b39c1bea5bae9aee1df25cab1064f983b9ec6941 commit r13-5105-gb39c1bea5bae9aee1df25cab1064f983b9ec6941 Author: Jakub Jelinek Date:

[Bug middle-end/107976] ICE: SIGSEGV (stack overflow) in emit_case_dispatch_table (stmt.cc:783) with large --param=jump-table-max-growth-ratio-for-speed

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

[Bug tree-optimization/108352] [13 Regression] Dead Code Elimination Regression at -O2 since r13-1960-gd86d81a449c036

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108352 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/107976] ICE: SIGSEGV (stack overflow) in emit_case_dispatch_table (stmt.cc:783) with large --param=jump-table-max-growth-ratio-for-speed

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107976 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:8221efae233e2d5992a79600071dd0a52f1b3c74 commit r13-5104-g8221efae233e2d5992a79600071dd0a52f1b3c74 Author: Martin Liska Date:

[Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4

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

[Bug tree-optimization/108352] [13 Regression] Dead Code Elimination Regression at -O2 since r13-1960-gd86d81a449c036

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108352 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7c9f20fcfdc2d8453df88ceb7e693debfcd678c0 commit r13-5103-g7c9f20fcfdc2d8453df88ceb7e693debfcd678c0 Author: Richard Biener Date:

[Bug tree-optimization/108367] [12/13 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 3) since r12-5138-ge82c382971664d6f

2023-01-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108367 Martin Liška changed: What|Removed |Added Last reconfirmed||2023-01-11 Summary|[12/13

[Bug c++/108365] [9/10/11/12/13 Regression] Wrong code with -O0

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

[Bug tree-optimization/108367] New: [12/13 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 3)

2023-01-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108367 Bug ID: 108367 Summary: [12/13 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 3) Product: gcc Version: 13.0

[Bug tree-optimization/108137] [12 Regression] ICE: segfault during GIMPLE pass: warn-printf since r12-523-g2254b3233b5bfa69

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

[Bug tree-optimization/108137] [12 Regression] ICE: segfault during GIMPLE pass: warn-printf since r12-523-g2254b3233b5bfa69

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108137 --- Comment #11 from CVS Commits --- The releases/gcc-12 branch has been updated by Martin Liska : https://gcc.gnu.org/g:bd4c310b06d747975853ac6dfef6da120c13f6ec commit r12-9040-gbd4c310b06d747975853ac6dfef6da120c13f6ec Author: Martin Liska

[Bug tree-optimization/108352] [13 Regression] Dead Code Elimination Regression at -O2 since r13-1960-gd86d81a449c036

2023-01-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108352 Richard Biener changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/108353] [13 Regression] Dead Code Elimination Regression at -O2 since r13-3898-gaf96500eea72c6

2023-01-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108353 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:445a48a226ffd530b37bcdc13b6bdca94ba2e122 commit r13-5102-g445a48a226ffd530b37bcdc13b6bdca94ba2e122 Author: Richard Biener Date:

[Bug tree-optimization/108353] [13 Regression] Dead Code Elimination Regression at -O2 since r13-3898-gaf96500eea72c6

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

  1   2   >