PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / c-c++-common / Wmisleading-indentation-2.md
blob44bc13adf9df62926893d266ed1a8f322841f970
1 ;; Support file for testcase Wmisleading-indentation.c
2 ;; Adapted from gcc/config/i386/i386.md
3 (define_attr "cpu" "none,pentium,pentiumpro,geode,k6,athlon,k8,core2,nehalem,
4                     atom,slm,generic,amdfam10,bdver1,bdver2,bdver3,bdver4,
5                     btver2,knl"
6   (const (symbol_ref "ix86_schedule")))
8 ;; A basic instruction type.  Refinements due to arguments to be
9 ;; provided in other attributes.
10 (define_attr "type"
11   "other,multi,
12    alu,alu1,negnot,imov,imovx,lea,
13    incdec,ishift,ishiftx,ishift1,rotate,rotatex,rotate1,
14    imul,imulx,idiv,icmp,test,ibr,setcc,icmov,
15    push,pop,call,callv,leave,
16    str,bitmanip,
17    fmov,fop,fsgn,fmul,fdiv,fpspc,fcmov,fcmp,
18    fxch,fistp,fisttp,frndint,
19    sse,ssemov,sseadd,sseadd1,sseiadd,sseiadd1,
20    ssemul,sseimul,ssediv,sselog,sselog1,
21    sseishft,sseishft1,ssecmp,ssecomi,
22    ssecvt,ssecvt1,sseicvt,sseins,
23    sseshuf,sseshuf1,ssemuladd,sse4arg,
24    lwp,mskmov,msklog,
25    mmx,mmxmov,mmxadd,mmxmul,mmxcmp,mmxcvt,mmxshft,
26    mpxmov,mpxmk,mpxchk,mpxld,mpxst"
27   (const_string "other"))
29 ;; Main data type used by the insn
30 (define_attr "mode"
31   "unknown,none,QI,HI,SI,DI,TI,OI,XI,SF,DF,XF,TF,V16SF,V8SF,V4DF,V4SF,
32   V2DF,V2SF,V1DF,V8DF"
33   (const_string "unknown"))
35 ;; The CPU unit operations uses.
36 (define_attr "unit" "integer,i387,sse,mmx,unknown"
37   (cond [(eq_attr "type" "fmov,fop,fsgn,fmul,fdiv,fpspc,fcmov,fcmp,
38                           fxch,fistp,fisttp,frndint")
39            (const_string "i387")
40          (eq_attr "type" "sse,ssemov,sseadd,sseadd1,sseiadd,sseiadd1,
41                           ssemul,sseimul,ssediv,sselog,sselog1,
42                           sseishft,sseishft1,ssecmp,ssecomi,
43                           ssecvt,ssecvt1,sseicvt,sseins,
44                           sseshuf,sseshuf1,ssemuladd,sse4arg,mskmov")
45            (const_string "sse")
46          (const_string "integer")))