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]

[PATCH] Fix PR 17925, gotos locations do get locations on RTL


The problem here is that we don't emit line notes for the locus for goto
expressions in conditional expression.  This patch fixes the problem and
fixes the gocv regressions.

OK? Bootstrapped and tested on powerpc-darwin with no regressions.


Thanks, Andrew Pinski

ChangeLog:
	* cfgexpand.c (expand_gimple_cond_expr): Emit line notes for next basic
	block if there is a goto with a locus.

Attachment: temp.diff.txt
Description: Text document


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