[Bug tree-optimization/112493] [11/12/13/14 Regression] ICE in verify_sra_access_forest with scalar_storage_order

2024-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112493

Andrew Pinski  changed:

   What|Removed |Added

   Keywords|needs-bisection |

--- Comment #3 from Andrew Pinski  ---
  gcc_assert (reverse == access->reverse);

Oh the verification was added with r10-6320-g5b9e89c922dc2e . So there is no
reason to do a bisect either. Lucky this is with checking enabled so most folks
are not running into this.

[Bug tree-optimization/112493] [11/12/13/14 Regression] ICE in verify_sra_access_forest with scalar_storage_order

2023-11-13 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112493

--- Comment #2 from Eric Botcazou  ---
Of course the compiler should not ICE, but the code will not work as intended
in  any case, see the warning issued by the compiler about the unsupported type
punning.  If you want to byte-swap data, use the __builtin_bswapnn functions.

[Bug tree-optimization/112493] [11/12/13/14 Regression] ICE in verify_sra_access_forest with scalar_storage_order

2023-11-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112493

Richard Biener  changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu.org,
   ||jamborm at gcc dot gnu.org
   Priority|P3  |P2

[Bug tree-optimization/112493] [11/12/13/14 Regression] ICE in verify_sra_access_forest with scalar_storage_order

2023-11-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112493

Andrew Pinski  changed:

   What|Removed |Added

  Component|c   |tree-optimization
   Keywords||ice-on-valid-code,
   ||needs-bisection
Summary|GCC: 14: internal compiler  |[11/12/13/14 Regression]
   |error: in   |ICE in
   |verify_sra_access_forest,   |verify_sra_access_forest
   |at tree-sra.cc:2421 |with scalar_storage_order
   Last reconfirmed||2023-11-12
  Known to fail||10.1.0, 12.1.0
   Target Milestone|--- |11.5
  Known to work||9.5.0
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski  ---
Confirmed.