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

--- Comment #3 from Frank Scheiner <frank.scheiner at web dot de> ---
(In reply to Sam James from comment #2)
> Please try to minimise the command to reproduce as well with the
> preprocessed sources, and then consider using cvise or delta or ... to
> minimise the source code.

That will take some time. I also ran it with `-O1`, `-Os` and `-O0` which made
the compilation of the source file succeed. So a workaround is possible - at
least for that one file. Because when compiling this kernel version with 24
parallel jobs showed that this latest snapshot also fails on other files:

```
during GIMPLE pass: slp
fs/crypto/policy.c: In function 'fscrypt_supported_policy':
fs/crypto/policy.c:302:6: internal compiler error: in vect_get_operand_map, at
tree-vect-slp.cc:552
  302 | bool fscrypt_supported_policy(const union fscrypt_policy *policy_u,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~

during GIMPLE pass: vect
lib/zlib_deflate/deflate.c: In function 'fill_window':
lib/zlib_deflate/deflate.c:744:13: internal compiler error: in
vect_get_operand_map, at tree-vect-slp.cc:552
  744 | static void fill_window(
      |             ^~~~~~~~~~~

during GIMPLE pass: vect
block/partitions/efi.c: In function 'efi_partition':
block/partitions/efi.c:713:5: internal compiler error: in vect_get_operand_map,
at tree-vect-slp.cc:552
  713 | int efi_partition(struct parsed_partitions *state)
      |     ^~~~~~~~~~~~~

during GIMPLE pass: slp
io_uring/poll.c: In function 'io_poll_remove_prep':
io_uring/poll.c:920:5: internal compiler error: in vect_get_operand_map, at
tree-vect-slp.cc:552
  920 | int io_poll_remove_prep(struct io_kiocb *req, const struct io_uring_sqe
*sqe)
      |     ^~~~~~~~~~~~~~~~~~~

during GIMPLE pass: vect
security/integrity/ima/ima_template.c: In function 'template_desc_init_fields':
security/integrity/ima/ima_template.c:208:5: internal compiler error: in
vect_get_operand_map, at tree-vect-slp.cc:552
  208 | int template_desc_init_fields(const char *template_fmt,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~

during GIMPLE pass: vect
security/apparmor/policy_unpack.c: In function 'unpack_pdb':
security/apparmor/policy_unpack.c:708:12: internal compiler error: in
vect_get_operand_map, at tree-vect-slp.cc:552
  708 | static int unpack_pdb(struct aa_ext *e, struct aa_policydb **policy,
      |            ^~~~~~~~~~

during GIMPLE pass: vect
mm/vmstat.c: In function 'extfrag_show':
mm/vmstat.c:2300:12: internal compiler error: in vect_get_operand_map, at
tree-vect-slp.cc:552
 2300 | static int extfrag_show(struct seq_file *m, void *arg)
      |            ^~~~~~~~~~~~

during GIMPLE pass: vect
security/selinux/ss/services.c: In function 'security_compute_av':
security/selinux/ss/services.c:1094:6: internal compiler error: in
vect_get_operand_map, at tree-vect-slp.cc:552
 1094 | void security_compute_av(u32 ssid,
      |      ^~~~~~~~~~~~~~~~~~~
```

Reply via email to