https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358
--- Comment #2 from dongkyun.s at samsung dot com ---
This might be related with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106649
applied on GCC-13 but latest clang can build this example though.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358
--- Comment #1 from dongkyun.s at samsung dot com ---
Created attachment 58356
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58356&action=edit
example code
example code
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dongkyun.s at samsung dot com
Target Milestone: ---
Hello
Noticed compilation failed with https://godbolt.org/z/8s78YPWs3 example code
starting from GCC-13.
: In lambda function
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dongkyun.s at samsung dot com
Target Milestone: ---
Hello
Noticed compilation failed with https://godbolt.org/z/8s78YPWs3 example code
starting from GCC-13.
: In lambda function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91252
dongkyun.s at samsung dot com changed:
What|Removed |Added
CC||dongkyun.s at samsung dot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
dongkyun.s at samsung dot com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #15 from dongkyun.s at samsung dot com ---
> There's nothing in the compiler that explicitly says: use memset for these
> cores and not for others. The choice will be down to available instructions
> and their
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #13 from dongkyun.s at samsung dot com ---
> Confirmed the call on 6.4.1 but GCC 7 and trunk don't generate the call for
> -mcpu=cortex-a9 .
I also verified memset call is not generated with GCC 7.1 + "-mcpu=cor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #11 from dongkyun.s at samsung dot com ---
Dear pins...@gcc.gnu.org,
Thanks for correcting title to "memset called when it does not need to be;
-mtune=cortex-a9" along with the comment :)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #9 from dongkyun.s at samsung dot com ---
> or you mean this should be optimized not to use memset; different question
> from what your summary is about.
I mean -ffreestanding or -fno-freestanding are not included in this te
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
dongkyun.s at samsung dot com changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #6 from dongkyun.s at samsung dot com ---
Created attachment 42017
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42017&action=edit
obj made by '-Os -mtune=cortex-a12'
./gcc-linaro-6.3.1-2017.02-x86_64_arm-linu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
dongkyun.s at samsung dot com changed:
What|Removed |Added
Attachment #42014|0 |1
is obsolete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
--- Comment #4 from dongkyun.s at samsung dot com ---
Created attachment 42014
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42014&action=edit
memset_test_cortex-a9.o (made by '-Os -mtune=cortex-a12')
./gcc-linaro-6.3.1-2
e-end
Assignee: unassigned at gcc dot gnu.org
Reporter: dongkyun.s at samsung dot com
Target Milestone: ---
Created attachment 42013
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42013&action=edit
memset_test
Compiling the attached source without memset trivial im
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66777
dongkyun.s at samsung dot com changed:
What|Removed |Added
Status|NEW |RESOLVED
Assignee: unassigned at gcc dot gnu.org
Reporter: dongkyun.s at samsung dot com
Target Milestone: ---
The following program seems to have optimized with -O2
(-faggressive-loop-optimizations).
#include
int main(void)
{
int a[5];
int i;
for (i = 0; a[i
17 matches
Mail list logo