[PATCH] read-rtl.c: split out read_rtx_operand from read_rtx_code

2016-09-23 Thread David Malcolm
This patch moves the body of the RTL operand-parsing loop (about 180 lines of code) from read_rtx_code out into a new function (read_rtx_operand). Hopefully this is a reasonable cleanup in itself, but it's also useful for the RTL frontend I'm working on. Successfully bootstrapped®rtested on x86_6

Re: [PR63238] output alignment debug information

2016-09-23 Thread Alexandre Oliva
On Aug 27, 2016, Alexandre Oliva wrote: > Output DWARFv5+ DW_AT_alignment for non-default alignment of > variables, fields and types. > Regstrapped on x86_64-linux-gnu and i686-linux-gnu. Ok to install? Ping? https://gcc.gnu.org/ml/gcc-patches/2016-08/msg01911.html -- Alexandre Oliva, freed

Re: [PR56974] output DWARF-5 markers for ref_qualifiers

2016-09-23 Thread Alexandre Oliva
On Aug 12, 2016, Alexandre Oliva wrote: > When a method or a method or function type has a ref-qualifier, output > DW_AT_reference or DW_AT_rvalue_reference in the subprogram or > subroutine_type tag, as specified in DWARF version 5 drafts, see >

Re: [PR59319] output friends in debug info

2016-09-23 Thread Alexandre Oliva
On Aug 30, 2016, Alexandre Oliva wrote: > Handling non-template friends is kind of easy, but it required a bit > of infrastructure in dwarf2out to avoid (i) forcing debug info for > unused types or functions: DW_TAG_friend DIEs are only emitted if > their DW_AT_friend DIE is emitted, and (ii) cre

Re: Report DejaGnu ERROR messages in dg-extract-results

2016-09-23 Thread Christophe Lyon
On 23 September 2016 at 13:37, Rainer Orth wrote: > Hi Christophe, > >> We recently faced a problem where a DejaGnu error went un-noticed >> (https://gcc.gnu.org/ml/gcc-patches/2016-08/msg01879.html). > > I just noticed that your patch contained an unrelated and bogus change, > reverted as follow

Re: ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu

2016-09-23 Thread kugan
Hi Richard, There is also one more issue as reported by Pat Haugen. That is, in converting value_range of ssa (which we get from get_range_info) to argument type, my implementation is too simplistic and wrong at times. I can check TYPE_UNSIGNED here but that would be pessimistic. tree-vrp a

[PATCH/AARCH64] Have the verbose cost model output output be controllable

2016-09-23 Thread Andrew Pinski
Hi, As reported in PR 61367, the aarch64 back-end is too verbose when it is dealing with the cost model. I tend to agree, no other back-end is this verbose. So I decided to add an option to enable this verbose output if requested. I did NOT document it in invoke.texi because I don't feel like

<    1   2