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] |
On Fri, Jul 22, 2016 at 12:39 PM, Richard Biener <richard.guenther@gmail.com> wrote: > On Thu, Jul 21, 2016 at 6:48 PM, Bin Cheng <Bin.Cheng@arm.com> wrote: >> Hi, >> Previous patch removed warning message on loops whose counter might overflow, while this patch adds it back. Reason is it's always good to have a warning message indicating missed loop optimizations. Also warning message itself is slightly changed. >> There will be following patch which removes -funsafe-loop-optimizations. >> >> Bootstrap and test on x86_64. Is it OK? > > Please do not use 'input_location'. You never should check > LOCATION_LINE either but > just for loc != UNKNOWN_LOCATION. Note that simply passing > gimple_location should > work and fall back to sth sensible for UNKNOWN_LOCATION. > > Ok with that change, Thanks for reviewing, attachment is the updated patch. Thanks, bin > Richard. >
Attachment:
warn-loop-optimizations-20160721.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |