Re: why no shortcut operation for comparion on _Complex operands

2012-03-27 Thread Richard Guenther
On Tue, Mar 27, 2012 at 8:01 AM, Bin.Cheng wrote: > On Mon, Mar 26, 2012 at 3:27 PM, Richard Guenther > wrote: >> On Sun, Mar 25, 2012 at 2:42 PM, Bin.Cheng wrote: >>> Hi, >>> In tree-complex.c's function expand_complex_comparison, gcc just >>> expand comparison on complex >>> operands into comp

Re: why no shortcut operation for comparion on _Complex operands

2012-03-26 Thread Bin.Cheng
On Mon, Mar 26, 2012 at 3:27 PM, Richard Guenther wrote: > On Sun, Mar 25, 2012 at 2:42 PM, Bin.Cheng wrote: >> Hi, >> In tree-complex.c's function expand_complex_comparison, gcc just >> expand comparison on complex >> operands into comparisons on inner type, like: >> >>  D.5375_17 = REALPART_EXP

Re: why no shortcut operation for comparion on _Complex operands

2012-03-26 Thread Richard Guenther
On Sun, Mar 25, 2012 at 2:42 PM, Bin.Cheng wrote: > Hi, > In tree-complex.c's function expand_complex_comparison, gcc just > expand comparison on complex > operands into comparisons on inner type, like: > >  D.5375_17 = REALPART_EXPR ; >  D.5376_18 = IMAGPART_EXPR ; >  g2.1_5 = COMPLEX_EXPR ; >  D