[Bug middle-end/111009] [12/13/14 regression] -fno-strict-overflow erroneously elides null pointer checks and causes SIGSEGV on perf from linux-6.4.10

2023-08-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111009 --- Comment #6 from Sam James --- Can you bisect further back with -param=vrp2-mode=ranger, to force ranger before it was the default?

[Bug tree-optimization/111030] tree-object-size: incorrect sub-object size for VLA

2023-08-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111030 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #1

[Bug target/110792] [13/14 Regression] GCC 13 x86_32 miscompilation of Whirlpool hash function

2023-08-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110792 --- Comment #15 from Sam James --- Roger, is this one ready to backport to releases/gcc-13 so we can pick it up easily downstream via the branch snapshots, or do you want to let it bake on trunk a bit longer? Cheers.

[Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_m

2023-08-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110926 --- Comment #4 from Sam James --- Created attachment 55699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55699=edit reduced.i

[Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_m

2023-08-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110926 --- Comment #3 from Sam James --- Created attachment 55698 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55698=edit reduced.i Reduced version attached, not cleaned it up yet.

[Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_m

2023-08-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110926 --- Comment #2 from Sam James --- Created attachment 55697 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55697=edit matmul_i1.i

[Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_o

2023-08-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110926 Bug ID: 110926 Summary: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in

[Bug middle-end/110233] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu

2023-07-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110233 --- Comment #10 from Sam James --- (In reply to Sam James from comment #9) > (In reply to Shaohua Li from comment #8) > > I tried to bisect it and I bisected it to r12-4871-g502ffb1f389 > > Could you try bisect further back with

[Bug middle-end/110233] [12/13/14 Regression] Wrong code at -Os on x86_64-linux-gnu

2023-07-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110233 --- Comment #9 from Sam James --- (In reply to Shaohua Li from comment #8) > I tried to bisect it and I bisected it to r12-4871-g502ffb1f389 Could you try bisect further back with -param=vrp2-mode=vrp, or does it work fine with that?

[Bug tree-optimization/110280] [13 Regression] internal compiler error: in const_unop, at fold-const.cc:1884

2023-07-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110280 --- Comment #16 from Sam James --- Prathamesh, could you cherry-pick this on to the releases/13 branch please?

[Bug target/109927] Bootstrap fails for m68k in stage2 compilation of gimple-match.cc

2023-07-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109927 --- Comment #22 from Sam James --- Thanks for your help. We've had this in production since 26th May and no complaints (but a lot of happy customers who couldn't build 12 or earlier 13 versions):

[Bug driver/108022] [11/12/13 regression] -frecord-gcc-switches doesn't record preprocessor macros since r11-5739-g7caa49706316e6

2023-07-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108022 --- Comment #6 from Sam James --- (In reply to Martin Liška from comment #5) > Yes, -ggdb3 seems to me like a reasonable solution. Note you can always > strip the debuginfo into a separate file. This doesn't really work for us, as building

[Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)

2023-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110673 --- Comment #2 from Sam James --- Created attachment 55548 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55548=edit reduced.i

[Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)

2023-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110673 --- Comment #1 from Sam James --- Created attachment 55547 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55547=edit test_unit_entropy.c.i This is what cvise popped out, it's borderline invalid though, so let me touch it up.

[Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)

2023-07-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110673 Bug ID: 110673 Summary: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699) Product: gcc

[Bug middle-end/110617] RFE: Add a diagnostic-only variant of nonnull attribute

2023-07-10 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110617 Sam James changed: What|Removed |Added CC||bugzilla at tecnocode dot co.uk,

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2023-07-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 Bug 84402 depends on bug 54179, which changed state. Bug 54179 Summary: please split insn-emit.c ! https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54179 What|Removed |Added

[Bug c/54179] please split insn-emit.c !

2023-07-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54179 Sam James changed: What|Removed |Added Resolution|WONTFIX |--- Status|RESOLVED

[Bug tree-optimization/110579] O2, O1 opmtimizations cause a buffer overflow panic during a strcpy

2023-07-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110579 --- Comment #2 from Sam James --- Could you give us a backtrace with -ggdb3 when it aborts at runtime?

[Bug sanitizer/110553] New: -fsanitize=undefined needs -latomic on powerpc-unknown-linux-gnu

2023-07-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110553 Bug ID: 110553 Summary: -fsanitize=undefined needs -latomic on powerpc-unknown-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/110489] New: Slow building virtual.c.i from p11-kit

2023-06-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110489 Bug ID: 110489 Summary: Slow building virtual.c.i from p11-kit Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal

[Bug tree-optimization/110465] New: [14 regression] ICE when building openssl with new vector_type checking

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110465 Bug ID: 110465 Summary: [14 regression] ICE when building openssl with new vector_type checking Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/110462] [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?)

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110462 --- Comment #10 from Sam James --- (In reply to Jonathan Wakely from comment #9) > It seems we should be using loff_t here. For the benefit of the bug:

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #2 from Sam James --- Created attachment 55417 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55417=edit reduced.ii

[Bug libstdc++/110462] [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?)

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110462 --- Comment #7 from Sam James --- Oh, duh, it's libstdc++. I'm not sure there's an alternative to typedefing it then.

[Bug libstdc++/110462] [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?)

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110462 --- Comment #4 from Sam James --- (In reply to Jonathan Wakely from comment #2) > The system call is defined in terms of off64_t. What type does musl use for > copy_file_range(2)? /usr/include/unistd.h:197:ssize_t copy_file_range(int, off_t *,

[Bug libstdc++/110462] [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?)

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110462 --- Comment #3 from Sam James --- Looks like we already AC_SYS_LARGEFILE in libstdc++-v3/configure.ac, so this should be as simple as just using off_t instead?

[Bug libstdc++/110462] [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?)

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110462 --- Comment #1 from Sam James --- Created attachment 55415 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55415=edit build.log.xz

[Bug libstdc++/110462] New: [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?)

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110462 Bug ID: 110462 Summary: [14 regression] Build failure with musl-1.2.4 (filesystem/ops-common.h:377:5: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?)

[Bug tree-optimization/110461] New: [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 Bug ID: 110461 Summary: [14 regression] ICE when building openh264 with new vector_type checking Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/110440] [14 regression] ICE when building pixman

2023-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110440 --- Comment #3 from Sam James --- I've hit it with another package (basis_universal) but the ICE looks identical and it's C++ so I won't worry about reducing it unless someone asks me to. ``` during GIMPLE pass: vect

[Bug tree-optimization/110440] [14 regression] ICE when building pixman

2023-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110440 --- Comment #2 from Sam James --- Created attachment 55406 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55406=edit reduced.i

[Bug c++/110440] [14 regression] ICE when building pixman

2023-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110440 --- Comment #1 from Sam James --- gcc -O3 -c ... is enough to repro.

[Bug c++/110440] New: [14 regression] ICE when building pixman

2023-06-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110440 Bug ID: 110440 Summary: [14 regression] ICE when building pixman Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/110273] [12/13/14 Regression] i686-w64-mingw32 with -mavx512f generates AVX instructions without stack alignment

2023-06-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 --- Comment #9 from Sam James --- Yes - primarily from znver4 users who build with -march=native (or -march=znver4).

[Bug target/110273] [12/13/14 Regression] i686-w64-mingw32 with -mavx512f generates AVX instructions without stack alignment

2023-06-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 --- Comment #7 from Sam James --- We keep getting quite a few reports of this downstream.

[Bug tree-optimization/110371] [14 Regression] gfortran ICE "verify_gimple failed" in gfortran.dg/vect/pr51058-2.f90 since r14-2007

2023-06-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110371 --- Comment #2 from Sam James --- Created attachment 55390 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55390=edit pixman-matrix.c.i I think I've hit the same thing building pixman. ``` # gcc

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 --- Comment #5 from Sam James --- Created attachment 55379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55379=edit reduced.ii

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 --- Comment #1 from Sam James --- g++ -O3 -c ... is enough to repro

[Bug tree-optimization/110332] New: [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 Bug ID: 110332 Summary: [14 regression] ICE in dominated_by_p when building LLVM with -O3 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/110325] [14 regression] Build failure on arm64 (libiberty/physmem.c:83:1: error: ‘+nofp’ feature modifier is incompatible with the use of floating-point types)

2023-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110325 Sam James changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug bootstrap/110325] [14 regression] Build failure on arm64 (libiberty/physmem.c:83:1: error: ‘+nofp’ feature modifier is incompatible with the use of floating-point types)

2023-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110325 --- Comment #6 from Sam James --- Created attachment 55374 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55374=edit /proc/cpuinfo

[Bug bootstrap/110325] [14 regression] Build failure on arm64 (libiberty/physmem.c:83:1: error: ‘+nofp’ feature modifier is incompatible with the use of floating-point types)

2023-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110325 --- Comment #3 from Sam James --- Host compiler is: ``` gcc (Gentoo 14.0.0 p, commit f9de5c24b9a6172d48786289035eed8f947c04c1) 14.0.0 20230616 (experimental) a371a639b76f1bdcd7a957f400b5a7c0faf30a15 Copyright (C) 2023 Free Software Foundation,

[Bug bootstrap/110325] [14 regression] Build failure on arm64 (libiberty/physmem.c:83:1: error: ‘+nofp’ feature modifier is incompatible with the use of floating-point types)

2023-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110325 --- Comment #1 from Sam James --- Created attachment 55373 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55373=edit build.lo

[Bug bootstrap/110325] New: [14 regression] Build failure on arm64 (libiberty/physmem.c:83:1: error: ‘+nofp’ feature modifier is incompatible with the use of floating-point types)

2023-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110325 Bug ID: 110325 Summary: [14 regression] Build failure on arm64 (libiberty/physmem.c:83:1: error: ‘+nofp’ feature modifier is incompatible with the use of

[Bug preprocessor/58770] GCC very slow compiling with #pragma once

2023-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58770 --- Comment #8 from Sam James --- (See the thread at https://inbox.sourceware.org/gcc-patches/6027e3bb-99f9-573b-ff5e-ea1a48882...@acm.org/.)

[Bug target/110260] Multiple applications misbehave when compiled with -march=znver4

2023-06-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110260 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #2

[Bug c/110168] Security issue on FORTIFY_SOURCE for strcpy function (tested on i386/32 bits)

2023-06-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110168 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #1

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-06-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 104271, which changed state. Bug 104271 Summary: [12 Regression] 538.imagick_r run-time at -Ofast -march=native regressed by 26% on Intel Cascade Lake server CPU https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104271

[Bug target/104271] [12 Regression] 538.imagick_r run-time at -Ofast -march=native regressed by 26% on Intel Cascade Lake server CPU

2023-06-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104271 Sam James changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/109541] [12/13/14 regression] ICE in extract_constrain_insn on when building rhash-1.4.3

2023-06-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109541 --- Comment #17 from Sam James --- Thank you Vladimir! I appreciate the time both of you are spending on alternative platforms for bugs like these. Also, Vladimir, if you want to continue to use the machine after this, if you ever have an

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 --- Comment #5 from Sam James --- Created attachment 55258 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55258=edit reduced.ii

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 --- Comment #2 from Sam James --- $ /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/./gcc/xgcc -v Using built-in specs. COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230604/work/build/./gcc/xgcc Target: x86_64-pc-linux-gnu

[Bug bootstrap/110120] [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel) in

2023-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 --- Comment #1 from Sam James --- march is znver2.

[Bug bootstrap/110120] New: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or 'u', have 'E' (rtx parallel

2023-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110120 Bug ID: 110120 Summary: [14 regression] Failed bootstrap on x86_64-pc-linux-gnu (locale_facets.tcc:588:7: internal compiler error: RTL check: expected elt 0 type 'e' or

[Bug target/109541] [12/13/14 regression] ICE in extract_constrain_insn on when building rhash-1.4.3

2023-06-04 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109541 --- Comment #15 from Sam James --- Okay. I couldn't hit it on some native machines until I rebuilt with more checking, but maybe that was a fluke.

[Bug tree-optimization/110067] [14 Regression] Wrong code on pixman-0.42.2

2023-06-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110067 Sam James changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/110110] [14 regression] nodejs/v8 fails to compile with error: cannot convert ‘std::vector::iterator’ to ‘const char*’

2023-06-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110110 Sam James changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug libstdc++/110110] [14 regression] nodejs/v8 fails to compile with error: cannot convert ‘std::vector::iterator’ to ‘const char*’

2023-06-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110110 --- Comment #5 from Sam James --- Oh, I bet you're right. Oops. I'll let the bisect run anyway, as I need to jump through all the hoops to send V8 a patch.

[Bug c++/110110] [14 regression] nodejs/v8 fails to compile with error: cannot convert ‘std::vector::iterator’ to ‘const char*’

2023-06-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110110 --- Comment #1 from Sam James --- It doesn't seem to be resolving to the STL template which takes an iterator, given the error & warning?

[Bug c++/110110] New: [14 regression] nodejs/v8 fails to compile with error: cannot convert ‘std::vector::iterator’ to ‘const char*’

2023-06-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110110 Bug ID: 110110 Summary: [14 regression] nodejs/v8 fails to compile with error: cannot convert ‘std::vector::iterator’ to ‘const char*’ Product: gcc Version:

[Bug target/109541] [12/13/14 regression] ICE in extract_constrain_insn on when building rhash-1.4.3

2023-06-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109541 --- Comment #13 from Sam James --- By the way, I think this needs --enable-checking=rtl, which is maybe why you couldn't hit it before.

[Bug target/109541] [12/13/14 regression] ICE in extract_constrain_insn on when building rhash-1.4.3

2023-05-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109541 --- Comment #12 from Sam James --- (Vladimir (and anyone else interested): For bugs like this, you're welcome to use gentoo's testing hardware if desired. Just email me an SSH key.)

[Bug ipa/109983] [12/13 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-31 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 --- Comment #16 from Sam James --- (In reply to Richard Biener from comment #9) > My suggestion is to not enable -fipa-pta if you hit such issue or in general > if you don't know it pays off with a good runtime performance boost. Many thanks

[Bug ipa/109983] [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 --- Comment #4 from Sam James --- I know what the option does, but: 1. It's substantially slower in 12/13/14, with or without checking. If that's expected, that's fine, but someone has to say if it is. 2. With default checking (=release) on

[Bug ipa/109983] [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 Sam James changed: What|Removed |Added Keywords||compile-time-hog --- Comment #2 from Sam

[Bug ipa/109983] [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 --- Comment #1 from Sam James --- I let perf spin for a while and got this w/ 13: ``` $ perf record gcc-13 -O2 -fipa-pta -c packet-rnsap.c.i [^C'd after ~2 minutes] $ perf report 43.18% cc1 cc1 [.]

[Bug ipa/109983] New: [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta

2023-05-26 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983 Bug ID: 109983 Summary: [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/109927] Bootstrap fails for m68k in stage2 compilation of gimple-match.cc

2023-05-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109927 --- Comment #20 from Sam James --- When I looked at it, I think I got it to apply to 13 with no hassle and it seemed to work okay, but I didn't test it that hard. It's a considerable win so even if not backported upstream, if you think it's

[Bug target/109927] Bootstrap fails for m68k in stage2 compilation of gimple-match.cc

2023-05-22 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109927 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org,

[Bug ipa/85734] --suggest-attribute=malloc misdiagnoses static functions

2023-05-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85734 --- Comment #6 from Sam James --- Paul noted at https://lists.gnu.org/archive/html/bug-gnulib/2023-05/msg00139.html that this seems to have come back, but interestingly, this bug never got closed in the first place.

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-05-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 --- Comment #17 from Sam James --- Is there by chance a workaround we can apply for this downstream (some flag)? It prevents building Chromium on arm64 for us w/ gcc unfortunately.

[Bug target/109812] GraphicsMagick resize is a lot slower in GCC 13.1 vs Clang 16

2023-05-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/109868] [13/14 regression] ICE: segmentation fault or ICE in min_value with zero sized bitfield

2023-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109868 --- Comment #13 from Sam James --- the OOB read seems to go away with --enable-checking=yes,rtl,extra (previously had --enable-checking=release)...? (at least for 13)

[Bug tree-optimization/109868] [13/14 regression] ICE: segmentation fault or ICE in min_value with zero sized bitfield

2023-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109868 --- Comment #10 from Sam James --- fwiw, on glibc, I don't get the oob read w/ valgrind but still the ICE as you've already found.

[Bug tree-optimization/109806] [13/14 Regression] 13.1.0 cc1plus stack smashing crash with C array of complex structs

2023-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109806 --- Comment #16 from Sam James --- Filed my musl one as PR109868, sorry for clogging up this one!

[Bug c++/109868] [13/14 regression] ICE: segmentation fault when building small C++ program

2023-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109868 --- Comment #2 from Sam James --- Created attachment 55089 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55089=edit clock.ii (reduced)

[Bug c++/109868] [13/14 regression] ICE: segmentation fault when building small C++ program

2023-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109868 --- Comment #1 from Sam James --- Created attachment 55088 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55088=edit clock.ii.orig

[Bug c++/109868] New: [13/14 regression] ICE: segmentation fault when building small C++ program

2023-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109868 Bug ID: 109868 Summary: [13/14 regression] ICE: segmentation fault when building small C++ program Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/109806] [13/14 Regression] 13.1.0 cc1plus stack smashing crash with C array of complex structs

2023-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109806 --- Comment #14 from Sam James --- (In reply to Alexander Monakov from comment #13) > The 128KB stack size is for *secondary* threads on musl (i.e. those created > via pthread_create). The main thread has the same stack as on glibc (GCC >

[Bug tree-optimization/109806] [13/14 Regression] 13.1.0 cc1plus stack smashing crash with C array of complex structs

2023-05-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109806 Sam James changed: What|Removed |Added CC||aldyh at gcc dot gnu.org See

[Bug c/87379] Warn about function pointer casts which differ in variadic-ness [-Wcast-variadic-function-type]

2023-05-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87379 --- Comment #3 from Sam James --- This is a bit of (not entirely, but a lot of) what I was reaching for in PR109835. I knew there was a ppc64 example in my head but I couldn't find it. It's also a good argument for just doing it entirely for

[Bug c/109835] -Wincompatible-function-pointer-types as a subset of -Wincompatible-pointer-types?

2023-05-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109835 --- Comment #4 from Sam James --- (In reply to Eric Gallager from comment #3) > I thought that there was already a separate bug for this, but it turns out > that I was thinking of bug 87379, which is for something different... Good catch. I

[Bug middle-end/109840] internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 when building graphite2

2023-05-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109840 --- Comment #1 from Sam James --- Created attachment 55075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55075=edit GlyphCache.cpp.ii (reduced)

[Bug middle-end/109840] New: internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 when building graphite2

2023-05-13 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109840 Bug ID: 109840 Summary: internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 when building graphite2 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/109834] [14 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (ssa_name) in gimple_simplify_191 when building harfbuzz

2023-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109834 --- Comment #9 from Sam James --- (In reply to Sam James from comment #8) > Created attachment 55071 [details] > graphite2-GlyphCache.cpp.ii (maybe related) I guess this is really the same given the operations it's doing (its own bswaps).

[Bug tree-optimization/109834] [14 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (ssa_name) in gimple_simplify_191 when building harfbuzz

2023-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109834 --- Comment #8 from Sam James --- Created attachment 55071 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55071=edit graphite2-GlyphCache.cpp.ii (maybe related)

[Bug c/109835] -Wincompatible-function-pointer-types as a subset of -Wincompatible-pointer-types?

2023-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109835 --- Comment #2 from Sam James --- Okay, fair point, I gave examples but not *motivating* examples. I have some non-harmless examples: 1. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0e5c4d289004fa779c86da9319cf2bb18548b1 (a nasty

[Bug tree-optimization/109834] [14 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (ssa_name) in gimple_simplify_191 when building harfbuzz

2023-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109834 --- Comment #6 from Sam James --- Created attachment 55069 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55069=edit reduced.ii I might reduce the graphite2 one for fun just to see how different it is but no promises.

[Bug c/95445] diagnose incompatible calls to functions declared without prototype

2023-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95445 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/109835] New: -Wincompatible-function-pointer-types as a subset of -Wincompatible-pointer-types?

2023-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109835 Bug ID: 109835 Summary: -Wincompatible-function-pointer-types as a subset of -Wincompatible-pointer-types? Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/109834] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (ssa_name) in gimple_simplify_191 when building harfbuzz

2023-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109834 --- Comment #1 from Sam James --- The *other* main issue I have is with graphite2: ``` FAILED: src/CMakeFiles/graphite2.dir/GlyphCache.cpp.o /usr/bin/aarch64-unknown-linux-gnu-g++ -DGRAPHITE2_NTRACING -Dgraphite2_EXPORTS

[Bug tree-optimization/109834] New: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (ssa_name) in gimple_simplify_191 when building harfbuzz

2023-05-12 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109834 Bug ID: 109834 Summary: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (ssa_name) in gimple_simplify_191 when building harfbuzz Product:

[Bug tree-optimization/109806] [13/14 Regression] 13.1.0 cc1plus stack smashing crash with C array of complex structs

2023-05-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109806 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #11

[Bug bootstrap/109765] [14 regression] ICE in real_to_decimal_for_mode

2023-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109765 --- Comment #6 from Sam James --- Report is at https://marc.info/?l=gmp-bugs=168367093126416=2. I ended up sending it a few times because I've had mail delivery problems before and I didn't realise the list was moderated even for subscribers.

[Bug target/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu

2023-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794 Sam James changed: What|Removed |Added Attachment #55034|0 |1 is obsolete|

[Bug c++/109794] Massive memory usage when building chromium on aarch64-unknown-linux-gnu

2023-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794 --- Comment #1 from Sam James --- Created attachment 55035 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55035=edit evaluate_prg_hwy.ii.xz (13)

[Bug c++/109794] New: Compile time hog when building chromium on aarch64-unknown-linux-gnu

2023-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109794 Bug ID: 109794 Summary: Compile time hog when building chromium on aarch64-unknown-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug c/88088] -Wtrampolines should be enabled by -Wall (or -Wextra)

2023-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88088 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #25

[Bug target/109661] [13 Regression] ICE in aarch64_function_arg_alignment when building erlang

2023-05-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109661 --- Comment #10 from Sam James --- Could you post the backport here (or chuck it on the 13 branch) so we could pull it in for gentoo? thanks

<    4   5   6   7   8   9   10   11   >