[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 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/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] [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 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 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 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 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 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[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 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 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 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 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 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 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 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] [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] [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 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 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 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 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 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 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 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/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/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 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 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 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 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 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/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 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] 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 --- 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 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 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/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 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 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|ASSIGNED|RESOLVED Resolution|---

[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 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 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 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

<    1   2