public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/112818] New: [14 regression] ICE when building accel-ppp (error: conversion of register to a different size in ‘view_convert_expr’, verify_gimple failed)
@ 2023-12-01 22:32 sjames at gcc dot gnu.org
  2023-12-01 22:40 ` [Bug tree-optimization/112818] " pinskia at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-12-01 22:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112818
           Summary: [14 regression] ICE when building accel-ppp (error:
                    conversion of register to a different size in
                    ‘view_convert_expr’, verify_gimple failed)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

Created attachment 56762
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56762&action=edit
pppoe.c.i

Initially reported downstream in Gentoo by Toralf Förster at
https://bugs.gentoo.org/918991.

```
[...]
/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-pppd/ctrl/pppoe/pppoe.c:
In function ‘add_tag.constprop.isra’:
/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-pppd/ctrl/pppoe/pppoe.c:736:12:
error: conversion of register to a different size in ‘view_convert_expr’
  736 | static int add_tag(uint8_t *pack, size_t pack_size, int type, const
void *data, int len)
      |            ^~~~~~~
VIEW_CONVERT_EXPR<vector(2) short unsigned int>(_10);

_48 = VIEW_CONVERT_EXPR<vector(2) short unsigned int>(_10);
during GIMPLE pass: slp
/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-pppd/ctrl/pppoe/pppoe.c:736:12:
internal compiler error: verify_gimple failed
0x55e876bf0bf1 verify_gimple_in_cfg(function*, bool, bool)
       
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-cfg.cc:5662
0x55e87813950c execute_function_todo
       
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/passes.cc:2088
0x55e87813950c do_per_function
       
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/passes.cc:1687
0x55e87813950c execute_todo
       
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/passes.cc:2142
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
```

I can reproduce with 'gcc -c pppoe.c.i -O2 -march=znver2'.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-12-04 13:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-01 22:32 [Bug tree-optimization/112818] New: [14 regression] ICE when building accel-ppp (error: conversion of register to a different size in ‘view_convert_expr’, verify_gimple failed) sjames at gcc dot gnu.org
2023-12-01 22:40 ` [Bug tree-optimization/112818] " pinskia at gcc dot gnu.org
2023-12-01 22:54 ` pinskia at gcc dot gnu.org
2023-12-01 23:06 ` pinskia at gcc dot gnu.org
2023-12-01 23:06 ` pinskia at gcc dot gnu.org
2023-12-02  1:02 ` sjames at gcc dot gnu.org
2023-12-04  6:53 ` rguenth at gcc dot gnu.org
2023-12-04  7:03 ` sjames at gcc dot gnu.org
2023-12-04  8:40 ` [Bug tree-optimization/112818] [14 regression] ICE when building accel-ppp (error: conversion of register to a different size in ‘view_convert_expr’, verify_gimple failed) since r14-5068-g88aca917eb705b sjames at gcc dot gnu.org
2023-12-04 11:48 ` rguenth at gcc dot gnu.org
2023-12-04 13:26 ` cvs-commit at gcc dot gnu.org
2023-12-04 13:27 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).