[Bug c/104693] New: Can't disable "comparison between pointer and integer"

2022-02-25 Thread charles.nicholson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104693 Bug ID: 104693 Summary: Can't disable "comparison between pointer and integer" Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c/104693] Can't disable "comparison between pointer and integer"

2022-02-25 Thread charles.nicholson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104693 --- Comment #1 from Charles Nicholson --- Oh, also, this warning appears to go all the way back to gcc 4.1.2, the earliest that godbolt still supports.

[Bug tree-optimization/104344] New: Suboptimal -Os code for manually unrolled loop

2022-02-02 Thread charles.nicholson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344 Bug ID: 104344 Summary: Suboptimal -Os code for manually unrolled loop Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug tree-optimization/104344] Suboptimal -Os code for manually unrolled loop

2022-02-02 Thread charles.nicholson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104344 --- Comment #2 from Charles Nicholson --- For whatever it's worth, clang does recognize both forms and emit optimal assembly at -Os: https://gcc.godbolt.org/z/sehxYb97E cast_through_char_unrolled: # @cast_through_char_unrolled movd eax, xmm0