[Bug middle-end/117342] .base64 emitted when gas doesn't support it

2025-01-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117342 --- Comment #13 from David Binderman --- (In reply to Sam James from comment #12) > Please include the .s file referenced, config.log for the corresponding GCC, > and `as --version`. Problem seems to have gone away: ~ $ vi cq.cc ~ $ for i in /

[Bug target/118333] New: gcc/config/i386/i386-expand.cc:24871: Pointless condition ?

2025-01-07 Thread dcb314 at hotmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Static analyser cppcheck says: gcc/config/i386/i386-expand.cc:24871:35: warning: Identical condition '!TARGET_AVX512BW', second

[Bug tree-optimization/118269] [15 Regression] ice in vect_create_epilog_for_reduction, at tree-vect-loop.cc:6901

2025-01-05 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118269 David Binderman changed: What|Removed |Added CC||rguenther at suse dot de --- Comment

[Bug tree-optimization/118269] [15 Regression] ice in vect_create_epilog_for_reduction, at tree-vect-loop.cc:6901

2025-01-05 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118269 --- Comment #4 from David Binderman --- Newest range is g:32a3f46ca5437261 .. g:a54aa75ab30eb1a1, which is 30 commits.

[Bug tree-optimization/118269] [15 Regression] ice in vect_create_epilog_for_reduction, at tree-vect-loop.cc:6901

2025-01-05 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118269 --- Comment #3 from David Binderman --- (In reply to David Binderman from comment #2) > gcc trunk seems to break sometime between g:3e89a4d5138, > dated 2024-11-18 and g:e1009b3de2d, dated 2024-12-02. > > This is 476 commits. I will run a bisec

[Bug tree-optimization/118269] [15 Regression] ice in vect_create_epilog_for_reduction, at tree-vect-loop.cc:6901

2025-01-05 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118269 --- Comment #2 from David Binderman --- gcc trunk seems to break sometime between g:3e89a4d5138, dated 2024-11-18 and g:e1009b3de2d, dated 2024-12-02. This is 476 commits. I will run a bisection.

[Bug c/118269] New: ice in vect_create_epilog_for_reduction, at tree-vect-loop.cc:6901

2025-01-01 Thread dcb314 at hotmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this reduced C code: cvise $ more bug1073.c short g_113; int func_1_l_1273, func_1_l_1370, func_1_l_1258; void func_1() { int

[Bug lto/118181] New: gcc/lto-ltrans-cache.cc:312: Avoid call by value for large objects

2024-12-23 Thread dcb314 at hotmail dot com via Gcc-bugs
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Static analyser cppcheck says: gcc/lto-ltrans-cache.cc:312:44: performance: Function parameter 'checksum' should be passe

[Bug ipa/118097] [15 regression] recent bug with -O2, but not -O1 since r15-6294-g96fb71883d438b

2024-12-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #22 from David Binderman --- (In reply to Andrew Pinski from comment #21) > Try -fno-ipa-cp As expected, that avoids the problem too: foundBugs $ ../results/bin/gcc -O1 -w bug1071.c && ./a.out 1 > /tmp/0 foundBugs $ ../results/bin/

[Bug ipa/118097] [15 regression] recent bug with -O2, but not -O1 since r15-6294-g96fb71883d438b

2024-12-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #20 from David Binderman --- >From the See also bug report, # 118138, I tried out -fno-inline and, for the two test cases here, the problem seemed to go away. foundBugs $ ../results/bin/gcc -O1 -w bug1071.c && ./a.out 1 > /tmp/0 fou

[Bug middle-end/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #17 from David Binderman --- (In reply to Xi Ruoyao from comment #12) > AFAIK -w suppresses -Werror=uninitialized. -w also appears to switch off -Werror=overflow. This makes csmith a lot less useful.

[Bug middle-end/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #15 from David Binderman --- For the first test case, the reduced code seems to be: void printf(...); int crc32_tab[256]; int crc32_context = 4294967295, g_27, g_64, g_90 = 3, func_2___trans_tmp_4, main_i, main_j, main_l_1486_0_

[Bug middle-end/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 David Binderman changed: What|Removed |Added CC||mjambor at suse dot cz --- Comment #1

[Bug middle-end/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #13 from David Binderman --- (In reply to David Binderman from comment #11) > I have a bisection running. Current bisect range seems to be g:7f4f49687b1f1b7a .. g:40e5636e086e51f5 This is 22 commits. Most of it seems to be RISC-V r

[Bug middle-end/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #11 from David Binderman --- Created attachment 59917 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59917&action=edit C source code Second test case from more runs of csmith. It has the same fault in the same git range. I ha

[Bug middle-end/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-18 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #10 from David Binderman --- (In reply to Sam James from comment #9) > Ah, sorry, I see it on the original with -O2. I don't see it on the reduced > one (though it was invalid anyway). OK. It looks as if my reduction was invalid. My

[Bug middle-end/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-18 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #6 from David Binderman --- (In reply to Sam James from comment #3) > ... ditto the original. So maybe fixed already? I think not. I just checked today's gcc trunk and the problem seems to still exist in the original code. The git

[Bug c/118097] [15 regression] recent bug with -O2, but not -O1

2024-12-17 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118097 --- Comment #1 from David Binderman --- Reduced C code: void printf(...); int crc32_tab[256]; int crc32_context = 4294967295, g_27, g_64, g_90 = 3, func_2___trans_tmp_4, main_i, main_j; int *g_26 = &g_27; char g_76 = 232; void crc32_byte(ch

[Bug c/118097] New: recent bug with -O2, but not -O1

2024-12-17 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 59901 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59901&action=edit C source code For the attached C code, from csmith: foundBugs $ /home/dcb40b/gcc/

[Bug fortran/117258] tree check fail in gfc_trans_structure_assign, at fortran/trans-expr.cc:9691

2024-12-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117258 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug bootstrap/117893] [15 regression] space before -O0 in CFLAGS incorrectly removed

2024-12-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117893 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug c/117724] [15 regression] ICE when building libgit2 (error: ‘TYPE_CANONICAL’ is not compatible)

2024-11-28 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117724 --- Comment #11 from David Binderman --- (In reply to Andrew Pinski from comment #10) > That is a different issue unrelated to this issue here can you file it > seperately? Done: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117828

[Bug c/117828] New: -g and error: ‘TYPE_CANONICAL’ is not compatible

2024-11-28 Thread dcb314 at hotmail dot com via Gcc-bugs
: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this much reduced C source code: struct { struct { int Reserved : 32 } }; struct { struct { int Reserved } }; seems to go wrong with recent gcc trunk

[Bug c/117724] [15 regression] ICE when building libgit2 (error: ‘TYPE_CANONICAL’ is not compatible)

2024-11-28 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117724 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug rust/117762] libgrust/libproc_macro_internal/tokenstream.cc: 3 * performance issues ?

2024-11-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117762 --- Comment #1 from David Binderman --- Five more little problems in libgrust: trunk/libgrust/libproc_macro_internal/group.cc:28:32: performance: Function parameter 'stream' should be passed by const reference. [passedByValue] trunk/libgrust/li

[Bug rust/117762] New: libgrust/libproc_macro_internal/tokenstream.cc: 3 * performance issues ?

2024-11-24 Thread dcb314 at hotmail dot com via Gcc-bugs
: normal Priority: P3 Component: rust Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org, pierre-emmanuel.patry at embecosm dot com Target Milestone

[Bug c/117656] New: error: invalid types for ‘bit_ior_expr’

2024-11-18 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code: int **sres_cache_set_srv_priority_iter, **sres_htable_next_ht_0, **sres_htable_next_ee; int **sres_htable_next(); void sres_cache_set_srv_priority() { for

[Bug target/117628] New: New gcc build failure on 32 bit ARM

2024-11-16 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- A couple of days ago a gcc trunk build on a Raspberry PI 5 worked fine. Today, not. New error is ../trunk/libgcc/config/arm/linux-atomic.c:252:23: error: two or more data types

[Bug target/97323] [12/13/14/15 Regression] ICE 'verify_type' failed on arm-linux-gnueabihf

2024-11-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97323 --- Comment #16 from David Binderman --- This C code also seems to generate the same error on 32 bit ARM: void test_incomplete_array_fam() { struct FAM { char c; int data[] }; } void test_single_element_array_possible_fam() { struc

[Bug libgcc/70800] libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ? (missed -Wtautological-compare)

2024-11-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70800 --- Comment #10 from David Binderman --- (In reply to Eric Gallager from comment #4) > (In reply to David Binderman from comment #3) > > I just discovered that clang++ can be made to find this bug by > > adding flag -Wtautological-compare. > > >

[Bug libgcc/70800] libgcc/config/libbid/bid_binarydecimal.c: suspicious comparison ? (missed -Wtautological-compare)

2024-11-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70800 --- Comment #6 from David Binderman --- (In reply to Eric Gallager from comment #5) > keeping bug open for the enhancement to -Wtautological-compare I tried out the code in comment 1 on recent gcc trunk and the problem seems to be fixed: Alpha

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #29 from David Binderman --- (In reply to Sam James from comment #28) > Jeff, can you push the revert for now, given that? +1 My usual gcc testing has mostly been on hold for five days awaiting version 2 of the fix or a revert.

[Bug c/117524] New: Segmentation fault with -fipa-cp-clone

2024-11-10 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 59574 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59574&action=edit C source code For the attached C code with -O2 -fipa-cp-clone foundBugs $ /home

[Bug tree-optimization/117507] SIGSEGV in tree_strip_nop_conversions

2024-11-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117507 --- Comment #3 from David Binderman --- After most of the reduction: typedef int u_int; static void z900_vstoreb(); int z900_edit_x_edit_and_mark_regs; unsigned long z900_edit_x_edit_and_mark_regs_1_0_0; u_int z900_edit_x_edit_and_mark_regs_0_0

[Bug tree-optimization/117507] SIGSEGV in tree_strip_nop_conversions

2024-11-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117507 --- Comment #2 from David Binderman --- -O2 can be replaced by -O1 -fcode-hoisting -fexpensive-optimizations. I have a reduction running.

[Bug c/117507] New: SIGSEGV in tree_strip_nop_conversions

2024-11-08 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 59566 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59566&action=edit gzipped C source code For the attached C code, when run with -O2 -w on recent vers

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #18 from David Binderman --- (In reply to Alexey Merzlyakov from comment #16) > So, I am agree, that wrapping-out > the checks/macros - is a good idea, but not sure, whether we really need it > for this particular case? I am gratef

[Bug rtl-optimization/117476] [15 regression] bad generated code at -O1 since r15-4991-g69bd93c167fefb

2024-11-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #12 from David Binderman --- (In reply to Alexey Merzlyakov from comment #11) > To verify the "outside mode N" part, we need to change > > & ~GET_MODE_MASK (mode)) == 0) > > to the: > > & ~GET_MODE_MASK(GET_MODE (op))) =

[Bug rtl-optimization/117476] [15 regression] bad generated code from -finline-small-functions since r15-4991-g69bd93c167fefb

2024-11-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #5 from David Binderman --- (In reply to Sam James from comment #3) > Please reduce with something like: -Werror=uninitialized > -Werror=aggressive-loop-optimizations -Werror=sequence-point. Thanks. Second try: void printf (); voi

[Bug c/117476] [15 regression] bad generated code from -finline-small-functions

2024-11-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117476 --- Comment #2 from David Binderman --- Partially reduced code: void printf (); void platform_main_end(int crc) { printf ("checksum = %X\n", crc); } int crc32_tab[6]; int crc32_context = 4294967295; void crc32_byte (char b) { crc32_context

[Bug c/117476] New: bad generated code from -finline-small-functions

2024-11-07 Thread dcb314 at hotmail dot com via Gcc-bugs
: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 59552 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59552&action=edit C source code For the attached C code: foundBugs $ ~/gcc/results/bin/g

[Bug middle-end/109996] csmith: -O2 -fno-strict-aliasing causing run time trouble

2024-11-04 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109996 --- Comment #4 from David Binderman --- (In reply to Sam James from comment #3) > Which commit did you hit this with? I only know sometime before 20220515. Someone with more git knowledge than me might be able to make progress in bisection.

[Bug rtl-optimization/117360] [15 regression] ext-dce.cc:573:15: runtime error: shift exponent 127 is too large for 64-bit type 'long long unsigned int'

2024-10-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117360 --- Comment #2 from David Binderman --- (In reply to Jakub Jelinek from comment #1) > While you're at it, the ULL uses in ext-dce.cc should be > HOST_WIDE_INT_UC () or 1ULL should be HOST_WIDE_INT_1U. It might also be a wise idea in these cases

[Bug c/117363] New: ice during GIMPLE pass: ldist

2024-10-30 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Sometime between g:e320846fec00aaa3 and g:91577f0c8d955bc6, this C code long negate_v1_0; unsigned long negate___trans_tmp_1; int *negate_v_1; void negate() { negate___trans_tmp_1

[Bug c/117360] New: ext-dce.cc:573:15: runtime error: shift exponent 127 is too large for 64-bit type 'long long unsigned int'

2024-10-30 Thread dcb314 at hotmail dot com via Gcc-bugs
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- I tried a bootstrap and got the runtime error in the title. The line of code is

[Bug middle-end/117342] .base64 emitted when gas doesn't support it

2024-10-29 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117342 --- Comment #11 from David Binderman --- (In reply to Andreas Schwab from comment #10) > Can you provide an example of the evidence? Sure. For this C++ source code: void s61() { static char extra_special_characters[] = "\n\t\b\r\f\\\'"; } com

[Bug c/117343] New: valgrind error in vect_optimize_slp_pass::decide_masked_load_lanes

2024-10-29 Thread dcb314 at hotmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This week's gcc build with valgrind produced: ==238602== Invalid read of size 4 ==238602==at 0x10D14A3: vect_optimize_slp

[Bug middle-end/117342] .base64 emitted when gas doesn't support it

2024-10-29 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117342 --- Comment #7 from David Binderman --- Created attachment 59485 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59485&action=edit log file from config

[Bug middle-end/117342] .base64 emitted when gas doesn't support it

2024-10-29 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117342 --- Comment #8 from David Binderman --- gcc $ grep BASE auto-host.h #define HAVE_DECL_BASENAME 1 /* #undef HAVE_GAS_BASE64 */ /* #undef HAVE_LD_PE_DISABLE_DYNAMICBASE */ gcc $ So either I get a different gas when I compile gcc with clang, or

[Bug middle-end/117342] .base64 emitted when gas doesn't support it

2024-10-29 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117342 --- Comment #3 from David Binderman --- No mention of base64 in the config.log: working.2 $ grep base64 config.log working.2 $ What's a combined build ? My usual configure line is: CC="clang" CXX="clang++" \ ../trunk/configure --prefix=$HO

[Bug c/117342] New: .base64 emitted when gas doesn't support it

2024-10-29 Thread dcb314 at hotmail dot com via Gcc-bugs
nt: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- .base64 is a new feature in gas in binutils. I see some new evidence that gcc is emitting .base64 statements into the assembler file *.s. Trouble is, my current version o

[Bug middle-end/117313] [15 regression] ICE when building linux-6.11.5 (output_constructor_regular_field, at varasm.cc:5672)

2024-10-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117313 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug ada/89786] ice in add_expr, at tree.c:7767

2024-10-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89786 --- Comment #4 from David Binderman --- (In reply to Eric Botcazou from comment #3) > I'll have a look. Did anything happen about this ? Bug still seems to be present.

[Bug fortran/117258] tree check fail in gfc_trans_structure_assign, at fortran/trans-expr.cc:9691

2024-10-23 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117258 --- Comment #4 from David Binderman --- Even more mysterious: elk-9.2.12 $ find . -name \*.f90 -print | xargs grep xc_f03_lib_m ./src.orig/libxcifc.f90:use xc_f03_lib_m ./src/libxcifc.f90:use xc_f03_lib_m elk-9.2.12 $ I even tried: elk-9.2.1

[Bug target/101017] ICE: Segmentation fault, convert_memory_address_addr_space_1 with vector_size(32) and target_clone arch=core-avx2/default

2024-10-23 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101017 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug fortran/117258] tree check fail in gfc_trans_structure_assign, at fortran/trans-expr.cc:9691

2024-10-22 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117258 --- Comment #2 from David Binderman --- I had a quick look: BUILD $ find elk* -name libxcifc.f90 -print elk-9.2.12/src.orig/libxcifc.f90 elk-9.2.12/src/libxcifc.f90 BUILD $ find elk-9.2.12 -name xc_f03_lib_m.mod -print BUILD $ So where shoul

[Bug fortran/117258] New: tree check fail in gfc_trans_structure_assign, at fortran/trans-expr.cc:9691

2024-10-22 Thread dcb314 at hotmail dot com via Gcc-bugs
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 59408 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59408&action=edit fortran source co

[Bug tree-optimization/117176] [15 regression] ICE when building netpbm-11.8.0

2024-10-21 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117176 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug fortran/117136] New: ice for gfortran.dg/typebound_operator_11.f90

2024-10-14 Thread dcb314 at hotmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- >From the gcc testsuite: testsuite $ /home/dcb40b/gcc/results.20241012.asan.ubsan/bin/gfortran -c ./gfortran.dg/typebound_operator_11.f90 testsuite $ /home/dcb40b/

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 David Binderman changed: What|Removed |Added CC||rguenther at suse dot de --- Comment

[Bug target/117116] New: error: unrecognizable insn: with -march=znver3

2024-10-13 Thread dcb314 at hotmail dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code: typedef int (*StmFct)(); typedef struct { StmFct fct_getc; StmFct fct_putc; StmFct fct_flush; StmFct fct_close } StmInf; StmInf TTY_Getc_pstm; int

[Bug tree-optimization/117050] [15 Regression] ice in vect_build_slp_tree_2

2024-10-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117050 David Binderman changed: What|Removed |Added CC||rguenther at suse dot de --- Comment

[Bug c/117050] New: ice in vect_build_slp_tree_2

2024-10-09 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This reduced C code: typedef struct { char *data } song_sample_t; typedef struct { int right_ramp; int left_ramp } song_voice_t; song_sample_t *csf_stop_sample_smp, *csf_stop_sample_v_3

[Bug c/116810] New: tree-vect-slp.cc:3721:18: runtime error: insufficient space for an object of type 'bool'

2024-09-22 Thread dcb314 at hotmail dot com via Gcc-bugs
NCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- I just tried a bootstrap build with ASAN & UBSAN switched on. I got: working $ grep "run

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-21 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 --- Comment #7 from David Binderman --- Created attachment 59172 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59172&action=edit gzipped C++ source code A second test case. It crashes in the same place as the first. Both are from package

[Bug c++/116793] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309

2024-09-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug c++/116793] New: ice in gimplify_var_or_parm_decl, at gimplify.cc:3309

2024-09-20 Thread dcb314 at hotmail dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 59165 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59165&action=edit gzipped C++ source code The attached code does this $ /home/dcb

[Bug c/116580] New: ice in poly_int_binop, at fold-const.cc:1244

2024-09-03 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This morning's gcc trunk doesn't seem to build: sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \ -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/

[Bug c/116510] New: ice in decompose, at wide-int.h:1049

2024-08-28 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code: char excmap_def_0; int gg_strescape_i; void gg_strescape() { for (; gg_strescape_i; gg_strescape_i++) switch ((unsigned char)gg_strescape_i) case '\\'

[Bug preprocessor/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #11 from David Binderman --- I confirm that the fix works for me. On a more subtle note, if two functions are strongly related, would it be wise to have them in the same file with some comments and maybe even some asserts to ensure

[Bug c/116458] [15 regression] New valgrind error in search_line_ssse3

2024-08-22 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 --- Comment #4 from David Binderman --- (In reply to Alexander Monakov from comment #3) > David, thanks for Cc'ing me and for running Valgrind builds! You are welcome. Its a normal weekly part of gcc testing for me. > "Wobbly values" aside, ju

[Bug c/116458] New valgrind error in search_line_ssse3

2024-08-22 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116458 David Binderman changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comme

[Bug c/116458] New: New valgrind error in search_line_ssse3

2024-08-22 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- >From today's valgrind build of gcc trunk: /usr/bin/valgrind -q build/genmatch --generic \ --header=tmp-generic-match-auto.h --include=generic-match-auto.h \ ../../t

[Bug tree-optimization/116409] [15 Regression] Recent phiopt change causing ICE with sqrt and -frounding-math

2024-08-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116409 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug testsuite/116252] New: variation in C++ filename extensions in testsuite ?

2024-08-06 Thread dcb314 at hotmail dot com via Gcc-bugs
Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- While C files usually have extension .c, C++ files use .C or .cc or .cpp or .cxx. Indeed in the gcc/testsuite, there is some variation: $ cd $HOME/gcc/trunk/gcc

[Bug bootstrap/90781] ubsan bootstrap with -O3 -march=native fails at compare stage

2024-08-06 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90781 --- Comment #7 from David Binderman --- (In reply to Sam James from comment #6) > If you're still hitting this, please upload good+bad copies of a sample of > differing files (usually just 1 is enough but let's do 2 to be safe). I think this one

[Bug rtl-optimization/115876] [15 regression] ext-dce.cc has ubsan issues; shifting negative values

2024-08-04 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #13 from David Binderman --- The problem seems to be getting worse this week: $ grep error: mk.2.out | grep runtime | sort | uniq -c | sort -rn 118 ../../trunk/gcc/ext-dce.cc:740:15: runtime error: shift exponent 64 is too larg

[Bug tree-optimization/116079] [15 Regression] ice during GIMPLE pass lim

2024-07-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116079 --- Comment #4 from David Binderman --- Created attachment 58755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58755&action=edit C source code Original code. Produced by csmith.

[Bug c/116079] ice during GIMPLE pass lim

2024-07-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116079 David Binderman changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug c/116079] New: ice during GIMPLE pass lim

2024-07-24 Thread dcb314 at hotmail dot com via Gcc-bugs
: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C source code: char g_132; int g_701, g_1189, func_24___trans_tmp_15, func_24_l_2691; long func_24___trans_tmp_9; int *func_24_l_2684; void func_24() { for (; g_1189;) { g_132 = 0

[Bug rtl-optimization/115876] [15 regression] ext-dce.cc has ubsan issues; shifting negative values

2024-07-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #12 from David Binderman --- (In reply to David Binderman from comment #3) > I find doing a bootstrap build with -O3 -march=native, with > asan & ubsan, is a useful weekly sanity check. Today's sanity check shows this problem: $ gr

[Bug other/115903] New: libcpp/macro.cc:528:19: style: Obsolete function 'asctime' called

2024-07-13 Thread dcb314 at hotmail dot com via Gcc-bugs
ty: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Static analyser cppcheck says: libcpp/macro.cc:528:19: style: Obsolete function 'asctime' called. It is recommen

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

2024-07-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 --- Comment #3 from David Binderman --- I find doing a bootstrap build with -O3 -march=native, with asan & ubsan, is a useful weekly sanity check. I only have access to arm & x86_64, so the option exists to extend this testing to other machine

[Bug target/115893] AVR documentation in x86_64 build

2024-07-12 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115893 --- Comment #2 from David Binderman --- (In reply to Georg-Johann Lay from comment #1) > So I think this is invalid as a GCC PR. When you are annoyed by that > warning, use a texinfo version with a fix. It looks like you missed my point. Maybe

[Bug target/115893] New: AVR documentation in x86_64 build

2024-07-12 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- A native build on x86_64 produces warnings about avr documentation. It is unclear to me that avr documentation is any use to an X86_64 developer. Suggest avoid processing any avr files

[Bug c/115876] New: runtime errors during bootstrap with -O3 -march=znver3 -fno-var-tracking-assignments

2024-07-11 Thread dcb314 at hotmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For a bootstrap with this configure script: ../trunk/configure \ --disable-multilib \ --disable-werror

[Bug c/115872] New: error: missing definition with -g & -O3

2024-07-11 Thread dcb314 at hotmail dot com via Gcc-bugs
t: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code: long set_work_pending_p; _Bool set_work_pending() { _Bool __trans_tmp_1; long mask = 1, old = __atomic_fetch_or(&set_work_pending_p, mask, 0); __trans_tmp

[Bug tree-optimization/115602] [15 Regression] ICE on liblapack-3.12.0: in vect_schedule_slp_node, at tree-vect-slp.cc:9643 since r15-1565-g2a345214fc332b

2024-06-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115602 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com

[Bug c/115428] New: 3 * unused in today's build

2024-06-11 Thread dcb314 at hotmail dot com via Gcc-bugs
nt: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- >From today's build of gcc with clang: working $ grep Wunused /tmp/0 ../../trunk/gcc/analyzer/call-summary.cc:727:21: warning: unused variable 'summary_cast_reg' [-Wunuse

[Bug c/115414] New: Problems during GIMPLE pass: widening_mul

2024-06-10 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code: char __vsprintf_internal_string; unsigned long __vsprintf_internal_maxlen, __vsprintf_internal_end; void __vsprintf_internal() { if (__builtin_add_overflow((unsigned

[Bug debug/115386] ice with -g -O3

2024-06-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115386 --- Comment #9 from David Binderman --- I tried a release build and it seemed fine to me: foundBugs $ ../results.20240610.release/bin/gcc -c -w -g -O3 bug1034.c foundBugs $ I guess if both asan & ubsan together cause a stack overflow, it migh

[Bug debug/115386] ice with -g -O3

2024-06-10 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115386 --- Comment #7 from David Binderman --- (In reply to Richard Biener from comment #6) > Are you using a compiler with release checking? No, with asan & ubsan. I tried running cc1 under gdb and got this backtrace: #0 0x00b54615 in g

[Bug fortran/107141] ICE: Segmentation fault (in contains_struct_check)

2024-06-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107141 --- Comment #7 from David Binderman --- (In reply to anlauf from comment #6) > Judging from the name of the testcase this could be a quite different issue. > > Please open a separate PR and attach the source there. Done. See https://gcc.gnu.or

[Bug fortran/115401] New: valgrind error in gfc_class_len_get

2024-06-09 Thread dcb314 at hotmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 58387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58387&action=edit f90 source code >From the flang testsuite, file ./Lower/derived-type-finali

[Bug web/115391] Suggest add current size of git repository to git page

2024-06-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115391 --- Comment #5 from David Binderman --- (In reply to Jonathan Wakely from comment #1) > You really shouldn't ever need to start again, you can just do: > > git fetch origin && git reset --hard origin/master Thanks for the tip. After more than

[Bug web/115391] New: Suggest add current size of git repository to git page

2024-06-07 Thread dcb314 at hotmail dot com via Gcc-bugs
Component: web Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- On the web page for git (gcc.gnu.org/git.html), it might be worth mentioning that the current git repository for mainline is about 3 million objects and about 1.2

[Bug debug/115386] ice with -g -O3

2024-06-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115386 --- Comment #5 from David Binderman --- I tried a git bisect and got this: $ git bisect good 6fa4b0135439d64c 30cfdd6ff56972d9d1b9dbdd43a8333c85618775 is the first bad commit commit 30cfdd6ff56972d9d1b9dbdd43a8333c85618775 Author: Robin Dapp D

[Bug debug/115386] ice with -g -O3

2024-06-07 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115386 --- Comment #3 from David Binderman --- (In reply to Sam James from comment #1) > I think it runs out of stack. I tried running it under gdb, and all I got were lots of stack frames, so I agree with your best advice. It doesn't seem all that r

[Bug c/115386] New: ice with -g -O3

2024-06-07 Thread dcb314 at hotmail dot com via Gcc-bugs
: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 58380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58380&action=edit C source code The attached code does this with recent gcc trunk: foundBugs $ ../results/bin/gcc -

[Bug fortran/115316] New: valgrind error in insert_parameter_exprs

2024-06-01 Thread dcb314 at hotmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this F90 source code: ! RUN: %python %S/test_errors.py %s %flang_fc1 ! Check for semantic errors in ALLOCATE statements subroutine C933_a(b1, ca3, ca4, cp3, cp3mold

  1   2   3   4   5   6   7   8   9   10   >