This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix segfault in rtl_for_decl_location


Jakub Jelinek wrote:

Hi!

The attached testcase causes segfault in rtl_for_decl_location
on x86_64-redhat-linux with -O{2,3} -g.
The bug was introduced by the PR debug/15860 patch, before that
DECL_INCOMING_RTL just caused rtl to not be set (i.e. left
NULL or is_pseudo_reg ()) and later code dealt with that.

The following patch fixes that, ok to commit to HEAD/3.4?


OK.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]