Bug 96136 - [11 regression] ICE in reduce_to_bit_field_precision
Summary: [11 regression] ICE in reduce_to_bit_field_precision
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 11.0
: P3 normal
Target Milestone: 11.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-09 15:20 UTC by Christophe Lyon
Modified: 2020-07-12 08:05 UTC (History)
2 users (show)

See Also:
Host:
Target: arm-linux-gnueabihf
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Lyon 2020-07-09 15:20:54 UTC
Hi,

Since r11-1914-g760df6d296b8fc59796f42dca5eb14012fbfa28b, I've noticed an ICE while building glibc-2.29 when GCC is configured --target arm-none-linux-gnueabihf  --with-cpu cortex-a15 --with-mode thumb --with-fpu neon-vfpv4

$ arm-none-linux-gnueabihf-gcc -c -O2 iso646.i
during RTL pass: expand
In file included from iso646.c:901:
../iconv/skeleton.c: In function 'gconv':
../iconv/skeleton.c:390:1: internal compiler error: in reduce_to_bit_field_precision, at expr.c:11530
  390 | FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
      | ^~~~~
0x92fdc3 reduce_to_bit_field_precision
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/expr.c:11530
0x9397b9 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier)
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/expr.c:9276
0x9254c0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool)
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/expr.c:10152
0x92fbbe expand_expr
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/expr.h:282
0x92fbbe expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**, rtx_def**, expand_modifier)
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/expr.c:8065
0x939972 expand_cond_expr_using_cmove
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/expr.c:8519
0x939972 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier)
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/expr.c:9869
0x7ead60 expand_gimple_stmt_1
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/cfgexpand.c:3787
0x7ead60 expand_gimple_stmt
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/cfgexpand.c:3847
0x7f20cb expand_gimple_basic_block
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/cfgexpand.c:5888
0x7f47bb execute
        /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/gcc/cfgexpand.c:6572
Comment 1 David Binderman 2020-07-11 16:43:19 UTC
I am also seeing this on an O3 bootstrap on Raspberry Pi 3+.
Comment 2 Christophe Lyon 2020-07-12 08:05:43 UTC
This was fixed by the fix for PR96151, thanks.