[Bug c/89408] No constant folding when dereferencing string literals

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 --- Comment #10 from Andrew Pinski --- *** Bug 106988 has been marked as a duplicate of this bug. ***

[Bug c/89408] No constant folding when dereferencing string literals

2024-08-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Andrew Pinski changed: What|Removed |Added CC||rasmus.tempcache at gmail dot com --- C

[Bug c/89408] No constant folding when dereferencing string literals

2022-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Andrew Pinski changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #8

[Bug c/89408] No constant folding when dereferencing string literals

2022-02-24 Thread srk31 at srcf dot ucam.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 --- Comment #7 from Stephen Kell --- Thanks for the backstory. I understand that 'accept as much as possible' isn't the goal, nor would it be wise. The pedwarn message you quoted, which explicitly makes reference to integer constant expressions,

[Bug c/89408] No constant folding when dereferencing string literals

2022-02-23 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 --- Comment #6 from joseph at codesourcery dot com --- Case labels are required to be integer constant expressions. In most cases where an integer constant expression is required, something that isn't an integer constant expression but folds t

[Bug c/89408] No constant folding when dereferencing string literals

2022-02-23 Thread srk31 at srcf dot ucam.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Stephen Kell changed: What|Removed |Added CC||srk31 at srcf dot ucam.org --- Comment #5

[Bug c/89408] No constant folding when dereferencing string literals

2019-11-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Andrew Pinski changed: What|Removed |Added CC||SztfG at yandex dot ru --- Comment #4 fr

[Bug c/89408] No constant folding when dereferencing string literals

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c/89408] No constant folding when dereferencing string literals

2019-02-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/89408] No constant folding when dereferencing string literals

2019-02-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408 --- Comment #1 from Andrew Pinski --- See PR 44094.