[Bug c++/120392] GCC Segmentation Fault Cross Compiling C++ Source

2025-05-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120392

--- Comment #7 from Andrew Pinski  ---
Created attachment 61491
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61491&action=edit
Reduced

ICEs at -O2+.

[Bug c++/120392] GCC Segmentation Fault Cross Compiling C++ Source

2025-05-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120392

--- Comment #6 from Andrew Pinski  ---
Can reproduced on the trunk with x86_64-linux-gnu and -m32 -Os.

[Bug c++/120392] GCC Segmentation Fault Cross Compiling C++ Source

2025-05-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120392

--- Comment #3 from Sam James  ---
Wait, you're reporting this for GCC 9.3.0? Anything under 12 is EOL.

[Bug c++/120392] GCC Segmentation Fault Cross Compiling C++ Source

2025-05-21 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120392

--- Comment #2 from [email protected] ---
Created attachment 61490
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61490&action=edit
Preprocessed source for component

Forgot to attach

[Bug c++/120392] GCC Segmentation Fault Cross Compiling C++ Source

2025-05-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120392

--- Comment #1 from Sam James  ---
(In reply to admin from comment #0)
> Command triggering issue (as invoked by make):
> [...]

Please run this with -save-temps appened, then upload camerabuffer.ii (or
.cpp.ii). This is the preprocessed source mentioned at
https://gcc.gnu.org/bugs/#need.