[Bug middle-end/106314] GTY fails on virtual int but not virtual void

2022-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106314 --- Comment #5 from Richard Biener --- (In reply to Aldy Hernandez from comment #4) > (In reply to Richard Biener from comment #3) > > GC only supports POD-like data structures, esp. proper inheritance is not > > supported so supporting virtual

[Bug middle-end/106314] GTY fails on virtual int but not virtual void

2022-07-18 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106314 --- Comment #4 from Aldy Hernandez --- (In reply to Richard Biener from comment #3) > GC only supports POD-like data structures, esp. proper inheritance is not > supported so supporting virtual functions looks useless. Hmmm, in that case I'll r

[Bug middle-end/106314] GTY fails on virtual int but not virtual void

2022-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106314 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug middle-end/106314] GTY fails on virtual int but not virtual void

2022-07-15 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106314 --- Comment #2 from Aldy Hernandez --- The upcoming floating point ranges (frange) are small enough (one or two words) that I thought we could get away with streaming them as is to GC for global ranges (SSA_NAME_RANGE_INFO). We have a mechanism

[Bug middle-end/106314] GTY fails on virtual int but not virtual void

2022-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106314 --- Comment #1 from Andrew Pinski --- Why do you need these structures to be in GC memory anyways?