https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116627

            Bug ID: 116627
           Summary: armv6l: ICE in kernel's net/ipv4/ipmr.c
           Product: gcc
           Version: 14.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jirislaby at gmail dot com
  Target Milestone: ---

With SUSE's:
 > Name        : cross-arm-none-gcc14-bootstrap
> Version     : 14.2.0+git10526
> Release     : 150300.28.1
> Architecture: x86_64
> Install Date: Pá 6. září 2024, 07:06:43
> Group       : Development/Languages/C and C++
> Size        : 462846716
> License     : GPL-3.0-or-later
> Signature   : DSA/SHA1, Čt 22. srpna 2024, 13:04:12, Key ID 927f5cc86300dadb
> Source RPM  : 
> cross-arm-none-gcc14-bootstrap-14.2.0+git10526-150300.28.1.src.rpm
> Build Date  : Čt 22. srpna 2024, 13:03:25
> Build Host  : i01-ch1b
> Relocations : (not relocatable)
> Vendor      : obs://build.opensuse.org/devel:gcc
> URL         : https://gcc.gnu.org/
> Summary     : The GNU Compiler Collection targeting arm-none
> Description :
> The GNU Compiler Collection as a cross-compiler targeting arm-none.
> 
> 
> 
> 
> 
> This is a package that is necessary for bootstrapping another package
> only, it is not intended for any other use.
> Distribution: devel:gcc / SLE-15

I see:

> arm-none-eabi-gcc-14 -Wp,-MMD,net/ipv4/.ipmr.o.d  -nostdinc 
> -I./arch/arm/include -I./arch/arm/include/generated  -I./include 
> -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi 
> -I./include/uapi -I./include/generated/uapi -include 
> ./include/linux/compiler-version.h -include ./include/linux/kconfig.h 
> -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian 
> -D__LINUX_ARM_ARCH__=6 -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar 
> -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -fno-dwarf2-cfi-asm 
> -mno-fdpic -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm 
> -Wa,-mno-warn-deprecated -march=armv6k -mtune=arm1136j-s -msoft-float -Uarm 
> -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races 
> -fstack-protector-strong -fno-stack-clash-protection -pg 
> -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack 
> -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int 
> -Werror=return-type -Werror=strict-prototypes -Wno-format-security 
> -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member 
> -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 
> -Wno-main -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type 
> -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than 
> -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types 
> -Werror=designated-init -Wenum-conversion -Wextra -Wunused 
> -Wno-unused-but-set-variable -Wno-unused-const-variable 
> -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation 
> -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers 
> -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized 
> -Wno-sign-compare -Wno-unused-parameter -g -gdwarf-5    
> -DKBUILD_MODFILE='"net/ipv4/ipmr"' -DKBUILD_BASENAME='"ipmr"' 
> -DKBUILD_MODNAME='"ipmr"' -D__KBUILD_MODNAME=kmod_ipmr -c -o net/ipv4/ipmr.o 
> ipmr.i
> during RTL pass: vartrack
> net/ipv4/ipmr.c: In function 'ipmr_cache_report':
> net/ipv4/ipmr.c:1098:1: internal compiler error: Segmentation fault
>  1098 | }
>       | ^
> 0xa2090f crash_signal
>         ../../gcc/toplev.cc:319
> 0x7fced5e5797f ???
>         
> /usr/src/debug/glibc-2.38-150600.14.5.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
> 0x5c8594 canonical_cselib_val(cselib_val*)
>         ../../gcc/cselib.h:121
> 0x5c8594 rtx_equal_for_cselib_1(rtx_def*, rtx_def*, machine_mode, int)
>         ../../gcc/cselib.cc:963
> 0x5c89e9 rtx_equal_for_cselib_1(rtx_def*, rtx_def*, machine_mode, int)
>         ../../gcc/cselib.cc:1146
> 0x5cc068 cselib_hasher::equal(cselib_val const*, cselib_hasher::key const*)
>         ../../gcc/cselib.cc:167
> 0x5cc068 hash_table<cselib_hasher, false, 
> xcallocator>::find_slot_with_hash(cselib_hasher::key* const&, unsigned int, 
> insert_option)
>         ../../gcc/hash-table.h:1077
> 0x5c6152 cselib_find_slot
>         ../../gcc/cselib.cc:627
> 0x5c68fa cselib_lookup_1
>         ../../gcc/cselib.cc:2395
> 0x5c68fa cselib_lookup(rtx_def*, machine_mode, int, machine_mode)
>         ../../gcc/cselib.cc:2446
> 0x5ca01e cselib_add_permanent_equiv(cselib_val*, rtx_def*, rtx_insn*)
>         ../../gcc/cselib.cc:2753
> 0xd1ae4a reverse_op
>         ../../gcc/var-tracking.cc:5939
> 0xd1ae4a add_stores
>         ../../gcc/var-tracking.cc:6217
> 0xd16f68 add_with_sets
>         ../../gcc/var-tracking.cc:6640
> 0x5ca7f6 cselib_record_sets
>         ../../gcc/cselib.cc:3012
> 0x5cb7b5 cselib_process_insn(rtx_insn*)
>         ../../gcc/cselib.cc:3174
> 0xd24a63 vt_initialize
>         ../../gcc/var-tracking.cc:10290
> 0xd2a53a variable_tracking_main_1
>         ../../gcc/var-tracking.cc:10518
> 0xd2a53a variable_tracking_main()
>         ../../gcc/var-tracking.cc:10571
> 0xd2a53a execute
>         ../../gcc/var-tracking.cc:10608

Reply via email to