https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111279
Mikael Pettersson <mikpelinux at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpelinux at gmail dot com --- Comment #4 from Mikael Pettersson <mikpelinux at gmail dot com> --- (In reply to Thorsten Otto from comment #3) > Created attachment 55837 [details] > Avoid segmentation fault when calling assign_temp with a NULL type pointer > > Attached is a potential patch to fix that. > > The above mentioned commit was made for gcc 4.3, and all compiler versions > after that are affected by it. This patch also fixes PR82420. That PR contains a tidied up patch with a test case and proper attribution to your original. Will you submit your patch or should I submit mine?