[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O since r15-4396-g72ae35bbc90fea

2024-11-22 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 Siddhesh Poyarekar changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O since r15-4396-g72ae35bbc90fea

2024-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #13 from GCC Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:684595188dea02d246edb66106d82bb7a9a22d79 commit r15-5597-g684595188dea02d246edb66106d82bb7a9a22d79 Author: Siddhesh Poyarekar

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O since r15-4396-g72ae35bbc90fea

2024-11-19 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #12 from Siddhesh Poyarekar --- Even smaller reproducer that actually shows what's going on: ``` typedef unsigned long size_t; #define STR "bbb" void gen_blr (void) { char line[256]; const char *p = STR

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O since r15-4396-g72ae35bbc90fea

2024-10-31 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 Siddhesh Poyarekar changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |siddhesh at gcc dot gnu.org

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O since r15-4396-g72ae35bbc90fea

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

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O since r15-4396-g72ae35bbc90fea

2024-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 Sam James changed: What|Removed |Added Summary|[15 regression] firebird|[15 regression] firebird

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O since r15-4396-g72ae35bbc90fea

2024-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Keywords|needs-bisection

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O

2024-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > (In reply to Andrew Pinski from comment #6) > > Most likely r15-4414-g51b85dfeb19652 > > Or r15-4396-g72ae35bbc90fea . 100% this one. Tested the revision befor

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O

2024-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #8 from Andrew Pinski --- Created attachment 59495 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59495&action=edit C/C++ code

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O

2024-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Most likely r15-4414-g51b85dfeb19652 Or r15-4396-g72ae35bbc90fea .

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O

2024-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #6 from Andrew Pinski --- Most likely r15-4414-g51b85dfeb19652

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference at -O

2024-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #5 from Andrew Pinski --- It worked in July (20240727).

[Bug middle-end/117355] [15 regression] firebird miscompiled

2024-10-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug middle-end/117355] [15 regression] firebird miscompiled due to __builtin_dynamic_object_size difference

2024-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #4 from Sam James --- Created attachment 59494 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59494&action=edit larger.cxx Attached the larger original function without branches pruned. I'll bisect.

[Bug middle-end/117355] [15 regression] firebird miscompiled

2024-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #3 from Sam James --- --- a/foo.cxx.034t.early_objsz +++ b/foo.cxx.034t.early_objsz @@ -19,14 +19,14 @@ char * strncpy (char * restrict __dest, const char * restrict __src, size_t __le -;; Function gen_blr (_ZL7gen_blrPKc, funcdef

[Bug middle-end/117355] [15 regression] firebird miscompiled

2024-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #2 from Sam James --- It's fine in C...

[Bug middle-end/117355] [15 regression] firebird miscompiled

2024-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117355 --- Comment #1 from Sam James --- $ gcc-14 foo.cxx -Og -ggdb3 -o /tmp/a && /tmp/a # nothing $ gcc-15 foo.cxx -Og -ggdb3 -o /tmp/a && /tmp/a In file included from /usr/include/string.h:548, from /usr/lib/gcc/x86_64-pc-linux-gnu/