https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513
--- Comment #26 from Greg Chandler <chandleg at wizardsworks dot org> ---
root@bigbang:/tmp# /usr/libexec/gcc/alpha-linux-gnu/14.2.0/cc1 /tmp/1.c
__bswap_16 __bswap_32 __bswap_64 __uint16_identity __uint32_identity
__uint64_identity main
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> {heap 944k} <visibility> {heap 944k} <build_ssa_passes>
{heap 944k} <opt_local_passes> {heap 1136k} <remove_symbols> {heap 1136k}
<targetclone> {heap 1136k} <free-fnsummary> {heap 1136k}Streaming LTO
<whole-program> {heap 1136k} <fnsummary> {heap 1136k} <inline> {heap 1136k}
<modref> {heap 1136k} <free-fnsummary> {heap 1136k} <single-use> {heap 1136k}
<comdats> {heap 1136k}Assembling functions:
main
Time variable usr sys wall
GGC
phase setup : 0.05 ( 18%) 0.00 ( 7%) 0.06 ( 15%)
1447k ( 58%)
phase parsing : 0.22 ( 73%) 0.06 ( 87%) 0.29 ( 76%)
1017k ( 41%)
phase opt and generate : 0.02 ( 8%) 0.00 ( 7%) 0.03 ( 8%)
46k ( 2%)
callgraph ipa passes : 0.00 ( 1%) 0.00 ( 3%) 0.01 ( 2%)
3960 ( 0%)
preprocessing : 0.11 ( 35%) 0.02 ( 29%) 0.13 ( 34%)
422k ( 17%)
lexical analysis : 0.01 ( 3%) 0.02 ( 32%) 0.04 ( 9%)
0 ( 0%)
parser (global) : 0.08 ( 27%) 0.02 ( 24%) 0.09 ( 24%)
550k ( 22%)
parser struct body : 0.02 ( 7%) 0.00 ( 0%) 0.02 ( 6%)
35k ( 1%)
parser inl. func. body : 0.01 ( 2%) 0.00 ( 0%) 0.01 ( 2%)
7408 ( 0%)
initialize rtl : 0.01 ( 3%) 0.00 ( 0%) 0.01 ( 2%)
15k ( 1%)
TOTAL : 0.30 0.07 0.38
2510k
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --enable-checking=release to disable checks.
root@bigbang:/tmp# cat 1.s
.set noreorder
.set volatile
.set noat
.set nomacro
.arch ev4
.text
.align 2
.globl main
.ent main
$main..ng:
main:
.frame $15,16,$26,0
.mask 0x4008000,-16
$LFB6:
.cfi_startproc
lda $30,-16($30)
.cfi_def_cfa_offset 16
stq $26,0($30)
stq $15,8($30)
.cfi_offset 26, -16
.cfi_offset 15, -8
mov $30,$15
.cfi_def_cfa_register 15
.prologue 0
mov $31,$1
mov $1,$0
mov $15,$30
ldq $26,0($30)
ldq $15,8($30)
lda $30,16($30)
.cfi_restore 15
.cfi_restore 26
.cfi_def_cfa 30, 0
ret $31,($26),1
.cfi_endproc
$LFE6:
.end main
.ident "GCC: (GNU) 14.2.0"
.section .note.GNU-stack,"",@progbits