[Bug c++/115358] template argument deduction/substitution failed on lambda function

2024-06-05 Thread dongkyun.s at samsung dot com via Gcc-bugs
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.

[Bug c++/115358] template argument deduction/substitution failed on lambda function

2024-06-05 Thread dongkyun.s at samsung dot com via Gcc-bugs
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

[Bug c++/115358] New: template argument deduction/substitution failed on lambda function

2024-06-05 Thread dongkyun.s at samsung dot com via Gcc-bugs
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

[Bug c++/115357] New: template argument deduction/substitution failed on lambda function

2024-06-05 Thread dongkyun.s at samsung dot com via Gcc-bugs
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

[Bug lto/91252] [Bug] When use -flto "weak symbol" are converted to "t".

2019-07-25 Thread dongkyun.s at samsung dot com
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

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-09-05 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 dongkyun.s at samsung dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-22 Thread dongkyun.s at samsung dot com
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

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-21 Thread dongkyun.s at samsung dot com
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

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-21 Thread dongkyun.s at samsung dot com
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 :)

[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9

2017-08-20 Thread dongkyun.s at samsung dot com
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

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907 dongkyun.s at samsung dot com changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
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

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
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

[Bug target/81907] undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
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

[Bug middle-end/81907] New: undefined reference to `memset'

2017-08-20 Thread dongkyun.s at samsung dot com
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

[Bug c/66777] faggressive-loop-optimizations behavior.

2015-07-07 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66777 dongkyun.s at samsung dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c/66777] New: faggressive-loop-optimizations behavior.

2015-07-06 Thread dongkyun.s at samsung dot com
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