Re: genattrtab error reporting

2014-05-12 Thread Jeff Law
On 05/12/14 01:15, Mike Stump wrote: 2014-05-07 Mike Stump * genattrtab.c (struct insn_def): Add filename. (convert_set_attr_alternative): Improve error message. (check_defs): Ensure read_md_filename is set appropriately. (gen_insn): Save read_md_filename. OK fo

Re: genattrtab error reporting

2014-05-12 Thread Mike Stump
Ping? On May 7, 2014, at 2:21 PM, Mike Stump wrote: > getattrtab looses track of which file the given rtl came from during error > reporting. A port that uses multiple .md files for the port will tend to > list the last .md file processed instead of the correct md file. We preserve > the fil

Re: genattrtab error reporting

2014-05-07 Thread Mike Stump
On May 7, 2014, at 6:12 PM, Segher Boessenkool wrote: >>> Does this fix >>> >>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31778 >> >> Only if it is applied to the tree! :-) Yes. > > It also is PR57062. Thanks for fixing it! Thanks, marked as dup.

Re: genattrtab error reporting

2014-05-07 Thread Segher Boessenkool
> > Does this fix > > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31778 > > Only if it is applied to the tree! :-) Yes. It also is PR57062. Thanks for fixing it! Segher

Re: genattrtab error reporting

2014-05-07 Thread Mike Stump
On May 7, 2014, at 5:22 PM, H.J. Lu wrote: > On Wed, May 7, 2014 at 2:21 PM, Mike Stump wrote: >> getattrtab looses track of which file the given rtl came from during error >> reporting. A port that uses multiple .md files for the port will tend to >> list the last .md file processed instead o

Re: genattrtab error reporting

2014-05-07 Thread H.J. Lu
On Wed, May 7, 2014 at 2:21 PM, Mike Stump wrote: > getattrtab looses track of which file the given rtl came from during error > reporting. A port that uses multiple .md files for the port will tend to > list the last .md file processed instead of the correct md file. We preserve > the filena