Ticket #29154: i386_static.diff
File i386_static.diff, 1.4 KB (added by howarth@…, 14 years ago) |
---|
-
gcc/config/i386/i386.c
old new 4991 4991 case, we return the original mode and warn ABI change if CUM isn't 4992 4992 NULL. */ 4993 4993 4994 static enum machine_mode 4994 enum machine_mode type_natural_mode (const_tree, CUMULATIVE_ARGS *); 4995 enum machine_mode 4995 4996 type_natural_mode (const_tree type, CUMULATIVE_ARGS *cum) 4996 4997 { 4997 4998 enum machine_mode mode = TYPE_MODE (type); … … 5122 5123 See the x86-64 PS ABI for details. 5123 5124 */ 5124 5125 5125 static int 5126 int classify_argument (enum machine_mode, const_tree, 5127 enum x86_64_reg_class [MAX_CLASSES], int); 5128 int 5126 5129 classify_argument (enum machine_mode mode, const_tree type, 5127 5130 enum x86_64_reg_class classes[MAX_CLASSES], int bit_offset) 5128 5131 { … … 5503 5506 5504 5507 /* Examine the argument and return set number of register required in each 5505 5508 class. Return 0 iff parameter should be passed in memory. */ 5506 static int 5509 int examine_argument (enum machine_mode, const_tree, int, int *, int *); 5510 int 5507 5511 examine_argument (enum machine_mode mode, const_tree type, int in_return, 5508 5512 int *int_nregs, int *sse_nregs) 5509 5513 { … … 6184 6188 6185 6189 /* Return true when TYPE should be 128bit aligned for 32bit argument passing 6186 6190 ABI. */ 6187 static bool 6191 bool contains_aligned_value_p (const_tree); 6192 bool 6188 6193 contains_aligned_value_p (const_tree type) 6189 6194 { 6190 6195 enum machine_mode mode = TYPE_MODE (type);