https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
--- Comment #11 from Daniel Zaoui ---
I checked on GCC 5.2.0 and 10.2 (RISC-V toolchain) and it doesn't happen.
I didn't understand what is the conclusion for the duplicate tickets. In
107415, it seems to be an expected behavior. Although I don
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
--- Comment #9 from Daniel Zaoui ---
(In reply to Andrew Pinski from comment #8)
> There is a dup of this bug already filed. And a related bug when defining
> "memcpy" too.
>
> C is special.
Do you have any bug ID? I searched before opening th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
--- Comment #7 from Daniel Zaoui ---
With the -fno-builtin option, the assembly is correct and the program behaves
as expected.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
--- Comment #6 from Daniel Zaoui ---
Created attachment 54430
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54430&action=edit
Assembly file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
--- Comment #5 from Daniel Zaoui ---
Created attachment 54429
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54429&action=edit
Preprocessed file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
Daniel Zaoui changed:
What|Removed |Added
Attachment #54428|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
Daniel Zaoui changed:
What|Removed |Added
Attachment #54427|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
--- Comment #2 from Daniel Zaoui ---
Created attachment 54428
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54428&action=edit
Assembly file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
--- Comment #1 from Daniel Zaoui ---
Created attachment 54427
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54427&action=edit
Preprocessed file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108715
Bug ID: 108715
Summary: Infinite loop in the generated assembly with -Os when
strlen is defined in the code
Product: gcc
Version: 12.2.1
Status: UNCONFIRMED
Se
10 matches
Mail list logo