------- Comment #3 from barbieri at gmail dot com  2005-11-18 18:36 -------
Created an attachment (id=10276)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10276&action=view)
gcc-lower_function_body.patch

Alternative patch that also fix seg fault, but earlier.

It's uglier than the previous, and is more restricted, since it just protect
the behaviour from gimple-low.c:lower_function_body(), while the previous patch
does the check for every use of annotate_with_file_line, used by
SET_EXPR_LOCATION.

I cannot know if this is a bug in the middle-end, since there is no
documentation on when I need to set this value. If so, probably we can use
gcc_assert() to confirm this?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24932

Reply via email to