[Bug target/47253] Conditional jump to tail function is not generated

2025-02-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253 H.J. Lu changed: What|Removed |Added Attachment #60457|0 |1 is obsolete|

[Bug c++/118834] New: __is_same diagnostic can be more specific

2025-02-11 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118834 Bug ID: 118834 Summary: __is_same diagnostic can be more specific Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jcldc13 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #10 from jcldc13 at gmail dot com --- (In reply to Jakub Jelinek from comment #6) > Note, it is wrong even on x86_64. For varargs functions, %rax needs to be > number of floating point arguments in the ABI, but if called through K&R

[Bug c++/117504] [12/13/14/15 Regression] Incorrect code emitted when using "constexpr std::array" since r8-3497-g281e6c1d8f1b4c

2025-02-11 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504 --- Comment #3 from Simon Martin --- Interestingly enough, it's the trailing type that's causing issues; things work perfectly fine without it. That's what I'm digging into.

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #11 from Jakub Jelinek --- It is still invalid even if you are lucky and it doesn't crash. And it easily can crash at least with older gcc versions. E.g. with #include int foo (int a, ...) { va_list ap; va_start (ap, a); if (a

[Bug sarif-replay/118792] Off-by-one in underlined ranges in sarif-replay

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118792 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:e8c5013b6b7820d77edc45d04e634d49b20c05ce commit r15-7474-ge8c5013b6b7820d77edc45d04e634d49b20c05ce Author: David Malcolm Date: T

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #17 from Jonathan Wakely --- (In reply to Nicholas Williams from comment #1) > Created attachment 60438 [details] > gcc -v output from buggy RHEL/GCC14 The reason this doesn't work is because gcc-toolset-14 links to libstdc++_nonsha

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug tree-optimization/118817] [14 Regression] stringop-overflow and array-bound error with LTO/O3

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118817 Richard Biener changed: What|Removed |Added Summary|[14/15 Regression] |[14 Regression] |str

[Bug c++/55578] Disabling warnings inside macro definition doesn't work

2025-02-11 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578 Luca Bacci changed: What|Removed |Added CC||luca.bacci at outlook dot com --- Comment #

[Bug c/118836] New: sso warning dependend on -fno-builtin

2025-02-11 Thread george.thopas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118836 Bug ID: 118836 Summary: sso warning dependend on -fno-builtin Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/118833] [15 Regression] ICE with structured binding as condition of while/for loop since r15-7426

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

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #5 from Sam James --- Always on x86_64, though. Compilers can't change the ABI.

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #39 from H.J. Lu --- (In reply to Uroš Bizjak from comment #37) > (In reply to H.J. Lu from comment #23) > > Created attachment 55424 [details] > > An updated patch > > Is this patch similar to the one in PR109093#c17 ? As argued in

[Bug c++/118807] [modules] ICE in c_tree_chain_next during GGC with explicit instantiations

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118807 --- Comment #3 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:ef83fae50d8f085fe8440bfa595875a2e2329871 commit r15-7470-gef83fae50d8f085fe8440bfa595875a2e2329871 Author: Nathaniel Shead Date:

[Bug c++/118807] [modules] ICE in c_tree_chain_next during GGC with explicit instantiations

2025-02-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118807 Nathaniel Shead changed: What|Removed |Added Target Milestone|--- |15.0 Status|ASSIGNED

[Bug target/47253] Conditional jump to tail function is not generated

2025-02-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253 H.J. Lu changed: What|Removed |Added Attachment #60458|0 |1 is obsolete|

[Bug c++/103524] [meta-bug] modules issue

2025-02-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 118807, which changed state. Bug 118807 Summary: [modules] ICE in c_tree_chain_next during GGC with explicit instantiations https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118807 What|Removed

[Bug tree-optimization/59967] [12/13/14/15 Regression] Performance regression from 4.7.x to 4.8.x (loop not unrolled)

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59967 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|rguenth at gcc d

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jcldc13 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #13 from jcldc13 at gmail dot com --- (In reply to Thomas Koenig from comment #12) > (In reply to jcldc13 from comment #10) > > (In reply to Jakub Jelinek from comment #6) > > You can run by yourself my test case on x86 computer, and

[Bug tree-optimization/59967] [12/13/14/15 Regression] Performance regression from 4.7.x to 4.8.x (loop not unrolled)

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59967 --- Comment #26 from Richard Biener --- Created attachment 60464 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60464&action=edit trimmed down testcase with just the important function

[Bug tree-optimization/108608] [12 Regression] AArch64 vectorizer ICE in vect_transform_reduction and __builtin_fmax

2025-02-11 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108608 --- Comment #12 from Richard Sandiford --- (In reply to fengfei.xi from comment #11) > could you please explain under what specific circumstances this change might > lead to slower performance? > Also, is there a more complete fix or any plans f

[Bug debug/118837] New: Interpretation of DW_FORM_data*

2025-02-11 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118837 Bug ID: 118837 Summary: Interpretation of DW_FORM_data* Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug

[Bug debug/118837] Interpretation of DW_FORM_data*

2025-02-11 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118837 --- Comment #1 from Tom Tromey --- Also there was an old thread about this: https://lists.dwarfstd.org/pipermail/dwarf-discuss/2010-July/000862.html

[Bug tree-optimization/64715] [12/13/14/15 Regression] __builtin_object_size (..., 1) fails to locate subobject

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64715 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/84918] Better handling of "std::cout >> 42;"

2025-02-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84918 --- Comment #9 from David Malcolm --- For reference, trunk with -fdiagnostics-set-output=text:experimental-nesting=yes : https://godbolt.org/z/8nv36zxqf

[Bug gcov-profile/118102] profile-use and profile-dir= during IPA pass: profile

2025-02-11 Thread ganime1961tire at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118102 --- Comment #18 from ganime --- i found my issue, when i profile first with -O2 and than prof-use with -Ofast, i receive compile error. when i compile in profiling run with -Ofast and compile again with prof-use -Ofast compile running well. sa

[Bug c/118836] sso warning dependend on -fno-builtin

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

[Bug c++/118834] __is_same diagnostic can be more specific

2025-02-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118834 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-02-11 Status|UNCONFIRM

[Bug c++/118340] fold expression is very slow to compile when used to initialize a variable

2025-02-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118340 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/118834] __is_same diagnostic can be more specific

2025-02-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118834 --- Comment #3 from Andrew Pinski --- I have not looked fully but https://gcc.gnu.org/pipermail/gcc-patches/2024-November/667976.html might to a patch to solve this. I also suspect it is too late to get into GCC 15.

[Bug target/118827] riscv scalar and vector are all saved when __attribute__((interrupt)) used

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

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #37 from Uroš Bizjak --- (In reply to H.J. Lu from comment #23) > Created attachment 55424 [details] > An updated patch Is this patch similar to the one in PR109093#c17 ? As argued in PR109093#c35, it looks that the current detectio

[Bug target/109780] [12/13/14/15 Regression] csmith: runtime crash with -O2 -march=znver1

2025-02-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109780 --- Comment #38 from Uroš Bizjak --- (In reply to Sam James from comment #29) > $ gcc-14 p.c -o p -O2 -march=znver1 -fno-stack-protector > -fno-stack-clash-protection && ./p > Segmentation fault (core dumped) Adding -mpreferred-stack-boundary=3

[Bug rtl-optimization/118755] [15 Regression] ccmp_3.c fails on aarch64

2025-02-11 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118755 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug c++/118834] __is_same diagnostic can be more specific

2025-02-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118834 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #1 fr

[Bug tree-optimization/118817] [14/15 Regression] stringop-overflow and array-bound error with LTO/O3

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118817 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0a1d2ea57722c248777e1130de076e28c443ff8b commit r15-7472-g0a1d2ea57722c248777e1130de076e28c443ff8b Author: Richard Biener Date:

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug target/109093] [15 regression] csmith: a February runtime bug ?

2025-02-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #37 from H.J. Lu --- (In reply to Uroš Bizjak from comment #35) > (In reply to H.J. Lu from comment #17) > > Created attachment 54666 [details] > > A patch > > > > Change ix86_find_max_used_stack_alignment to find alignments of all

[Bug modula2/118761] gm2 driver doesn't behave as gcc for --help=BLA

2025-02-11 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118761 --- Comment #6 from Marc Poulhiès --- Thanks for the quick fix!

[Bug c++/118833] [15 Regression] ICE with structured binding as condition of while/for loop since r15-7426

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118833 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|-

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #9 from Thomas Koenig --- (In reply to Jakub Jelinek from comment #8) > Can stdarg functions (say void foo (int, ...); or for C23 void bar (...); > too) be represented in C interop? No, these are not interoperable.

[Bug target/109093] [15 regression] csmith: a February runtime bug ?

2025-02-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #36 from H.J. Lu --- Created attachment 60462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60462&action=edit An untested patch

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #14 from rguenther at suse dot de --- On Tue, 11 Feb 2025, tkoenig at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 > > Thomas Koenig changed: > >What|Removed |Ad

[Bug debug/68860] [12/13/14/15 regression] FAIL: gcc.dg/guality/pr36728-1.c -flto -O3 -g line 17 arg1 == 1

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

[Bug debug/68860] [12/13/14/15 regression] FAIL: gcc.dg/guality/pr36728-1.c -flto -O3 -g line 17 arg1 == 1

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

[Bug debug/118790] [15 Regression] ICE when building fiat (crash in loc_list_from_tree_1)

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118790 --- Comment #25 from Richard Biener --- (In reply to Jakub Jelinek from comment #24) > So > --- gcc/tree-ssa-live.cc.jj 2025-01-02 11:23:05.915664859 +0100 > +++ gcc/tree-ssa-live.cc 2025-02-11 14:44:33.940178150 +0100 > @@ -369,9 +369,17

[Bug target/108866] Allow to pass Windows resource file (.rc) as input to gcc

2025-02-11 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866 --- Comment #10 from Peter Damianov --- Currently binutils does not install windres into the "tooldir" where gcc typically seems to be searching, which is likely why the behavior Pali was observing was happening. in binutils/Makefile.in simply

[Bug rtl-optimization/118739] [15 Regression] wrong code at -O{s,3} with "-fno-tree-forwprop -fno-tree-vrp" on x86_64-linux-gnu since r15-268-g9dbff9c05520a7

2025-02-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118739 --- Comment #14 from Uroš Bizjak --- Untested patch: --cut here-- diff --git a/gcc/combine.cc b/gcc/combine.cc index 3beeb514b81..99cd64ada1f 100644 --- a/gcc/combine.cc +++ b/gcc/combine.cc @@ -14559,7 +14559,8 @@ distribute_notes (rtx notes,

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Commen

[Bug c++/84796] ICE in a template parameter pack expansion

2025-02-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84796 --- Comment #9 from Patrick Palka --- I suppose one way to make this work is to eagerly expand pack expansions in member template parameter lists when instantiating a class template. Consequently we'd now reject the below testcase due to conflic

[Bug target/118825] [12/13/14 Regression] Typo in ASM_OUTPUT_SYMBOL_REF

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118825 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:0a1c9d03309ff1e507f7ea347fe8cc12bf669296 commit r13-9371-g0a1c9d03309ff1e507f7ea347fe8cc12bf669296 Author: H.J. Lu Date: Tue

[Bug target/118825] [12/13/14 Regression] Typo in ASM_OUTPUT_SYMBOL_REF

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118825 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:5f47dc6e9aa82e1c00ed030cb9469cd84df8691d commit r14-11301-g5f47dc6e9aa82e1c00ed030cb9469cd84df8691d Author: H.J. Lu Date: Tue

[Bug target/118825] [12/13/14 Regression] Typo in ASM_OUTPUT_SYMBOL_REF

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118825 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:bd52571d713749f1a4cf0f58ca4922dbc42b5752 commit r12-10950-gbd52571d713749f1a4cf0f58ca4922dbc42b5752 Author: H.J. Lu Date: Tue

[Bug target/118825] [12/13/14 Regression] Typo in ASM_OUTPUT_SYMBOL_REF

2025-02-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118825 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Version|unknown

[Bug libstdc++/118841] please do not use long double in generate_canonical when the range is small enough

2025-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118841 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/112961] [13 Regression] middle-end Missed vectorization: failed to vectorize simple reduction max since GCC-13

2025-02-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112961 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/118827] riscv scalar and vector are all saved when __attribute__((interrupt)) used

2025-02-11 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118827 --- Comment #4 from Huaqi --- But why interrupt attributed function behavior are different from normal function? see my previous comment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118827#c2

[Bug target/118818] Optimization of divps to rcpps + newton can cause slow down

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118818 --- Comment #3 from Richard Biener --- It's probably also some time since this got any tuning (for recent uarchs). IIRC originally latency wasn't much worse.

[Bug target/118832] New: RISC-V: internal compiler error: could not split insn, with V+Zbb enabled

2025-02-11 Thread wangpengcheng.pp at bytedance dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118832 Bug ID: 118832 Summary: RISC-V: internal compiler error: could not split insn, with V+Zbb enabled Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norm

[Bug debug/118790] [15 Regression] ICE when building fiat (crash in loc_list_from_tree_1)

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118790 --- Comment #21 from Richard Biener --- (In reply to Jakub Jelinek from comment #12) > This looks like a GC bug. > On the id_string.55 DECL_HAS_VALUE_EXPR_P bit is set and DECL_VALUE_EXPR is > set to > COMPONENT_REF during streaming in. > But th

[Bug debug/118790] [15 Regression] ICE when building fiat (crash in loc_list_from_tree_1)

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118790 --- Comment #22 from Richard Biener --- (In reply to Richard Biener from comment #21) > I think the VAR_DECL should be reachable from elsewhere (BLOCK_VARS ideally, > I'd like to get rid of local_decls). IIRC I wondered at some point > whether

[Bug d/111628] D: concurrency.d hangs on macOS 13 (Ventura) and 14 (Sonoma).

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111628 --- Comment #4 from GCC Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:b7008552b493edaca6af041a18ff436c37f259bc commit r15-7466-gb7008552b493edaca6af041a18ff436c37f259bc Author: Rainer Orth Date: Tue F

[Bug tree-optimization/118830] Not removing bounds check from vector::at if used with try/catch (which recovers inside the loop)

2025-02-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118830 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug other/116948] bootstrap-ubsan should set UBSAN_OPTIONS to abort on error

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

[Bug tree-optimization/109440] Missed optimization of vector::at when a function is called inside the loop

2025-02-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109440 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/118819] [15 Regression] runtime error: signed integer overflow during bootstrap

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118819 --- Comment #5 from Richard Biener --- This is old code though.

[Bug debug/118790] [15 Regression] ICE when building fiat (crash in loc_list_from_tree_1)

2025-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118790 --- Comment #23 from Jakub Jelinek --- (In reply to Richard Biener from comment #21) > So the issue is not that we remove id_string.55 var from the hash but > that somehow marking the id_string.55 using *id_string.55 faults then? > Why? Is that

[Bug target/118828] LoongArch: #pragma GCC target should update __loongarch_asx and similar macros

2025-02-11 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118828 --- Comment #1 from chenglulu --- (In reply to Xi Ruoyao from comment #0) > Test case: > > /* { dg-do preprocess } */ > /* { dg-options "-mno-lasx" } */ > > #ifdef __loongarch_asx > #error LASX shouldn't be available here > #endif > > #pragma

[Bug c++/118822] [15 regression] ICE when building mariadb-10.6.21 since r15-7426

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

[Bug tree-optimization/118830] Not removing bounds check from vector::at if used with try/catch (which recovers inside the loop)

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118830 --- Comment #1 from Richard Biener --- with WO_TRY we optimize this by jump threading in threadfull1, with the try/catch we likely run into some limits.

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/118819] [15 Regression] runtime error: signed integer overflow during bootstrap

2025-02-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118819 --- Comment #4 from Andrew Pinski --- return memrefs_conflict_p (xsize, x0, ysize, y0, c - cx1 + cy1);

[Bug fortran/118831] New: C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jcldc13 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 Bug ID: 118831 Summary: C function with variables arguments called from fortran on ARM architecture Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity:

[Bug target/118825] [12/13/14/15 Regression] Typo in ASM_OUTPUT_SYMBOL_REF

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118825 --- Comment #3 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:7317fc0b03380a83ad03a5fc4fabef5f38c44c9d commit r15-7469-g7317fc0b03380a83ad03a5fc4fabef5f38c44c9d Author: H.J. Lu Date: Tue Feb 11 13

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jcldc13 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #2 from jcldc13 at gmail dot com --- (In reply to Richard Biener from comment #1) > I don't think you can do this in F77, you need to properly use iso_c99 > bindings. > You likely get the "unprototyped" call ABI which differs from v

[Bug c++/118833] New: [15 Regression] ICE with structured binding as condition of while/for loop since r15-7426

2025-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118833 Bug ID: 118833 Summary: [15 Regression] ICE with structured binding as condition of while/for loop since r15-7426 Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #3 from Richard Biener --- (In reply to jcldc13 from comment #2) > > (In reply to Richard Biener from comment #1) > > I don't think you can do this in F77, you need to properly use iso_c99 > > bindings. > > You likely get the "unpro

[Bug c/97991] [12/13/14/15 Regression] ICE in c_parser_consume_token, at c/c-parser.c:850

2025-02-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97991 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/83651] [12/13/14/15 regression] 20% slowdown of linux kernel AES cipher

2025-02-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83651 --- Comment #29 from Andrew Pinski --- I am not 100% sure but it looked like this was fixed in GCC 14. The number of pretmp is greatly reduced even.

[Bug target/118827] riscv scalar and vector are all saved when __attribute__((interrupt)) used

2025-02-11 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118827 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #3 fro

[Bug middle-end/118819] [15 Regression] runtime error: signed integer overflow during bootstrap

2025-02-11 Thread dcb314 at hotmail dot com via Gcc-bugs
AN UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 working $ and /home/dcb40b/gcc/working/./gcc/xgcc -B/home/dcb40b/gcc/working/./gcc/ -B/home/dcb40b/gcc/results.20250211/x86_64-pc-linux-gnu/bin/ -B/home/dcb40b/gcc/results.20250211/x86_64-pc-linux-gnu/lib/ -isystem /

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jcldc13 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #4 from jcldc13 at gmail dot com --- (In reply to Richard Biener from comment #3) > (In reply to jcldc13 from comment #2) > > > > (In reply to Richard Biener from comment #1) > > > I don't think you can do this in F77, you need to pr

[Bug target/109093] [15 regression] csmith: a February runtime bug ?

2025-02-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #35 from Uroš Bizjak --- (In reply to H.J. Lu from comment #17) > Created attachment 54666 [details] > A patch > > Change ix86_find_max_used_stack_alignment to find alignments of all stack > slot accesses. HJ, it looks that the cur

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc

[Bug c++/55578] Disabling warnings inside macro definition doesn't work

2025-02-11 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578 --- Comment #16 from Luca Bacci --- Hi FeRD, Following your suggestion I have opened a dedicated ticket: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118838 Thanks, Luca

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #21 from Jonathan Wakely --- https://maskray.me/blog/2021-11-07-init-ctors-init-array covers it in as clear a way as I've seen.

[Bug c/118838] New: _Pragma diagnostic ignored inside macro

2025-02-11 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118838 Bug ID: 118838 Summary: _Pragma diagnostic ignored inside macro Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libstdc++/118811] SIGABRT (or ASAN heap-use-after-free) in chrono::locate_zone--chrono::tzdb_list during exit handlers

2025-02-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118811 --- Comment #20 from Jonathan Wakely --- Because the constructors for globals in the libstdc++.so shared library are run before the ones in your program. This happens when the shared library is loaded into the process. When you link to libstdc+

[Bug middle-end/118839] New: [OpenMP] Missing diagnostic when the variant is the same as the base name

2025-02-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118839 Bug ID: 118839 Summary: [OpenMP] Missing diagnostic when the variant is the same as the base name Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: acce

[Bug target/118835] New: [12/13/14/15 Regression] ICE in s390_valid_shift_count since r10-1731-ge2839e47894f0b

2025-02-11 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118835 Bug ID: 118835 Summary: [12/13/14/15 Regression] ICE in s390_valid_shift_count since r10-1731-ge2839e47894f0b Product: gcc Version: 15.0 Status: UNCONFIRMED Ke

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #8 from Jakub Jelinek --- Can stdarg functions (say void foo (int, ...); or for C23 void bar (...); too) be represented in C interop?

[Bug target/118835] [12/13/14/15 Regression] ICE in s390_valid_shift_count since r10-1731-ge2839e47894f0b

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118835 Richard Biener changed: What|Removed |Added Target||s390*-*-* Host|s390*-*-*

[Bug middle-end/79704] [meta-bug] Phoronix Test Suite compiler performance issues

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79704 Bug 79704 depends on bug 51017, which changed state. Bug 51017 Summary: [12/13/14/15 Regression] GCC performance regression (vs. 4.4/4.5), PRE/LIM increase register pressure too much https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51017

[Bug tree-optimization/51017] [12/13/14/15 Regression] GCC performance regression (vs. 4.4/4.5), PRE/LIM increase register pressure too much

2025-02-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51017 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|12.5

[Bug fortran/118831] C function with variables arguments called from fortran on ARM architecture

2025-02-11 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118831 --- Comment #12 from Thomas Koenig --- (In reply to jcldc13 from comment #10) > (In reply to Jakub Jelinek from comment #6) > > Note, it is wrong even on x86_64. For varargs functions, %rax needs to be > > number of floating point arguments in

[Bug sarif-replay/118792] Off-by-one in underlined ranges in sarif-replay

2025-02-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118792 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/118790] [15 Regression] ICE when building fiat (crash in loc_list_from_tree_1)

2025-02-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118790 --- Comment #24 from Jakub Jelinek --- So --- gcc/tree-ssa-live.cc.jj 2025-01-02 11:23:05.915664859 +0100 +++ gcc/tree-ssa-live.cc2025-02-11 14:44:33.940178150 +0100 @@ -369,9 +369,17 @@ mark_all_vars_used_1 (tree *tp, int *wal

[Bug c++/55578] Disabling warnings inside macro definition doesn't work

2025-02-11 Thread ferdnyc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578 --- Comment #15 from FeRD --- (In reply to Luca Bacci from comment #14) > Hello, I have the same issue with the C frontend: > > test-gcc.c: > -- > #define PRAGMA_FENV_ACCESS_ON \ > _Pragma ("GCC diagnostic push") \ >

[Bug go/118746] In go FE, __builtin_unreachable does not have the attribute cold - or any attribute, for that matter

2025-02-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118746 --- Comment #3 from GCC Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:4abac2ffdb071ca9337e4f31fa79cd38df1ac7c3 commit r15-7476-g4abac2ffdb071ca9337e4f31fa79cd38df1ac7c3 Author: Martin Jambor Date: T

  1   2   >