[Bug middle-end/112305] New: [13/14 Regression] Wrong code at -O1/2/3/s on x86_64-pc-linux-gnu

2023-10-30 Thread jwzeng at nuaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112305 Bug ID: 112305 Summary: [13/14 Regression] Wrong code at -O1/2/3/s on x86_64-pc-linux-gnu Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #32 from Kewen Lin --- > case pass, but the original test case (#c1) can't pass with this, it can't > pass with -fstack-reuse=none + -fno-strict-aliasing + -O2 either, I think > the original case still suffers another latent bug. We

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record/-fdump-tree-graphite/-fopt-info

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 --- Comment #5 from Sam James --- Again suppressed by -fharden-control-flow-redundancy. Anyway, will bisect.

[Bug tree-optimization/111734] [14 Regression] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre' since r14

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 Sam James changed: What|Removed |Added Summary|[14 Regression] wrong code |[14 Regression] wrong code

[Bug target/112299] [14 Regression] Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e

2023-10-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112299 Xi Ruoyao changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/112299] [14 Regression] Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112299 --- Comment #4 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:6bf2cebe2bf49919c78814cb447d3aa6e3550d89 commit r14-5030-g6bf2cebe2bf49919c78814cb447d3aa6e3550d89 Author: Xi Ruoyao Date: Mon Oct 3

[Bug target/112299] [14 Regression] Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e

2023-10-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112299 Xi Ruoyao changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at g

[Bug tree-optimization/111734] [14 Regression] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre'

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 --- Comment #6 from Sam James --- -fharden-control-flow-redundancy suppresses it.

[Bug tree-optimization/112303] [14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed since r14-3459-g0c78240fd7d519

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303 Sam James changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/61110] Simplify value_replacement in phiopt

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

[Bug target/112304] cinc is not being used for (small) constant

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112304 --- Comment #3 from Andrew Pinski --- Most like the following pattern's predicates should be expanded to include constants and not just registers. (define_insn "*csinc2_insn" [(set (match_operand:GPI 0 "register_operand" "=r") (plus:G

[Bug target/112304] cinc is not being used for (small) constant

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112304 --- Comment #2 from Andrew Pinski --- Trying 35 -> 16: 35: r95:SI=cc:CC!=0 REG_DEAD cc:CC 16: x0:SI=r95:SI+0x2a REG_DEAD r95:SI Failed to match this instruction: (set (reg/i:SI 0 x0) (plus:SI (ne:SI (reg:CC 66 cc)

[Bug target/112304] cinc is not being used for (small) constant

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

[Bug target/112304] New: cinc is not being used for (small) constant

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112304 Bug ID: 112304 Summary: cinc is not being used for (small) constant Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug tree-optimization/111734] [14 Regression] wrong code with '-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-omit-frame-pointer -fno-toplevel-reorder -fno-tree-fre'

2023-10-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111734 --- Comment #5 from Sam James --- (In reply to Richard Biener from comment #4) > [...] > I think this is a duplicate of the modref / IPA-CP issue (failing to remember > the PR number) which IIRC has a patch under review. PR57 or maybe PR108

[Bug target/112276] [14 Regression] wrong code with -O2 -msse4.2 since r14-4964-g7eed861e8ca3f5

2023-10-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112276 --- Comment #8 from Hongtao.liu --- Fixed.

[Bug target/112276] [14 Regression] wrong code with -O2 -msse4.2 since r14-4964-g7eed861e8ca3f5

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112276 --- Comment #7 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:f5d33d0c790a00cb5240a966dd99df9961bf57a0 commit r14-5025-gf5d33d0c790a00cb5240a966dd99df9961bf57a0 Author: liuhongt Date: Mon Oct

[Bug tree-optimization/112303] [14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed

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

[Bug c++/107513] [Feature Request] Implement __attribute__((__nodebug__))

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-10-31 Status|UNCONFI

[Bug target/111635] Objects built with -flto cannot be linked with Xcode

2023-10-30 Thread amy at amyspark dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111635 --- Comment #7 from Amyspark --- I can confirm this is no longer reproducible with macOS Monterey 12.7, Xcode 14.2, and the following linker version: @(#)PROGRAM:ld PROJECT:ld64-820.1 BUILD 20:07:01 Nov 7 2022 configured to support archs: arm

[Bug target/111935] gcc ICE with risc-v vector intrinsics

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111935 --- Comment #3 from CVS Commits --- The releases/gcc-13 branch has been updated by Li Xu : https://gcc.gnu.org/g:b22b845834f8bdc4e18d95b4f36ba702c01ed5f8 commit r13-7996-gb22b845834f8bdc4e18d95b4f36ba702c01ed5f8 Author: xuli Date: Tue Oct 2

[Bug target/112112] Improper Arithmetic Type Conversion in s390x-linux-gnu-gcc

2023-10-30 Thread 22s302h0659 at sonline20 dot sen.go.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112112 --- Comment #6 from 김대영 <22s302h0659 at sonline20 dot sen.go.kr> --- ``` z3rodae0@z3rodae0:~$ ./sh.sh result for -O0 "signed" = 1 result for -O1 "signed" = 1 result for -O2 "signed" = 1 result for -O3 "signed" = 1 result for -O0 "unsigned" = 0 re

[Bug target/111635] Objects built with -flto cannot be linked with Xcode

2023-10-30 Thread amy at amyspark dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111635 --- Comment #6 from Amyspark --- I need to recover my GCC installation post Homebrew forcing an OS upgrade to Monterey. Still, I think this needs to be tested against the x64 target -- I've seen some issues only happening when targeting it.

[Bug libbacktrace/112263] [C++23] std::stacktrace does not identify symbols in shared library

2023-10-30 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112263 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #3 f

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

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

[Bug preprocessor/91517] Pragma expansion in variadic macro reorders pragmas and breaks code

2023-10-30 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91517 Lewis Hyatt changed: What|Removed |Added CC||duparq at free dot fr --- Comment #7 from

[Bug preprocessor/79948] _Pragma(“GCC error”) is processed differently inside and outside of a #if directive

2023-10-30 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79948 Lewis Hyatt changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/112295] RISC-V: Short forward branch pessimisation for ALU operations

2023-10-30 Thread andrew at sifive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112295 Andrew Waterman changed: What|Removed |Added CC||andrew at sifive dot com --- Comment

[Bug tree-optimization/112303] [14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW See Also|

[Bug tree-optimization/112303] [14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303 Andrew Pinski changed: What|Removed |Added Summary|ICE on valid code at -O3 on |[14 Regression] ICE on

[Bug tree-optimization/112303] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed

2023-10-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303 --- Comment #1 from Zhendong Su --- Also see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111328

[Bug tree-optimization/112303] New: ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed

2023-10-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231030 (experimental) (GCC) [579] % [579] % gcctk -O2 -c small.c [580] % [580] % gcctk -O3 -c small.c small.c: In function

[Bug c++/112301] [Regression 12/13/14] Double destruction of returned object when exiting the scope causes an exception which gets rethrown

2023-10-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112301 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug preprocessor/47254] ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only

2023-10-30 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47254 Lewis Hyatt changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2023-10-30 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 CC||jpewhacker at gmail dot com --- Comment #

[Bug preprocessor/91152] endif-label error when using #pragma with -fdirectives-only

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

[Bug c++/112288] [11/12/13/14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread falemagn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #7 from Fabio Alemagna --- (In reply to Marek Polacek from comment #6) > (In reply to Andrew Pinski from comment #5) > > (In reply to Fabio Alemagna from comment #4) > > > (In reply to Marek Polacek from comment #2) > > > > Confirmed

[Bug middle-end/112302] The Os optimisation level removes variable value being set in a particular instance

2023-10-30 Thread barryns86 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112302 --- Comment #3 from Barry Solomon --- (In reply to Andrew Pinski from comment #2) > Dup of bug 106389. > > *** This bug has been marked as a duplicate of bug 106389 *** Thank you very much. I did try looking around, and did not see this other

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu since r14-4777-g88c27070c25309

2023-10-30 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 avieira at gcc dot gnu.org changed: What|Removed |Added CC||avieira at gcc dot gnu.org

[Bug middle-end/112302] The Os optimisation level removes variable value being set in a particular instance

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112302 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/106389] [11/12/13/14 Regression] IPA modref breaks Safe Bitfields in C++

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106389 Andrew Pinski changed: What|Removed |Added CC||barryns86 at gmail dot com --- Comment

[Bug middle-end/112302] The Os optimisation level removes variable value being set in a particular instance

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112302 --- Comment #1 from Andrew Pinski --- This might be undefined code dealing with unions and accesing the fields but via a pointer outside a function ...

[Bug fortran/110415] (Re)allocation on assignment to allocatable polymorphic variable from allocatable polymorphic function result

2023-10-30 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110415 Matt Thompson changed: What|Removed |Added CC||matthew.thompson at nasa dot gov --- C

[Bug c++/112302] New: The Os optimisation level removes variable value being set in a particular instance

2023-10-30 Thread barryns86 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112302 Bug ID: 112302 Summary: The Os optimisation level removes variable value being set in a particular instance Product: gcc Version: 12.3.1 Status: UNCONFIRMED Se

[Bug target/112299] [14 Regression] Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112299 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug fortran/97045] A wrong column is selected when addressing individual elements of unlimited polymorphic dummy argument

2023-10-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97045 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to fail||10.5.0 Known to work|

[Bug target/112299] Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112299 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2023-October/634687.html

[Bug fortran/111291] ASAN error: heap-use-after-free gcc/fortran/parse.cc:359 in decode_statement

2023-10-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111291 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||error-recovery Last reconf

[Bug tree-optimization/112266] `constcall(a)` and `constcall(&a->b[0])` is not being optimized to one call

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112266 --- Comment #4 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > Whee - late diagnostic fallout galore! Putting on hold. I was expecting that. Many of the diagnostic for strings and array bounds, etc. depend on the orig

[Bug target/112297] Failure of pr100936.c on x86_64-apple-darwin21

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297 --- Comment #2 from Andrew Pinski --- Most likely the testcase needs: /* { dg-require-effective-target nonpic } */ Or something like that.

[Bug target/112276] [14 Regression] wrong code with -O2 -msse4.2 since r14-4964-g7eed861e8ca3f5

2023-10-30 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112276 --- Comment #6 from Zdenek Sojka --- Created attachment 56477 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56477&action=edit testcase failing at -O2 $ x86_64-pc-linux-gnu-gcc -O2 testcase.c $ ./a.out Aborted

[Bug c++/112288] [11/12/13/14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #6 from Marek Polacek --- (In reply to Andrew Pinski from comment #5) > (In reply to Fabio Alemagna from comment #4) > > (In reply to Marek Polacek from comment #2) > > > Confirmed. Started with r6-6830-g20a0c6f9bdbd78: > > > > > >

[Bug target/112295] RISC-V: Short forward branch pessimisation for ALU operations

2023-10-30 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112295 palmer at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-10-30 Ever confirme

[Bug c++/112288] [11/12/13/14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #5 from Andrew Pinski --- (In reply to Fabio Alemagna from comment #4) > (In reply to Marek Polacek from comment #2) > > Confirmed. Started with r6-6830-g20a0c6f9bdbd78: > > > > commit 20a0c6f9bdbd781ed5d413a10a06764a174dc394 > > A

[Bug tree-optimization/111878] [14 Regression] ICE: in get_loop_exit_edges, at cfgloop.cc:1204 with -O3 -fgraphite-identity -fsave-optimization-record/-fdump-tree-graphite/-fopt-info

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111878 --- Comment #4 from Martin Jambor --- I am not 100% certain if it is the same bug (I am happy to open a separate bug report if not), but I'm getting an ICE on the same spot, also with graphite, when running gfortran ~/gcc/trunk/src/libgomp/test

[Bug c++/112288] [11/12/13/14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread falemagn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #4 from Fabio Alemagna --- (In reply to Marek Polacek from comment #2) > Confirmed. Started with r6-6830-g20a0c6f9bdbd78: > > commit 20a0c6f9bdbd781ed5d413a10a06764a174dc394 > Author: Patrick Palka > Date: Mon Feb 8 23:02:50 201

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 57, which changed state. Bug 57 Summary: [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #11 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:997c8219f020091d00fd225c81270aa551bfe9e4 commit r14-5017-g997c8219f020091d00fd225c81270aa551bfe9e4 Author: Martin Jambor Date:

[Bug ipa/111157] [14 Regression] 416.gamess fails with a run-time abort when compiled with -O2 -flto after r14-3226-gd073e2d75d9ed4

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #10 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:1437df40f12ade35fd1f1a3e4cbba4b4656cab0b commit r14-5016-g1437df40f12ade35fd1f1a3e4cbba4b4656cab0b Author: Martin Jambor Date:

[Bug target/111635] Objects built with -flto cannot be linked with Xcode

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111635 --- Comment #5 from Francois-Xavier Coudert --- Third try (on aarch64-darwin): I installed Homebrew's libusb. But now, the build succeeds… ⌁ [fx:/tmp/bmpflash] f87ad30 6s ± meson compile -C build INFO: autodetecting backend as ninja INFO: calcu

[Bug target/111635] Objects built with -flto cannot be linked with Xcode

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

[Bug c++/112288] [11/12/13/14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 --- Comment #3 from Marek Polacek --- // PR c++/112288 namespace { template class counter { public: template static constexpr int next() { return next(0)*Step+Start; } private: template struct slot { template friend constexpr

[Bug c++/112301] [Regression 12/13/14] Double destruction of returned object when exiting the scope causes an exception which gets rethrown

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112301 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Summary|Double

[Bug c++/112288] [11/12/13/14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection |ice-on-valid-code Summary|[1

[Bug middle-end/101955] (signed<<

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 --- Comment #9 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:a3da9adeb457d4f01c4e695a9621f90c2e2a5e68 commit r14-5014-ga3da9adeb457d4f01c4e695a9621f90c2e2a5e68 Author: Roger Sayle Date: Mon O

[Bug c++/112269] [14 Regression] x86_64 GNU/Linux '-m32' multilib 'libstdc++-v3/include/complex:1493: internal compiler error: in tsubst_expr, at cp/pt.cc:21534' since r14-4796-g3e3d73ed5e85e7

2023-10-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112269 --- Comment #5 from Patrick Palka --- I can't reproduce any of these testsuite failures on trunk with x86_64 -m32... could you provide a preprocessed source file perhaps?

[Bug rtl-optimization/106594] [13/14 Regression] sign-extensions no longer merged into addressing mode

2023-10-30 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #27 from Segher Boessenkool --- (In reply to Roger Sayle from comment #21) > Segher has proposed that object code size correlates with the quality of It isn't a proposition, it is a simple and obvious fact. But, this isn't exactly

[Bug rtl-optimization/110717] Double-word sign-extension missed-optimization

2023-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110717 --- Comment #16 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:31cc9824d1cd5e0f7fa145d0831a923479333cd6 commit r14-5013-g31cc9824d1cd5e0f7fa145d0831a923479333cd6 Author: Roger Sayle Date: Mon

[Bug c++/112301] New: Double destruction of returned object when exiting the scope causes an exception which gets rethrown

2023-10-30 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112301 Bug ID: 112301 Summary: Double destruction of returned object when exiting the scope causes an exception which gets rethrown Product: gcc Version: 12.3.0 Status: UNCONFI

[Bug target/112298] Poor code for DImode operations on H8 port

2023-10-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112298 Roger Sayle changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug target/112300] New: Cross compiling to mipsisa64r2-sde-elf fails because "HEAP_TRAMPOLINES_INIT was not declared in this scope" since r14-4821-g28d8c680aaea46

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112300 Bug ID: 112300 Summary: Cross compiling to mipsisa64r2-sde-elf fails because "HEAP_TRAMPOLINES_INIT was not declared in this scope" since r14-4821-g28d8c680aaea46 Product:

[Bug target/112299] New: Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e

2023-10-30 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112299 Bug ID: 112299 Summary: Cross compiling to loongarch64-linux-gnuf64 fails because "HAVE_AS_TLS was not declared" after r14-4925-g1b30ef7cea773e Product: gcc Vers

[Bug target/112298] Poor code for DImode operations on H8 port

2023-10-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112298 Jeffrey A. Law changed: What|Removed |Added Target||h8300 Priority|P3

[Bug target/112298] New: Poor code for DImode operations on H8 port

2023-10-30 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112298 Bug ID: 112298 Summary: Poor code for DImode operations on H8 port Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug c++/112296] __builtin_constant_p doesn't propagate through member functions

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112296 --- Comment #3 from Jonathan Wakely --- (In reply to Barry Revzin from comment #0) > inline int direct(Span span) { > return __builtin_constant_p(span.size()); > } > > inline int indirect(Span span) { > size_t s = span.size(); > ret

[Bug c++/112296] __builtin_constant_p doesn't propagate through member functions

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112296 --- Comment #2 from Jonathan Wakely --- I think you mean std::is_constant_evaluated, but that doesn't check values, it checks if the function is being evaluated as constexpr. And if-constexpr can't be used here either, that works like templates,

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > That would be difficult, because std::remove is overloaded and another > overload was found here (the one declared in ). Usually we only > provide fix-it hin

[Bug target/112297] Failure of pr100936.c on x86_64-apple-darwin21

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297 Francois-Xavier Coudert changed: What|Removed |Added Build||x86_64-apple-darwin21

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread arkamar at atlas dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #5 from Petr Vaněk --- Thank you for the quick response and clarifications. I'll work on patching rspamd to adhere to these requirements. As for std::begin and std::end, rspamd uses them correctly, the std:: was actually reduced by

[Bug target/112297] New: Failure of pr100936.c on x86_64-apple-darwin21

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297 Bug ID: 112297 Summary: Failure of pr100936.c on x86_64-apple-darwin21 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #4 from Jonathan Wakely --- FWIW the change in transitive includes was r14-1459-g940645cec500ab

[Bug c++/112296] __builtin_constant_p doesn't propagate through member functions

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112296 --- Comment #1 from Richard Biener --- __builtin_constant_p is limited by inlining, maybe you want to use if constexpr for this or the standard library facility I can't remember right now.

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #3 from Jonathan Wakely --- As I wrote in PR 82594, the error should say that the number of arguments is wrong instead of the irrelevant error about converting to const char*. I don't think a fix-it is likely here though.

[Bug c++/82594] Please provide better parameter / argument mismatch warnings/notes for no overloads case

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82594 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/112288] [14 Regression] ICE - internal compiler error: in instantiate_decl, at cp/pt.cc:26861

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Target Milestone|---

[Bug c++/112296] New: __builtin_constant_p doesn't propagate through member functions

2023-10-30 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112296 Bug ID: 112296 Summary: __builtin_constant_p doesn't propagate through member functions Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu since r14-4777-g88c27070c25309

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|unknown

[Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281 Richard Biener changed: What|Removed |Added Version|unknown |13.2.1 Priority|P3

[Bug target/112295] New: RISC-V: Short forward branch pessimisation for ALU operations

2023-10-30 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112295 Bug ID: 112295 Summary: RISC-V: Short forward branch pessimisation for ALU operations Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimizat

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > This is broken in two ways, you need to include both *and* > for this program. Actually three ways. There is no guarantee that std::vector's iterators hav

[Bug target/112280] [14 regression] ICE building libgcrypt-1.10.2 on s390 (during GIMPLE pass: ccp)

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112280 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug c++/112293] Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 --- Comment #1 from Jonathan Wakely --- (In reply to Petr Vaněk from comment #0) > The issue appears to arise from internal changes in libstdc++ that now > require the explicit inclusion of the header (this part is > likely a bug within rspamd)

[Bug tree-optimization/112266] `constcall(a)` and `constcall(&a->b[0])` is not being optimized to one call

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112266 --- Comment #3 from Richard Biener --- Created attachment 56475 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56475&action=edit patch Running target unix +FAIL: c-c++-common/Warray-bounds.c -std=gnu++98 (test for warnings, line 183) +

[Bug tree-optimization/112266] `constcall(a)` and `constcall(&a->b[0])` is not being optimized to one call

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112266 --- Comment #2 from Richard Biener --- Whee - late diagnostic fallout galore! Putting on hold.

[Bug target/112294] thread_local13.C and thread_local14.C fail on x86_64-darwin

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112294 Francois-Xavier Coudert changed: What|Removed |Added Ever confirmed|0 |1 Host|

[Bug target/112294] New: thread_local13.C and thread_local14.C fail on x86_64-darwin

2023-10-30 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112294 Bug ID: 112294 Summary: thread_local13.C and thread_local14.C fail on x86_64-darwin Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal P

[Bug ada/111909] Filename case sensitivity defaulted wrongly on macOS

2023-10-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111909 Eric Gallager changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/112277] Missed optimization of loop deletion because of missed loopUnswitch and useless instruction elimination

2023-10-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112277 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Ever co

[Bug c++/112293] New: Enhance error reporting with fix-it for missing in gcc 14

2023-10-30 Thread arkamar at atlas dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112293 Bug ID: 112293 Summary: Enhance error reporting with fix-it for missing in gcc 14 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pr

  1   2   >