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] PR/23625



Devang Patel <dpatel@apple.com> writes:


Tree level if-conversion uses bsi_after_labels(). It barfs when it
sees a basic block where label is not the first statement. Offline,
Dan Berlin confirmed such restrictions, on basic blocks, are not
applicable now. So fix is easy, remove the assertion. Dan Berlin even
sent this patchlet to me. I bootstrapped and tested it on powerpc-
darwin. It is part of my source since last couple of weeks, but
somehow I forgot to sent it.

* tree-flow-inline.h (bsi_after_labels): Remove, first statement is
LABEL_EXPR, assertion check.


* gcc.dg/PR23625.c: New

OK?


Oops...


Attachment: PR23625.diff
Description: Binary data


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