]>
Commit | Line | Data |
---|---|---|
e51f9159 KK |
1 | 2004-05-11 Kaz Kojima <kkojima@gcc.gnu.org> |
2 | ||
3 | PR optimization/15100 | |
4 | * combine.c (distribute_notes): Don't create a dangling | |
5 | REG_LIBCALL/REG_RETVAL note. | |
6 | ||
6a599451 AH |
7 | 2004-05-11 Aldy Hernandez <aldyh@redhat.com> |
8 | ||
9 | * config/rs6000/spe.md (spe_evneg): Rename to negv2si2. | |
10 | ||
11 | * config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to | |
12 | negv2si2. | |
13 | ||
425a2bde AH |
14 | 2004-05-11 Aldy Hernandez <aldyh@redhat.com> |
15 | ||
16 | * doc/md.texi (Standard Names): Fix typo in vec_init description. | |
17 | ||
bed7b8f1 GK |
18 | 2004-05-11 Geoffrey Keating <geoffk@apple.com> |
19 | ||
20 | * doc/gty.texi (GTY Options): Clarify example. | |
21 | ||
7958a2a6 FJ |
22 | 2004-05-11 Fariborz Jahanian <fjahanian@apple.com> |
23 | ||
24 | * config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): | |
25 | Add const qualifier to altivec vector type if one is needed. | |
26 | ||
32770746 PB |
27 | 2004-05-11 Paul Brook <paul@codesourcery.com> |
28 | ||
29 | * flags.h (flag_short_enums): Update comment. | |
30 | * opts.c (decode_options): Set flag_short_enums to 2. | |
31 | * toplev.c (flag_short_enums): Update comment. | |
32 | (process_options): Call default_short_enums target hook. | |
33 | ||
78f59f3e AP |
34 | 2004-05-11 Andrew Pinski <pinskia@gcc.gnu.org> |
35 | ||
36 | PR target/14063 | |
37 | * config/rs6000/altivec.md (altivec_dssall): | |
38 | Change to unspec_volatile. | |
39 | (altivec_dss): Likewise. | |
40 | ||
39302b6a AH |
41 | 2004-05-10 Aldy Hernandez <aldyh@redhat.com> |
42 | ||
43 | * config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to | |
44 | vnor. | |
45 | ("one_cmplv8hi2"): Same. | |
46 | ("one_cmplv4si2"): Same. | |
47 | ||
726d4cb7 KK |
48 | 2004-05-10 Kaz Kojima <kkojima@gcc.gnu.org> |
49 | ||
50 | PR target/15130 | |
51 | * config/sh/sh-protos.h (sh_expand_epilogue): Change prototype. | |
52 | * config/sh/sh.c (output_stack_adjust): Take the sibcall epilogue | |
53 | into account. Compute the correct number of general registers | |
54 | for the return value. Generate a special push/pop sequence when | |
55 | failing to get a temporary register for non SHmedia epilogue. | |
56 | (sh_expand_epilogue): Add an argument to show whether it's for | |
57 | sibcall or not. Set the 3rd argument of output_stack_adjust to | |
58 | -1 if needed. | |
59 | (sh_need_epilogue): Call sh_expand_epilogue with 0. | |
60 | * config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue | |
61 | with 1. | |
62 | (epilogue): Call sh_expand_epilogue with 0. | |
63 | ||
0c196bf9 AP |
64 | 2004-05-10 Andrew Pinski <pinskia@physics.uc.edu> |
65 | ||
66 | * gcse.c (eliminate_partially_redundant_loads): Instead of returning early, | |
67 | goto a cleanup label. After the cleanup, free the allocated memory. | |
68 | ||
16cfa3dc ZL |
69 | 2004-05-10 Ziemowit Laski <zlaski@apple.com> |
70 | ||
71 | * config/rs6000/altivec.h (vec_sld): Add overloads for | |
72 | argument/return types of 'vector bool int', 'vector bool short' | |
73 | and 'vector bool char'. | |
74 | ||
3358cae0 ZW |
75 | 2004-05-10 Zack Weinberg <zack@codesourcery.com> |
76 | ||
77 | * c-decl.c (store_parm_decls_newstyle): Correct test for a | |
78 | nested function. | |
79 | ||
62d45923 RS |
80 | 2004-05-10 Richard Sandiford <rsandifo@redhat.com> |
81 | ||
82 | * read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted, | |
83 | treating missing ones as "". | |
84 | * config/mips/mips.md: Remove constraints from match_operands and | |
85 | match_scratches if they appear in define_expands (except reload*), | |
86 | define_peephole2s, define_splits or attribute specifications. | |
87 | * config/mips/7000.md, config/mips/sb1.md: Remove match_operand | |
88 | constraint strings. | |
89 | ||
b2d04ecf AM |
90 | 2004-05-10 Alan Modra <amodra@bigpond.net.au> |
91 | ||
92 | * config/rs6000/rs6000.c (function_arg_boundary): Always align | |
93 | AltiVec vectors. | |
94 | (function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec | |
95 | vectors by refererence. Align the same for TARGET_64BIT to a 16 | |
96 | byte boundary. Remove useless code. Add function comment. | |
97 | (function_arg): Similarly. Move gpr rs6000_mixed_function_arg | |
98 | call to where it belongs. | |
99 | (function_arg_partial_nregs): Return true for all TARGET_32BIT | |
100 | -mabi=no-altivec AltiVec vectors. Fix debug output. | |
101 | (rs6000_va_arg): Adjust for AltiVec change. | |
102 | ||
b6685939 PB |
103 | 2004-05-10 Paul Brook <paul@codesourcery.com> |
104 | ||
105 | * config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED. | |
106 | * config/arm/arm.h (TARGET_AAPCS_BASED): Define. | |
107 | (TARGET_DOUBLEWORD_ALIGN): Use it. | |
108 | (WCHAR_TYPE): Define. | |
109 | (WCHAR_SIZE_TYPE): Define. | |
110 | (SIZE_TYPE): Define. | |
111 | ||
4ed78545 AM |
112 | 2004-05-10 Alan Modra <amodra@bigpond.net.au> |
113 | ||
114 | * config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4 | |
115 | when size is 8 bytes. | |
116 | (function_arg_advance): Account for stack space used by AltiVec | |
3358cae0 | 117 | args when -mabi=altivec. Simplify alignment calculations. For |
4ed78545 AM |
118 | ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec. |
119 | (function_arg): Similarly. | |
120 | (function_arg_pass_by_reference): True for ABI_V4 AltiVec when | |
121 | not AltiVec ABI. | |
122 | (rs6000_va_arg): Correct fp arg test. Adjust for AltiVec change. | |
123 | Correct alignment, and align before testing reg count. Remove | |
124 | TREE_THIS_VOLATILE from reg. Don't emit unused labels. | |
125 | (rs6000_complex_function_value): Check TARGET_HARD_FLOAT and | |
126 | TARGET_FPRS here.. | |
127 | (rs6000_function_value): .. not here before call. | |
128 | ||
f350ff00 AH |
129 | 2004-05-09 Aldy Hernandez <aldyh@redhat.com> |
130 | ||
131 | * config/rs6000/spe.md ("tstsflt_gpr"): Fix typo in unspec. | |
132 | ||
eecec698 ZW |
133 | 2004-05-09 Zack Weinberg <zack@codesourcery.com> |
134 | ||
135 | PR 15007 | |
136 | * c-decl.c (current_file_decl): Rename to all_translation_units, | |
137 | adjust comment. | |
138 | (pop_scope): If popping file_scope, construct a | |
139 | TRANSLATION_UNIT_DECL and make it the context of all the | |
140 | symbols in the scope. | |
141 | (push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here. | |
142 | (pushdecl): Clarify comment. Do not set DECL_CONTEXT of | |
143 | anything to current_file_decl. | |
144 | (pushdecl_top_level): Likewise. | |
145 | (store_parm_decls_newstyle): Adjust check for nested function. | |
4ed78545 AM |
146 | (c_write_global_declarations): Update for renamed variable. |
147 | ||
2aa4498c AH |
148 | 2004-05-09 Aldy Hernandez <aldyh@redhat.com> |
149 | ||
150 | * config/rs6000/rs6000-protos.h | |
151 | (rs6000_conditional_register_usage): Protoize. | |
152 | ||
153 | * config/rs6000/rs6000.c (rs6000_conditional_register_usage): New. | |
154 | ||
155 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Call | |
156 | function. | |
157 | ||
8dc2384c RS |
158 | 2004-05-08 Roger Sayle <roger@eyesopen.com> |
159 | ||
160 | * fold-const.c (fold_div_compare): New function to optimize X/C1 op C2 | |
161 | where op is a comparison operator and C1 and C2 are integer constants | |
162 | into a range check. | |
163 | (fold): Call fold_div_compare. | |
164 | ||
ae81c844 EB |
165 | 2004-05-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
166 | ||
167 | * doc/install.texi (sparc-sun-solaris2*): Document bootstrap | |
168 | problems with earlier versions of the GNU compiler. | |
169 | ||
0d1fbc8c AH |
170 | 2004-05-07 Aldy Hernandez <aldyh@redhat.com> |
171 | ||
172 | * config/rs6000/rs6000-protos.h (rs6000_hard_regno_mode_ok_p): | |
173 | Declare. | |
174 | ||
175 | * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok_p): New. | |
176 | (rs6000_hard_regno_mode_ok): New. | |
177 | (rs6000_init_hard_regno_mode_ok): New. | |
178 | (rs6000_override_options): Call rs6000_init_hard_regno_mode_ok. | |
179 | ||
180 | * config/rs6000/rs6000.h (HARD_REGNO_NREGS): Use precomputed | |
181 | result. | |
182 | ||
f95d9272 ZL |
183 | 2004-05-07 Ziemowit Laski <zlaski@apple.com> |
184 | ||
185 | * config/rs6000/altivec.h (vector, pixel, bool): Do not | |
186 | define as macros #ifdef __APPLE_ALTIVEC__. | |
187 | ||
188 | 2004-05-07 Fariborz Jahanian <fjahanian@apple.com> | |
189 | ||
36a454e1 FJ |
190 | * config/rs6000/rs6000.c (rs6000_mixed_function_arg): |
191 | Generate appropriate parallels for vector arguments | |
192 | passed to vararg functions. (function_arg): make the call | |
193 | to rs6000_mixed_function_arg for vector args as needed. | |
eecec698 | 194 | |
f7dbd289 RS |
195 | 2004-05-07 Richard Sandiford <rsandifo@redhat.com> |
196 | ||
197 | * config/mips/mips.c (mips_va_arg): Fix calculation of osize for | |
198 | EABI_FLOAT_VARARGS_P. | |
199 | ||
5c8a81d5 RS |
200 | 2004-05-07 Richard Sandiford <rsandifo@redhat.com> |
201 | ||
202 | * config/mips/mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500. | |
203 | * config/mips/mips.c (override_options): Disable branch likely | |
204 | instructions if TUNE_MIPS5500. | |
205 | ||
9045f39a RS |
206 | 2004-05-07 Richard Sandiford <rsandifo@redhat.com> |
207 | ||
208 | * config/mips/mips.c (override_options): Allow the hi and lo registers | |
209 | to store any integral mode, not just MODE_INTs. | |
210 | ||
bc21b3f3 PB |
211 | 2004-05-07 Paul Brook <paul@codesourcery.com> |
212 | ||
213 | * config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED. | |
214 | * config/arm/arm.h (TARGET_AAPCS_BASED): Define. | |
215 | (TARGET_DOUBLEWORD_ALIGN): Use it. | |
216 | (WCHAR_TYPE): Define. | |
217 | (WCHAR_SIZE_TYPE): Define. | |
218 | (SIZE_TYPE): Define. | |
219 | ||
2484cc35 UB |
220 | 2004-05-07 Uros Bizjak <uros@kss-loka.si> |
221 | ||
222 | * config/i386/i386.c (ix86_emit_fp_unordered_jump): Use | |
223 | testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF. | |
224 | ||
7600f094 AP |
225 | 2004-05-07 Andrew Pinski <pinskia@physics.uc.edu> |
226 | ||
227 | * loop-doloop.c (doloop_valid_p): Make sure that body | |
228 | gets freed. | |
229 | ||
bfb23806 EB |
230 | 2004-05-07 Eric Botcazou <ebotcazou@act-europe.fr> |
231 | ||
232 | * config/sparc/sparc-protos.h (sparc_skip_caller_unimp): New | |
233 | declaration. | |
234 | * config/sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Delete. | |
235 | (sparc_skip_caller_unimp): New global variable. | |
236 | (sparc_function_epilogue): Set 'sparc_skip_caller_unimp'. | |
237 | Use it instead of SKIP_CALLERS_UNIMP_P. | |
238 | * config/sparc/sparc.md (call expander): Add sanity check. | |
239 | (call_address_struct_value_sp32): Re-sync with expander. | |
240 | (call_symbolic_struct_value_sp32): Likewise. | |
241 | (return peepholes): Use 'sparc_skip_caller_unimp' instead | |
242 | of custom predicate. | |
243 | ||
92ff0c41 EB |
244 | 2004-05-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
245 | ||
246 | PR c++/14962 | |
247 | * c-pragma.c (handle_pragma_redefine_extname): Only change | |
248 | the assembler name of FUNCTION_DECLs and VAR_DECLs. | |
249 | ||
c2fcfa4f UB |
250 | 2004-05-07 Uros Bizjak <uros@kss-loka.si> |
251 | ||
252 | * optabs.h (enum optab_index): Add new OTI_log1p. | |
253 | (log1p_optab): Define corresponding macro. | |
254 | * optabs.c (init_optabs): Initialize log1p_optab. | |
255 | * genopinit.c (optabs): Implement log1p_optab using log1p?f2 | |
256 | patterns. | |
257 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG1P{,F,L} | |
258 | using log1p_optab. | |
259 | (expand_builtin): Expand BUILT_IN_LOG1P{,F,L} using | |
260 | expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
261 | ||
262 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2XP1. | |
263 | ||
264 | * config/i386/i386.c (ix86_emit_i387_log1p): New function. | |
265 | * config/i386/i386-protos.h (ix86_emit_i387_log1p): | |
266 | Prototype here. | |
267 | * config/i386/i386.md (UNSPEC_FYL2XP1): New unspec to represent | |
268 | x87's fyl2xp1 instruction. | |
269 | (*fyl2x_xf3): Rename insn definition to fyl2x_xf3. | |
270 | (fyl2xp1_xf3): New pattern to implement fyl2xp1 x87 instruction. | |
271 | (log1psf2, log1pdf2, log1pxf2): New expanders to implement log1pf, | |
272 | log1p and log1pl built-ins as inline x87 intrinsics. | |
273 | ||
4d980568 LR |
274 | 2004-05-07 Loren James Rittle <ljrittle@acm.org> |
275 | ||
3c4392aa | 276 | * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Proper redefinition. |
4d980568 LR |
277 | * config/arm/freebsd.h: Likewise. |
278 | * config/ia64/freebsd.h: Likewise. | |
279 | * config/sparc/freebsd.h: Likewise. | |
280 | ||
afce2847 HPN |
281 | 2004-05-07 Hans-Peter Nilsson <hp@axis.com> |
282 | ||
283 | PR optimization/15296 | |
284 | * reorg.c (fill_simple_delay_slots): Use next_real_insn when | |
285 | getting last consecutive label at a branch. | |
286 | (relax_delay_slots): Similar, near top of loop. | |
287 | ||
9acf97b6 JDA |
288 | 2004-05-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
289 | ||
290 | PR target/15202 | |
291 | * pa.md (movdi, movsi, movhi, movqi): Support move from shift amount | |
292 | register to general register. | |
293 | ||
19fb36e3 AM |
294 | 2004-05-07 Alan Modra <amodra@bigpond.net.au> |
295 | ||
296 | * config/rs6000/rs6000.h (STACK_BOUNDARY): Use 128 bit for either | |
297 | TARGET_ALTIVEC or TARGET_ALTIVEC_ABI. | |
298 | * config/rs6000/sysv4.h (ABI_STACK_BOUNDARY): Likewise. | |
299 | (STACK_BOUNDARY): Delete. | |
300 | ||
db643b91 | 301 | 2004-05-06 Stuart Hastings <stuart@apple.com> |
2484cc35 | 302 | |
db643b91 SH |
303 | * gcc/doc/invoke.texi: Restore -fgcse-after-reload doc from 1.421, |
304 | mistakenly clobbered by 1.423. | |
19fb36e3 | 305 | |
dc884a86 RS |
306 | 2004-05-06 Richard Sandiford <rsandifo@redhat.com> |
307 | ||
308 | * doc/invoke.texi: Document -mvr4130-align. | |
309 | * config/mips/mips.h (MASK_VR4130_ALIGN, TARGET_VR4130_ALIGN) | |
310 | (TUNE_MIPS4120, TUNE_MIPS4130): New macros. | |
311 | (TUNE_MACC_CHAINS): Include TUNE_MIPS4120 and TUNE_MIPS4130. | |
312 | (TARGET_SWITCHES): Add -mvr4130-align and -mno-vr4130-align. | |
313 | * config/mips/mips.md: Include sched-int.h. | |
314 | (USEFUL_INSN_P, SEQ_BEGIN, SEQ_END, FOR_EACH_SUBINSN): New macros. | |
315 | (mips_rtx_costs): Set integer multiplication costs for TUNE_MIPS4130. | |
316 | (override_options): Enable -mvr4130-align at -O3 and above. | |
317 | (mips_sim_insn): New variable. | |
318 | (mips_sim): New structure. | |
319 | (mips_sim_reset, mips_sim_init, mips_sim_next_cycle, mips_sim_wait_reg) | |
320 | (mips_sim_wait_regs_2, mips_sim_wait_regs_1, mips_sim_wait_regs) | |
321 | (mips_sim_wait_units, mips_sim_wait_insn, mips_sim_record_set) | |
322 | (mips_sim_issue_insn, mips_sim_issue_nop, mips_sim_finish_insn) | |
323 | (vr4130_avoid_branch_rt_conflict, vr4130_align_insns): New functions. | |
324 | (mips_reorg): Call vr4130_align_insns. | |
325 | (vr4130_last_insn): New variable. | |
326 | (vr4130_true_reg_dependence_p_1, vr4130_true_reg_dependence_p) | |
327 | (vr4130_swap_insns_p, vr4130_reorder): New functions. | |
328 | (mips_sched_reorder, mips_variable_issue): Hook in vr4130 code. | |
329 | (mips_issue_rate): Return 2 for PROCESSOR_R4130. | |
330 | (mips_use_dfa_pipeline_interface): Return true for the same. | |
331 | * config/mips/4130.md: New file. | |
332 | * config/mips/mips.md: Include it. Add a peephole2 to convert | |
333 | "mult;mflo" into "mtlo;macc". | |
334 | (*macc, *umul_acc_di, *smul_acc_di): Use $1 rather than $0 as the | |
335 | target of maccs. | |
336 | (*msac_using_macc): New pattern. | |
337 | ||
615ccdd3 RS |
338 | 2004-05-06 Richard Sandiford <rsandifo@redhat.com> |
339 | ||
340 | * config/mips/5500.md (ir_vr55_store): Set latency to 0. | |
341 | (ir_vr55_hilo): Split into... | |
342 | (ir_vr55_mfhilo, ir_vr55_mthilo): ...these new reservations. | |
343 | (ir_vr55_imul_si, ir_vr55_imadd): Change latency to 5. | |
344 | (ir_vr55_imul_di): Change latency to 9. Reserve vr55_mac for 4 cycles. | |
345 | Add various multiplication bypasses. | |
346 | * config/mips/mips.c (mips_rtx_costs): Adjust VR5500 costs for integer | |
347 | multiplication. | |
348 | ||
152e3565 UB |
349 | 2004-05-06 Uros Bizjak <uros@kss-loka.si> |
350 | ||
351 | * config/i386/i386.md (*fscalexf4): Correct insn "mode" | |
352 | attribute to "XF". | |
353 | ||
5ae27cfa UB |
354 | 2004-05-05 Uros Bizjak <uros@kss-loka.si> |
355 | ||
356 | * optabs.h (enum optab_index): Add new OTI_fmod and OTI_drem. | |
152e3565 | 357 | (fmod_optab, drem_optab): Define corresponding macros. |
5ae27cfa UB |
358 | * optabs.c (init_optabs): Initialize fmod_optab and drem_optab. |
359 | * genopinit.c (optabs): Implement fmod_optab and drem_optab | |
360 | using fmod?f3 and drem?f3 patterns. | |
361 | * builtins.c (expand_builtin_mathfn_2): Handle BUILT_IN_FMOD{,F,L} | |
362 | using fmod_optab and BUILT_IN_DREM{,F,L} using drem_optab. | |
363 | (expand_builtin): Expand BUILT_IN_FMOD{,F,L} and | |
364 | BUILT_IN_DREM{,F,L} using expand_builtin_mathfn_2 if | |
365 | flag_unsafe_math_optimizations is set. | |
366 | ||
367 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FPREM_F, | |
368 | UNSPEC_FPREM_U, UNSPEC_FPREM1_F and UNSPEC_FPREM1_U. | |
369 | ||
370 | * config/i386/i386.c (ix86_emit_fp_unordered_jump): New function. | |
371 | * config/i386/i386-protos.h (ix86_emit_fp_unordered_jump): | |
372 | Prototype here. | |
373 | * config/i386/i386.md (UNSPEC_FPREM_F, UNSPEC_FPREM_U, | |
374 | UNSPEC_FPREM1_F, UNSPEC_FPREM1_U): New unspecs to represent x87's | |
375 | fprem and fprem1 instructions. | |
376 | (*x86_fnstsw_1): Change input parameter to (reg:CCFP 18). | |
377 | Rename insn definition to x86_fnstsw_1. | |
378 | (fpremxf4, fprem1xf4): New patterns to implement fprem and fprem1 | |
379 | x87 instructions. | |
380 | (fmodsf3, fmoddf3, fmodxf3): New expanders to implement fmodf, fmod | |
381 | and fmodl built-ins as inline x87 intrinsics. | |
382 | (dremsf3, dremdf3, dremxf3): New expanders to implement dremf, drem | |
383 | and dreml built-ins as inline x87 intrinsics. | |
384 | ||
cf9c6ca5 RS |
385 | 2004-05-05 Roger Sayle <roger@eyesopen.com> |
386 | ||
387 | * reload1.c (inherit_piecemeal_p): Mark parameters potentially unused. | |
388 | ||
32dd2dc9 ILT |
389 | 2004-05-05 Ian Lance Taylor <ian@wasabisystems.com> |
390 | ||
391 | PR driver/9822 | |
392 | * doc/invoke.texi (Spec Files): Remove documentation of %c. | |
393 | ||
4a6f766d CD |
394 | 2004-05-05 Chris Demetriou <cgd@broadcom.com> |
395 | ||
396 | * config/mips/mips.md: Update the msub define_split for new mflo/mfhi | |
397 | representation. | |
398 | ||
fdd695fd PB |
399 | 2004-05-06 Paul Brook <paul@codesourcery.com> |
400 | ||
401 | * config/arm/arm-protots.h (vfp_mem_operand): Rename ... | |
402 | (arm_coproc_mem_operand): ... To this. | |
403 | * config/arm/arm.c (arm_legitimate_address_p): Allow ldrd modes. | |
404 | (arm_legitimate_index_p): Ditto. | |
405 | (vfp_mem_operand): Rename ... | |
406 | (arm_coproc_mem_operand): ... To this. Handle writeback modes. | |
407 | (vfp_secondary_reload_class): Use it. | |
408 | (output_move_double): Use doubleword load/store instructions. | |
409 | (arm_hard_regno_mode_ok): Only allow even reg pairs for ldrd. | |
410 | * config/arm/arm.h (TARGET_LDRD): Define. | |
411 | (EXTRA_CONSTRAINT_STR_ARM): Add 'Uy'. | |
412 | * config/gcc/arm/arm.md (arm_movdi): Allow all valid memory operands. | |
413 | New splitter for invalid doubleword loads. | |
414 | * config/arm/iwmmxt.md (iwmmxt_arm_movdi): Use Uy constraint. | |
415 | * config/arm/vfp.md (arm_movdi_vfp): Allow all valid memory operands. | |
416 | * doc/md.texi: Document Uy constraint. | |
417 | ||
59af0b6a JH |
418 | 2004-05-05 Jan Hubicka <jh@suse.cz> |
419 | ||
420 | PR opt/14980 | |
421 | * cgraphunit.c (cgraph_remove_unreachable_nodes): Deal properly with | |
422 | inline clones. | |
423 | ||
9953b5e1 L |
424 | 2004-05-05 H.J. Lu <hongjiu.lu@intel.com> |
425 | ||
426 | PR target/15290 | |
427 | * config/i386/i386.c (ix86_split_to_parts): Use real_to_target | |
428 | instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE. | |
429 | ||
e3c287c9 MS |
430 | 2004-05-05 Mike Stump <mrs@apple.com> |
431 | ||
432 | * config/darwin-c.c (add_framework): Copy the directory name as it | |
433 | can be freed later. Also, ensure we always allocate enough room | |
434 | for the cached framework information. | |
435 | (find_subframework_header): Keep track of the directory where the | |
436 | subframework header was found. | |
437 | (framework_construct_pathname): Speed up by not trying to re-add a | |
438 | framework. | |
439 | * cppfiles.c (search_path_exhausted): Arrange for the missing | |
440 | header callback to be able to set the directory where the header | |
441 | was found. | |
442 | (cpp_get_dir): Add. | |
443 | * cpplib.h (missing_header_cb): Add a parameter. | |
444 | (cpp_get_dir): Add. | |
445 | ||
446 | 2004-05-03 Mike Stump <mrs@apple.com> | |
4bed3787 MS |
447 | |
448 | * doc/invoke.texi (Directory Options): Document -iquote. | |
449 | * doc/cpp.texi: Likewise. | |
450 | * doc/cppopts.texi: Likewise. | |
451 | * c-opts.c (c_common_missing_argument): Add -iquote processing. | |
452 | (c_common_handle_option): Likewise. | |
453 | * c.opt (iquote): Add. | |
454 | * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -iquote. | |
455 | * c-incpath.c (merge_include_chains): Update comment to use -iquote. | |
456 | ||
457 | * c-opts.c (case OPT_I): Deprecate -I- support. | |
458 | * doc/invoke.texi: Likewise. | |
459 | * doc/cpp.texi: Likewise. | |
460 | * doc/cppopts.texi: Likewise. | |
461 | ||
bb8a619e SB |
462 | 2004-05-05 Steven Bosscher <stevenb@suse.de> |
463 | ||
464 | * basic-block.h (free_basic_block_vars): Update prototype. | |
465 | * flow.c (free_basic_block_vars): Remove the keep_head_end_p | |
466 | argument. | |
467 | (life_analysis): Update call. | |
468 | * ifcvt.c (if_convert): Likewise. | |
469 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise. | |
470 | * passes.c (rest_of_handle_final): Likewise. | |
471 | (rest_of_compilation): Likewise. | |
472 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
473 | ||
474 | * emit-rtl.c (next_real_insn): Use INSN_P. | |
475 | (prev_real_insn): Likewise. | |
476 | ||
2e592dce EC |
477 | 2004-05-05 Eric Christopher <echristo@redhat.com> |
478 | ||
479 | * config/mips/mips.md: Update the madd define_split for new mflo/mfhi | |
480 | representation. | |
481 | ||
7c62e993 PB |
482 | 2004-05-05 Paolo Bonzini <bonzini@gnu.org> |
483 | ||
484 | * config/rs6000/rs6000.c (build_opaque_vector_type): | |
485 | New function. | |
486 | (rs6000_init_builtins): Use it. | |
487 | ||
87fac4e3 BG |
488 | 2004-05-04 Bernard Giroud <bgiroud2@free.fr> |
489 | ||
490 | * gcc/gcc/vmsdbgout.c (vms_func_node, vms_func_ref): New. | |
491 | (func_table): Change type from char ** to vms_func_ref. | |
492 | (write_rtnbeg): Update to reflect func_table change. Use | |
493 | fde->funcdef_number instead of rtnnum in output. | |
494 | (write_rtnend, vmxdbgout_begin_function, vmsdbgout_init): Likewise. | |
495 | ||
cc27e657 PB |
496 | 2004-05-04 Paolo Bonzini <bonzini@gnu.org> |
497 | Richard Henderson <rth@redhat.com> | |
498 | ||
499 | PR target/14899 | |
500 | ||
501 | * c-common.c (vector_types_convertible_p): New function. | |
502 | * c-typeck.c (comptypes): Recurse on vector types. | |
503 | (convert_for_assignment): Use vector_types_convertible_p. | |
504 | (digest_init): Use vector_types_convertible_p to check | |
505 | validness of constant vector initializers; otherwise treat | |
506 | them as scalars. | |
507 | * tree.c (make_or_reuse_type): New. | |
508 | (build_common_tree_nodes): Use it. | |
509 | * cp/call.c (standard_conversion): Likewise. | |
510 | * cp/typeck.c (comptypes): Recurse on vector types. | |
511 | (convert_for_assignment): Use vector_types_convertible_p. | |
cc27e657 | 512 | |
6fc8a30a CD |
513 | 2004-05-04 Chris Demetriou <cgd@broadcom.com> |
514 | ||
515 | * config/mips/mips.c (override_options): Default to no | |
516 | generation of branch-likely operations when tuning for | |
517 | CPUs where they tend to have a negative performance impact | |
518 | (e.g., SB-1). | |
519 | ||
6c89c39a RK |
520 | 2004-05-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
521 | ||
522 | * expr.c (store_constructor_field): Don't call store_constructor | |
523 | if bitsize is not a multiple of a byte. | |
524 | ||
b5ba341f RS |
525 | 2004-05-04 Richard Sandiford <rsandifo@redhat.com> |
526 | ||
527 | * reload1.c (inherit_piecemeal_p): New function. | |
528 | (emit_reload_insns): When reloading a group of hard registers, use | |
529 | inherit_piecemeal_p to decide whether the values of individual hard | |
530 | registers can be inherited. | |
531 | ||
c6c8779b L |
532 | 2004-05-04 H.J. Lu <hongjiu.lu@intel.com> |
533 | ||
534 | * config/ia64/t-ia64 (LIB2ADDEH): Remove gthr-gnat.c. | |
535 | * config/s390/t-tpf (LIB2ADDEHDEP): Likewise. | |
536 | * config/t-linux (LIB2ADDEHDEP): Likewise. | |
537 | ||
82c732f9 PB |
538 | 2004-05-04 Paul Brook <paul@codesourcery.com> |
539 | ||
540 | * config/arm/crti.asm: Push an even number of registers. | |
541 | * config/arm/crtn.asm: And restore them. Load via sp. | |
542 | ||
92e838e2 PB |
543 | 2004-05-04 Paolo Bonzini <bonzini@gnu.org> |
544 | ||
545 | * ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter. | |
546 | Collect overhead information. | |
547 | (ggc_alloc_stat): New name of ggc_alloc. Add MEM_STAT_DECL | |
548 | parameter and pass it through. | |
549 | (ggc_alloc_typed_stat): New name of ggc_alloc_typed. Add | |
550 | MEM_STAT_DECL parameter and pass it through. | |
551 | (ggc_alloc_zone_stat): New name of ggc_alloc_zone. Add | |
552 | MEM_STAT_DECL parameter and pass it through. | |
553 | ||
d8ecbcdb AH |
554 | 2004-05-03 Aldy Hernandez <aldyh@redhat.com> |
555 | ||
556 | * config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs. | |
557 | ||
558 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs): New. | |
559 | ||
560 | * config/rs6000/rs6000.h (HARD_REGNO_NREGS): Call | |
561 | rs6000_hard_regno_nregs. | |
562 | ||
2f7e5a0d EC |
563 | 2004-05-03 Eric Christopher <echristo@redhat.com> |
564 | ||
565 | * config/s390/s390.c (s390_emit_prologue): Call unspec tpf | |
566 | prologue insn instead of setting up call. | |
567 | (s390_emit_epilogue): Ditto. | |
568 | * config/s390/s390.md (prologue_tpf, epilogue_tpf): New patterns. | |
569 | (define_constants): Add numbers for above patterns. | |
570 | ||
38899e29 EC |
571 | 2004-05-03 Eric Christopher <echristo@redhat.com> |
572 | ||
573 | * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Move body... | |
574 | * config/s390/s390.c (s390_conditional_register_usage): ...here. | |
575 | * config/s390/s390-protos.h: Prototype. | |
576 | ||
97d62313 JB |
577 | 2004-05-03 Joe Buck <jbuck@welsh-buck.org> |
578 | ||
579 | * cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only | |
580 | assignment. | |
581 | ||
03a53989 EC |
582 | 2004-05-03 Eric Christopher <echristo@redhat.com> |
583 | ||
584 | * config/mips/mips.md: Fix branch length attribute definition. | |
585 | ||
318fec6d AH |
586 | 2004-05-03 Aldy Hernandez <aldyh@redhat.com> |
587 | ||
588 | * config.gcc: Remove --enable-altivec support. | |
589 | ||
590 | * config/rs6000/altivec-defs.h: Remove. | |
591 | ||
553cba65 RO |
592 | 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
593 | ||
594 | * fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6. | |
595 | * fixinc/fixincl.x: Regenerate. | |
596 | ||
6adcf89d UB |
597 | 2004-05-03 Uros Bizjak <uros@kss-loka.si> |
598 | ||
599 | * config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn | |
600 | definition. | |
601 | (log?f2, log10?f2, log2?f2): Reimplement expanders with | |
602 | float_truncate insn. | |
603 | (*fxtractsf3, *fxtractdf3): Remove insn definition. | |
604 | (logb?f2): Reimplement expanders with float_truncate insn. | |
605 | ||
834eb1f0 GS |
606 | 2004-05-03 Graham Stott <graham.stott@btinternet.com> |
607 | ||
608 | PR 14718 | |
609 | * dwarf2out.c (dwarf2out_imported_module_or_decl): Use | |
610 | force_type_die for CONST_DECL. | |
611 | ||
bb8a619e SB |
612 | 2004-05-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
613 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
178af0f3 EB |
614 | |
615 | * config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add | |
616 | tm-dwarf2.h to tm_file. | |
617 | (sparc-*-solaris2*): Add tm-dwarf2.h to tm_file for Solaris 7+. | |
618 | * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Delete. | |
619 | (ASM_DEBUG_SPEC): Delete. | |
620 | ||
7a8e07c7 UB |
621 | 2004-05-03 Uros Bizjak <uros@kss-loka.si> |
622 | ||
623 | * optabs.h (enum optab_index): Add new OTI_expm1. | |
624 | (expm1_optab): Define corresponding macro. | |
625 | * optabs.c (init_optabs): Initialize expm1_optab. | |
626 | * genopinit.c (optabs): Implement expm1_optab using expm1?f2 | |
627 | patterns. | |
628 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXPM1{,F,L} | |
629 | using expm1_optab. | |
630 | (expand_builtin): Expand BUILT_IN_EXPM1{,F,L} using | |
631 | expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
632 | ||
633 | * config/i386/i386.md (expm1df2, expm1sf2, expm1xf2): New expanders | |
634 | to implement expm1, expm1f and expm1l built-ins as inline x87 | |
635 | intrinsics. | |
636 | ||
5f2b9599 AO |
637 | 2004-05-02 Alexandre Oliva <aoliva@redhat.com> |
638 | ||
639 | 2003-11-19 Richard Sandiford <rsandifo@redhat.com> | |
640 | * config/frv/frv.md (*return_true, *return_false): New patterns. | |
641 | ||
1e5b67ff KH |
642 | 2004-05-02 Kazu Hirata <kazu@cs.umass.edu> |
643 | ||
644 | * rtl.h (PHI_NODE_P): Remove. | |
645 | ||
cfa29a4c EB |
646 | 2004-05-02 Eric Botcazou <ebotcazou@act-europe.fr> |
647 | ||
648 | PR middle-end/14988 | |
649 | * function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment | |
650 | when passed -2 as 'align'. | |
651 | (put_var_into_stack): Use 'bool' as the type for the three local | |
652 | predicates. Adjust calls to put_reg_into_stack. | |
653 | When passed a CONCAT, instruct put_reg_into_stack to use | |
654 | a consecutive stack slot for the second part. | |
655 | (put_reg_into_stack): Remove 'promoted_mode' parameter, add | |
656 | 'consecutive_p' parameter. Turn the three predicates into 'bool' | |
657 | parameters. Retrieve the register mode from 'reg'. | |
658 | When consecutive_p is true, instruct assign_stack_local_1 to use | |
659 | BITS_PER_UNIT alignment. | |
660 | (put_addressof_into_stack): Use 'bool' as the type for the two | |
661 | local predicates. Adjust call to put_reg_into_stack. | |
662 | ||
fc627530 KG |
663 | 2004-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
664 | ||
665 | * fold-const.c (fold_convert_const, fold): Add missing | |
666 | FIX_ROUND_EXPR case. | |
667 | ||
afbe7e61 AO |
668 | 2004-05-02 Alexandre Oliva <aoliva@redhat.com> |
669 | ||
9850f34a AO |
670 | * configure.ac (FLEX, BISON): Only use tools from the build tree |
671 | if build equals host. | |
672 | * configure: Rebuilt. | |
673 | ||
764678d1 AO |
674 | * config/frv/frv-protos.h (frv_expand_epilogue, |
675 | frv_expand_fdpic_call): Add bool argument. | |
676 | * config/frv/frv.c (frv_function_ok_for_sibcall): New. | |
677 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to it. | |
678 | (frv_expand_epilogue): Use new argument to decide whether to emit | |
679 | return instruction or copy the return address to LR. | |
680 | (frv_expand_fdpic_call): Inline PLT entry when emitting direct | |
681 | sibcalls. | |
682 | (sibcall_operand): New. | |
683 | * config/frv/frv.h (PREDICATE_CODES): call_operand doesn't match | |
684 | PLUS nor LABEL_REF. Add sibcall_operand. | |
685 | * config/frv/frv.md (call, call_value): Pass false to | |
686 | frv_expand_fdpic_call. | |
687 | (call_fdpicdi, call_value_fdpicdi): Insert %i0 in calll. | |
688 | (sibcall, sibcall_internal, sibcall_fdpicdi, sibcall_value, | |
689 | sibcall_value_internal, sibcall_value_fdpicdi): New. | |
690 | (return_unsigned_true, return_unsigned_false): New. | |
691 | (epilogue): Adjust call to frv_expand_epilogue. | |
692 | (sibcall_epilogue): New. | |
693 | ||
afbe7e61 AO |
694 | * config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic. |
695 | (CPP_SPEC, CPP_SIMPLE_SPEC): Undefine __FRV_ACC__ and __FRV_FPR__ | |
696 | before redefining them. | |
697 | ||
ca3df643 KG |
698 | 2004-05-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
699 | ||
700 | * builtins.c (fold_fixed_mathfn): New function. | |
701 | (fold_builtin_lround, fold_builtin): Use it. | |
702 | ||
f2c0cb15 JJ |
703 | 2004-05-01 Jakub Jelinek <jakub@redhat.com> |
704 | ||
705 | * config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default | |
706 | also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3. | |
707 | ||
ea2637eb KH |
708 | 2004-05-01 Kazu Hirata <kazu@cs.umass.edu> |
709 | ||
710 | * config/cris/cris.h: Revert my "fix comment typos" patch. | |
711 | ||
d0cb84e9 RS |
712 | 2004-05-01 Richard Sandiford <rsandifo@redhat.com> |
713 | ||
6c3db3ab | 714 | * config/mips/mips.h (TUNE_MACC_CHAINS): Fix comment. |
d0cb84e9 | 715 | |
ebade076 FH |
716 | 2004-05-01 Falk Hueffner <falk@debian.org> |
717 | ||
718 | * config/alpha/alpha.md (builtin_insbl, builtin_inswl, | |
719 | builtin_insll): Disallow 0 as first input operand. | |
720 | ||
0962c33d FH |
721 | 2004-05-01 Falk Hueffner <falk@debian.org> |
722 | ||
723 | * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs. | |
724 | ||
e2655d15 | 725 | 2004-05-01 Ulrich Weigand <uweigand@de.ibm.com> |
03a53989 | 726 | |
e2655d15 | 727 | PR middle-end/15054 |
03a53989 | 728 | * expr.c (expand_expr_real): Do not call preserve_temp_slots |
e2655d15 UW |
729 | on a TARGET_EXPR temp. |
730 | * function.c (assign_stack_temp_for_type): Set 'keep' flag for | |
731 | TARGET_EXPR temp slots. | |
732 | ||
77306e3e PB |
733 | 2004-05-01 Paolo Bonzini <bonzini@gnu.org> |
734 | ||
735 | * simplify-rtx.c (simplify_ternary_operation): When | |
736 | converting an IF_THEN_ELSE to a relational op, return | |
737 | correct mode. | |
738 | ||
3bf05748 KG |
739 | 2004-04-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
740 | ||
741 | * builtins.c (fold_builtin_round): Fix comment typo. | |
742 | (fold_builtin_lround): New function. | |
743 | (fold_builtin): Use it. | |
744 | ||
c0873231 AP |
745 | 2004-04-20 Andrew Pinski <pinskia@physics.uc.edu> |
746 | ||
747 | PR target/11608 | |
748 | * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it | |
749 | more like the one in config/dbxelf.h. | |
750 | ||
5c5214a9 ZW |
751 | 2004-04-30 Zack Weinberg <zack@codesourcery.com> |
752 | ||
753 | * tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK | |
754 | and adjust definition accordingly. | |
755 | (TYPE_DOMAIN): Allow only SET_TYPE and ARRAY_TYPE. | |
756 | (TYPE_DEBUG_REPRESENTATION_TYPE): Allow only VECTOR_TYPE. | |
757 | * expr.c (store_constructor): Do not access TYPE_DOMAIN of a | |
758 | VECTOR_TYPE. | |
759 | ||
67214984 JM |
760 | 2004-04-30 Jason Merrill <jason@redhat.com> |
761 | ||
762 | PR c++/14587 | |
763 | * config/i386/winnt.c (associated_type): Look for attributes on | |
764 | the TYPE_MAIN_VARIANT of *this. | |
765 | * attribs.c (decl_attributes): If ATTR_FLAG_TYPE_IN_PLACE, also | |
766 | apply the attributes to the variants. | |
767 | ||
b73f075a PB |
768 | 2004-04-30 Paul Brook <paul@codesourcery.com> |
769 | ||
770 | * config.gcc: Simplify arm --with-{cpu,tune} test. | |
771 | * config/arm/arm-cores.def: Document whitespace restrictions. | |
772 | ||
5076da17 RO |
773 | 2004-04-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
774 | ||
775 | PR other/1963 | |
776 | * config/alpha/osf.h (SWITCHES_NEED_SPACES): Define. | |
777 | ||
8a897bf9 | 778 | 2004-04-30 Brian Ford <ford@vss.fsi.com> |
bb8a619e SB |
779 | DJ Delorie <dj@redhat.com> |
780 | ||
781 | * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC] | |
782 | (DWARF2_DEBUGGING_INFO): Define to enable. | |
783 | (DBX_REGISTER_NUMBER): Define to use the svr4 register map for | |
784 | DWARF2. | |
785 | * configure.ac (Target-specific assembler checks) | |
786 | <i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32 | |
787 | relocs. | |
788 | * configure: Regenerate. | |
789 | * config.in: Likewise. | |
790 | ||
791 | * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC] | |
792 | (ASM_OUPUT_DWARF_OFFSET): Define. | |
8a897bf9 | 793 | |
ed9676cf AK |
794 | 2004-04-29 Andreas Krebbel <krebbel1@de.ibm.com> |
795 | ||
796 | * config/s390/s390-protos.h (s390_emit_epilogue): Parameter added. | |
797 | (s390_emit_call): New function prototype added. | |
798 | (s390_tls_get_offset): Function removed. | |
799 | * config/s390/s390.c (s390_function_ok_for_sibcall, | |
800 | s390_call_saved_register_used_p): New functions. | |
801 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Definition of target macro added. | |
802 | (s390_tls_get_offset): Function merged into s390_emit_tls_call_insn. | |
803 | (s390_emit_tls_call_insn): New function. | |
804 | (legitimize_tls_address): Call s390_emit_tls_call_insn instead of | |
805 | emit_call_insn. | |
806 | (s390_emit_prologue): Use s390_emit_call instead of emit_call_insn. | |
5c5214a9 | 807 | (s390_emit_epilogue): Like s390_emit_prologue. Parameter for sibcalls |
ed9676cf | 808 | added. |
5c5214a9 | 809 | * config/s390/s390.h (SIBCALL_REGNUM): New macro representing the |
ed9676cf AK |
810 | register number used to hold the target address for sibcalls. |
811 | * config/s390/s390.md ("sibcall", "sibcall_value", "sibcall_epilogue"): | |
812 | New expanders. | |
5c5214a9 | 813 | ("*sibcall_br", "*sibcall_brc", "*sibcall_brcl", "*sibcall_value_br", |
ed9676cf | 814 | "*sibcall_value_brc", "*sibcall_value_brcl"): New insns. |
5c5214a9 | 815 | ("call_exp", "call_value_exp", "call_value_tls", "call_value_tls_exp"): |
ed9676cf AK |
816 | Expanders removed. |
817 | ("call", "call_value"): Call s390_emit_call to emit the call patterns. | |
5c5214a9 | 818 | ("*bras", "*brasl", "*bras_r", "*brasl_r", "*bras_tls", "*brasl_tls", |
ed9676cf AK |
819 | "*basr", "*basr_r", "*basr_tls"): Added constraint: !SIBLING_CALL_P. |
820 | ("epilogue"): Changed the call to s390_emit_epilogue to use the | |
821 | new parameter. | |
822 | ||
1ae58c30 KH |
823 | 2004-04-30 Kazu Hirata <kazu@cs.umass.edu> |
824 | ||
825 | * bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c, | |
826 | cppfiles.c, fold-const.c, ggc-zone.c, loop-doloop.c, optabs.c, | |
827 | reg-stack.c, varasm.c, config/alpha/ev4.md, | |
828 | config/alpha/ev5.md, config/alpha/ev6.md, config/arm/arm.c, | |
829 | config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.c, | |
830 | config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, | |
831 | config/frv/frv.h, config/frv/frv.md, config/h8300/h8300.c, | |
832 | config/i386/i386.c, config/i386/i386.md, config/i386/winnt.c, | |
833 | config/ia64/itanium2.md, config/ip2k/ip2k.c, | |
834 | config/mips/mips.c, config/mips/mips.h, config/mips/sr71k.md, | |
835 | config/pa/pa.c, config/s390/s390.c, config/sh/sh.c: Fix | |
836 | comment typos. | |
837 | ||
78011587 PB |
838 | 2004-04-30 Paul Brook <paul@codesourcery.com> |
839 | ||
2d84a437 | 840 | * config.gcc: Default ep9312 to hard-float. |
78011587 PB |
841 | * config/arm/arm-cores.def: Add ARCH field. |
842 | * config/arm/arm.c (FL_FOR_ARCH*): Define. | |
843 | (arm_arch_cirrus): New variable. | |
844 | (all_cores): Set and use arch. | |
845 | (all_architectures): Ditto. | |
846 | (arm_arch_name): New variable. | |
847 | (arm_override_options): Set it. Use [SUB]TARGET_CPU_DEFAULT. | |
848 | Set and use arm_arch_cirrus. | |
849 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set arch defines. | |
850 | (enum processor_type): Update ARM_CORE define. | |
851 | (enum target_cpus): Add. Replaces TARGET_CPU_* defines. | |
852 | (CPP_SPEC): Remove %(cpp_cpu_arch). | |
853 | (CPP_ARCH_DEFAULT_SPEC): Remove. | |
854 | (CPP_CPU_ARCH_SPEC): Remove. | |
855 | (EXTRA_SPECS): Don't use CPP_*ARCH*_SPEC. | |
856 | (FPUTYPE_DEFAULT): Don't define here. | |
857 | ||
e344dbf3 R |
858 | 2004-04-30 J"orn Rennecke <joern.rennecke@superh.com> |
859 | ||
860 | * flow.c (propagate_one_insn): Call mark_set_regs for stack pointer | |
861 | updates too. | |
862 | ||
65a939f7 PB |
863 | 2004-04-30 Paul Brook <paul@codesourcery.com> |
864 | ||
865 | * arm.c (arm_needs_doubleword_align): Use mode alignment. | |
866 | ||
0bf87ea5 PB |
867 | 2004-04-30 Paolo Bonzini <bonzini@gnu.org> |
868 | ||
869 | * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to | |
870 | vec_sububs. | |
871 | [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without | |
872 | duplicates. | |
873 | ||
a6bf61c7 UB |
874 | 2004-04-30 Uros Bizjak <uros@kss-loka.si> |
875 | ||
65a939f7 PB |
876 | * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near |
877 | atan2?f3 expanders. | |
a6bf61c7 | 878 | |
150e407a NC |
879 | 2004-04-29 Nick Clifton <nickc@redhat.com> |
880 | ||
881 | Bug 14093 | |
882 | * config/sh/sh-protos.h (sh_promote_prototypes): Declare. | |
883 | * config/sh/sh.c (sh_promote_prototypes): Remove declaration. | |
884 | Delete static from definition. | |
885 | * config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call. | |
886 | ||
6862f97f UB |
887 | 2004-04-30 Uros Bizjak <uros@kss-loka.si> |
888 | ||
65a939f7 PB |
889 | * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, |
890 | UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies. | |
891 | <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same. | |
892 | <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same. | |
6862f97f | 893 | |
c65a01af RG |
894 | 2004-04-29 Richard Guenther <richard.guenther@uni-tuebingen.de> |
895 | ||
896 | * commom.opt (Wfatal-errors): Add it. | |
897 | * diagnostic.c (flag_fatal_errors): Define it. | |
898 | (diagnostic_action_after_output): Check for flag_fatal_errors. | |
899 | * flags.h (flag_fatal_errors): Declare it. | |
900 | * opts.c (common_handle_option): Add OPT_Wfatal_errors. | |
901 | * doc/invoke.texi (Warning Options): Document -Wfatal-errors. | |
902 | ||
d1c6a401 JZ |
903 | 2004-04-30 Josef Zlomek <zlomekj@suse.cz> |
904 | ||
905 | * gcse.c (remove_reachable_equiv_notes): Delete notes also in | |
906 | blocks which have kill flag set. | |
907 | ||
99c012a8 BE |
908 | 2004-04-29 Ben Elliston <bje@au.ibm.com> |
909 | ||
910 | * configure.ac (--with-as): Abort if user-supplied assembler | |
911 | cannot be executed. | |
912 | (--with-ld): Likewise for the linker. | |
913 | * configure: Regenerate. | |
914 | ||
d2be4368 KG |
915 | 2004-04-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
916 | ||
917 | * convert.c (convert_to_integer): Ensure `long_integer_type_node' | |
918 | isn't NULL before using it. | |
919 | ||
15a6f2c3 RS |
920 | 2004-04-29 Richard Sandiford <rsandifo@redhat.com> |
921 | ||
922 | PR target/15189 | |
923 | * config/mips/mips.md (load_df_low): Use default length. | |
924 | (load_df_high, store_df_high): Likewise. | |
925 | ||
effa5d5d KH |
926 | 2004-04-29 Kazu Hirata <kazu@cs.umass.edu> |
927 | ||
928 | * config/mips/mips.md, config/mips/sb1.md, | |
929 | config/rs6000/rs6000.c: Fix comment typos. | |
930 | ||
2b8a92de KH |
931 | 2004-04-29 Kazu Hirata <kazu@cs.umass.edu> |
932 | ||
933 | * builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c: | |
934 | Fix comment typos. | |
935 | ||
8fd58397 DR |
936 | 2004-04-29 Douglas B Rupp <rupp@gnat.com> |
937 | ||
938 | * gcc.c (DELETE_IF_ORDINARY): New macro default definition. | |
939 | (delete_if_ordinary): Use above macro. | |
940 | * config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition. | |
941 | Update copyright. | |
942 | * doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro. | |
943 | ||
56141a6a RE |
944 | 2004-04-29 Richard Earnshaw <rearnsha@arm.com> |
945 | ||
946 | * c-decl.c (get_parm_info): Use the correct tag keywords when | |
947 | warning about type declarations in prototypes. | |
948 | ||
2682e19f PB |
949 | 2004-04-29 Paul Brook <paul@codesourcery.com> |
950 | ||
951 | * config.gcc: Pull list of cores from arm-cores.def. | |
952 | ||
c6fb08ad PB |
953 | 2004-04-29 Paolo Bonzini <bonzini@gnu.org> |
954 | ||
955 | * combine.c (combine_simplify_rtx): Adjust call to use | |
956 | simplify_relational_operation. Do not use SELECT_CC_MODE | |
957 | when a comparison already has a MODE_CC mode. | |
0bf87ea5 PB |
958 | |
959 | 2004-04-29 Paolo Bonzini <bonzini@gnu.org> | |
960 | ||
c6fb08ad PB |
961 | (simplify_set): simplify_relational_operation may now |
962 | return another relational expression. | |
963 | * cse.c (fold_rtx): simplify_relational_operation now | |
964 | takes of computing the comparison mode. | |
965 | * dojump.c (compare_from_rtx): Use simplify_relational_operation, | |
966 | remove dead code. | |
967 | (do_compare_rtx_and_jump): Likewise. | |
968 | * integrate.c (subst_constants): simplify_relational_operation | |
969 | may now return another relational expression. | |
970 | * simplify-rtx.c (simplify_gen_relational): Move most code to | |
971 | the new simplify_relational_operation and | |
972 | simplify_relational_operation_1 functions. | |
973 | (simplify_relational_operation): Rewritten. | |
974 | (simplify_relational_operation_1): New function. | |
975 | (simplify_ternary_operation): simplify_relational_operation | |
976 | may now return another relational expression. | |
5c5214a9 | 977 | (simplify_rtx): Remove unnecessary temp variable. |
c6fb08ad | 978 | |
f964bd29 UB |
979 | 2004-04-29 Uros Bizjak <uros@kss-loka.si> |
980 | ||
2682e19f PB |
981 | * reg-stack.c (swap_to_top): New function. |
982 | (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use | |
983 | swap_to_top(). | |
984 | (subst_stack_regs_pat): UNSPEC_FSCALE: Remove. | |
5c5214a9 | 985 | (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and |
2682e19f | 986 | UNSPEC_FSCALE_EXP. |
f964bd29 | 987 | |
2682e19f PB |
988 | * config/i386/i386.md (UNSPEC_FSCALE): Remove. |
989 | (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern. | |
990 | (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent | |
991 | x87's fscale insn. | |
992 | (*fscalexf4: Define new insn pattern to implement x87 fscale insn. | |
993 | (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate | |
994 | patterns. | |
f964bd29 | 995 | |
cb83302c SB |
996 | 2004-04-28 Serge Belyshev <1319@bot.ru> |
997 | ||
998 | PR 14944 | |
999 | * coverage.c (read_counts_file): Fix usage of warning () call. | |
1000 | * pretty-print.c (pp_base_format_text): Fix typo in the comment. | |
1001 | ||
5ad7ae7f BE |
1002 | 2004-04-28 Ben Elliston <bje@au.ibm.com> |
1003 | ||
1004 | * doc/invoke.texi (Objective-C Dialect Options): Don't prefix | |
1005 | options with "-" in the option index. | |
1006 | (SPARC Options): Likewise. | |
1007 | (M32R/D Options): Likewise. | |
1008 | ||
332d782c KG |
1009 | 2004-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1010 | ||
1011 | * convert.c (convert_to_integer): Convert (long)round -> lround, | |
1012 | etc. | |
1013 | ||
90f81f99 AP |
1014 | 2004-04-28 Andrew Pinski <pinskia@physics.uc.edu> |
1015 | ||
1016 | * config/rs6000/rs6000.c (registers_ok_for_quad_peep): | |
1017 | Return false if we do not have fp register. | |
1018 | (addrs_ok_for_quad_peep): Rename to ... | |
1019 | (mems_ok_for_quad_peep): this. | |
1020 | Add check for volatile memory. | |
1021 | * config/rs6000/rs6000-protos.h (addrs_ok_for_quad_peep): | |
1022 | Rename to ... | |
1023 | (mems_ok_for_quad_peep): this. | |
1024 | * config/rs6000/rs6000.md: Change peephole's for lfq/stq | |
1025 | to peephole2's. | |
1026 | (lfq_power2): New instruction. | |
1027 | (stfq_power2): Likewise. | |
1028 | ||
902edd36 JH |
1029 | 2004-04-28 Jan Hubicka <jh@suse.cz> |
1030 | ||
1031 | PR c/15004 | |
1032 | * function.c (do_warn_unused_parameter): Break out form ... | |
1033 | (expand_function_end): ... here; warn only when not using cgraphunit. | |
1034 | * function.h (do_warn_unused_parameter): Declare. | |
1035 | * cgraphunit.c: Include function.h. | |
1036 | (cgraph_finalize_function): Do unused parameter warning. | |
1037 | * Makefile.in (cgraphunit.o): Depend on function.h | |
1038 | ||
a89f5df3 JM |
1039 | 2004-04-28 Joseph S. Myers <jsm@polyomino.org.uk> |
1040 | ||
1041 | * Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition | |
1042 | calling install-info on $(DESTDIR)$(infodir)/dir already being | |
1043 | present. | |
1044 | ||
40f0b3ee PB |
1045 | 2004-04-28 Paul Brook <paul@codesourcery.com> |
1046 | ||
1047 | * dwarf2out.c (mem_loc_descriptor): Handle shifts. | |
1048 | ||
c2e2375e UW |
1049 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
1050 | ||
5c5214a9 | 1051 | * gcse.c (find_moveable_store): Do not accept store insns with |
c2e2375e UW |
1052 | REG_EH_REGION note. |
1053 | ||
9e1622ed PB |
1054 | 2004-04-28 Paul Brook <paul@codesourcery.com> |
1055 | ||
1056 | * calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY. | |
1057 | * function.c (assign_temp): Ditto. | |
1058 | * system.h (PROMOTE_FOR_CALL_ONLY): Poison. | |
1059 | ||
e0d4a859 PB |
1060 | 2004-04-28 Paul Brook <paul@codesourcery.com> |
1061 | ||
1062 | * config/arm/lib1funcs.asm: Recognize armv5tej and armv6. | |
1063 | ||
83532fb7 JZ |
1064 | 2004-04-28 Josef Zlomek <zlomekj@suse.cz> |
1065 | ||
1066 | * var-tracking.c (variable_different_p): Add a parameter | |
1067 | compare_current_location, compare current location of variable parts | |
1068 | if it is true. | |
1069 | (dataflow_set_different_1): Pass compare_current_location == false. | |
1070 | (dataflow_set_different_2): Pass compare_current_location == false. | |
1071 | (emit_notes_for_differences_1): Pass compare_current_location == true. | |
1072 | ||
cfa29496 UW |
1073 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
1074 | ||
1075 | * config/s390/s390.md ("casesi"): Mark jump table access as | |
1076 | non-trapping and unchanging. | |
1077 | ||
23959f19 JDA |
1078 | 2004-04-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1079 | ||
1080 | PR debug/14829 | |
1081 | * dwarf2out.c (reg_number): Rename to dbx_reg_number. Adjust all | |
1082 | callers. | |
1083 | (multiple_reg_loc_descriptor, reg_loc_descriptor): Use gcc register | |
1084 | number for indexing hard_regno_nregs array. | |
5c5214a9 | 1085 | |
2f70eed1 GK |
1086 | 2004-04-27 Geoffrey Keating <geoffk@apple.com> |
1087 | ||
1088 | * config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o. | |
1089 | * config/darwin-crt2.c: Only have contents on __ppc__. | |
1090 | ||
f1dfe704 BW |
1091 | 2004-04-27 Bob Wilson <bob.wilson@acm.org> |
1092 | ||
1093 | * config/xtensa/xtensa.c (call_insn_operand): Check | |
1094 | SYMBOL_REF_EXTERNAL_P in addition to SYMBOL_REF_LOCAL_P. | |
1095 | * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND): Likewise. | |
1096 | * config/xtensa/xtensa.md (call, call_value): Likewise. | |
1097 | ||
80408cac WY |
1098 | 2004-04-27 Wu Yongwei <adah@sh163.net> |
1099 | ||
1100 | * gthr-win32.h (__gthread_mutex_t): Change typedef to new structure. | |
1101 | (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust. | |
1102 | (__gthread_mutex_init_function): Replace CreateMutex with | |
1103 | initialization of custom mutex using CreateSemaphore. | |
1104 | (__gthread_mutex_lock): Use InterlockedIncrement. | |
1105 | (__gthread_mutex_trylock): Use InterlockedCompareExchange. | |
1106 | (__gthread_mutex_unlock): Use InterlockedDecrement and | |
1107 | ReleaseSemaphore to unlock | |
1108 | * config/i386/gthr-win32.c (__gthread_mutex_init_function, | |
1109 | __gthread_mutex_lock, __gthread_mutex_trylock, | |
1110 | __gthread_mutex_unlock): Adjust to match inline versions in | |
1111 | gthr-win32.h. | |
1112 | ||
70301b45 PB |
1113 | 2004-04-27 Paul Brook <paul@codesourcery.com> |
1114 | ||
1115 | * config/arm/arm.c (arm_promote_prototypes): New function. | |
1116 | (TARGET_PROMOTE_PROTOTYPES): Use it. | |
1117 | ||
4b763d77 PB |
1118 | 2004-04-27 Paul Brook <paul@codesourcery.com> |
1119 | ||
1120 | * config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs. | |
1121 | ||
7053a0e2 BG |
1122 | 2004-04-26 Bernard Giroud <bgiroud@free.fr> |
1123 | ||
1124 | * config/alpha.c (alpha_end_function): For OpenVMS gas, | |
1125 | correctly output .pdesc directive before .end. | |
1126 | ||
6d7870d1 JW |
1127 | 2004-04-26 James E Wilson <wilson@specifixinc.com> |
1128 | ||
1129 | Bug 14927 | |
1130 | * config/ia64/ia64.md (movxf): New local op0. Handle case where | |
1131 | operands[0] is a SUBREG. Handle case where operands[1] is a GR reg. | |
1132 | ||
7dd7fb88 ZW |
1133 | 2004-04-26 Zack Weinberg <zack@codesourcery.com> |
1134 | ||
1135 | * config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++. | |
1136 | * config/pa/pa-hpux10.h: Likewise. | |
1137 | * config/pa/pa-hpux11.h: Likewise. | |
1138 | ||
488061c8 GK |
1139 | 2004-04-26 Geoffrey Keating <geoffk@apple.com> |
1140 | ||
1141 | * doc/invoke.texi (Overall Options): Document default for -o | |
1142 | for PCH files. | |
1143 | ||
2b92e7f5 RK |
1144 | 2004-04-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1145 | ||
1146 | * builtins.c (expand_builtin_update_setjmp_buf): New function. | |
1147 | (expand_builtin, case BUILT_IN_UPDATE_SETJMP_BUF): New case. | |
1148 | * builtins.def (BUILT_IN_UPDATE_SETJMP_BUF): New code. | |
1149 | ||
3657dc3e PB |
1150 | 2004-04-26 Paul Brook <paul@codesourcery.com> |
1151 | ||
1152 | * config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets. | |
1153 | ||
778ebdd9 PB |
1154 | 2004-04-26 Paul Brook <paul@codesourcery.com> |
1155 | ||
1156 | * config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets. | |
1157 | ||
7c95f621 RS |
1158 | 2004-04-25 Roger Sayle <roger@eyesopen.com> |
1159 | ||
1160 | * fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to | |
1161 | fold (build1 (NEGATE_EXPR, ...)). Optimize X / -1 as -X and | |
1162 | X % -1 as 0. | |
1163 | ||
29c246a7 HPN |
1164 | 2004-04-26 Hans-Peter Nilsson <hp@bitrange.com> |
1165 | ||
1166 | PR bootstrap/15141 | |
1167 | * except.c (connect_post_landing_pads): Delete insns after the | |
1168 | barrier when generating a unwind_resume_libfunc call. | |
1169 | ||
95df09f0 RK |
1170 | 2004-04-25 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1171 | ||
1172 | PR/c++ 15119 | |
1173 | * tree.c (substitute_placeholder_in_expr, case 4): New case, | |
1174 | for TARGET_EXPR. | |
1175 | ||
1176 | 2004-04-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | |
060c5f00 ZD |
1177 | |
1178 | * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, | |
1179 | __gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when | |
1180 | inhibit_libc is defined. | |
1181 | ||
39ba1719 RS |
1182 | 2004-04-25 Richard Sandiford <rsandifo@redhat.com> |
1183 | ||
1184 | * config/mips/mips-protos.h (mips_linked_macc_p): Declare. | |
1185 | * config/mips/mips.h (TUNE_MACC_CHAINS): New macro. | |
1186 | * config/mips/mips.c (TARGET_SCHED_REORDER): Define. | |
1187 | (TARGET_SCHED_VARIABLE_ISSUE): Define. | |
1188 | (mips_adjust_cost): Move later in file, next to other sched hooks. | |
1189 | (mips_macc_chains_last_hilo): New variable. | |
1190 | (mips_linked_madd_p, mips_macc_chains_record, mips_macc_chains_reorder) | |
1191 | (mips_promote_ready, mips_sched_reorder, mips_variable_issue): New. | |
1192 | * config/mips/mips.md (may_clobber_hilo): New attribute. | |
1193 | ||
d3535e80 RS |
1194 | 2004-04-24 Roger Sayle <roger@eyesopen.com> |
1195 | Bruce Korb <bkorb@gnu.org> | |
1196 | ||
1197 | * fixinc/inclhack.def (aix_syswait_2): New fix. | |
1198 | * fixinc/fixincl.x: Regenerate. | |
1199 | * fixinc/tests/base/sys/wait.h: Update for new test. | |
1200 | ||
44688022 AM |
1201 | 2004-04-24 Alan Modra <amodra@bigpond.net.au> |
1202 | ||
1203 | PR target/14960 | |
1204 | * config/rs6000/rs6000.c (rs6000_stack_info): Rename total_raw_size | |
1205 | to non_fixed_size, and leave out fixed_size from the sum. | |
1206 | (generate_set_vrsave): Correct clobbers. | |
1207 | (rs6000_emit_epilogue): Test TARGET_ALTIVEC with TARGET_ALTIVEC_SAVE. | |
1208 | (rs6000_function_value): Test TARGET_ALTIVEC and TARGET_ALTIVEC_ABI. | |
1209 | (rs6000_libcall_value): Likewise. | |
1210 | * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Likewise. | |
1211 | (FUNCTION_ARG_REGNO_P): Likewise. | |
1212 | ||
77278891 UW |
1213 | 2004-04-24 Ulrich Weigand <uweigand@de.ibm.com> |
1214 | ||
1215 | * expmed.c (expand_mult_highpart_adjust): Do not assume OP1 | |
1216 | is a CONST_INT. | |
1217 | (expand_mult_highpart_optab): Call expand_mult_highpart_adjust | |
1218 | with NARROW_OP1 instead of OP1. | |
1219 | ||
170f9e63 UW |
1220 | 2004-04-24 Ulrich Weigand <uweigand@de.ibm.com> |
1221 | ||
1222 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__ | |
1223 | and __s390x__ hosts. | |
1224 | ||
d1c38823 ZD |
1225 | 2004-03-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1226 | ||
1227 | * Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp, | |
1228 | _gcov_execle, _gcov_execv, _gcov_execvp, _gcov_execve. | |
1229 | * builtin-types.def (BT_PID, BT_PTR_CONST_STRING, BT_FN_PID, | |
1230 | BT_FN_INT_CONST_STRING_PTR_CONST_STRING, | |
1231 | BT_FN_INT_CONST_STRING_PTR_CONST_STRING_PTR_CONST_STRING): New. | |
1232 | * builtins.c (expand_builtin_fork_or_exec): New. | |
1233 | (expand_builtin): Call it. | |
1234 | * builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP,BUILT_IN_EXECLE, | |
1235 | BUILT_IN_EXECV, BUILT_IN_EXECVP, BUILT_IN_EXECVE, BUILT_IN_FORK): New. | |
1236 | * c-common.c (PID_TYPE): New macro. | |
1237 | (c_common_nodes_and_builtins): Initialize pid_type_node. | |
1238 | * calls.c (special_function_p): Do not handle fork and exec. | |
1239 | (expand_call): Do not handle ECF_FORK_OR_EXEC. | |
1240 | * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, | |
1241 | __gcov_execv, __gcov_execvp, __gcov_execve): Declare. | |
1242 | * libgcov.c (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, | |
1243 | __gcov_execv, __gcov_execvp, __gcov_execve): New. | |
1244 | * tree.h (enum tree_index): Add TI_PID_TYPE. | |
1245 | (pid_type_node): New macro. | |
1246 | (ECF_FORK_OR_EXEC): Removed. | |
1247 | ||
1548580c EB |
1248 | 2004-04-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
1249 | ||
1250 | PR optimization/13985 | |
1251 | * cfgloopmanip.c (fix_loop_placements): New prototype. | |
1252 | Call fix_bb_placements on the preheader of loops that have | |
1253 | been reparented. | |
1254 | (remove_path): Adjust call to fix_loop_placements. | |
1255 | ||
9b2d02a0 AP |
1256 | 2004-04-23 Andrew Pinski <pinskia@physics.uc.edu> |
1257 | ||
1258 | * config/darwin7.h: New file. | |
1259 | * config.gcc (*-*-darwin*): Add darwin7.h if the | |
1260 | version is greater than 6. | |
1261 | * config/darwin.h (TARGET_C99_FUNCTIONS): Define. | |
1262 | (MATH_LIBRARY): Wrap in ifdefs. | |
1263 | ||
01d4c813 DJ |
1264 | 2004-04-23 Daniel Jacobowitz <drow@mvista.com> |
1265 | ||
1266 | * config/arm/arm.c (arm_output_epilogue): Reverse the order of | |
1267 | loading iWMMXt registers with a frame pointer. Use post-increment | |
1268 | without a frame pointer. | |
1269 | (arm_expand_prologue): Reverse the order of saving iWMMXt registers. | |
1270 | ||
7797ff53 PB |
1271 | 2004-04-23 Paolo Bonzini <bonzini@gnu.org> |
1272 | ||
1273 | * doc/invoke.texi (Optimize Options): Refer to "unit-at-a-time | |
1274 | mode" rather than "-funit-at-a-time" since -O2 enables it | |
1275 | without requiring -f* options. Refer to -fprofile-generate and | |
1276 | -fprofile-use correctly. Move -funit-at-a-time among options | |
1277 | enabled by -O. Add information about unit-at-a-time caveats. | |
1278 | ||
500bee0a PB |
1279 | 2004-04-22 Per Bothner <per@bothner.com> |
1280 | ||
1281 | * line-map.h (struct line_maps): New field highest_line. | |
1282 | (linemap_position_for_column): Make non-inline function. | |
1283 | (LINEMAP_POSITION_FOR_COLUMN): New macro. | |
1284 | * line-map.c (linemap_init): Clear highest_line field. | |
1285 | (linemap_add): Set highest_line field. | |
1286 | (linemap_line_start): Minor optimization - use highest_line field. | |
1287 | Reduce maximum column hint to 10000. Update highest_line field. | |
1288 | (linemap_position_for_column): Moved from line-map.h. Optimize a bit. | |
1289 | * cpphash.h (struct cpp_reader): Remove line field - instead use | |
1290 | line_table->highest_line. | |
1291 | (saved_line): Remove unused field. | |
1292 | (CPP_INCREMENT_FILE): Don't do linemap_lookup - just use newest map. | |
1293 | Use line_table's highest_line field instead of cpp_reader's line. | |
1294 | * cpplib.c (start_directive): Likewise use highest_line field. | |
1295 | (do_line, do_linemarker): Likewise just use newest map. | |
1296 | (_cpp_do_file_change): Don't need to set cpp_reader's line field. | |
1297 | * cpperror.c (cpp_error): Likewise use highest_line field. | |
1298 | * cppfiles.c (open_file_failed: Likewise. | |
1299 | (cpp_make_system_header): Likewise use newest map and highest_line. | |
1300 | * cppinit.c (cpp_create_reader): Don't initialize removed field. | |
1301 | * cpplex.c (_cpp_process_line_notes, _cpp_skip_block_comment, | |
1302 | skip_line_comment, skip_whitespace, _cpp_get_fresh_line, | |
1303 | _cpp_lex_direct): Likewise use highest_line. | |
1304 | (_cpp_lex_direct): Use new LINEMAP_POSITION_FOR_COLUMN macro. | |
1305 | * cppmacro.c (_cpp_builtin_macro_text): Likewise use highest_line, | |
1306 | and use newest map. | |
1307 | * cpppch.c (cpp_read_state): Don't save+restore cpp_reader's line. | |
1308 | * cpptrad.c (_cpp_overlay_buffer): Don't save cpp_reader's line. | |
1309 | (copy_comment, _cpp_scan_out_logical_line): Likewise use highest_line. | |
1310 | ||
8efcd34f AM |
1311 | 2004-04-23 Alan Modra <amodra@bigpond.net.au> |
1312 | ||
9344fdb9 | 1313 | PR bootstrap/14992 |
8efcd34f AM |
1314 | * gcc.c (init_gcc_specs): Test USE_LD_AS_NEEDED, not HAVE_LD_AS_NEEDED. |
1315 | * config/linux.h (USE_LD_AS_NEEDED): Define. | |
1316 | * gcc/config/alpha/linux.h (USE_LD_AS_NEEDED): Define. | |
1317 | * gcc/config/arm/linux-elf.h (USE_LD_AS_NEEDED): Define. | |
1318 | * gcc/config/rs6000/linux.h (USE_LD_AS_NEEDED): Define. | |
1319 | * gcc/config/rs6000/linux64.h (USE_LD_AS_NEEDED): Define. | |
1320 | * gcc/config/sh/linux.h (USE_LD_AS_NEEDED): Define. | |
1321 | * gcc/config/sparc/linux.h (USE_LD_AS_NEEDED): Define. | |
1322 | * gcc/config/sparc/linux64.h (USE_LD_AS_NEEDED): Define. | |
1323 | ||
3092d0fc PB |
1324 | 2004-04-22 Per Bothner <per@bothner.com> |
1325 | ||
1326 | * cppinit.c (cpp_read_main_file): Return NULL rather than false. | |
1327 | Fixes PR preprocessor/15067. | |
1328 | ||
e203404e AS |
1329 | 2004-04-23 Andreas Schwab <schwab@suse.de> |
1330 | ||
1331 | * config/ia64/ia64intrin.h: Add intermediate cast to void * to | |
1332 | avoid aliasing warning. | |
1333 | ||
bade3a00 | 1334 | 2004-04-22 Jan Hubicka <jh@suse.cz> |
bdabb153 | 1335 | Mostafa Hagog <mustafa@il.ibm.com> |
bade3a00 JH |
1336 | |
1337 | * cfgloopmanip.c (scale_bbs_frequencies): Use RDIV macro | |
1338 | * cfgloopanal.c (expected_loop_iterations): Change the return value | |
1339 | ||
fb5d4a68 JJ |
1340 | 2004-04-22 Jakub Jelinek <jakub@redhat.com> |
1341 | ||
1342 | * cselib.h (struct elt_loc_list): Remove canon_loc field. | |
1343 | * cselib.c (new_elt_loc_list): Remove canon_loc initialization. | |
1344 | (cselib_invalidate_mem): Remove all canon_loc and canon_x | |
1345 | traces. | |
1346 | ||
b10e5b3a JZ |
1347 | 2004-04-22 Josef Zlomek <zlomekj@suse.cz> |
1348 | ||
1349 | Revert | |
1350 | 2004-04-20 Josef Zlomek <zlomekj@suse.cz> | |
1351 | ||
1352 | * var-tracking.c (variable_part_different_p): Variable parts | |
1353 | differ when the most recent locations differ. | |
1354 | ||
827555ea RS |
1355 | 2004-04-22 Richard Sandiford <rsandifo@redhat.com> |
1356 | ||
1357 | * doc/invoke.texi: Remove the MIPS -membedded-pic option. | |
1358 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): Delete. | |
1359 | (embedded_pic_offset): Delete. | |
1360 | * config/mips/mips.h (MASK_EMBEDDED_PIC): Delete. Shuffle other | |
1361 | MASK_* constants. | |
1362 | (TARGET_EMBEDDED_PIC): Delete. | |
1363 | (TARGET_SWITCHES): Remove -m{no-,}embedded-pic. | |
1364 | (ASM_SPEC): Remove -membedded-pic. | |
1365 | (ASM_OUTPUT_ADDR_DIFF_ELT): Remove embedded-pic handling. | |
1366 | (ASM_OUTPUT_CASE_LABEL): Likewise. | |
1367 | * config/mips/vxworks.h (ASM_SPEC): Remove -membedded-pic. | |
1368 | * config/mips/windiss.h (ASM_SPEC): Likewise. | |
1369 | * config/mips/mips.c (struct machine_function): Remove | |
1370 | embedded_pic_fnaddr_rtx. | |
1371 | (TARGET_ENCODE_SECTION_INFO): Remove override. | |
1372 | (embedded_pic_fnaddr_reg, embedded_pic_offset): Delete. | |
1373 | (override_options): Remove -membedded-pic handling. | |
1374 | (print_operand): Remove handling of '%S'. | |
1375 | (mips_select_section: Remove -membedded-pic handling. | |
1376 | (mips_encode_section_info): Delete. | |
1377 | (mips_output_conditional_branch): Remove mention of -membedded-pic. | |
1378 | * config/mips/mips.md (define_attr length, movsi, movdi, jump): Remove | |
1379 | -membedded-pic handling. | |
1380 | (casesi, casesi_internal, casesi_internal_di, get_fnaddr): Delete. | |
1381 | ||
00ca716b AM |
1382 | 2004-04-22 Alan Modra <amodra@bigpond.net.au> |
1383 | ||
1384 | * var-tracking.c (frame_base_decl): Remove useless GTY. | |
1385 | ||
e4463bf1 AH |
1386 | 2004-04-21 Aldy Hernandez <aldyh@redhat.com> |
1387 | ||
1388 | * config/rs6000/rs6000.c (rs6000_override_options): Error when | |
1389 | user wants altivec and e500 instructions. | |
1390 | ||
e24e0aa7 L |
1391 | 2004-04-21 H.J. Lu <hongjiu.lu@intel.com> |
1392 | ||
1393 | PR target/14813 | |
1394 | * config/ia64/crtend.asm: Move pointer to __do_global_ctors_aux | |
1395 | in .init_array section to ... | |
1396 | * config/ia64/crtbegin.asm: Here. | |
1397 | ||
1398 | * config/ia64/crtend.asm: Mark __do_global_ctors_aux global | |
1399 | and hidden if HAVE_INITFINI_ARRAY is defined. | |
1400 | ||
cb7761f5 JW |
1401 | 2004-04-21 James E Wilson <wilson@specifixinc.com> |
1402 | ||
50d32cf6 JW |
1403 | * config/mips/mips-protos.h (fp_register_operand, lo_operand): Declare. |
1404 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Declare. | |
1405 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): New. | |
1406 | (fp_register_operand, lo_operand): New. | |
1407 | (mips_rtx_costs): Add TUNE_SB1 support. | |
1408 | (mips_issue_rate): Add comment. Add PROCESSOR_SB1 support. | |
1409 | (mips_use_dfa_pipeline_interface): Add PROCESSOR_SB1 support. | |
1410 | (mips_multipass_dfa_lookahead): New. | |
1411 | * config/mips/mips.h (MASK_FP_EXCEPTIONS, TARGET_FP_EXCEPTIONS, | |
1412 | TUNE_SB1): New. | |
1413 | (TARGET_SWITCHES): Add -mfp-exceptions support. | |
1414 | (TARGET_FP_EXCEPTIONS_DEFAULT): New. | |
1415 | (BRANCH_COST): Fix whitespace. | |
1416 | * config/mips/mips.md: Include sb1.md. | |
1417 | * config/mips/sb1.md: New file. | |
1418 | * doc/invoke.texi: Document -mfp-exceptions. | |
1419 | ||
cb7761f5 JW |
1420 | * Makefile.in (fixinc.sh): Don't set or export WARN_CFLAGS. Fix |
1421 | comment. | |
1422 | * fixinc/Makefile.in (FL_LIST): Don't mention WARN_CFLAGS. | |
1423 | (fixincl.o-warn): Delete. | |
1424 | ||
a031e781 AP |
1425 | 2004-04-21 Andrew Pinski <pinskia@physics.uc.edu> |
1426 | ||
1427 | * config/rs6000/rs6000 (print_operand) ['z']: | |
1428 | Change ifdef of TARGET_MACHO to if TARGET_MACHO. | |
1429 | ||
06a6469a DJ |
1430 | 2004-04-21 Daniel Jacobowitz <drow@mvista.com> |
1431 | ||
1432 | * config.gcc: Support --with-arch=iwmmxt for ARM. | |
1433 | ||
665acd1e RK |
1434 | 2004-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1435 | ||
1436 | * expmed.c (expand_mult_highpart_optab): Use narrower version of OP1 | |
1437 | in two more places; remove unneeded force_reg | |
1438 | ||
f9da97f0 AP |
1439 | 2004-04-21 Andrew Pinski <pinskia@physics.uc.edu> |
1440 | ||
1441 | * config/rs6000/rs6000.c (symbol_ref_operand): Remove hack | |
1442 | for TARGET_MACHO. | |
1443 | (print_operand): For TARGET_MACHO check to see if we need a stub | |
1444 | and output one if we need it. | |
de3c6d93 AP |
1445 | |
1446 | PR debug/15033 | |
1447 | * dwarf2out.c (rtl_for_decl_location): Check for NULL | |
1448 | rtl. | |
1449 | ||
75293ad6 JW |
1450 | 2004-04-20 James E Wilson <wilson@specifixinc.com> |
1451 | ||
1452 | * config/ia64/ia64.md (call_value_nogp): Add constraints for op0. | |
1453 | (vall_value_gp): Likewise. | |
1454 | ||
8b495402 | 1455 | 2004-04-20 DJ Delorie <dj@redhat.com> |
7dd7fb88 | 1456 | |
8b495402 DD |
1457 | * dwarf2out.c (rtl_for_decl_location): Adjust rtl for byte |
1458 | variables stored in word registers, then in memory. | |
1459 | ||
77a705e4 EC |
1460 | 2004-04-20 Eric Christopher <echristo@redhat.com> |
1461 | ||
1462 | * cp/parser.c (cp_parser_declaration): Move translate | |
1463 | up before tokens are lexed. | |
1464 | ||
c56122d8 UB |
1465 | 2004-04-20 Uros Bizjak <uros@kss-loka.si> |
1466 | ||
1467 | * optabs.h (enum optab_index): Add new OTI_asin and OTI_acos. | |
1468 | (asin_optab, acos_optab): Define corresponding macros. | |
1469 | * optabs.c (init_optabs): Initialize asin_optab and acos_optab. | |
1470 | * genopinit.c (optabs): Implement asin_optab and acos_optab | |
1471 | using asin?f2 and acos?f2 patterns. | |
1472 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_ASIN{,F,L} | |
1473 | using asin_optab, and BUILT_IN_ACOS{,F,L} using acos_optab. | |
1474 | (expand_builtin): Expand BUILT_IN_ASIN{,F,L} and BUILT_IN_ACOS{,F,L} | |
1475 | using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
1476 | ||
1477 | * config/i386/i386.md (asindf2, asinsf2, asinxf2, acosdf2, | |
1478 | acossf2, acosxf2): New expanders to implement asin, asinf, asinl, | |
1479 | acos, acosf and acosl built-ins as inline x87 intrinsics. | |
1480 | ||
386d3a16 PB |
1481 | 2004-04-20 Paul Brook <paul@codesourcery.com> |
1482 | ||
1483 | * config/arm/arm.c (arm_legitimate_address_p): Use rtx_equal_p. | |
1484 | ||
7aebacee PB |
1485 | 2004-04-20 Paul Brook <paul@codesourcery.com> |
1486 | ||
1487 | * config/arm/arm.c (arm_expand_prologue): Fix size calculation. | |
1488 | ||
a7b1dc36 PB |
1489 | 2004-04-20 Paolo Bonzini <bonzini@gnu.org> |
1490 | ||
1491 | Revert part of 2004-04-17 change that moved -frename-registers | |
1492 | to -O1. -frename-registers is buggy. | |
1493 | ||
1494 | * toplev.c (flag_rename_registers): Initialize to 0. | |
1495 | * doc/invoke.texi (Optimize options): Move -frename-registers | |
1496 | to "Not triggered by any -O level" section. Adjust commentary | |
1497 | accordingly. | |
77a705e4 | 1498 | |
1548580c | 1499 | 2004-04-20 Anil Paranjpe <anilp1@kpitcummins.com> |
57bef48e AP |
1500 | |
1501 | * toplev.c (compile_file): Move targetm.asm_out.file_end call to end. | |
1502 | ||
169304de RS |
1503 | 2004-04-20 Richard Sandiford <rsandifo@redhat.com> |
1504 | ||
1505 | * config/mips/mips.c (mips_legitimize_move): Generate special patterns | |
1506 | for mflo and mfhi instructions. | |
1507 | (mips_output_move): Remove mflo and mfhi handling. | |
1508 | * config/mips/mips.md (UNSPEC_MFHILO): New unspec. | |
1509 | (*mulsidi3_64bit): Update for new mfhi/mflo representation. | |
1510 | Likewise various define_peephole2s. | |
1511 | (*movdi_32bit, *movdi_64bit, *movsi_internal): Merge x<-J and x<-d | |
1512 | alternatives. | |
1513 | (*movdi_64bit, *movdi_64bit_mips16, *mov[shq]i_internal) | |
1514 | (*mov[shq]i_mips16): Remove mflo and mfhi alternatives. | |
1515 | (mfhilo_di, mfhilo_si): New patterns. | |
1516 | ||
c6ca23fb JZ |
1517 | 2004-04-20 Josef Zlomek <zlomekj@suse.cz> |
1518 | ||
1519 | * function.c (assign_parms): Force | |
1520 | MEM_EXPR (DECL_INCOMING_RTL (parm)) == parm. | |
1521 | ||
6f615a28 JZ |
1522 | 2004-04-20 Josef Zlomek <zlomekj@suse.cz> |
1523 | ||
1524 | * var-tracking.c (variable_part_different_p): Variable parts differ | |
1525 | when the most recent locations differ. | |
1526 | ||
a1bac22c JW |
1527 | 2004-04-19 James E Wilson <wilson@specifixinc.com> |
1528 | ||
1529 | * rtl.h (reg_set_last): Delete declaration. | |
1530 | * rtlanal.c (reg_set_last): Delete. | |
1531 | ||
e419fe91 RS |
1532 | 2004-04-19 Roger Sayle <roger@eyesopen.com> |
1533 | ||
1534 | * fold-const.c (fold_convert): Make function extern/public. | |
1535 | * tree.h (fold_convert): Prototype here. | |
1536 | * builtins.c (expand_builtin_strstr, expand_builtin_strchr, | |
1537 | expand_builtin_strrchr, expand_builtin_strpbrk, | |
1538 | expand_builtin_mempcpy, expand_builtin_bcopy, | |
1539 | expand_builtin_bzero, expand_builtin_memcmp, | |
1540 | expand_builtin_strcmp, expand_builtin_strncmp, | |
1541 | stabilize_va_list, expand_builtin_sprintf, | |
1542 | fold_trunc_transparent_mathfn, fold_builtin_logarithm, | |
1543 | fold_builtin_exponent, fold_builtin_mempcpy, | |
1544 | fold_builtin_strcpy, fold_builtin_strcmp, fold_builtin_strncmp, | |
1545 | fold_builtin_signbit, fold_builtin_isdigit, fold_builtin): Prefer | |
1546 | fold_convert to "convert" or "fold (build1 (NOP_EXPR, ...))". | |
1547 | ||
423c1189 AH |
1548 | 2004-04-19 Aldy Hernandez <aldyh@redhat.com> |
1549 | ||
7dd7fb88 ZW |
1550 | * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): New constant. |
1551 | (move_from_CR_gt_bit): New. | |
1552 | (cceq_ior_compare): Name previously unnamed pattern. Disable for | |
1553 | E500. | |
1554 | (cceq_rev_compare): Name previously unnamed pattern. Allow for | |
1555 | E500. | |
1556 | ||
1557 | * config/rs6000/spe.md (cmpsfeq_gpr): Rewrite as unspec. | |
1558 | (tstsfeq_gpr): Same. | |
1559 | (cmpsfgt_gpr): Same. | |
1560 | (tstsfgt_gpr): Same. | |
1561 | (cmpsflt_gpr): Same. | |
1562 | (tstsflt_gpr): Same. | |
1563 | (e500_cceq_ior_compare): New. | |
1564 | (e500_flip_gt_bit): New. | |
1565 | ||
1566 | * config/rs6000/rs6000.c (ccr_bit): Remove E500 specific code. | |
1567 | (print_operand): Add 'c' and 'D'. | |
1568 | (rs6000_generate_compare): Rewrite to generate correct rtl. | |
1569 | (rs6000_emit_sCOND): Handle E500. | |
1570 | (output_cbranch): Adjust for changes in rs6000_generate_compare. | |
1571 | (output_e500_flip_gt_bit): New. | |
1572 | ||
1573 | * config/rs6000/rs6000-protos.h (output_e500_flip_gt_bit): | |
1574 | Protoize. | |
423c1189 | 1575 | |
d2beeae7 EC |
1576 | 2004-04-19 Eric Christopher <echristo@redhat.com> |
1577 | ||
1578 | * config/mips/mips.h (DWARF2_ADDR_SIZE): New. | |
1579 | ||
06e7f299 DE |
1580 | 2004-04-19 David Edelsohn <edelsohn@gnu.org> |
1581 | ||
1582 | * doc/install.texi (*-ibm-aix*): Add AIX 5.1 assembler and archiver | |
1583 | fix information. | |
d2beeae7 | 1584 | |
8df5a2b4 RO |
1585 | 2004-04-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1586 | ||
1587 | * doc/install.texi (Specific, mips-sgi-irix5): Fix IRIX 5.3 IDO | |
1588 | download URL. | |
1589 | ||
9ca75f15 DJ |
1590 | 2004-04-19 Daniel Jacobowitz <drow@mvista.com> |
1591 | ||
1592 | * stor-layout.c (layout_decl): Check DECL_PACKED before calling | |
1593 | ADJUST_FIELD_ALIGN. Check maximum_field_alignment after. | |
1594 | ||
4b493aa5 AP |
1595 | 2004-04-19 Andrew PInski <pinskia@physics.uc.edu> |
1596 | ||
66a5d24b AP |
1597 | * builtins.c (fold_builtin_cabs): Remove fndecl parameter. |
1598 | (fold_builtin): Update caller to match. | |
1599 | ||
4b493aa5 AP |
1600 | PR bootstrap/15009 |
1601 | * bb-reorder.c (fix_up_fall_thru_edges): Init cond_jump. | |
1602 | ||
1603 | PR bootstrap/14999 | |
1604 | * builtins.c (fold_builtin_cabs): Mark fndecl as unused. | |
1605 | ||
3d8f2528 RK |
1606 | 2004-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1607 | ||
a3d71605 RK |
1608 | * varasm.c (compare_constant, case VIEW_CONVERT_EXPR): Add case. |
1609 | ||
3d8f2528 RK |
1610 | * expmed.c (expand_mult_highpart_adjust): Make OP1 valid for MODE. |
1611 | (expand_mult_highpart_optab): Likewise. | |
1612 | (expand_mult_highpart): Make OP1 valid for WIDER_MODE, not MODE. | |
1613 | ||
6f6c1f6d PB |
1614 | 2004-04-19 Paul Brook <paul@codesourcery.com> |
1615 | ||
1616 | * config/arm/arm.md (fixuns_truncsfsi2, fixuns_truncdfsi2, | |
1617 | floatunssisf2, floatunssidf2): New patterns. | |
1618 | ||
fea77ed9 MM |
1619 | 2004-04-18 Mark Mitchell <mark@codesourcery.com> |
1620 | ||
33adcb6c MM |
1621 | PR other/14918 |
1622 | * doc/invoke.texi (-fprofile-generate): Document requirement to | |
1623 | use -fprofile-generate when linking. | |
1624 | ||
fea77ed9 MM |
1625 | * doc/extend.texi (Strong Using): Warn users against using this |
1626 | feature. | |
1627 | ||
76cbf5bf RS |
1628 | 2004-04-18 Richard Sandiford <rsandifo@redhat.com> |
1629 | ||
1630 | * config/mips/mips-protos.h (m16_usym8_4, m16_usym5_4): Delete. | |
1631 | * config/mips/mips.h (mips_entry, mips_string_length): Delete. | |
1632 | (CONSTANT_POOL_BEFORE_FUNCTION, ASM_OUTPUT_POOL_EPILOGUE): Undefine. | |
1633 | * config/mips/mips.c (struct mips16_constant): Renamed from struct | |
1634 | constant. Propogate change throughout file. | |
1635 | (struct machine_function): Remove insns_len. | |
1636 | (mips_string_length, mips16_strings, string_constants): Delete. | |
1637 | (mips_classify_symbol): Return SYMBOL_CONSTANT_POOL for LABEL_REFs | |
1638 | when generating mips16 code. Remove special mips16 treatment of | |
1639 | string constants. | |
1640 | (mips_symbolic_constant_p): Allow mips16 constant pool accesses | |
1641 | to have the form LABEL+CONSTANT. | |
1642 | (mips_symbolic_address_p): Fix comment. | |
1643 | (m16_usym8_4, m16_usym5_4): Delete. | |
1644 | (mips_output_function_epilogue): Remove mips16 string handling. | |
1645 | (mips_output_mi_thunk): Call mips16_lay_out_constants. | |
1646 | (mips_select_section, mips_encode_section_info): Remove mips16 | |
1647 | string handling. | |
1648 | (struct mips16_constant_pool): New. | |
1649 | (add_constant): Take a mips16_constant_pool structure. Keep pool | |
1650 | sorted into order of ascending mode size. Keep track of the highest | |
1651 | possible start address, taking padding and the masking of the base PC | |
1652 | value into account. | |
1653 | (dump_constants_1): New function, split out from dump_constants. | |
1654 | Handle vector constants. Use gen_consttable_{int,float} rather than | |
1655 | separate functions for each mode. | |
1656 | (dump_constants): Simplify. Use GET_MODE_ALIGNMENT. Use gen_align | |
1657 | rather than separate functions for each alignment. | |
1658 | (mips_find_symbol): Delete. | |
1659 | (mips16_insn_length): New function, split out from | |
1660 | mips16_lay_out_constants. | |
1661 | (mips16_rewrite_pool_refs): New function. | |
1662 | (mips16_lay_out_constants): Rework. Remove string handling. | |
1663 | Always create an inline constant pool. | |
1664 | * config/mips/mips.md (UNSPEC_CONSTTABLE_INT, UNSPEC_CONSTTABLE_FLOAT) | |
1665 | (UNSPEC_ALIGN): New constants. | |
1666 | (UNSPEC_CONSTTABLE_[QHSD]I, UNSPEC_CONSTTABLE_[SD]F): Delete. | |
1667 | (UNSPEC_ALIGN_[248]): Delete. | |
1668 | (consttable_int, consttable_float, align): New patterns. | |
1669 | (consttable_[qhsd]i, consttable_[sd]f, align_[248]): Delete. | |
1670 | ||
8d33585c AH |
1671 | 2004-04-17 Aldy Hernandez <aldyh@redhat.com> |
1672 | ||
1673 | * config/rs6000/altivec.h (vec_any_numeric): Correct typo in | |
1674 | __unn_args_eq. | |
1675 | ||
03e007d7 AM |
1676 | 2004-04-17 Alan Modra <amodra@bigpond.net.au> |
1677 | ||
1678 | PR target/14715 | |
1679 | * config/rs6000/rs6000.c (rs6000_stack_info): Make parm_size agree | |
1680 | with STARTING_FRAME_OFFSET. | |
1681 | ||
3bd06df7 RS |
1682 | 2004-04-17 Richard Sandiford <rsandifo@redhat.com> |
1683 | ||
1684 | * config/mips/mips.h (PREDICATE_CODES): Add macc_msac_operand. | |
1685 | * config/mips/mips.c (macc_msac_operand): New function. | |
1686 | * config/mips/mips.md (*msac): Move after *macc. | |
1687 | (*msac2): New. Generalize macc-related peepholes so that they apply | |
1688 | to msac too. | |
1689 | ||
38d396e5 PB |
1690 | 2004-04-17 Paolo Bonzini <bonzini@gnu.org> |
1691 | ||
1692 | * opts.c (decode_options): Do not enable flag_rename_registers | |
1693 | and flag_web at -O3. | |
1694 | * toplev.c (flag_rename_registers): Initialize | |
1695 | flag_rename_registers and flag_web to | |
1696 | AUTODETECT_FLAG_VAR_TRACKING. | |
1697 | (default_debug_hooks): New global. | |
1698 | (process_options): Initialize default_debug_hooks. Warn if | |
1699 | -fvar-tracking specified but not supported by the current | |
1700 | debug format. Do not run var tracking at -O0 or if not | |
1701 | supported by the current debug format, even if | |
1702 | -fvar-tracking was given. If -fno-rename-registers | |
1703 | is not specified, always run register renaming if var | |
1704 | tracking is supported by the default debugging information | |
1705 | format for the target, and we are at -O1 or higher; similarly | |
1706 | for -fweb, but only at -O2 or higher. | |
1707 | * doc/invoke.texi (Optimize Options): Document this. | |
1708 | ||
82e923f6 RS |
1709 | 2004-04-17 Richard Sandiford <rsandifo@redhat.com> |
1710 | ||
1711 | * configure.ac (gcc_cv_ld_as_needed): Use AC_CACHE_CHECK. | |
1712 | * configure: Regenerate. | |
1713 | ||
f645e2bd RS |
1714 | 2004-04-17 Richard Sandiford <rsandifo@redhat.com> |
1715 | ||
1716 | * gcc.c (used_arg): Check whether an option has been removed. | |
1717 | ||
04db08db RO |
1718 | 2004-04-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1719 | ||
1720 | * config.gcc (i[34567]86-*-solaris2*): Default to DWARF-2 | |
1721 | debugging on Solaris 7 and up. | |
1722 | ||
7e270317 RO |
1723 | 2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1724 | ||
1725 | * doc/install.texi (Specific, mips-sgi-irix5): Reflect working | |
1726 | IRIX 5 port. | |
1727 | Remove -save-temps workaround, handled automatically. | |
1728 | Require GNU binutils 2.15 for debugging. | |
1729 | Remove SGI make warnings since GNU make is now required. | |
1730 | (Specific, mips-sgi-irix6): Some markup fixes. | |
1731 | Describe MIPSpro C problems and workarounds. | |
1732 | Mention working O32 ABI support. | |
1733 | Recommend GNU as 2.15 for O32 with debugging. | |
1734 | Remove description of fixed structure pass/return bug. | |
1735 | ||
2d49ce67 DD |
1736 | 2004-04-16 DJ Delorie <dj@redhat.com> |
1737 | ||
1738 | * sdbout.c (sdbout_one_type): Use TYPE_VALUES for enums, not | |
1739 | TYPE_FIELDS. | |
1740 | (sdbout_finish): Don't free deferred_global_decls; it's GC'd. | |
1741 | ||
41067a2f JDA |
1742 | 2004-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1743 | ||
e6b75edc JDA |
1744 | * pa.md: Remove unnecessary declarations for asm_out_file. |
1745 | ||
7945b276 JDA |
1746 | * pa64-regs.h (DBX_REGISTER_NUMBER): Simplify and correct mapping of |
1747 | SAR register. Fix comment. | |
1748 | (ADDITIONAL_REGISTER_NAMES): Correct register number of SAR register | |
1749 | (%cr11). | |
1750 | ||
41067a2f JDA |
1751 | * pa64-hpux.h (LIB_SPEC): Fix library specification used with GNU ld. |
1752 | ||
c805f22e NC |
1753 | 2004-04-16 Nick Clifton <nickc@redhat.com> |
1754 | ||
1755 | * config/arm/arm.c (arm_override_options): Revert previous patch. | |
1756 | * config/arm/t-xscale-elf: Disable iwmmxt multilibs until they can | |
1757 | be safely built. | |
1758 | ||
8a897efe KI |
1759 | 2004-04-16 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com> |
1760 | ||
1761 | * config/m32r/m32r.h (BIG_ENDIAN_BIT): Deleted to fix endian | |
1762 | bug. | |
1763 | (TARGET_LITTLE_ENDIAN, TARGET_BIG_ENDIAN, | |
1764 | TARGET_DEFAULT): Changed. Ditto. | |
1765 | (LITTLE_ENDIAN_BIT, TARGET_CPU_DEFAULT, | |
1766 | TARGET_ENDIAN_DEFAULT): Added. Ditto. | |
1767 | * config/m32r/little.h (TARGET_LITTLE_ENDIAN): Deleted. | |
1768 | (TARGET_ENDIAN_DEFAULT): Added. | |
1769 | ||
b069dd3f KG |
1770 | 2004-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1771 | ||
1772 | * builtins.def (BUILT_IN_ISDIGIT, BUILT_IN_ISXDIGIT): Mark with | |
1773 | ATTR_CONST_NOTHROW_LIST. | |
1774 | ||
df28deda KG |
1775 | 2004-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1776 | ||
1777 | PR/middle-end 14915 | |
1778 | * builtins.c (expand_builtin_signbit): Test BYTES_BIG_ENDIAN, not | |
1779 | BITS_BIG_ENDIAN. | |
1780 | ||
c87fbb0a PH |
1781 | 2004-04-15 Pat Haugen <pthaugen@us.ibm.com> |
1782 | ||
1783 | * ra-debug.c (ra_print_rtx): Add break's to case legs. | |
1784 | ||
ea7b98d0 JW |
1785 | 2004-04-14 James E Wilson <wilson@specifixinc.com> |
1786 | ||
1787 | * Makefile.in (fixinc.sh): Set WARN_CFLAGS to empty string. | |
1788 | ||
69f9a345 NN |
1789 | 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org> |
1790 | ||
1791 | * libada-mk.in: New file. | |
1792 | * configure.ac: Create libada-mk from libada-mk.in. | |
1793 | * configure: Regenerate. | |
1794 | ||
88b28a31 UB |
1795 | 2004-04-14 Uros Bizjak <uros@kss-loka.si> |
1796 | ||
1797 | * optabs.h (enum optab_index): Add new OTI_logb and OTI_ilogb. | |
1798 | (logb_optab, ilogb_optab): Define corresponding macros. | |
1799 | * optabs.c (init_optabs): Initialize logb_optab and ilogb_optab. | |
1800 | * genopinit.c (optabs): Implement logb_optab and ilogb_optab | |
1801 | using logb?f2 and ilogb?i2 patterns. | |
1802 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOGB{,F,L} | |
1803 | using logb_optab, and BUILT_IN_ILOGB{,F,L} using ilogb_optab. | |
1804 | (expand_builtin): Expand BUILT_IN_LOGB{,F,L} and BUILT_IN_ILOGB{,F,L} | |
1805 | using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
1806 | ||
1807 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_XTRACT_FRACT | |
1808 | and UNSPEC_XTRACT_EXP. | |
1809 | ||
1810 | * config/i386/i386.md (*fxtractdf3, *fxtractsf3, *fxtractxf3): New | |
1811 | patterns to implement fxtract x87 instruction. | |
1812 | (logbdf2, logbsf2, logbxf2, ilogbsi2): New expanders to implement | |
1813 | logb, logbf, logbl, ilogb, ilogbf and ilogbl built-ins as inline x87 | |
1814 | intrinsics. | |
1815 | (UNSPEC_XTRACT_FRACT, UNSPEC_XTRACT_EXP): New unspecs to represent | |
1816 | x87's fxtract insn. | |
1817 | ||
ec6e4092 EC |
1818 | 2004-04-14 Eric Christopher <echristo@redhat.com> |
1819 | ||
1820 | * config/mips/t-elf: Enable multilibs by default. | |
1821 | ||
ef482a86 AT |
1822 | 2004-04-14 Andreas Tobler <a.tobler@schweiz.ch> |
1823 | ||
1824 | * bb-reorder.c (fix_crossing_conditional_branches): Adjust the | |
1825 | previous fix to check HAVE_return at runtime too. | |
1826 | ||
cd2b7af0 NC |
1827 | 2004-04-14 Nick Clifton <nickc@redhat.com> |
1828 | ||
1829 | * config/arm/arm.c (arm_override_options): If the user has not | |
1830 | specified an ABI, then default to AAPCS for the iWMMXt processor. | |
1831 | * config/arm/t-xscale-elf: Remove redundant multilib specifications. | |
1832 | * config/arm/t-xscale-coff: Likewise. | |
1833 | ||
61218d19 KG |
1834 | 2004-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1835 | ||
1836 | * builtins.c (fold_builtin_isdigit): New. | |
1837 | (fold_builtin): Handle BUILT_IN_ISDIGIT. | |
1838 | * defaults.h: Add TARGET_DIGIT0 and sort. | |
1839 | * doc/tm.texi: Add TARGET_BS and TARGET_DIGIT0. | |
1840 | ||
a69934e0 KG |
1841 | 2004-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1842 | ||
1843 | * builtins.c (fold_builtin_cabs, fold_builtin): Use | |
1844 | `mathfn_built_in' to determine the new builtin. | |
1845 | * fold-const.c (fold): Likewise. | |
1846 | ||
74b9f2d5 RS |
1847 | 2004-04-14 Richard Sandiford <rsandifo@redhat.com> |
1848 | ||
1849 | * doc/invoke.texi: Rename MIPS's -mfix-vr4122-bugs to -mfix-vr4120. | |
1850 | * config/mips/mips.h (MASK_FIX_VR4120): Renamed from MASK_FIX_VR4122. | |
1851 | (TARGET_FIX_VR4120): Likewise TARGET_FIX_VR4122. | |
1852 | (TARGET_SWITCHES): Replace -mfix-vr4122-bugs with -mfix-vr4120. | |
1853 | (ASM_SPEC): Update accordingly. | |
1854 | * config/mips/mips.c: Update after above renaming. | |
1855 | * config/mips/mips.md, config/mips/t-vr, config/mips/vr.h: Likewise. | |
1856 | * config/mips/vr4120-div.S: Renamed from vr4122-div.S. | |
1857 | ||
540554f4 JW |
1858 | 2004-04-13 James E Wilson <wilson@specifixinc.com> |
1859 | ||
1860 | * c-opt.c (c_common_post_options): If this_input_filename is NULL, | |
1861 | increment errorcount and return false instead of true. | |
1862 | ||
a072d43b UB |
1863 | 2004-04-13 Uros Bizjak <uros@kss-loka.si>: |
1864 | ||
1865 | * optabs.c (expand_twoval_unop): Reorder function arguments. | |
1866 | * builtins.c (expand_builtin_mathfn_3): Update calls to | |
1867 | expand_twoval_unop. | |
1868 | ||
1869 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_TAN_ONE | |
1870 | and UNSPEC_TAN_TAN. Add missing comment. | |
1871 | ||
1872 | * config/i386/i386.md (*tandf3_1, *tansf3_1, *tanxf3_1): New | |
1873 | patterns to implement fptan x87 instruction. | |
1874 | (tandf2, tansf2, tanxf2): New expanders to implement tan, tanf | |
1875 | and tanl built-ins as inline x87 intrinsics. Define corresponding | |
1876 | peephole2 optimizers for 'fptan; fstp %st(0); fld1' sequence. | |
1877 | (UNSPEC_TAN_ONE, UNSPEC_TAN_TAN): New unspecs to represent | |
1878 | x87's fptan insn. | |
1879 | ||
b50b729d RH |
1880 | 2004-03-13 Richard Henderson <rth@redhat.com> |
1881 | ||
1882 | * bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode | |
1883 | for LABEL_REFs. | |
1884 | ||
3a4bdd05 RH |
1885 | * defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot. |
1886 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise. | |
1887 | * doc/invoke.texi: Update to match. | |
1888 | ||
73ad3de5 RH |
1889 | * varasm.c (unlikely_text_section): Use assemble_align instead of |
1890 | ASM_OUTPUT_ALIGN. Use it in the correct place with an approximately | |
1891 | correct alignment argument. | |
1892 | ||
9532c14f UW |
1893 | 2004-04-13 Ulrich Weigand <uweigand@de.ibm.com> |
1894 | ||
1895 | * reload1.c (emit_reload_insns): Set reg_has_output_reload to one | |
1896 | after setting reg_last_reload_reg for optional output reloads. | |
1897 | ||
3d3947a9 FJ |
1898 | 2004-04-12 Fariborz Jahanian <fjahanian@apple.com> |
1899 | ||
1900 | * config/rs6000/altivec.h (vec_mergeh, vec_mergel): | |
1901 | Definition of these two macros are corrected by adding | |
1902 | matchine right paren. | |
1903 | ||
f778cbf0 JL |
1904 | 2004-04-12 Jonathan Larmour <jifl@eCosCentric.com> |
1905 | ||
1906 | * fix-header.c: kill(), putenv() and tzset() are POSIX not ANSI. | |
1907 | ||
5ea9cb6e RS |
1908 | 2004-04-12 Roger Sayle <roger@eyesopen.com> |
1909 | ||
1910 | * config/i386/i386.c (output_387_reg_move): New function. | |
1911 | * config/i386/i386-protos.h (output_387_reg_move): Prototype here. | |
1912 | * config/i386/i386.md (*movsf_1, *movsf1_nointerunit, | |
1913 | *movdf_nointeger, *movdf_integer, *movxf_nointeger, *movxf_integer, | |
1914 | *extendsfdf2_1, *extendsfxf2_1, *extenddfxf2_1, truncdfsf2_noop, | |
1915 | truncxfsf2_noop, truncxfdf2_noop): Call output_387_reg_move. | |
1916 | ||
1c9766da RK |
1917 | 2004-04-12 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1918 | ||
1919 | * c-decl.c (finish_decl): Make a decl_stmt for a variable-sized | |
1920 | TYPE_DECL. | |
1921 | * c-semantics.c (genrtl_decl_stmt): Handle TYPE_DECL. | |
1922 | * stmt.c (expand_decl): Remove redundant expansion of TYPE_DOMAIN. | |
1923 | * stor-layout.c (variable_size): Don't check for MINUS_EXPR. | |
1924 | Use skip_simple_arithmetic to find SAVE_EXPR. | |
1925 | (force_type_save_exprs, force_type_save_exprs_1): New functions. | |
1926 | * tree-inline.c (remap_type, case POINTER_TYPE, case REFERENCE_TYPE): | |
1927 | Properly chain multiple pointers. | |
1928 | (copy_tree_r): Copy a TYPE_DECL. | |
1929 | * tree.c (variably_modified_type_p): Add some missing tests and | |
1930 | make some other minor changes. | |
1931 | * tree.h (force_type_save_exprs): New declaration. | |
1932 | ||
1e9b78b0 RS |
1933 | 2004-04-12 Roger Sayle <roger@eyesopen.com> |
1934 | ||
1935 | * simplify-rtx.c (simplify_binary_operation) <UDIV, DIV, UMOD, MOD>: | |
1936 | Remove fall throughs. Convert 0/x and 0%x into x&0 when x has | |
1937 | side-effects. Don't convert x/1.0 into x if we honor signaling NaNs. | |
1938 | Convert x/-1.0 into -x if we don't honor signaling NaNs. Convert | |
1939 | x/-1 into -x. Optimize x%1 into x&0 if x has side-effects. Optimize | |
1940 | x%-1 into 0 (or x&0 if x has side-effects). | |
1941 | ||
fef98bf2 AH |
1942 | 2004-04-11 Aldy Hernandez <aldyh@redhat.com> |
1943 | ||
1944 | * config/rs6000/rs6000.md: Document why a pattern is not | |
1945 | available. | |
1946 | ||
1947 | * config/rs6000/rs6000.c (rs6000_emit_cmove): Disable comparisons | |
1948 | of floats on the E500. | |
1949 | (branch_positive_comparison_operator): Do not allow NE even on the | |
1950 | E500. | |
1951 | ||
642af3be AH |
1952 | 2004-04-11 Aldy Hernandez <aldyh@redhat.com> |
1953 | ||
1954 | * config/rs6000/rs6000.c (rs6000_assemble_integer): Change | |
1955 | in_text_unlikely_section to in_unlikely_text_section. | |
1956 | ||
b3e65ebb RS |
1957 | 2004-04-11 Roger Sayle <roger@eyesopen.com> |
1958 | ||
1959 | * fold-const.c (fold_binary_op_with_conditional_arg): Tweak | |
1960 | calling convention to allow a NULL_TREE to be returned. Factor | |
1961 | sanity checks from callers, return NULL_TREE when appropriate. | |
1962 | (fold): Handle COMPOUND_EXPR operands of binary expressions | |
1963 | before COND_EXPR operands. Use reorder_operands_p(a,b) to check | |
1964 | whether a op (b,c) can be rewritten as (b, a op c). Simplify | |
1965 | calls to fold_binary_op_with_conditional_arg. | |
1966 | ||
19d33948 KG |
1967 | 2004-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1968 | ||
1969 | * config/mips/iris5.h (current_section_flags): Add | |
1970 | in_unlikely_executed_text and default case. | |
1971 | ||
cf22ce3c AT |
1972 | 2004-04-11 Andreas Tobler <a.tobler@schweiz.ch> |
1973 | ||
1974 | * bb-reorder.c (fix_crossing_conditional_branches): Fix bootstrap | |
1975 | failure on solaris. Place ifdef HAVE_return around gen_ret call. | |
1976 | * cfgrtl.c (force_nonfallthru_and_redirect): Remove ifdef | |
1977 | HAVE_return and place it around the place where it is needed. | |
1978 | ||
34982294 AP |
1979 | 2004-04-11 Andrew Pinski <pinskia@physics.uc.edu> |
1980 | ||
1981 | * varasm.c (text_section): Use TEXT_SECTION_ASM_OP and | |
1982 | ASM_OUTPUT_ALIGN instead of SECTION_FORMAT_STRING | |
1983 | and NORMAL_TEXT_SECTION_NAME. | |
1984 | (unlikely_text_section): Check targetm.have_named_sections | |
1985 | instead of TARGET_ASM_NAMED_SECTION and use TEXT_SECTION_ASM_OP | |
1986 | instead of SECTION_FORMAT_STRING. | |
1987 | * config/mips/iris5.h (current_section_name): Add | |
1988 | in_unlikely_executed_text case and move the abort into the switch. | |
1989 | * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME): Remove. | |
1990 | (NORMAL_TEXT_SECTION_NAME): Remove. | |
1991 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove. | |
1992 | (SECTION_FORMAT_STRING): Remove. | |
1993 | * defaults.h (SECTION_FORMAT_STRING): Remove. | |
1994 | * tm.texi (NORMAL_TEXT_SECTION_NAME): Remove. | |
1995 | (SECTION_FORMAT_STRING): Remove. | |
1996 | ||
c7e1876b JM |
1997 | 2004-04-10 Joseph S. Myers <jsm@polyomino.org.uk> |
1998 | ||
1999 | * c-typeck.c (common_type): Prefer long long to long when same | |
2000 | precision. | |
2001 | ||
7c3ac422 ZW |
2002 | 2004-04-09 Zack Weinberg <zack@codesourcery.com> |
2003 | ||
2004 | PR 14887 | |
2005 | * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Look only at | |
2006 | mode argument. | |
2007 | * config/ia64/ia64.c (ia64_hpux_file_end): Check | |
2008 | TREE_SYMBOL_REFERENCED on DECL_ASSEMBLER_NAME, not DECL_NAME. | |
2009 | ||
0b24db88 RS |
2010 | 2004-04-09 Roger Sayle <roger@eyesopen.com> |
2011 | ||
2012 | * simplify-rtx.c (mode_signbit_p): New function to check whether | |
2013 | an RTX is an immediate constant that represents the most significant | |
2014 | bit of a given machine mode. | |
2015 | (simplify_unary_operation) <NOT>: Optimize ~(X+C) as X ^ ~C, where | |
2016 | C is the sign bit. | |
2017 | (simplify_binary_operation) <PLUS>: Optimize (X^C1) + C2 as X^(C1^C2) | |
2018 | when C2 is the sign bit. | |
2019 | (simplify_binary_operation) <XOR>: Canonicalize X^C as X+C when C | |
2020 | is the sign bit. Optimize (X+C1) ^ C2 as X^(C1^C2) when C1 is the | |
2021 | sign bit. | |
2022 | ||
ce58118c KG |
2023 | 2004-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2024 | ||
2025 | * builtins.c (mathfn_built_in): Check TYPE_MAIN_VARIANT, not | |
2026 | TYPE_MODE. | |
2027 | ||
c29726e2 AP |
2028 | 2004-04-09 Andrew Pinski <pinskia@physics.uc.edu> |
2029 | ||
2030 | * c-common.c (handle_noreturn_attribute): Use TYPE_READONLY instead | |
2031 | of TREE_READONLY for types. | |
2032 | ||
750054a2 CT |
2033 | 2004-04-09 Caroline Tice <ctice@apple.com> |
2034 | ||
7c3ac422 | 2035 | * basic-block.h (struct edge_def): Add new field, crossing_edge. |
750054a2 CT |
2036 | (struct basic_block_def): Add new field, partition. |
2037 | (UNPARTITIONED, HOT_PARTITION, COLD_PARTITION): New constant macro | |
2038 | definitions. | |
7c3ac422 | 2039 | (partition_hot_cold_basic_blocks): Add extern function |
750054a2 | 2040 | declaration. |
7c3ac422 | 2041 | * bb-reorder.c (function.h, obstack.h, expr.h, regs.h): Add four new |
750054a2 CT |
2042 | include statements. |
2043 | (N_ROUNDS): Increase the maximum number of rounds by 1. | |
2044 | (branch_threshold): Add array value for new round. | |
2045 | (exec_threshold): Add array value for new round. | |
2046 | (push_to_next_round_p): New function. | |
2047 | (add_unlikely_executed_notes): New function. | |
2048 | (find_rarely_executed_basic_blocks_and_crossing_edges): New function. | |
2049 | (mark_bb_for_unlikely_executed_section): New function. | |
2050 | (add_labels_and_missing_jumps): New function. | |
2051 | (add_reg_crossing_jump_notes): New function. | |
2052 | (fix_up_fall_thru_edges): New function. | |
2053 | (find_jump_block): New function. | |
2054 | (fix_crossing_conditional_branches): New function. | |
2055 | (fix_crossing_unconditional_branches): New function. | |
2056 | (fix_edges_for_rarely_executed_code): New function. | |
2057 | (partition_hot_cold_basic_blocks): New function. | |
2058 | (find_traces): Add an extra round for partitioning hot/cold | |
2059 | basic blocks. | |
2060 | (find_traces_1_round): Add a parameter. Modify to push all cold blocks, | |
2061 | and only cold blocks, into the last (extra) round of collecting traces. | |
7c3ac422 | 2062 | (better_edge_p): Add a parameter. Modify to favor non-crossing edges |
750054a2 | 2063 | over crossing edges. |
7c3ac422 | 2064 | (bb_to_key): Add code to correctly identify cold blocks when |
750054a2 CT |
2065 | doing partitioning. |
2066 | (connect_traces): Modify to connect all the non-cold traces first, then | |
2067 | go back and connect up all the cold traces. | |
2068 | (reorder_basic_blocks): Add call to add_unlikely_executed_notes. | |
2069 | * cfg.c (entry_exit_blocks): Add initialization for partition field in | |
2070 | entry and exit blocks. | |
7c3ac422 | 2071 | * cfgbuild.c (make_edges): Update current_function_has_computed_jump |
750054a2 CT |
2072 | if we are doing hot/cold partitioning. |
2073 | * cfgcleanup.c (cfglayout.h): Add new include statement. | |
7c3ac422 | 2074 | (try_simplify_condjump): Modify to not attempt on blocks with jumps |
750054a2 CT |
2075 | that cross section boundaries. |
2076 | (try_forward_edges): Likewise. | |
2077 | (merge_blocks_move_predecessor_nojumps): Likewise. | |
2078 | (merge_blocks_move_successor_nojumps): Likewise. | |
2079 | (merge_blocks_move): Likewise. | |
2080 | (try_crossjump_to_edge): Modify to not attempt after we have done | |
2081 | the block partitioning. | |
2082 | (try_crossjump_bb): Modify to not attempt on blocks with jumps that | |
2083 | cross section boundaries. | |
2084 | (try_optimize_cfg): Likewise. | |
2085 | * cfghooks.c (tidy_fallthru_edges): Modify to not remove indirect | |
2086 | jumps that cross section boundaries. | |
7c3ac422 | 2087 | * cfglayout.c (flags.h): Add new include statement. |
750054a2 | 2088 | (update_unlikely_executed_notes): New function. |
7c3ac422 ZW |
2089 | (fixup_reorder_chain): Add code so when a new jumping basic block is |
2090 | added, it's UNLIKELY_EXECUTED_CODE and REG_CROSSING_JUMP notes are | |
750054a2 CT |
2091 | updated appropriately. |
2092 | (duplicate_insn_chain): Add code to duplicate the new NOTE insn | |
2093 | introduced by this optimization. | |
7c3ac422 ZW |
2094 | * cfglayout.h (scan_ahead_for_unlikely_executed_note): Add new |
2095 | extern function declaration. | |
750054a2 CT |
2096 | * cfgrtl.c (can_delete_note_p): Add NOTE_INSN_UNLIKELY_EXECUTED_CODE to |
2097 | list of notes that can be deleted. | |
2098 | (create_basic_block_structure): Add initialization for partition field. | |
2099 | (rtl_can_merge_blocks): Modify to test blocks for jumps that cross | |
2100 | section boundaries. | |
2101 | (try_redirect_by_replacing_jump): Modify to not attempt on jumps that | |
2102 | cross section boundaries. | |
2103 | (commit_one_edge_insertion): Add code so newly created basic block | |
7c3ac422 | 2104 | ends up in correct (hot or cold) section. Modify to disallow |
750054a2 CT |
2105 | insertions before NOTE_INSN_UNLIKELY_EXECUTED_CODE notes. |
2106 | (rtl_verify_flow_info_1): Add code to verify that no fall_thru edge | |
2107 | crosses section boundaries. | |
2108 | (cfg_layout_can_merge_blocks_p): Modify to test blocks for jumps that | |
2109 | cross section boundaries. | |
2110 | (force_nonfallthru_and_redirect): Modify to make sure new basic block | |
2111 | ends up in correct section, with correct notes attached. | |
7c3ac422 ZW |
2112 | * common.opt (freorder-blocks-and-partition): Add new flag for this |
2113 | optimization. | |
2114 | * dbxout.c (dbx_function_end): Add code to make sure scope labels at | |
2115 | the end of functions are written into the correct (hot or cold) | |
2116 | section. | |
750054a2 CT |
2117 | (dbx_source_file): Add code so writing debug file information |
2118 | doesn't incorrectly change sections. | |
7c3ac422 | 2119 | * defaults.h (NORMAL_TEXT_SECTION_NAME): New constant macro, for use |
750054a2 | 2120 | in partitioning hot/cold basic blocks into separate sections. |
7c3ac422 | 2121 | (SECTION_FORMAT_STRING): New constant macro, for linux/i386 hot/cold |
750054a2 CT |
2122 | section partitioning. |
2123 | (HAS_LONG_COND_BRANCH): New constant macro, indicating whether or not | |
2124 | conditional branches can span all of memory. | |
2125 | (HAS_LONG_UNCOND_BRANCH): New constant macro, indicationg whether or not | |
2126 | unconditional branches can span all of memory. | |
7c3ac422 ZW |
2127 | * final.c (scan_ahead_for_unlikely_executed_note): New function. |
2128 | (final_scan_insn): Add code to check for NOTE instruction indicating | |
2129 | whether basic block belongs in hot or cold section, and to make sure | |
2130 | the current basic block is being written to the appropriate section. | |
2131 | Also added code to ensure that jump table basic blocks end up in the | |
2132 | correct section. | |
2133 | * flags.h (flag_reorder_blocks_and_partition): New flag. | |
750054a2 CT |
2134 | * ifcvt.c (find_if_case_1): Modify to not attempt if conversion if |
2135 | one of the branches has a jump that crosses between sections. | |
2136 | (find_if_case_2): Likewise. | |
7c3ac422 | 2137 | (ifcvt): Modify to not attempt to mark loop exit edges after |
750054a2 | 2138 | hot/cold partitioning has occurred. |
7c3ac422 ZW |
2139 | * opts.c (decode_options): Code to handle new flag, |
2140 | flag_reorder_blocks_and_partition; also to turn it off if | |
750054a2 | 2141 | flag_exceptions is on. |
7c3ac422 ZW |
2142 | (common_handle_option): Code to handle new flag, |
2143 | flag_reorder_blocks_and_partition. | |
2144 | * output.h (unlikely_text_section): New extern function declaration. | |
750054a2 | 2145 | (in_unlikely_text_section): New extern function declaration. |
7c3ac422 ZW |
2146 | * passes.c (rest_of_handle_stack_regs): Add |
2147 | flag_reorder_blocks_and_partition as an 'or' condition for calling | |
750054a2 | 2148 | reorder_basic_blocks. |
7c3ac422 | 2149 | (rest_of_handle_reorder_blocks): Add flag_reorder_blocks_and_partition |
750054a2 CT |
2150 | as an 'or' condition for calling reorder_basic_blocks. |
2151 | (rest_of_compilation): Add call to partition_hot_cold_basic_blocks. | |
7c3ac422 ZW |
2152 | * print-rtl.c (print_rtx): Add code for handling new note, |
2153 | NOTE_INSN_UNLIKELY_EXECUTED_CODE | |
2154 | * rtl.c (NOTE_INSN_UNLIKELY_EXECUTED_CODE): New note insn (see below). | |
750054a2 CT |
2155 | (REG_CROSSING_JUMP): New kind of reg_note, to mark jumps that |
2156 | cross between section boundaries. | |
7c3ac422 ZW |
2157 | * rtl.h (NOTE_INSN_UNLIKELY_EXECUTED_CODE): New note instruction, |
2158 | indicating the basic block containing it belongs in the cold section. | |
750054a2 CT |
2159 | (REG_CROSSING_JUMP): New type of reg_note, to mark jumps that cross |
2160 | between hot and cold sections. | |
7c3ac422 ZW |
2161 | * toplev.c (flag_reorder_blocks_and_partition): Add code to |
2162 | initialize this flag, and to tie it to the command-line option | |
2163 | freorder-blocks-and-partition. | |
2164 | * varasm.c (cfglayout.h): Add new include statement. | |
2165 | (unlikely_section_label_printed): New global variable, used for | |
2166 | determining when to output section name labels for cold sections. | |
750054a2 CT |
2167 | (in_section): Add in_unlikely_executed_text to enum data structure. |
2168 | (text_section): Modify code to use SECTION_FORMAT_STRING and | |
2169 | NORMAL_TEXT_SECTION_NAME macros. | |
2170 | (unlikely_text_section): New function. | |
2171 | (in_unlikely_text_section): New function. | |
7c3ac422 ZW |
2172 | (function_section): Add code to make sure beginning of function is |
2173 | written into correct section (hot or cold). | |
2174 | (assemble_start_function): Add code to make sure stuff is written to | |
2175 | the correct section. | |
2176 | (assemble_zeros): Add in_unlikely_text_section as an 'or' condition | |
2177 | to an if statement that was checking 'in_text_section'. | |
2178 | (assemble_variable): Add 'in_unlikely_text_section' as an 'or' | |
2179 | condition to an if statement that was checking 'in_text_section'. | |
2180 | (default_section_type_flags_1): Add check: if in cold section | |
2181 | flags = SECTION_CODE. | |
750054a2 CT |
2182 | * config/darwin.c (darwin_asm_named_section): Modify to use |
2183 | SECTION_FORMAT_STRING if we are partitioning hot/cold blocks. | |
7c3ac422 | 2184 | * config/i386/i386.h (HAS_LONG_COND_BRANCH): Defined this macro |
750054a2 CT |
2185 | specifically for the i386. |
2186 | (HAS_LONG_UNCOND_BRANCH): Defined this macro specifically for the i386. | |
7c3ac422 | 2187 | * config/rs6000/darwin.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Change |
750054a2 CT |
2188 | text string to something more informative. |
2189 | (NORMAL_TEXT_SECTION_NAME): Add new definition. | |
2190 | (SECTION_FORMAT_STRING): Add new definition. | |
7c3ac422 ZW |
2191 | * config/rs6000/rs6000.c (rs6000_assemble_integer): Add |
2192 | '!in_unlikely_text_section' as an 'and' condition to an if statement | |
2193 | that was already checking '!in_text_section'. | |
2194 | * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME,NORMAL_TEXT_SECTION_NAME, | |
2195 | UNLIKELY_EXECUTED_TEXT_SECTION_NAME,SECTION_FORMAT_STRING): Make | |
2196 | sure these are properly defined for linux on ppc. | |
2197 | * doc/invoke.texi (freorder-blocks-and-partition): Add documentation | |
2198 | for this new flag. | |
750054a2 CT |
2199 | * doc/rtl.texi (REG_CROSSING_JUMP): Add documentation for new |
2200 | reg_note. | |
7c3ac422 ZW |
2201 | * doc/tm.texi (NORMAL_TEXT_SECTION_NAME, SECTION_FORMAT_STRING, |
2202 | HAS_LONG_COND_BRANCH, HAS_LONG_UNCOND_BRANCH): Add documentation for | |
750054a2 CT |
2203 | these new macros. |
2204 | ||
88673361 RS |
2205 | 2004-04-08 Roger Sayle <roger@eyesopen.com> |
2206 | ||
2207 | * function.c (gen_mem_addressof): When changing the RTX from a REG | |
2208 | to a MEM, clear MEM_VOLATILE_P which was formerly REG_USERVAR_P. | |
2209 | ||
82a6a758 RS |
2210 | 2004-04-08 Roger Sayle <roger@eyesopen.com> |
2211 | ||
2212 | PR target/14888 | |
2213 | * config/i386/i386.md (truncdfsf2_noop, truncxfsf2_noop, | |
2214 | truncxfdf2_noop): Provide dummy "fmov" implementations. | |
2215 | ||
febc5365 ILT |
2216 | 2004-04-08 Ian Lance Taylor <ian@wasabisystems.com> |
2217 | ||
2a782c52 ILT |
2218 | * gcc.c (default_compilers): Add missing initializers. |
2219 | ||
febc5365 ILT |
2220 | * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address): |
2221 | Return 1 if file was successfully mapped. | |
2222 | ||
f07e9f0f GK |
2223 | 2004-04-08 Geoffrey Keating <geoffk@apple.com> |
2224 | ||
54e109ed GK |
2225 | PR pch/13419 |
2226 | PR pch/14137 | |
2227 | Radar #: 3315288 | |
2228 | * doc/invoke.texi (Precompiled Headers): Suggest -o | |
2229 | to put an output file in a particular place. Be more detailed | |
2230 | about which options affect PCH validity and which options | |
2231 | might not work. | |
2232 | * c-pch.c (pch_matching): New. | |
2233 | (MATCH_SIZE): New. | |
2234 | (struct c_pch_validity): New field 'match'. | |
2235 | (pch_init): Handle pch_matching. | |
2236 | (c_common_valid_pch): Check pch_matching. | |
2237 | ||
f07e9f0f GK |
2238 | * explow.c: Fix typo defining default of PROMOTE_FUNCTION_MODE. |
2239 | ||
f7b6f250 MM |
2240 | 2004-04-08 Mark Mitchell <mark@codesourcery.com> |
2241 | ||
2242 | * doc/invoke.texi (Precompiled Headers): Warn about known | |
2243 | problems. | |
2244 | ||
4a77e08c DS |
2245 | 2004-04-08 Danny Smith <dannysmith@users.sourceforge.net> |
2246 | ||
2247 | PR c++/14808 | |
2248 | * defaults.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): New macro. Default | |
2249 | to 1 if ASM_OUTPUT_DEF is defined. | |
2250 | * doc/tm.texi (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document. | |
2251 | * config/i386/cygming.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): Define. | |
2252 | Set to non-zero iff not a one_only decl. | |
2253 | ||
cc81dde8 PB |
2254 | 2004-04-08 Paul Brook <paul@codesourcery.com> |
2255 | ||
2256 | * arm.h (CLASS_LIKELY_SPILLED_P): Define. | |
2257 | ||
d4453b7a PB |
2258 | 2004-04-08 Paul Brook <paul@codesourcery.com> |
2259 | ||
2260 | * explow.c (promote_mode): Use PROMOTE_FUNCTION_MODE instead of | |
2261 | PROMOTE_FOR_CALL_ONLY. | |
2262 | * config/arm/arm-protos.h (arm_function_value): Declare. | |
2263 | * config/arm/arm.h (TARGET_PROMOTE_FUNCTION_ARGS): Define. | |
2264 | (TARGET_PROMOTE_PROTOTYPES): Return false. | |
2265 | (arm_function_value): New function. | |
2266 | * config/arm/arm.h (PROMOTE_FUNCTION_MODE): Define. | |
2267 | (FUNCTION_VALUE): Call arm_function_value. | |
2268 | * config/cris/cris.h (PROMOTE_MODE): Rename ... | |
2269 | (PROMOTE_FUNCTION_MODE): ... to this. | |
2270 | (PROMOTE_FOR_CALL_ONLY): Remove. | |
2271 | * config/mmix/mmix.h: Likewise. | |
2272 | * config/s390/s390.h: Likewise. | |
2273 | * config/sparc/sparc.h: Likewise. | |
2274 | * config/sparc/sparc.c: Update comments about PROMOTE_MODE. | |
2275 | * doc/tm.texi (PROMOTE_FUNCTION_MODE): Document. | |
2276 | (TARGET_PROMOTE_FUNCTION_MODE, TARGET_PROMOTE_FUNCTION_RETURN): Update. | |
2277 | (PROMOTE_FOR_CALL_ONLY): Remove. | |
2278 | ||
c00e272e JS |
2279 | 2004-04-08 Joel Sherrill <joel@oarcorp.com> |
2280 | ||
2281 | PR ada/14538 | |
2282 | * ada/5rosinte.adb: Remove fake mprotect() body. | |
2283 | * ada/5rosinte.ads: Add SA_SIGINFO. | |
2284 | * ada/5rtpopsp.adb: Rewrite to use new interface. | |
2285 | * ada/init.c: Reorder so the simple single OS conditional __rtems__ | |
2286 | is tested before more complex ones which mix UNIX and embedded | |
2287 | systems in the conditional. | |
2288 | ||
4afae4b9 JS |
2289 | 2004-04-08 Joel Sherrill <joel@oarcorp.com> |
2290 | ||
2291 | PR ada/14665 | |
2292 | * ada/osint.adb (Find_Program_Name): Rework to properly handle | |
2293 | filenames which end in .exe or have versioning suffixes like VMS. | |
2294 | ||
bfbdca0b AP |
2295 | 2004-04-08 Andrew Pinski <pinskia@physics.uc.edu> |
2296 | ||
467f3af0 | 2297 | PR target/10129 |
bfbdca0b AP |
2298 | * config/darwin.c (darwin_encode_section_info): When the decl has |
2299 | a DECL_INITIAL, it is only defined also when it is not a common. | |
2300 | ||
df0785d6 KG |
2301 | 2004-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2302 | ||
2303 | * builtins.c (fold_builtin_isascii, fold_builtin_toascii): New. | |
2304 | (fold_builtin): Handle BUILT_IN_ISASCII and BUILT_IN_TOASCII. | |
2305 | ||
2897f1d4 L |
2306 | 2004-04-07 H.J. Lu <hongjiu.lu@intel.com> |
2307 | ||
2308 | * config/ia64/ia64.c (ia64_encode_section_info): Don't prod | |
2309 | global register variables. | |
2310 | ||
6ed6a1b9 JM |
2311 | 2004-04-07 Joseph S. Myers <jsm@polyomino.org.uk> |
2312 | ||
2313 | * fixinc/inclhack.def (rpc_xdr_lvalue_cast_a, | |
2314 | rpc_xdr_lvalue_cast_b): New fixes. | |
2315 | * fixinc/fixincl.x: Regenerate. | |
2316 | * fixinc/tests/base/rpc/xdr.h: Add new tests. | |
2317 | ||
fc091c8e DE |
2318 | 2004-04-07 David Edelsohn <edelsohn@gnu.org> |
2319 | ||
2320 | * config/rs6000/rs6000.c (processor_target_table): Add MASK_MFCRF | |
2321 | to power4 and power5 entries. | |
2322 | ||
7876228d GK |
2323 | 2004-04-06 Geoffrey Keating <geoffk@apple.com> |
2324 | ||
2325 | * c-common.h (pending_lang_change): Mark for PCH. | |
2326 | ||
b21292d0 CT |
2327 | 2004-04-07 Caroline Tice <ctice@apple.com> |
2328 | ||
2329 | * gcc.c (main): Move 'break' in main loops (on an error) | |
2330 | to wait until error processing has occurred. | |
7c3ac422 | 2331 | |
615be2cf NN |
2332 | 2004-04-06 Nathanael Nerode <neroden@gcc.gnu.org> |
2333 | ||
2334 | * config.gcc: Stop changing enable_threads midstream. | |
2335 | Replace uses of enable_threads_flag with enable_threads. | |
2336 | * configure.ac: Replace uses of enable_threads_flag with | |
2337 | enable_threads. Improve autoconf quotation in one place. | |
2338 | * configure: Regenerate. | |
2339 | ||
6c7cf1f0 UB |
2340 | 2004-04-06 Uros Bizjak <uros@kss-loka.si> |
2341 | ||
2342 | * builtins.c: Implement support for sincos function. | |
2343 | (expand_builtin_mathfn): Remove BUILT_IN_SIN{,F,L} and | |
2344 | BUILT_IN_COS{,F,L}. | |
2345 | (expand_builtin_mathfn_3): New function. | |
2346 | (expand_builtin): Expand BUILT_IN_SIN{,F,L} and | |
2347 | BUILT_IN_COS{,F,L} using expand_builtin_mathfn_3 if | |
2348 | flag_unsafe_math_optimization is set. | |
2349 | ||
2350 | * optabs.h (enum optab_index): Add new OTI_sincos. | |
2351 | (sincos_optab): Define corresponding macro. | |
2352 | ||
2353 | * optabs.c (init_optabs): Initialize sincos_optab. | |
2354 | (expand_twoval_unop): New function. | |
2355 | ||
2356 | * genopinit.c (optabs): Implement sincos_optab using sincos?f3 | |
2357 | patterns. | |
2358 | ||
2359 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_SINCOS_COS | |
2360 | and UNSPEC_SINCOS_SIN. | |
2361 | ||
2362 | * config/i386/i386.md (sincosdf3, sincossf3, *sincosextendsfdf3, | |
2363 | sincosxf3): New patterns to implement sincos, sincosf and sincosl | |
2364 | built-ins as inline x87 intrinsics. Define splits for | |
2365 | sindf2, sinsf2, *sinextendsfdf2, sinxf2, cosdf2, | |
2366 | cossf2, *cosextendsfdf2 and cosxf2 patterns from corresponding | |
2367 | sincos patterns. | |
2368 | (sindf2, sinsf2, sinxf2): Rename to *sindf2, *sinsf2, *sinxf2. | |
2369 | (cosdf2, cossf2, cosxf2): Rename to *cosdf2, *cossf2, *cosxf2. | |
2370 | ||
a072d43b UB |
2371 | (UNSPEC_SINCOS_SIN, UNSPEC_SINCOS_COS): New unspecs to represent |
2372 | x87's fsincos insn. | |
6c7cf1f0 | 2373 | |
23bd1514 DP |
2374 | 2004-04-06 Devang Patel <dpatel@apple.com> |
2375 | ||
2376 | PR 14467 | |
2377 | * config/darwin.h (LINK_COMMAND_SPEC): Use c++filt instead of c++filt3. | |
7c3ac422 | 2378 | |
c5124497 JDA |
2379 | 2004-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2380 | ||
2381 | * doc/install.texi: Update HP-UX 11 installation procedure. | |
2382 | ||
485d61a7 PB |
2383 | 2004-04-06 Paul Brook <paul@codesourcery.com> |
2384 | ||
2385 | * doc/sourcebuild.texi: Remove obsolete contraint on testcases. | |
2386 | ||
13ecc9e0 KK |
2387 | 2004-04-05 Kaz Kojima <kkojima@gcc.gnu.org> |
2388 | ||
2389 | * config/sh/sh.c (prepare_move_operands): Use emit_call_insn | |
2390 | when the TLS address is generated by a function call. | |
2391 | * config/sh/sh.md (tls_global_dynamic): Use a call expression. | |
2392 | (tls_local_dynamic): Likewise. | |
2393 | ||
e0e4ac7f AP |
2394 | 2004-04-05 Andrew Pinski <pinskia@physics.uc.edu> |
2395 | ||
2396 | * tree.c (reconstruct_complex_type): Use TYPE_READONLY | |
2397 | and TYPE_VOLATILE. | |
2398 | ||
0855eab7 CT |
2399 | 2004-04-05 Caroline Tice <ctice@apple.com> |
2400 | ||
485d61a7 | 2401 | * gcc.c (combine_flag): New global variable, for new driver option. |
0855eab7 CT |
2402 | (struct compiler): Add two new fields, to be used when |
2403 | combining multiple input files in a single pass (IMA). | |
7c3ac422 ZW |
2404 | (default_compilers): Add values for the new fields to all |
2405 | compiler entries. Modify the "@c" compiler entry for doing IMA | |
0855eab7 CT |
2406 | properly with "-save-temps" and the "combine" flag. |
2407 | (option_map): Add new driver option, "--combine", to tell driver | |
2408 | to pass multiple input files to compiler at one time. | |
2409 | (have_o_argbuf_index): New global variable. | |
2410 | (store_arg): Modify to assign value to have_o_argbuf_index. | |
2411 | (struct infile): Add three new fields, to help with IMA. | |
2412 | (display_help): Add help for new "combine" option. | |
2413 | (process_command): Remove local variable have_o; add code to check | |
2414 | for new "combine" option; remove assignment to combine_inputs. | |
2415 | (do_spec_1): Modify to deal with IMA better. | |
2416 | (main): Make variable 'lang_n_infiles' local to entire function | |
7c3ac422 ZW |
2417 | rather than to a single block. Use flag combine_flag to |
2418 | determine whether to do IMA or not; Modify loop initializing | |
0855eab7 CT |
2419 | infiles to deal properly with linker files. |
2420 | Add code for doing preprocessing in presence of | |
2421 | IMA with "-save-temps" flag. Modify "main" loop to handle | |
2422 | multiple input files, in multiple languages, with or without | |
2423 | preprocessing, gracefully. | |
2424 | * toplev.c (set_src_pwd): Modify to not complain if attempting to | |
2425 | re-set it to same directory it's previously been set to (avoid | |
7c3ac422 | 2426 | irritating, meaningless warning messages when doing IMA with |
0855eab7 CT |
2427 | save-temps). |
2428 | * doc/invoke.texi: Add "-combine" to list of Overall Options; | |
2429 | remove documentation about IMA that is no longer accurate; Add | |
2430 | documentation explaining what "-combine" does. | |
2431 | * ada/lang-specs.h: Add initialization values for new fields in | |
2432 | "struct compiler". | |
2433 | * cp/lang-specs.h: Likewise. | |
2434 | * f/lang-specs.h: Likewise. | |
2435 | * java/lang-specs.h: Likewise. | |
2436 | * objc/lang-specs.h: Likewise. | |
2437 | * treelang/lang-specs.h: Likewise. | |
2438 | ||
26be75db DE |
2439 | 2004-04-05 David Edelsohn |
2440 | ||
2441 | * config/rs6000/rs6000.c (VTABLE_NAME_P): Add _ZTI to special | |
2442 | symbol handling. | |
2443 | ||
fda935a2 | 2444 | 2004-04-05 Jakub Jelinek <jakub@redhat.com> |
26be75db | 2445 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
fda935a2 JJ |
2446 | |
2447 | PR optimization/13424 (hppa), bootstrap/14462, c/14828 | |
2448 | * pa.md: Use replace_equiv_address to retain the attributes of the | |
2449 | memory operands used in the split and peephole2 patterns for optimizing | |
2450 | the pre-reload movstrsi, movstrdi, clrstrsi and clrstrdi patterns. | |
2451 | ||
4f976745 RK |
2452 | 2004-04-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2453 | ||
2454 | * c-decl.c (build_compound_literal): Use TYPE_READONLY. | |
2455 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. | |
2456 | * objc/objc-act.c (adorn_decl, gen_declspecs): Likewise. | |
2457 | * c-typeck.c (decl_constant_value): Don't access DECL_INITIAL of a | |
2458 | PARM_DECL. | |
2459 | * calls.c (flags_from_decl_or_type): Use TYPE_READONLY and do so only | |
2460 | for a type. | |
2461 | * print-tree.c (print_node): Properly handle side-effects, readonly, | |
2462 | and constant flags. | |
2463 | * tree.c (build1_stat, build_expr_wfl): Only look at TREE_SIDE_EFFECTS | |
2464 | and TREE_CONSTANT if not a type. | |
2465 | * tree.h (IS_NON_TYPE_CODE_CLASS): New macro. | |
2466 | (IS_EXPR_CODE_CLASS): Write 'E', not 'e'. | |
2467 | (NON_TYPE_CHECK): New macro. | |
2468 | (TREE_SIDE_EFFECT, TREE_READONLY, TREE_CONSTANT: Add check. | |
2469 | ||
5ffc4730 EB |
2470 | 2004-04-05 Eric Botcazou <ebotcazou@libertysurf.fr> |
2471 | ||
2472 | * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Set | |
2473 | to DWARF2_DEBUG unconditionally. | |
2474 | (ASM_DEBUG_SPEC): Set the default to --gdwarf2 unconditionally. | |
2475 | ||
c38f02df ILT |
2476 | 2004-04-04 Ian Lance Taylor <ian@wasabisystems.com> |
2477 | Nathanael Nerode <neroden@gcc.gnu.org> | |
2478 | ||
2479 | PR target/14548 | |
2480 | * config.host: Set the shell variable host_can_use_collect2. | |
2481 | Set it to yes by default, and to no for alpha*-dec-*vms*, | |
2482 | i[34567]86-*-mingw32*, and powerpc-*-beos*. | |
2483 | * configure.ac: Set and substitute the shell variable collect2. | |
2484 | Give an error if use_collect2 is yes and host_can_use_collect2 is | |
2485 | no. | |
2486 | * Makefile.in (COLLECT2): Rename from USE_COLLECT2. Change all | |
2487 | uses. Initialize to @collect2@. | |
2488 | (STAGESTUFF): Remove $(USE_COLLECT2). | |
2489 | * config/alpha/x-vms (USE_COLLECT2): Don't set. | |
2490 | * config/i386/t-mingw32 (USE_COLLECT2): Likewise. | |
2491 | * config/rs6000/t-beos (USE_COLLECT2): Likewise. | |
2492 | * config/pa/t-pa64: Remove commented out USE_COLLECT2. | |
2493 | * configure: Regenerate. | |
2494 | ||
9d317251 RS |
2495 | 2004-04-04 Roger Sayle <roger@eyesopen.com> |
2496 | ||
2497 | * simplify-rtx.c (simplify_binary_operation): Constant fold | |
2498 | DIV, MOD, UDIV and UMOD using div_and_round_double. | |
2499 | ||
64480988 MM |
2500 | 2004-04-04 Mark Mitchell <mark@codesourcery.com> |
2501 | ||
2502 | PR c++/14804 | |
2503 | * varasm.c (initializer_constant_valid_p): Allow NOP_EXPRs to | |
2504 | RECORD_TYPEs. | |
2505 | ||
aaf3c6d9 MM |
2506 | 2004-04-04 Mark Mitchell <mark@codesourcery.com> |
2507 | ||
2508 | * doc/invoke.texi (-mabi=o64): Create link to O64 ABI | |
2509 | documentation. | |
cd3f11a6 | 2510 | |
d8b7ec41 RS |
2511 | 2004-04-04 Roger Sayle <roger@eyesopen.com> |
2512 | ||
2513 | * cse.c (cse_insn): Correct usage of simplify_replace_rtx when | |
2514 | updating the REG_EQUAL note on an insn's libcall_insn. | |
2515 | ||
4012b7db RS |
2516 | 2004-04-04 Roger Sayle <roger@eyesopen.com> |
2517 | ||
2518 | * df.h: Tidy up whitespace in the definitions of the DF_ flags. | |
2519 | ||
2f63a457 RS |
2520 | 2004-04-03 Roger Sayle <roger@eyesopen.com> |
2521 | ||
2522 | * fold-const.c (fold) <PLUS_EXPR>: Guard (-A)+B -> B-A transformation | |
2523 | with reorder_operands_p. | |
2524 | ||
ef1140a9 JH |
2525 | 2004-04-03 Jan Hubicka <jh@suse.cz> |
2526 | ||
2527 | * md.texi (vec_set, vec_extract, vec_init): Document. | |
2528 | ||
f736cb3e GL |
2529 | 2004-04-02 Gabor Loki <loki@inf.u-szeged.hu> |
2530 | ||
2531 | * opts.c (decode_options): Do function inlining with very small | |
2532 | max-inline-insns-* parameters when optimizing for size. | |
2533 | ||
89c43c0a VM |
2534 | 2004-04-02 Vladimir Makarov <vmakarov@redhat.com> |
2535 | ||
2536 | * config/i386/i386.h (TARGET_NOCONA): New macro. | |
2537 | (TARGET_CPU_CPP_BUILTINS): Add code for Nocona. | |
2538 | (processor_type): Add PROCESSOR_NOCONA. | |
7c3ac422 | 2539 | |
89c43c0a VM |
2540 | * config/i386/i386.md (cpu): Add nocona to the attribute values. |
2541 | ||
2542 | * config/i386/i386.c (nocona_cost): New variable. | |
2543 | (m_NOCONA): New macro. | |
2544 | (x86_push_memory, x86_movx, x86_cmove, x86_deep_branch, | |
2545 | x86_branch_hints, x86_use_sahf, x86_single_stringop, | |
2546 | x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8, | |
2547 | x86_integer_DFmode_moves, x86_partial_reg_dependency, | |
2548 | x86_memory_mismatch_stall, x86_accumulate_outgoing_args, | |
2549 | x86_decompose_lea, x86_arch_always_fancy_math_387, | |
2550 | x86_sse_partial_reg_dependency, x86_sse_load0_by_pxor, | |
2551 | x86_ext_80387_constants, x86_four_jump_limit): | |
2552 | (override_options): Add nocona_cost to processor_target_table. | |
2553 | Set up PROCESSOR_NOCONA for Nocona entry in processor_alias_table. | |
2554 | (incdec_operand): Prevent inc/dec generation for Nocona too. | |
2555 | (ix86_issue_rate): Add PROCESSOR_NOCONA. | |
7c3ac422 | 2556 | |
cd798543 AP |
2557 | 2004-04-01 Andrew Pinski <pinskia@physics.uc.edu> |
2558 | ||
2559 | * rtlanal.c (find_reg_note): Manually | |
2560 | unswitch the loop. | |
2561 | ||
a406f566 MM |
2562 | 2004-04-01 Mark Mitchell <mark@codesourcery.com> |
2563 | ||
2564 | * genemit.c (gen_split): Change prototype of generated code. | |
2565 | * genrecog.c (write_action): Adjust prototype for and calls to | |
2566 | gen_split_*. | |
2567 | * gensupport.c (struct queue_elem): Add split field. | |
2568 | (queue_pattern): Return a value. Clear the split field. | |
2569 | (process_rtx): Maintain an association between an insn and the | |
2570 | split generated from it for a define_insn_and_split. | |
2571 | (process_one_cond_exec): Generate a new split for a | |
2572 | define_insn_and_split. | |
2573 | * config/arm/arm-protos.h (arm_split_constant): Add insn | |
2574 | parameter. | |
2575 | (emit_constant_insn): New function. | |
2576 | (arm_gen_constant): Use it. | |
2577 | * config/arm/arm.md: Adjust calls to arm_split_constant. | |
2578 | ||
18c6ada9 JH |
2579 | 2004-04-02 Jan Hubicka <jh@suse.cz> |
2580 | ||
2581 | * cgraph.c: Add overall comment. | |
2582 | (cgraph_inline_hash): New global variable. | |
2583 | (cgraph_create_node): Break out from ... | |
2584 | (cgraph_node): ... here. | |
2585 | (cgraph_edge): New function. | |
2586 | (cgraph_create_edge): New CALL_EXPR argument; some sanity checking. | |
2587 | (cgraph_remove_edge): Accept edge, intead of source and destination. | |
2588 | (cgraph_redirect_edge_callee): New. | |
2589 | (cgraph_remove_node): Update all new datastructures. | |
2590 | (cgraph_record_call, cgraph_remove_call): Kill. | |
2591 | (dump_cgraph_node): Break out from ... ; dump new datastructures. | |
2592 | (dump_cgraph): ... here. | |
2593 | (cgraph_function_possibly_inlined_p): Use new hashtable. | |
2594 | (cgraph_clone_edge, cgraph_clone_node): New. | |
2595 | * cgraph.h: Include hashtab.h | |
2596 | (struct cgraph_global_info): Kill cloned_times, inline_once, will_be_output | |
2597 | fields, add inlined_to pointer. | |
2598 | (cgraph_node): Add pointer to next_clone. | |
2599 | (cgraph_remove_edge, cgraph_create_edge): Update prototype. | |
2600 | (cgraph_remove_call, cgraph_record_call): Kill. | |
2601 | (cgraph_inline_hash): Declare. | |
2602 | (dump_cgraph_node, cgraph_edge, cg4raph_clone_edge, cgraph_clone_node, | |
2603 | cgraph_redirect_edge_callee): Declare. | |
2604 | (cgraph_create_edges, cgraph_inline_p): Update prorotype. | |
2605 | (cgraph_preserve_function_body_p, verify_cgraph, verify_cgraph_node, | |
2606 | cgraph_mark_inline_edge, cgraph_clone_inlined_nodes): Declare. | |
2607 | * cgraphunit.c: Add overall comment. | |
2608 | (cgraph_optimize_function): Kill. | |
2609 | (cgraph_assemble_pending_functions): Do not assemble inline clones. | |
2610 | (cgraph_finalize_function): Update call of cgraph_remove_node | |
2611 | (record_call_1): Record call sites. | |
2612 | (cgraph_create_edges): Accept node instead of decl argument. | |
2613 | (error_found): New static variable. | |
2614 | (verify_cgraph_node_1, verify_cgraph_node, verify_cgraph): New functions. | |
2615 | (cgraph_analyze_function): Update for new datastructures. | |
2616 | (cgraph_finalize_compilation_unit): Plug memory leak. | |
2617 | (cgraph_optimize_function): Kill. | |
2618 | (cgraph_expand_function): Do not use cgraph_optimize_function. | |
2619 | (INLINED_TIMES, SET_INLINED_TIMES, cgraph_inlined_into, | |
2620 | cgraph_inlined_callees): Kill. | |
2621 | (cgraph_remove_unreachable_nodes): Verify cgraph; update handling of | |
2622 | clones. | |
2623 | (estimate_growth): Simplify. | |
2624 | (cgraph_clone_inlined_nodes): New function. | |
2625 | (cgraph_mark_inline_edge): Re-implement. | |
2626 | (cgraph_mark_inline): Likewise. | |
2627 | (cgraph_check_inline_limits): Simplify. | |
2628 | (cgraph_recursive_inlining_p): New. | |
2629 | (update_callee_keys): Break out from ... | |
2630 | (cgraph_decide_inlining_of_small_functions): ... here; simplify. | |
2631 | (cgraph_decide_inlining, cgraph_decide_inlining_incrementally): | |
2632 | Likewise. | |
2633 | (cgraph_expand_all_functions): Remove inline clones from the ordered | |
2634 | list. | |
2635 | (cgraph_preserve_function_body_p): New predicate. | |
2636 | (cgraph_optimize): Verify cgraph. | |
2637 | * function.h (struct function): Add fields saved_tree/saved_args. | |
2638 | * timevar.def (TV_CGRAPH_VERIFY): Use verifier. | |
2639 | * toplev.c (rest_of_compilation): Do not free cfun. | |
2640 | * tree-inline.c: Include function.h | |
2641 | (struct inline_data): Add saving_p field; replace decl/current_decl by | |
2642 | node/current_node. | |
2643 | (insert_decl_map): New function. | |
2644 | (copy_body_r): Handle saving; update cgraph datastructure. | |
2645 | (copy_body): Handle recursive inlining. | |
2646 | (initialize_inlined_parameters): Likewise. | |
2647 | (expand_call_inline): Propagate node attributes; update cgraph. | |
2648 | (optimize_inline_calls): Verify that datastructure still match. | |
2649 | (save_body): New function. | |
2650 | * tree-inline.h (save_body): New. | |
2651 | * tree-optimize.c (tree_rest_of_compilation): preserve function body; do inlining. | |
2652 | * langhooks-def.c (LANG_HOOKS_UPDATE_DECL_AFTER_SAVING): New. | |
2653 | * langhooks.c (lang_hooks): Add update_decl_after_saving. | |
2654 | ||
717415ad SB |
2655 | 2004-04-01 Serge Belyshev <1319@bot.ru> |
2656 | ||
7c3ac422 ZW |
2657 | PR target/14702 |
2658 | * config/i386/i386.md: fix source operand constraints in | |
2659 | mmx_pshufw, sse2_pshufd, sse2_pshuflw, sse2_pshufhw | |
717415ad | 2660 | |
af5bdf6a WH |
2661 | 2004-04-01 Waldek Hebisch <hebisch@math.uni.wroc.pl> |
2662 | ||
2663 | * fold-const.c (folda): Preserve types of comparisons. | |
2664 | ||
54fdc910 RH |
2665 | 2004-04-01 Richard Henderson <rth@redhat.com> |
2666 | ||
2667 | * toplev.c (backend_init): Move init_optimization_passes call ... | |
2668 | (lang_dependent_init): ... here. | |
2669 | ||
765f1bf9 AM |
2670 | 2004-04-01 Alan Modra <amodra@bigpond.net.au> |
2671 | Jakub Jelinek <jakub@redhat.com> | |
2672 | ||
2673 | * gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with | |
2674 | -lgcc --as-needed -lgcc_s --no-as-needed by default. | |
2675 | * configure.ac (HAVE_LD_AS_NEEDED): Check for ld --as-needed. | |
2676 | * configure: Rebuilt. | |
2677 | * config.in: Rebuilt. | |
2678 | * Makefile.in (stage1-start): Copy also libgcc_s*$(SHLIB_EXT). | |
2679 | (stage2-start, stage3-start, stage4-start): Likewise. | |
2680 | (stageprofile-start, stagefeedback-start): Likewise. | |
2681 | ||
45dcc026 JJ |
2682 | 2004-04-01 Jakub Jelinek <jakub@redhat.com> |
2683 | ||
2684 | * config/sparc/sparc.h (DITF_CONVERSION_LIBFUNCS): Define to 0. | |
2685 | * config/sparc/linux.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. | |
2686 | * config/sparc/linux64.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. | |
2687 | * config/sparc/sol2.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. | |
2688 | (SOLARIS_CONVERSION_LIBFUNCS): Rename to SUN_CONVERSION_LIBFUNCS. | |
2689 | * config/sparc/sparc.c (sparc_init_libfuncs): Initialize optabs | |
2690 | with _Q_qtoll, _Q_qtoull and _Q_lltoq if DITF_CONVERSION_LIBFUNCS. | |
2691 | * config.gcc (sparc-*-linux*): Revert 2004-03-23 change. | |
2692 | * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Likewise. | |
2693 | * config/sparc/t-linux: Removed. | |
2694 | ||
0b612185 JJ |
2695 | 2004-04-01 Jakub Jelinek <jakub@redhat.com> |
2696 | ||
2697 | PR c++/14755 | |
2698 | * fold-const.c (fold) <EQ_EXPR>: Properly compute newconst in | |
2699 | "bitfld++ == const" to "++bitfld == const + incr" transformations. | |
2700 | ||
a150de29 RK |
2701 | 2004-04-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2702 | ||
2703 | * expr.c (get_inner_reference): Use DECL_UNSIGNED, not TREE_UNSIGNED. | |
2704 | * stor-layout.c (layout_decl): Likewise. | |
2705 | * tree.c (get_narrower): Likewise and also use BIT_FIELD_REF_UNSIGNED. | |
2706 | * fold-const.c (make_bit_field_ref): Use BIT_FIELD_REF_UNSIGNED. | |
2707 | * print-tree.c (print_node): Handle various used of unsigned_flag. | |
2708 | * tree.def (BIT_FIELD_REF): Update comment. | |
2709 | * tree.h (TREE_UNSIGNED): Deleted. | |
2710 | (DECL_UNSIGNED, BIT_FIELD_REF_UNSIGNED): New macros. | |
2711 | ||
8df83eae RK |
2712 | 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2713 | ||
2714 | * builtins.c, c-aux-info.c, c-common.c, c-cppbuiltin.c, c-decl.c: | |
2715 | Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED. | |
2716 | * c-format.c, c-opts.c, c-pretty-print.c, c-typeck.c: Likewise. | |
2717 | * calls.c, convert.c, dbxout.c, dojump.c, dwarf2out.c: Likewise. | |
2718 | * expmed.c, expr.c, fold-const.c, function.c, integrate.c: Likewise. | |
2719 | * optabs.c, sdbout.c, stmt.c, stor-layout.c, tree-dump.c: Likewise. | |
2720 | * tree.c, config/iq2000/iq2000.c, config/m32r/m32r.c: Likewise. | |
2721 | * config/mips/mips.c, config/rs6000/rs6000.c: Likewise. | |
2722 | * config/s390/s390.c, config/sparc/sparc.c, objc/objc-act.c: Likewise. | |
2723 | * stor-layout.c (layout_type, case COMPLEX_TYPE): Test for | |
2724 | REAL_TYPE, not INTEGER_TYPE. | |
2725 | (layout_type, case VECTOR_TYPE): Simplify code. | |
2726 | * tree.c (build_vector_type_for_mode): Remove dup unsigned setting. | |
2727 | * tree.h: Update comments. | |
2728 | (STRIP_NOPS): Use TYPE_UNSIGNED. | |
2729 | (TYPE_UNSIGNED): New macro. | |
2730 | (TYPE_TRAP_SIGNED): Remove now redundant check. | |
2731 | (SAVE_EXPR_NOPLACEHOLDER): Don't use TREE_UNSIGNED. | |
2732 | ||
8465edcc RK |
2733 | 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2734 | ||
2735 | * function.c (put_var_into_stack): Properly set orig_reg for indirect. | |
2736 | ||
2737 | 2004-03-31 Andrew Pinski <pinskia@physics.uc.edu> | |
efdc5d91 AP |
2738 | |
2739 | * config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): | |
2740 | Add darwin-fpsave.asm, darwin-vecsave.asm, | |
2741 | and darwin-world.asm. | |
2742 | (TARGET_LIBGCC2_CFLAGS): Add -Wa,-force_cpusubtype_ALL | |
2743 | as the asm files contain altivec instructions. | |
2744 | * config/rs6000/darwin-fpsave.asm: New file. | |
2745 | * config/rs6000/darwin-vecsave.asm: New file. | |
2746 | * config/rs6000/darwin-world.asm: New file. | |
2747 | ||
5fece182 ZW |
2748 | 2004-03-31 Zack Weinberg <zack@codesourcery.com> |
2749 | ||
2750 | * gengtype-yacc.y (option, stringseq): Add missing | |
2751 | terminating semicolon. | |
2752 | ||
b150f4f3 DE |
2753 | 2004-03-30 David Edelsohn <edelsohn@gnu.org> |
2754 | ||
2755 | * config/rs6000/rs6000.md (tls_gd_32, tls_gd_64, | |
2756 | tls_ld_32, tls_ld_64, tls_dtprel_32, tls_dtprel_64, | |
2757 | tls_dtprel_ha_32, tls_dtprel_ha_64, | |
2758 | tls_dtprel_lo_32, tls_dtprel_lo_64, | |
2759 | tls_got_dtprel_64, tls_tprel_32, tls_tprel_64, | |
2760 | tls_tprel_ha_32, tls_tprel_ha_64, | |
2761 | tls_tprel_lo_32, tls_tprel_lo_64, | |
2762 | tls_got_tprel_32, tls_got_tprel_64, | |
2763 | tls_tls_32, tls_tls_64): Replace register_operand with | |
2764 | gpc_reg_operand. | |
2765 | ||
2766 | 2004-03-30 Mostafa Hagog <mustafa@il.ibm.com> | |
2767 | ||
2768 | * config/rs6000/rs6000.md (*ctrsi_internal1, *ctrsi_internal2, | |
2769 | *ctrdi_internal1, *ctrdi_internal2, *ctrsi_internal3, | |
2770 | *ctrsi_internal4, *ctrdi_internal3, *ctrdi_internal4, | |
2771 | *ctrsi_internal5, *ctrsi_internal6, *ctrdi_internal5, | |
2772 | *ctrdi_internal6): Replace register_operand with | |
2773 | nonimmediate_operand. | |
2774 | ||
0af5da7f FJ |
2775 | 2004-03-29 Fariborz Jahanian <fjahanian@apple.com> |
2776 | ||
5fece182 ZW |
2777 | * fold-const.c (fold): Reassociate multiply expression |
2778 | with an adjacent non-multiply expression to use | |
2779 | architecture's multiply-add instruction. | |
0af5da7f | 2780 | |
1431042e ZW |
2781 | 2004-03-30 Zack Weinberg <zack@codesourcery.com> |
2782 | ||
2783 | * gengtype.c (create_option): New function. | |
2784 | * gengtype.h: Prototype it. | |
2785 | * gengtype-yacc.y (stringseq): New rule. | |
2786 | (option): Use create_option. Add new bare ID production. Use | |
2787 | stringseq, not STRING directly. | |
2788 | ||
2789 | * alias.c, bitmap.c, c-decl.c, cgraph.h, cpplib.h, cselib.h | |
2790 | * dwarf2out.c, emit-rtl.c, function.h, lists.c, tree.h | |
2791 | * varray.h, config/alpha/alpha.c: | |
2792 | Use new shorter form of GTY markers. | |
2793 | ||
2794 | * doc/gty.texi: Rewrite. | |
2795 | ||
9ffab06b AP |
2796 | 2004-03-30 Andrew Pinski <pinskia@physics.uc.edu> |
2797 | ||
2798 | * config/darwin.c (machopic_function_base_name): | |
2799 | Remove current_name and getting the name of the | |
2800 | current function. | |
2801 | ||
a2246edc NC |
2802 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
2803 | ||
2804 | * config/arm/arm.md (thumb_jump): Reduce the backward branch | |
2805 | range, and increase the forward branch range, to allow for | |
2806 | the fact that the PC will be off by 4. | |
2807 | ||
547799a7 AM |
2808 | 2004-03-30 Alan Modra <amodra@bigpond.net.au> |
2809 | ||
2810 | * .cvsignore: Add GPATH, GRTAGS, GSYMS and GTAGS (GNU GLOBAL) | |
2811 | ||
452a7d36 HP |
2812 | 2004-03-30 Hartmut Penner <hpenner@de.ibm.com> |
2813 | ||
1431042e ZW |
2814 | * config/rs6000/rs6000.c (output_vec_const_move): |
2815 | Find all cases of EASY_VECTOR_15_ADD_SELF. | |
2816 | (easy_vector_constant_add_self): Accept | |
2817 | all vector constant loadable by vsplt* and vadd*. | |
452a7d36 HP |
2818 | (easy_vector_same): Use easy_vector_splat_const. |
2819 | (easy_vector_const): Use easy_vector_splat_const. | |
1431042e | 2820 | (easy_vector_splat_const): New function. |
452a7d36 | 2821 | (gen_easy_vector_constant_add_self): New function. |
1431042e | 2822 | |
452a7d36 HP |
2823 | * config/rs6000/rs6000-protos.c (gen_easy_vector_constant_add_self): |
2824 | New prototype. | |
2825 | ||
1431042e | 2826 | * config/rs6000/altivec.md (movv4si splitter): Change to |
452a7d36 HP |
2827 | emit move insn with halfed vector constant. |
2828 | (*movv8hi splitter): Likewise. | |
2829 | (*movv16qi splitter): Likewise. | |
1431042e | 2830 | |
708d2456 HP |
2831 | 2004-03-30 Hartmut Penner <hpenner@de.ibm.com> |
2832 | ||
1431042e ZW |
2833 | PR 11591 |
2834 | * config/rs6000/rs6000.c (rs6000_legitimate_address): | |
708d2456 HP |
2835 | Allow any offset to argument pointer in no-strict case. |
2836 | ||
6868bb1c JH |
2837 | 2004-03-30 Jan Hubicka <jh@suse.cz> |
2838 | ||
2839 | * toplev.c (backend_init): Add missing call to inint_optimization_passes. | |
2840 | * passes.c (init_optimization_passes, finish_optimization_passes): Output cgraph | |
2841 | dump file in non-unit-at-a-time mode. | |
2842 | ||
43537bf6 HPN |
2843 | 2004-03-29 Hans-Peter Nilsson <hp@axis.com> |
2844 | ||
2845 | * config/cris/cris.h: Correct #ifdef to test for | |
2846 | HAVE_AS_NO_MUL_BUG_ABORT_OPTION, not | |
2847 | HAVE_AS_MUL_BUG_ABORT_OPTION. | |
2848 | ||
97955d55 RK |
2849 | 2004-03-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2850 | ||
2851 | * function.c (put_var_into_stack): If old RTL was ADDRESSOF, update | |
2852 | the address inside the old RTL. | |
2853 | ||
18d5f982 ZW |
2854 | 2004-03-28 Zack Weinberg <zack@codesourcery.com> |
2855 | ||
2856 | * c-decl.c: Verify that C_SIZEOF_STRUCT_LANG_IDENTIFIER is correct. | |
2857 | (struct c_binding, struct c_scope): Add chain_next | |
2858 | attributes to GTY markers. | |
2859 | (struct lang_identifier, struct lang_tree_node): Define | |
2860 | here... | |
2861 | * c-tree.h: ... not here. No longer need to declare struct | |
2862 | c_binding either. Do define C_SIZEOF_STRUCT_LANG_IDENTIFIER. | |
2863 | * c-lang.c, objc/objc-lang.c: Set LANG_HOOKS_IDENTIFIER_SIZE | |
2864 | to C_SIZEOF_STRUCT_LANG_IDENTIFIER. | |
2865 | ||
2866 | PR 14734, 11944 | |
2867 | * c-decl.c (get_parm_info): If error_mark_node is encountered | |
2868 | in the bindings chain, unbind and discard it; don't abort. | |
2869 | ||
e20f3dd1 | 2870 | 2004-03-28 Olga Golovonevsky <olga@il.ibm.com> |
18d5f982 | 2871 | Dorit Naishlos <dorit@il.ibm.com> |
e20f3dd1 | 2872 | |
18d5f982 ZW |
2873 | * config/rs6000/altivec.md: (andvv16qi3, andv8hi3, one_cmplv16qi2, |
2874 | one_cmplv8hi2, one_cmplv4si2, iorv16qi3, iorv8hi3,): New modelling. | |
e20f3dd1 | 2875 | |
d5ebbf58 SC |
2876 | 2004-03-28 Stephane Carrez <stcarrez@nerim.fr> |
2877 | ||
2878 | * config/m68hc11/m68hc11-protos.h (m68hc11_page0_symbol_p): Declare. | |
2879 | ||
2880 | * config/m68hc11/m68hc11.c (m68hc11_handle_page0_attribute): New. | |
2881 | (m68hc11_attribute_table): New attribute "page0" to mark a global | |
2882 | variable as being allocated from within page0 section. | |
2883 | (m68hc11_encode_label): New function. | |
2884 | (m68hc11_strip_name_encoding): New function. | |
2885 | (m68hc11_page0_symbol_p): New function. | |
2886 | (m68hc11_indirect_p): Accept global variables marked in page0. | |
2887 | (m68hc11_encode_section_info): Lookup "page0" attribute. | |
2888 | ||
2889 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): 'R' constraint also | |
2890 | represents access to page0 variables. | |
2891 | ||
2892 | * config/m68hc11/m68hc11.md ("*logicalsi3_zexthi"): Use gen_rtx_REG. | |
2893 | ("*logicalsi3_silshl16_zext"): Likewise. | |
2894 | ("*ashldi3_const32"): Likewise. | |
2895 | (peephole2 ashift): Likewise. | |
2896 | ||
5baeaac0 JM |
2897 | 2004-03-28 Joseph S. Myers <jsm@polyomino.org.uk> |
2898 | ||
2899 | * c-tree.h (C_DECL_REGISTER): New. | |
2900 | * c-aux-info.c (gen_decl), c-decl.c (objc_mark_locals_volatile, | |
2901 | finish_decl, grokdeclarator, get_parm_info), c-typeck.c | |
2902 | (build_array_ref, c_mark_addressable): Set and use it. | |
2903 | * c-decl.c (grokdeclarator), c-typeck.c (c_mark_addressable): | |
2904 | Allow structures with volatile fields to be declared register. | |
2905 | Don't check TREE_ADDRESSABLE before warning about taking address | |
2906 | of register. | |
2907 | * c-decl.c (finish_decl): Don't allow structures with volatile | |
2908 | fields to be placed in named register. | |
2909 | * doc/trouble.texi: Remove reference to structures with volatile | |
2910 | fields in registers. | |
2911 | ||
84c1fa24 UW |
2912 | 2004-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
2913 | ||
2914 | * function.c (thread_prologue_and_epilogue): Move | |
2915 | NOTE_INSN_FUNCTION_END and NOTE_INSN_FUNCTION_BEG notes | |
2916 | before the epilogue. | |
2917 | ||
053ee101 UW |
2918 | 2004-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
2919 | ||
2920 | * expr.c (store_constructor): Use gen_int_mode to correctly | |
2921 | sign-extend CONST_INT value. | |
2922 | ||
ca4944e1 KG |
2923 | 2004-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2924 | ||
2925 | * builtin-types.def (BT_WINT, BT_FN_INT_WINT, BT_FN_WINT_WINT): New. | |
2926 | * builtins.def (DEF_C94_BUILTIN): New. Add wctype builtins. | |
2927 | * doc/extend.texi: Likewise. | |
2928 | ||
eb1a2c88 DN |
2929 | 2004-03-26 Diego Novillo <dnovillo@redhat.com> |
2930 | ||
2931 | * c-typeck.c (comptypes): Replace calls to TYPE_DOMAIN | |
2932 | with TYPE_ORIG_SIZE_TYPE. | |
2933 | ||
eabe2b29 | 2934 | 2004-03-25 Aldy Hernandez <aldyh@redhat.com> |
18d5f982 ZW |
2935 | |
2936 | PR 14219 | |
2937 | * c-typeck.c (build_binary_op): Do not allow comparisons of | |
2938 | vectors. | |
eabe2b29 | 2939 | |
9e1395f1 JM |
2940 | 2004-03-26 James A. Morrison <ja2morri@uwaterloo.ca> |
2941 | ||
2942 | * config.gcc: Remove sparc-tti-*. | |
2943 | * config/sparc/pbd.h: Delete. | |
2944 | ||
2945 | * config/sparc/sol2.h: Remove note about Sun OS 4.x. | |
2946 | * config/sparc/aout.h: Likewise. | |
2947 | ||
2948 | * config/sparc/sparc.h: Remove if 0'd code. | |
2949 | * config/sparc/sparc.md (call): Remove if 0'd code. | |
2950 | (call_value): Likewise. | |
2951 | (nonlocal_goto): Likewise. | |
2952 | (unimp_insn): Delete. | |
2953 | ||
22e63bd3 RS |
2954 | 2004-03-25 Roger Sayle <roger@eyesopen.com> |
2955 | ||
2956 | * fold-const.c (tree_expr_nonnegative_p): Handle BIT_XOR_EXPR like | |
2957 | BIT_IOR_EXPR; A^B is nonnegative when A and B are nonnegative. | |
2958 | ||
0066ef9c RH |
2959 | 2004-03-25 Richard Henderson <rth@redhat.com> |
2960 | ||
2961 | PR 11527 | |
18d5f982 ZW |
2962 | * c-typeck.c (pop_init_level): Emit pending init elements earlier |
2963 | rather than later. | |
0066ef9c | 2964 | |
3a048383 KG |
2965 | 2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2966 | ||
2967 | * builtins.c (fold_builtin): Fix error in last change. | |
2968 | ||
0d63bf21 RS |
2969 | 2004-03-25 Richard Sandiford <rsandifo@redhat.com> |
2970 | ||
2971 | * config/mips/mips.h: Formatting fix. | |
2972 | ||
740e5b6f KG |
2973 | 2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2974 | ||
2975 | * builtins.def: Add ctype builtins. | |
2976 | * doc/extend.texi: Likewise. | |
2977 | ||
e19f6bde KG |
2978 | 2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2979 | ||
2980 | * builtins.c (fold_builtin): Add new builtin optimizations for | |
2981 | sqrt and/or cbrt. | |
2982 | * fold-const.c (fold): Likewise. | |
2983 | ||
ec507f2d DE |
2984 | 2004-03-25 David Edelsohn <edelsohn@gnu.org> |
2985 | ||
2986 | * config/rs6000/rs6000.c (rs6000_always_hint): New variable. | |
2987 | (rs6000_sched_groups): New variable. | |
2988 | (processor_target_table): Add power5. | |
2989 | (rs6000_override_options): Set rs6000_sched_insert_nops, | |
2990 | rs6000_sched_costly_dep and rs6000_sched_restricted_insns_priority | |
2991 | from rs6000_sched_groups. | |
2992 | (output_cbranch): Use rs6000_always_hint. | |
2993 | (rs6000_variable_issue): Use rs6000_sched_groups. | |
2994 | (rs6000_adjust_cost): Add CPU_POWER5. | |
2995 | (is_microcoded_insn): Use rs6000_sched_groups. | |
2996 | (is_dispatch_slot_restricted): Use rs6000_sched_groups. | |
2997 | Return 2 for POWER5 cracked instructions. | |
2998 | (is_cracked_insn): Use rs6000_sched_groups. | |
2999 | (is_branch_slot_insn): Use rs6000_sched_groups. | |
3000 | (rs6000_issue_rate): Add CPU_POWER5. | |
3001 | (rs6000_sched_finish): Use rs6000_sched_groups. | |
3002 | (rs6000_rtx_costs): Add PROCESSOR_POWER5. | |
3003 | * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_POWER5. | |
3004 | (DEFAULT_SCHED_COSTLY_DEP): Delete. | |
3005 | (DEFAULT_RESTRICTED_INSNS_PRIORITY): Delete. | |
3006 | (DEFAULT_SCHED_FINISH_NOP_INSERTION_SCHEME): Delete. | |
3007 | * config/rs6000/rs6000.md (define_attr "cpu"): Add power5. | |
3008 | * config/rs6000/power5.md: New file. | |
3009 | * doc/invoke.texi: Add power5 option. | |
3010 | ||
666c27b9 KH |
3011 | 2004-03-25 Kazu Hirata <kazu@cs.umass.edu> |
3012 | ||
3013 | * cfgrtl.c, dbxout.c, tree.def, config/darwin.h, | |
3014 | config/arm/arm.c, objc/objc-act.c: Fix comment typos. | |
3015 | * doc/invoke.texi: Fix a typo. | |
3016 | ||
43a21dfc KH |
3017 | 2004-03-25 Kazu Hirata <kazu@cs.umass.edu> |
3018 | ||
3019 | PR optimization/9707. | |
3020 | * stmt.c (emit_case_nodes): Emit equality comparisons instead | |
3021 | of recursing if both children are single-valued cases with no | |
3022 | children. | |
3023 | ||
9728c9d1 PB |
3024 | 2004-03-25 Paul Brook <paul@codesourcery.com> |
3025 | ||
3026 | * config/arm/arm.c (vfp_print_multi): Remove. | |
3027 | (arm_output_fldmx): New function. | |
3028 | (vfp_emit_fstmx): Return block size, not insn. Add ARM10 VFPr1 bugfix. | |
3029 | (arm_expand_prologue): Update to match. | |
3030 | (arm_get_vfp_saved_size): New Function. | |
3031 | (arm_get_frame_offsets): Use it. | |
3032 | (arm_output_epilogue): Use new functions. | |
3033 | ||
bb1acb3e RH |
3034 | 2004-03-24 Richard Henderson <rth@redhat.com> |
3035 | ||
3036 | * alias.c (alias_invariant, alias_invariant_size): Mark GTY. | |
3037 | (reg_known_value, reg_known_value_size): Likewise; make static. | |
3038 | (reg_known_equiv_p): Make static. | |
3039 | (clear_reg_alias_info): Update for new indexing. | |
3040 | (get_reg_known_value, set_reg_known_value): New. | |
3041 | (get_reg_known_equiv_p, set_reg_known_equiv_p): New. | |
3042 | (canon_rtx): Use them. | |
3043 | (init_alias_analysis): Likewise. Allocate reg_known_value with gc. | |
3044 | Don't play queer offsetting games with reg_known_value and | |
3045 | reg_known_equiv_p. | |
3046 | (end_alias_analysis): Free reg_known_value with gc. | |
3047 | * rtl.h (get_reg_known_value, get_reg_known_equiv_p): Declare. | |
3048 | * sched-deps.c (reg_known_equiv_p, reg_known_value): Remove. | |
3049 | (deps_may_trap_p, sched_analyze_1, sched_analyze_2): Use the new | |
3050 | functions instead. | |
3051 | ||
ef335eb8 KH |
3052 | 2004-03-24 Kazu Hirata <kazu@cs.umass.edu> |
3053 | ||
3054 | * dwarf2asm.c, loop.h, pretty-print.c, pretty-print.h, | |
3055 | config/i386/mmintrin.h: Update copyright. | |
3056 | ||
09a9c095 NN |
3057 | 2004-03-24 Nathanael Nerode <neroden@gcc.gnu.org> |
3058 | ||
3059 | * configure.ac: Add --enable-werror-always (for top level bootstrap | |
3060 | support). | |
3061 | * configure: Regenerate. | |
3062 | ||
f75963f5 ZL |
3063 | 2004-03-24 Ziemowit Laski <zlaski@apple.com> |
3064 | ||
3065 | * objc/objc-act.c (objc_comptypes): Treat comparisons | |
3066 | between 'Class' and '<class> *' as explicitly invalid. | |
3067 | ||
8d3b3fb7 DE |
3068 | 2004-03-24 David Edelsohn <edelsohn@gnu.org> |
3069 | ||
3070 | * doc/invoke.texi (-frename-registers: Add enabled at -O3. | |
3071 | (-fprofile-values): Add enabled with profile-{generate,use}. | |
3072 | (-fvpt): Same. | |
3073 | (-ftracer): Add enabled with profile-use. | |
3074 | (-funit-at-a-time): Add enabled at -O2,-O3. | |
3075 | (-funroll-loops): Add enabled with profile-use. | |
3076 | (-funswitch-loops): Add enabled with profile-use. Remove duplicates. | |
3077 | (max-gcse-passes): Mention default. | |
3078 | (max-cse-path-length): Mention default. | |
3079 | ||
643d3bd2 NN |
3080 | 2004-03-24 Nathanael Nerode <neroden@gcc.gnu.org> |
3081 | ||
3082 | * Makefile.in (STRICT2_WARN): Reorder. | |
3083 | * configure.ac: Check for -Wold-style-definition, and use it | |
3084 | in strict1_warn if it's available. | |
3085 | * configure: Regnerate. | |
3086 | ||
5848830f PB |
3087 | 2004-03-24 Paul Brook <paul@nowt.org> |
3088 | ||
3089 | * config.gcc <arm>: Add --with-abi= | |
3090 | * config/arm/arm-protos.h (arm_get_frame_size, thumb_get_frame_size, | |
3091 | thumb_far_jump_used): Remove prototypes. | |
3092 | (arm_needs_doubleword_align): Add prototype. | |
3093 | (thumb_compute_initial_elimination_offset): Ditto. | |
3094 | * config/arm/arm.c (arm_get_frame_offsets): New function. | |
3095 | (use_return_insn, output_return_instruction, arm_output_epilogue, | |
3096 | arm_output_function_epilogue, arm_compute_initial_elimination_offset, | |
3097 | arm_expand_prologue, thumb_expand_epilogue): Use it. | |
3098 | (arm_abi, target_abi_name, all_arm_abis): New variables. | |
3099 | (arm_override_options): Set them. Set structure padding for AAPCS. | |
3100 | (arm_return_in_memory): Update ABI check. | |
3101 | (arm_init_cumulative_args): Initialize can_split. | |
3102 | (arm_needs_doubleword_align): New function. | |
3103 | (arm_function_arg): Don't split args after pushing to stack. Handle | |
3104 | doubleword/even reg alignment. | |
3105 | (arm_va_arg): Handle all doubleword aligned args. | |
3106 | (add_minpoolforward ref, dump_minpool, push_minpool_fix): Align based | |
3107 | on ABI, not CPU. | |
3108 | (arm_compute_save_reg0_reg12_mask): Fix comment. | |
3109 | (thumb_get_frame_size, thumb_get_frame_size): Remove. | |
3110 | (thumb_jump_far_used_p): Remove superfluous argument. Return save | |
3111 | value for alignment. | |
3112 | (thumb_unexpanded_epilogue, thumb_output_function_prologue): Change | |
3113 | to match. | |
3114 | (thumb_compute_initial_elimination_offset): New function. | |
3115 | (thumb_expand_prologue): Use arm_get_frame_offsets. Remove | |
3116 | unneccessary rounding. | |
3117 | * config/arm/arm.h (target_abi_name): Declare. | |
3118 | (ARM_DOUBLEWORD_ALIGN, DOUBLEWORD_ALIGNMENT, TARGET_IWMMXT_ABI, | |
3119 | arm_abi_type, ARM_DEFAULT_ABI): Define. | |
3120 | (ARM_FLAG_ATPCS): Remove. | |
3121 | (TARGET_OPTIONS, OPTION_DEFAULT_SPECS): Add -mabi=. | |
3122 | (BIGGEST_ALIGNMENT, PREFERRED_STACK_BOUNDARY, STACK_BOUNDARY): Use it. | |
3123 | (ADJUST_FIELD_ALIGN, DATA_ALIGNMENT, LOCAL_ALIGNMENT, | |
3124 | TYPE_NEEDS_IWMMXT_ALIGNMENT): Remove. | |
3125 | (LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P): | |
3126 | Contitionalize on ABI, not CPU. | |
3127 | (struct arm_stack_offsets): Define. | |
3128 | (struct machine_function): Add stack_offsets. Remove frame_size. | |
3129 | (FUNCTION_ARG_PARTIAL_NREGS): Don't split if previous args have been | |
3130 | pushed. | |
3131 | (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_BOUNDARY): Handle general | |
3132 | doubleword alignment. | |
3133 | (THUMB_INITIAL_ELIMINATION_OFFSET, | |
3134 | ARM_INITIAL_ELIMINATION_OFFSET): Remove. | |
3135 | (INITIAL_ELIMINATION_OFFSET): Call functions directly. | |
3136 | * config/arm/arm.md (align_8): Enable for all targets. | |
3137 | * config/arm/netbsd-elf.h (TARGET_DEFAULT): Remove TARGET_ATPCS. | |
3138 | (ARM_DEFAULT_ABI): Define. | |
3139 | * doc/invoke.texi <ARM>: Document -mabi=. Update documentation for | |
3140 | -mstructure-size-boundary. | |
3141 | ||
b5472e1d NN |
3142 | 2004-03-24 Nathanael Nerode <neroden@gcc.gnu.org> |
3143 | ||
3144 | * configure.ac: Check for -Wno-variadic-macros; don't use | |
3145 | -pedantic (in stage 1 or a simple 'make all') unless it's available, | |
3146 | and if it's available, use it. Also, clean up check for | |
3147 | -Wno-long-long. | |
3148 | * configure: Regenerate. | |
3149 | ||
c1077e1e RS |
3150 | 2004-03-24 Richard Sandiford <rsandifo@redhat.com> |
3151 | ||
3152 | * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Remove tm_defines. | |
3153 | * config/mips/vr.h (DEFAULT_VR_ARCH): New macro, defined to vr4130. | |
3154 | (MULTILIB_DEFAULTS): Use it. | |
3155 | (MIPS_CPU_STRING_DEFAULT): Remove. | |
3156 | (MIPS_ABI_DEFAULT, MIPS_MARCH_CONTROLS_SOFT_FLOAT): Define. | |
3157 | (DRIVER_SELF_SPECS): Make -mfix-vr4122-bugs imply -march=vr4120. Make | |
3158 | EABI64 -mlong32 the default ABI. Enforce the default architecture. | |
3159 | * config/mips/t-vr (MULTILIB_OPTIONS): Add mfix-vr4122-bugs, | |
398a9492 | 3160 | march=vr4130, march=vr4300, march=vr5000 and march=vr5500. |
c1077e1e RS |
3161 | (MULTILIB_MATCHES): Use -mfix-vr4122-bugs multilibs for -march=vr4120. |
3162 | (MULTILIB_EXCEPTIONS): Change choice of multilibs. Update comments | |
3163 | accordingly. | |
3164 | ||
c235ddf2 DD |
3165 | 2004-03-24 DJ Delorie <dj@redhat.com> |
3166 | Richard Sandiford <rsandifo@redhat.com> | |
3167 | ||
3168 | * config/mips/mips.h (MASK_FIX_VR4122, TARGET_FIX_VR4122): New macros. | |
3169 | (TARGET_SWITCHES): Add -mfix-vr4122-bugs and -mno-fix-vr4122-bugs. | |
3170 | (ASM_SPEC): Pass down -mfix-vr4122-bugs. | |
3171 | * config/mips/mips.c (mips_avoid_hazards): Don't emit whole functions | |
3172 | in .set noreorder and .set nomacro if TARGET_FIX_VR4122. | |
3173 | (mips_init_libfuncs): Use special functions for divsi3 and modsi3 | |
3174 | if TARGET_FIX_VR4122. | |
3175 | * config/mips/mips.md (define_attr length): Account for nops inserted | |
3176 | after macc and dmult when using -mfix-vr4122-bugs. | |
3177 | (umuldi3_highpart, divmodsi4, divmoddi4): Disable if TARGET_FIX_VR4122. | |
3178 | * config/mips/t-vr (LIB2FUNCS_STATIC_EXTRA): Define instead of | |
3179 | LIB2FUNCS_EXTRA. Add config/mips/vr4122-div.S. | |
3180 | * config/mips/vr4122-div.S: New file. | |
3181 | * doc/invoke.texi: Document -mfix-vr4122-bugs. | |
3182 | ||
cf768d70 RS |
3183 | 2004-03-24 Richard Sandiford <rsandifo@redhat.com> |
3184 | ||
3185 | * config/mips/mips.h (PROCESSOR_R4130): New processor_type. | |
3186 | (TARGET_MIPS4130): New macro. | |
3187 | (ISA_HAS_MACC): Return true if TARGET_MIPS4130 && !TARGET_MIPS16. | |
3188 | * config/mips/mips.c (mips_cpu_info_table): Add a vr4130 entry. | |
3189 | (override_options): Extend MIPS_MARCH_CONTROLS_SOFT_FLOAT to deal | |
3190 | with PROCESSOR_R4130. | |
3191 | * config/mips/mips.md (define_attr cpu): Add r4130. | |
3192 | * doc/invoke.texi: Document vr4130 as a supported MIPS architecture. | |
3193 | ||
5ef1a99d MR |
3194 | 2004-03-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
3195 | Richard Sandiford <rsandifo@redhat.com> | |
3196 | ||
3197 | * doc/invoke.texi: Apply missed hunk from 2004-03-03 change. | |
3198 | ||
ae87624f AO |
3199 | 2004-03-24 Alexandre Oliva <aoliva@redhat.com> |
3200 | ||
3201 | PR preprocessor/14438 | |
3202 | * cpplib.c (do_pragma): Remove line_change call after pragma | |
3203 | handler. | |
3204 | ||
d63851eb ILT |
3205 | 2004-03-23 Ian Lance Taylor <ian@wasabisystems.com> |
3206 | ||
3207 | * doc/extend.texi (ARM Built-in Functions): Replace with correct | |
3208 | declarations. | |
3209 | ||
0c5faf29 RS |
3210 | 2004-03-23 Roger Sayle <roger@eyesopen.com> |
3211 | ||
3212 | * reg-stack.c (get_true_reg): Handle FLOAT_TRUNCATE like FLOAT_EXTEND | |
3213 | if flag_unsafe_math_optimizations. | |
3214 | * config/i386/i386.md (truncdfsf2): If flag_unsafe_math_optimizations | |
3215 | and TARGET_80387 expand using truncdfsf2_noop pattern. | |
3216 | (truncxfsf2): Likewise using truncxfsf2_noop. | |
3217 | (truncxfdf2): Likewise using truncxfdf2_noop. | |
3218 | (truncdfsf2_noop, truncxfsf2_noop, truncxfdf2_noop): New patterns. | |
3219 | ||
f18eca82 ZL |
3220 | 2004-03-23 Ziemowit Laski <zlaski@apple.com> |
3221 | ||
3222 | * hooks.c (hook_constcharptr_tree_null): New hook. | |
3223 | * hooks.h (hook_constcharptr_tree_null): New prototype. | |
3224 | * target-def.h (TARGET_MANGLE_FUNDAMENTAL_TYPE): New target hook. | |
3225 | * target.h (mangle_fundamental_type): New target hook. | |
3226 | * config/rs6000/rs6000.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Point | |
3227 | target hook at rs6000_mangle_fundamental_type. | |
3228 | (rs6000_mangle_fundamental_type): New function. | |
3229 | * doc/tm.texi (TARGET_MANGLE_FUNDAMENTAL_TYPE): Document. | |
3230 | ||
f75fbaf7 ZW |
3231 | 2004-03-23 Zack Weinberg <zack@codesourcery.com> |
3232 | ||
1b1d85bd | 3233 | PR 12267, 12391, 12560, 13129, 14114, 14133 |
f75fbaf7 ZW |
3234 | * c-tree.h: Forward declare struct c_binding. Declare |
3235 | c_override_bindings_to_false. Update prototypes. | |
3236 | (struct lang_identifier): Update comments. Change fields to be | |
3237 | struct c_binding *. | |
3238 | (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE) | |
3239 | (IDENTIFIER_LABEL_VALUE, C_DECL_INVISIBLE) | |
3240 | (KEEP_NO, KEEP_YES, KEEP_MAYBE): Delete. | |
3241 | (C_DECL_IN_EXTERNAL_SCOPE, C_DECL_DECLARED_BUILTIN): New. | |
3242 | * c-common.h: Update prototypes. | |
3243 | * c-decl.c (struct c_scope): Update commentary. Remove names, | |
3244 | names_last, parms, parms_last, tags, and shadowed fields. Add | |
3245 | bindings and depth fields. | |
3246 | (scope_freelist): Move to more appropriate location. | |
3247 | (c_print_identifier): Update for changes to struct lang_identifier. | |
3248 | (objc_mark_locals_volatile): Update for new bindings structures. | |
3249 | (global_bindings_p): Honor c_override_global_bindings_to_false. | |
3250 | (pushlevel): Rename to push_scope; take no arguments; use the | |
3251 | scope_freelist; initialize scope->depth and check for overflow. | |
3252 | (poplevel): Rename to pop_scope; totally rewritten for new bindings | |
3253 | structures. | |
3254 | (diagnose_mismatched_decls): Use C_DECL_DECLARED_BUILTIN, not | |
3255 | C_DECL_INVISIBLE, for certain decisions. Adjust some diagnostics. | |
3256 | Improve some commentary. Adjust handling of forward parm decls. | |
3257 | (merge_decls): Set C_DECL_DECLARED_BUILTIN when appropriate. | |
3258 | Preserve C_DECL_IN_EXTERNAL_SCOPE. | |
3259 | (warn_if_shadowing): Correct indentation. Improve diagnostics. | |
3260 | (pushdecl): Remove unnecessary assertion. Short-circuit anonymous | |
3261 | decls. Rewrite for new bindings structures. Improve commentary. | |
3262 | Eliminate the copy_node call. | |
3263 | (implicit_decl_warning): Use the "diag" idiom (as seen in | |
3264 | locate_old_decl) to reduce code duplication; call locate_old_decl | |
3265 | if appropriate. Relocate to remove need for forward declaration. | |
3266 | (implicitly_declare): Adjust for new bindings structures. Kludge | |
3267 | around Objective-C not-really-builtin functions. | |
3268 | (undeclared_variable): Improve diagnostics. If current_function_decl | |
3269 | is nonnull but current_function_scope is null, use current_scope. | |
3270 | Use bind. | |
3271 | (lookup_tag): Adjust for new bindings structures. Kludge around | |
3272 | Objective-C's tag declarations that wind up in the external scope. | |
3273 | (lookup_name): Adjust for new bindings structures. Kludge around | |
3274 | c-common.c's pseudo-typedefs that wind up in the external scope. | |
3275 | (lookup_name_current_level): Rename lookup_name_in_scope; take a | |
3276 | second argument indicating the scope to examine; rewrite for | |
3277 | new bindings structures. | |
3278 | (c_init_decl_processing): Adjust for renamed functions. Do not | |
3279 | initialize current_file_decl, first_builtin_decl, last_builtin_decl. | |
3280 | First scope pushed is the external scope, not the global scope. | |
3281 | (builtin_function): Use bind, not pushdecl. Adjust other bits | |
3282 | for new data structures. Keep track of builtins that should be | |
3283 | made visible automatically. | |
3284 | (start_decl): Adjust diagnostics. Remove unnecessary call to | |
3285 | expand_decl. | |
3286 | (grokparms): Return 0 if arg_types is error_mark_node. | |
3287 | (get_parm_info): Rename "void_at_end" argument to "ellipsis", with | |
3288 | reversed sense. Rewrite for new bindings structures. Do not | |
3289 | leave any decls in the scope, to prevent pop_scope from doing | |
3290 | contradictory things with them. | |
3291 | (finish_struct, finish_enum): Remove redundant diagnostics. | |
3292 | (build_enumerator): Don't cascade diagnostics for error_mark_node. | |
3293 | Mark location where -pedantic changes the meaning of the program. | |
3294 | (store_parm_decls_newstyle, store_parm_decls_oldstyle): Load the | |
3295 | parameter decls into the function's scope structure using bind. | |
3296 | Warn here about function definitions in the wrong style. | |
3297 | Adjust diagnostics. | |
3298 | (store_parm_decls): Correct the determination of whether a | |
3299 | function was defined with a prototype. | |
3300 | (c_write_global_declarations): Operate on all file decls and on | |
3301 | the external scope. Split body of the loop to... | |
3302 | (c_write_global_declarations_1): ... this new function, to avoid | |
3303 | code duplication. | |
3304 | (truly_local_externals, first_builtin_decl, last_builtin_decl) | |
3305 | (make_scope, pop_scope, in_parm_level_p, set_block) | |
3306 | (any_external_decl, record_external_decl, bind_label, getdecls) | |
3307 | (link_hash_hash, link_hash_eq, merge_translation_unit_decls) | |
3308 | (c_reset_state): Delete. | |
3309 | (visible_builtins, c_override_global_bindings_to_false) | |
3310 | (c_binding, I_SYMBOL_BINDING, I_SYMBOL_DECL, I_TAG_BINDING) | |
3311 | (I_TAG_DECL, I_LABEL_BINDING, I_LABEL_DECL, file_scope) | |
3312 | (external_scope, binding_freelist, bind, free_binding_and_advance) | |
3313 | (push_file_scope, pop_file_scope): New. | |
3314 | (pushtag, pushdecl_top_level, lookup_label, declare_label) | |
3315 | (define_label, c_make_fname_decl, finish_decl) | |
3316 | (mark_forward_parm_decls, build_compound_literal) | |
3317 | (grokdeclarator, start_function, check_for_loop_decls) | |
3318 | (identifier_global_value, record_builtin_type): Minor adjustments | |
3319 | for new bindings structures. Improve diagnostics and commentary. | |
3320 | * c-objc-common.c (start_cdtor, finish_cdtor): Adjust calls to | |
3321 | pushlevel/poplevel respectively. | |
3322 | (c_objc_common_finish_file): Don't call merge_translation_unit_decls. | |
3323 | * c-opts.c (c_common_parse_file): Remove spurious ATTRIBUTE_UNUSED. | |
3324 | Warn about YYDEBUG not being defined only if -dy. Remove no-longer- | |
3325 | correct loop over multiple translation units; call fatal_error if | |
3326 | requested to compile more than one file at once. (This disables | |
3327 | IMA temporarily - an up-front error being preferable to a crash.) | |
3328 | * c-parse.in (pushlevel, poplevel rules): Rename push_scope, pop_scope. | |
3329 | (all actions): Adjust calls to pushlevel/poplevel. | |
3330 | (parsing_iso_function_signature): Delete. | |
3331 | (extdef_1): Fold into extdef. | |
3332 | (old_style_parm_decls_1): Fold into old_style_parm_decls. Don't | |
3333 | warn here about function definitions in the wrong style. | |
3334 | (after_tyle_declarator, parm_declarator_starttypename) | |
3335 | (parm_declarator_nostarttypename, notype_declarator): Remove | |
3336 | commented-out productions. | |
3337 | (parmlist_1, parmlist_2): Use make_node, not tree_cons, to create | |
3338 | an empty TREE_LIST node. Adjust calls to get_parm_info. | |
3339 | (parmlist_2 : ELLIPSIS): Tag the arg-info block with error_mark_node | |
3340 | to suppress -Wold-style-definition after this error. | |
3341 | (c_parse_file): Don't clear the binding stack or call | |
3342 | finish_fname_decls here. Correct comment. | |
3343 | * c-typeck.c (same_translation_unit_p): Export. | |
3344 | (common_type): Use c_override_global_bindings_to_false, not | |
3345 | pushlevel/poplevel/declare_parm_level. | |
3346 | * c-lang.c: Override LANG_HOOKS_CLEAR_BINDING_STACK, | |
3347 | LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK, | |
3348 | and LANG_HOOKS_GETDECLS with do-nothing stubs. | |
3349 | * objc/objc-lang.c: Likewise. | |
3350 | * objc/objc-act.c: Adjust all calls to pushlevel, poplevel, | |
3351 | get_parm_info. | |
3352 | (OBJC_VOID_AT_END): Delete; replace all uses | |
3353 | with void_list_node. | |
3354 | (generate_forward_declaration_to_string_table): Delete. | |
3355 | * objc/objc-act.h (OCTI_STRG_DECL, UOBJC_STRINGS_decl): Delete. | |
3356 | ||
3357 | * coverage.c (create_coverage): Don't pushdecl anything. | |
3358 | * langhooks.c (lhd_clear_binding_stack): Call | |
3359 | lang_hooks.decls.poplevel, not poplevel. | |
3360 | * tree.c (list_length): If ENABLE_TREE_CHECKING, abort on a | |
3361 | circular list rather than going into an infinite loop. | |
3362 | ||
0c0ab0f1 OH |
3363 | 2004-03-23 Olivier Hainque <hainque@act-europe.fr> |
3364 | ||
f75fbaf7 ZW |
3365 | * optabs.c (expand_binop): When synthesizing double word rotates |
3366 | from single word shifts, use a new register target if the provided | |
3367 | target is not a REG already. | |
0c0ab0f1 | 3368 | |
22421b79 RK |
3369 | 2004-03-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3370 | ||
3371 | * alias.c (get_alias_set): Add support for TYPE_REF_CAN_ALIAS_ALL. | |
3372 | * c-common.c (handle_mode_attribute): Add extra arg to | |
3373 | build_pointer_type_for_mode and build_reference_type_for_mode. | |
3374 | * c-typeck.c (build_c_cast): Only look at TREE_CONSTANT_OVERFLOW | |
3375 | for INTEGER_CST. | |
3376 | * tree.c (build_pointer_type_for_mode): Add arg CAN_ALIAS_ALL. | |
3377 | Chain pointers via TYPE_NEXT_PTR_TO. | |
3378 | (build_reference_type_for_mode): Similarly. | |
3379 | (build_type_no_quals): Add extra arg to build_pointer_type_for_mode | |
3380 | and build_reference_type_for_mode. | |
3381 | (tree_check4_failed): New function. | |
3382 | * tree.h (TREE_CHECK4, PTR_OR_REF_CHECK): New macros. | |
3383 | (TYPE_REF_CAN_ALIAS_ALL, TYPE_NEXT_PTR_TO, TYPE_NEXT_REF_TO): Likewise. | |
3384 | (TREE_NO_UNSUED_WARNING, TREE_VIA_VIRTUAL, TREE_CONSTANT_OVERFLOW): | |
3385 | Add check. | |
3386 | ||
b1500d00 RS |
3387 | 2004-03-23 Roger Sayle <roger@eyesopen.com> |
3388 | ||
3389 | * fold-const.c (tree_expr_nonnegative_p): A&B is nonnegative when | |
3390 | A is nonnegative or B is nonnegative. Similarly A|B is nonnegative | |
3391 | when both A and B are nonnegative. | |
3392 | (tree_expr_nonzero_p): A|B is nonzero when A is nonzero or B is | |
3393 | nonzero. | |
3394 | ||
73b91357 KH |
3395 | 2004-03-23 Kazu Hirata <kazu@cs.umass.edu> |
3396 | ||
3397 | * fold-const.c (fold): Remove cases for INTEGER_CST, REAL_CST, | |
3398 | VECTOR_CST, STRING_CST, COMPLEX_CST, and CONSTRUCTOR. | |
3399 | ||
bb3a37ac RS |
3400 | 2004-03-23 Kazu Hirata <kazu@cs.umass.edu> |
3401 | ||
3402 | PR optimization/14669 | |
3403 | * fold-const.c (fold): Only unwiden integer comparisons for equality | |
3404 | and inequality operators, or when the signedness doesn't change. | |
3405 | ||
f2c79f80 JJ |
3406 | 2004-03-23 Jakub Jelinek <jakub@redhat.com> |
3407 | ||
3408 | * config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file. | |
3409 | * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Set. | |
3410 | * config/sparc/t-linux: New file. | |
3411 | ||
1707bafa RS |
3412 | 2004-03-23 Richard Sandiford <rsandifo@redhat.com> |
3413 | ||
3414 | * gcse.c (can_assign_to_reg_p): New function, split out from... | |
3415 | (want_to_gcse_p): ...here. | |
3416 | (compute_ld_motion_mems): Use can_assign_to_reg_p to validate | |
3417 | the rhs of a store. | |
3418 | ||
63185fab DN |
3419 | 2004-03-22 Diego Novillo <dnovillo@redhat.com> |
3420 | ||
3421 | * c-typeck.c (same_translation_unit_p): Fix pasto. | |
3422 | ||
f72c6b56 DE |
3423 | 2004-03-22 David Edelsohn <edelsohn@gnu.org> |
3424 | ||
3425 | * params.def (PARAM_MAX_SCHED_REGION_BLOCKS): New. | |
3426 | (PARAM_MAX_SCHED_REGION_INSNS): New. | |
3427 | * sched-rgn.c: Include params.h | |
3428 | (MAX_RGN_BLOCKS): Delete. | |
3429 | (MAX_RGN_INSNS): Delete. | |
3430 | (too_large): Return bool. Convert to PARAM_VALUE. | |
0483ab6e | 3431 | * Makefile.in (sched-rgn.o): Depend on $(PARAMS_H). |
f72c6b56 DE |
3432 | * doc/invoke.texi (param): Document max-sched-region-blocks and |
3433 | max-sched-region-insns. | |
3434 | ||
d6672e91 JB |
3435 | 2004-03-22 Joel Brobecker <brobecker@gnat.com> |
3436 | ||
3437 | * dwarf2out.c (is_subrange_type): Do not emit a subrange_type DIE | |
3438 | for base types. | |
3439 | ||
886de2d4 JB |
3440 | 2004-03-22 Joel Brobecker <brobecker@gnat.com> |
3441 | ||
3442 | * dwarf2out.c (is_subrange_type): Minor code rework. No behavior | |
3443 | change. | |
3444 | ||
d915eec0 JJ |
3445 | 2004-03-22 Jakub Jelinek <jakub@redhat.com> |
3446 | ||
3447 | PR c/14069 | |
3448 | * c-decl.c (finish_struct): Change type of incorrect flexible array | |
3449 | field into error_mark_node. | |
3450 | ||
aa6d25c9 AP |
3451 | 2004-03-22 Andrew Pinski <pinskia@physics.uc.edu> |
3452 | ||
19a03303 | 3453 | PR target/14580 |
aa6d25c9 AP |
3454 | * config/rs6000/rs6000.c (symbol_ref_operand): Reject symbols |
3455 | who are not local for Darwin PIC. | |
3456 | ||
ead61c1d UW |
3457 | 2004-03-22 Ulrich Weigand <uweigand@de.ibm.com> |
3458 | ||
3459 | * regrename.c (regrename_optimize): Set regs_ever_live for all | |
3460 | registers introduced as replacement. | |
3461 | ||
1bbd65cd EB |
3462 | 2004-03-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
3463 | ||
3464 | PR middle-end/14470 | |
3465 | * expr.c (mark_queue): New function. | |
3466 | (emit_insns_enqueued_after_mark): New function replacing | |
3467 | emit_queue. Clear the body of emitted queued insns. | |
3468 | (emit_queue): Call emit_insns_enqueued_after_mark. | |
3469 | (store_expr): Mark the increment queue on entry. Emit | |
3470 | only the incrementations queued when expanding the source. | |
3471 | ||
6dd297da NN |
3472 | 2004-03-22 Nathanael Nerode <neroden@gcc.gnu.org> |
3473 | ||
3474 | * configure.ac: Allow --disable-coverage-flags (for the future benefit | |
3475 | of top level bootstrap, and consistency). Reindent. | |
3476 | * configure: Regenerate. | |
3477 | ||
400e39e3 KH |
3478 | 2004-03-21 Kazu Hirata <kazu@cs.umass.edu> |
3479 | ||
3480 | * bt-load.c, builtins.c, cfghooks.c, cfgrtl.c, gcse.c, | |
3481 | ggc-page.c, integrate.c, var-tracking.c, web.c: Remove | |
3482 | unnecessary casts. | |
3483 | ||
bd8ec6a7 DS |
3484 | 2004-03-22 Danny Smith <dannysmith@users.sourceforge.net> |
3485 | ||
3486 | PR target/14291 | |
3487 | * gcov-io.h (gcov_truncate): Define ftruncate as _chsize for | |
3488 | __MINGW32__. | |
3489 | ||
bd446804 UW |
3490 | 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
3491 | ||
3492 | * config/s390/s390.md ("*doloop_si"): Change predicate for operand 2 | |
3493 | to nonimmediate_operand. | |
3494 | ("*doloop_di"): Likewise. | |
3495 | ||
1e92bbb9 AO |
3496 | 2004-03-21 Alexandre Oliva <aoliva@redhat.com> |
3497 | ||
3498 | * real.h (struct real_value): Use the same type for all | |
3499 | bitfields. Rename exp to uexp. | |
3500 | (REAL_EXP, SET_REAL_EXP): New accessor macros for uexp. | |
3501 | Adjust all uses of exp... | |
3502 | * builtins.c: ... here, ... | |
3503 | * emit-rtl.c: ... here, and ... | |
3504 | * real.c: ... and here. | |
3505 | ||
b9b44fb9 GDR |
3506 | 2004-03-21 Gabriel Dos Reis <gdr@integrable-solutions.net> |
3507 | ||
3508 | * pretty-print.c (pp_base_maybe_space): New function. | |
3509 | * pretty-print.h (pp_base_maybe_space): Declare. | |
3510 | (pp_maybe_space): New macro. | |
3511 | ||
1c7b1b7e UW |
3512 | 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
3513 | ||
3514 | * config/s390/s390.md ("addti3", "subti3"): New insns and splitters. | |
3515 | ||
f258e38b UW |
3516 | 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
3517 | ||
3518 | * expmed.c (choose_mult_variant): Pass MULT_COST as argument instead | |
3519 | of using register multiplication cost. | |
3520 | (expand_mult): Adapt choose_mult_variant call. | |
3521 | (expand_mult_highpart): Call choose_mult_variant with WIDER_MODE | |
3522 | of MODE; pass appropriate cost bound. Adjust result when | |
3523 | performing signed multiplication by a negative constant. | |
3524 | Don't use intermediate modes larger than word_mode. | |
3525 | ||
6fce44af RK |
3526 | 2004-03-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3527 | ||
3528 | * alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR. | |
3529 | * emit-rtl.c (component_ref_for_mem_expr): Likewise. | |
3530 | (set_mem_attributes_minus_bitpos): Call SUBSTITUTE_PLACEHOLDER_IN_EXPR. | |
3531 | * explow.c (expr_size): Likewise. | |
3532 | * expr.h (placeholder_list, find_placeholder): Deleted. | |
3533 | * expr.c (store_constructor): Likewise. | |
3534 | (get_inner_reference): Likewise. Also don't call find_placeholder. | |
3535 | (placeholder_list, find_placeholder): Deleted. | |
3536 | (is_aligning_offset): Don't handle WITH_RECORD_EXPR, PLACEHOLDER_EXPR. | |
3537 | (expand_expr_real, cases PLACEHOLDER_EXPR, WITH_RECORD_EXPR): Likewise. | |
3538 | (highest_pow2_factor, case WITH_RECORD_EXPR): Remove. | |
3539 | * dojump.c (do_jump, case WITH_RECORD_EXPR): Likewise. | |
3540 | * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): | |
3541 | Likewise. | |
3542 | * fold-const.c (invert_truthvalue, case WITH_RECORD_EXPR): Likewise. | |
3543 | (extract_muldiv, case WITH_RECORD_EXPR): Likewise. | |
3544 | * tree.c (expr_align, case WITH_RECORD_EXPR): Likewise. | |
3545 | (contains_placeholder_p): Don't handle WITH_RECORD_EXPR. | |
3546 | Clean up by using first_rtl_op. | |
3547 | (substitute_in_expr): Use SUBSTITUTE_IN_EXPR for recursive call. | |
3548 | (substitute_placeholder_in_expr): New function. | |
3549 | * tree.def (WITH_RECORD_EXPR): Deleted. | |
3550 | * tree.h (SUBSTITUTE_IN_EXPR, SUBSTITUTE_PLACEHOLDER_IN_EXPR): New. | |
3551 | (substitute_placeholder_in_expr): New. | |
3552 | ||
0f005f33 AP |
3553 | 2004-03-21 Andrew Pinski <pinskia@gcc.gnu.org> |
3554 | ||
3555 | * dojump.c (prefer_and_bit_test): Fix which part of | |
3556 | the and_test is replaced. | |
3557 | ||
f80352b8 JM |
3558 | 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk> |
3559 | ||
3560 | * frontends.texi: Add missing line. | |
3561 | ||
6ad79f18 | 3562 | 2004-03-21 Zack Weinberg <zack@codesourcery.com> |
f75fbaf7 ZW |
3563 | Chris Devers <cdevers@pobox.com> |
3564 | Joseph S. Myers <jsm@polyomino.org.uk> | |
6ad79f18 JM |
3565 | |
3566 | * doc/frontends.texi: Rewrite. | |
3567 | * doc/gcc.texi: Update last modification date. | |
3568 | ||
eabd7d31 JZ |
3569 | 2004-03-21 Josef Zlomek <zlomekj@suse.cz> |
3570 | ||
3571 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug | |
3572 | message before redirecting the edge. | |
3573 | ||
f8ad8d7c ZD |
3574 | 2004-03-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3575 | ||
3576 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER | |
3577 | flag. | |
3578 | * explow.c (force_not_mem): Set REG_POINTER flag according to | |
3579 | MEM_POINTER one. | |
3580 | * rtl.h (MEM_POINTER): New macro. | |
3581 | (struct rtx_def): Use integrated for MEM_SCALAR_P and frame_related | |
3582 | for MEM_POINTER. | |
3583 | ||
8cce3d04 RS |
3584 | 2004-03-20 Roger Sayle <roger@eyesopen.com> |
3585 | ||
3586 | PR target/13889 | |
3587 | * cse.c (fold_rtx): Avoid substituting constants into unary | |
687c3ea5 | 3588 | conversion operations. |
8cce3d04 | 3589 | |
05fe5c67 KH |
3590 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
3591 | ||
3592 | * fold-const.c (fold): Replace "expr" with "t". | |
3593 | ||
dea984dc ILT |
3594 | 2004-03-20 Ian Lance Taylor <ian@wasabisystems.com> |
3595 | ||
3596 | PR c/12373 | |
3597 | * c-typeck.c (tagged_types_tu_compatible_p): Don't use | |
3598 | DECL_ORIGINAL_TYPE if there isn't one. | |
3599 | ||
079f946d KH |
3600 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
3601 | ||
3602 | * fold-const.c (fold): Replace "final_type" with "type". | |
3603 | Remove variable "final_type". | |
3604 | ||
8d3784af KH |
3605 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
3606 | ||
3607 | * fold-const.c (fold): Constify "type". | |
3608 | Replace "TREE_TYPE (t)" with "type". | |
3609 | ||
245f1bfa KH |
3610 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
3611 | ||
3612 | * bb-reorder.c, bt-load.c, c-decl.c, cfgcleanup.c, coverage.c, | |
3613 | dwarf2asm.c, ifcvt.c, stor-layout.c, varasm.c: Replace calls | |
3614 | via (*targetm.foo) () with targetm.foo (). | |
3615 | ||
802f6d4b JM |
3616 | 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk> |
3617 | ||
3618 | PR other/14630 | |
3619 | * doc/install.texi: Add info directory category and entry. | |
3620 | ||
ea993805 KH |
3621 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
3622 | ||
3623 | * fold-const.c (fold): Replace "t" with "tem" where it is used | |
3624 | as a temporary variable. Remove "orig_t" and all of its uses. | |
3625 | ||
8e7b3a43 KH |
3626 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
3627 | ||
3628 | * fold-const.c (fold): Remove variable "invert". | |
3629 | Move the handling of relational expressions that can be folded | |
3630 | to a constant ... | |
3631 | (fold_relational_const): ... here. | |
3632 | (tree_expr_nonzero_p): New. | |
3633 | ||
b1c2d04a JM |
3634 | 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk> |
3635 | ||
3636 | PR c/14635 | |
3637 | * builtins.def (nan, nanf, nanl, nans, nansf, nansl): Change to | |
3638 | DEF_GCC_BUILTIN. | |
3639 | ||
dbf833ee RS |
3640 | 2004-03-20 Richard Sandiford <rsandifo@redhat.com> |
3641 | ||
3642 | * Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h. | |
3643 | (GTFILES): Add $(srcdir)/dojump.h. | |
3644 | (gt-dojump.h): New dependency. | |
3645 | * dojump.c (and_reg, and_test, shift_test): New static variables. | |
3646 | (prefer_and_bit_test): New function. | |
3647 | (do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1. | |
3648 | ||
d1a6adeb KH |
3649 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
3650 | ||
3651 | * c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c, | |
3652 | expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c, | |
3653 | reorg.c, tree.h: Fix comment typos. | |
3654 | ||
5fd9b178 KH |
3655 | 2004-03-19 Kazu Hirata <kazu@cs.umass.edu> |
3656 | ||
3657 | * alias.c, attribs.c, bt-load.c, builtins.c, c-common.c, | |
3658 | c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c, | |
3659 | cse.c, dbxout.c, dwarf2out.c, except.c, final.c, | |
3660 | haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c, | |
3661 | sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c, | |
3662 | vmsdbgout.c: Replace calls via (*targetm.foo) () with | |
3663 | targetm.foo (). | |
3664 | ||
86e7df90 ZL |
3665 | 2004-03-19 Ziemowit Laski <zlaski@apple.com> |
3666 | ||
3667 | * config/rs6000/altivec.h (vec_dst, vec_dstst, vec_dststt, | |
3668 | vec_dstt, vec_sld, vec_splat): Add prototypes, marked with | |
3669 | always_inline attribute. | |
3670 | * config/rs6000/rs6000.c (altivec_expand_dst_builtin): | |
3671 | Treat expansion as completed even if literal argument is | |
3672 | invalid (so that other expansions are not tried in vain). | |
3673 | ||
147d77b6 KH |
3674 | 2004-03-19 Kazu Hirata <kazu@cs.umass.edu> |
3675 | ||
3676 | * loop-doloop.c (add_test): Replace GEN_INT (0) with | |
3677 | const0_rtx. | |
3678 | ||
73c4ab99 KH |
3679 | 2004-03-19 Kazu Hirata <kazu@cs.umass.edu> |
3680 | ||
3681 | * fold-const.c (fold) <ABS_EXPR>: Move the handling of constants | |
3682 | ... | |
3683 | (fold_abs_const): ... here. | |
3684 | ||
a6002f8d RK |
3685 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3686 | ||
3687 | * tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly. | |
3688 | ||
829bde68 DC |
3689 | 2004-03-19 Denis Chertykov <denisc@overta.ru> |
3690 | ||
d0aa5f10 | 3691 | PR target/11520 |
829bde68 DC |
3692 | * config/avr/avr.md ("call_insn"): Handle explicit integer |
3693 | specially. | |
3694 | (call_value_insn): Likewise. | |
3695 | ||
9d2a492d RK |
3696 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3697 | ||
3698 | * tree.c (substitute_in_expr): Rewrite to simplify and be more generic. | |
3699 | ||
33d13fac KH |
3700 | 2004-03-19 Kazu Hirata <kazu@cs.umass.edu> |
3701 | ||
3702 | * fold-const.c (negate_expr): Move the handling of constants | |
3703 | ... | |
3704 | (fold_negate_const): ... here. | |
3705 | ||
7548281d RK |
3706 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3707 | ||
3708 | * langhooks-def.h (LANG_HOOKS_HASH_TYPES): New macro and hook. | |
3709 | * langhooks.h (struct lang_hooks_for_types): New field hash_types. | |
3710 | * tree.c (debug_no_type_hash): Deleted. | |
3711 | (type_hash_canon): Abort if passed a variant. | |
3712 | Check lang_hooks.types.hash_types. | |
3713 | (build_type_no_quals): Copy mode of POINTER_TYPE and REFERENCE_TYPE. | |
3714 | (build_array_type): Remove unnecessary allocation of pointer type. | |
3715 | (build_complex_type): Properly qualify resulting type. | |
3716 | ||
7e463bda PB |
3717 | 2004-03-19 Paolo Bonzini <bonzini@gnu.org> |
3718 | ||
3719 | * config/rs6000/rs6000.c (rs6000_init_builtins): Fix typo. | |
3720 | ||
8efc8980 RS |
3721 | 2004-03-19 Richard Sandiford <rsandifo@redhat.com> |
3722 | ||
3723 | * expmed.c (choose_mult_variant, expand_mult_const): New, split from... | |
3724 | (expand_mult): ...here. | |
3725 | (extract_high_half): New, split out from expand_mult_highpart. | |
3726 | (expand_highpart_optab): Likewise. Don't clobber target prematurely. | |
3727 | (expand_highpart): Evaluate the cost of a shift/add sequence, | |
3728 | then see if any of the specialized optabs are cheaper. | |
3729 | ||
ff3fcb8a ILT |
3730 | 2004-03-18 Ian Lance Taylor <ian@wasabisystems.com> |
3731 | ||
3732 | * mklibgcc.in: Remove obsolete MAYBE_USE_COLLECT2. | |
3733 | ||
1fb7e3af KG |
3734 | 2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3735 | ||
3736 | * convert.c (convert_to_real): Add more math builtins. | |
3737 | ||
b3810360 KG |
3738 | 2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3739 | ||
3740 | * convert.c (convert_to_real): Reformat using switch stmt. | |
3741 | ||
9d363a56 MM |
3742 | 2004-03-18 Mark Mitchell <mark@codesourcery.com> |
3743 | ||
3744 | * c-common.c (pointer_int_sum): Do not complain about using | |
3745 | pointers to pointers-to-members. | |
3746 | ||
c3690d79 KH |
3747 | 2004-03-18 Kazu Hirata <kazu@cs.umass.edu> |
3748 | ||
3749 | * system.h (MD_ASM_CLOBBERS): Move to "Old target macros that | |
3750 | have moved to the target hooks structure". | |
3751 | ||
c3840092 JW |
3752 | 2004-03-18 James E Wilson <wilson@specifixinc.com> |
3753 | ||
3754 | * config/mips/mips.md (type): Split move into arith and fmove. Split | |
3755 | hilo into mthilo and mfhilo. Add trap. Delete icmp. Fix all uses. | |
3756 | * config/mips/5400.md (ir_vr54_hilo, ir_vr54_arith, ir_vr54_fabs): | |
3757 | Likewise. | |
3758 | * config/mips/5500.md (ir_vr55_hilo, ir_vr55_arith, ir_vr55_fabs): | |
3759 | Likewise. | |
3760 | * config/mips/7000.md (rm7_int_other, rm7_mthilo, rm7_mfhilo, | |
3761 | rm7_fp_quick): Likewise. | |
3762 | * config/mips/9000.md (rm9k_int, rm9k_mfhilo, rm9k_mthilo, | |
3763 | rm9k_fquick): Likewise. | |
3764 | * config/mips/sr71k.md (ir_sr70_hilo, ir_sr70_arith, ir_sr70_fabs): | |
3765 | Likewise. | |
3766 | (ir_sr70_icmp): Delete. | |
3767 | ||
eb34af89 | 3768 | 2004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
f75fbaf7 | 3769 | |
eb34af89 RK |
3770 | * tree.h (TREE_CHECK2, TREE_CHECK3, TREE_CHECK5): New macros. |
3771 | (tree_check2_failed, tree_check3_failed, tree_check5_failed): New decl. | |
3772 | (FUNC_OR_METHOD_CHECK, SET_ARRAY_OR_VECTOR_CHECK): New macros. | |
3773 | (REC_OR_UNION_CHECK, NUMERICAL_TYPE_CHECK): Likewise. | |
3774 | (TYPE_VALUES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_METHODS, TYPE_VFIELD): | |
3775 | Protect with proper check. | |
3776 | (TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, TYPE_OFFSET_BASETYPE): Likewise. | |
3777 | (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Likewise. | |
3778 | * tree.c (type_hash_eq): Rewrite to access proper fields for each type. | |
3779 | (tree_check2_failed, tree_check3_failed, tree_check5_failed): New. | |
3780 | * c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES. | |
3781 | * dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES, | |
3782 | not TYPE_FIELDS. | |
d3b6a5fb | 3783 | * stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE. |
eb34af89 | 3784 | |
2171cb85 MH |
3785 | 2004-03-18 Mostafa Hagog <mustafa@il.ibm.com> |
3786 | ||
3787 | * gcse.c (eliminate_partially_redundant_loads): Reject change if | |
3788 | dest is set between beginning and current insn. | |
3789 | ||
4ada538b MM |
3790 | 2004-03-18 Mark Mitchell <mark@codesourcery.com> |
3791 | ||
3792 | * c-decl.c (grokdeclarator): Do not complain about redeclaring | |
3793 | visible "static" identifiers "extern" in a local scope. | |
3794 | * dwarf2out.c (loc_descriptor_from_tree): Handle pre- and | |
3795 | post-increments/decrements. | |
3796 | ||
79e9ebdc BW |
3797 | 2004-03-18 Bob Wilson <bob.wilson@acm.org> |
3798 | ||
3799 | * config/xtensa/xtensa.c (current_function_arg_words): Delete. | |
3800 | (xtensa_builtin_saveregs): Use current_function_args_info.arg_words. | |
3801 | (xtensa_va_start): Remove assignment to current_function_arg_words. | |
3802 | ||
5da6f168 RS |
3803 | 2004-03-18 Richard Sandiford <rsandifo@redhat.com> |
3804 | ||
3805 | * alias.c (record_set): Detect the case where a register is assigned | |
3806 | a new value that has the same base term as the old one. | |
3807 | ||
689ba89d ZD |
3808 | 2004-03-18 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3809 | ||
3810 | * doloop.c: Removed. | |
3811 | * loop-doloop.c: New file. | |
3812 | * Makefile.in (doloop.o): Remove. | |
3813 | (loop-doloop.o): New. | |
3814 | * cfgloop.h (get_loop_level, doloop_optimize_loops): Declare. | |
3815 | * cfgloopanal.c (get_loop_level): New function. | |
3816 | * loop-iv.c (iv_number_of_iterations): Handle case when loop | |
3817 | is leaved immediatelly. | |
3818 | * loop.c (strength_reduce): Do not call doloop optimization. | |
3819 | * loop.h (LOOP_BCT): Removed. | |
3820 | * passes.c (rest_of_handle_loop_optimize): Do not use LOOP_BCT. | |
3821 | (rest_of_handle_loop2): Call doloop_optimize_loops. | |
3822 | (rest_of_compilation): Test for optimizations moved to | |
3823 | rest_of_handle_loop2. | |
3824 | ||
327e5343 FJ |
3825 | 2004-03-17 Fariborz Jahanian <fjahanian@apple.com> |
3826 | ||
f75fbaf7 ZW |
3827 | * config/rs6000/rs6000.c (rs6000_stack_info): correct reg_size |
3828 | for mixed mode. | |
3829 | (rs6000_emit_prologue): Ditto. | |
3830 | (rs6000_emit_epilogue): Ditto. | |
3831 | * config/rs6000/rs6000.h: Definition of DWARF_CIE_DATA_ALIGNMENT | |
3832 | macro for mixed mode. | |
327e5343 | 3833 | |
214ee4a2 JH |
3834 | 2004-03-18 Jan Hubicka <jh@suse.cz> |
3835 | ||
3836 | * predict.c (propagate_freq): Compute correctly frequency of | |
3837 | EXIT_BLOCK. | |
3838 | ||
33521f7d EC |
3839 | 2004-03-17 Eric Christopher <echristo@redhat.com> |
3840 | ||
3841 | * builtins.c (apply_args_size): Use reg_raw_mode. | |
3842 | (apply_result_size): Ditto. | |
3843 | ||
d3daf7bb RC |
3844 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
3845 | ||
3846 | PR target/14620 | |
3847 | * config/rtems.h: Add STD_LIB_SPEC and LIB_SPEC. | |
3848 | ||
bb6df272 JJ |
3849 | 2004-03-17 Jakub Jelinek <jakub@redhat.com> |
3850 | ||
3851 | * config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for | |
3852 | 32-bit builds when defaulting to 32-bit. | |
3853 | ||
7eca0767 JH |
3854 | 2004-03-17 Jan Hubicka <jh@suse.cz> |
3855 | ||
3856 | * cfgrtl.c (rtl_create_basic_block): Pre-allocate basic_block_info | |
3857 | array. | |
3858 | ||
3a3ae5e5 JW |
3859 | 2004-03-17 James E Wilson <wilson@specifixinc.com> |
3860 | ||
3861 | * config/mips/mips.md (zero_extendsidi2): Add length attribute. | |
3862 | (hazard_nop): Change type to nop. | |
3863 | (type): Split arith into arith, shift, slt, clz. Delete darith. | |
3864 | Fix all uses. Change arith to multi if more than one insn emitted. | |
3865 | * config/mips/5400.md (ir_vr54_arith): Likewise. | |
3866 | * config/mips/5500.md (ir_vr55_arith): Likewise. | |
3867 | * config/mips/7000.md (rm7_int_other): Likewise. | |
3868 | * config/mips/9000.md (rm9k_int): Likewise. | |
3869 | * config/mips/sr71k.md (ir_sr70_arith): Likewise. | |
3870 | ||
6582c808 JB |
3871 | 2004-03-17 Joel Brobecker <brobecker@gnat.com> |
3872 | ||
3873 | * dwarf2out.c (subrange_type_die): Define new variable "subtype" | |
3874 | to hold the subtype tree instead of recomputing it several times. | |
3875 | ||
7ae4afcb KH |
3876 | 2004-03-17 Kazu Hirata <kazu@cs.umass.edu> |
3877 | ||
3878 | * config/mn10300/mn10300.c (notice_update_cc): Don't handle | |
3879 | CC_INVERT. | |
3880 | * config/mn10300/mn10300.md (cc): Remove "invert". | |
3881 | ||
b57051b2 KG |
3882 | 2004-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3883 | ||
d093738d KG |
3884 | * builtins.c (integer_valued_real_p): Add builtin rint. |
3885 | (fold_builtin): Likewise. | |
3886 | * convert.c (convert_to_real): Likewise. | |
3887 | ||
b57051b2 KG |
3888 | * convert.c (convert_to_real): Fix typos in `long double' |
3889 | builtins. | |
3890 | ||
88020bd8 MM |
3891 | 2004-03-16 Mark Mitchell <mark@codesourcery.com> |
3892 | ||
3893 | PR c++/14481 | |
3894 | * fold-const.c (fold): Set TREE_NO_UNUSED_WARNING on implicitly | |
3895 | generated COMPOUND_EXPRs. | |
3896 | ||
bf3864fe RC |
3897 | 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
3898 | ||
3899 | * config/h8300/t-rtems (h8300-*-rtems*): New. | |
3900 | ||
bc4c01b7 EC |
3901 | 2004-03-16 Eric Christopher <echristo@redhat.com> |
3902 | ||
3903 | * doc/cppopts.texi(fwide-exec-charset): Fix typo. | |
3904 | ||
3c5cb3e4 KH |
3905 | 2004-03-16 Kazu Hirata <kazu@cs.umass.edu> |
3906 | ||
3907 | * config/i386/i386-protos.h: Add a prototype for | |
3908 | ix86_reverse_condition. | |
3909 | * config/i386/i386.c (ix86_reverse_condition): New. | |
3910 | * config/i386/i386.h (REVERSE_CONDITION): Use | |
3911 | ix86_reverse_condition. | |
3912 | * config/i386/i386.md: Use ix86_reverse_condition instead of | |
3913 | REVERSE_CONDITION. | |
3914 | ||
fd5580cb B |
3915 | 2004-03-16 J. Brobecker <brobecker@gnat.com> |
3916 | ||
3917 | * dwarf2out.c (loc_descriptor_from_tree): Add handling for MIN_EXPR. | |
3918 | ||
78fab00f NN |
3919 | 2004-03-16 Nathanael Nerode <neroden@gcc.gnu.org> |
3920 | ||
3921 | PR bootstrap/12974 | |
3922 | * Makefile.in: Pass $(INCLUDES) down to libgcc.mk explicitly. | |
3923 | ||
4a5eab38 PB |
3924 | 2004-03-16 Paolo Bonzini <bonzini@gnu.org> |
3925 | ||
3926 | * c-common.c (c_common_type_for_mode): Build vector types on | |
3927 | demand. | |
3928 | (handle_mode_attribute): Deprecate using the mode attribute | |
3929 | to create vector types. Fix indentation. | |
3930 | (vector_type_node_list): Remove. | |
3931 | (handle_vector_size_attribute): Create vector types on demand. | |
3932 | Strip a NON_LVALUE_EXPR from the attribute if there is one. | |
3933 | * c-typeck.c (comptypes): Make vector types compatible if they | |
3934 | have the same underlying mode. | |
3935 | (convert_for_assignment): Use comptypes to convert between | |
3936 | vector types. | |
3937 | * tree.c (build_common_tree_nodes_2): Do not create vector types. | |
3938 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Create necessary | |
3939 | vector types. | |
3940 | * tree.h: Remove vector types. | |
3941 | * config/i386/i386.c (i386_init_mmx_sse_builtins): Likewise. | |
3942 | * config/rs6000/rs6000.c (rs6000_init_builtins): Likewise. | |
3943 | (V16QI_type_node, V2SI_type_node, V2SF_type_node, V4HI_type_node, | |
3944 | V4SI_type_node, V4SF_type_node, V8HI_type_node): New globals. | |
3945 | * doc/extend.texi (Vector Types): Document how to use the | |
3946 | vector_size attribute to create vectors, rather than mode. | |
3947 | ||
3948 | * config/arm/mmintrin.h: Use vector_size attribute, not mode. | |
3949 | * config/i386/emmintrin.h: Likewise. | |
3950 | * config/i386/mmintrin.h: Likewise. | |
3951 | * config/i386/xmmintrin.h: Likewise. | |
3952 | * config/sh/ushmedia.h: Likewise. | |
3953 | ||
b862b3b3 KH |
3954 | 2004-03-16 Kazu Hirata <kazu@cs.umass.edu> |
3955 | ||
3956 | * config/freebsd-spec.h, config/arc/arc-protos.h, | |
3957 | config/arm/aout.h, config/arm/elf.h, config/arm/freebsd.h, | |
3958 | config/arm/linux-gas.h, config/arm/semi.h, | |
3959 | config/cris/cris-protos.h, config/i386/xm-djgpp.h, | |
3960 | config/ia64/freebsd.h, config/mips/7000.md, | |
3961 | config/mips/9000.md, config/ns32k/ns32k-protos.h, | |
3962 | config/sparc/pbd.h: Update copyright. | |
3963 | ||
314733e2 RC |
3964 | 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
3965 | ||
3966 | PR target/14577 | |
3967 | * config.gcc: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff. | |
3968 | ||
6621d78e PB |
3969 | 2004-03-16 Paolo Bonzini <bonzini@gnu.org> |
3970 | ||
3971 | * combine.c (combine_simplify_rtx): Remove the "last" | |
3972 | parameter and its documentation. Adjust recursive calls. | |
3973 | (simplify_logical): Always perform the only simplification | |
3974 | controlled by "last", if the simplified expression is | |
3975 | actually different. | |
3976 | (try_combine): Do not pass the "last" parameter to | |
3977 | combine_simplify_rtx. | |
3978 | ||
4e7edcca RS |
3979 | 2004-03-16 Richard Sandiford <rsandifo@redhat.com> |
3980 | ||
3981 | PR target/14599 | |
3982 | * config/mips/mips.md (UNSPEC_GP): New constant. | |
3983 | * config/mips/mips.c (CONST_GP_P): Expect the CONST to contain | |
3984 | an UNSPEC instead of (reg $gp). | |
3985 | (mips16_gp_pseudo_reg): Change accordingly. | |
3986 | (print_operand): Print $gp directly when handling CONST_GP_P. | |
3987 | ||
3988 | 2004-03-16 Richard Zidlicky <rz@linux-m68k.org> | |
3704aae9 RZ |
3989 | |
3990 | * config.gcc, config/m68k/linux.h: Implement with-cpu for m68k-linux. | |
3991 | * longlong.h: Make code 68060 clean when compiling for m68060. | |
3992 | ||
4e7edcca | 3993 | 2004-03-16 Richard Zidlicky <rz@linux-m68k.org> |
8ac658b6 RZ |
3994 | |
3995 | * config/m68k/m68k.md: Fix constraints for bitfield instructions. | |
3996 | * doc/md.texi: Clarify description of "i" constraint. | |
3997 | ||
1a478672 JW |
3998 | 2004-03-15 James E Wilson <wilson@specifixinc.com> |
3999 | ||
4000 | * config/mips/mips.md (type): Split load into load, fpload, fpidxload. | |
4001 | Split store into store, fpstore, fpidxstore. Fix all uses. | |
4002 | * config/mips/5400.md (ir_vr54_load, ir_vr54_store, ir_vr54_fstore): | |
4003 | Likewise. | |
4004 | * config/mips/5500.md (ir_vr55_load, i5_vr55_store): Likewise. | |
4005 | * config/mips/7000.md (rm7_ld, rm7_st): Likewise. | |
4006 | * config/mips/9000.md (rm9k_load, rm9k_store): Likewise. | |
4007 | * config/mips/sr71k.md (ir_sr70_load, ir_sr70_store, ir_sr70_fload, | |
4008 | ir_sr70_fstore): Likewise. | |
4009 | ||
0977ab3a RH |
4010 | 2004-03-15 Richard Henderson <rth@redhat.com> |
4011 | ||
4012 | PR middle-end/14535 | |
4013 | * except.c (collect_one_action_chain): Record action for cleanup | |
4014 | outer of exception spec. | |
4015 | ||
4e4083ad ILT |
4016 | 2004-03-15 Ian Lance Taylor <ian@wasabisystems.com> |
4017 | ||
4018 | * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address): | |
4019 | Fix the check for abort and only do the mmap if we can. | |
4020 | ||
ed38d6fe EB |
4021 | 2004-03-15 Eric Botcazou <ebotcazou@act-europe.fr> |
4022 | ||
4023 | * config/sparc/sparc.h: Rework comments about the code model | |
4024 | in 64-bit environment and the mode 'Pmode'. | |
4025 | * doc/invoke.texi (SPARC options): Rework description of the | |
4026 | different code models supported in 64-bit environment. | |
4027 | ||
1f8551b2 KH |
4028 | 2004-03-15 Kazu Hirata <kazu@cs.umass.edu> |
4029 | ||
4030 | * defaults.h (REVERSIBLE_CC_MODE): Define. | |
4031 | * jump.c (reversed_comparison_code_parts): Don't check if | |
4032 | REVERSIBLE_CC_MODE is defined. | |
4033 | ||
ca2b05ba KH |
4034 | 2004-03-15 Kazu Hirata <kazu@cs.umass.edu> |
4035 | ||
4036 | * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c, | |
4037 | et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h, | |
4038 | hosthooks.h, params.h, ra-colorize.c, web.c, | |
4039 | config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c, | |
4040 | config/avr/avr-protos.h, config/avr/avr.md, | |
4041 | config/fr30/fr30-protos.h, config/fr30/fr30.md, | |
4042 | config/h8300/fixunssfsi.c, config/i386/darwin.h, | |
4043 | config/i386/freebsd.h, config/i386/freebsd64.h, | |
4044 | config/ia64/hpux.h, config/ia64/unwind-ia64.c, | |
4045 | config/ip2k/libgcc.S, config/m32r/xm-m32r.h, | |
4046 | config/mmix/mmix-modes.def, config/ns32k/netbsd.h, | |
4047 | config/ns32k/ns32k.md, config/pa/pa64-hpux.h, | |
4048 | config/pa/pa64-regs.h, config/rs6000/aix41.h, | |
4049 | config/rs6000/aix43.h, config/rs6000/host-darwin.c, | |
4050 | config/sparc/aout.h, config/sparc/freebsd.h, | |
4051 | config/sparc/litecoff.h, config/vax/vax-protos.h, | |
4052 | doc/hostconfig.texi, doc/include/gcc-common.texi: Update | |
4053 | copyright. | |
4054 | ||
983e6484 PB |
4055 | 2004-03-15 Paul Brook <paul@codesourcery.com> |
4056 | ||
4057 | * config/arm/arm.c (thumb_expand_prologue): Tie prologue insns to fp. | |
4058 | ||
5c3c69f4 GDR |
4059 | 2004-03-15 Gabriel Dos Reis <gdr@integrable-solutions.net> |
4060 | ||
4061 | * c-pretty-print.c (pp_c_semicolon): Fix formatting. | |
4062 | (pp_c_cv_qualifier): Document. | |
4063 | (pp_c_space_for_pointer_operator): Likewise. | |
4064 | (pp_c_integer_constant): Likewise. | |
4065 | (pp_c_identifier): Likewise. | |
4066 | (pp_c_init_declarator): Don't print function body. | |
4067 | ||
2dd76960 JM |
4068 | 2004-03-14 Joseph S. Myers <jsm@polyomino.org.uk> |
4069 | ||
4070 | * doc/contrib.texi, doc/extend.texi, doc/gcov.texi, | |
4071 | doc/install.texi, doc/invoke.texi, doc/makefile.texi, | |
4072 | doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize | |
4073 | "gcc", "g++" and "g77" or mark up with appropriate markup. Adjust | |
4074 | wording and grammar. | |
4075 | ||
ae2bcd98 RS |
4076 | 2004-03-14 Roger Sayle <roger@eyesopen.com> |
4077 | ||
4078 | * alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) () | |
4079 | with lang_hooks.foo (). | |
4080 | * builtins.c (expand_builtin_va_arg): Likewise. | |
4081 | * c-common.c (fname_as_string, c_common_truthvalue_conversion, | |
4082 | c_common_type_for_mode, c_common_nodes_and_builtins, | |
4083 | handle_mode_attribute, handle_vector_size_attribute): Likewise. | |
4084 | * c-convert.c (convert): Likewise. | |
4085 | * c-format.c (check_format_types): Likewise. | |
4086 | * c-objc-common.c (c_tree_printer): Likewise. | |
4087 | * c-typeck.c (build_unary_op, build_conditional_expr, | |
4088 | build_binary_op): Likewise. | |
4089 | * calls.c (try_to_integrate, expand_call, | |
4090 | emit_library_call_value_1): Likewise. | |
4091 | * cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p): | |
4092 | Likewise. | |
4093 | * cgraphunit.c (record_call_1, cgraph_analyze_function, | |
4094 | cgraph_expand_function): Likewise. | |
4095 | * convert.c (convert_to_pointer, convert_to_integer): Likewise. | |
4096 | * coverage.c (build_fn_info_type, build_ctr_info_type, | |
4097 | build_gcov_info, create_coverage): Likewise. | |
4098 | * dbxout.c (dbxout_init): Likewise. | |
4099 | * diagnostic.c (diagnostic_report_current_function): Likewise. | |
4100 | * dojump.c (do_jump): Likewise. | |
4101 | * dwarf2out.c (dwarf2_name): Likewise. | |
4102 | * except.c (init_eh): Likewise. | |
4103 | * explow.c (expr_size, int_expr_size): Likewise. | |
4104 | * expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add): | |
4105 | Likewise. | |
4106 | * expr.c (store_expr, store_constructor, safe_from_p, | |
4107 | expand_expr_real, do_store_flag, try_casesi): Likewise. | |
4108 | * function.c (push_function_context_to, pop_function_context_from, | |
4109 | free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type, | |
4110 | put_var_into_stack, allocate_struct_function, current_function_name): | |
4111 | Likewise. | |
4112 | * integrate.c (copy_decl_for_inlining, expand_inline_function): | |
4113 | Likewise. | |
4114 | * langhooks.c (lhd_clear_binding_stack, write_global_declarations, | |
4115 | lhd_print_error_function): Likewise. | |
4116 | * opts.c (handle_option, decode_options): Likewise. | |
4117 | * passes.c (open_dump_file): Likewise. | |
4118 | * print-tree.c (print_node): Likewise. | |
4119 | * stmt.c (expand_fixup, fixup_gotos, expand_asm_operands, | |
4120 | expand_decl_cleanup, emit_case_nodes): Likewise. | |
4121 | * stor-layout.c (variable_size): Likewise. | |
4122 | * toplev.c (announce_function, wrapup_global_declarations, | |
4123 | check_global_declarations, compile_file, default_tree_printer, | |
4124 | process_options, lang_dependent_init, finalize): Likewise. | |
4125 | * tree-dump.c (dequeue_and_dump): Likewise. | |
4126 | * tree-inline.c (remap_decl, remap_block, copy_body_r, | |
4127 | initialize_inlined_parameters, declare_return_variable, | |
4128 | inlinable_function_p, expand_call_inline, optimize_inline_calls, | |
4129 | walk_tree, copy_tree_r): Likewise. | |
4130 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
4131 | * tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp, | |
4132 | unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl, | |
4133 | variably_modified_type_p, dump_tree_statistics): Likewise. | |
4134 | * varasm.c (assemble_variable, compare_constant, copy_constant, | |
4135 | force_const_mem, compute_reloc_for_constant, output_constant, | |
4136 | output_addressed_constants, initializer_constant_valid_p): Likewise. | |
4137 | ||
89acbae0 KC |
4138 | 2004-03-14 Kelley Cook <kcook@gcc.gnu.org> |
4139 | ||
4140 | * doc/install.texi: Make autoconf 2.13 the exception, not the rule. | |
4141 | ||
d01b30dc AT |
4142 | 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch> |
4143 | ||
4144 | * doc/install.texi: Reflect autoconf and automake version for | |
4145 | libffi. Update autoconf version to 2.59. | |
4146 | ||
5785c7de RS |
4147 | 2004-03-13 Roger Sayle <roger@eyesopen.com> |
4148 | ||
4149 | * fold-const.c (negate_expr, operand_equal_for_comparison_p, | |
4150 | optimize_bit_field_compare, decode_field_reference, all_ones_mask_p, | |
4151 | make_range, build_range_check, fold_range_test, unextend, | |
4152 | constant_boolean_node, fold_binary_op_with_conditional_arg, | |
4153 | fold_truthop, fold_mathfn_compare, fold_inf_compare, | |
4154 | fold_single_bit_test, fold): Replace calls via (*lang_hooks.foo) () | |
4155 | with lang_hooks.foo (). | |
4156 | ||
edc62122 RE |
4157 | 2004-03-14 Richard Earnshaw <rearnsha@arm.com> |
4158 | ||
4159 | * arm.h (EXTRA_CONSTRAINT_STR_ARM): Update comment. | |
4160 | ||
7db956db DH |
4161 | 2004-03-13 Dara Hazeghi <dhazeghi@yahoo.com> |
4162 | ||
4163 | * doc/install.texi: Note status of -fnew-ra. | |
4164 | ||
e6d55fd7 EB |
4165 | 2004-03-13 Eric Botcazou <ebotcazou@libertysurf.fr> |
4166 | ||
4167 | PR middle-end/14470 | |
4168 | * expr.c (store_expr): Call emit_queue before generating the move | |
4169 | from the temporary to the original target. Protect the temporary | |
4170 | from emit_queue. | |
4171 | ||
cfbab41c JJ |
4172 | 2004-03-13 Jakub Jelinek <jakub@redhat.com> |
4173 | ||
4174 | PR target/14533 | |
4175 | * config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC | |
4176 | other than UNSPEC_GOTOFF. | |
4177 | ||
1e1ab407 RE |
4178 | 2004-03-13 Richard Earnshaw <rearnsha@arm.com> |
4179 | ||
4180 | * arm.c (arm_legitimate_address_p): New argument, OUTER. Pass through | |
4181 | to arm_legitimate_index_p. Update all callers with SET as default | |
4182 | value. | |
4183 | (arm_legitimate_index_p): New argument, OUTER. Restrict the index | |
4184 | range if OUTER is a sign-extend operation on QImode. Correctly | |
4185 | reject shift operations on sign-extended QImode addresses. | |
4186 | (bad_signed_byte_operand): Delete. | |
4187 | (arm_extendqisi_mem_op): New function. | |
4188 | * arm.h (EXTRA_CONSTRAINT_ARM): Delete. Replace with... | |
4189 | (EXTRA_CONSTRAINT_STR_ARM): ... this. Handle extended address | |
4190 | constraints. | |
4191 | (CONSTRAINT_LEN): New. | |
4192 | (EXTRA_CONSTRAINT): Delete. Replace with... | |
4193 | (EXTRA_CONSTRAINT_STR): ... this. | |
4194 | (PREDICATE_CODES): Remove bad_signed_byte_operand. | |
4195 | * arm.md (extendqihi_insn): Use new constraint Uq. Rework. Length | |
4196 | is now always default. | |
4197 | (define_splits for bad sign-extend loads): Delete. | |
4198 | (arm_extendqisi, arm_extendqisi_v5): Likewise. | |
4199 | * arm/vfp.md (arm_movsi_vfp, arm_movdi_vfp, movsf_vfp, movdf_vfp): | |
4200 | Rework 'U' constraint to 'Uv'. | |
4201 | * arm-protos.h: Remove bad_signed_byte_operand. Add | |
4202 | arm_extendqisi_mem_op. | |
4203 | * doc/md.texi (ARM constraints): Rename VFP constraint (now Uv). | |
4204 | Add Uq constraint. | |
4205 | ||
c53bdcf5 AM |
4206 | 2004-03-13 Alan Modra <amodra@bigpond.net.au> |
4207 | ||
fa78dbea AM |
4208 | * config/rs6000/rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS |
4209 | with targetm version. | |
4210 | ||
c53bdcf5 AM |
4211 | PR target/14567 |
4212 | * config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete. | |
4213 | (HARD_REGNO_MODE_OK): Disallow TFmode for fp31. | |
4214 | * config/rs6000/rs6000.c (rs6000_arg_size): New function. | |
4215 | Update all users of RS6000_ARG_SIZE. | |
4216 | (function_arg_advance): Count fregno using mode size. | |
4217 | (function_arg): Handle long double split over regs and memory. | |
4218 | (function_arg_partial_nregs): Likewise. | |
4219 | (rs6000_va_arg): Repackage complex args. | |
4220 | ||
992ab122 DF |
4221 | 2004-03-13 Dean Ferreyra <dferreyra@igc.org> |
4222 | ||
4223 | PR target/14047 | |
4224 | * config/avr/avr.c (avr_progmem_p): Add "attributes" parameter. | |
4225 | (avr_insert_attributes): Pass "attributes" to avr_progmem_p. | |
4226 | * config/avr/avr-protos.h (avr_progmem_p): Change prototype. | |
4227 | ||
c973d557 JJ |
4228 | 2004-03-12 Jakub Jelinek <jakub@redhat.com> |
4229 | ||
4230 | * config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Add | |
4231 | prototype. | |
4232 | * config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): New. | |
4233 | * config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Define. | |
4234 | ||
4319ac92 AP |
4235 | 2003-03-12 Andrew Pinski <apinski@apple.com> |
4236 | ||
4237 | * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address): | |
4238 | Use ret instead of result. Use addr instead of base. | |
4239 | ||
bb674cef DE |
4240 | 2004-03-12 David Edelsohn <edelsohn@gnu.org> |
4241 | ||
4242 | * doc/install.texi (*-ibm-aix*): Document assembler and achiver | |
4243 | fixes required by libstdc++ and update installation instructions | |
4244 | for libstdc++.a. | |
4245 | ||
b1f123c7 DS |
4246 | 2004-03-12 Danny Smith <dannysmith@users.sourceforge.net> |
4247 | ||
4248 | * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Strip | |
4249 | leading '@' on fastcall symbols before stripping suffix. | |
4250 | ||
67962db5 RS |
4251 | 2004-03-12 Roger Sayle <roger@eyesopen.com> |
4252 | ||
4253 | * combine.c (unmentioned_reg_p): New function to check whether an | |
4254 | expression is a "specialization" of another, i.e. that there are | |
4255 | no registers or memory references mentioned in the first that don't | |
4256 | appear in the second. | |
4257 | (unmentioned_reg_p_1): New helper subroutine of unmentioned_reg_p. | |
4258 | (combine_instructions): Also try combining instructions using the | |
4259 | REG_EQUAL note from a preceding log-linked instruction. | |
4260 | ||
8937b6a2 RS |
4261 | 2004-03-12 Roger Sayle <roger@eyesopen.com> |
4262 | ||
4263 | * config/i386/i386.c (ix86_split_ashrdi): Optimize shift by 63. | |
4264 | ||
4746cf84 MA |
4265 | 2004-03-12 Matt Austern <austern@apple.com> |
4266 | ||
4267 | * target.h (struct gcc_target): New target hook, unwind_label. | |
4268 | * target-def.h (TARGET_ASM_EMIT_UNWIND_LABEL): New hook. | |
4269 | * output.h (default_emit_unwind_label): New function. | |
4270 | * default.h (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): New macro. | |
4271 | (TARGET_USES_WEAK_UNWIND_INFO): New target macro. | |
4272 | (TARGET_SUPPORTS_HIDDEN): New target macro. | |
4273 | * dwarf2out.c (struct dw_fde_struct): Add field for function decl | |
4274 | that corresponds to this FDE. | |
4275 | (FRAME_BEGIN_LABEL): Allow target to override default label. | |
4276 | (output_call_frame_info): If FDEs are linknonce, then use extra | |
c53bdcf5 | 4277 | indirection for FDE encoding, output a label for each FDE, and |
4746cf84 MA |
4278 | output an empty label for each function without an FDE. |
4279 | (dwarf2out_begin_prologue): Set up decl field when creating an FDE. | |
4280 | * varasm.c (globalize_decl): Call ASM_MAKE_LABEL_LINKONCE for | |
4281 | decls with DECL_ONE_ONLY set, if that macro is defined. | |
4282 | (make_decl_one_only): Don't use DECL_COMMON if we're compiling | |
4283 | for a SUPPORTS_ONE_ONLY target. | |
4284 | * config/darwin-protos.h (darwin_unique_section): Declare. | |
4285 | (darwin_asm_named_section): Likewise. | |
4286 | (darwin_section_type_flags): Likewise. | |
4287 | (darwin_non_lazy_pcrel): Likewise. | |
4288 | (darwin_emit_unwind_label): Likewise. | |
4289 | (darwin_make_decl_one_only): Likewise. | |
4290 | * config/darwin.c (machopic_finish): Get rid of tweak that | |
4291 | eliminate stubs for symbols that are defined. | |
4292 | (darwin_encode_section_info): Don't treat weak functions as defined. | |
4293 | (darwin_make_decl_one_only): Define. | |
4294 | (darwin_asm_named_section): Likewise. | |
4295 | (darwin_section_type_flags): Likewise. | |
4296 | (darwin_unique_section): Likewise. | |
4297 | (darwin_emit_unwind_label): Likewise. | |
4298 | (darwin_non_lazy_pcrel): Likewise. | |
4299 | (darwin_asm_output_dwarf_delta): Difference between two labels is | |
4300 | local only if both labels are local. | |
4301 | * config/darwin.h (MAKE_DECL_ONE_ONLY): Define. | |
4302 | (ASM_MAKE_LABEL_LINKONCE): Likewise. | |
4303 | (TARGET_SUPPORTS_HIDDEN): Likewise. | |
4304 | (TARGET_USES_WEAK_UNWIND_INFO): Likewise. | |
4305 | (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): Likewise. | |
4306 | (FRAME_BEGIN_LABEL): Likewise. | |
4307 | (ASM_DECLARE_OBJECT_NAME): Make references to weak symbols indirect. | |
4308 | (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
4309 | (darwin_eh_frame_section): Give __eh_frame section the coalesced flag. | |
4310 | (TARGET_ASM_UNIQUE_SECTION): Define. | |
4311 | (EH_FRAME_SECTION_NAME): Define. | |
4312 | (EH_FRAME_SECTION_ATTR): Likewise. | |
4313 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise. | |
4314 | (TARGET_ASM_NAMED_SECTION): Likewise. | |
4315 | (TARGET_SECTION_TYPE_FLAGS): Likewise. | |
4316 | * doc/tm.texi: Document TARGET_USES_WEAK_UNWIND_INFO, | |
4317 | TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, TARGET_SUPPORTS_HIDDEN, | |
4318 | TARGET_ASM_EMIT_UNWIND_LABEL. | |
bc4c01b7 | 4319 | |
fd0c8c8d KG |
4320 | 2004-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4321 | ||
4322 | * builtins.c (expand_builtin_mathfn): Add pow10* to the | |
4323 | existing exp10* case. | |
4324 | (expand_builtin): Likewise. | |
4325 | ||
ca0b6e3b EB |
4326 | 2004-03-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
4327 | ||
4328 | * doc/tm.texi (registers) <Values in Registers>: Add | |
4329 | entry for REGMODE_NATURAL_SIZE. | |
4330 | ||
42ba5130 RH |
4331 | 2004-03-12 Richard Henderson <rth@redhat.com> |
4332 | ||
4333 | PR target/14547 | |
4334 | * target.h (struct gcc_target): Move calls substructure before | |
4335 | booleans. Add split_complex_arg. | |
4336 | * function.c (assign_parms, split_complex_args): Use it. | |
c53bdcf5 AM |
4337 | * calls.c (expand_call): Likewise. |
4338 | (split_complex_values): Likewise. Check for splittable types | |
4339 | before allocating memory. | |
4340 | (split_complex_types): Likewise. | |
42ba5130 RH |
4341 | * system.h (SPLIT_COMPLEX_ARGS): Poison. |
4342 | * expr.h (SPLIT_COMPLEX_ARGS): Remove. | |
4343 | * target-def.h (TARGET_SPLIT_COMPLEX_ARG): New. | |
4344 | * config/alpha/alpha.c (alpha_split_complex_arg): New. | |
4345 | (TARGET_SPLIT_COMPLEX_ARG): New. | |
4346 | * config/alpha/alpha.h (SPLIT_COMPLEX_ARGS): Remove. | |
4347 | * config/rs6000/rs6000.c (TARGET_SPLIT_COMPLEX_ARG): New. | |
4348 | (rs6000_override_options): Zap it for non-AIX. | |
4349 | (rs6000_function_value): Use targetm.calls.split_complex_arg. | |
4350 | * config/rs6000/rs6000.h (SPLIT_COMPLEX_ARGS): Remove. | |
4351 | * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): New. | |
4352 | * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Remove. | |
4353 | * doc/tm.texi (TARGET_SPLIT_COMPLEX_ARG): Modify from old | |
4354 | SPLIT_COMPLEX_ARGS entry. | |
4355 | ||
75959f0a RH |
4356 | 2004-03-11 Richard Henderson <rth@redhat.com> |
4357 | ||
4358 | * config/alpha/alpha.c (xfloating_ops, vax_cvt_ops): New. | |
4359 | (alpha_lookup_xfloating_lib_func): Use them, return rtx. | |
4360 | (alpha_emit_xfloating_arith): Update to match. | |
4361 | (alpha_emit_xfloating_compare): Likewise. | |
4362 | (alpha_emit_xfloating_cvt): Likewise. | |
4363 | (alpha_emit_xfloating_libcall): Take already built symbol, | |
4364 | mark call const. | |
4365 | * config/alpha/alpha.md (extendsftf2, extenddftf2): Take | |
4366 | op1 in a register. | |
4367 | ||
e5e10fb4 RH |
4368 | 2004-03-11 Richard Henderson <rth@redhat.com> |
4369 | ||
4370 | PR target/14539 | |
4371 | * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128. | |
4372 | ||
55cf9d62 RH |
4373 | * simplify-rtx.c (simplify_relational_operation): Fix typo. |
4374 | ||
9caad63a RH |
4375 | 2004-03-11 Richard Henderson <rth@redhat.com> |
4376 | ||
4377 | PR middle-end/14477 | |
4378 | * except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER. | |
4379 | ||
03ca1672 UW |
4380 | 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
4381 | ||
4382 | PR target/14262 | |
4383 | * calls.c (load_register_parameters): If BLOCK_REG_PADDING is not | |
4384 | defined, pass small BLKmode values in registers in the low-order part. | |
4385 | ||
bbe708a3 UW |
4386 | 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
4387 | ||
4388 | * combine.c (if_then_else_cond): Check for NULL return value of | |
4389 | simplify_gen_subreg. | |
4390 | ||
0e808055 RS |
4391 | 2004-03-11 Richard Sandiford <rsandifo@redhat.com> |
4392 | ||
4393 | PR target/14496 | |
4394 | * config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for | |
4395 | TARGET_SINGLE_FLOAT. | |
4396 | ||
1f7aa7cd SE |
4397 | 2004-03-11 Steve Ellcey <sje@cup.hp.com> |
4398 | ||
4399 | * config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef. | |
4400 | * config/ia64/ia64.h (TARGET_INIT_LIBFUNCS): Add define. | |
4401 | * config/ia64/ia64.c (ia64_init_libfuncs): New. | |
4402 | (ia64_hpux_init_libfuncs): Add call to ia64_init_libfuncs. | |
4403 | ||
239a625e RS |
4404 | 2004-03-11 Roger Sayle <roger@eyesopen.com> |
4405 | ||
4406 | * fold-const.c (negate_expr_p) <RSHIFT_EXPR>: We can optimize | |
4407 | -((int)X>>C) where C is an integer constant one bit less than the | |
4408 | size of X into (unsigned)X>>C. Similarly for unsigned->signed. | |
4409 | (negate_expr) <RSHIFT_EXPR>: Implement the above transformations. | |
4410 | ||
4411 | * simplify-rtx.c (simplify_unary_operation): Also implement the | |
4412 | above transformations at the RTL level. | |
4413 | ||
40131a38 AM |
4414 | 2004-03-11 Alan Modra <amodra@bigpond.net.au> |
4415 | ||
4416 | * real.c (encode_ibm_extended): Do round low word. | |
4417 | ||
df8e2ad0 BE |
4418 | 2004-03-11 Ben Elliston <bje@wasabisystems.com> |
4419 | ||
4420 | * config/arm/arm.md (is_xscale): Comment this attribute and move | |
4421 | it a bit further up in the file, closer to related attributes. | |
4422 | ||
d1704a35 EB |
4423 | 2004-03-11 Eric Botcazou <ebotcazou@libertysurf.fr> |
4424 | ||
4425 | * config/host-solaris.c (sol_gt_pch_use_address): Add | |
4426 | missing terminating marker to comment. | |
4427 | ||
fc31c7ca RS |
4428 | 2004-03-11 Richard Sandiford <rsandifo@redhat.com> |
4429 | ||
4430 | * config/mips/mips.md: Use move_operand in splitters for 64-bit moves. | |
4431 | (movdi, movsi, movhi, movqi, movsf, movdf): Remove predicates. | |
4432 | (*movdi_32bit_mips16, *movsi_mips16, *movhi_mips16, *movqi_mips16) | |
4433 | (*movsf_mips16, *movdf_mips16): Name unnamed patterns. Use | |
4434 | move_operand as source predicate in all cases. | |
4435 | (*movdi_32bit): Renamed from movdi_internal. Remove 'F' constraint. | |
4436 | Test reg_or_0_operand. Use move_operand as source predicate. | |
4437 | (*movdi_64bit): Renamed from movdi_internal2. Test reg_or_0_operand. | |
4438 | (*movdi_64bit_mips16): Renamed from movdi_internal2_mips16. | |
4439 | (*movsi_internal): Renamed from movsi_internal. Test reg_or_0_operand. | |
4440 | (movhi, movqi, movsf, movdf): Use mips_legitimize_move. | |
4441 | (*movhi_internal): Renamed from movhi_internal. Test reg_or_0_operand. | |
4442 | Use move_operand as source predicate. Remove 'K' constraint. | |
4443 | (*movqi_internal): Likewise movqi_internal. | |
4444 | (*movsf_hardfloat): Renamed from movsf_internal1. Test | |
4445 | reg_or_0_operand. Use move_operand as source predicate. | |
4446 | (*movsf_softfloat): Likewise movsf_internal2. | |
4447 | (*movdf_hardfloat_64bit): Likewise movsf_internal1a. | |
4448 | (*movdf_hardfloat_32bit): Likewise movsf_internal1b. | |
4449 | (*movdf_softfloat): Likewise movdf_internal2. | |
4450 | * config/mips/mips.c (move_operand): Match arbitrary CONST_INTs | |
4451 | for DImode if !TARGET_64BIT. | |
4452 | (mips_legitimize_move): Simplify accordingly. | |
4453 | ||
81f2eadb JZ |
4454 | 2004-03-11 Josef Zlomek <zlomekj@suse.cz> |
4455 | ||
4456 | PR/14362 | |
4457 | * var-tracking.c (struct variable_def): Added field refcount. | |
4458 | (variable_htab_free): Decrease the refcount and delete variable | |
4459 | only if there are no more references. | |
4460 | (unshare_variable): New function. | |
4461 | (vars_copy_1): Increase refcount instead of copying the variable. | |
4462 | (variable_union): Share the variables where possible, unshare | |
4463 | the variables if needed. | |
4464 | (variable_different_p): Return false if var1 and var2 are | |
4465 | the same structure. | |
4466 | (variable_was_changed): Init the refcount of new variable. | |
4467 | (set_frame_base_location): Unshare variable if needed. | |
4468 | (set_variable_part): Init the refcount of new variable. | |
4469 | Unshare the variables if needed. | |
c53bdcf5 | 4470 | (delete_variable_part): Unshare the variables if needed. |
81f2eadb JZ |
4471 | (emit_notes_for_differences_1): Init the refcount of new variable. |
4472 | (vt_add_function_parameters): Do not add function parameters to | |
4473 | IN set of ENTRY_BLOCK_PTR because it is unused anyway. | |
4474 | (vt_initialize): Do not add frame_base_decl to IN set of | |
4475 | ENTRY_BLOCK_PTR because it is unused anyway. | |
4476 | ||
11599d14 JZ |
4477 | 2004-03-11 Josef Zlomek <zlomekj@suse.cz> |
4478 | ||
4479 | * var-tracking.c (vars_copy_1): Cleanup and speedup chain operations. | |
4480 | (vars_copy): Likewise. | |
4481 | (variable_union): Likewise. | |
4482 | (set_variable_part): Likewise. | |
4483 | (delete_variable_part): Likewise. | |
4484 | ||
71cc389b KH |
4485 | 2004-03-11 Kazu Hirata <kazu@cs.umass.edu> |
4486 | ||
4487 | * c-typeck.c, combine.c, cse.c, dominance.c, et-forest.h, | |
4488 | ggc-page.c, var-tracking.c, config/fp-bit.c, config/c4x/c4x.c, | |
4489 | config/cris/cris.c, config/i386/ppro.md, config/i860/i860.c, | |
4490 | config/i860/i860.h, config/m32r/m32r.h, config/m32r/xm-m32r.h, | |
4491 | config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md, | |
4492 | config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.h, | |
4493 | config/pa/pa.c, config/pa/pa32-regs.h, config/pa/pa64-regs.h, | |
4494 | config/pdp11/pdp11.h, config/rs6000/rs6000.c, | |
4495 | config/stormy16/stormy16.c: Fix comment typos and formatting. | |
4496 | ||
f3c9f174 NN |
4497 | 2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org> |
4498 | ||
4499 | * configure: Regenerate, since I forgot to while committing Paolo's | |
4500 | changes. | |
4501 | ||
e4c9c075 PB |
4502 | 2004-03-08 Paolo Bonzini <bonzini@gnu.org> |
4503 | ||
4504 | PR ada/14131 | |
4505 | Move language detection to the top level. | |
4506 | * configure.ac: Remove code to detect languages, | |
4507 | it now lives exclusively in the top level. | |
4508 | * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the | |
4509 | top level, renamed to ACX_PROG_GNAT. | |
4510 | ||
4d0c31e6 RH |
4511 | 2004-03-10 Richard Henderson <rth@redhat.com> |
4512 | ||
4513 | * c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address | |
4514 | extra arguments. | |
4515 | * config.host (*-*-solaris2*, *-*-linux*): Add out_host_hook_obj | |
4516 | and host_xmake_file fragments. | |
4517 | * ggc-common.c (gt_pch_save): Update for gt_pch_get_address change. | |
4518 | (gt_pch_restore): Similarly for gt_pch_use_address. | |
4519 | (default_gt_pch_get_address): New. | |
4520 | (mmap_gt_pch_get_address): Split out of gt_pch_save. | |
4521 | (default_gt_pch_use_address): Split out of gt_pch_restore. | |
4522 | (mmap_gt_pch_use_address): Likewise. | |
4523 | * hooks.c (hook_voidp_size_t_null): Remove. | |
4524 | (hook_bool_voidp_size_t_false): Remove. | |
4525 | * hooks.h: Likewise. | |
4526 | * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): Use one of the | |
4527 | default_ or mmap_ definitions. | |
4528 | (HOST_HOOKS_GT_PCH_USE_ADDRESS): Likewise. | |
4529 | * hosthooks.h (struct host_hooks): Update gt_pch_get_address | |
4530 | and gt_pch_use_address. | |
4531 | * config/host-linux.c, config/host-solaris.c: New files. | |
4532 | * config/x-linux, config/x-solaris: New files. | |
bc4c01b7 | 4533 | * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_get_address): |
4d0c31e6 RH |
4534 | Update for changed definition. |
4535 | (darwin_rs6000_gt_pch_use_address): Likewise. | |
4536 | * doc/hostconfig.texi: Update docs. | |
4537 | ||
28fca7e4 RH |
4538 | 2004-03-10 Richard Henderson <rth@redhat.com> |
4539 | ||
4540 | PR c/14517 | |
4541 | * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers | |
4542 | except for pedantic c90 mode. | |
4543 | ||
8ab705be KC |
4544 | 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> |
4545 | ||
4546 | * configure.ac: Bump AC_PREREQ to 2.59. | |
4547 | * configure: Regenerate. | |
4548 | ||
a251102e UB |
4549 | 2004-03-10 Uros Bizjak <uros@kss-loka.si> |
4550 | ||
4551 | * optabs.h (enum optab_index): Add new OTI_exp10 and OTI_exp2. | |
4552 | (exp10_optab, exp2_optab): Define corresponding macros. | |
4553 | * optabs.c (init_optabs): Initialize exp10_optab and exp2_optab. | |
4554 | * genopinit.c (optabs): Implement exp10_optab and exp2_optab | |
4555 | using exp10?f2 and exp2?f2 patterns. | |
4556 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP10{,F,L} | |
4557 | using exp10_optab, and BUILT_IN_EXP2{,F,L} using exp2_optab. | |
4558 | (expand_builtin): Expand BUILT_IN_EXP10{,F,L} and BUILT_IN_EXP2{,F,L} | |
4559 | using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
4560 | ||
4561 | * config/i386/i386.md (exp10sf2, exp10df2, exp10xf2, exp2sf2, | |
4562 | exp2df2, exp2xf2): New patterns to implement exp10, exp10f, exp10l, | |
4563 | exp2, exp2f and exp2l built-ins as inline x87 intrinsics. | |
4564 | ||
11f01d37 AG |
4565 | 2004-03-10 Anthony Green <green@redhat.com> |
4566 | ||
4567 | * doc/invoke.texi (ARM Options): Fix -mpfu typo. | |
4568 | ||
bb904c1a DE |
4569 | 2004-03-10 David Edelsohn <edelsohn@gnu.org> |
4570 | ||
4571 | * config/rs6000/aix.h (TARGET_OS_CPP_BUILTINS): Rename to ... | |
4572 | (TARGET_OS_AIX_CPP_BUILTINS): this. Conditionally define | |
4573 | __LONGDOUBLE128. | |
4574 | * config/rs6000/aix41.h (TARGET_OS_CPP_BUILTINS): Use | |
4575 | TARGET_OS_AIX_CPP_BUILTINS. | |
4576 | * config/rs6000/aix43.h (TARGET_OS_CPP_BUILTINS): Same. | |
4577 | * config/rs6000/aix51.h (TARGET_OS_CPP_BUILTINS): Same. | |
4578 | * config/rs6000/aix52.h (TARGET_OS_CPP_BUILTINS): Same. | |
4579 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Revert | |
4580 | previous change. | |
4581 | ||
b45d3a36 KG |
4582 | 2004-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4583 | ||
4584 | * fold-const.c (tree_expr_nonnegative_p): Add more builtin cases. | |
4585 | ||
35ae04ba DE |
4586 | 2004-03-10 David Edelsohn <edelsohn@gnu.org> |
4587 | ||
4588 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
4589 | __LONGDOUBLE128 on AIX. | |
4590 | ||
ffad84cd AH |
4591 | 2004-03-10 Andrew Haley <aph@redhat.com> |
4592 | ||
f7b48371 | 4593 | PR optimization/14381 |
ffad84cd AH |
4594 | * function.c (expand_function_end): Emit a blockage insn before |
4595 | the epilogue when -fnon-call-exceptions is used. | |
4596 | ||
4597 | * except.c (expand_start_all_catch): Make comment more accurate. | |
4598 | ||
65cd26a6 JS |
4599 | 2004-03-08 Joel Sherrill <joel@oarcorp.com> |
4600 | ||
4601 | PR target/14480 | |
4602 | * config/rs6000/t-rtems: Add missing file on branch. | |
4603 | ||
452c159e UW |
4604 | 2004-03-10 Ulrich Weigand <uweigand@de.ibm.com> |
4605 | ||
4606 | * dbxout.c (dbxout_symbol_location): Do not output references | |
4607 | to optimized-out constant pool symbols. | |
4608 | ||
5f1b2068 AS |
4609 | 2004-03-10 Andreas Schwab <schwab@suse.de> |
4610 | ||
4611 | * config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable | |
4612 | twon34_r. | |
4613 | ||
5399d643 JW |
4614 | 2004-03-09 James E Wilson <wilson@specifixinc.com> |
4615 | ||
4616 | * alias.c (alias_sets_might_conflict_p): New. | |
4617 | * c-typeck.c (build_c_cast): Call it if warn_strict_aliasing > 1. | |
4618 | * common.opt (Wstrict-aliasing=): New. | |
4619 | * flags.h (warn_strict_aliasing): Change type to int. | |
4620 | * opts.c (warn_strict_aliasing): Change type to int. | |
4621 | (common_handle_option): Handle OPT_Wstrict_aliasing_. | |
4622 | * tree.h (alias_sets_might_conflict_p): Declare it. | |
4623 | * doc/invoke.tex (-Wstrict-aliasing=2): Document it. | |
4624 | ||
a4e9467d RZ |
4625 | 2004-03-10 Roman Zippel <zippel@linux-m68k.org> |
4626 | ||
4627 | PR bootstrap/12371 | |
4628 | * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer. | |
4629 | (CALL_USED_REGISTERS): Likewise. | |
c53bdcf5 | 4630 | (REG_CLASS_CONTENTS): Likewise. |
a4e9467d RZ |
4631 | (REG_ALLOC_ORDER): New. |
4632 | (REGNO_REG_CLASS): Use regno_reg_class. | |
4633 | * config/m68k/m68k.c: Add regno_reg_class array. | |
4634 | ||
9aec7fb4 SE |
4635 | 2004-03-09 Steve Ellcey <sje@cup.hp.com> |
4636 | ||
4637 | * config/ia64/ia64.md (divsi3): Fix algorithm. | |
4638 | (udivsi3): Ditto. | |
4639 | (setf_exp_xf): Remove '*' from name. | |
4640 | * testsuite/gcc.dg/20040309-1.c: New test. | |
4641 | ||
9acd4a03 ILT |
4642 | 2004-03-09 Ian Lance Taylor <ian@wasabisystems.com> |
4643 | ||
4644 | * system.h (SUNOS4_SHARED_LIBRARIES): Poison. | |
4645 | * collect2.c: Remove SUNOS4_SHARED_LIBRARIES code. | |
4646 | * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define. | |
4647 | * config/sparc/sparc.c (sparc_aout_select_section): Remove. | |
4648 | (sparc_aout_select_rtx_section): Don't check | |
4649 | SUNOS4_SHARED_LIBRARIES. | |
4650 | * config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define. | |
4651 | ||
a5249a21 HPN |
4652 | 2004-03-10 Hans-Peter Nilsson <hp@axis.com> |
4653 | ||
4654 | PR other/14474 | |
4655 | * doc/md.texi (Pattern Ordering, Dependent Patterns) | |
4656 | (Jump Patterns, Looping Patterns): Wrap in separate "@ifset | |
4657 | INTERNALS". | |
4658 | ||
e373cdb4 ZW |
4659 | 2004-03-09 Zack Weinberg <zack@codesourcery.com> |
4660 | ||
4661 | * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define. | |
4662 | (LIBGCC_SPEC): Update to match. | |
4663 | ||
77dbdb57 ZW |
4664 | 2004-03-09 Zack Weinberg <zack@codesourcery.com> |
4665 | ||
4666 | * c-decl.c (last_function_parms, last_function_parm_tags) | |
4667 | (last_function_parm_others, current_function_parms) | |
4668 | (current_function_parm_tags, current_function_parm_others): | |
4669 | Delete. | |
4670 | (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS): | |
4671 | New macros. | |
4672 | (grokdeclarator): For function definitions, save the arg-info | |
4673 | block from the declarator in DECL_ARGUMENTS. | |
4674 | (grokparms): Do not write to last_function_parm*. Use ARG_INFO_* | |
4675 | macros to operate on arg-info block. Can assume ARG_INFO_PARMS | |
4676 | contains only PARM_DECLs. Improve diagnostics. | |
4677 | (get_parm_info): Use ARG_INFO_* macros. Improve comments and | |
4678 | diagnostics. Disable some expensive checks if not ENABLE_CHECKING. | |
4679 | (store_parm_decls_newstyle): Take the function to operate on, | |
4680 | and an arg-info block, as arguments; don't get anything from | |
4681 | current_function_* globals. | |
4682 | (store_parm_decls_oldstyle): Likewise. | |
4683 | (store_parm_decls): Pass fndecl and its arg-info block down to | |
4684 | store_parm_decls_newstyle/oldstyle. Send functions with empty | |
4685 | argument lists through store_parm_decls_newstyle to reduce | |
4686 | overhead. | |
4687 | (pushdecl): Comment on the problems with the call to copy_node. | |
4688 | Clear DECL_ARGUMENTS of the old node after copying it, if it | |
4689 | is an arg-info block instead of a chain of decls. | |
4690 | (start_function): Do not manipulate current_function_parm* or | |
4691 | last_function_parm*. | |
4692 | ||
305eeaeb RS |
4693 | 2004-03-09 Roger Sayle <roger@eyesopen.com> |
4694 | Andrew Pinski <pinskia@physics.uc.edu> | |
4695 | ||
4696 | * ifcvt.c (noce_try_sign_mask): New function to transform | |
4697 | "x = (y < 0) ? z : 0" into the equivalent "x = (y >> C) & z". | |
4698 | (noce_process_if_block): Call noce_try_sign_mask. | |
4699 | ||
f38f747d AP |
4700 | 2004-03-09 Andrew Pinski <apinski@apple.com> |
4701 | ||
4702 | * c-typeck.c (tagged_types_tu_compatible_p): | |
4703 | Fix typo. | |
4704 | ||
7ce3e360 RS |
4705 | 2004-03-09 Roger Sayle <roger@eyesopen.com> |
4706 | ||
4707 | * simplify-rtx.c (simplify_const_relational_operation): New function | |
4708 | renamed from simplify_relational_operation. | |
4709 | (simplify_relational_operation): Change prototype to accept an | |
4710 | additional mode argument. Call simplify_const_relational_operation. | |
4711 | (simplify_gen_relational): Update simplify_relational_operation call. | |
4712 | (simplify_ternary_operation): Update simplify_relational_operation | |
4713 | subroutine call to use simplify_const_relational_operation instead. | |
4714 | ||
4715 | * rtl.h (simplify_const_relational_operation): Prototype here. | |
4716 | (simplify_relational_operation): Add addtional mode argument. | |
4717 | ||
4718 | * combine.c (combine_simplify_rtx): Update calls to | |
4719 | simplify_relational_operation. | |
4720 | (simplify_set): Likewise. | |
4721 | (gen_binary): Likewise. | |
4722 | * cse.c (fold_rtx): Likewise. | |
4723 | * dojump.c (compare_from_rtx): Likewise. | |
4724 | (do_compare_rtx_and_jump): Likewise. | |
4725 | * integrate.c (subst_constants): Likewise. | |
4726 | * unroll.c (simplify_cmp_and_jump_insns): Likewise. | |
4727 | ||
c0e63064 KH |
4728 | 2004-03-09 Kazu Hirata <kazu@cs.umass.edu> |
4729 | ||
4730 | * config/m32r/m32r.md: Remove all define_peephole's. | |
4731 | ||
6ae08853 AM |
4732 | 2004-03-09 Alan Modra <amodra@bigpond.net.au> |
4733 | ||
4734 | * config/rs6000/rs6000.md: Remove trailing whitespace. | |
4735 | ||
5340bbea EC |
4736 | 2004-03-08 Eric Christopher <echristo@redhat.com> |
4737 | ||
4738 | * Makefile.in (site.exp): Add libiconv variable definition. | |
4739 | ||
3beb1315 HPN |
4740 | 2004-03-09 Hans-Peter Nilsson <hp@axis.com> |
4741 | ||
4742 | * configure: Regenerate for config/accross.m4 correction. | |
4743 | ||
c589970a JS |
4744 | 2004-03-08 Joel Sherrill <joel@oarcorp.com> |
4745 | ||
4746 | PR target/14480 | |
4747 | * config/rs6000/t-rtems: Add missing file on branch. | |
4748 | ||
e697b20f RS |
4749 | 2004-03-08 Roger Sayle <roger@eyesopen.com> |
4750 | ||
4751 | PR middle-end/14289 | |
4752 | * c-typeck.c (c_mark_addressable): A register variable should | |
4753 | be considered global if its not automatic, i.e. TREE_PUBLIC, | |
4754 | TREE_STATIC or DECL_EXTERNAL. | |
4755 | * function.c (put_var_into_stack): Call abort when placing a | |
4756 | hard register into the stack, if x_parm_reg_stack_loc is NULL. | |
4757 | ||
59f8a8be UW |
4758 | 2004-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
4759 | ||
4760 | * config/s390/s390.md ("*extendqidi2_short_displ"): Add CC clobber. | |
4761 | ("*extendqisi2_short_displ"): Likewise. | |
4762 | ||
23bd99da KH |
4763 | 2004-03-08 Kazu Hirata <kazu@cs.umass.edu> |
4764 | ||
4765 | * config/pdp11/pdp11.c (comparison_operator_index): Remove. | |
4766 | (comp_operator): Likewise. | |
4767 | * config/pdp11/pdp11-protos.h: Remove corresponding | |
4768 | prototypes. | |
4769 | ||
d50a16c4 EB |
4770 | 2004-03-08 Eric Botcazou <ebotcazou@act-europe.fr> |
4771 | ||
4772 | * expr.c (highest_pow2_factor_for_type): Rename into | |
4773 | highest_pow2_factor_for_target. Use DECL_ALIGN instead of | |
4774 | TYPE_ALIGN when the target is a COMPONENT_REF. | |
4775 | (expand_assignment): Ajust call to highest_pow2_factor_for_type. | |
4776 | ||
957211c3 AM |
4777 | 2004-03-08 Alan Modra <amodra@bigpond.net.au> |
4778 | ||
b1917422 AM |
4779 | * config/rs6000/rs6000.c: Formatting fix. |
4780 | (legitimate_offset_address_p): Correct offset range check. | |
4781 | ||
957211c3 AM |
4782 | * config/rs6000/rs6000.c (rs6000_override_options): Don't override |
4783 | -msoft-float by -mcpu. Consolidate similar code for MASK_MULTIPLE | |
4784 | and MASK_STRING. | |
4785 | ||
97727e85 | 4786 | 2004-03-07 Aldy Hernandez <aldyh@redhat.com> |
5340bbea | 4787 | |
77dbdb57 ZW |
4788 | * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power |
4789 | for little endian. | |
4790 | ("ashrdi3_no_power"): Disable for little endian. | |
97727e85 AH |
4791 | (ashrdi3): Same. |
4792 | ||
280e63ec KG |
4793 | 2004-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4794 | ||
4795 | * fold-const.c (tree_expr_nonnegative_p): Reformat checks for | |
4796 | builtins. | |
4797 | ||
86da66b5 HPN |
4798 | 2004-03-08 Hans-Peter Nilsson <hp@axis.com> |
4799 | ||
4800 | PR target/14471 | |
4801 | * configure.ac (Target-specific assembler checks) <cris-*-*>: New | |
4802 | case, checking for -no-mul-bug-abort option. | |
4803 | * configure, config.in: Regenerate. | |
4804 | * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround | |
4805 | and -mno-mul-bug-workaround. | |
4806 | * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart") | |
4807 | ("mulsidi3", "umulsidi3"): Prefix output template with "%!". | |
4808 | ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"): | |
4809 | Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG. | |
4810 | * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make | |
4811 | sure mulu.d is not last on cache-line. | |
4812 | * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround | |
4813 | into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION. | |
4814 | (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros. | |
4815 | (TARGET_SWITCHES): New options -mmul-bug-workaround and | |
4816 | -mno-mul-bug-workaround. | |
4817 | (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG. | |
4818 | (PRINT_OPERAND_PUNCT_VALID_P): Include '!'. | |
4819 | * config/cris/cris.c (cris_operand_extend_operator): Clarify | |
4820 | relation to MULT in head comment. | |
4821 | (cris_op_str): Abort for MULT. | |
4822 | (cris_print_operand) <case '!'>: New case. | |
4823 | ||
e7ee3914 AM |
4824 | 2004-03-08 Alan Modra <amodra@bigpond.net.au> |
4825 | ||
4826 | PR debug/11983 | |
4827 | * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to | |
4828 | dw_val_class_vec. Replace use throughout file. | |
4829 | (dw_float_const): Delete. | |
4830 | (dw_vec_const): New. | |
4831 | (dw_val_struct_union): Rename val_float to val_vec. Replace use | |
4832 | throughout file. | |
4833 | (add_AT_vec): Rename from add_AT_float. Add elt_size param. | |
4834 | (same_dw_val_p): Adjust vec comparison. Use memcmp. | |
4835 | (size_of_die): Adjust dw_val_class_vec sizing. | |
4836 | (output_die): Output dw_val_class_vec. | |
4837 | (insert_int, extract_int, insert_float): New functions. | |
4838 | (add_const_value_attribute): Use insert_float for CONST_DOUBLE. | |
4839 | Handle CONST_VECTOR. | |
4840 | (add_location_or_const_value_attribute): Handle CONST_VECTOR. | |
5cc73f91 AH |
4841 | |
4842 | 2004-03-07 Aldy Hernandez <aldyh@redhat.com> | |
4843 | ||
4844 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and | |
4845 | AltiVec abi cannot co-exist. | |
4846 | ||
4847 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same. | |
4848 | ||
a61bf177 JH |
4849 | 2004-03-07 Jan Hubicka <jh@suse.cz> |
4850 | ||
4851 | * except.c (emit_to_new_bb_before): Break fallthru edges. | |
4852 | ||
17c60946 SC |
4853 | 2004-03-07 Stephane Carrez <stcarrez@nerim.fr> |
4854 | ||
4855 | * config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12. | |
4856 | ("*lshrsi3"): Also accept an immediate for 68HC12. | |
4857 | ("*ashrsi3_const"): Likewise. | |
4858 | ("*ashrsi3"): Likewise. | |
4859 | ("*ashlsi3_const"): Likewise. | |
4860 | ("*ashlsi3"): Likewise. | |
4861 | ("cmphi_1_hc12"): Compare two hard register by pushing them and | |
4862 | comparing with a pop; don't use a split for that. | |
4863 | ("cmphi split"): Disable compare split for 68HC12. | |
4864 | ||
4865 | * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate | |
4866 | the status operands if they have side effects. | |
4867 | ||
3e759eda KH |
4868 | 2004-03-07 Kazu Hirata <kazu@cs.umass.edu> |
4869 | ||
4870 | * defaults.h (LEGITIMIZE_ADDRESS): Provide a default | |
4871 | definition. | |
4872 | * config/arc/arc.h, config/fr30/fr30.h, config/frv/frv.h, | |
4873 | config/h8300/h8300.h, config/ia64/ia64.h, | |
4874 | config/mcore/mcore.h, config/mmix/mmix.h, | |
4875 | config/ns32k/ns32k.h, config/pdp11/pdp11.h, | |
4876 | config/stormy16/stormy16.h, config/v850/v850.h, | |
4877 | config/vax/vax.h (LEGITIMIZE_ADDRESS): Remove. | |
4878 | * doc/tm.texi (LEGITIMIZE_ADDRESS): Mention the default | |
4879 | definition. | |
4880 | ||
cd2f1c7a RS |
4881 | 2004-03-07 Roger Sayle <roger@eyesopen.com> |
4882 | ||
4883 | * fold-const.c (fold) <IOR_EXPR>: Fold x | x as x. | |
4884 | <XOR_EXPR>: Fold x ^ x as zero. | |
4885 | <AND_EXPR>: Fold x & x as x. | |
4886 | ||
350f4ea8 RS |
4887 | 2004-03-07 Roger Sayle <roger@eyesopen.com> |
4888 | ||
4889 | * fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform | |
4890 | "foo++ == const" into "++foo == const+incr". | |
4891 | ||
91455597 RS |
4892 | 2004-03-07 Richard Sandiford <rsandifo@redhat.com> |
4893 | ||
4894 | * config/mips/mips.c (mips_in_small_data_p): Return false if | |
4895 | TARGET_ABICALLS. | |
4896 | ||
a75ea627 SC |
4897 | 2004-03-06 Stephane Carrez <stcarrez@nerim.fr> |
4898 | ||
4899 | * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push | |
4900 | the stack register. | |
4901 | (expand_prologue): Don't make an interrupt or a trap handler a far | |
4902 | symbol. | |
4903 | (m68hc11_initial_elimination_offset): Likewise. | |
4904 | ||
7179b6db RH |
4905 | 2004-03-06 Richard Henderson <rth@redhat.com> |
4906 | ||
4907 | * config/alpha/alpha.c (alpha_in_small_data_p): False for functions. | |
4908 | ||
eff3c926 KH |
4909 | 2004-03-06 Kazu Hirata <kazu@cs.umass.edu> |
4910 | ||
4911 | * config/ns32k/ns32k-protos.h: Add a prototype for | |
4912 | ns32k_notice_update_cc. | |
4913 | * config/ns32k/ns32k.c (ns32k_notice_update_cc): New. | |
4914 | * config/ns32k/ns32k.h (NOTICE_UPDATE_CC): Call | |
4915 | ns32k_notice_update_cc. | |
4916 | ||
22ea6b4f UW |
4917 | 2004-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
4918 | ||
4919 | * config/s390/s390.md ("load_multiple", "*load_multiple_di", | |
4920 | "*load_multiple_si"): Allow only if reload_completed. | |
4921 | ("store_multiple", "*store_multiple_di", "*store_multiple_si"): | |
4922 | Likewise. | |
4923 | ||
af0ec113 KH |
4924 | 2004-03-06 Kazu Hirata <kazu@cs.umass.edu> |
4925 | ||
4926 | * config/vax/vax-protos.h: Add a prototype for | |
4927 | vax_notice_update_cc. | |
4928 | * config/vax/vax.c (vax_notice_update_cc): New. | |
4929 | * config/vax/vax.h (NOTICE_UPDATE_CC): Call | |
4930 | vax_notice_update_cc. | |
4931 | ||
aaef9b06 DE |
4932 | 2004-03-06 David Edelsohn <edelsohn@gnu.org> |
4933 | ||
4934 | * collect2.c (main): Only export initfunc and finifunc if | |
4935 | LD_INIT_SWITCH not defined. | |
4936 | (scan_prog_file): Only export constructors and destructors if | |
4937 | LD_INIT_SWITCH not defined. Only export symbols not found in | |
4938 | shared objects. | |
4939 | ||
7a9a5a44 JDA |
4940 | 2004-03-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4941 | ||
4942 | * pa.md (icacheflush): Reorder operands to make match_scratch operand | |
4943 | last. | |
4944 | * pa.h (INITIALIZE_TRAMPOLINE): Remove unnecessary scratch argument | |
4945 | from calls to gen_icacheflush. | |
4946 | ||
0f15adbd RH |
4947 | 2004-03-06 Richard Henderson <rth@redhat.com> |
4948 | ||
4949 | * config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New. | |
4950 | (TARGET_LONG_DOUBLE_128): New. | |
4951 | (TARGET_SWITCHES): Add long-double-{128,64}. | |
4952 | (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128. | |
4953 | (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128. | |
4954 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New. | |
4955 | (WIDEST_HARDWARE_FP_SIZE): New. | |
4956 | (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__. | |
4957 | * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128 | |
4958 | if TARGET_VAX_FLOAT. | |
4959 | * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove. | |
4960 | (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128. | |
4961 | ||
b9c685ae RH |
4962 | 2004-03-06 Richard Henderson <rth@redhat.com> |
4963 | ||
4964 | * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix | |
4965 | botched rtx class conversion. | |
4966 | ||
82b4201f KG |
4967 | 2004-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4968 | ||
4969 | * tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P, | |
4970 | BUILTIN_CBRT_P, BUILTIN_ROOT_P): New macros. | |
4971 | ||
4972 | * builtins.c (fold_builtin_logarithm, fold_builtin): Use new | |
4973 | macros. | |
4974 | * fold-const.c (fold_mathfn_compare, fold): Likewise. | |
4975 | ||
84289c76 EB |
4976 | 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
4977 | ||
4978 | PR target/14343 | |
4979 | * config/i386/i386.md (movv2di_internal): Conditionalize on | |
4980 | TARGET_SSE, not TARGET_SSE2. | |
4981 | ||
3fdf09a1 CD |
4982 | 2004-03-05 Chris Demetriou <cgd@broadcom.com> |
4983 | ||
4984 | * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete | |
4985 | duplicated line. | |
4986 | ||
f2f4e976 KG |
4987 | 2004-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4988 | ||
4989 | * builtins.c: Consistently use logN not log* in comments. | |
4990 | ||
2b3493c8 AK |
4991 | 2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com> |
4992 | ||
4993 | * rtl.h (mem_expr_equal_p): Function prototype added. | |
4994 | * cfgcleanup.c (merge_memattrs): New function. | |
4995 | (flow_find_cross_jump): Call merge_memattrs for matching insns. | |
4996 | * emit-rtl.c (mem_expr_equal_p): New function. | |
4997 | ||
1a4a7065 ZL |
4998 | 2004-03-05 Ziemowit Laski <zlaski@apple.com> |
4999 | ||
5000 | * objc/objc-act.c (synth_module_prologue): Const-qualify | |
5001 | objc_selector type if using the GNU runtime; fix generated | |
5002 | signatures for objc_msg_lookup and objc_msg_lookup_super | |
5003 | to match what GNU ObjC headers provide; reformat and clean up. | |
5004 | (synth_self_and_ucmd_args): Use previously constructed (and | |
5005 | hence possibly const-qualified) objc_selector type. | |
5006 | ||
150c9fe8 KH |
5007 | 2004-03-05 Kazu Hirata <kazu@cs.umass.edu> |
5008 | ||
5009 | * doc/tm.texi (HARD_REGNO_RENAME_OK): Document. | |
5010 | ||
fd917e0d JM |
5011 | 2004-03-05 Jason Merrill <jason@redhat.com> |
5012 | ||
5013 | * tree.h (TYPE_HASH): Use TYPE_UID. | |
5014 | (TREE_HASH): New macro with old definition of TYPE_HASH. | |
5015 | * tree.c (build_type_attribute_variant): Use iterative_hash_object. | |
5016 | (build_array_type, build_function_type): Likewise. | |
5017 | (build_method_type_directly): Likewise. | |
5018 | (build_offset_type, build_complex_type): Likewise. | |
5019 | (type_hash_list, attribute_hash_list): Likewise. Now static. | |
5020 | * except.c: s/TYPE_HASH/TREE_HASH/. | |
5021 | ||
822e895c BW |
5022 | 2004-03-05 Bob Wilson <bob.wilson@acm.org> |
5023 | ||
5024 | * config/xtensa/xtensa.c (function_arg): Handle 16-byte aligned args. | |
5025 | (xtensa_va_start): Initialize __va_stk to ($arg_ptr - 32). Adjust | |
5026 | __va_ndx by 2 words when referencing an argument on the stack. | |
5027 | (xtensa_va_arg): Handle 16-byte aligned args. Adjust __va_ndx by 2 | |
5028 | words when an arg on the stack is first seen. | |
5029 | ||
2eb83715 PB |
5030 | 2004-03-05 Paul Brook <paul@codesourcery.com> |
5031 | ||
5032 | * arm.h (ARM_FLAG_VFP): Remove. | |
5033 | (ARM_FLAG_ATPCS, CIRRUS_FIX_INVALID_INSNS): Renumber. | |
5034 | * netbsd-elf.h (ARM_FLAG_VFP): Remove. | |
5035 | ||
ce407aa9 PB |
5036 | 2004-03-05 Paul Brook <paul@codesourcery.com> |
5037 | ||
5038 | * function.c (assign_parms): Include pretend alignment offset. | |
5039 | ||
019dd4ec RK |
5040 | 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5041 | ||
5042 | * stor-layout.c (layout_type, case FUNCTION_TYPE): Make size | |
5043 | FUNCTION_BOUNDARY, not POINTER_SIZE * 2. | |
5044 | ||
33e70558 ILT |
5045 | 2004-03-05 Ian Lance Taylor <ian@wasabisystems.com> |
5046 | ||
5047 | * configure.ac: When passing --enable-languages to subdir | |
5048 | configure when host != build, make sure we don't pass an empty | |
5049 | value. | |
5050 | * configure: Regenerate. | |
5051 | ||
ab786753 NS |
5052 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
5053 | ||
5054 | PR 13577 | |
5055 | * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o | |
5056 | options. | |
5057 | ||
d2782048 PB |
5058 | 2004-03-05 Paolo Bonzini <bonzini@gnu.org> |
5059 | ||
5060 | * simplify-rtx.c (simplify_relational_operation): If | |
5061 | flag_wrapv is set, do not move terms between the two | |
5062 | side of a relational operator. | |
5063 | ||
f894b69b PB |
5064 | 2004-03-05 Paolo Bonzini <bonzini@gnu.org> |
5065 | ||
5066 | * rtlanal.c: Include target.h and output.h | |
5067 | (rtx_cost, address_cost, default_address_cost): Move from... | |
5068 | * cse.c (rtx_cost, address_cost, default_address_cost): | |
5069 | ... this file. | |
5070 | * rtl.h (rtx_cost, address_cost): Move under rtlanal.c. | |
5071 | * Makefile.in: Adjust dependencies. | |
5072 | ||
86caf04d PB |
5073 | 2004-03-05 Paolo Bonzini <bonzini@gnu.org> |
5074 | ||
5075 | * cse.c (cse_end_of_basic_block): Make static. | |
5076 | * local-alloc.c (function_invariant_p): Move to | |
5077 | reload1.c. | |
5078 | * loop.c (libcall_other_reg, record_excess_regs): | |
5079 | Make static. | |
5080 | * reload1.c (function_invariant_p): Moved here | |
5081 | from local-alloc.c, made static. | |
5082 | * rtl.h (cse_end_of_basic_block, function_invariant_p, | |
5083 | libcall_other_reg, record_excess_regs): Remove | |
5084 | declarations. | |
5085 | ||
d0fe265e KH |
5086 | 2004-03-05 Kazu Hirata <kazu@cs.umass.edu> |
5087 | ||
5088 | * config/m32r/m32r.c (signed_comparison_operator): Add a | |
5089 | missing parenthesis. | |
5090 | ||
ee0d75ef ILT |
5091 | 2004-03-04 Ian Lance Taylor <ian@wasabisystems.com> |
5092 | ||
5093 | * ggc-common.c (gt_pch_restore): Don't unmap addr unless we are | |
5094 | going to call mmap again. Read the file into the right place. | |
5095 | Give a fatal error if we have to relocate. | |
5096 | ||
6e5ff6e7 BW |
5097 | 2004-03-04 Bob Wilson <bob.wilson@acm.org> |
5098 | ||
5099 | * config/xtensa/xtensa.c (xtensa_return_in_msb): New function. | |
5100 | (TARGET_RETURN_IN_MSB): Define to xtensa_return_in_msb. | |
5101 | ||
fc7b80e4 HPN |
5102 | 2004-03-05 Hans-Peter Nilsson <hp@axis.com> |
5103 | ||
fd9361f7 | 5104 | PR other/14354 |
fc7b80e4 HPN |
5105 | * config/fp-bit.c (_fpdiv_parts): Do not round when pack_d would |
5106 | round the same. When rounding, clear bits that would cause a | |
5107 | second rounding in pack_d. | |
5108 | (_fpmul_parts): Ditto. Remove #if 0:d code. | |
5109 | ||
b9e4e5d1 ZL |
5110 | 2004-03-04 Ziemowit Laski <zlaski@apple.com> |
5111 | ||
5112 | PR c++/14425, c++/14426 | |
5113 | * config/rs6000/altivec.h (vec_splat_s8, vec_splat_s16, | |
5114 | vec_splat_s32, vec_splat_u8, vec_splat_u16, vec_splat_u32): | |
5115 | Change C++ definitions to accept a 'const int' argument; | |
5116 | the prototypes already do. | |
5117 | * config/rs6000/rs6000.c (rs6000_common_init_builtins): | |
5118 | Rename v4si_ftype_char, v8hi_ftype_char, v16qi_ftype_char, | |
5119 | v4sf_ftype_v4si_char, v4si_ftype_v4sf_char, v4si_ftype_v4si_char, | |
5120 | v8hi_ftype_v8hi_char, v16qi_ftype_v16qi_char, | |
5121 | v16qi_ftype_v16qi_v16qi_char, v8hi_ftype_v8hi_v8hi_char, | |
5122 | v4si_ftype_v4si_v4si_char and v4sf_ftype_v4sf_v4sf_char to | |
5123 | end in ..._int; change them to accept an int instead of a char | |
5124 | as the last parameter. | |
5125 | ||
8653fed7 PE |
5126 | 2004-03-04 Phil Edwards <phil@codesourcery.com> |
5127 | ||
5128 | * genmultilib: Change '=' to '-' when translating option names | |
5129 | to directory names. | |
5130 | ||
daae8185 RK |
5131 | 2004-03-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5132 | ||
5133 | * expr.c (expand_expr_real, case COMPONENT_REF): Get proper type of | |
5134 | stack slot for temp used for result of BLKmode but in integral mode. | |
5135 | ||
f345f21a JH |
5136 | 2004-03-04 Jan Hubicka <jh@suse.cz> |
5137 | ||
5138 | * reload.c (find_reloads): Reorganize if seqeunce to switch. | |
5139 | ||
5140 | * cfgrtl.c (rtl_redirect_edge_and_branch): Set the source BB as dirty. | |
5141 | (cfglayout_redirect_edge_and_branch): Set the source BB as dirty. | |
5142 | ||
aa42f99d SE |
5143 | 2004-03-04 Steve Ellcey <sje@cup.hp.com> |
5144 | ||
5145 | * config/ia64/ia64.md (divdf3_internal_thr): Fix algorithm. | |
5146 | * testsuite/gcc.dg/20040303-1.c: New test. | |
5147 | ||
56bab446 SB |
5148 | 2004-03-04 Steven Bosscher <stevenb@suse.de> |
5149 | ||
5150 | * ppro.md: Rewrite as a DFA pipeline description. | |
5151 | * i386.md: Remove all uses of the ppro_uops attribute. | |
5152 | * i386.c: (ix86_safe_ppro_uops, ix86_dump_ppro_packet, | |
5153 | ix86_reorder_insn, ix86_sched_reorder_ppro, ix86_sched_init, | |
5154 | ix86_sched_reorder, ix86_variable_issue, | |
5155 | struct ix86_sched_data, TARGET_SCHED_VARIABLE_ISSUE, | |
5156 | TARGET_SCHED_INIT, TARGET_SCHED_REORDER): Remove. | |
5157 | (ia32_use_dfa_pipeline_interface): Add TARGET_PENTIUMPRO. | |
5158 | (ia32_multipass_dfa_lookahead): Add TARGET_PENTIUMPRO. | |
5159 | * athlon.md (athlon_ssecmp_load): Fix comment | |
5160 | ||
5a26b329 | 5161 | 2004-03-04 Stuart Hastings <stuart@apple.com> |
56bab446 | 5162 | |
5a26b329 SH |
5163 | * gcc/doc/invoke.texi: Document -mlongcall for Darwin/PPC. |
5164 | ||
2e5d2af9 | 5165 | 2004-03-04 Stuart Hastings <stuart@apple.com> |
56bab446 | 5166 | |
2e5d2af9 SH |
5167 | * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before |
5168 | 686, tell Darwin assembler to allow prefetch insns, non-empty def | |
5169 | of SUBTARGET_OPTION_TRANSLATE_TABLE. | |
5170 | ||
58f206d6 DD |
5171 | 2004-03-04 DJ Delorie <dj@redhat.com> |
5172 | ||
5173 | PR optimization/14282 | |
5174 | * sched-deps.c (sched_analyze_insn): Allow a stack adjustment | |
5175 | between a call and the assignment of its return value. | |
5176 | ||
e9eba255 KH |
5177 | 2004-03-04 Kazu Hirata <kazu@cs.umass.edu> |
5178 | ||
5179 | * config/h8300/h8300.c: Put a comment for every function. | |
5180 | ||
d3c40837 KH |
5181 | 2004-03-04 Kazu Hirata <kazu@cs.umass.edu> |
5182 | ||
5183 | * config/h8300/h8300.md: Add comments about peephole2's. | |
5184 | ||
eb3d7f9d SB |
5185 | 2004-03-04 Steven Bosscher <stevenb@suse.de> |
5186 | ||
5187 | * i386.h (TARGET_CPU_DEFAULT_nocona): Fix value. | |
5188 | ||
463301c3 JH |
5189 | 2004-03-04 Jan Hubicka <jh@suse.cz> |
5190 | ||
5191 | * cfgcleanup.c (thread_jump): Update call of cselib_init. | |
5192 | * cselib.c (cselib_record_memory): New static variable. | |
5193 | (cselib_lookup_mem, cselib_record_set, cselib_record_sets): | |
5194 | Give up on memories when asked for. | |
5195 | (cselib_init): Accept new argument. | |
5196 | * cselib.h (cselib_init): Update prototype. | |
5197 | * gcse.c (local_cprop_pass): Update call of cselib_init. | |
5198 | * loop.c (load_mems): Update call of cselib_init. | |
5199 | * postreload.c (reload_cse_regs_1): Update call of cselib_init. | |
5200 | * sched-deps.c (sched_analyze): Update call of cselib_init. | |
5201 | ||
3b6ce0af DE |
5202 | 2004-03-04 David Edelsohn <edelsohn@gnu.org> |
5203 | GP <gp@qnx.com> | |
5204 | ||
5205 | * config/rs6000/rs6000.c (output_function_profiler): Append @plt | |
5206 | when compiling PIC. | |
5207 | ||
af931390 JZ |
5208 | 2004-03-04 Josef Zlomek <zlomekj@suse.cz> |
5209 | ||
5210 | PR/14362 | |
5211 | * var-tracking.c (track_expr_p): Do not track variables which | |
5212 | should be ignored for debugging purposes. | |
5213 | ||
ddc68564 AM |
5214 | 2004-03-04 Alan Modra <amodra@bigpond.net.au> |
5215 | ||
5216 | * real.c (encode_ibm_extended): Don't bother rounding low double. | |
5217 | * c-cppbuiltin.c (builtin_define_float_constants): Tweak MAX | |
5218 | when fmt->pnan < fmt->p. | |
5219 | ||
ca87076c EC |
5220 | 2004-03-04 Eric Christopher <echristo@redhat.com> |
5221 | ||
5222 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check | |
5223 | only range of valid arg registers and fixed_regs. | |
5224 | ||
1a402dc1 AM |
5225 | 2004-03-04 Alan Modra <amodra@bigpond.net.au> |
5226 | ||
5227 | PR target/14406 | |
5228 | * config/rs6000/rs6000.md (abstf2, abstf2+1): Delete define_insn. | |
5229 | (abstf2, abstf2_internal): New define_expand. | |
5230 | ||
6a2d136b EB |
5231 | 2004-03-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
5232 | ||
5233 | PR optimization/14235 | |
5234 | * expr.c (convert_move): Copy the source to a new pseudo | |
5235 | when converting from a sub-word source to a larger-than-word | |
5236 | register which conflicts with the source. | |
5237 | ||
3205a71e ZW |
5238 | 2004-03-03 Zack Weinberg <zack@codesourcery.com> |
5239 | ||
5240 | PR 13728 | |
5241 | * c-decl.c (diagnose_mismatched_decls): Issue an error for two | |
5242 | parameters with the same name, unless one is a forward decl. | |
5243 | Do not issue a redundant-redeclaration warning for forward | |
5244 | decls of parameters. | |
5245 | ||
e8d8a034 DE |
5246 | 2004-03-04 David Edelsohn <edelsohn@gnu.org> |
5247 | ||
5248 | * doc/install.texi (*-ibm-aix*): Document use of Bash to speed up | |
5249 | configuration. | |
5250 | ||
ebe29bbf ILT |
5251 | 2004-03-03 Ian Lance Taylor <ian@wasabisystems.com> |
5252 | ||
5253 | * ggc-zone.c (ggc_pch_write_object): Don't align file pointer. | |
5254 | ||
7cd60054 AM |
5255 | 2004-03-04 Alan Modra <amodra@bigpond.net.au> |
5256 | ||
5257 | * target-def.h (TARGET_OPTF): Delete. | |
5258 | * c-opts.c (TARGET_OPTF): Define. | |
5259 | ||
e654c19e JH |
5260 | 2004-03-04 Jan Hubicka <jh@suse.cz> |
5261 | ||
5262 | * cselib.c (cselib_finish): Fix another miss-application of my previous | |
5263 | patch. | |
5264 | ||
94d1613b MS |
5265 | 2004-03-03 Mike Stump <mrs@apple.com> |
5266 | ||
5267 | Add framework support for darwin. | |
5268 | ||
5269 | * c-incpath.c: Include target.h and machmode.h. | |
5270 | (add_path): Use a consistent style for cpp_dir. Initialize | |
5271 | p->construct to 0. | |
5272 | (add_cpp_dir_path): New. | |
5273 | (register_include_chains): Add use of extra_includes callback. | |
5274 | (hook_void_int): Add. | |
5275 | (target_c_incpath): Add. | |
5276 | * c-incpath.h (add_cpp_dir_path): New. | |
5277 | (target_c_incpath_s): Add. | |
5278 | (target_c_incpath): Add. | |
5279 | (C_INCPATH_INIT): Add. | |
5280 | * c-opts.c (c_common_missing_argument, | |
5281 | c_common_handle_option): Add -F argument processing. | |
5282 | * c.opt: Add -F argument processing. | |
5283 | * gcc.c (trad_capable_cpp): Add -F argument processing. | |
5284 | * cppfiles.c (find_file_in_dir): Update to use construct | |
5285 | callback. | |
5286 | (search_path_exhausted, cpp_get_path, cpp_get_buffer, | |
5287 | cpp_get_prev): New. | |
5288 | (_cpp_find_file): Use search_path_exhausted. | |
5289 | (make_cpp_dir): Initialize construct to 0. | |
5290 | * cpplib.h (missing_header_cb | |
5291 | cpp_get_path, cpp_get_buffer, cpp_get_file, cpp_get_prev): New. | |
5292 | (cpp_callbacks): Add missing_header | |
5293 | (cpp_dir): Add construct. | |
5294 | * target-def.h: (TARGET_OPTF): New. | |
5295 | * hooks.c (hook_void_int, hook_void_charptr): Add. | |
5296 | * hooks.h (hook_void_int, hook_void_charptr): Add. | |
5297 | * Makefile.in (c-incpath.o) : Add $(TARGET_H) and | |
5298 | $(MACHMODE_H) dependencies. | |
5299 | * doc/invoke.texi (Darwin Options): Document -F. | |
5300 | * doc/tm.texi (TARGET_EXTRA_INCLUDES): Add. | |
5301 | (TARGET_OPTF): Add. | |
5302 | * fix-header.c (target_c_incpath): Add. | |
5303 | ||
5304 | * config/darwin-c.c: Add c-incpath.h include. | |
5305 | (using_frameworks, find_subframework_file, | |
5306 | find_subframework_header, add_system_framework_path, | |
5307 | frameworks_in_use, num_frameworks, max_frameworks, | |
5308 | add_framework, find_framework, struct framework_header, | |
5309 | framework_header_dirs, framework_construct_pathname, | |
5310 | find_subframework_file, add_system_framework_path, | |
5311 | add_framework_path, framework_defaults, | |
5312 | darwin_register_frameworks, find_subframework_header): Add. | |
5313 | * config/darwin.h (TARGET_EXTRA_INCLUDES, TARGET_OPTF): New. | |
5314 | (TARGET_OPTION_TRANSLATE_TABLE): Add -framework support. | |
5315 | (CPP_SPEC): Add __APPLE_CC__ support. | |
5316 | * t-darwin (darwin-c.o): Add c-incpath.h dependency. | |
5317 | ||
0fc0c4c9 JH |
5318 | 2004-03-04 Jan Hubicka <jh@suse.cz> |
5319 | ||
5320 | * cselib.c (cselib_finish): Fix miss-application of my previous | |
5321 | patch. | |
5322 | ||
67dfe110 KH |
5323 | 2004-03-03 Kazu Hirata <kazu@cs.umass.edu> |
5324 | ||
5325 | * hooks.c (hook_tree_tree_identity): New. | |
5326 | * hooks.h: Add a prototype for hook_tree_tree_identity. | |
5327 | * stmt.c (expand_asm_operands): Use targetm.md_asm_clobbers | |
5328 | instead of MD_ASM_CLOBBERS. | |
5329 | * system.h (MD_ASM_CLOBBERS): Poison. | |
5330 | * target-def.h (TARGET_MD_ASM_CLOBBERS): New. | |
5331 | (TARGET_INITIALIZER): Add TARGET_MD_ASM_CLOBBERS. | |
5332 | * target.h (gcc_target): Add md_asm_clobbers. | |
5333 | * config/i386/i386.c (TARGET_MD_ASM_CLOBBERS): New. | |
5334 | (ix86_md_asm_clobbers): New. | |
5335 | * config/i386/i386.h (MD_ASM_CLOBBERS): Remove. | |
5336 | * doc/tm.texi (MD_ASM_CLOBBERS): Change to | |
5337 | TARGET_MD_ASM_CLOBBERS. | |
5338 | ||
d79944f4 | 5339 | 2004-03-03 Stuart Hastings <stuart@apple.com> |
67dfe110 | 5340 | |
d79944f4 | 5341 | * gcc/config.gcc: Arrange for Darwin/x86 to build libgcc_eh.a. |
3205a71e | 5342 | |
fc9232c9 EB |
5343 | 2004-03-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
5344 | ||
5345 | * config/sparc/sparc.c (noov_compare64_op): Fix typo. | |
5346 | ||
5347 | * config/sparc/sparc.h (ASM_FLOAT): Delete. | |
5348 | (ASM_DOUBLE): Likewise. | |
5349 | (ASM_LONGDOUBLE): Likewise. | |
5350 | * config/sparc/pbd.h (ASM_INT_OP): Delete. | |
5351 | ||
b7048ab7 RH |
5352 | 2003-03-03 Richard Henderson <rth@redhat.com> |
5353 | ||
5354 | PR opt/13862 | |
5355 | * cselib.c (cselib_record_sets): Don't record multiple sets in | |
5356 | asm insns. | |
5357 | ||
f9957958 MH |
5358 | 2004-03-03 Mostafa Hagog <mustafa@il.ibm.com> |
5359 | ||
5360 | * common.opt: Add description of the new -fgcse-after-reload flag. | |
5361 | ||
5362 | * flags.h (flag_gcse_after_reload): Declaration of global variable. | |
5363 | ||
5364 | * gcse.c (reg_used_on_edge ,reg_set_between_after_reload_p, | |
5365 | reg_used_between_after_reload_p, rtx get_avail_load_store_reg, | |
5366 | is_jump_table_basic_block, bb_has_well_behaved_predecessors, | |
5367 | get_bb_avail_insn, hash_scan_set_after_reload, | |
5368 | compute_hash_table_after_reload, eliminate_partially_redundant_loads, | |
5369 | gcse_after_reload, get_bb_avail_insn): New functions to implement | |
5370 | gcse-after-reload. | |
5371 | (gcse_after_reload_main): New function, the main entry point to | |
5372 | gcse-after-reload. | |
5373 | ||
5374 | * rtl.h (gcse_after_reload_main): Declaration of the new function. | |
5375 | ||
5376 | * opts.c (common_handle_option): Handle the -fgcse-after-reload flag. | |
5377 | ||
5378 | * toplev.c (flag_gcse_after_reload): Initialization. | |
5379 | ||
5380 | * passes.c (rest_of_handl_gcse2): Call gcse_after_reload_main. | |
5381 | ||
5382 | * params.def (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION, | |
5383 | PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION): New parameters for tuning | |
5384 | the gcse after reload optimization. | |
5385 | ||
5386 | * params.h (GCSE_AFTER_RELOAD_PARTIAL_FRACTION, | |
5387 | GCSE_AFTER_RELOAD_CRITICAL_FRACTION): Two macros to access the tuning | |
5388 | parameters. | |
5389 | ||
5390 | * doc/invoke.texi: Documentation for the new flag gcse-after-reload. | |
5391 | ||
6f6dedf5 NP |
5392 | 2004-03-03 Nicolas Pitre <nico@cam.org> |
5393 | ||
5394 | * config/arm/ieee754-df.S (muldf3, divdf3): Fix denormalization of | |
5395 | small negative values. | |
5396 | ||
6790d1ab JH |
5397 | 2004-03-03 Jan Hubicka <jh@suse.cz> |
5398 | ||
5399 | * cselib.c (hash_table): Remove GTY marker. | |
5400 | (reg_values): Turn into array. | |
5401 | (used_regs): Likewise. | |
5402 | (n_used_regs): New static variable. | |
5403 | (reg_values_old): Kill. | |
5404 | (clear_table): Update uses of arrays. | |
5405 | (cselib_lookup): Likewise. | |
5406 | (cselib_record_set): Likewise. | |
5407 | (cselib_init): Likewise. | |
5408 | (cselib_finish): Likewise. | |
5409 | (cselib_udpate_varray_sizes): Kill. | |
5410 | * cselib.h (cselib_update_varray_sizes): Kill. | |
5411 | ||
33e6a97a PB |
5412 | 2004-03-03 Paul Brook <paul@codesourcery.com> |
5413 | ||
5414 | * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")". | |
5415 | ||
b9dcdee4 JH |
5416 | 2004-03-03 Jan Hubicka <jh@suse.cz> |
5417 | ||
5418 | * ggc-common.c (ggc_alloc_cleared_stat, ggc_realloc_stat): | |
5419 | Rename from ...; make statistics transparent. | |
5420 | (ggc_alloc_cleared, ggc_realloc_stat): ... these. | |
5421 | (loc_descriptor): New structure. | |
5422 | (hash_descriptor, eq_descriptor, loc_descriptor, cmp_statistics, | |
5423 | add_statistics): | |
5424 | New static function. | |
5425 | (ggc_record_overhead, dump_statistics): New global function. | |
5426 | * ggc-none.c (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat, | |
5427 | ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Rename | |
5428 | from ...; accept locations | |
5429 | (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared, | |
5430 | ggc_realloc, ggc_alloc_typed): ... this one. | |
5431 | from ...; accept locations | |
5432 | * ggc-page.c (ggc_alloc_typed_stat, ggc_alloc_zone_stat, | |
5433 | ggc_alloc_stat): Rename from ... ; pass locations | |
5434 | * ggc-page.c (ggc_alloc_typed, ggc_alloc_zone, ggc_alloc): | |
5435 | ... this one. | |
5436 | (ggc_alloc_stat): Record overehead. | |
5437 | * ggc.h (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared, | |
5438 | ggc_realloc, ggc_alloc_typed): Turn to macros | |
5439 | (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat, | |
5440 | ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Declare. | |
5441 | (dump_ggc_loc_satistics, ggc_record_overehead): Declare. | |
5442 | * langhooks.h (lhd_make_node): Declare. | |
5443 | (LANG_HOOKS_MAKE_TYPE): Default to new function, | |
5444 | * langhooks.c (lhd_make_node): New. | |
5445 | * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Rename from ... ; pass | |
5446 | locations. | |
5447 | (rtx_alloc, swallow_copy_rtx): ... this one. | |
5448 | * rtl.h (rtx_alloc, swallow_copy_rtx): Turn to macros. | |
5449 | * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Declare. | |
5450 | * toplpev.c (finalize): Dump stats. | |
5451 | * tree.c (make_node_stat, copy_node_stat, make_tree_vec_stat, | |
5452 | build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat): | |
5453 | Rename from ... ; pass locators. | |
5454 | (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons, | |
5455 | build?, build_decl): Declare. | |
5456 | * tree.h (make_node_stat, copy_node_stat, make_tree_vec_stat, | |
5457 | build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat): | |
5458 | Declare. | |
5459 | (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons, | |
5460 | build?, build_decl): New macros. | |
5461 | * Makefile.in (RTL_H, TREE_H): Add statistics.h dependency. | |
5462 | * statistics.h: New file. | |
5463 | ||
6ba7b547 MR |
5464 | 2004-03-03 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
5465 | Richard Sandiford <rsandifo@redhat.com> | |
5466 | ||
5467 | * config/mips/mips.h (MASK_FIX_SB1): Bump. | |
5468 | (MASK_FIX_R4400, TARGET_FIX_R4400): New macros. | |
5469 | (TARGET_SWITCHES): Add -mfix-r4400 and -mno-fix-r4400. | |
5470 | * config/mips/mips.c (mips_output_division): Fill the branch delay | |
5471 | slot with a nop if TARGET_FIX_R4000. Extend R4000 workarounds to | |
5472 | TARGET_FIX_R4400. | |
5473 | (mips_output_division): Adjust accordingly. | |
5474 | (override_options): Make -march=r4400 imply -mfix-r4400 by default. | |
5475 | * doc/invoke.texi: Document -mfix-r4400 and new errata workarounds. | |
5476 | ||
ec8e098d PB |
5477 | 2004-03-03 Paolo Bonzini <bonzini@gnu.org> |
5478 | ||
5479 | * alias.c (rtx_equal_for_memref_p): Use predicates | |
5480 | to test rtx classes and new rtx class codes, possibly | |
5481 | splitting conditionals that tested against '<' and 'o'. | |
5482 | * caller-save.c (save_call_clobbered_regs): Likewise. | |
5483 | * combine.c (contains_muldiv, find_split_point, subst, | |
5484 | combine_simplify_rtx, simplify_if_then_else, | |
5485 | simplify_set, simplify_logical, expand_compound_operation, | |
5486 | make_compound_operation, if_then_else_cond, known_cond, | |
5487 | apply_distributive_law, cached_nonzero_bits, | |
5488 | cached_num_sign_bit_copies, simplify_shift_const, | |
5489 | gen_binary, simplify_comparison, update_table_tick, | |
5490 | record_value_for_reg, get_lsat_value_validate): Likewise. | |
5491 | * cse.c (mention_regs, find_best_addr, find_comparison_args, | |
5492 | fold_rtx, cse_insn, invalidate_memory, cse_basic_block): | |
5493 | Likewise. | |
5494 | * emit-rtl.c (copy_insn_1): Likewise. | |
5495 | * expr.c (force_operand): Likewise. | |
5496 | * final.c (final_scan_insn, get_mem_expr_from_op): Likewise. | |
5497 | * flow.c (notice_stack_pointer_modification_1, | |
5498 | invalidate_mems_from_autoinc, ior_reg_cond, not_reg_cond, | |
5499 | and_reg_cond, elim_reg_cond): Likewise. | |
5500 | * function.c (update_epilogue_consts): Likewise. | |
5501 | * genattrtab.c (attr_rtx_1): Likewise. | |
5502 | * genopinit.c (gen_insn): Likewise. | |
5503 | * integrate.c (subst_constants): Likewise. | |
5504 | * jump.c (reversed_comparison_code_parts, | |
5505 | reversed_comparison_code, delete_related_insns, | |
5506 | rtx_renumbered_equal_p): Likewise. | |
5507 | * local-alloc.c (block_alloc): Likewise. | |
5508 | * loop.c (rtx_equal_for_prefetch_p, maybe_eliminate_biv, | |
5509 | canonicalize_condition): Likewise. | |
5510 | * loop-iv.c (simplify_using_conditions, iv_number_of_iterations): | |
5511 | Likewise. | |
5512 | * optabs.c (add_equal_node, expand_binop): Likewise. | |
5513 | * predict.c (estimate_probability): Likewise. | |
5514 | * ra-debug.c (ra_print_rtx_2op, ra_print_rtx): Likewise. | |
5515 | * recog.c (validate_replace_rtx_1, comparison_operator, | |
5516 | offsettable_address_p, constrain_operands): Likewise. | |
5517 | * reg-stack.c (swap_rtx_condition_1, subst_stack_regs_pat): | |
5518 | Likewise. | |
5519 | * regclass.c (scan_one_insn): Likewise. | |
5520 | * regmove.c (stable_and_no_regs_but_for_p): Likewise. | |
5521 | * regrename.c (kill_autoinc_value): Likewise. | |
5522 | * reload.c (find_reusable_reload, find_reloads, | |
5523 | reg_overlap_mentioned_for_reload_p): Likewise. | |
5524 | * reload1.c (gen_reload, delete_address_reloads_1): Likewise. | |
5525 | * rtl.c (copy_rtx): Likewise. | |
5526 | * rtl.h (CONSTANT_P, INSN_P): Likewise. | |
5527 | * rtlanal.c (commutative_operand_precedence): Likewise. | |
5528 | * sched-deps.c (conditions_mutex_p): Likewise. | |
5529 | * sched-rgn.c (is_cfg_nonregular): Likewise. | |
5530 | * simplify-rtx.c (simplify_gen_binary, | |
5531 | simplify_gen_relational, simplify_replace_rtx, | |
5532 | simplify_unary_operation, simplify_binary_operation, | |
5533 | simplify_ternary_operation, simplify_rtx): Likewise. | |
5534 | * unroll.c (reg_dead_after_loop): Likewise. | |
5535 | * config/alpha/alpha.c (alpha_swapped_comparison_operator, | |
5536 | print_operand): Likewise. | |
5537 | * config/arc/arc.c (proper_comparison_operator): Likewise. | |
5538 | * config/arm/arm.c (arm_arm_address_cost, arm_select_cc_mode): | |
5539 | Likewise. | |
5540 | * config/avr/avr.c (_reg_unused_after): Likewise. | |
5541 | * config/frv/frv.c (frv_ifcvt_modify_tests, | |
5542 | frv_ifcvt_modify_insn, frv_pack_insn): Likewise. | |
5543 | * config/i386/i386.c (ix86_comparison_operator, | |
5544 | ix86_carry_flag_operator, fcmov_comparison_operator, | |
5545 | arith_or_logical_operator, print_operand, | |
5546 | ix86_expand_binary_operator, ix86_binary_operator_ok): | |
5547 | Likewise. | |
5548 | * config/i386/i386.md: Likewise. | |
5549 | * config/ia64/ia64.c (not_postinc_memory_operand, | |
5550 | ia64_print_operand, update_set_flags, errata_emit_nops): | |
5551 | Likewise. | |
5552 | * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS, | |
5553 | CONSTRAINT_OK_FOR_S): Likewise. | |
5554 | * config/ip2k/ip2k.c (mdr_resequence_xy_yx, | |
5555 | mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref, | |
5556 | ip2k_xexp_not_uses_reg_for_mem, ip2k_xexp_not_uses_reg_p, | |
5557 | ip2k_composite_xexp_not_uses_reg_p, ip2k_unary_operator): | |
5558 | Likewise. | |
5559 | * config/iq2000/iq2000.c (cmp_op, symbolic_expression_p, | |
5560 | eqne_comparison_operator, signed_comparison_operator): | |
5561 | Likewise. | |
5562 | * config/mips/mips.c (cmp_op, symbolic_expression_p): | |
5563 | Likewise. | |
5564 | * config/mmix/mmix (mmix_foldable_comparison_operator, | |
5565 | mmix_comparison_operator): Likewise. | |
5566 | * config/pa/pa.c (hppa_legitimize_address): Likewise. | |
5567 | * config/rs6000/rs6000.c (stmw_operation, | |
5568 | branch_comparison_operator, trap_comparison_operator, | |
5569 | ccr_bit): Likewise. | |
5570 | * config/rs6000/rs6000.h (SELECT_CC_MODE): Likewise. | |
5571 | * config/s390/s390.c (s390_alc_comparison, | |
5572 | s390_slb_comparison):L Likewise. | |
5573 | * config/sh/sh.c (gen_block_redirect, reg_unused_after): | |
5574 | Likewise. | |
5575 | * config/sparc/sparc.c (eq_or_neq, normal_comp_operator, | |
5576 | noov_compare_op, noov_compare64_op, v9_regcmp_op, | |
5577 | emit_hard_tfmode_operation, reg_unused_after) | |
5578 | * doc/md.texi, doc/rtl.texi: Likewise. | |
5579 | ||
5580 | * ra-debug.c: Add 2004 to list of copyright years. | |
5581 | * unroll.c: Likewise. | |
5582 | ||
5583 | * combine.c (simplify_logical): Remove dummy test, | |
5584 | (apply_distributive_law): Fix typo in comment. | |
5585 | GET_CODE (x) == AND so x is a commutative binary op. | |
5586 | * jump.c (delete_related_insns): simplify loop | |
5587 | condition, move testing of RTX codes inside the loop. | |
5588 | (rtx_renumbered_equal_p): do not use RTX_CODE. | |
5589 | * rtl.c (rtx_class): Declare as enum rtx_class. | |
5590 | * rtl.def (EQ, NE, UNEQ, LTGT, UNORDERED, ORDERED): | |
5591 | Move to RTX_COMM_COMPARE class. | |
5592 | (HIGH, SYMBOL_REF, LABEL_REF, CONST, CONST_INT, CONST_DOUBLE): | |
5593 | Move to RTX_CONST_OBJ class. | |
5594 | * rtl.h (enum rtx_class): New declaration, | |
5595 | (RTX_OBJ_MASK, RTX_OBJ_RESULT, RTX_COMPARE_MASK, | |
5596 | RTX_COMPARE_RESULT, RTX_ARITHMETIC_MASK, RTX_ARITHMETIC_RESULT, | |
5597 | RTX_BINARY_MASK, RTX_BINARY_RESULT, RTX_COMMUTATIVE_MASK, | |
5598 | RTX_COMMUTATIVE_RESULT, RTX_NON_COMMUTATIVE_RESULT, | |
5599 | RTX_EXPR_FIRST, RTX_EXPR_LAST, UNARY_P, BINARY_P, | |
5600 | ARITHMETIC_P, COMMUTATIVE_ARITHMETIC_P, COMPARISON_P, | |
5601 | SWAPPABLE_OPERANDS_P, NON_COMMUTATIVE_P, COMMUTATIVE_P, | |
5602 | OBJECT_P): New macros. | |
5603 | * config/sparc/sparc.c (noov_compare_op): Remove register | |
5604 | from parameter. | |
5605 | ||
a841ab8b KH |
5606 | 2004-03-03 Kazu Hirata <kazu@cs.umass.edu> |
5607 | ||
5608 | * target.h: Remove texi jargons in comments. | |
5609 | ||
cb36ddba KH |
5610 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
5611 | ||
5612 | * config/h8300/lib1funcs.asm (___fixunssfsi): Change the | |
5613 | threshold to 0x4f. | |
5614 | ||
5615 | Revert: | |
5616 | 2004-02-27 Kazu Hirata <kazu@cs.umass.edu> | |
5617 | * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300 | |
5618 | as well. | |
5619 | * config/h8300/lib1funcs.asm (___fixunssfsi): Remove. | |
5620 | * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm. | |
5621 | ||
66c87bae KH |
5622 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
5623 | ||
5624 | * doc/md.texi (cbranchmode4): New. | |
5625 | ||
91e01231 EC |
5626 | 2004-03-02 Eric Christopher <echristo@redhat.com> |
5627 | ||
5628 | * config/mips/mips16.S: Change fixsfsi and fixdfsi to | |
5629 | fix_trunc. | |
5630 | * config/mips/mips.c (mips_init_libfuncs): Change accordingly. | |
5631 | * config/mips/t-elf (LIB1ASMFUNCS): Ditto. | |
5632 | * config/mips/t-isa3264 (LIB1ASMFUNCS): Ditto. | |
5633 | * config/mips/t-r3900 (LIB1ASMFUNCS): Ditto. | |
5634 | ||
27ab3e91 RH |
5635 | 2004-03-02 Richard Henderson <rth@redhat.com> |
5636 | ||
3205a71e ZW |
5637 | PR middle-end/11767 |
5638 | * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P. | |
5639 | * optabs.c (prepare_cmp_insn): Force trapping memories to registers | |
5640 | before the compare, if flag_non_call_exceptions. | |
27ab3e91 | 5641 | |
0eadce52 RH |
5642 | 2004-03-02 Richard Henderson <rth@redhat.com> |
5643 | ||
5644 | PR middle-end/14327 | |
5645 | * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before | |
5646 | emitting the label, not after. | |
5647 | ||
de70723b SC |
5648 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
5649 | ||
5650 | * config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable. | |
5651 | (m68hc11_mov_addr_mode): Likewise. | |
5652 | (m68hc11_override_options): Initialize them based on target. | |
5653 | (register_indirect_p): Allow a MEM for indirect addressing modes and | |
5654 | use flags to control what is allowed. | |
5655 | (m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for | |
5656 | supported addressing modes. | |
5657 | (m68hc11_register_indirect_p): Use m68hc11_addr_mode. | |
5658 | (go_if_legitimate_address_internal): Likewise. | |
5659 | (m68hc11_indirect_p): Likewise and check the mode. | |
5660 | (print_operand): Allow a (MEM (MEM)) and generate indirect addressing. | |
5661 | ||
d6da68b9 KH |
5662 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
5663 | ||
5664 | * builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove. | |
5665 | (expand_builtin_setjmp_setup): Use | |
5666 | targetm.builtin_setjmp_frame_value instead of | |
5667 | BUILTIN_SETJMP_FRAME_VALUE. | |
5668 | * system.h (BUILTIN_SETJMP_FRAME_VALUE): Poison. | |
5669 | * target-def.h (TARGET_BUILTIN_SETJMP_FRAME_VALUE): New. | |
5670 | (TARGET_INITIALIZER): Add TARGET_BUILTIN_SETJMP_FRAME_VALUE. | |
5671 | * target.h (gcc_target): Add builtin_setjmp_frame_value. | |
5672 | * targhooks.c (default_builtin_setjmp_frame_value): New. | |
5673 | * targhooks.h: Add a prototype for | |
5674 | default_builtin_setjmp_frame_value. | |
5675 | * doc/tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Change to | |
5676 | TARGET_BUILTIN_SETJMP_FRAME_VALUE. | |
5677 | ||
d87e83b9 SC |
5678 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
5679 | ||
5680 | * config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize | |
5681 | sequences of moves. | |
5682 | (add peepholes): New peepholes to optimize sequences adding small | |
5683 | constants. | |
5684 | (bset peepholes): New peepholes to transform an OR in a bset form | |
5685 | (bclr peepholes): Likewise for bclr form. | |
5686 | (cmp peepholes): New peepholes to avoid register copies when comparing. | |
5687 | ||
d5111c9c SC |
5688 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
5689 | ||
5690 | * config/m68hc11/m68hc11.md ("*pushdi_internal"): New insn and split | |
5691 | to separate push from moves. | |
5692 | ("*pushdf_internal"): Likewise. | |
5693 | ("*pushsf_internal"): Likewise. | |
5694 | ("*pushsi_internal"): Likewise. | |
5695 | ("movdi_internal"): Use define_insn_and_split; non push operand. | |
5696 | ("movdf_internal"): Likewise. | |
5697 | ("movsf_internal"): Likewise. | |
5698 | ("movsi_internal"): Likewise. | |
5699 | ("*movhi_68hc12", "*addhi3_68hc12"): Fix and tune constraints | |
5700 | ("*addhi3", "*subhi3", "*andhi3_mem", "*iorhi3_mem"): Likewise. | |
5701 | ("*ashlsi3_const1", "*lshrsi3_const1"): Likewise. | |
5702 | ||
9449502d SC |
5703 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
5704 | ||
5705 | * config/m68hc11/m68hc11.md ("tstqi_z_used"): Use define_insn_and_split. | |
5706 | ("cmphi_z_used", "cmpqi_z_used"): Likewise. | |
5707 | ("movstrictsi", "movstricthi", "movstrictqi"): Likewise. | |
5708 | ("anddi3", "andsi3", "iordi3", "iorsi3"): Likewise. | |
5709 | ("xordi3", "xorsi3", "*logicalsi3_zexthi"): Likewise. | |
5710 | ("*logicalsi3_zextqi", "*logicalhi3_zexthi_ashift8"): Likewise. | |
5711 | ("logicalhi3_zexthi", "*logicalsi3_silshr16"): Likewise. | |
5712 | ("*logicalsi3_silshl16", "*logicalsi3_silshl16_zext"): Likewise. | |
5713 | ("*ashldi3_const32", "*ashldi3_const1", "addsi_silshr16"): Likewise. | |
5714 | ("addsi_andshr16", "*ashlsi3_const16_zexthi"): Likewise. | |
5715 | ("*lshrdi3_const32", "*lshrdi_const1"): Likewise. | |
5716 | ||
b90f3299 SC |
5717 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
5718 | ||
5719 | * config/m68hc11/m68hc11.md (SOFT_TMP_REGNUM): Define. | |
5720 | (SOFT_XY_REGNUM): Define. | |
5721 | (cmp split): Use the above instead of hard coded numbers. | |
5722 | (8-bit op split): No need to check the mode; allow Q_REG. | |
5723 | (ashift split): Adjust the first operand if it uses the SP and we | |
5724 | are pushing the shifted value. | |
5725 | (plus shift split): Fix when a source is in register D+X. | |
5726 | ("doloop_end"): Pass dummy arguments to gen_rtx_NE. | |
5727 | ||
77d2a36d SC |
5728 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
5729 | ||
5730 | * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix when | |
5731 | comparing with Z register. | |
5732 | ||
f2dca510 ZD |
5733 | 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
5734 | ||
5735 | * cfgloop.h (struct loop_desc): Removed. | |
5736 | (struct loop): Fields simple, desc and has_desc removed. | |
5737 | (simple_loop_p, count_loop_iterations): Declaration removed. | |
5738 | * cfgloopanal.c (struct unmark_altered_insn_data): Removed. | |
5739 | (unmark_altered, blocks_invariant_registers, unmark_altered_insn | |
5740 | blocks_single_set_registers, invariant_rtx_wrto_regs_p_helper, | |
5741 | invariant_rtx_wrto_regs_p, test_for_iteration, constant_iterations, | |
5742 | simple_loop_exit_p, variable_initial_value, variable_initial_values, | |
5743 | simple_condition_p, simple_increment, count_strange_loop_iterations, | |
5744 | inverse, fits_in_mode_p, simple_loop_p, count_loop_iterations): | |
5745 | Removed. | |
5746 | * loop-iv.c (check_simple_exit, find_simple_exit): Update comments. | |
5747 | ||
87ca8b8c KH |
5748 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
5749 | ||
5750 | * genattrtab.c: Don't handle MATCH_INSN. | |
5751 | * genrecog.c: Likewise. | |
5752 | * gensupport.c: Likewise. | |
5753 | * rtl.def (match_insn): Remove. | |
5754 | * doc/md.texi (match_insn, match_insn2): Remove. | |
5755 | ||
bdc2893c MM |
5756 | 2004-03-02 Mark Mitchell <mark@codesourcery.com> |
5757 | ||
5758 | * doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this | |
5759 | macro results in memory allocation. | |
5760 | ||
2de2f846 DB |
5761 | 2004-03-02 David O'Brien <obrien@FreeBSD.org> |
5762 | ||
5763 | * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add. | |
5764 | * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define | |
5765 | %(fbsd_dynamic_linker), | |
5766 | (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with | |
5767 | config/i386/freebsd.h | |
5768 | * config/arm/freebsd.h: Ditto. | |
5769 | * config/i386/freebsd.h: Ditto. | |
5770 | * config/i386/freebsd64.h: Ditto. | |
5771 | * config/ia64/freebsd.h: Ditto. | |
5772 | * config/rs6000/sysv4.h: Ditto. | |
5773 | * config/sparc/freebsd.h: Ditto. | |
5774 | ||
f08dc6c1 LR |
5775 | 2004-03-02 Loren James Rittle <ljrittle@acm.org> |
5776 | ||
5777 | * gcc/doc/install.texi (*-*-freebsd*): Update target information. | |
5778 | ||
c24938d4 KH |
5779 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
5780 | ||
5781 | * rtl.def (define_combine): Remove. | |
5782 | ||
ba29f5de KH |
5783 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
5784 | ||
5785 | * config/h8300/h8300.md: Tweak formatting. | |
5786 | ||
a5a0ab45 KH |
5787 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
5788 | ||
5789 | * config/h8300/h8300.md (*cmphi_h8300): Rename to | |
5790 | *cmphi_h8300_znvc. | |
5791 | (*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc. | |
5792 | ||
e451301f MM |
5793 | 2004-03-01 Mark Mitchell <mark@codesourcery.com> |
5794 | ||
5795 | PR bootstrap/14356 | |
5796 | * gcc.c (process_command): Remove const-qualification from argv. | |
5797 | (main): Likewise. | |
5798 | ||
b698e58b KH |
5799 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
5800 | ||
5801 | * config/h8300/h8300.md (pushqi1_h8300hs): Rename to | |
5802 | pushqi1_h8300hs_advanced. Adjust its caller. | |
5803 | (pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced. | |
5804 | Adjust its caller. | |
5805 | ||
a5c40cfb | 5806 | 2004-03-02 Nicolas Roche <roche@act-europe.fr> |
3a41db81 NR |
5807 | |
5808 | * Makefile.in (install-libgcc, install-multilib): Pass | |
5809 | mkinstalldirs var to libgcc.mk. | |
5810 | ||
fdf89bf5 KH |
5811 | 2004-03-01 Kazu Hirata <kazu@cs.umass.edu> |
5812 | ||
5813 | * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison. | |
5814 | * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove. | |
5815 | ||
0e26895c KH |
5816 | 2004-03-01 Kazu Hirata <kazu@cs.umass.edu> |
5817 | ||
5818 | * config/h8300/h8300.c (gtle_operator): Accept GT and LE. | |
5819 | * config/h8300/h8300.md: Split several peephole2's, each into | |
5820 | two. | |
5821 | ||
738ed977 ZD |
5822 | 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
5823 | ||
5824 | * dominance.c (recount_dominator): Handle postdominators. | |
5825 | ||
e245bd81 RS |
5826 | 2004-03-01 Richard Sandiford <rsandifo@redhat.com> |
5827 | ||
5828 | * config/mips/mips-protos.h (enum mips_symbol_type): Move from mips.h. | |
5829 | (NUM_SYMBOL_TYPES): Likewise. | |
5830 | (SYMBOL_64_HIGH, SYMBOL_64_MID, SYMBOL_64_LOW): New symbol types. | |
5831 | (mips_unspec_address): Declare. | |
5832 | (mips_gotoff_page, mips_gotoff_global): Delete. | |
5833 | * config/mips/mips.h (PREDICATE_CODES): Add general_symbolic_operand. | |
5834 | * config/mips/mips.c (enum mips_symbol_type, NUM_SYMBOL_TYPES): Delete. | |
5835 | (mips_symbolic_constant_p, mips_symbolic_address_p) | |
5836 | (mips_symbol_insns): Handle new symbol types. | |
5837 | (general_symbolic_operand): New predicate. | |
5838 | (mips_unspec_address): Make extern. | |
5839 | (mips_gotoff_page, mips_gotoff_global): Delete. | |
5840 | (override_options): Allow -mabi=64 -mno-abicalls -mexplicit-relocs. | |
5841 | Handle new symbol types. | |
5842 | * config/mips/mips.md (*lea_high64, *lea64): New patterns. | |
5843 | (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_disp[sd]i): Call | |
5844 | mips_unspec_address directly. | |
5845 | * doc/invoke.texi: Remove the -mabi=64 -mno-abicalls exception from | |
5846 | the documentation of -mexplicit-relocs. | |
5847 | ||
9bf793f9 JL |
5848 | 2004-03-01 Jeff Law <law@redhat.com> |
5849 | ||
5850 | * fold-const.c (fold): An equality comparison of a non-weak object | |
5851 | against zero has a known result. Similarly an equality comparison | |
5852 | of the address of two non-weak, unaliased symbols has a known result. | |
91e01231 | 5853 | |
9bf793f9 JL |
5854 | * ggc-page.c (struct page_entry): New field PREV. |
5855 | (ggc_alloc): Update PREV field appropriately. | |
5856 | (sweep_pages): Likewise. | |
5857 | (ggc_free): Likewise. Use PREV field rather than loop to | |
5858 | improve ggc_free performance. | |
91e01231 | 5859 | |
c9e0ce37 RS |
5860 | 2004-03-01 Richard Sandiford <rsandifo@redhat.com> |
5861 | ||
5862 | * config/mips/mips.c (mips_output_division): Use the division | |
5863 | instruction to fill the delay slot of a zero check. | |
5864 | (mips_idiv_insns): Adjust accordingly. | |
5865 | ||
65d151a7 NN |
5866 | 2004-03-01 Nathanael Nerode <neroden@gcc.gnu.org> |
5867 | ||
5868 | * config.gcc: Create a default tmake_file for linux, and use | |
5869 | it in all but two linux clauses. Comment those two. | |
5870 | ||
9a5a17f3 PB |
5871 | 2004-03-01 Paolo Bonzini <bonzini@gnu.org> |
5872 | ||
5873 | * combine.c (try_combine): Do not refer to is_replaced. | |
5874 | (gen_lowpart_for_combine): Perverse subregs now have a | |
5875 | more politically correct name. | |
5876 | * cse.c (cse_insn): Likewise. | |
5877 | * jump.c: Fix bogus reference to delete_insn. | |
5878 | ||
c5b6f18e MM |
5879 | 2004-02-29 Mark Mitchell <mark@codesourcery.com> |
5880 | ||
5bb2ed2c MM |
5881 | PR debug/14328 |
5882 | * dwarf2out.c (gen_enumeration_type_die): Output all enumeration | |
5883 | constants as signed values. | |
5884 | ||
c5b6f18e MM |
5885 | PR middle-end/13448 |
5886 | * c-tree.h (readonly_warning): Rename to ... | |
5887 | (readonly_error): ... this. | |
5888 | * c-typeck.c (build_unary_op): Adjust accordingly. | |
5889 | (readonly_warning): Rename to ... | |
5890 | (readonly_error): ... this and issue errors, not warnings. | |
5891 | (build_modify_expr): Call readonly_error, not readonly_warning. | |
5892 | (c_expand_asm_operands): Likewise. | |
5893 | * tree-inline.c (optimize_inline_calls): Do not inline functions | |
5894 | after errors have occurred. | |
5895 | ||
8bb915b6 NN |
5896 | 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org> |
5897 | ||
5898 | * configure.ac: Rearrange some threading code for clarity; | |
5899 | add section comment. | |
5900 | * configure: Regenerate. | |
5901 | ||
4ee31f1e KH |
5902 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
5903 | ||
5904 | * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment | |
5905 | typos. | |
5906 | * doc/cppopts.texi: Fix a typo. | |
5907 | ||
15ec19b9 KH |
5908 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
5909 | ||
5910 | * config/i386/i386.md: Fix formatting. | |
5911 | ||
cbff2c1c NN |
5912 | 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org> |
5913 | ||
630327c3 NN |
5914 | * configure.ac: Add some comments delineating sections of code. |
5915 | ||
38fe9090 NN |
5916 | * doc/install.texi: Note that libada uses autoconf 2.57 also. |
5917 | ||
42fce956 NN |
5918 | * doc/install.texi: Fix idiot typo in previous commit. |
5919 | ||
cbff2c1c NN |
5920 | * doc/install.texi: Update for conversion of intl to autoconf 2.57. |
5921 | ||
c8574b54 KH |
5922 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
5923 | ||
5924 | * config/h8300/h8300.md: Add comments about peephole2's. | |
5925 | ||
2f537af9 KH |
5926 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
5927 | ||
5928 | * config/h8300/h8300.md: Tweak operand numbers of some | |
5929 | peephole2's. | |
5930 | ||
a207f649 KH |
5931 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
5932 | ||
5933 | * config/h8300/h8300.md: Tweak comments about peephole2's. | |
5934 | ||
bc41842b RS |
5935 | 2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl> |
5936 | ||
5937 | PR middle-end/14203 | |
5938 | * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P | |
5939 | instead of testing whether DECL_RTL is not NULL. | |
5940 | ||
832a3292 KH |
5941 | 2004-02-28 Kazu Hirata <kazu@cs.umass.edu> |
5942 | ||
5943 | * config/sh/sh.c: Fix formatting. | |
5944 | ||
508ea1c5 KH |
5945 | 2004-02-28 Kazu Hirata <kazu@cs.umass.edu> |
5946 | ||
5947 | * config/sh/sh.c: Convert to ISO-C. | |
5948 | ||
dd833c7b | 5949 | 2004-02-28 Andrew Pinski <pinskia@physics.uc.edu> |
91e01231 | 5950 | |
8cd6bdd1 AP |
5951 | * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in |
5952 | my previous patch. | |
dd833c7b AP |
5953 | |
5954 | * config/darwin.h (machopic_finish): Output stub even if the | |
5955 | symbol is already defined. | |
5956 | ||
5f190838 JDA |
5957 | 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5958 | ||
5959 | * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg. | |
5960 | ||
c1a41c2f KH |
5961 | 2004-02-28 Kazu Hirata <kazu@cs.umass.edu> |
5962 | ||
5963 | * genattr.c (main): Don't define | |
5964 | TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE. | |
5965 | * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison. | |
5966 | (DFA_PIPELINE_INTERFACE): Likewise. | |
5967 | * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove. | |
5968 | (DFA_PIPELINE_INTERFACE): Likewise. | |
5969 | ||
757f9053 RS |
5970 | 2004-02-28 Richard Sandiford <rsandifo@redhat.com> |
5971 | ||
5972 | * config/mips/mips.md (tstsi, tstdi): Delete. | |
5973 | ||
23cf6987 MR |
5974 | 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
5975 | ||
91e01231 | 5976 | * config/mips/mips.c (override_options): Remove an obsolete |
23cf6987 MR |
5977 | duplicate definition of the "e" constraint. |
5978 | * config/mips/mips.h: Update a comment accordingly. | |
5979 | ||
bddbfe5f MR |
5980 | 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
5981 | ||
5982 | * config/mips/mips.md: Complete the unfinished R4000 | |
5983 | multiply/shift errata workaround. Improve documentation. | |
5984 | (hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction | |
5985 | has a hilo hazard. | |
5986 | (mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000. | |
5987 | (muldi3, muldi3_internal): Likewise. | |
5988 | (muldi3_internal2): Remove, replacing with... | |
5989 | (muldi3_mult3, muldi3_r4000): ...these new patterns. | |
5990 | (mulsidi3): Take the errata into account. | |
5991 | (mulsidi3_32bit): Remove, replacing with... | |
5992 | (mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns. | |
5993 | (mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000. | |
5994 | (umulsidi3): Take the errata into account. | |
5995 | (umulsidi3_32bit): Remove, replacing with.. | |
5996 | (umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns. | |
5997 | (umulsi3_highpart, umulsi3_highpart_internal): Disable if | |
5998 | TARGET_FIX_R4000. | |
5999 | (smulsi3_highpart, smulsi3_highpart_internal): Likewise. | |
6000 | (smuldi3_highpart, umuldi3_highpart): Likewise. | |
6001 | * doc/invoke.texi: Document the errata workaround. | |
6002 | ||
46490403 MR |
6003 | 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
6004 | ||
6005 | * config/mips/mips-protos.h (mips_idiv_insns): Declare. | |
6006 | * config/mips/mips.h (MASK_FIX_SB1): Bump. | |
6007 | (MASK_FIX_R4000, TARGET_FIX_R4000): New macros. | |
6008 | (TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000. | |
6009 | * config/mips/mips.c (mips_idiv_insns): New function. | |
6010 | (override_options): Make -march=r4000 imply -mfix-r4000 by default. | |
6011 | (mips_output_division): Add a workaround for the R4000 divide/shift | |
6012 | errata. | |
6013 | * config/mips/mips.md (length): Use mips_idiv_insns() to calculate | |
6014 | the length of an "idiv" instruction. | |
6015 | * doc/invoke.texi: Document the new switches. | |
6016 | ||
1b2c3767 KH |
6017 | 2004-02-28 Kazu Hirata <kazu@cs.umass.edu> |
6018 | ||
6019 | * doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to | |
6020 | TARGET_SCHED_IS_COSTLY_DEPENDENCE. | |
6021 | ||
79771cc4 ZD |
6022 | 2004-02-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6023 | ||
6024 | PR optimization/14229 | |
6025 | * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump. | |
6026 | ||
68a1a5da EB |
6027 | 2004-02-28 Eric Botcazou <ebotcazou@act-europe.fr> |
6028 | ||
6029 | * fold-const.c (fold): Strip NOPs that change the signedness | |
6030 | for RSHIFT too. Expand comment. | |
6031 | ||
a10016d3 ILT |
6032 | 2004-02-27 Ian Lance Taylor <ian@wasabisystems.com> |
6033 | ||
6034 | PR optimization/7871 | |
6035 | * flow.c (mark_set_1): Don't add LOG_LINKS for global registers | |
68a1a5da | 6036 | from or to call insns. |
a10016d3 ILT |
6037 | |
6038 | 2004-02-27 Eric Botcazou <ebotcazou@libertysurf.fr> | |
6039 | ||
6040 | PR optimization/7871 | |
6041 | * flow.c (propagate_one_insn): Interpret calls as setting global | |
6042 | registers, not merely clobbering them. | |
6043 | ||
b30e1617 | 6044 | 2004-02-27 Dale Johannesen <dalej@apple.com> |
a10016d3 | 6045 | |
b30e1617 DJ |
6046 | * config/darwin.c (machopic_output_possible_stub_label): Remove. |
6047 | config/darwin-protos.h: Ditto. | |
6048 | config/darwin.h: Remove call to it. | |
6049 | * combine.c (distribute_notes): Do not place a REG_DEAD note | |
6050 | when value is both set and used. | |
6051 | ||
bbc51dc2 KH |
6052 | 2004-02-27 Kazu Hirata <kazu@cs.umass.edu> |
6053 | ||
6054 | * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300 | |
6055 | as well. | |
6056 | * config/h8300/lib1funcs.asm (___fixunssfsi): Remove. | |
6057 | * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm. | |
6058 | ||
dedbabed AP |
6059 | 2004-02-27 Andrew Pinski <apinski@apple.com> |
6060 | ||
6061 | * c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>: | |
6062 | Speedup common case of the type values being in the same order. | |
6063 | ||
b6b979d4 SE |
6064 | 2004-02-27 Steve Ellcey <sje@cup.hp.com> |
6065 | ||
6066 | * config/ia64/ia64.h (no-inline-float-divide): New option. | |
6067 | * config/ia64/ia64.h (no-inline-int-divide): New option. | |
6068 | * config/ia64/ia64.h (no-inline-sqrt): New option. | |
6069 | (TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define. | |
6070 | * config/ia64/hpux.h (TARGET_DEFAULT): Ditto. | |
6071 | * config/ia64/ia64.c (ia64_override_options): Modify error | |
6072 | checking for inlined division/sqrt. | |
6073 | ||
88462c42 KH |
6074 | 2004-02-27 Kazu Hirata <kazu@cs.umass.edu> |
6075 | ||
6076 | * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c, | |
6077 | ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c, | |
6078 | value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h, | |
6079 | config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update | |
6080 | copyright. | |
6081 | ||
53c428d0 PB |
6082 | 2004-02-27 Paul Brook <paul@codesourcery.com> |
6083 | ||
6084 | * function.c (assign_parms): Don't count pretend args for alignment. | |
6085 | ||
f6db1481 RH |
6086 | 2004-02-27 Richard Henderson <rth@redhat.com> |
6087 | ||
6088 | * passes.c: New file. | |
6089 | * Makefile.in (OBJS-common): Add it. | |
6090 | * diagnostic.c (rtl_dump_and_exit): Move decl ... | |
6091 | * flags.h (rtl_dump_and_exit): ... here. | |
91e01231 | 6092 | * output.h (size_directive_output, last_assemble_variable_decl): |
f6db1481 RH |
6093 | Move from toplev.c. |
6094 | * rtl.h (reg_alloc): Move from toplev.c. | |
6095 | * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT, | |
6096 | struct dump_file_info, enum dump_file_index, dump_file_tbl, | |
6097 | open_dump_file, close_dump_file, rest_of_decl_compilation, | |
6098 | rest_of_type_compilation, rest_of_handle_final, | |
91e01231 | 6099 | rest_of_handle_delay_slots, rest_of_handle_stack_regs, |
f6db1481 RH |
6100 | rest_of_handle_variable_tracking, rest_of_handle_machine_reorg, |
6101 | rest_of_handle_new_regalloc, rest_of_handle_old_regalloc, | |
6102 | rest_of_handle_regrename, rest_of_handle_reorder_blocks, | |
6103 | rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove, | |
91e01231 | 6104 | rest_of_handle_tracer, rest_of_handle_if_conversion, |
f6db1481 RH |
6105 | rest_of_handle_if_after_combine, rest_of_handle_web, |
6106 | rest_of_handle_branch_prob, | |
6107 | rest_of_handle_value_profile_transformations, rest_of_handle_cfg, | |
91e01231 | 6108 | rest_of_handle_addressof, rest_of_handle_sibling_calls, |
f6db1481 RH |
6109 | rest_of_handle_jump_bypass, rest_of_handle_inlining, |
6110 | rest_of_handle_null_pointer, rest_of_handle_combine, | |
6111 | rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2, | |
91e01231 | 6112 | rest_of_handle_gcse, rest_of_handle_loop_optimize, |
f6db1481 RH |
6113 | rest_of_handle_loop2, rest_of_compilation): Move to passes.c. |
6114 | (decode_d_option): Use enable_rtl_dump_file. | |
6115 | (compile_file, finalize, do_compile): Move profile+combine+graph | |
6116 | cleanup to finish_optimization_passes. | |
6117 | * toplev.h (init_optimization_passes, finish_optimization_passes, | |
6118 | enable_rtl_dump_file): Declare. | |
6119 | ||
288dc1ea | 6120 | 2004-02-27 Eric Botcazou <ebotcazou@act-europe.fr> |
3205a71e | 6121 | Roger Sayle <roger@eyesopen.com> |
288dc1ea EB |
6122 | |
6123 | * fold-const.c (fold): Revert 2004-02-25 change. Use the original | |
6124 | operands to build a tree with swapped operands. | |
6125 | * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the | |
6126 | 'unsignedp' predicate to specify the signedness. | |
6127 | ||
a1105617 KH |
6128 | 2004-02-27 Kazu Hirata <kazu@cs.umass.edu> |
6129 | ||
6130 | * c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c, | |
6131 | expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c, | |
6132 | params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix | |
6133 | comment typos and formatting. Follow spelling conventions. | |
6134 | ||
d095928f AH |
6135 | 2004-02-26 Aldy Hernandez <aldyh@redhat.com> |
6136 | ||
6137 | * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and | |
6138 | fix_truncsfsi2. | |
6139 | ||
6140 | * config/rs6000/spe.md: Delete spe_efsctuiz. | |
6141 | Add spe_fixuns_truncsfsi2. | |
6142 | Add spe_fix_truncsfsi2. | |
91e01231 | 6143 | |
21526606 EC |
6144 | 2004-02-26 Eric Christopher <echristo@redhat.com> |
6145 | ||
6146 | * c-lex.c (c_lex_string_translate): New variable. | |
6147 | (lex_string): Use to determine string translation. | |
6148 | * c-pragma.h: Prototype. | |
6149 | * c-parse.in (start_string_translation): New. Set above. | |
6150 | (stop_string_translation): Ditto. | |
6151 | (attribute, attribute_list, asm_def, asm_stmt, | |
6152 | asm_operand): Use above functions. | |
6153 | * cp/parser.c (cp_parser_declaration): Translate strings | |
6154 | unless token is RID_EXTERN. Set c_lex_string_translate | |
6155 | for recursive use. | |
6156 | (cp_parser_asm_definition): Only translate argument strings | |
6157 | to asms. | |
6158 | (cp_parser_asm_operand_list): Ditto. | |
6159 | (cp_parser_attribute_list): Do not translate attribute strings. | |
6160 | ||
e8eebd31 KH |
6161 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
6162 | ||
6163 | * stmt.c (expand_start_case_dummy): Remove. | |
6164 | * tree.h: Remove the corresponding prototype. | |
6165 | ||
8f2de5f1 KH |
6166 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
6167 | ||
6168 | * builtins.c (apply_args_register_offset): Remove. | |
6169 | * tree.h: Remove the corresponding prototype. | |
6170 | ||
c7924937 KH |
6171 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
6172 | ||
6173 | * stor-layout.c (is_pending_size): Remove. | |
6174 | * tree.h: Remove the corresponding prototype. | |
6175 | ||
ca0afc29 KH |
6176 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
6177 | ||
6178 | * recog.c (validate_replace_src): Remove. | |
6179 | * recog.h: Remove the corresponding prototype. | |
6180 | ||
6c5caf00 KH |
6181 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
6182 | ||
6183 | * calls.c: Don't reference FINAL_REG_PARM_STACK_SPACE or | |
6184 | MAYBE_REG_PARM_STACK_SPACE. | |
6185 | * function.c: Likewise. | |
6186 | * system.h (FINAL_REG_PARM_STACK_SPACE): Poison. | |
6187 | (MAYBE_REG_PARM_STACK_SPACE): Likewise. | |
6188 | * doc/tm.texi (FINAL_REG_PARM_STACK_SPACE): Remove. | |
6189 | (MAYBE_REG_PARM_STACK_SPACE): Likewise. | |
6190 | ||
17fd9cb9 KH |
6191 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
6192 | ||
6193 | * c-decl.c (c_expand_deferred_function): Remove. | |
6194 | * c-tree.h: Remove the corresponding prototype. | |
6195 | ||
ec5de8d8 KH |
6196 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
6197 | ||
6198 | * postreload.c (reload_cse_move2add): Generate just a PLUS | |
6199 | instead of an entire SET. | |
6200 | ||
5bbeea44 JH |
6201 | 2004-02-26 Jan Hubicka <jh@suse.cz> |
6202 | ||
6203 | * config.gcc: Add support for nocoma/prescott/pentium-m/pentium3m | |
6204 | /pentium4m. | |
6205 | * i386.c (override_options): Add support for new CPUs. | |
6206 | * i386.h (TARGET_CPU_DEFAULT_NAMES): New names. | |
6207 | (TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_pentium4e): New | |
6208 | constants. | |
6209 | * invoke.texi: Extend documentation of -mtune/-march for new CPUs. | |
6210 | ||
48c0150c BW |
6211 | 2004-02-26 Bob Wilson <bob.wilson@acm.org> |
6212 | ||
6213 | * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__. | |
6214 | ||
b178305d EB |
6215 | 2004-02-26 Eric Botcazou <ebotcazou@act-europe.fr> |
6216 | ||
6217 | * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'. | |
6218 | (sparc_emit_fixunsdi): New prototype. | |
6219 | * config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument. | |
6220 | (sparc_emit_fixunsdi): New function. | |
6221 | * config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for | |
6222 | operand 1. Pass SFmode to sparc_emit_floatunsdi. | |
6223 | (floatunsdidf2): Use 'general_operand' for operand 1. Pass DFmode | |
6224 | to sparc_emit_floatunsdi. | |
6225 | (fixuns_truncsfdi2): New expander. | |
6226 | (fixuns_truncdfdi2): Likewise. | |
6227 | ||
fb643f64 AM |
6228 | 2004-02-26 Alan Modra <amodra@bigpond.net.au> |
6229 | ||
6230 | * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter | |
6231 | unless HAVE_cc0. | |
6232 | ||
4a4f95d9 RH |
6233 | 2004-02-25 Richard Henderson <rth@redhat.com> |
6234 | ||
6235 | * explow.c (force_reg): Call mark_reg_pointer as appropriate. | |
6236 | * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't | |
6237 | use (op0-op1) == 0 if op0 is a pointer. | |
6238 | * config/alpha/alpha.md (cmpdi): Use some_operand. | |
6239 | (three comparison combine splits): Remove. | |
6240 | ||
f6a76b9f RH |
6241 | 2004-02-25 Richard Henderson <rth@redhat.com> |
6242 | ||
0d593f31 | 6243 | PR c/12794 |
f6a76b9f RH |
6244 | * c-common.c (handle_alias_attribute): Reject the attribute if |
6245 | current_function_decl is set. | |
6246 | ||
30500d84 KC |
6247 | 2004-02-25 Kelley Cook <kcook@gcc.gnu.org> |
6248 | ||
6249 | * config.gcc: Add comment describing extra_gcc_objs. | |
6250 | i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs. | |
6251 | * configure.ac (extra_gcc_objs): New substitution variable. | |
6252 | (host_extra_gcc_objs): Don't substitute. | |
6253 | * configure: Regenerate. | |
6254 | * Makefile.in: Use extra_gcc_objs. | |
6255 | ||
ed80fa2e KC |
6256 | 2004-02-25 Kelley Cook <kcook@gcc.gnu.org> |
6257 | ||
6258 | * doc/contrib.texi: Add an entry for myself. | |
6259 | ||
12c3874e JH |
6260 | 2004-02-25 Jan Hubicka <jh@suse.cz> |
6261 | ||
6262 | * basic-block.h (make_eh_edge, break_superblocks): Declare. | |
6263 | * cfgbuild.c (make_eh_edge): Make global. | |
6264 | * cfglayout.c (break_superblocks): Likewise; fix memory leak. | |
6265 | * except.c (build_post_landing_pads, connect_post_landing_pads, | |
6266 | dw2_build_landing_pads, sjlj_emit_function_enter, | |
21526606 | 6267 | sjlj_emit_function_exit, sjlj_emit_dispatch_table, |
12c3874e JH |
6268 | sjlj_build_landing_pads): Update CFG. |
6269 | (emit_to_new_bb_before): New function. | |
6270 | (finish_eh_generation): Do not rebuild the CFG. | |
6271 | ||
7b79fe71 JDA |
6272 | 2004-02-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6273 | ||
6274 | * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all | |
6275 | target_cpu_default defines. | |
6276 | * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define. | |
6277 | * pa.h (TARGET_DEFAULT): Likewise. | |
6278 | ||
81fbecac EB |
6279 | 2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr> |
6280 | ||
6281 | * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like | |
6282 | comparisons with regard to signedness. | |
6283 | ||
6f5b4f3e RE |
6284 | 2004-02-25 Richard Earnshaw <rearnsha@arm.com> |
6285 | ||
6286 | * arm.c (thumb_legitimize_address): New function. | |
6287 | * arm-protos.h: Prototype it. | |
6288 | * arm.h (THUMB_LEGITIMIZE_ADDRESS): Define. | |
6289 | (LEGITIMIZE_ADDRESS): Use it. | |
6290 | ||
4ab51fb5 R |
6291 | 2004-02-25 J"orn Rennecke <joern.rennecke@superh.com> |
6292 | ||
6293 | * reload1.c (reload): Only spill eliminable register with multiple | |
6294 | adjacent elimination alternatives if all alternatives fail. | |
6295 | ||
e1471c91 RE |
6296 | 2004-02-25 Richard Earnshaw <rearnsha@arm.com> |
6297 | ||
6298 | * arm.c (arm_legitimate_index_p): For QImode the range of an offset | |
6299 | is -4095...+4095 inclusive. | |
6300 | ||
94b18ec1 EB |
6301 | 2004-02-25 Eric Botcazou <ebotcazou@libertysurf.fr> |
6302 | ||
6303 | * doc/install.texi (sparc-sun-solaris2* specific notes): Document | |
6304 | the bootstrap failure with Sun CC 5.4 and 5.5. | |
6305 | ||
2e802a6f KH |
6306 | 2004-02-24 Kazu Hirata <kazu@cs.umass.edu> |
6307 | ||
6308 | * cse.c (cse_change_cc_mode_insns): Stop at any instruction | |
6309 | which modifies NEWREG. | |
6310 | (cse_condition_code_reg): Update the mode of CC_REG in | |
6311 | CC_SRC_INSN on our own. | |
6312 | ||
89ab2b79 MM |
6313 | 2004-02-24 Michael Matz <matz@suse.de> |
6314 | ||
6315 | * config/i386/i386.c (ix86_comp_type_attributes): Check for | |
6316 | regparm attributes. | |
6317 | ||
c263766c RH |
6318 | 2004-02-24 Richard Henderson <rth@redhat.com> |
6319 | ||
6320 | * toplev.c (dump_file_tbl): Rename from dump_file. | |
6321 | * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c, | |
c53bdcf5 | 6322 | cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c, |
c263766c RH |
6323 | config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c, |
6324 | config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c, | |
6325 | loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c, | |
6326 | ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c, | |
6327 | toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c: | |
6328 | s/rtl_dump_file/dump_file/g. | |
6329 | ||
dba2921d AH |
6330 | 2004-02-24 Aldy Hernandez <aldyh@redhat.com> |
6331 | ||
3205a71e ZW |
6332 | * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete. |
6333 | (spe_fixuns_truncsfsi2): Delete. | |
dba2921d | 6334 | |
3205a71e ZW |
6335 | * config/rs6000/rs6000.md (fix_truncsfsi2): Delete. |
6336 | (fixuns_truncsfsi2): Delete. | |
dba2921d | 6337 | |
173cd571 JZ |
6338 | 2004-02-24 Josef Zlomek <zlomekj@suse.cz> |
6339 | ||
6340 | PR/14240 | |
6341 | * rtlanal.c (replace_label): Fix replacing labels in constant pool. | |
6342 | ||
8db4d7a1 GK |
6343 | 2004-02-24 Geoffrey Keating <geoffk@apple.com> |
6344 | ||
6345 | * config/darwin.h (TARGET_HAS_F_SETLKW): Define. | |
6346 | ||
896c3aa3 JM |
6347 | 2004-02-24 Jason Merrill <jason@redhat.com> |
6348 | ||
6349 | * tree.c (check_qualified_type): New fn. | |
6350 | (get_qualified_type): Use it. If type already has the desired | |
6351 | quals, just return it. | |
6352 | * tree.h: Declare it. | |
896c3aa3 | 6353 | |
58565a33 SKG |
6354 | 2003-02-24 Sanjiv Kumar Gupta <sanjivg@noida.hcltech.com> |
6355 | ||
6356 | * target-def.h (TARGET_SCHED_INIT_GLOBAL, | |
6357 | TARGET_SCHED_FINISH_GLOBAL): New macros. | |
6358 | ||
6359 | * target.h (md_init_global, md_finish_global): Function | |
6360 | declarations corresponding to new target macros. | |
6361 | ||
6362 | * haifa-sched.c (sched_init, sched_finish): Allow target to | |
6363 | call the new schedular hooks. | |
6364 | ||
6365 | * flow.c (recompute_reg_usage): Add PROP_DEATH_NOTES flag in | |
6366 | call to update_life_info. | |
6367 | ||
6368 | * config/sh/sh.h (OVERRIDE_OPTIONS): Re-enable | |
6369 | flag_schedule_insns for SH4. | |
6370 | ||
6371 | * config/sh/sh.c (sh_md_init_global, sh_md_finish_global, | |
6372 | find_set_regmode_weight, find_insn_regmode_weight, | |
6373 | find_regmode_weight), sh_md_init, sh_dfa_new_cycle, | |
6374 | sh_variable_issue, high_pressure, ready_reorder, | |
6375 | rank_for_reorder, swap_reorder, sh_reorder, sh_reorder2): New | |
6376 | functions used to throttle the insn movement in first | |
6377 | scheduling pass for SH. | |
6378 | ||
6379 | * gcc/doc/tm.texi: Document TARGET_SCHED_INIT_GLOBAL and | |
6380 | TARGET_SCHED_FINISH_GLOBAL. | |
6381 | ||
34208acf AO |
6382 | 2004-02-24 Alexandre Oliva <aoliva@redhat.com> |
6383 | ||
6384 | Implement FR-V FDPIC ABI support for frv-uclinux and frv-linux. | |
6385 | 2004-02-05 Alexandre Oliva <aoliva@redhat.com> | |
6386 | * config/frv/frv.c (frv_emit_movsi): Use GOT relocations for | |
6387 | symbols in sections named by the user. | |
6388 | 2004-01-30 Alexandre Oliva <aoliva@redhat.com> | |
6389 | * config/frv/linux.h (TARGET_OS_CPP_BUILTINS): New. | |
6390 | 2004-01-27 Alexandre Oliva <aoliva@redhat.com> | |
6391 | * config.gcc (frv-*-*linux*): Handle like *-*-linux*. | |
6392 | * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove, obviated by | |
6393 | the above. | |
6394 | 2004-01-20 Alexandre Oliva <aoliva@redhat.com> | |
6395 | * config/frv/frv.md (symGOT2reg_hilo, symGOTOFF2reg_hilo): Add | |
6396 | one more pseudo to further improve code generation. | |
6397 | 2004-01-19 Alexandre Oliva <aoliva@redhat.com> | |
6398 | * config/frv/frv.md (movdi_ldd): Introduce explicit indirection | |
6399 | inside UNSPEC. | |
6400 | 2004-01-16 Alexandre Oliva <aoliva@redhat.com> | |
6401 | * config/frv/frv.c (frv_legitimate_address_p): Added | |
6402 | allow_double_reg_p argument. Adjust all callers. Use it to | |
6403 | decide whether to enable double-register indirect addressing. | |
6404 | (frv_funcdesc_alias_set): Remove. | |
6405 | (frv_expand_fdpic_call): Force non-SYMBOL_REF operand into | |
6406 | register. Emit movdi_ldd. | |
6407 | (ldd_address_operand): New. | |
6408 | * config/frv/frv-protos.h (frv_legitimate_address_p): Adjust. | |
6409 | * config/frv/frv.h (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
6410 | (PREDICATE_CODES): Add ldd_address_operand. | |
6411 | * config/frv/frv.md (movdi_ldd): New. | |
6412 | (symGOT2reg_hilo, symGOTOFF2reg_hilo): Use separate pseudo for | |
6413 | intermediate computations if possible. | |
6414 | (symGOTOFF2reg_i): Fix harmless typo. | |
6415 | 2003-12-18 Alexandre Oliva <aoliva@redhat.com> | |
6416 | * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Cast | |
6417 | relocated p_vaddr to vaddr type. | |
6418 | * config/frv/frv-protos.h (frv_expand_fdpic_call): Return void. | |
6419 | * config/frv/frv.c (frv_get_funcdesc_alias_set): New. | |
6420 | (frv_expand_fdpic_call): Propagate incoming MEM's expr to funcdesc | |
6421 | MEM, or use a funcdesc alias set. Use regular move instead of | |
6422 | ldd. | |
6423 | (dbl_memory_one_insn_operand): Recognize function descriptors by | |
6424 | type or by alias set, and don't split them. | |
6425 | * config/frv/frv.md (call, call_value): Never use call_internal | |
6426 | for fdpic. | |
6427 | (call_internal, call_value_internal): Never match for FDPIC. | |
6428 | (call_fdpicdi, call_fdpicsi, call_value_fdpicdi, | |
6429 | call_value_fdpicsi): Require FDPIC. | |
6430 | (ldd): Removed. | |
6431 | 2003-12-17 Alexandre Oliva <aoliva@redhat.com> | |
6432 | * config/frv/frv.h (CRT_GET_RFIB_DATA): Define for __FRV_FDPIC__. | |
6433 | * unwind-dw2-fde-glibc.c: Don't include elf-fdpic.h any more. | |
6434 | (_Unwind_IteratePhdrCallback): Adjust type of load_base for FRV | |
6435 | FDPIC. Compute data base address. | |
6436 | * config/frv/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Enable -mfdpic | |
6437 | before the other self-specs are processed. | |
6438 | * config/frv/t-linux (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): | |
6439 | Build with -fPIC. | |
6440 | 2003-12-15 Alexandre Oliva <aoliva@redhat.com> | |
6441 | * unwind-dw2-fde-glibc.c: Don't include bits/elf-fdpic.h if | |
6442 | inhibit_libc is defined. | |
6443 | 2003-12-12 Alexandre Oliva <aoliva@redhat.com> | |
6444 | * unwind-dw2-fde-glibc.c: Include bits/elf-fdpic.h for | |
6445 | __FRV_FDPIC__. | |
6446 | (__RELOC_POINTER): Define. | |
6447 | (_Unwind_IteratePhdrCallback): Use it. | |
6448 | * config/frv/frv.h (Twrite): Define. | |
6449 | (TRANSFER_FROM_TRAMPOLINE): Use it. | |
6450 | * config/frv/linux.h (INVOKE__main): Undefine. | |
6451 | (Twrite): Override. | |
6452 | 2003-12-05 Richard Sandiford <rsandifo@redhat.com> | |
6453 | * doc/invoke.texi (-mlong-calls, -mlinked-fp): Document FRV options. | |
6454 | (-mlibrary-pic): Emphasize that this option generates EABI code. | |
6455 | (-mcpu): Add fr550. | |
6456 | (-mpack): Remove. | |
6457 | 2003-11-30 Alexandre Oliva <aoliva@redhat.com> | |
6458 | * config/frv/frv.c (int_2word_operand): Reject LABELs, SYMBOL_REFs | |
6459 | and CONSTs in FDPIC mode. | |
6460 | * gcc/config.gcc (with_cpu): Default to fr400 on frv-*-*linux*. | |
6461 | 2003-11-29 Richard Sandiford <rsandifo@redhat.com> | |
6462 | * config/frv/frv.c (move_source_operand): Don't accept symbolic | |
6463 | constants. | |
6464 | * config/frv/frv.md (*movhi_internal, *movsi_internal): Use an 'n' | |
6465 | rather than 'i' constraint for the 2-instruction alternative. | |
6466 | (*movsi_2word): New, incorporating existing int_2word_operand splitter. | |
6467 | 2003-11-29 Richard Sandiford <rsandifo@redhat.com> | |
6468 | * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Q): Renamed from | |
6469 | EXTRA_CONSTRAINT_FOR_Y. | |
6470 | (EXTRA_CONSTRAINT): Remove handling of 'Y'. | |
6471 | * config/frv/frv.md (*movsi_internal): Remove 'Q' constraint. | |
6472 | (addsi3): Change 'Y' constraint to 'Q'. | |
6473 | 2003-11-27 Richard Sandiford <rsandifo@redhat.com> | |
6474 | * reload.c (CONST_POOL_OK_P): New macro. | |
6475 | (find_reloads): Use it to decide whether a constant can be forced | |
6476 | into memory. | |
6477 | * config/frv/frv.h (LEGITIMATE_PIC_OPERAND_P): Return true if the | |
6478 | constant satisfies got12_operand. | |
6479 | (frv_cannot_force_const_mem): Always return true for TARGET_FDPIC. | |
6480 | (frv_legitimate_address_p): Check for valid unspec offsets using | |
6481 | got12_operand rather than frv_legitimate_fdpic_operand_p. | |
6482 | (frv_legitimate_fdpic_operand_p): Delete. | |
6483 | (frv_emit_movsi): Abort if we try to use the FDPIC register during | |
6484 | or after reload. | |
6485 | (frv_legitimate_constant_p): Return LEGITIMATE_PIC_OPERAND_P if | |
6486 | TARGET_FDPIC. | |
6487 | * config/frv/frv.md (*movdf_double): Add alternatives for CONST_DOUBLE. | |
6488 | 2003-11-19 Richard Sandiford <rsandifo@redhat.com> | |
6489 | * config/frv/frv-protos.h (fdpic_operand, fdpic_got12_operand) | |
6490 | (frv_fdpic_fptr_operand): Don't declare here. | |
6491 | * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Y): Call got12_operand | |
6492 | rather than fdpic_got12_operand. | |
6493 | (PREDICATE_CODES): Remove symbolic_operand entry. Add entries for | |
6494 | got12_operand and const_unspec_operand. | |
6495 | * config/frv/frv.c (got12_operand): Renamed from fdpic_got12_operand. | |
6496 | (gpr_or_int12_operand, dbl_memory_one_insn_operand): Update calls. | |
6497 | (symbolic_operand): Remove. | |
6498 | (const_unspec_operand): New predicate. | |
6499 | * config/frv/frv.md (*movsi_got): Use got12_operand. | |
6500 | (*movsi_high_got, *movsi_lo_sum_got): Use const_unspec_operand. | |
6501 | 2003-11-18 Richard Sandiford <rsandifo@redhat.com> | |
6502 | * config/frv/frv-protos.h (frv_output_addr_const_extra): Remove. | |
6503 | * config/frv/frv.h (OUTPUT_ADDR_CONST_EXTRA): Remove definition. | |
6504 | * config/frv/frv.c (frv_unspec): New structure. | |
6505 | (frv_small_data_reloc_p, frv_const_unspec_p): New functions. | |
6506 | (frv_print_operand_memory_reference): Use frv_const_unspec_p to | |
6507 | validate CONST indices. Use frv_output_const_unspec to print them. | |
6508 | (frv_print_operand): Update call to unspec_got_name. Use | |
6509 | frv_output_const_unspec to print constant unspecs. | |
6510 | (frv_legitimate_fdpic_operand_p): Return true if frv_const_unspec_p. | |
6511 | Reject UNSPECs otherwise. | |
6512 | (unspec_got_name): Take the relocation number as argument, not an | |
6513 | rtx containing it. | |
6514 | (frv_output_addr_const_extra): Remove, replacing with... | |
6515 | (frv_output_const_unspec): ...this new function. | |
6516 | (frv_find_base_term): Use frv_const_unspec_p & frv_small_data_reloc_p. | |
6517 | (gpr_or_int12_operand): Use fdpic_got12_operand. | |
6518 | (dbl_memory_one_insn_operand): Likewise. | |
6519 | (fdpic_got12_operand): Use frv_const_unspec_p. | |
6520 | (frv_emit_movsi): Use frv_const_unspec_p to check for CONSTs that | |
6521 | are already legitimate. Use frv_small_data_reloc_p when deciding | |
6522 | whether to use HIGH/LO_SUM for R_FRV_GOTOFF12 and R_FRV_GPREL12. | |
6523 | 2003-11-18 Alexandre Oliva <aoliva@redhat.com> | |
6524 | * config/frv/t-linux (SHLIB_MAPFILES): Override so as to export... | |
6525 | * config/frv/libgcc-frv.ver: ... frv-specific symbols. New file. | |
6526 | * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local | |
6527 | label, for real this time. | |
6528 | * config/frv/frv.c (frv_local_funcdesc_p): Update to new | |
6529 | representation of visibility. | |
6530 | (fdpic_got12_operand, symbolic_operand): Mark unused arguments as | |
6531 | such. | |
6532 | 2003-11-17 Richard Sandiford <rsandifo@redhat.com> | |
6533 | * config/frv/frv.h (MASK_LINKED_FP, TARGET_LINKED_FP): New macros. | |
6534 | (TARGET_SWITCHES): Add -mlinked-fp and -mno-linked-fp. | |
6535 | * config/frv/frv.c (frv_override_options): Set MASK_LINKED_FP unless | |
6536 | it was explicitly disabled. | |
6537 | (frv_stack_info): There is no need to save the link register in every | |
6538 | frame unless TARGET_LINKED_FP is true. | |
6539 | (frv_frame_pointer_required): If !TARGET_LINKED_FP, only require a | |
6540 | frame pointer if the stack pointer might change value. | |
6541 | (frv_return_addr_rtx): Check and process "count" argument. | |
6542 | 2003-11-14 Richard Sandiford <rsandifo@redhat.com> | |
6543 | * config/frv/frv-protos.h (frv_legitimize_address): Remove. | |
6544 | (frv_find_base_term): Declare. | |
6545 | * config/frv/frv.h (LEGITIMIZE_ADDRESS): Do nothing. | |
6546 | (FIND_BASE_TERM): Define. | |
6547 | (PREDICATE_CODES): Remove pic_register_operand, pic_symbolic_operand, | |
6548 | small_data_register_operand, small_data_symbolic_operand. Add | |
6549 | symbolic_operand. | |
6550 | * config/frv/frv.c (const_small_data_p, plus_small_data_p): Delete. | |
6551 | (frv_print_operand_memory_reference, output_move_single): Remove | |
6552 | special handling for unlegitimized sdata addresses. | |
6553 | (frv_legitimate_address_p): Don't allow sums of SDA_BASE_REG | |
6554 | and symbolic addresses. | |
6555 | (frv_legitimize_address, frv_legitimize_fdpic_address): Delete. | |
6556 | (frv_find_base_term): New function. | |
6557 | (int_2word_operand): Check specifically for symbolic address constants. | |
6558 | (pic_register_operand, pic_symbolic_operand): Delete. | |
6559 | (small_data_register_operand, small_data_symbolic_operand): Delete. | |
6560 | (dbl_memory_one_insn_operand): Don't call plus_small_data_p. | |
6561 | Allow UNSPEC_GOT constants if !TARGET_FDPIC. | |
6562 | (move_source_operand): Only accept CONSTs if they're a two-insn | |
6563 | symbolic constant. | |
6564 | (fdpic_got12_operand): Don't require TARGET_FDPIC. | |
6565 | (frv_emit_movsi): Legitimize sdata and -mlibrary-pic addresses | |
6566 | using gen_symGOTOFF2reg*. | |
6567 | (frv_ifcvt_rewrite_mem): Remove (plus gr16 ...) special cases. | |
6568 | (frv_rtx_costs): Give all MEM addresses a cost of 0. Give MEMs | |
6569 | themselves a cost of 3 insns. | |
6570 | * config/mips/mips.md (*movsi_got): Allow for !TARGET_FDPIC too. | |
6571 | Change predicate to symbolic_operand. | |
6572 | (*movsi_high_got, *movsi_lo_sum_got): Likewise. | |
6573 | (*movsi_lda_sdata): Delete. | |
6574 | (*movsi_pic, movsi_high_pic, movsi_lo_sum_pic): Delete. | |
6575 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> | |
6576 | * config.gcc: Add t-slibgcc-elf-ver and support --with-cpu for | |
6577 | frv-*-*linux*. | |
6578 | * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local | |
6579 | label. | |
6580 | * config/frv/frv.h (DRIVER_SELF_SPECS): Add blank before | |
6581 | -multilib-library-pic. | |
6582 | (LINK_SPEC): Add -z text for -mfdpic. | |
6583 | * config/frv/frvbegin.c (__ROFIXUP_LIST__): Don't define on FDPIC. | |
6584 | * config/frv/frvend.c (__ROFIXUP_END__): Likewise. | |
6585 | * config/frv/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): | |
6586 | Override. | |
6587 | (OPTION_DEFAULT_SPECS, HAS_INIT_SECTION, INIT_SECTION_ASM_OP, | |
6588 | FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Define. | |
6589 | * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Use | |
6590 | crtstuff-generated files. | |
6591 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> | |
6592 | * config.gcc: Add frv-*-*linux*. | |
6593 | * config/frv/linux.h, config/frv/t-linux: New. | |
6594 | 2003-10-06 Alexandre Oliva <aoliva@redhat.com> | |
6595 | * config/frv/frv.h (LINK_SPEC): Pass -melf32frvfd to the linker | |
6596 | when -mfdpic even if a linker script is explicitly listed. | |
6597 | 2003-10-02 Alexandre Oliva <aoliva@redhat.com> | |
6598 | * config/frv/frv.c (frv_override_options): Clear asm_out | |
6599 | unaligned_op for SImode on FDPIC. | |
6600 | (frv_emit_movsi): Use compute_reloc_for_constant to compute the | |
6601 | argument passed to decl_readonly_section. | |
6602 | (frv_assemble_integer): Revert 2003-09-30's change, but make the | |
6603 | whole block run with FDPIC even with -fno-PIC. | |
6604 | 2003-10-02 Alexandre Oliva <aoliva@redhat.com> | |
6605 | * config/frv/frv.c (frv_cannot_force_const_mem): Don't force | |
6606 | symbol or label plus offset to memory. | |
6607 | (frv_emit_movsi): Emit GPREL only if -mgprel-ro. Emit 32-bit | |
6608 | GOTOFF and GPREL for LABEL_REF. | |
6609 | * config/frv/frv.h (DRIVER_SELF_SPECS): Add -mgprel-ro with | |
6610 | -mfdpic unless -mno-gprel-ro, -fpic or -fpie. | |
6611 | (MASK_GPREL_RO, TARGET_GPREL_RO): New. | |
6612 | (TARGET_SWITCHES): Added gprel-ro and no-gprel-ro. | |
6613 | * doc/invoke.texi: Document them. | |
6614 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> | |
6615 | * config/frv/frv-protos.h (frv_gen_GPsym2reg): Declare. | |
6616 | (frv_splittable_got_operand): Removed. | |
6617 | * config/frv/frv.c (frv_cannot_force_const_mem): Reject HIGH and | |
6618 | LO_SUM. Add comments. | |
6619 | (frv_override_options): Moved enabling of FDPIC to | |
6620 | DRIVER_SELF_SPECS. Don't enable MASK_DWORD. | |
6621 | (frv_local_funcdesc_p): Remove unnecessary heck for flag_pie. | |
6622 | (frv_legitimize_fdpic_address): Don't duplicate logic in | |
6623 | frv_emit_movsi. | |
6624 | (frv_gen_GPsym2reg): New. | |
6625 | (unspec_got_name): Added gprel. | |
6626 | (frv_expand_fdpic_call): Add support for inlining PLTs. | |
6627 | (fdpic_fptr_operand): Renamed from frv_fdpic_fptr_operand. | |
6628 | (gpr_or_int12_operand): Added GPREL12. | |
6629 | (pic_symbolic_operand): Match even if !flag_pic for FDPIC. | |
6630 | (small_data_symbolic_operand): Fail if FDPIC. | |
6631 | (fdpic_splittable_got_operand): Removed. | |
6632 | (fdpic_got12_operand): Added GPREL12. | |
6633 | (frv_emit_movsi): Reorganize to avoid duplication. Emit GPREL | |
6634 | when appropriate. Fix sdata GOTOFF. | |
6635 | (frv_legitimate_constant_p): Require legitimate PIC operand for | |
6636 | FDPIC with pic, but only a legitimate fdpic operand for non-pic. | |
6637 | (frv_assemble_integer): Move FDPIC funcdesc handling out of | |
6638 | flag_pic case. | |
6639 | (frv_asm_out_constructor, frv_asm_out_destructor): Abort if | |
6640 | frv_assemble_integer fails. | |
6641 | * config/frv/frv.h (DRIVER_SELF_SPECS): New. | |
6642 | (SUBTARGET_DRIVER_SELF_SPECS): New. | |
6643 | (ASM_SPEC): Don't pass -mno-fdpic. | |
6644 | (LINK_SPEC): Pass -melf32frvfd for FDPIC. | |
6645 | (MASK_INLINE_PLT, TARGET_INLINE_PLT): New. | |
6646 | (TARGET_SWITCHES): Add -minline-plt, -mno-inline-plt and | |
6647 | -multilib-library-pic. | |
6648 | (PREDICATE_CODES): Added fdpic_operand, fdpic_fptr_operand, | |
6649 | condexec_si_media_operator, condexec_sf_add_operator and | |
6650 | condexec_sf_conv_operator. Removed condexec_sf_binary_operator | |
6651 | and condexec_sf_unary_operator. | |
6652 | * config/frv/frv.md (R_FRV_GPREL12, R_FRV_GPRELHI, R_FRV_GPRELLO): | |
6653 | New. | |
6654 | (movsi_got, movsi_high_got, movsi_lo_sum_got): Move before | |
6655 | movsi_internal. Give them internal names. movsi_got has type | |
6656 | int. | |
6657 | (fdpic got splitters): Remove. | |
6658 | (symGPREL2reg, symGPREL2reg_hilo): New. | |
6659 | * config/frv/t-frv (MULTILIB_MATCHES): Don't map -fpic and -fPIC | |
6660 | to -mlibrary-pic. Map -multilib-library-pic to it. | |
6661 | * doc/invoke.texi: -mfdpic, -minline-plt, -multilib-library-pic: | |
6662 | Document. | |
6663 | 2003-09-28 Alexandre Oliva <aoliva@redhat.com> | |
6664 | * config/frv/frv.c (frv_function_symbol_referenced_p): Declare. | |
6665 | (TARGET_CANNOT_FORCE_CONST_MEM): Define to... | |
6666 | (frv_cannot_force_const_mem): New function. | |
6667 | (const_small_data_p, plus_small_data_p): Update comments on sdata | |
6668 | on FDPIC. | |
6669 | (frv_override_options): Set flag_pie for FDPIC too. | |
6670 | (frv_conditional_register_usage): Mark gr16 and gr17 as non-fixed, | |
6671 | call-saved registers on FDPIC. | |
6672 | (frv_stack_info): Don't preserve the PIC register on FDPIC, and | |
6673 | don't force LR to be preserved. | |
6674 | (frv_expand_prologue): Likewise. | |
6675 | (frv_asm_output_mi_thunk): Use 12-bit funcdesc gotoff for -fpic. | |
6676 | (frv_frame_pointer_required): Don't force it just because the | |
6677 | FDPIC register is used. | |
6678 | (frv_legitimate_address_p) <CONST>: Accept a legitimate FDPIC | |
6679 | operand only if !condexec_p. | |
6680 | (frv_legitimize_address): Return the FDPIC-legitimized address. | |
6681 | Don't match small data here on FDPIC. | |
6682 | (frv_legitimate_fdpic_operand_p): Don't accept unadorned function | |
6683 | symbols. Use TRUE/FALSE instead of 1/0. | |
6684 | (frv_local_funcdesc_p): New. | |
6685 | (frv_legitimize_fdpic_address): Rewrite to use GOTOFF and 12-bit | |
6686 | immediates when possible. | |
6687 | (pic_symbolic_operand): Accept SYMBOL_REFs and CONSTs in FDPIC. | |
6688 | (dbl_memory_one_insn_operand): Accept addresses that add a REG and | |
6689 | an UNSPEC_GOT. | |
6690 | (frv_emit_movsi): Handle FDPIC before small data. Use GOTOFF and | |
6691 | 12-bit immediates when possible. | |
6692 | (frv_legitimate_constant_p): In FDPIC, reject SImode operands that | |
6693 | are not legitimate pic operands. | |
6694 | (frv_in_small_data_p): Re-enable for FDPIC. | |
6695 | * config/frv/frv.h (SDA_BASE_REG): Remove comment about FDPIC. | |
6696 | (FRV_GLOBAL_P): Removed. | |
6697 | * config/frv/frv.md: Add modes to CONSTs. | |
6698 | (movsi_got): New. | |
6699 | (movsi_lo_sum_got): Use separate matches instead of match_dup. | |
6700 | (movsi_high_pic, movsi_lo_sum_pic): Match on non-FDPIC only. | |
6701 | (fdpic splittable operations): Match on flag_pic != 1. | |
6702 | 2003-09-22 Alexandre Oliva <aoliva@redhat.com> | |
6703 | * config/frv/frv.c (frv_asm_out_constructor, | |
6704 | frv_asm_out_destructor): Pass to frv_assemble_integer the size in | |
6705 | bytes, not bits. | |
6706 | 2003-09-19 Alexandre Oliva <aoliva@redhat.com> | |
6707 | * config/frv/frv.c (frv_assemble_integer): Reject complex | |
6708 | expressions referencing function SYMBOL_REFs. | |
6709 | * config/frv/frv.c (frv_function_symbol_referenced_p): New. | |
6710 | (move_source_operand): Reject CONSTs that reference function | |
6711 | SYMBOL_REFs on FDPIC. | |
6712 | (frv_emit_movsi): If we get such a CONST, break it up. | |
6713 | * config/frv/frv.h (CPP_SPEC): Define __FRV_FDPIC__ for -mfdpic. | |
6714 | (TRANSFER_FROM_TRAMPOLINE): Use different definitions for FDPIC. | |
6715 | * config/frv/frv.c (frv_print_operand) <I>: Recognize PLUS without | |
6716 | MEM. | |
6717 | (frv_assemble_integer): Don't use funcdesc for LABEL_REFs. | |
6718 | (frv_trampoline_size): Increase for FDPIC. | |
6719 | * config/frv/frv.h (TRAMPOLINE_ALIGNMENT): Bump to 64 for FDPIC. | |
6720 | (TRANSFER_FROM_TRAMPOLINE): Handle FDPIC trampolines. | |
6721 | * config/frv/frv.c (frv_legitimize_fdpic_address, frv_emit_movsi): | |
6722 | Disable use of GOTOFF for now. | |
6723 | (const_small_data_p, plus_small_data_p, frv_in_small_data_p): | |
6724 | Disable use of small data in FDPIC for now. | |
6725 | (frv_asm_output_mi_thunk): Implement for FDPIC. | |
6726 | * config/frv/frv.h (SDA_BASE_REG): Set to -1 with FDPIC. | |
6727 | * config/frv/frv.c (frv_asm_out_constructor): Use | |
6728 | frv_assemble_integer for FDPIC pointers. | |
6729 | (frv_asm_out_destructor): Likewise. | |
6730 | * config/frv/frv.md (ldd): Fix order of operands. Use | |
6731 | address_operand for input. | |
6732 | 2003-09-18 DJ Delorie <dj@redhat.com> | |
6733 | * config/frv/frv.c (frv_legitimate_fdpic_operand_p): Remove UNSPEC_PIC. | |
6734 | (unspec_got_name): Correct typo. | |
6735 | (frv_emit_movsi): Pre-expand splittable GOTs. | |
6736 | (frv_expand_fdpic_call): Rename gen_lddi to gen_ldd. | |
6737 | * config/frv/frv.md (lddi): Fix syntax error, rename to ldd. | |
6738 | (symGOT2reg_hilo, symGOTOFF2reg_hilo): New. | |
6739 | * config/frv/t-frv: Add -mfdpic multilibs. | |
6740 | * config/frv/frv.h (ASM_SPEC): Pass -mfdpic/-mno-fdpic. | |
6741 | (TARGET_SWITCHES): Add -mno-fdpic, fix documentation. | |
6742 | * config/frv/frv.c (frv_override_options): -mfdpic assumes | |
6743 | flag_pic, default to 32-bit pics, require DWORD ops. | |
6744 | (frv_override_options): Add W and Z constraints. | |
6745 | (frv_expand_prologue): No pic prologue for -mfdpic. | |
6746 | (frv_asm_output_mi_thunk): Support -mfdpic (soon). | |
6747 | (frv_print_operand_memory_reference): Handle GOT constants. | |
6748 | (frv_legitimate_address_p): Allow GOT constants. | |
6749 | (frv_legitimize_address): Handle GOT addresses too. | |
6750 | (frv_legitimate_fdpic_operand_p): New. | |
6751 | (frv_legitimize_fdpic_address): New. | |
6752 | (unspec_got_name): New. | |
6753 | (frv_output_addr_const_extra): New. | |
6754 | (frv_expand_fdpic_call): New. | |
6755 | (frv_fdpic_fptr_operand): New. | |
6756 | (gpr_or_int12_operand): Handle GOT operands. | |
6757 | (int_2word_operand): Handle GOT operands. | |
6758 | (fdpic_operand): New. | |
6759 | (fdpic_splittable_got_operand): New. | |
6760 | (fdpic_got12_operand): New. | |
6761 | (frv_emit_movsi): Handle GOT operands. | |
6762 | (frv_assemble_integer): -mfdpic doesn't use rofixups. | |
6763 | (frv_print_operand): Support 'g' code for GOT operands. | |
6764 | * config/frv/frv-protos.h: Add prototypes as needed. | |
6765 | * config/frv/frv.md (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, | |
6766 | R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, | |
6767 | R_FRV_FUNCDESC_GOTLO, R_FRV_FUNCDESC_VALUE, | |
6768 | R_FRV_FUNCDESC_GOTOFF12, R_FRV_FUNCDESC_GOTOFFHI, | |
6769 | R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, R_FRV_GOTOFFHI, | |
6770 | R_FRV_GOTOFFLO): New. | |
6771 | (movsi_high_got, movsi_lo_sum_got): New. | |
6772 | (*movsi_pic): Don't use this splitter for -mfdpic. | |
6773 | (addsi3): Allow GOT references also. | |
6774 | (call, call_value): Handle -mfdpic separately. | |
6775 | (call_fdpicdi, call_fdpicsi, lddi, call_value_fdpicdi, | |
6776 | call_value_fdpicsi): New. | |
6777 | (symGOT2reg, symGOT2reg_i, got splitters, symGOTOFF2reg, | |
6778 | symGOTOFF2reg_i): New. | |
6779 | * config/frv/frv.h (MASK_FDPIC): New. | |
6780 | (TARGET_FDPIC): New. | |
6781 | (TARGET_SWITCHES): Add -mfdpic. | |
6782 | (FDPIC_FPTR_REGNO): New. | |
6783 | (FDPIC_REGNO): New. | |
6784 | (OUR_FDPIC_REG): New. | |
6785 | (enum reg_class): Add FDPIC_REGS, FDPIC_FPTR_REGS, and | |
6786 | FDPIC_CALL_REGS. | |
6787 | (REG_CLASS_NAMES): Likewise. | |
6788 | (REG_CLASS_CONTENTS): Likewise. | |
6789 | (EXTRA_CONSTRAINT_FOR_Y): New, for 12-bit GOTs. | |
6790 | (EXTRA_CONSTRAINT): Add it here. | |
6791 | (FRV_GLOBAL_P): New. | |
6792 | (OUTPUT_ADDR_CONST_EXTRA): New. | |
6793 | ||
7e26b0e3 KH |
6794 | 2004-02-24 Kazu Hirata <kazu@cs.umass.edu> |
6795 | ||
6796 | * config/sparc/sparc.h: Remove commented-out definitions of | |
6797 | TARGET_EDOM and GEN_ERRNO_RTX. | |
6798 | ||
b57f2e10 KH |
6799 | 2004-02-24 Kazu Hirata <kazu@cs.umass.edu> |
6800 | ||
6801 | * df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace | |
6802 | df_analyse with df_analyze. | |
6803 | ||
cb7c3c3f AM |
6804 | 2004-02-24 Alan Modra <amodra@bigpond.net.au> |
6805 | ||
6806 | * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not | |
6807 | beginning of block. | |
6808 | ||
3638733b JW |
6809 | 2004-02-23 James E Wilson <wilson@specifixinc.com> |
6810 | ||
238470bd | 6811 | * calls.c (precompute_arguments): Update comment. |
3638733b | 6812 | |
fa0ac78a KH |
6813 | 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> |
6814 | ||
6815 | * et-forest.c: Replace et_occurences with et_occurrences. | |
6816 | ||
6d4e0ecc KH |
6817 | 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> |
6818 | ||
6819 | * cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse | |
6820 | with iv_analyze. | |
6821 | ||
9e200aaf KC |
6822 | 2004-02-23 Kelley Cook <kcook@gcc.gnu.org> |
6823 | ||
6824 | * config/i386/i386.c: Rename pni to sse3. | |
6825 | * config/i386/i386.h: Likewise. | |
3205a71e | 6826 | * config/i386/i386.md: Likewise. |
9e200aaf KC |
6827 | * config/i386/pmmintrin.h: Likewise. |
6828 | * doc/extend.texi: Likewise. | |
6829 | * doc/invoke.texi: Likewise. | |
6830 | ||
3521b33c ZW |
6831 | 2004-02-23 Zack Weinberg <zack@codesourcery.com> |
6832 | Kazu Hirata <kazu@cs.umass.edu> | |
6833 | ||
6834 | Remove -fwritable-strings. | |
6835 | * c-common.c (fix_string_type): Don't check | |
6836 | flag_writable_strings. | |
6837 | (fix_string_type): Likewise. | |
6838 | * c-opts.c (set_std_c89): Don't initialize | |
6839 | flag_writable_strings. | |
6840 | (set_std_c99): Likewise. | |
6841 | * common.opt (fwritable-strings): Remove. | |
6842 | * flags.h: Remove the external declaration of | |
6843 | flag_writable_strings. | |
6844 | * opts.c (common_handle_option) <OPT_fwritable_strings>: | |
6845 | Remove. | |
6846 | * toplev.c (flag_writable_strings): Remove. | |
6847 | (f_options): Remove an entry for writable-strings. | |
6848 | * varasm.c (const_hash_1) <STRING_CST>: Don't check | |
6849 | flag_writable_strings. | |
6850 | (compare_constant) <STRING_CST>: Likewise. | |
6851 | (build_constant_desc): Likewise. | |
6852 | * config/darwin.c (machopic_select_section): Likewise. | |
6853 | * config/arm/arm.c (AOF_ASSEMBLER): Likewise. | |
6854 | * config/arm/pe.c (arm_pe_encode_section_info): Likewise. | |
6855 | * config/iq2000/iq2000.c (iq2000_select_section): Likewise. | |
6856 | * config/mips/mips.c (mips_select_section): Likewise. | |
6857 | (mips_encode_section_info): Likewise. | |
6858 | * config/pa/pa.c (pa_select_section): Likewise. | |
6859 | * config/pa/pa.h (TEXT_SPACE_P): Likewise. | |
6860 | * config/v850/v850.c (v850_select_section): Likewise. | |
6861 | * doc/invoke.texi (-fwritable-strings): Remove. | |
6862 | (-fno-const-strings): Don't mention -fwritable-strings. | |
6863 | * doc/trouble.texi: Don't mention -fwritable-strings. | |
6864 | ||
eb6bddf6 NN |
6865 | 2003-02-23 Nathanael Nerode <neroden@gcc.gnu.org> |
6866 | ||
6867 | * doc/install.texi: Update for switch of boehm-gc to autoconf 2.57. | |
6868 | ||
e0740893 DJ |
6869 | 2004-02-23 Dale Johannesen <dalej@apple.com> |
6870 | ||
6871 | * config/rs6000.md (movsf_hardfloat): Add POWER form of nop. | |
6872 | (movdf_hardfloat64): Ditto. | |
6873 | (movdf_softfloat64): Ditto. | |
6874 | ||
e91fa876 | 6875 | 2004-02-23 Fariborz Jahanian <fjahanian@apple.com> |
3205a71e | 6876 | * config/rs6000/rs6000.c (function_arg): call to |
e91fa876 | 6877 | rs6000_mixed_function_arg for DFmode moved to allow |
21526606 | 6878 | normal DFmode incoming register assignment. |
e91fa876 | 6879 | |
ae6669e7 DJ |
6880 | 2004-02-23 Dale Johannesen <dalej@apple.com> |
6881 | ||
6882 | * config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy. | |
6883 | (movdf_hardfloat64): Ditto. | |
6884 | ||
2a9f2ad3 KH |
6885 | 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> |
6886 | ||
6887 | * convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c, | |
6888 | config/rs6000/linux.h, config/rs6000/rs6000-c.c: Update | |
6889 | copyright. | |
6890 | ||
aa5fa0fc AP |
6891 | 2004-02-23 Andrew Pinski <pinskia@physics.uc.edu> |
6892 | ||
a2f1f4c3 AP |
6893 | PR c/14156 |
6894 | * c-typeck.c (c_expand_return): Change check for VAR_DECL | |
6895 | to use DECL_P instead. | |
6896 | ||
aa5fa0fc AP |
6897 | * config/rs6000/linux.h (OS_MISSING_POWERPC64): Define. |
6898 | * config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define. | |
6899 | ||
221ee7c9 KH |
6900 | 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> |
6901 | ||
6902 | * Makefile.in (opts.o): Depend on target.h. | |
6903 | * opts.c (decode_options): Use targetm.default_short_enums | |
6904 | instead of DEFAULT_SHORT_ENUMS. | |
6905 | * system.h (DEFAULT_SHORT_ENUMS): Poison. | |
6906 | * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New. | |
6907 | (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS. | |
6908 | * target.h (gcc_target): Add default_short_enums. | |
6909 | * config/cris/cris.h: Remove a comment about | |
6910 | DEFAULT_SHORT_ENUMS. | |
6911 | * config/ip2k/ip2k.h: Likewise. | |
6912 | * doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to | |
6913 | TARGET_DEFAULT_SHORT_ENUMS. Update the description. | |
6914 | ||
bba745c1 | 6915 | 2004-02-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
3205a71e | 6916 | Falk Hueffner <falk@debian.org> |
bba745c1 EB |
6917 | |
6918 | PR c/14188 | |
6919 | * builtins.c (expand_builtin_va_arg): Emit an informative message | |
6920 | if a trap is generated. | |
6921 | * c-typeck.c (build_function_call): Likewise. | |
6922 | ||
c2cd64b5 JJ |
6923 | 2004-02-22 Jakub Jelinek <jakub@redhat.com> |
6924 | ||
6925 | * gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of | |
6926 | fopen. | |
6927 | * libgcov.c: Include sys/stat.h. | |
6928 | * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define. | |
6929 | * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define. | |
6930 | * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define. | |
6931 | * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define. | |
6932 | ||
fcfcb20e KH |
6933 | 2004-02-22 Kazu Hirata <kazu@cs.umass.edu> |
6934 | ||
6935 | * reorg.c: Remove comments about dead ports. | |
6936 | ||
56d03a40 CF |
6937 | 2004-02-22 Christopher Faylor <cgf@redhat.com> |
6938 | ||
6939 | * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify | |
6940 | extra host object file when targetting cygwin rather than generic | |
6941 | object files. | |
6942 | ||
5e20bdd7 JZ |
6943 | 2004-02-22 Josef Zlomek <zlomekj@suse.cz> |
6944 | ||
6945 | Merge from tree-ssa: | |
6946 | 2003-11-20 Richard Henderson <rth@redhat.com> | |
6947 | ||
6948 | * tree-inline.c (insert_decl_map): New. | |
6949 | (remap_decl, remap_type, remap_block, copy_body_r, | |
6950 | initialize_inlined_parameters, declare_return_variable, | |
6951 | remap_save_expr): Use it. | |
6952 | ||
6953 | * function.c (copy_body_r): Add mapping from id->ret_label to | |
6954 | id->ret_label. Revert test for ret_label. | |
6955 | ||
4112be4a JJ |
6956 | 2004-02-22 Jakub Jelinek <jakub@redhat.com> |
6957 | ||
6958 | * genoutput.c (process_template): Strip trailing whitespace in @ | |
6959 | templates and issue a warning if there was any. | |
6960 | ||
3a6efa98 | 6961 | 2004-02-21 Christopher Faylor <cgf@redhat.com> |
dc4a2f32 CF |
6962 | |
6963 | * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host | |
6964 | object file when targetting cygwin. | |
6965 | * config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is | |
6966 | overridden by top-level Makefile. | |
6967 | ||
22cc69c4 RS |
6968 | 2004-02-21 Roger Sayle <roger@eyesopen.com> |
6969 | ||
6970 | * config/i386/i386.c (standard_80387_constant_p): Also prefer | |
6971 | the x87's load constant instructions when optimizing for size. | |
6972 | ||
bee07d3f KH |
6973 | 2004-02-21 Kazu Hirata <kazu@cs.umass.edu> |
6974 | ||
6975 | * combine.c (SHIFT_COUNT_TRUNCATED): Remove. | |
6976 | * defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default. | |
6977 | * expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined. | |
6978 | * fold-const.c: Likewise. | |
6979 | * simplify-rtx.c: Likewise. | |
6980 | ||
da6fdad3 AM |
6981 | 2004-02-21 Alan Modra <amodra@bigpond.net.au> |
6982 | ||
6983 | * combine.c (can_combine_p): Don't ignore SETs marked with | |
6984 | REG_EH_REGION notes. | |
6985 | (try_combine): When attemting to fix unrecognized insns, don't | |
6986 | split a PARALLEL that contains the original i2. | |
6987 | ||
8bb418a3 ZL |
6988 | 2004-02-21 Ziemowit Laski <zlaski@apple.com> |
6989 | ||
6990 | * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to | |
6991 | SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options. | |
6992 | * config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it. | |
6993 | * config/rs6000/altivec.h: #error out if '-maltivec' not specified. | |
6994 | (vector, pixel, bool): #define to __vector, __pixel and __bool. | |
6995 | (__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific | |
6996 | portion of header. | |
6997 | (__altivec_link_error_invalid_argument): Remove prototype; will use | |
6998 | __builtin_altivec_compiletime_error("vec_*") instead. | |
6999 | (vec_*): Fix/complete set of available operation overloads given the | |
7000 | existence of distinct 'vector bool ...' and 'vector pixel' types; tighten | |
7001 | cv-correctness of pointer arguments; in C, always check for correct | |
7002 | argument types before macro expansion. | |
7003 | * config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro | |
7004 | defining Darwin/PowerPC-specific '-f[no-]altivec' and | |
7005 | '-W[no-]altivec-long-deprecated' switches. | |
7006 | * config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define | |
7007 | '__vector', '__pixel' and '__bool' macros using | |
7008 | '__attribute__((altivec(...)))' types. | |
7009 | * config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node, | |
7010 | bool_int_type_node, pixel_type_node, bool_V16QI_type_node, | |
7011 | bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node): | |
7012 | New type nodes. | |
7013 | (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for | |
7014 | handling '-W[no-]altivec-long-deprecated'. | |
7015 | (rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'. | |
7016 | (rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin, | |
7017 | altivec_expand_dst_builtin): Remove casts from integer literals. | |
7018 | (altivec_expand_builtin): Likewise; handle expansion of new | |
7019 | '__builtin_altivec_compiletime_error' function. | |
7020 | (rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel' | |
7021 | types, and make them distinct from other vector types; register | |
7022 | '__builtin_altivec_compiletime_error' function. | |
7023 | (print_operand): For 'P', print a full target register name instead of | |
7024 | merely its number. | |
7025 | (rs6000_attribute_table): Add "altivec" attribute. | |
7026 | (rs6000_handle_altivec_attribute): New function. | |
21526606 | 7027 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Describe |
8bb418a3 ZL |
7028 | '-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated' |
7029 | maps to). | |
7030 | (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward | |
7031 | declare. | |
7032 | (ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration. | |
7033 | ||
06a419ff JW |
7034 | 2004-02-20 James E Wilson <wilson@specifixinc.com> |
7035 | ||
7036 | * config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed | |
7037 | check. | |
7038 | (shift_mix4left+2): Delete redundant pattern. | |
7039 | ||
d220de0e KH |
7040 | 2004-02-20 Kazu Hirata <kazu@cs.umass.edu> |
7041 | ||
7042 | * alias.c (OUTGOING_REGNO): Don't define the default. | |
7043 | * builtins.c (OUTGOING_REGNO): Likewise. | |
7044 | (INCOMING_REGNO): Likewise. | |
7045 | (apply_args_register_offset): Always use OUTGOING_REGNO. | |
7046 | * combine.c (OUTGOING_REGNO): Likewise. | |
7047 | * sibcall.c (OUTGOING_REGNO): Likewise. | |
7048 | * defaults.h (INCOMING_REGNO): Provide the default. | |
7049 | (OUTGOING_REGNO): Likewise. | |
7050 | ||
701ad47e JH |
7051 | 2004-02-21 Jan Hubicka <jh@suse.cz> |
7052 | ||
7053 | * params.def (max-peeled-insns, max-completely-peeled-insns, | |
7054 | max-once-peeled-insns): Set to 400. | |
7055 | ||
7a3e01c4 JDA |
7056 | 2004-02-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7057 | ||
3205a71e | 7058 | PR c++/12007 |
7a3e01c4 JDA |
7059 | * dbxout.c (dbxout_parms): Check that DECL_RTL and DECL_INCOMING_RTL |
7060 | are set for parameters before outputing debugging information. | |
7061 | ||
f4d9988b FH |
7062 | 2004-02-20 Falk Hueffner <falk@debian.org> |
7063 | ||
7064 | PR target/14201 | |
7065 | * config/alpha/alpha.md (*fix_truncsfsi_ieee): Fix typoed operand | |
7066 | numbers. | |
7067 | ||
2ae5c785 PB |
7068 | 2004-02-20 Per Bothner <per@bothner.com> |
7069 | ||
7070 | * input.h: Don't #include line-map.h. It may cause link problems | |
7071 | with undefined linemap_line_start when line-map.h is included but | |
7072 | line-map.o is not linked, as currently happens with gengtype on | |
7073 | compilers that don't support inline. | |
7074 | * toplev.c: So we do have to explicitly #include line-map.h here. | |
7075 | ||
7c4d376d RH |
7076 | 2004-02-20 Richard Henderson <rth@redhat.com> |
7077 | ||
7078 | * doc/invoke.texi: Add -Wvariadic-macros. | |
7079 | ||
2c598860 KH |
7080 | 2004-02-20 Kazu Hirata <kazu@cs.umass.edu> |
7081 | ||
7082 | * haifa-sched.c (sched_emit_insn): Remove. | |
7083 | * sched-int.h: Remove the corresponding prototype. | |
7084 | ||
35afa569 KH |
7085 | 2004-02-20 Kazu Hirata <kazu@cs.umass.edu> |
7086 | ||
7087 | Revert: | |
7088 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> | |
7089 | * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS. | |
7090 | * system.h (DEFAULT_SHORT_ENUMS): Poison. | |
7091 | * config/cris/cris.h: Remove a comment about | |
7092 | DEFAULT_SHORT_ENUMS. | |
7093 | * config/ip2k/ip2k.h: Likewise. | |
7094 | * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove. | |
7095 | ||
c1c3bb0c ME |
7096 | 2004-02-20 Mohan Embar <gnustuff@thisiscool.com> |
7097 | Tom Tromey <tromey@redhat.com> | |
7098 | ||
7099 | * doc/install.texi: Moved --disable-libgcj and | |
7100 | --with-system-zlib documentation to new section for | |
7101 | Java-specific options. | |
7102 | Added explicit Cross-Compiler-Specific Options subheading. | |
7103 | Added section for Java-specific options. | |
7104 | ||
ee095310 MK |
7105 | 2004-02-20 Matt Kraai <kraai@alumni.cmu.edu> |
7106 | ||
7107 | * doc/install.texi (Building the Ada compiler): Remove | |
3205a71e | 7108 | example. |
ee095310 | 7109 | |
15316a6f JW |
7110 | 2004-02-20 James E Wilson <wilson@specifixinc.com> |
7111 | ||
7112 | * toplev.c (dump_file_index, dump_file): Put ce3 before rnreg. | |
7113 | ||
9f76f909 KH |
7114 | 2004-02-20 Kazu Hirata <kazu@cs.umass.edu> |
7115 | ||
7116 | * gcc.c (process_command): Allow translation of the copyright | |
7117 | symbol but not the rest of the copyright message. | |
7118 | * gcov.c (print_version): Likewise. Allow translation of the | |
7119 | message about warranty. | |
7120 | ||
f38a62ff HPN |
7121 | 2004-02-20 Hans-Peter Nilsson <hp@axis.com> |
7122 | ||
7123 | * config/cris/cris.md ("*andsi_movu"): Correct parentheses in | |
7124 | predicate. | |
7125 | ("*andsi_clear"): Tweak constraints to not match postincrement. | |
7126 | Adjust the predicate to exclude a volatile memory reference. | |
7127 | ("*andhi_clear"): Ditto. Rename from "*andhi_clear_signed". | |
7128 | ("*andhi_clear_unsigned"): Remove, non-matching pattern. | |
7129 | ||
88e3a2a3 MK |
7130 | 2004-02-19 Matt Kraai <kraai@alumni.cmu.edu> |
7131 | ||
7132 | * move-if-change: Remove. | |
7133 | * Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck) | |
7134 | (s-specs, s-options, s-config, s-conditions, s-flags, s-codes) | |
7135 | (s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep) | |
7136 | (s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds) | |
7137 | (s-gtyp-gen, s-iov): Use the top level move-if-change. | |
7138 | * objc/Make-lang.in (objc/objc-parse.y): Likewise. | |
7139 | ||
e0c34369 JW |
7140 | 2004-02-19 James E Wilson <wilson@specifixinc.com> |
7141 | ||
7142 | * config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand | |
7143 | for operand2. Add condition that requires register_operand operand2 | |
7144 | before reload. | |
7145 | ||
656f37ee | 7146 | 2004-02-19 Richard Sandiford <rsandifo@redhat.com> |
2b5f287b | 7147 | Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
656f37ee RS |
7148 | |
7149 | * config/mips/mips.c (mips_address_insns): Treat BLKmode specially. | |
7150 | * config/mips/mips.md: Expand comment above unaligned loads and stores. | |
7151 | ||
4221057e RH |
7152 | 2004-02-19 Richard Henderson <rth@redhat.com> |
7153 | ||
7154 | * Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros. | |
7155 | * tree.c (build0, build1, build2, build3, build4): Split out from... | |
7156 | (build): ... here. Call them. | |
7157 | * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New. | |
7158 | ||
7159 | * convert.c (convert_to_integer): Remove extra build argument. | |
7160 | * tree-inline.c (expand_call_inline): Likewise. | |
7161 | ||
e5b79219 RH |
7162 | 2004-02-19 Richard Henderson <rth@redhat.com> |
7163 | ||
7164 | * c-opts.c (warn_variadic_macros): New. | |
7165 | (c_common_handle_option): Set it. | |
7166 | (sanitize_cpp_opts): Copy it to cpp_opts. | |
7167 | * c.opt (Wvariadic-macros): New. | |
7168 | * cpplib.h (struct cpp_options): Add warn_variadic_macros. | |
7169 | * cppinit.c (cpp_create_reader): Initialize it. | |
7170 | * cppmacro.c (parse_params): Check it. | |
7171 | ||
18586cb7 DD |
7172 | 2004-02-19 David Daney <ddaney@avtrex.com> |
7173 | ||
7174 | PR preprocessor/14198 | |
7175 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add | |
7176 | builtin_assert ("machine=mips") | |
7177 | ||
37a46828 KH |
7178 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
7179 | ||
7180 | * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS. | |
7181 | * system.h (DEFAULT_SHORT_ENUMS): Poison. | |
7182 | * config/cris/cris.h: Remove a comment about | |
7183 | DEFAULT_SHORT_ENUMS. | |
7184 | * config/ip2k/ip2k.h: Likewise. | |
7185 | * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove. | |
7186 | ||
f9c887ac ZW |
7187 | 2004-02-19 Zack Weinberg <zack@codesourcery.com> |
7188 | ||
7189 | * config/ia64/ia64.c (ia64_function_arg): In big-endian mode, | |
7190 | when passing single SFmode quantities in general registers, | |
7191 | put them in the high half. | |
7192 | ||
0e1d7f32 | 7193 | 2004-02-19 Aldy Hernandez <aldyh@redhat.com> |
f9c887ac ZW |
7194 | |
7195 | * doc/md.texi (Standard Names): Document additional dependency on | |
7196 | fix pattern. | |
7197 | ||
7198 | * optabs.c (ftruncify): Remove. | |
7199 | (expand_fix): Manually inline ftruncify above. | |
7200 | (can_fix_p): Add FIXME note. | |
0e1d7f32 | 7201 | |
c6e9f0eb | 7202 | 2004-02-19 Aldy Hernandez <aldyh@redhat.com> |
f9c887ac ZW |
7203 | |
7204 | * config/rs6000/spe.md (spe_fixunssfsi2): Rename to | |
7205 | spe_fixuns_truncsfsi2. | |
7206 | ||
7207 | * config/rs6000/rs6000.md (fixunssfsi2): Rename to | |
7208 | fixuns_truncsfsi2. | |
c6e9f0eb | 7209 | |
919b531d SE |
7210 | 2004-02-19 Steve Ellcey <sje@cup.hp.com> |
7211 | ||
7212 | * config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro. | |
7213 | * testsuite/gcc.dg/20040219-1.c: New test. | |
7214 | ||
4dbb5970 UW |
7215 | 2004-02-19 Ulrich Weigand <uweigand@de.ibm.com> |
7216 | ||
7217 | * config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc", | |
7218 | "*subsf3_cconly"): Subtraction is not commutative. | |
7219 | ||
16edbbf0 ZW |
7220 | 2004-02-19 Zack Weinberg <zack@codesourcery.com> |
7221 | ||
7222 | * sdbout.c (preinit_symbols, sdbout_initialized): New statics. | |
7223 | (sdbout_symbol): If called before sdbout_init, queue DECL for | |
7224 | later and return. | |
7225 | (sdbout_init): Set sdbout_initialized true, process decls | |
7226 | queued earlier by sdbout_symbol. | |
7227 | (sdbout_finish): Use size_t for index variable. | |
7228 | ||
f46e5baa | 7229 | 2004-02-19 Jeff Law <law@redhat.com> |
16edbbf0 | 7230 | |
f46e5baa JL |
7231 | * fold-const.c (invert_truthvalue): Do not call invert_tree_comparison |
7232 | for unordered comparison codes. | |
7233 | ||
d754127f ILT |
7234 | 2004-02-19 Ian Lance Taylor <ian@wasabisystems.com> |
7235 | ||
7236 | * reload1.c (reload): Correct comment. | |
7237 | (scan_paradoxical_subregs): Remove #if 0 and old comment. | |
7238 | * doc/extend.texi (Local Reg Vars): Remove obsolete comment that | |
7239 | register variables are not used by reload. | |
7240 | ||
428eae94 HPN |
7241 | 2004-02-19 Hans-Peter Nilsson <hp@axis.com> |
7242 | ||
7243 | PR target/14209 | |
7244 | * config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak | |
7245 | constraints to not match postincrement. Adjust the predicate to | |
7246 | exclude a volatile memory reference. | |
7247 | ||
a5ee8d80 KH |
7248 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
7249 | ||
7250 | * config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove. | |
7251 | ||
45ea6431 KH |
7252 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
7253 | ||
7254 | * hooks.c (hook_void_tree_int): Remove. | |
7255 | (hook_void_constcharptr): Likewise. | |
7256 | (hook_int_void_0): Likewise. | |
7257 | * hooks.h: Remove the prototypes for the above three | |
7258 | functions. | |
7259 | * targhooks.c (hook_bool_machine_mode_true): Remove. | |
7260 | * targhooks.h: Remove the prototype for | |
7261 | hook_bool_machine_mode_true. | |
7262 | ||
c59102b4 KH |
7263 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
7264 | ||
7265 | * emit-rtl.c (subreg_realpart_p): Remove. | |
7266 | (reorder_insns_with_line_notes): Likewise. | |
7267 | (end_full_sequence): Likewise. | |
7268 | * rtl.h: Remove the prototype for the above functions. | |
7269 | ||
3ad17f7b KH |
7270 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
7271 | ||
7272 | * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h, | |
7273 | config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, | |
7274 | config/iq2000/iq2000.h, config/m32r/m32r.h, | |
7275 | config/pdp11/pdp11.h, config/sparc/sparc.h, | |
7276 | config/xtensa/xtensa.h: Remove commented-out or useless | |
7277 | definitions of CASE_VECTOR_PC_RELATIVE. | |
7278 | ||
a3b182a7 KH |
7279 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
7280 | ||
7281 | * loop.c (all_sets_invariant_p): Remove. | |
7282 | ||
1b5963f7 EB |
7283 | 2004-02-19 Eric Botcazou <ebotcazou@libertysurf.fr> |
7284 | ||
7285 | PR target/12916 | |
7286 | * config/sparc/sparc.h (NPARM_REGS): Delete. | |
7287 | (BASE_RETURN_VALUE_REG): Likewise. | |
7288 | (BASE_OUTGOING_VALUE_REG): Likewise. | |
7289 | (BASE_PASSING_ARG_REG): Likewise. | |
7290 | (BASE_INCOMING_ARG_REG): Likewise. | |
7291 | * config/sparc/sparc.c (sparc_strict_argument_naming): Test | |
7292 | TARGET_ARCH64, not TARGET_V9. | |
7293 | (function_arg_slotno): Dispatch based on the mode class. | |
7294 | Handle vector modes like floating-point modes. | |
7295 | (function_arg_record_value_1): Handle vector types like | |
7296 | floating-point types. | |
7297 | (function_arg_record_value_2): Likewise. | |
7298 | Calculate regno after mode transformation. | |
7299 | (function_arg): Handle vector modes like floating-point modes. | |
7300 | (function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX. | |
7301 | If ARCH64, do not recheck alignment. | |
7302 | (function_arg_pass_by_reference): Reorder the conditions. | |
7303 | (sparc_return_in_memory): Move after function_arg_padding. | |
7304 | Implement calling conventions for vector modes. | |
7305 | (sparc_struct_value_rtx): Move after sparc_return_in_memory. | |
7306 | (function_value): Move scope of 'regbase'. | |
7307 | Implement calling conventions for vector modes. | |
7308 | (sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX | |
7309 | and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST. | |
7310 | (sparc_va_arg): Use function_arg_pass_by_reference to test whether | |
7311 | the argument is passed by reference. | |
7312 | (sparc_type_code): Handle vector types. | |
7313 | ||
196c42cd AM |
7314 | 2004-02-19 Alan Modra <amodra@bigpond.net.au> |
7315 | ||
7316 | * function.c (assign_parms): When building decl_rtl for | |
7317 | SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer. | |
7318 | ||
c0cfc691 OH |
7319 | 2004-02-19 Olivier Hainque <hainque@act-europe.fr> |
7320 | ||
7321 | * expr.c (is_aligning_offset): Check if we are aligning the | |
7322 | expressions's address over BIGGEST_ALIGNMENT in bytes, not | |
7323 | in bits. | |
7324 | ||
328163dc MA |
7325 | 2003-02-18 Matt Austern <austern@apple.com> |
7326 | ||
7327 | * gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and | |
7328 | LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC. | |
7329 | (init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is | |
7330 | defined. Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc | |
7331 | spec string. | |
7332 | * doc/tm.texi (REAL_LIBGCC_SPEC): Document. | |
16edbbf0 | 7333 | |
57d4f65c ZW |
7334 | 2004-02-18 Zack Weinberg <zack@codesourcery.com> |
7335 | ||
7336 | * dwarf2out.c (loclabel_num): Move outside #ifdef | |
7337 | DWARF2_DEBUGGING_INFO and mark with GTY(()). | |
7338 | * config/ia64/ia64.c (struct extern_func_list,extern_func_head): | |
7339 | Mark with GTY(()). | |
7340 | (ia64_hpux_add_extern_decl): Save the decl, not the name string. | |
7341 | Allocate memory with ggc_alloc. No need to copy anything. | |
7342 | (ia64_hpux_file_end): Update to match. | |
7343 | ||
3fec9fa9 JJ |
7344 | 2004-02-18 Jakub Jelinek <jakub@redhat.com> |
7345 | ||
7346 | * config/i386/i386.c (override_options): Don't imply 3DNow! for -m64 | |
7347 | by default. | |
7348 | ||
5665e398 UW |
7349 | 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
7350 | ||
7351 | * config/s390/s390.md ("divmodtidi3"): Use canonical RTL. | |
7352 | ("divmodtisi3"): Likewise. | |
7353 | ("udivmoddi4", "udivmodtidi3"): Likewise. | |
7354 | ("divmodsi4", "divmoddisi3"): Likewise. | |
7355 | ("udivmodsi4", "udivmoddisi3"): Likewise. | |
7356 | ("udivsi3", "umodsi3"): Likewise. | |
7357 | ||
d76e8439 UW |
7358 | 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
7359 | ||
7360 | * config/s390/s390.c (s390_mainpool_start): Delete the main pool | |
7361 | placeholder insn when chunkifying the pool. | |
7362 | ||
3cf7104e JDA |
7363 | 2004-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7364 | ||
7365 | * pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not | |
7366 | generating PIC code. | |
7367 | ||
8981ecd3 KH |
7368 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
7369 | ||
7370 | * config/h8300/h8300-protos.h: Add a prototype for | |
7371 | h8300_expand_branch. | |
7372 | * config/h8300/h8300.c (h8300_expand_branch): New. | |
7373 | * config/h8300/h8300.md (ble, bleu, bge, bgeu, blt, bltu, bgt, | |
7374 | bgtu, beq, bne): Call h8300_expand_branch(). | |
7375 | ||
07ee3b58 KH |
7376 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
7377 | ||
7378 | * config/h8300/h8300-protos.h: Add prototypes for | |
7379 | h8300_hard_regno_nregs and h8300_hard_regno_mode_ok. | |
7380 | * config/h8300/h8300.c (h8300_hard_regno_nregs): New. | |
7381 | (h8300_hard_regno_mode_ok): Likewise. | |
7382 | * config/h8300/h8300.h (HARD_REGNO_NREGS): Call | |
7383 | h8300_hard_regno_nregs(). | |
7384 | (HARD_REGNO_MODE_OK): Call h8300_hard_regno_mode_ok(). | |
7385 | ||
22234f56 PB |
7386 | 2004-02-18 Per Bothner <per@bothner.com> |
7387 | ||
7388 | * cpphash.h (struct cpp_buffer): Restore return_at_eof field. This | |
7389 | partly reverts my 2003-10-01 change, because we're back to logically | |
7390 | including <command line> inside the main line. | |
7391 | * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field. | |
7392 | * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer. | |
7393 | Fixes PR preprocessor/14103. | |
7394 | ||
7395 | * cppfiles.c (_cpp_stack_include): When appropriate decrement | |
7396 | line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION. | |
7397 | (cpp_push_include): Don't need to increment pfile's line field. | |
7398 | * line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1. | |
7399 | ||
7400 | * c-ppoutput.c (print struct): New first_time field. | |
7401 | (init_pp_output): Set print.first_time. | |
7402 | (pp_file_change): Use print.first_time, rather than MAIN_FILE_P, | |
7403 | which is set also for (say) <command line>. Clear print.first_time. | |
7404 | ||
7405 | * cppfiles.c (struct _cpp_file): Comment and type for pch field | |
7406 | does not match the code, so fix both. | |
7407 | (should_stack_file): Inline include_pch_p function. | |
7408 | (include_pch_p): Remove pointless function. | |
7409 | ||
7410 | * cpphash.h (struct cpp_buffer): Remove unused search_cached field. | |
7411 | ||
5a6d9a81 KH |
7412 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
7413 | ||
7414 | * config/h8300/h8300.md (four define_peephole2's): Use | |
7415 | h8300_regs_ok_for_stm(). | |
7416 | ||
3d2e90d6 KH |
7417 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
7418 | ||
7419 | * config/h8300/h8300-protos.h: Update the prototype for | |
7420 | expand_a_rotate(). | |
7421 | * config/h8300/h8300.c (expand_a_rotate): Remove the first | |
7422 | argument. | |
7423 | * config/h8300/h8300.md: Update all callers. | |
7424 | ||
79ae63b1 JH |
7425 | 2004-02-18 Jan Hubicka <jh@suse.cz> |
7426 | ||
7427 | * simplify-rtx.c (simplify_unary_operation): Deal with logicals on | |
7428 | floats. | |
7429 | (simplify_binary_operation): Deal with logicals on floats. | |
7430 | ||
7431 | * i386.md (SSE fabs splitters): Emit new patterns. | |
7432 | (SSE cmov splitters): Likewise. | |
7433 | (sse_andv4sf3, sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3 | |
7434 | (sse_andv2df3, sse_nandv2df3, sse_iorv2df3, sse_xorv2df3): Do not use | |
7435 | subregs. | |
7436 | (sse_andsf3, sse_nandsf3, sse_xorsf3): Kill. | |
7437 | (sse_anddf3, sse_nanddf3, sse_xordf3): Kill. | |
7438 | ||
01ab5574 KH |
7439 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
7440 | ||
7441 | * config/h8300/h8300.c (expand_a_rotate): Don't generate insns | |
7442 | by hand. | |
7443 | (output_a_rotate): Tweak a comment. | |
7444 | * config/h8300/h8300.md (*rotlqi3_1): Change to rotlqi3_1. | |
7445 | (*rotlhi3_1): Change to rotlhi3_1. | |
7446 | (*rotlsi3_1): Change to rotlsi3_1. | |
7447 | ||
d5f7d2d0 RE |
7448 | 2004-02-18 Richard Earnshaw <rearnsha@arm.com> |
7449 | ||
7450 | PR target/13866 | |
7451 | * arm.c (load_multiple_operation): Don't insist that the source reg | |
7452 | of a post-increment component is the same as the destination. | |
7453 | (store_multiple_operation): Likewise. | |
7454 | ||
b0c8a821 KH |
7455 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
7456 | ||
7457 | * config/h8300/h8300.md: Move movsf patterns into one section | |
7458 | of the file. | |
7459 | ||
aa335b76 KH |
7460 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
7461 | ||
7462 | * cfgloop.h, cfgloopanal.c, cpplex.c, except.h, loop-init.c, | |
7463 | loop-unroll.c, scan-decls.c, scan.h, stor-layout.c, | |
7464 | xcoffout.c, xcoffout.h, config/arm/mmintrin.h, | |
7465 | config/mips/linux64.h, config/pa/pa-64.h, | |
7466 | config/rs6000/aix51.h, config/rs6000/aix52.h, | |
7467 | config/rs6000/spe.md, config/sparc/linux.h, | |
7468 | config/sparc/linux64.h: Update copyright. | |
7469 | ||
5a64541a KH |
7470 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
7471 | ||
7472 | * config/h8300/h8300.md: Move push patterns into one | |
7473 | section of the file. | |
7474 | ||
8d04e6db MM |
7475 | 2004-02-18 Mark Mitchell <mark@codesourcery.com> |
7476 | ||
7477 | PR c++/11326 | |
7478 | * config/ia64/ia64.c (ia64_struct_value_rtx): Cope with NULL | |
7479 | fntype. | |
7480 | ||
e978d62e PB |
7481 | 2004-02-18 Paul Brook <paul@codesourcery.com> |
7482 | ||
7483 | * rtlanal.c (rtx_varies_p): Return 0 for NULL_RTX | |
7484 | ||
cdbafce1 PB |
7485 | 2004-02-18 Paul Brook <paul@codesourcery.com> |
7486 | ||
c5fe5036 | 7487 | PR debug/12934 |
cdbafce1 PB |
7488 | * dwarf2out.c (loc_descriptor_from_tree): Handle |
7489 | EXPR_WITH_FILE_LOCATION. | |
7490 | ||
5a0855a0 JJ |
7491 | 2004-02-18 Jakub Jelinek <jakub@redhat.com> |
7492 | ||
7493 | * config/i386/i386.md (zero_extendqidi2, zero_extendqidi2, | |
7494 | testdi_1_rex64, anddi_2, xordi_1_rex64, xordi_2_rex64): Remove | |
7495 | trailing whitespace from instructions. | |
7496 | ||
9c56033f GK |
7497 | 2004-02-17 Geoffrey Keating <geoffk@apple.com> |
7498 | ||
7499 | * configure.ac: When generating auto-build.h, pass | |
7500 | --enable-languages to the sub-configure. | |
7501 | Put quotes around ${program_transform_name} when generating | |
7502 | name of as, ld, nm, objdump. | |
7503 | * configure: Regenerate. | |
7504 | ||
80bcb4d2 MK |
7505 | 2004-02-17 Matt Kraai <kraai@alumni.cmu.edu> |
7506 | ||
7507 | * Makefile.in (s-check, s-config, s-conditions, s-flags) | |
7508 | (s-codes, s-constants, s-emit, s-recog, s-opinit, s-extract) | |
7509 | (s-peep, s-attr, s-attrtab, s-output, s-genrtl, s-modes) | |
7510 | (s-preds, s-iov): Do not depend on move-if-change. | |
7511 | ||
ce7b36a4 JW |
7512 | 2004-02-17 James E Wilson <wilson@specifixinc.com> |
7513 | ||
7514 | * caller-save.c (insert_restore): Pass mem through copy_rtx. | |
7515 | (insert_save): Likewise. | |
7516 | ||
f8b58e56 KH |
7517 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7518 | ||
7519 | * config/h8300/h8300.c (h8300_emit_stack_adjustment): Fix a | |
7520 | warning. | |
7521 | ||
8d82e1d8 KH |
7522 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7523 | ||
7524 | * config/h8300/h8300.md (*one_complsi2_h8300): Change to | |
7525 | *one_cmplsi2_h8300. | |
7526 | (*one_complsi2_h8300hs): Change to *one_cmplsi2_h8300hs. | |
7527 | ||
4093985c KH |
7528 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7529 | ||
7530 | * config/h8300/h8300-protos.h: Update the prototype of | |
7531 | fix_bit_operand(). | |
7532 | * config/h8300/h8300.c (fix_bit_operand): Remove the second | |
7533 | argument "what". | |
7534 | * config/h8300/h8300.md: Update all callers. | |
7535 | ||
fd57a6e4 KH |
7536 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7537 | ||
7538 | * config/h8300/h8300.c (fix_bit_operand): Change the name of | |
7539 | the last argument to "code" from "type". | |
7540 | ||
6a415867 KH |
7541 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7542 | ||
7543 | * config/h8300/h8300.c: Remove an extern declaration of | |
7544 | rtx_equal_function_value_matters. | |
7545 | ||
a3579575 KH |
7546 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7547 | ||
7548 | * config/h8300/h8300.c (fix_bit_operand): Don't generate insns | |
7549 | by hand. | |
7550 | * config/h8300/h8300.md (*andqi3_1): Change to andqi3_1. | |
7551 | (*iorqi3_1): Change to iorqi3_1. | |
7552 | (*xorqi3_1): Change to xorqi3_1. | |
7553 | ||
321440fd KH |
7554 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7555 | ||
7556 | * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment | |
7557 | typos. | |
7558 | ||
7b50a809 JH |
7559 | 2004-02-17 Jan Hubicka <jh@suse.cz> |
7560 | ||
7561 | * i386.c (x86_prologue_using_move, x86_epilogue_using_move): Disable for P4. | |
7562 | ||
8051c2eb AM |
7563 | 2004-02-18 Alan Modra <amodra@bigpond.net.au> |
7564 | ||
7565 | PR optimization/14119 | |
7566 | * combine.c (try_combine): When attemting to fix unrecognized insns, | |
7567 | don't delete SETs marked with REG_EH_REGION notes. | |
7568 | ||
db33236e UW |
7569 | 2004-02-17 Ulrich Weigand <uweigand@de.ibm.com> |
7570 | ||
57d4f65c | 7571 | * combine.c (simplify_if_then_else): Do not replace |
db33236e UW |
7572 | (if_then_else (ne reg 0) (0) (const_int)) by (reg) if the |
7573 | modes differ. | |
7574 | ||
1da326c3 SB |
7575 | 2004-02017 Steven Bosscher <stevenb@suse.de> |
7576 | ||
7577 | * (c-decl.c, c-semantics.c, calls.c, cgraph.c, cgraphunit.c, | |
7578 | function.c, integrate.c, print-tree.c, toplev.c, tree-optimize.c, | |
7579 | tree.h): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION. | |
7580 | * ada/utils.c: Likewise. | |
7581 | * cp/decl.c: Likewise. | |
7582 | * f/com.c: Likewise. | |
7583 | * java/class.c: Likewise. | |
7584 | ||
65c07641 KH |
7585 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7586 | ||
7587 | * config/h8300/h8300.md: Fix comment typos. | |
7588 | ||
3e35cb0c RO |
7589 | 2004-02-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7590 | ||
7591 | * config/mips/t-iris6gld: Renamed to ... | |
7592 | * config/mips/t-irix-gld: ... this. | |
7593 | * config.gcc (mips-sgi-irix6*): Reflect this | |
7594 | (mips-sgi-irix5*): Use it with GNU ld. | |
57d4f65c | 7595 | |
3e35cb0c RO |
7596 | * config/mips/irix6-crti.asm, config/mips/irix6-crtn.asm: Renamed |
7597 | to ... | |
7598 | * config/mips/irix-crti.asm, config/mips/irix-crtn.asm: ... this. | |
7599 | * config/mips/t-irix-gld: Reflect this. | |
7600 | * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
57d4f65c | 7601 | |
3e35cb0c RO |
7602 | * config/mips/iris5gld.h: New file. |
7603 | * config.gcc (mips-sgi-irix5*): Use it with GNU ld. | |
7604 | Only use collect2 without gas. | |
57d4f65c | 7605 | |
3e35cb0c RO |
7606 | * config/mips/iris6.h (IRIX6_STARTFILE_SPEC, IRIX6_ENDFILE_SPEC): |
7607 | Renamed to IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC. | |
7608 | (STARTFILE_SPEC, ENDFILE_SPEC, SUBTARGET_EXTRA_SPECS): Reflect this. | |
7609 | * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
57d4f65c | 7610 | |
3e35cb0c RO |
7611 | * config/mips/iris6.h (SUBTARGET_EXTRA_SPECS): Moved ... |
7612 | * config/mips/iris5.h: ... here. | |
7613 | ||
7614 | * config/mips/iris5.h (STARTFILE_SPEC, ENDFILE_SPEC): Renamed to | |
57d4f65c | 7615 | IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC. |
3e35cb0c | 7616 | (STARTFILE_SPEC, ENDFILE_SPEC): Define. |
57d4f65c | 7617 | |
3e35cb0c RO |
7618 | * config/mips/iris5gas.h (STARTFILE_SPEC, ENDFILE_SPEC): Simplify |
7619 | using irix_startfile_spec, irix_endfile_spec. | |
7620 | ||
1f0282cb GN |
7621 | 2004-02-16 Gunther Nikl <gni@gecko.de> |
7622 | ||
7623 | * config/m68k/m68k.c: Remove obsolete support for HPUX_ASM. | |
7624 | ||
6552458a KH |
7625 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7626 | ||
7627 | * config/h8300/h8300.c (h8300_expand_prologue): Don't generate | |
7628 | insns by hand. | |
7629 | ||
017b3258 ZD |
7630 | 2004-02-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
7631 | ||
7632 | * cfghooks.c (split_edge): Speed up updating of dominators. | |
7633 | ||
57782ad8 MM |
7634 | 2004-02-17 Mark Mitchell <mark@codesourcery.com> |
7635 | ||
7636 | PR c++/11326 | |
7637 | * c-common.c (flag_abi_version): Remove. | |
7638 | * c-common.h (flag_abi_version): Likewise. | |
7639 | * c-opts.c (c_common_handle_option): Remove OPT_fabi_version case. | |
7640 | * c.opt (fabi-version): Remove. | |
7641 | * calls.c (expand_call): Always pass a function type to | |
7642 | struct_value_rtx. Use convert_memory_address. | |
7643 | * common.opt (fabi-version): Add it. | |
7644 | * flags.h (flag_abi_version): Likewise. | |
7645 | (abi_version_at_least): New macro. | |
7646 | * opts.c (common_handle_option): Add OPT_fabi_version. | |
7647 | * toplev.c (flag_abi_version): Define it. | |
7648 | * config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p): | |
7649 | New function. | |
7650 | (ia64_output_mi_thunk): Use it. | |
7651 | (ia64_struct_value_rtx): Likewise. | |
57d4f65c | 7652 | |
72b1de44 KH |
7653 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7654 | ||
7655 | * config/h8300/h8300.c (h8300_emit_stack_adjustment): | |
7656 | Don't generate insns by hand. | |
7657 | ||
d150ccef AP |
7658 | 2004-02-17 Andrew Pinski <pinskia@physics.uc.edu> |
7659 | ||
7660 | PR c++/14178 | |
7661 | * doc/invoke.texi (fabi-version): The default is 2 now. | |
7662 | ||
50654f6c ZD |
7663 | 2004-02-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
7664 | ||
7665 | * loop-iv.c: New file. | |
7666 | * Makefile.in (loop-iv.o): New. | |
7667 | * basic_block.h (FOR_BB_INSNS, FOR_BB_INSNS_REVERSE): New macros. | |
7668 | * cfgloop.c (fill_sons_in_loop, get_loop_body_in_dom_order, | |
7669 | num_loop_branches): New functions. | |
7670 | * cfgloop.h (get_loop_body_in_dom_order, num_loop_branches, | |
7671 | iv_analysis_loop_init, iv_get_reaching_def, iv_analyse, get_iv_value, | |
7672 | find_simple_exit, iv_number_of_iterations, iv_analysis_done, | |
7673 | get_simple_loop_desc, free_simple_loop_desc): Declare. | |
7674 | (simple_loop_desc): New inline function. | |
7675 | (struct rtx_iv, struct niter_desc): New. | |
7676 | * cfgloopmanip.c (loopify): Specify semantics more precisely. | |
7677 | * expr.c (force_operand): Handle subregs of expressions created by | |
7678 | loop unroller. | |
7679 | * loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Move | |
7680 | parts of the initialization to toplev.c | |
7681 | * loop-unroll.c (loop_exit_at_end_p): New. | |
7682 | (unroll_and_peel_loops): Call iv_analysis_done. | |
7683 | (decide_peel_once_rolling, decide_peel_completely, | |
7684 | decide_unroll_stupid, decide_unroll_constant_iterations, | |
7685 | decide_unroll_runtime_iterations, decide_peel_simple, | |
7686 | peel_loop_simple, unroll_loop_stupid, unroll_loop_constant_iterations, | |
7687 | unroll_loop_runtime_iterations): Use new simple loop analysis. | |
7688 | * loop-unswitch.c (compare_and_jump_seq): New. | |
7689 | (may_unswitch_on_p): Renamed to ... | |
7690 | (may_unswitch_on): Use new iv analysis. | |
7691 | (reversed_condition): Export. | |
7692 | (unswitch_single_loop, unswitch_loop): Use new iv analysis. | |
7693 | * predict.c (estimate_probability): Use new simple loop analysis. | |
7694 | * rtl.h (get_mode_bounds, reversed_condition,compare_and_jump_seq, | |
7695 | canon_condition, simplify_using_condition): Declare. | |
7696 | * stor-layout.c (get_mode_bounds): New. | |
7697 | * toplev.c (rest_of_handle_loop2): Some parts of | |
7698 | initialization/finalization moved here from loop-init.c. | |
7699 | ||
ef3f573f KH |
7700 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
7701 | ||
7702 | * config/h8300/h8300.h (FIXED_REGISTERS): Add the soft frame | |
7703 | pointer. | |
7704 | (CALL_USED_REGISTERS): Likewise. | |
7705 | (REG_ALLOC_ORDER): Likewise. | |
7706 | (REG_CLASS) <GENERAL_REGS>: Likewise. | |
7707 | ||
e3d6e740 GK |
7708 | 2004-02-16 Geoffrey Keating <geoffk@apple.com> |
7709 | ||
7710 | * doc/md.texi (Insn Canonicalizations): Document left-chaining | |
7711 | in associative operators. | |
7712 | * rtlanal.c (commutative_operand_precedence): Create some new | |
7713 | variables. Prefer a commutative operand on the left, then | |
7714 | binary expressions, then NEG and NOT. | |
7715 | ||
8c958ed2 MK |
7716 | 2004-02-16 Matthias Klose <doko@debian.org> |
7717 | ||
57d4f65c ZW |
7718 | * config/t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME |
7719 | in terms of SHLIB_SOVERSION. | |
7720 | * config/m68k/t-slibgcc-elf-ver: New file. | |
7721 | * config/pa/t-slibgcc-elf-ver: New file. | |
7722 | * config.gcc (m68k-linux, parisc-linux): Use them when not | |
8c958ed2 MK |
7723 | sjlj exceptions are not configured. |
7724 | ||
42a5f3c0 EB |
7725 | 2004-02-16 Eric Botcazou <ebotcazou@libertysurf.fr> |
7726 | ||
7727 | * config/sparc/sparc.c (get_pc_symbol_name): Mark with GTY(()). | |
7728 | ||
1729e46c ZW |
7729 | 2004-02-16 Zack Weinberg <zack@codesourcery.com> |
7730 | ||
7731 | * sdbout.c (sdb_debug_hooks): Correct the type_decl entry. | |
7732 | ||
0acdc221 JM |
7733 | 2004-02-16 Joseph S. Myers <jsm@polyomino.org.uk> |
7734 | ||
7735 | * doc/sourcebuild.texi: Mention backends.html. | |
7736 | ||
9ac97460 KH |
7737 | 2004-02-16 Kazu Hirata <kazu@cs.umass.edu> |
7738 | ||
7739 | * c-decl.c, c-ppoutput.c, cpphash.h, cpplib.h, dbxout.c, | |
7740 | line-map.c, line-map.h, var-tracking.c: Fix comment | |
7741 | formatting. | |
7742 | ||
9dcb4381 RH |
7743 | 2004-02-16 Richard Henderson <rth@redhat.com> |
7744 | ||
7745 | * cse.c (cse_insn): Don't lose REG_NON_LOCAL_GOTO note. | |
7746 | ||
1729e46c | 7747 | * fold-const.c (operand_equal_p): Fix VECTOR_CST comparison. |
875427f0 | 7748 | |
1472042a KH |
7749 | 2004-02-15 Kazu Hirata <kazu@cs.umass.edu> |
7750 | ||
7751 | * config/h8300/h8300.md: Remove unnecessary parallels from | |
7752 | all define_insn and define_split patterns. | |
7753 | ||
24f29b06 KH |
7754 | 2004-02-15 Kazu Hirata <kazu@cs.umass.edu> |
7755 | ||
7756 | * config/h8300/h8300.md: Remove explicit (set_attr "cc" | |
7757 | "clobber"). | |
7758 | ||
ac5f9961 BI |
7759 | 2004-02-15 Bernardo Innocenti <bernie@develer.com> |
7760 | ||
7761 | * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for | |
7762 | '%#'. | |
7763 | ||
68776c43 KH |
7764 | 2004-02-15 Kazu Hirata <kazu@cs.umass.edu> |
7765 | ||
7766 | * config/ia64/ia64.c, config/mips/mips.c, | |
7767 | config/mmix/mmix-modes.def: Fix comment typos. | |
7768 | ||
7501c4e4 RS |
7769 | 2004-02-15 Roger Sayle <roger@eyesopen.com> |
7770 | ||
7771 | * c-common.h (GET_DIRECTIVE_LINE): Remove unused macro. | |
7772 | (get_directive_line): Remove unused function prototype. | |
7773 | ||
5852680b JZ |
7774 | 2004-02-14 Josef Zlomek <zlomekj@suse.cz> |
7775 | ||
7776 | * tree-inline.c (copy_body_r): Do not replace ret_label. | |
7777 | ||
be04394b JH |
7778 | 2004-02-14 Jan Hubicka <jh@suse.cz> |
7779 | ||
7780 | * i386.c (x86_four_jump_limit): New variable. | |
7781 | (k8_avoid_jump_misspredicts): Rename to ... | |
7782 | (ix86_avoid_jump_misspredicts): .. this one. | |
7783 | (ix86_pad_returns): Break out from ... | |
7784 | (ix86_reorg): ... this one; do ix86_avoid_jump_misspredicts when asked | |
7785 | to. | |
7786 | * i386.h (TARGET_FOUR_JUMP_LIMIT): New macro. | |
7787 | ||
d4afac5b JZ |
7788 | 2004-02-14 Josef Zlomek <zlomekj@suse.cz> |
7789 | ||
7790 | * emit-rtl.c (set_decl_incoming_rtl): Check whether the 0th element of | |
7791 | PARALLEL is NULL. | |
7792 | ||
c7762b44 PB |
7793 | 2004-02-14 Per Bothner <per@bothner.com> |
7794 | ||
7795 | * fix-header.c (line_table): Move local variable in main to global. | |
7796 | * scan.h (line_table): Use it. | |
7797 | * scan-decls.c (scan_decls): Need to call linemap_lookup on token's | |
7798 | line (recently renamed to src_loc) before calling recognized_function. | |
7799 | ||
cb7c0b5a MK |
7800 | 2004-02-14 Matt Kraai <kraai@alumni.cmu.edu> |
7801 | ||
7802 | * Makefile.in: Fix comment typos. | |
7803 | ||
45f9877a EB |
7804 | 2004-02-14 Olivier Hainque <hainque@act-europe.fr> |
7805 | ||
7806 | * loop.c (check_dbra_loop): Use gen_int_mode instead of GEN_INT | |
7807 | for start_value when it is directly moved into reg, and factorize | |
7808 | the retrieval of GET_MODE (reg). | |
7809 | ||
544142d8 RS |
7810 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
7811 | ||
7812 | * config/mips/mips-protos.h (mips_load_got_page): Delete. | |
7813 | (mips_load_got_global): Delete. | |
7814 | (mips_gotoff_page): Declare. | |
7815 | * config/mips/mips.md (UNSPEC_LOAD_GOT): New constant. | |
7816 | (*xgot_lo[sd]i, *got_disp[sd]i, *got_page[sd]i): Build an | |
7817 | UNSPEC_LOAD_GOT pattern rather than a MEM. | |
7818 | (*load_got[sd]i): New patterns. | |
7819 | * config/mips/mips.c (mips_got_alias_set, mips_load_got): Delete. | |
7820 | (mips_load_got_page, mips_load_got_global): Delete. | |
7821 | (mips_gotoff_page): New function. | |
7822 | (override_options): Don't initialize mips_got_alias_set. | |
7823 | ||
d2888f1d RS |
7824 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
7825 | ||
7826 | * config/mips/mips.h (MASK_DEBUG_[ABEFI], TARGET_DEBUG_[ABEFI]_MODE) | |
7827 | (TARGET_MIPS4100, TARGET_MIPS4300, TARGET_MIPS4KC, TARGET_MIPS5KC) | |
7828 | (TARGET_SB1, TUNE_SB1, TUNE_SR71K, BIGGEST_MAX_ARGS_IN_REGISTERS) | |
7829 | (GO_PRINTF, GO_PRINTF2, GO_DEBUG_RTX, DFMODE_NAN, SFMODE_NAN): Delete. | |
7830 | (TARGET_SWITCHES): Remove MASK_DEBUG_[ABEFI]. | |
7831 | * config/mips/mips.c: Fix some overly-long lines. | |
7832 | (SINGLE_WORD_MODE_P, PIC_OFFSET_TABLE_MASK): Delete. | |
7833 | (init_cumulative_args): Remove TARGET_DEBUG_E_MODE handling. | |
7834 | ||
19baba0b RO |
7835 | 2004-02-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7836 | ||
7837 | * configure.ac: Search for as, ld below libexec/gcc. | |
7838 | * configure: Regenerate. | |
7839 | ||
f07a6b21 BE |
7840 | 2004-02-14 Ben Elliston <bje@wasabisystems.com> |
7841 | ||
7842 | * config/arm/mmintrin.h (_mm_setwcx): Reverse arguments in call to | |
7843 | __builtin_arm_setwcx (). | |
7844 | * config/arm/arm.c (arm_expand_builtin): Generate operands | |
7845 | correctly and reverse their order in call to gen_iwmmxt_tmcr (). | |
7846 | ||
7847 | 2004-02-14 Ben Elliston <bje@wasabisystems.com> | |
7848 | ||
7849 | * config/arm/arm.c (bdesc_2arg): Correct builtin names "wmulsh" | |
7850 | and "wmuluh" to "wmulsm" and "wmulum", respectively. | |
7851 | * config/arm/arm.h (enum arm_builtins): Rename enumerators to | |
7852 | ARM_BUILTIN_WMULSM and ARM_BUILTIN_WMULUM. | |
7853 | * config/arm/mmintrin.h (_mm_mulhi_pi16): Update intrinsic call. | |
7854 | (_mm_mulhi_pu16): Likewise. | |
7855 | ||
f433554b ZW |
7856 | 2004-02-13 Zack Weinberg <zack@codesourcery.com> |
7857 | ||
7858 | * xcoffout.c (xcoff_assign_fundamental_type_number): Check | |
7859 | DECL_NAME != 0 before dereferencing. | |
7860 | ||
faeb9bb6 UW |
7861 | 2004-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
7862 | ||
7863 | * config/s390/s390-protos.h (s390_output_symbolic_const): Remove. | |
7864 | (s390_output_addr_const_extra): Declare. | |
7865 | (s390_output_pool_entry): Remove FILE * argument. | |
7866 | * config/s390/s390.c (s390_output_symbolic_const): Remove. | |
7867 | (s390_output_addr_const_extra): New function. | |
7868 | (print_operand_address): Call output_addr_const instead of | |
7869 | s390_output_symbolic_const. | |
7870 | (print_operand): Likewise. | |
7871 | (s390_output_pool_entry): Use assemble_integer for symbolic constants. | |
7872 | Remove FILE * argument. | |
7873 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Define. | |
7874 | * config/s390/s390.md ("*pool_entry"): Adapt s390_output_pool_entry | |
7875 | call. | |
7876 | ||
cfbe3efe ZD |
7877 | 2004-02-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
7878 | ||
7879 | * cfgloopanal.c (mark_irreducible_loops): Rewriten. | |
7880 | (struct edge, struct vertex, struct graph): New. | |
7881 | (dump_graph, new_graph, add_edge, dfs, check_irred, for_each_edge, | |
7882 | free_graph): New functions. | |
7883 | ||
d349192c CD |
7884 | 2004-02-12 Chris Demetriou <cgd@broadcom.com> |
7885 | ||
7886 | * config/mips/mips.md (casesi_internal, casesi_internal_di): | |
7887 | Use ".set macro" to avoid warnings about multi-instruction | |
7888 | macros, since they're intentional. | |
7889 | ||
52ccb3d2 GK |
7890 | 2004-02-12 Geoffrey Keating <geoffk@apple.com> |
7891 | ||
213c4a8a GK |
7892 | * config/darwin.h: Add include guards. Remove old, now incorrect, |
7893 | comment about STANDARD_EXEC_PREFIX. | |
7894 | ||
52ccb3d2 GK |
7895 | * Makefile.in (install-man): Use $(CPP_INSTALL_NAME) and |
7896 | $(GCOV_INSTALL_NAME) to install manpages. Remove generic rule | |
7897 | for installing .1 manpages. Add rules for installing cpp | |
7898 | and gcov manpages under their installed names. | |
7899 | ||
1a543d25 AO |
7900 | 2004-02-12 Alexandre Oliva <aoliva@redhat.com> |
7901 | ||
7902 | * configure.ac (gcc_cv_ld): Don't set to LD if target is not | |
7903 | host, but try LD_FOR_TARGET first. | |
7904 | * configure: Rebuilt. | |
7905 | ||
8507c40a ZW |
7906 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
7907 | ||
7908 | * dbxout.c: Move declaration of dbxout_type_decl outside | |
7909 | #ifdef DBX_DEBUGGING_INFO. | |
7910 | * c-parse.in: Don't give the asmdef production a type. | |
7911 | ||
21d13d83 ZW |
7912 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
7913 | ||
7914 | * debug.h (struct gcc_debug_hooks): Add type_decl field. | |
7915 | (debug_nothing_tree_int): Prototype. | |
7916 | (dwarf_debug_hooks): Delete, unused. | |
7917 | * debug.c (do_nothing_debug_hooks): Update. | |
7918 | (debug_nothing_tree_int): New function. | |
7919 | * langhooks.h (struct lang_hooks_for_decls): | |
7920 | Remove builtin_type_decls field. | |
7921 | * langhooks-def.h (LANG_HOOKS_BUILTIN_TYPE_DECLS): Delete. | |
7922 | (LANG_HOOKS_DECLS): Update. | |
7923 | * toplev.c (rest_of_decl_compilation, rest_of_type_compilation): | |
7924 | Use debug_hooks->type_decl. | |
7925 | * dbxout.c (preinit_symbols): New static. | |
7926 | (dbx_debug_hooks, xcoff_debug_hooks): Update. | |
7927 | (dbxout_init): Don't call DBX_OUTPUT_STANDARD_TYPES or | |
7928 | lang_hooks.decls.builtin_type_decls. Do scan preinit_symbols | |
7929 | for symbols to output. | |
7930 | (dbxout_type_decl): New function. | |
7931 | (dbxout_symbol): If called before dbxout_init has run, queue | |
7932 | the symbol for later. Apply DBX_ASSIGN_FUNDAMENTAL_TYPE_NUMBER | |
7933 | to TYPE_DECLs before emitting them. | |
7934 | * xcoffout.c (assign_type_number): Delete. | |
7935 | (xcoff_type_numbers): New static table. | |
7936 | (xcoff_assign_fundamental_type_number): New function. | |
7937 | * xcoffout.h: Define DBX_ASSIGN_FUNDAMENTAL_TYPE_NUMBER, not | |
7938 | DBX_OUTPUT_STANDARD_TYPES. Remove unnecessary #ifdefs. | |
7939 | * sdbout.c: Include varray.h. | |
7940 | (deferred_global_decls): New static. | |
7941 | (sdb_debug_hooks): Update. | |
7942 | (sdbout_global_decl): If we can't emit something right now, | |
7943 | remember it in deferred_global_decls. | |
7944 | (sdbout_finish): Just scan deferred_global_decls; don't call getdecls. | |
7945 | (sdbout_init): Initialize deferred_global_decls. | |
7946 | * Makefile.in: Update dependencies of sdbout.o. | |
7947 | * dwarf2out.c (dwarf2out_type_decl): New function. | |
7948 | (dwarf2_debug_hooks): Update. | |
7949 | * vmsdbgout.c (vmsdbg_debug_hooks): Update. | |
7950 | * c-decl.c (getdecls): Just return 0. | |
7951 | (check_for_loop_decls): Don't use getdecls. | |
7952 | (record_builtin_type): Call debug_hooks->type_decl on the TYPE_DECL. | |
7953 | * c-objc-common.c (c_objc_common_finish_file): Don't use getdecls. | |
7954 | ||
a90a16f3 UW |
7955 | 2004-02-12 Ulrich Weigand <uweigand@de.ibm.com> |
7956 | ||
7957 | * config/s390/s390.c (s390_sched_reorder2): Remove. | |
7958 | (TARGET_SCHED_REORDER2): Do not redefine. | |
7959 | ||
9f0e2d86 ZW |
7960 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
7961 | ||
7962 | * c-parse.in (maybe_type_qual): Delete. | |
7963 | (maybe_volatile, simple_asm_expr, asmdef, asm_stmt) | |
7964 | (asm_argument): New grammar rules. | |
7965 | (extdef_1): Use asmdef. | |
7966 | (maybeasm): Move down with other asm rules; use simple_asm_expr. | |
7967 | (xexpr): Move up with other expression rules. | |
7968 | (stmt): Use asm_stmt. | |
7969 | ||
7970 | * c-typeck.c (build_asm_expr): New function - body mostly | |
7971 | pulled from build_asm_stmt. | |
7972 | (build_asm_stmt): Just handle tacking on the volatile qualifier. | |
7973 | * c-tree.h (build_asm_expr, build_asm_stmt): Update prototypes. | |
7974 | ||
35f5add9 RS |
7975 | 2004-02-12 Richard Sandiford <rsandifo@redhat.com> |
7976 | ||
7977 | PR bootstrap/13617 | |
7978 | * config/mips/mips-protos.h (mips_output_aligned_decl_common): Declare. | |
7979 | (mips_declare_object): Make variadic. | |
7980 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use | |
7981 | mips_output_aligned_decl_common. | |
7982 | * config/mips/mips.c (mips_output_aligned_decl_common): New function. | |
7983 | (mips_declare_object): Make variadic. | |
7984 | ||
a5e9c810 RK |
7985 | 2004-02-12 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7986 | ||
8fbc67c0 RK |
7987 | * function.c (update_epilogue_consts): Teach about binary operations. |
7988 | ||
a5e9c810 RK |
7989 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Don't kill |
7990 | previous MEM_VOLATILE in REF. | |
7991 | * function.c (fixup_var_refs): Save volatile_ok and set to 1. | |
7992 | * expr.c (emit_block_move_via_movstr): Save and restore volatile_ok. | |
7993 | ||
7ea98c5a GN |
7994 | 2004-02-12 Gunther Nikl <gni@gecko.de> |
7995 | ||
7996 | * config.gcc: Restore support for m68k-openbsd. | |
7997 | ||
8f6a8d03 JH |
7998 | 2004-02-12 Jan Hubicka <jh@suse.cz> |
7999 | ||
8000 | * tree-optimize.c (tree_rest_of_compilation): Do not release | |
8001 | DECL_ARGUMENTS. | |
8002 | ||
c2910edf MK |
8003 | 2004-02-11 Matt Kraai <kraai@alumni.cmu.edu> |
8004 | ||
8005 | * doc/install.texi: Fix the spelling of "explicitly". | |
8006 | ||
423e95e2 EC |
8007 | 2004-02-11 Eric Christopher <echristo@redhat.com> |
8008 | ||
8009 | * cppcharset.c (_cpp_interpret_string_notranslate): Rename and | |
8010 | duplicate argument structure of cpp_interpret_string. | |
8011 | * cpphash.h: Move prototype... | |
8012 | * cpplib.h: Here. | |
8013 | * cpplib.c: Fix calls to match new function signature. | |
8014 | ||
32e8aa9a JM |
8015 | 2004-02-11 Joseph S. Myers <jsm@polyomino.org.uk> |
8016 | ||
8017 | PR c/456 | |
8018 | * cppexp.c (num_binary_op): Don't allow comma operators in #if | |
8019 | constant expressions at all outside C99 mode if pedantic. | |
8020 | ||
3b8e0c91 UB |
8021 | 2004-02-11 Uros Bizjak <uros@kss-loka.si> |
8022 | ||
8023 | * optabs.h (enum optab_index): Add new OTI_log10 and OTI_log2. | |
8024 | (log10_optab, log2_optab): Define corresponding macros. | |
8025 | * optabs.c (init_optabs): Initialize log10_optab and log2_optab. | |
8026 | * genopinit.c (optabs): Implement log10_optab and log2_optab | |
8027 | using log10?f2 and log2?f2 patterns. | |
8028 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG10{,F,L} | |
8029 | using log10_optab, and BUILT_IN_LOG2{,F,L} using log2_optab. | |
8030 | (expand_builtin): Expand BUILT_IN_LOG10{,F,L} and BUILT_IN_LOG2{,F,L} | |
8031 | using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
8032 | ||
8033 | * config/i386/i386.md (log10sf2, log10df2, log10xf2, log2sf2, | |
8034 | log2df2, log2xf2): New patterns to implement log10, log10f, log10l, | |
8035 | log2, log2f and log2l built-ins as inline x87 intrinsics. | |
8036 | ||
a6abdce3 RH |
8037 | 2004-02-11 Richard Henderson <rth@redhat.com> |
8038 | ||
888ff7a1 | 8039 | PR target/1532 |
a6abdce3 RH |
8040 | * flow.c (insn_dead_p): A clobber of a dead hard register is a |
8041 | dead insn after reload. | |
8042 | ||
05ac140e UW |
8043 | 2004-02-11 Ulrich Weigand <uweigand@de.ibm.com> |
8044 | ||
8045 | * tree.h (frame_base_decl): Add GTY marker. | |
8046 | * var-tracking.c (frame_base_decl): Likewise. | |
8047 | ||
e193b408 DB |
8048 | 2004-02-11 Daniel Berlin <dberlin@dberlin.org> |
8049 | ||
8050 | * dwarf2out.c (output_loc_list): Remove no longer necessary, and now | |
8051 | incorrect, hunk. | |
8052 | (add_location_or_const_value_attribute): Use text_section_label, | |
8053 | not TEXT_SECTION_NAME. | |
12f9df4e PB |
8054 | |
8055 | 2004-02-11 Per Bothner <per@bothner.com> | |
8056 | ||
8057 | Represent column numbers using line-map's source_location. | |
8058 | The "next available source_location" is now managed internally by | |
8059 | line-maps.c rather than by clients. | |
8060 | * line-map.h (struct line_map): New field column_bits. | |
8061 | <from_line>: Rename field to start_location. | |
8062 | (struct line_maps): New fields highest_location and max_column_hint. | |
8063 | (linemap_check_files_exited): New declaration. | |
8064 | (linemap_line_start): New declaration. | |
8065 | (linemap_add): Remove from_line parameter; use highest_location field. | |
8066 | (SOURCE_LINE, LAST_SOURCE_LINE): Modify to use column_bits. | |
8067 | (SOURCE_COLUMN, LAST_SOURCE_LINE_LOCATION): New macros. | |
8068 | (CURRENT_LINE_MAP): Remove macro. | |
8069 | (linemap_position_for_column): New inline function. | |
8070 | * line-map.c (linemap_init): Clear new fields. | |
8071 | (linemap_check_files_exited): New function, extracted from ... | |
8072 | (linemap_free): Use linemap_check_files_exited. | |
8073 | (linemap_add): Remove from_line parameter. Various updates. | |
8074 | (linemap_line_start): New function. | |
8075 | (linemap_lookeup): Update for new field names. | |
8076 | * cpphash.h (struct cpp_reader) <map>: Field removed. Because | |
8077 | linemap_position_for_column may unpredictably change the current map, | |
8078 | it is cleaner and simpler for us to not cache it in cpp_reader. | |
8079 | (struct cpp_buffer): New sysp field. | |
8080 | Changed warned_cplusplus_comments and from_stage3 to bitfields. | |
8081 | * cppinit.c (cpp_read_min_file): pfile->map no longer exists. | |
8082 | * cpplib.c (do_line, do_linemarker, _cpp_do_file_change): Get | |
8083 | current map using linemap_lookup. | |
8084 | (do_linemarker): Also set buffer's sysp field. | |
8085 | (destringize_and_run): No longer need to decrement current line. | |
8086 | * cppfiles.c (_cpp_stack_file): Set sysp from and in buffer. | |
8087 | (search_path_head, open_file_failed): Use buffer's sysp. | |
8088 | (cpp_make_system_header): Get current map using linemap_lookup. | |
8089 | Also set buffer's sysp flag. | |
8090 | * cppmacro.c (_cpp_builtin_macro_text): Likewise use linemap_lookup. | |
8091 | * cpphash.h (CPP_INCREMENT_LINE): New macro. | |
8092 | (struct cpp_buffer): Moved fields saved_cur, saved_rlimit to ... | |
8093 | (struct cpp_reader): ... and adding saved_line_base field. | |
8094 | * cpptrad.c (_cpp_overlay_buffer, _cpp_remove_overlay): | |
8095 | Update accordingly. Don't adjust line. | |
8096 | (_cpp_scan_out_logical_line): Use CPP_INCREMENT_LINE. | |
8097 | * cpphash.c (CPP_IN_SYSTEM_HEADER): Replaced macro by ... | |
8098 | (cpp_in_system_header): ... new inline function, using buffer's sysp. | |
8099 | * cpperror.c (_cpp_begin_message): Update to use cpp_in_system_header. | |
8100 | * cpplex.c (_cpp_lex_direct): Likewise. | |
8101 | * cppmacro.c (_cpp_builtin_macro_text): Likewise. | |
8102 | * cppmacro.c (_cpp_create_definition): Use buffer's sysp field. | |
8103 | * cpplib.h (struct cpp_token): Rename line field to src_loc. | |
8104 | Remove col field as it is now subsumed by src_loc. | |
8105 | * cpperror.c: Update various field, parameter, and macro names. | |
8106 | (print_location): If col==0, try SOURCE_COLUMN of line. | |
8107 | (cpp_error): Use cur_token's src_loc field, rather than line+col. | |
8108 | * cpplib.c (do_diagnostic): Token's src_loc fields replaces line+col. | |
8109 | * cpplex.c (_cpp_process_line_notes, _cpp_lex_direct, | |
8110 | _cpp_skip_block_comment): Use CPP_INCREMENT_LINE. | |
8111 | (_cpp_temp_token): Replace cpp_token's line+col fields by src_loc. | |
8112 | (_cpp_get_fresh_line): Don't need to adjust line for missing newline. | |
8113 | (_cpp_lex_direct): Use linemap_position_for_column. | |
8114 | * c-ppoutput.c (maybe_print_line, print_line): Don't take map | |
8115 | parameter. Instead get it from the line_table global. Adjust callers. | |
8116 | (print): Remove map field. Replace line field to src_line. | |
8117 | (init_pp_output, account_for_newlines, maybe_print_line): Adjust. | |
8118 | (cb_line_change): Use SOURCE_COLUMN. Minor optimizations. | |
8119 | (pp_file_change): Use MAIN_FILE_P since we cannot checked print.map. | |
8120 | Use LAST_SOURCE_LINE_LOCATION to "catch up" after #include. | |
8121 | * cpptrad.c (copy_comment): Rename variable. | |
8122 | * c-lex.c (map): Remove static variable, for same reason we removed | |
8123 | cpp_reader's map field. | |
8124 | (cb_line_change, cb_def_pragma, cb_define, cb_undef): Hence we need | |
8125 | to call linemap_lookup. | |
8126 | (cb_line_change): Token's line field replaced by src_loc. | |
8127 | (fe_file_change): Use MAINFILE_P and LAST_SOURCE_LINE macros. | |
8128 | Don't save new_map. | |
8129 | ||
8130 | * cpphash.h, cpperror.c, cpplib.h: Some renames of fileline to | |
8131 | source_location. | |
8132 | ||
e086f51d | 8133 | 2004-02-11 Hartmut Penner <hpenner@de.ibm.com> |
423e95e2 | 8134 | |
e086f51d HP |
8135 | * config/rs6000/altivec.md (*movv4si_internal): At least one |
8136 | operand must be register_operand. | |
8137 | (*movv8hi_internal1): Likewise. | |
8138 | (*movv16qi_internal1): Likewise. | |
8139 | (*movv4sf_internal1): Likewise. | |
8140 | ||
e66b2fcf | 8141 | 2004-02-10 Aldy Hernandez <aldyh@redhat.com> |
8914b65e AH |
8142 | |
8143 | * config/rs6000/spe.md ("*movv2si_internal"): Check for register | |
8144 | operand. | |
8145 | (movv4hi_internal): Same. | |
8146 | (movv2sf_internal): Same. | |
8147 | (movv1di_internal): Same. | |
e66b2fcf | 8148 | |
7f9be256 TS |
8149 | 2004-02-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
8150 | ||
8151 | * config/mips/mips.h (TARGET_OLDABI): Define. Use TARGET_NEWABI and | |
c0689841 | 8152 | TARGET_OLDABI consistently. |
7f9be256 TS |
8153 | * config/mips/mips.c (function_arg,mips_setup_incoming_varargs, |
8154 | mips_va_arg,override_options,compute_frame_size, | |
8155 | mips_initial_elimination_offset,mips16_fp_args,build_mips16_call_stub | |
8156 | ,mips_return_in_memory,mips_strict_argument_naming): Use TARGET_NEWABI | |
c0689841 | 8157 | and TARGET_OLDABI consistently. |
7f9be256 TS |
8158 | * config/mips/mips.md (exception_receiver): Likewise. |
8159 | * config/mips/linux64.h: Likewise. | |
8160 | ||
6d0ef01e HP |
8161 | 2004-02-11 Hartmut Penner <hpenner@de.ibm.com> |
8162 | ||
8163 | * gcc/config/rs6000/rs6000.c (rs6000_override_options) | |
8164 | Set AltiVec ABI and vrsave as default for ppc64 linux. | |
8165 | (init_cumulative_args): Post error, if try to return | |
8166 | value in AltiVec register without enable AltiVec. | |
423e95e2 | 8167 | (function_arg_advance): Ditto for passing arguments. |
6d0ef01e | 8168 | |
7537fc90 RS |
8169 | 2004-02-11 Richard Sandiford <rsandifo@redhat.com> |
8170 | ||
8171 | * emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to | |
8172 | a label before updating its usage count. | |
8173 | ||
1e9f1674 MK |
8174 | 2004-02-10 Matt Kraai <kraai@alumni.cmu.edu> |
8175 | ||
9f0e2d86 | 8176 | * doc/install.texi: Remove extra cd. |
1e9f1674 | 8177 | |
b34417a4 ZL |
8178 | 2004-02-10 Ziemowit Laski <zlaski@apple.com> |
8179 | ||
8180 | * c-common.c (vector_size_helper): Remove; call | |
8181 | reconstruct_complex_type() instead. | |
8182 | * tree.c (reconstruct_complex_type): New function | |
8183 | (formerly vector_size_helper() in c-common.c). | |
8184 | (make_vector): Make externally visible. | |
8185 | * tree.h (reconstruct_complex_type, make_vector): Add prototypes. | |
8186 | ||
a466bea3 KH |
8187 | 2004-02-10 Kazu Hirata <kazu@cs.umass.edu> |
8188 | ||
8189 | * config/h8300/h8300-protos.h: Add a prototype for | |
8190 | h8300_regs_ok_for_stm. | |
8191 | * config/h8300/h8300.c (h8300_regs_ok_for_stm): New. | |
8192 | * config/h8300/h8300.md (stm_h8300s_2_advanced, | |
8193 | stm_h8300s_2_normal, stm_h8300s_2, stm_h8300s_3_advanced, | |
8194 | stm_h8300s_3_normal, stm_h8300s_3, stm_h8300s_4_advanced, | |
8195 | stm_h8300s_4_normal, stm_h8300s_4, ldm_h8300s_2_advanced, | |
8196 | ldm_h8300s_2_normal, ldm_h8300s_2, ldm_h8300s_3_advanced, | |
8197 | ldm_h8300s_3_normal, ldm_h8300s_3, ldm_h8300s_4_advanced, | |
8198 | ldm_h8300s_4_normal, ldm_h8300s_4): Use | |
8199 | h8300_regs_ok_for_stm(). | |
8200 | ||
52bac949 DS |
8201 | 2004-02-10 Danny Smith <dannysmith@users.sourceforge.net> |
8202 | ||
8203 | PR c/14088 | |
896c3aa3 | 8204 | * real.c (real_from_string): Look for 'X' as well as 'x' in |
52bac949 DS |
8205 | hexfloat strings. |
8206 | ||
2493deee KH |
8207 | 2004-02-10 Kazu Hirata <kazu@cs.umass.edu> |
8208 | ||
8209 | * config/h8300/h8300.md: Remove an incorrect comment about | |
8210 | peephole2. Add comments. | |
8211 | ||
fbe6ec81 JZ |
8212 | 2004-02-10 Josef Zlomek <zlomekj@suse.cz> |
8213 | ||
8214 | PR/14058 | |
8215 | * emit-rtl.c (set_decl_incoming_rtl): New. | |
8216 | * tree.h (set_decl_incoming_rtl): New. | |
8217 | * function.c (assign_parms): Use set_decl_incoming_rtl for setting | |
8218 | DECL_INCOMING_RTL. | |
8219 | * ada/misc.c (adjust_decl_rtl): Likewise. | |
8220 | ||
8a4baa83 PB |
8221 | 2004-02-10 Per Bothner <per@bothner.com> |
8222 | ||
8223 | * c-opts.c (c_common_post_options): Don't emit working directory | |
8224 | in cpp output if -P was specified. | |
8225 | ||
31cc6081 PB |
8226 | 2004-02-10 Paolo Bonzini <bonzini@gnu.org> |
8227 | ||
8228 | PR c/14092 | |
8229 | * fold-const.c (fold) <NEGATE_EXPR>: Convert result of | |
8230 | negate_expr back to the original type. | |
8231 | ||
d1d5c836 AM |
8232 | 2004-02-10 Alan Modra <amodra@bigpond.net.au> |
8233 | ||
8234 | * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't | |
8235 | bump retaddr here. | |
8236 | ||
dad822d3 PB |
8237 | 2004-02-10 Paolo Bonzini <bonzini@gnu.org> |
8238 | ||
8239 | * rtl.h (schedule_insns, schedule_ebbs, fix_sched_param, | |
8240 | gen_lowpart_SUBREG): Move under the file in which they | |
8241 | are actually declared. | |
8242 | ||
cd271054 AC |
8243 | 2004-02-10 Arnaud Charlet <charlet@act-europe.fr> |
8244 | ||
8245 | * doc/sourcebuild.texi: Add libada documentation. | |
8246 | ||
8247 | * doc/install.texi: Update documentation on Ada build, now | |
8248 | that the GNAT lib and tools are built automatically. | |
8249 | ||
117c5858 RS |
8250 | 2004-02-10 Richard Sandiford <rsandifo@redhat.com> |
8251 | ||
8252 | * config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI | |
8253 | && TARGET_IRIX. | |
8254 | ||
42a1b62e ZL |
8255 | 2004-02-09 Ziemowit Laski <zlaski@apple.com> |
8256 | ||
8257 | * objc/objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS' | |
8258 | boundaries outside build_component_ref() call (a macro in ObjC++). | |
8259 | ||
997b8b4d BW |
8260 | 2004-02-09 Bob Wilson <bob.wilson@acm.org> |
8261 | ||
8262 | * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update. | |
8263 | (init_cumulative_args): Likewise. | |
8264 | (a7_overlap_mentioned_p): Delete prototype. | |
8265 | * config/xtensa/xtensa.c (struct machine_function): Replace | |
8266 | incoming_a7_copied field with need_a7_copy and vararg_a7 flags. | |
8267 | Add set_frame_ptr_insn field. | |
8268 | (xtensa_emit_move_sequence): Update call to xtensa_copy_incoming_a7. | |
8269 | (xtensa_copy_incoming_a7): Rewrite to check need_a7_copy flag and check | |
8270 | if the operand is an argument in a7. If so, copy a7 to a new pseudo | |
8271 | at the function entry and replace the operand with the pseudo. | |
8272 | (init_cumulative_args): Remove unused arguments. Add new "incoming" | |
8273 | argument and record this flag in CUMULATIVE_ARGS. | |
8274 | (function_arg): Remove result_mode and special-case code to handle | |
8275 | arguments in a7. Instead, set need_a7_copy flag when there is an | |
8276 | incoming argument in a7. | |
8277 | (xtensa_expand_prologue): Remove code to search for set_frame_ptr insn | |
8278 | and use the value recorded in cfun->machine->set_frame_ptr_insn. | |
8279 | (xtensa_builtin_saveregs): Check for negative gp_left value. Set | |
8280 | need_a7_copy and vararg_a7 flags. Use move_block_from_reg instead of | |
8281 | special-case code. | |
8282 | (a7_overlap_mentioned_p): Delete. | |
8283 | * config/xtensa/xtensa.h (CUMULATIVE_ARGS): Add "incoming" flag. | |
8284 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Remove useless | |
8285 | arguments to init_cumulative_args and pass "incoming" flag instead. | |
8286 | (BLOCK_REG_PADDING): Delete. | |
8287 | * config/xtensa/xtensa.md (movdi, movsf, movdf): Remove unnecessary | |
8288 | checks for reload_in_progress and reload_completed. Update calls to | |
8289 | xtensa_copy_incoming_a7. | |
8290 | (ashlsi3): Rename existing insn to ashlsi3_internal. Add expander | |
8291 | to call xtensa_copy_incoming_a7. | |
8292 | ||
10709fbf DD |
8293 | 2004-02-09 DJ Delorie <dj@redhat.com> |
8294 | ||
8295 | * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No | |
8296 | longer modify standard_exec_prefix, standard_bindir_prefix, or | |
8297 | standard_startfile_prefix. | |
8298 | ||
c76362b4 JW |
8299 | 2004-02-09 James E Wilson <wilson@specifixinc.com> |
8300 | ||
228ae085 JW |
8301 | PR c++/11295 |
8302 | * c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call | |
8303 | to expand_expr_real call, and pass in alt_rtl as last argument. | |
8304 | ||
c76362b4 JW |
8305 | PR libstdc++/5625 |
8306 | * builtin-types.def (BT_WORD, BT_FN_WORD_PTR): New. | |
8307 | * builtins.c (expand_builtin): Handle BUILT_IN_EXTEND_POINTER. | |
8308 | * builtins.def (BUILT_IN_EXTEND_POINTER): New. | |
8309 | * except.c (expand_builtin_extend_pointer): New. | |
8310 | * except.h (expand_builtin_extend_pointer): Declare. | |
8311 | ||
d886a041 DE |
8312 | 2004-02-09 David Edelsohn <edelsohn@gnu.org> |
8313 | ||
8314 | * config/rs6000/rs6000.c (rs6000_emit_move): Remove splitting slow | |
8315 | unaligned loads and stores. | |
8316 | ||
756f76d0 RO |
8317 | 2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8318 | ||
8319 | * config/mips/iris5.h (BSS_SECTION_ASM_OP): Define. | |
8320 | * config/mips/iris6.h (BSS_SECTION_ASM_OP): Undef. | |
8321 | ||
8322 | * config/mips/iris6.h (TARGET_ASM_NAMED_SECTION): Moved ... | |
8323 | * config/mips/iris5.h: ... here. | |
8324 | * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Remove. | |
8325 | ||
8326 | * config/mips/iris6.h (EXTRA_SECTION_FUNCTIONS): Move ... | |
8327 | * config/mips/iris5.h: ... here. | |
8328 | ||
426ca3ca RO |
8329 | 2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8330 | ||
8331 | * configure.ac: Remove default executable files before AC_PROG_CC. | |
8332 | * configure: Regenerate. | |
8333 | ||
500fc80f KH |
8334 | 2004-02-09 Kazu Hirata <kazu@cs.umass.edu> |
8335 | ||
8336 | PR target/13721 | |
8337 | * config/h8300/h8300.c (byte_reg): Call abort() if asked to | |
8338 | print a operand other than a register. | |
8339 | ||
b83c4036 RS |
8340 | 2004-02-09 Roger Sayle <roger@eyesopen.com> |
8341 | ||
8342 | * fold-const.c (fold) <NOP_EXPR>: Use the original type conversion | |
8343 | tree code rather than call fold_convert, which doesn't specify a | |
8344 | default floating point to integer conversion. | |
8345 | ||
3b4b85c9 BI |
8346 | 2004-02-08 Bernardo Innocenti <bernie@develer.com> |
8347 | ||
8348 | * config/m68k/m68k.c, config/m68k/m68k.md (SGS, SGS_CMP_ORDER): Remove | |
8349 | code to support SGS assembler. Reformat adjacent code where possible. | |
b83c4036 RS |
8350 | * config/m68k/m68k.c (switch_table_difference_label_flag): Remove |
8351 | definition. | |
8352 | * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Remove support | |
8353 | for '%#'. | |
3b4b85c9 | 8354 | * config/m68k/linux.h, config/m68k/m68k.c, |
b83c4036 RS |
8355 | * config/m68k/math-68881.h: Replace `%#' with `#' in inline asm |
8356 | macros and asm_printf() format strings. | |
3b4b85c9 BI |
8357 | * config/m68k/m68kelf.h (ASM_OUTPUT_CASE_END): Remove macro definition. |
8358 | * config/m68k/linux.h: Update copyright. | |
8359 | * config/m68k/linux.h, config/m68k/m68k.c: Remove traling whitespace. | |
8360 | ||
01bbf777 | 8361 | 2004-02-08 Andreas Schwab <schwab@suse.de> |
9f0e2d86 | 8362 | Bernardo Innocenti <bernie@develer.com> |
01bbf777 AS |
8363 | |
8364 | * config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with | |
8365 | REGISTER_PREFIX. | |
8366 | * (M68K_FP_REG_NAME): New macro to specify an alternate name for the | |
8367 | frame pointer register, overridable by OS targets. | |
8368 | * (M68K_REGNAME): Macro to obtain register name for asm output, | |
8369 | eventually replacing %a6 with M68K_FP_REG_NAME. | |
8370 | * config/m68k/coff.h (REGISTER_NAMES): Don't redefine. | |
8371 | * config/m68k/linux.h (REGISTER_NAMES): Likewise. | |
8372 | * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise. | |
8373 | * config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise. | |
8374 | * config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x]. | |
8375 | ||
1f6acb82 KH |
8376 | 2004-02-08 Kazu Hirata <kazu@cs.umass.edu> |
8377 | ||
8378 | * target-def.h (TARGET_STRUCT_VALUE_RTX): Define as | |
8379 | hook_rtx_tree_int_null. | |
8380 | * targhooks.c (default_struct_value_rtx): Remove. | |
8381 | * targhooks.h: Remove the prototype for | |
8382 | default_struct_value_rtx. | |
8383 | * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c, | |
8384 | config/fr30/fr30.c, config/h8300/h8300.c, config/i386/i386.c, | |
8385 | config/ip2k/ip2k.c, config/iq2000/iq2000.c, | |
8386 | config/m32r/m32r.c, config/mcore/mcore.c, config/mips/mips.c, | |
8387 | config/mn10300/mn10300.c, config/pdp11/pdp11.c, | |
8388 | config/rs6000/rs6000.c, config/s390/s390.c, | |
8389 | config/stormy16/stormy16.c, config/v850/v850.c, | |
8390 | config/xtensa/xtensa.c (TARGET_STRUCT_VALUE_RTX): Remove. | |
8391 | * doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document the default. | |
8392 | ||
b46b8fb4 JM |
8393 | 2004-02-08 Joseph S. Myers <jsm@polyomino.org.uk> |
8394 | ||
8395 | * README.Portability: Change "ISO C89" to "ISO C90". | |
8396 | * c-parse.in (primary, initelt): Likewise. | |
8397 | ||
7c476bde RS |
8398 | 2004-02-08 Richard Sandiford <rsandifo@redhat.com> |
8399 | ||
8400 | * real.c (encode_ibm_extended): Normalize the input value before | |
8401 | converting it to a double. Handle the case where a normal value | |
8402 | rounds to infinity. | |
8403 | ||
56ae04af KH |
8404 | 2004-02-08 Kazu Hirata <kazu@cs.umass.edu> |
8405 | ||
f934561e KH |
8406 | * c-objc-common.c (c_cannot_inline_tree_fn): Fix a typo in a |
8407 | warning. | |
56ae04af KH |
8408 | * cse.c (preferrable): Change to preferable. Update all of its |
8409 | callers. | |
8410 | * genautomata.c (ainsn): Change | |
8411 | first_ainsn_with_given_equialence_num to | |
8412 | first_ainsn_with_given_equivalence_num. Update all of its | |
8413 | references. | |
8414 | ||
ec1dbfca JH |
8415 | 2004-02-08 Jan Hubicka <jh@suse.cz> |
8416 | ||
8417 | * schedule-ebb.c (schedule_ebbs): Do not allocate reg life data. | |
8418 | ||
f276fb54 DE |
8419 | 2004-02-07 David Edelsohn <edelsohn@gnu.org> |
8420 | ||
8421 | * function.c (assign_parms): Fix formatting. | |
8422 | ||
fefcb65c KH |
8423 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
8424 | ||
8425 | * default.h (PROMOTE_PROTOTYPES): Remove. | |
8426 | * system.h (PROMOTE_FUNCTION_RETURN, PROMOTE_PROTOTYPES, | |
8427 | STRUCT_VALUE_REGNUM, SETUP_INCOMING_VARARGS, | |
8428 | EXPAND_BUILTIN_SAVEREGS): Poison. | |
8429 | * target-def.h (TARGET_PROMOTE_FUNCTION_RETURN): Define as | |
8430 | hook_bool_tree_false. | |
8431 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
8432 | * target.h: Replace SETUP_INCOMING_VARARGS with | |
8433 | targetm.calls.setup_incoming_varargs(). | |
8434 | * targhooks.c (default_promote_function_return): Remove. | |
8435 | (default_promote_prototypes): Likewise. | |
8436 | (default_struct_value_rtx): Always abort(). | |
8437 | (default_expand_builtin_saveregs): Always print an error | |
8438 | message. | |
8439 | (default_setup_incoming_varargs): Do nothing. | |
8440 | (default_pretend_outgoing_varargs_named): Don't depend on | |
8441 | SETUP_INCOMING_VARARGS. | |
8442 | * targhooks.h: Remove the prototype for | |
8443 | default_promote_function_return and | |
8444 | default_promote_prototypes. | |
8445 | ||
dc79b3b8 KH |
8446 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
8447 | ||
8448 | * system.h (SHARED_SECTION_ASM_OP): Poison. | |
8449 | * varasm.c (data_section): Don't use SHARED_SECTION_ASM_OP. | |
8450 | * doc/tm.texi (SHARED_SECTION_ASM_OP): Remove. | |
8451 | ||
a6f78652 ZW |
8452 | 2004-02-07 Zack Weinberg <zack@codesourcery.com> |
8453 | ||
8454 | Bug 13856 | |
8455 | * c-decl.c (diagnose_mismatched_decls): Only give special | |
8456 | treatment when olddecl is DECL_BUILT_IN, if C_DECL_INVISIBLE | |
8457 | is also true. | |
8458 | (merge_decls): Don't clear DECL_BUILT_IN_CLASS and | |
8459 | DECL_FUNCTION_CODE when defining a built-in function. | |
8460 | Don't update DECL_ESTIMATED_INSNS. | |
8461 | * dwarf2out.c (dwarf2out_decl): Don't ignore built-in | |
8462 | FUNCTION_DECLs. | |
8463 | * tree.h: Delete DECL_ESTIMATED_INSNS. | |
8464 | * tree-inline.c (struct inline_data): Delete inlined_insns field. | |
8465 | (expand_call_inline, optimize_inline_calls): Don't update | |
8466 | DECL_ESTIMATED_INSNS nor inlined_insns. | |
8467 | * cgraphunit.c (cgraph_analyze_function): Don't update | |
8468 | DECL_ESTIMATED_INSNS. | |
8469 | ||
8470 | 2004-02-07 Zack Weinberg <zack@codesourcery.com> | |
8471 | ||
8472 | * c-common.c (shadow_warning): Delete. | |
8473 | * c-common.h (free_parser_stacks, shadow_warning, sw_kind): Delete. | |
8474 | * c-decl.c (warn_if_shadowing): Issue shadow warnings directly. | |
8475 | * c-opts.c (c_common_parse_file): Don't call free_parser_stacks. | |
8476 | * c-parse.in (free_parser_stacks): Delete. | |
8477 | ||
947c6b00 NN |
8478 | 2004-02-07 Nathanael Nerode <neroden@gcc.gnu.org> |
8479 | ||
8480 | * Makefile.in, config/t-slibgcc-darwin, config/t-slibgcc-elf-ver, | |
8481 | config/t-slibgcc-sld, config/mips/t-iris5-6, config/sh/t-linux: | |
8482 | Use the top level mkinstalldirs, not the one in the gcc subdir. | |
8483 | * mkinstalldirs: Remove (from the gcc subdir). | |
8484 | ||
088414c1 RS |
8485 | 2004-02-07 Roger Sayle <roger@eyesopen.com> |
8486 | ||
8487 | PR middle-end/13696 | |
8488 | * fold-const.c (fold_convert): New function to provide type | |
8489 | conversion to the middle-end without using convert. | |
8490 | (negate_expr, associate_trees, size_diffop, omit_one_operand, | |
8491 | operand_equal_for_comparison_p, pedantic_omit_one_operand, | |
8492 | invert_truthvalue, optimize_bit_field_compare, range_binop, | |
8493 | decode_field_reference, make_range, build_range_check, unextend, | |
8494 | fold_truthop, extract_muldiv_1, fold_mathfn_compare, | |
8495 | fold_binary_op_with_conditional_arg, fold_inf_compare, | |
8496 | fold_single_bit_test, fold, multiple_of_p): Replace all calls to | |
8497 | convert with calls to fold_convert. | |
8498 | ||
076963eb JH |
8499 | 2004-02-07 Jan Hubicka <jh@suse.cz> |
8500 | ||
8501 | * genrecog.c (find_operand): add extra argument stop. | |
8502 | (validate_pattern): Verify that mach_dup is duplicating operand | |
8503 | defined lexically earlier. | |
8504 | ||
1197924d KH |
8505 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
8506 | ||
8507 | * config.gcc: Don't mention MAX_LONG_TYPE_SIZE. | |
8508 | * system.h (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, | |
8509 | MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Poison. | |
8510 | * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h, | |
8511 | config/ia64/ia64.h, config/ip2k/ip2k.h, | |
8512 | config/iq2000/iq2000.h, config/mips/iris5.h, | |
8513 | config/mips/mips.h, config/pa/pa-64.h, config/pa/pa.h, | |
8514 | config/rs6000/aix51.h, config/rs6000/aix52.h, | |
8515 | config/rs6000/darwin.h, config/rs6000/rs6000.h, | |
8516 | config/s390/s390.h, config/sh/sh.h, config/sparc/freebsd.h, | |
8517 | config/sparc/linux.h, config/sparc/linux64.h, | |
8518 | config/sparc/netbsd-elf.h, config/sparc/sparc.h, | |
8519 | config/xtensa/xtensa.h: Remove the definitions of | |
8520 | MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, and/or | |
8521 | MAX_WCHAR_TYPE_SIZE. | |
8522 | * doc/tm.texi (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, | |
8523 | MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Remove. | |
8524 | ||
883899ee SC |
8525 | 2004-02-07 Stephane Carrez <stcarrez@nerim.fr> |
8526 | ||
8527 | PR bootstrap/13990 | |
8528 | * config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to | |
8529 | gen_rtx_NE. | |
8530 | ||
f6e215cc JZ |
8531 | 2004-02-07 Josef Zlomek <zlomekj@suse.cz> |
8532 | ||
8533 | * var-tracking.c (vt_add_function_parameters): Surround checkings by | |
8534 | #ifdef ENABLE_CHECKING and #endif. | |
8535 | ||
dfb36f9b RS |
8536 | 2004-02-07 Roger Sayle <roger@eyesopen.com> |
8537 | ||
8538 | * fold-const.c (negate_expr_p, negate_expr): Optimize -(A+B) into | |
8539 | either (-A)-B or (-B)-A, if A or B is easily negated respectively. | |
8540 | (fold) <MINUS_EXPR>: Optimize (A*C) - (B*C) -> (A-B)*C for both | |
8541 | integer types and floating point with unsafe_math_optimizations. | |
8542 | Add similar optimization for (A*C1) - (A*C2) -> A*(C1-C2). | |
8543 | Optimize A - B as A + (-B), if B is easily negated. | |
8544 | ||
0ea5865c KH |
8545 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
8546 | ||
8547 | * c-ppoutput.c, cfganal.c, diagnostic.h, print-rtl.c, | |
8548 | config/darwin.c, config/darwin.h, config/ia64/ia64-c.c, | |
8549 | config/m32r/linux.h, config/rs6000/ppc64-fp.c, | |
8550 | config/sparc/openbsd.h, doc/makefile.texi, doc/passes.texi: | |
8551 | Update copyright. | |
8552 | ||
fb0840fc KH |
8553 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
8554 | ||
8555 | * c-ppoutput.c, var-tracking.c: Fix comment typos. | |
8556 | ||
468c45a3 JW |
8557 | 2004-02-06 James E Wilson <wilson@specifixinc.com> |
8558 | ||
8559 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Only define for | |
8560 | glibc 2.3 or better. | |
8561 | ||
9c917669 KH |
8562 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8563 | ||
8564 | * doc/tm.texi (TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL): Change | |
8565 | to FLOAT_LIB_COMPARE_RETURNS_BOOL. | |
8566 | ||
fb7e4164 AM |
8567 | 2004-02-07 Alan Modra <amodra@bigpond.net.au> |
8568 | ||
8569 | * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add darwin-ldouble.c. | |
8570 | (SHLIB_MAPFILES): Add libgcc-ppc64.ver. | |
8571 | (SHLIB_MKMAP_OPTS): Delete. | |
8572 | (TARGET_LIBGCC2_CFLAGS): Add -specs. | |
8573 | (bispecs): Add rule. | |
8574 | * config/rs6000/libgcc-ppc64.ver: New file. | |
8575 | * config/rs6000/ppc64-fp.c (__fixtfdi, __floatditf): New functions. | |
8576 | (__floatdidf, __floatdisf): Optimize multiply. | |
8577 | (__fixunstfdi): New function. | |
8578 | * config/rs6000/rs6000.c (rs6000_complex_function_value): Allow for | |
8579 | real and imag parts larger than one register. | |
8580 | (function_arg): Correct type of reg used when fp arg split partially | |
8581 | to stack. | |
8582 | * config/rs6000/darwin-ldouble.c: Protect with #if !_SOFT_FLOAT | |
8583 | and __MACH__ or __powerpc64__. | |
8584 | ||
254878ea RS |
8585 | 2004-02-06 Roger Sayle <roger@eyesopen.com> |
8586 | Ulrich Weigand <uweigand@de.ibm.com> | |
8587 | ||
8588 | * builtins.c (expand_builtin_signbit): Use extract_bit_field instead | |
8589 | of gen_highpart or gen_lowpart when the floating point format is | |
8590 | wider than the result mode. | |
8591 | ||
b1053160 AP |
8592 | 2004-02-06 Andrew Pinski <pinskia@physics.uc.edu> |
8593 | ||
a6f78652 | 8594 | * dwarf2out.c (loclabel_num): Move into #ifdef |
b1053160 AP |
8595 | DWARF2_DEBUGGING_INFO. |
8596 | ||
25fe8680 ZL |
8597 | 2004-02-06 Ziemowit Laski <zlaski@apple.com> |
8598 | ||
8599 | * objc/objc-act.c (build_super_template) the 'class' field of | |
8600 | 'struct _objc_super' shall be named 'super_class' #ifdef OBJCPLUS. | |
8601 | (get_super_receiver): Likewise. | |
8602 | ||
761fa0f7 KH |
8603 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8604 | ||
8605 | * reload1.c (check_eliminable_occurrences): Optimize the reset | |
8606 | of can_eliminate. | |
8607 | (eliminate_regs_in_insn): Likewise. | |
8608 | ||
0a2d3d69 | 8609 | 2004-02-06 Daniel Berlin <dberlin@dberlin.org> |
a6f78652 | 8610 | Josef Zlomek <zlomekj@suse.cz> |
0a2d3d69 DB |
8611 | |
8612 | * dwarf2out.c (struct gcc_debug_hooks): Call dwarf2out_begin_function | |
8613 | at the beginning of function, call dwarf2out_var_location for | |
8614 | NOTE_INSN_VAR_LOCATION note. | |
8615 | (struct var_loc_node, struct var_loc_list_def, loclabel_num, | |
8616 | decl_loc_table): New. | |
8617 | (lookup_decl_loc): New function. | |
8618 | (add_var_loc_to_decl): New function. | |
8619 | (based_loc_descr): Added parameter can_use_fbreg, DW_OP_fbreg is used | |
8620 | only if can_use_fbreg. | |
8621 | (mem_loc_descriptor): Added parameter can_use_fbreg, pass it to other | |
8622 | functions. | |
8623 | (loc_descriptor): Likewise. Process VAR_LOCATION. | |
8624 | (concat_loc_descriptor): Call loc_descriptor with can_use_fbreg == true. | |
8625 | (loc_descriptor_from_tree): Call mem_loc_descriptor with | |
8626 | can_use_fbreg == true. | |
8627 | (add_location_or_const_value_attribute): Added parameter enum | |
8628 | dwarf_attribute attr, generate attribute ATTR. Create the location list. | |
8629 | (add_bound_info): Call loc_descriptor with can_use_fbreg == true. | |
8630 | (gen_formal_parameter_die): Call add_location_or_const_value_attribute | |
8631 | with attr == DW_AT_location. | |
8632 | (gen_subprogram_die): Generate the location list for DW_AT_frame_base | |
8633 | if frame_base_decl is defined and has a location list. | |
8634 | (gen_variable_die): Call add_location_or_const_value_attribute with | |
8635 | attr == DW_AT_location. | |
8636 | (dwarf2out_var_location): New function. | |
8637 | (dwarf2out_begin_function): New function. | |
8638 | (dwarf2out_init): Create decl_loc_table. | |
8639 | ||
1f0db3df UW |
8640 | 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
8641 | ||
8642 | * loop.c (force_movables): Transitively increase the priorities of | |
8643 | all insns forces by an insn, not just the first one. | |
8644 | ||
014a1138 | 8645 | 2004-02-06 Josef Zlomek <zlomekj@suse.cz> |
a6f78652 | 8646 | Daniel Berlin <dberlin@dberlin.org> |
014a1138 JZ |
8647 | |
8648 | Josef Zlomek <zlomekj@suse.cz> | |
8649 | * Makefile.in (var-tracking.o): New. | |
8650 | * common.opt (fvar-tracking): New. | |
8651 | * flags.h (flag_var_tracking): New. | |
8652 | * gengtype.c (adjust_field_rtx_def): NOTE_INSN_VAR_LOCATION was added. | |
8653 | * opts.c (common_handle_option): Add OPT_fvar_tracking. | |
8654 | * print-rtl.c (print_rtx): NOTE_INSN_VAR_LOCATION was added. | |
a6f78652 ZW |
8655 | * rtl.c (note_insn_name): Likewise. |
8656 | * rtl.def (VAR_LOCATION): New. | |
8657 | * rtl.h (NOTE_VAR_LOCATION): New. | |
8658 | (NOTE_VAR_LOCATION_DECL): New. | |
8659 | (NOTE_VAR_LOCATION_LOC): New. | |
8660 | (enum insn_note): NOTE_INSN_VAR_LOCATION was added. | |
8661 | (variable_tracking_main): New exported function. | |
8662 | * timevar.def (TV_VAR_TRACKING): New. | |
8663 | * toplev.c (enum dump_file_index): Added DFI_vartrack. | |
8664 | (dump_file): "vartrack" was added (-dV). | |
8665 | (flag_var_tracking): New. | |
8666 | (f_options): "var-tracking" was added. | |
014a1138 | 8667 | (rest_of_handle_variable_tracking): New function. |
a6f78652 | 8668 | (rest_of_compilation): Run variable tracking. |
014a1138 JZ |
8669 | (process_options): If user has not specified flag_var_tracking set it |
8670 | according to optimize, debug_info_level and debug_hooks. | |
8671 | * tree.h (frame_base_decl): New. | |
a6f78652 | 8672 | * var-tracking.c: New file. |
014a1138 JZ |
8673 | * config/ia64/ia64.c (ia64_flag_var_tracking): New variable. |
8674 | (ia64_override_options): Set flags to run variable tracking in machine | |
8675 | dependent reorg instead of toplev.c. | |
8676 | (ia64_reorg): Run variable tracking if wanted. | |
a6f78652 | 8677 | * doc/invoke.texi: Mention variable tracking in -dV, |
014a1138 | 8678 | add and -fvar-tracking. |
a6f78652 | 8679 | * doc/passes.texi: Added variable tracking pass. |
014a1138 JZ |
8680 | |
8681 | Daniel Berlin <dberlin@dberlin.org> | |
8682 | * debug.h (struct gcc_debug_hooks): Added var_location debug hook. | |
8683 | * dbxout.c (dbx_debug_hooks): Likewise. | |
8684 | (xcoff_debug): Likewise. | |
8685 | * debug.c (do_nothing_debug_hooks): Likewise. | |
8686 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
8687 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
8688 | * sdbout.c (sdb_debug_hooks): Likewise. | |
8689 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
a6f78652 ZW |
8690 | * final.c (final_scan_insn): Call var_location debug hook for each |
8691 | NOTE_INSN_VAR_LOCATION. | |
014a1138 | 8692 | |
298c28a8 JH |
8693 | 2004-02-06 Jan Hubicka <jh@suse.cz> |
8694 | ||
8695 | * flow.c (update_life_info): Allocate reg_deaths when called from | |
8696 | scheudler. | |
8697 | (attempt_auto_inc): Update life ranges accordingly. | |
8698 | ||
3199cb41 UW |
8699 | 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
8700 | ||
8701 | PR debug/11816 | |
8702 | * dwarf2out.c (gen_decl_die): Handle anonymous struct members. | |
8703 | ||
1a6dd8a2 UW |
8704 | 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
8705 | ||
8706 | * cfganal.c (flow_call_edges_add): Never split a libcall block. | |
8707 | ||
1711adc2 DB |
8708 | 2004-02-06 Daniel Berlin <dberlin@dberlin.org> |
8709 | ||
8710 | * dwarf2out.c (output_loc_list): Don't use deltas if we have | |
8711 | a separate line info table in use. | |
8712 | Use the correct size for terminators. | |
8713 | (output_die): Use offset, not delta. | |
8714 | ||
b1e5a971 L |
8715 | 2004-02-06 H.J. Lu <hongjiu.lu@intel.com> |
8716 | ||
8717 | * doc/invoke.texi: Remove the pni option from -mfpmath=. | |
8718 | ||
736b64dd JH |
8719 | 2004-02-06 Jan Hubicka <jh@suse.cz> |
8720 | ||
8721 | * recog.c (split_all_insns): Do not update reg info. | |
8722 | * regrename.c (regrename_optimize): Likewise. | |
8723 | * toplev.c (rest_of_handle_reorder_blocks): Likewise. | |
8724 | * flow.c (struct propagate_block_info): Add insn_num field. | |
8725 | (reg_deaths): New array. | |
8726 | (life_analysis): Free reg_deaths info. | |
8727 | (allocate_reg_life_data): Allocate reg_deaths array. | |
8728 | (propagate_one_insn): Use new array. | |
8729 | (init_propagate_block): Initialize it. | |
8730 | (free_propagate_block_info): Finish compuation of | |
8731 | REG_LIVE_LENGTH | |
8732 | (attempt_auto_inc): Sanity check that REG_INFO is not | |
8733 | computed at same time. | |
8734 | (mark_used_regs): Update new array. | |
8735 | ||
8736 | * reg-stack.c (subst_stack_regs): Unshare clobbers before | |
8737 | substitution. | |
8738 | ||
eb457a7a KH |
8739 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8740 | ||
8741 | * config/s390/s390.md (*extendsiqi2_short_displ): Change to | |
8742 | *extendqisi2_short_displ. | |
8743 | ||
0f6937fe AM |
8744 | 2004-02-06 Alan Modra <amodra@bigpond.net.au> |
8745 | ||
8746 | * doc/tm.texi (INIT_CUMULATIVE_ARGS): Update doco. | |
8747 | * calls.c (expand_call): Pass n_named_args to INIT_CUMULATIVE_ARGS. | |
8748 | (emit_library_call_value_1): Likewise pass nargs. | |
8749 | * expr.c (block_move_libcall_safe_for_call_parm): Pass 3 here. | |
8750 | * function.c (assign_parms): Pass -1 to INIT_CUMULATIVE_ARGS. | |
8751 | * config/rs6000/rs6000.c (init_cumulative_args): Use n_named_args | |
8752 | parameter instead of scanning TYPE_ARGS_TYPES to count args. | |
8753 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Update | |
8754 | prototype. | |
8755 | * config/rs6000/rs6000.h (INIT_CUMULATIVE_ARGS): Pass extra arg. | |
8756 | (INIT_CUMULATIVE_INCOMING_ARGS): Set extra arg to 1000. | |
8757 | (INIT_CUMULATIVE_LIBCALL_ARGS): Set extra arg to 0. | |
8758 | * config/sh/sh.c (sh_output_mi_thunk): Pass 1 as n_named_args to | |
8759 | INIT_CUMULATIVE_ARGS. | |
8760 | * config/alpha/alpha.h (INIT_CUMULATIVE_ARGS): Update. | |
8761 | * config/alpha/unicosmk.h, config/alpha/vms.h, config/arc/arc.h, | |
8762 | config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h, | |
8763 | config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.h, | |
8764 | config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, | |
8765 | config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h, | |
8766 | config/iq2000/iq2000.c, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
8767 | config/m68k/m68k.h, config/mcore/mcore.h, config/mips/mips.h, | |
8768 | config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h, | |
07711f53 | 8769 | config/pa/pa.h, config/pdp11/pdp11.h, config/s390/s390.h, |
0f6937fe AM |
8770 | config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.h, |
8771 | config/v850/v850.h, config/vax/vax.h, config/xtensa/xtensa.h: Likewise. | |
8772 | ||
11b635fe KH |
8773 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8774 | ||
8775 | * genemit.c (gen_exp) [CONST_INT]: Use const_int_rtx whenever | |
8776 | possible. | |
8777 | ||
ace3ffcd KH |
8778 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8779 | ||
8780 | * reload1.c (eliminate_regs_in_insn): If a set has a REG_EQUAL | |
8781 | note containing (plus (reg) (const_int)), where reg is an | |
8782 | eliminable reg, then perform the register elimination without | |
8783 | depending on eliminate_regs(). | |
8784 | ||
78bc94a2 KH |
8785 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8786 | ||
8787 | * config/arc/arc.c (arc_return_in_memory): Check the return | |
8788 | value of int_size_in_bytes against -1. Don't check | |
8789 | TREE_ADDRESSABLE. | |
8790 | * config/avr/avr.c (avr_return_in_memory): Check the return | |
8791 | value of int_size_in_bytes against -1. | |
8792 | * config/ip2k/ip2k.c (ip2k_return_in_memory): Likewise. | |
8793 | * config/m68hc11/m68hc11.c (m68hc11_return_in_memory): | |
8794 | Likewise. | |
8795 | * config/mcore/mcore.c (mcore_return_in_memory): Likewise. | |
8796 | * config/stormy16/stormy16.c (xstormy16_return_in_memory): | |
8797 | Likewise. | |
8798 | ||
d8c2bed3 KH |
8799 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8800 | ||
8801 | * config/frv/frv-protos.h: Remove the prototype for | |
8802 | frv_setup_incoming_varargs. | |
8803 | * config/frv/frv.c (TARGET_SETUP_INCOMING_VARARGS): New. | |
8804 | (frv_setup_incoming_varargs): Make it static. | |
8805 | * config/frv/frv.h (SETUP_INCOMING_VARARGS): Remove. | |
8806 | ||
3e29e2aa KH |
8807 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8808 | ||
8809 | * config/fr30/fr30-protos.h: Remove the prototype for | |
8810 | fr30_setup_incoming_varargs. | |
8811 | Update the prototypes for fr30_num_arg_regs and | |
8812 | fr30_function_arg_partial_nregs. | |
8813 | * config/fr30/fr30.c (TARGET_STRUCT_VALUE_RTX): New. | |
8814 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
8815 | (fr30_setup_incoming_varargs): Make it static. | |
8816 | Add argument second_time. Don't do anything when second_time | |
8817 | is nonzero. | |
8818 | (fr30_num_arg_regs): Change the type of the first argument to | |
8819 | enum machine_mode. | |
8820 | (fr30_function_arg_partial_nregs): Change the type of the | |
8821 | second argument to enum machine_mode. | |
8822 | * config/fr30/fr30.h (STRUCT_VALUE): Remove. | |
8823 | (SETUP_INCOMING_VARARGS): Remove. | |
8824 | ||
07ba2efb KH |
8825 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
8826 | ||
8827 | * config/arc/arc-protos.h: Remove the prototype for | |
8828 | arc_setup_incoming_varargs. | |
8829 | * config/arc/arc.c (TARGET_ASM_EXTERNAL_LIBCALL): New. | |
8830 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
8831 | (arc_setup_incoming_varargs): Make it static. | |
8832 | (arc_external_libcall): Likewise. | |
8833 | * config/arc/arc.h (SETUP_INCOMING_VARARGS): Remove. | |
8834 | Remove the commented-out definition of | |
8835 | ASM_OUTPUT_EXTERNAL_LIBCALL. | |
8836 | ||
f4954ff1 ST |
8837 | 2004-02-05 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
8838 | ||
8839 | * config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR) | |
8840 | to $$(slibdir) in the installation commands. | |
8841 | ||
403c659c DE |
8842 | 2004-02-05 David Edelsohn <edelsohn@gnu.org> |
8843 | ||
8844 | * reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs | |
8845 | with inner_regno, not regno. | |
8846 | * rtlanal.c (refers_to_regno_p): Same. | |
8847 | ||
5b547172 KH |
8848 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
8849 | ||
8850 | * config.gcc: Remove i370 support. | |
8851 | ||
ce5c1cf3 KC |
8852 | 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> |
8853 | ||
8854 | * doc/install.texi: Update automake and autoconf version | |
8855 | requirements. Note where to find gcj automake version. | |
8856 | ||
8857 | 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> | |
8858 | ||
8859 | * Makefile.in (generate-manpages): Move dependencies to ... | |
8860 | (man): here. | |
8861 | * doc/makefile.texi: Document new targets. | |
8862 | * doc/sourcebuild.texi (Make-lang.in): Document new langhooks. | |
8863 | ||
02ba6b22 KC |
8864 | 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> |
8865 | ||
8866 | PR/13485 | |
8867 | Makefile.in (srcextra): Add a level of indirection to ... | |
8868 | (gcc.srcextra): ... here. | |
8869 | (po-generated): Delete. | |
8870 | (po/$(PACKAGE).pot: Use srcextra instead of po-generated. Depend on | |
8871 | options.c. | |
8872 | (start.encap): Remove superfluous lang.srcextra dependency. | |
8873 | objc/Make-lang.in (po-generated): Delete. | |
8874 | ||
66fcab25 KH |
8875 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
8876 | ||
8877 | * config/ia64/ia64.c (REG_GP): Remove. | |
8878 | ||
89a95129 RO |
8879 | 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8880 | ||
8881 | * config/mips/iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define. | |
8882 | ||
9733d507 DP |
8883 | 2004-02-05 Devang Patel <dpatel@apple.com> |
8884 | ||
8885 | * dwarf2out.c (force_type_die): Look up input type itself | |
8886 | instead of root_type() of type. | |
a6f78652 | 8887 | |
19796784 AK |
8888 | 2004-02-05 Andreas Krebbel <krebbel1@de.ibm.com> |
8889 | ||
8890 | * config/s390/s390.md ("*tmqidi_ext"): New insn. | |
8891 | ("*extendqidi2_short_displ", "*extendsiqi2_short_displ"): Old | |
8892 | pre-reload splitters are transformed to post-reload | |
8893 | define_insn_and_split patterns. | |
8894 | ("*tmqisi_ext"): Renamed old "*tmqi_ext". | |
8895 | ||
136e64db KH |
8896 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
8897 | ||
8898 | * config/cris/cris.h: Replace PROMOTE_PROTOTYPES with | |
8899 | TARGET_PROMOTE_PROTOTYPES. | |
8900 | ||
839ee4bc RO |
8901 | 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8902 | ||
8903 | PR middle-end/13750 | |
8904 | Revert: | |
8905 | 2004-01-15 Geoffrey Keating <geoffk@apple.com> | |
8906 | PR pch/13361 | |
8907 | * c-typeck.c (constructor_asmspec): Delete. | |
8908 | (struct initializer_stack): Delete field 'asmspec'. | |
8909 | (start_init): Delete saving of asmspec. | |
8910 | (finish_init): Don't update constructor_asmspec. | |
8911 | * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree. | |
8912 | * stmt.c (expand_asm): Duplicate strings from tree. | |
8913 | (expand_asm_operands): Likewise. | |
8914 | * tree.c (tree_size): Update computation of size of STRING_CST. | |
8915 | (make_node): Don't make STRING_CST nodes. | |
8916 | (build_string): Allocate string with tree node. | |
8917 | * tree.def (STRING_CST): Update comment. | |
8918 | * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST. | |
8919 | (tree_string): Place contents of string in tree node. | |
8920 | * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string | |
8921 | from tree. | |
8922 | ||
687d688e JM |
8923 | 2004-02-05 Joseph S. Myers <jsm@polyomino.org.uk> |
8924 | ||
8925 | * diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to | |
8926 | msgid. | |
8927 | ||
20a20bf0 DN |
8928 | 2004-02-05 Dorit Naishlos <dorit@il.ibm.com> |
8929 | ||
8930 | * config/rs6000/altivec.md (*movv4si_internal): At least one | |
8931 | operand must be altivec_register_operand. | |
8932 | (*movv8hi_internal1): Likewise. | |
8933 | (*movv16qi_internal1): Likewise. | |
8934 | (*movv4sf_internal1): Likewise. | |
8935 | ||
6b37db3c DE |
8936 | 2004-02-05 David Edelsohn <edelsohn@gnu.org> |
8937 | ||
8938 | * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr. | |
8939 | * configure: Regenerate. | |
8940 | ||
e0b24bce JW |
8941 | 2004-02-05 Jonathan Wakely <redi@gcc.gnu.org> |
8942 | ||
8943 | * doc/install.texi: Update description of --gxx-include-dir to | |
8944 | give correct default value. | |
8945 | ||
2dca8ddb KH |
8946 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
8947 | ||
8948 | * config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace | |
8949 | 8 with MAC_REG. | |
8950 | ||
92fd5e41 KH |
8951 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
8952 | ||
8953 | * config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with | |
8954 | gen_rtx_PARALLEL. | |
8955 | ||
f822fcf7 KH |
8956 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
8957 | ||
8958 | * emit-rtl.c: Update the comment about the file. | |
8959 | ||
4ef84575 JM |
8960 | 2004-02-05 Joseph S. Myers <jsm@polyomino.org.uk> |
8961 | ||
8962 | * sourcebuild.texi (Test Idioms): Update testcase naming | |
8963 | conventions. | |
8964 | ||
8e9ea4d7 PB |
8965 | 2004-02-04 Per Bothner <per@bothner.com> |
8966 | ||
8967 | Partially revert/redo 2003-10-01 change; fix -fworking-directory. | |
8968 | * c-ppoutput.c (pp_dir_change): New function. | |
8969 | * c-common.h (pp_dir_change): New declaration. | |
8970 | * cpplib.h (struct cpp_options): Remove working_directory field. | |
8971 | * cppinit.c (cpp_find_main_file, cpp_push_main_file): Merge back to | |
8972 | (cpp_read_main_file): as before 10-01. Call _cpp_stack_file. | |
8973 | Don't handle -fworking_directory here, but in c_common_post_options. | |
8974 | (read_original_directory): Don't back up when done. | |
8975 | Don't clear no-longer used working_directory flag. | |
8976 | * cpplib.h: Update declarations to match. | |
8977 | * c-lex.c (cb_dir_change): Move to c-opts.c. | |
8978 | (init_c_lex): Don't set dir_change callback here, since we want | |
8979 | to set it even if flag_preprocess_only. | |
8980 | * c-opts.c (cb_dir_change): Function moved from c-lex.c. | |
8981 | (c_common_post_options): Set dir_change callback. | |
8982 | Call pp_dir_change if approporiate. | |
8983 | (finish_options): Don't call cpp_find_main_file here. Hence remove | |
8984 | unneeded parameter and result. Do LC_RENAME for <built-in>. | |
8985 | (c_common_post_options): Call cpp_read_main_file here instead. | |
8986 | (c_common_init): Update accordingly. | |
8987 | (push_command_line_include): Don't cpp_push_main_file. | |
8988 | Do LC_RENAME rather than LC_LEASE to get back to main file. | |
8989 | Compared to pre-10-01 version, inline cpp_rename_to_main_file. | |
8990 | (c_common_parse_file): Call cpp_read_main_file for subsequent main | |
8991 | files, but call finish_options for all files. | |
8992 | * c-opts.c (sanitize_cpp_opts): Don't set cpp_opts->working_directory. | |
8993 | * fix-header.c (read_scan_file): Call cpp_read_main_file instead of | |
8994 | cpp_find_main_file + cpp_push_main_file. | |
8995 | * c-lex.c (fe_file_change): Don't set main_input_filename here. | |
8996 | * opts.c (handle_options): Only set main_input_filename first time. | |
8997 | ||
5384443a ILT |
8998 | 2004-02-05 Ian Lance Taylor <ian@wasabisystems.com> |
8999 | ||
9000 | * config/arm/arm.h (REG_CLASS_NAMES): Add missing comma. | |
9001 | ||
3c241c19 GK |
9002 | 2004-02-04 Geoffrey Keating <geoffk@apple.com> |
9003 | ||
9004 | * reload.c (find_equiv_reg): When checking for register overlap, | |
9005 | don't index hard_regno_nregs with a pseudo-reg. | |
9006 | ||
a322288b UW |
9007 | 2004-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
9008 | ||
9009 | * config/s390/s390.c (s390_trampoline_template): Remove gen_rtx(). | |
9010 | ||
859b9c1d DE |
9011 | 2004-02-04 David Edelsohn <edelsohn@gnu.org> |
9012 | ||
9013 | * reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno, | |
9014 | against FIRST_PSEUDO_REGISTER. | |
9015 | ||
7e63a64e RO |
9016 | 2004-02-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9017 | ||
9018 | * Makefile.in: Move target, host overrides after per-language | |
9019 | fragments. | |
9020 | ||
9021 | * config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear. | |
9022 | (GNATLIBCFLAGS): Remove -g. | |
9023 | ||
5efb1046 KH |
9024 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9025 | ||
9026 | * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c, | |
9027 | config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, | |
9028 | config/ia64/ia64.c, config/ia64/unwind-ia64.c, | |
9029 | config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c, | |
9030 | config/pdp11/pdp11.c, config/rs6000/rs6000.c, | |
9031 | config/sparc/sparc.c, config/vax/vax.c: Revert the | |
9032 | replacements of "FALLTHRU" with "Fall through" done in the | |
9033 | previous patch. | |
9034 | ||
ff482c8d KH |
9035 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9036 | ||
9037 | * config/darwin.c, config/darwin.h, config/freebsd-spec.h, | |
9038 | config/arm/arm.c, config/arm/arm.md, | |
9039 | config/cris/cris-protos.h, config/fr30/fr30.c, | |
9040 | config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h, | |
9041 | config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c, | |
9042 | config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h, | |
9043 | config/ip2k/ip2k.md, config/ip2k/libgcc.S, | |
9044 | config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
9045 | config/m68k/m68k.c, config/m68k/netbsd-elf.h, | |
9046 | config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md, | |
9047 | config/ns32k/netbsd.h, config/ns32k/ns32k.c, | |
9048 | config/ns32k/ns32k.h, config/pdp11/pdp11.h, | |
9049 | config/rs6000/darwin-ldouble.c, config/s390/s390.h, | |
9050 | config/s390/s390.md, config/sparc/netbsd-elf.h, | |
9051 | config/sparc/openbsd.h, config/sparc/sparc.c, | |
9052 | config/xtensa/lib2funcs.S: Fix comment formatting. | |
9053 | ||
59b9a953 KH |
9054 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9055 | ||
9056 | * config/alpha/alpha.c, config/arc/arc.c, | |
9057 | config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, | |
9058 | config/arm/arm1026ejs.md, config/arm/arm1136jfs.md, | |
9059 | config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c, | |
9060 | config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md, | |
9061 | config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, | |
9062 | config/ia64/ia64.c, config/ia64/unwind-ia64.c, | |
9063 | config/iq2000/iq2000.c, config/m32r/m32r.c, | |
9064 | config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, | |
9065 | config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c, | |
9066 | config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c, | |
9067 | config/rs6000/rs6000.h, config/sparc/sparc.c, | |
9068 | config/vax/vax.c: Fix comment typos. Follow spelling | |
9069 | conventions. | |
9070 | ||
e146f815 KH |
9071 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9072 | ||
9073 | * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h, | |
9074 | caller-save.c, df.h, genconfig.c, global.c, lcm.c, | |
9075 | ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c, | |
9076 | sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md, | |
9077 | config/arm/fpa.md, config/arm/iwmmxt.md, | |
9078 | config/arm/netbsd-elf.h, config/arm/netbsd.h, | |
9079 | config/m68hc11/m68hc11.md, config/mips/iris5.h, | |
9080 | config/mn10300/mn10300.md, config/rs6000/altivec.md, | |
9081 | config/sparc/netbsd-elf.h: Update copyright. | |
9082 | ||
e2a17f6e EB |
9083 | 2004-02-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
9084 | ||
9085 | * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1 | |
9086 | for all modes whose size is greater than 8 bytes if ARCH32. | |
9087 | (sparc_va_arg): Handle all modes whose size is greater than 8 bytes | |
9088 | by reference if ARCH32. | |
9089 | ||
e0cc7f73 | 9090 | 2004-02-04 Aldy Hernandez <aldyh@redhat.com> |
a6f78652 ZW |
9091 | |
9092 | * cgraphunit.c (cgraph_postorder): Fix typo in comment. | |
e0cc7f73 | 9093 | |
7bdff56f UW |
9094 | 2004-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
9095 | ||
9096 | * config/s390/s390.md ("*la_64" + peepholes, "reload_indi"): Move | |
9097 | to before adddi3 insn patterns. | |
9098 | ("*la_31" + peepholes, "*la_31_and", "*la_31_and_cc", "force_la_31", | |
9099 | "reload_insi"): Move to before addsi3 insn patterns. | |
9100 | ||
dd292d0a MM |
9101 | 2004-02-04 Mark Mitchell <mark@codesourcery.com> |
9102 | ||
9103 | * calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P | |
9104 | parameter. Use it instead of current_function_is_thunk. | |
9105 | * function.h (struct function): Update documentation for is_thunk. | |
9106 | * tree.h (CALL_FROM_THUNK_P): New macro. | |
9107 | * config/alpha/alpha.c (alpha_sa_mask): Do not check | |
9108 | no_new_pseudos when testing current_function_is_thunk. | |
9109 | * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likeiwse. | |
9110 | ||
c2379679 KH |
9111 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9112 | ||
9113 | * doc/tm.texi: Replace SETUP_INCOMING_VARARGS with | |
9114 | TARGET_SETUP_INCOMING_VARARGS. | |
9115 | ||
a2a8cc44 KH |
9116 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9117 | ||
9118 | * emit-rtl.c (gen_rtx): Remove. | |
9119 | * genattrtab.c: Don't mention gen_rtx in a comment. | |
9120 | * rtl.h: Remove the prototype for gen_rtx. | |
9121 | * doc/md.texi: Replace gen_rtx with gen_rtx_REG. | |
9122 | ||
f61c92c3 KH |
9123 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9124 | ||
9125 | * config/arc/arc.h, config/fr30/fr30.h | |
9126 | (SETUP_INCOMING_VARARGS): Remove the target-independent | |
9127 | comments. | |
9128 | * doc/tm.texi: Don't mention deprecated target macros. | |
9129 | ||
c35c17c1 KH |
9130 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9131 | ||
9132 | * config/fr30/fr30.h (FUNCTION_VALUE): Remove the | |
9133 | target-independent comment. | |
9134 | ||
cea28603 KH |
9135 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9136 | ||
9137 | * doc/interface.texi, doc/tm.texi, doc/trouble.texi: Don't | |
9138 | mention deprecated target macros. | |
9139 | ||
a4a4b1d3 KH |
9140 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
9141 | ||
9142 | * config.gcc: Remove obsolete ports and configurations. | |
9143 | * config/linux-aout.h, config/netware.h, | |
9144 | config/t-linux-gnulibc1, config/d30v/abi, | |
9145 | config/d30v/d30v-protos.h, config/d30v/d30v.c, | |
9146 | config/d30v/d30v.h, config/d30v/d30v.md, | |
9147 | config/d30v/libgcc1.asm, config/d30v/t-d30v, | |
9148 | config/dsp16xx/dsp16xx-modes.def, | |
9149 | config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, | |
9150 | config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md, | |
9151 | config/i370/README, config/i370/i370-c.c, | |
9152 | config/i370/i370-protos.h, config/i370/i370.c, | |
9153 | config/i370/i370.h, config/i370/i370.md, config/i370/linux.h, | |
9154 | config/i370/mvs.h, config/i370/oe.h, config/i370/t-i370, | |
9155 | config/i386/freebsd-aout.h, config/i386/linux-aout.h, | |
9156 | config/i386/moss.h, config/i386/netware.h, | |
9157 | config/i386/svr3.ifile, config/i386/svr3dbx.h, | |
9158 | config/i386/svr3gas.h, config/i386/svr3z.ifile, | |
9159 | config/i386/t-udk, config/i386/udk.h, config/i386/vsta.h, | |
9160 | config/i960/i960-c.c, config/i960/i960-coff.h, | |
9161 | config/i960/i960-modes.def, config/i960/i960-protos.h, | |
9162 | config/i960/i960.c, config/i960/i960.h, config/i960/i960.md, | |
9163 | config/i960/rtems.h, config/i960/t-960bare, | |
9164 | config/m68k/hp310.h, config/m68k/hp320.h, | |
9165 | config/m68k/hp320base.h, config/m68k/m68kv4.h, | |
9166 | config/m68k/netbsd.h, config/m68k/sgs.h, config/m68k/t-hp320: | |
9167 | Remove. | |
9168 | * doc/extend.texi, doc/install.texi, doc/invoke.texi, | |
9169 | doc/md.texi: Remove mentions of obsolete ports. | |
9170 | ||
40e02b4a JH |
9171 | 2004-02-04 Jan Hubicka <jh@suse.cz> |
9172 | ||
9173 | * alias.c (find_base_term, get_addr): Do not dereference NULL | |
9174 | pointer when all VALUE's locations has been invalidated. | |
9175 | (rtx_equal_for_memref_p): Simplify checking of VALUEs. | |
9176 | ||
a6f78652 | 9177 | 2004-02-03 Wolfgang Bangerth <bangerth@dealii.org> |
1c02f6f2 WB |
9178 | |
9179 | * doc/invoke.texi (x86 options): Fix spelling/wording. | |
9180 | ||
584e5527 RS |
9181 | 2004-02-03 Richard Sandiford <rsandifo@redhat.com> |
9182 | ||
9183 | * config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to | |
9184 | put the original string in a comment. | |
9185 | * config/mips/mips-protos.h (mips_output_ascii): Add prefix argument. | |
9186 | * config/mips/mips.c (mips_output_ascii): Likewise. | |
9187 | * config/mips/mips.h (ASM_OUTPUT_ASCII): Adjust accordingly. | |
9188 | ||
9b2b3375 KH |
9189 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
9190 | ||
9191 | * system.h (GIV_SORT_CRITERION): Poison. | |
9192 | * config/avr/avr.h (GIV_SORT_CRITERION): Remove. | |
9193 | * config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise. | |
9194 | ||
888d65b5 RS |
9195 | 2004-02-03 Roger Sayle <roger@eyesopen.com> |
9196 | ||
9197 | PR target/9348 | |
9198 | * expr.c (expand_expr_real) <MULT_EXPR>: When performing widening | |
9199 | multiplies with a multiplication of the wrong signedness, its the | |
9200 | signedness of the multiplication that we've performed that needs to | |
9201 | be passed to expand_mult_highpart_adjust. Avoid emitting a nop-move | |
9202 | if expand_mult_highpart_adjust places the result in target. | |
9203 | ||
a8c0bbc7 RH |
9204 | 2004-02-03 Richard Henderson <rth@redhat.com> |
9205 | ||
9206 | * varasm.c (const_desc_rtx_sym_eq): Compare symbol strings. | |
9207 | ||
a8f0f22e R |
9208 | 2004-02-03 J"orn Rennecke <joern.rennecke@superh.com> |
9209 | ||
9210 | * config.gcc (sh[234]l): Use little endian fragments. | |
9211 | ||
e621b588 PK |
9212 | 2004-02-03 Paul Koning <pkoning@equallogic.com> |
9213 | ||
9214 | * config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls. | |
9215 | * config/pdp11/pdp11-protos.h (legitimate_const_double_p): Add. | |
9216 | * config/pdp11/pdp11.c (encode_pdp11_f, decode_pdp11_f, | |
9217 | encode_pdp11_d, decode_pdp11_d): New functions to handle PDP11 | |
9218 | floating point format. | |
9219 | (pdp11_f_format, pdp11_d_format): New real_format descriptors for | |
9220 | the above functions. | |
9221 | (output_move_quad): Output float values in correct target format. | |
9222 | (legitimate_const_double_p): New function. | |
9223 | * config/pdp11/pdp11.h: Fix typos. | |
9224 | (FLOAT_WORDS_BIG_ENDIAN): Add definition. | |
9225 | (TARGET_FLOAT_FORMAT): Ditto. | |
9226 | (pdp11_f_format, pdp11_d_format): Add external declarations. | |
9227 | (MAX_REGS_PER_ADDRESS): Corrected. | |
9228 | (LEGITIMATE_CONSTANT_P): Use legitimate_const_double_p(). | |
9229 | (PRINT_OPERAND): Output float literals in target format. | |
9230 | ||
5a98fa7b MM |
9231 | 2004-02-03 Mark Mitchell <mark@codesourcery.com> |
9232 | ||
9233 | PR c++/13975 | |
9234 | * tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and | |
9235 | TI_PRIVATE. | |
9236 | (access_public_node): Redefine. | |
9237 | (access_protected_node): Likewise. | |
9238 | (access_private_node): Likewise. | |
9239 | * tree.c (build_common_tree_nodes): Create access_public_node, | |
9240 | access_protected_node, and access_private_node. | |
9241 | ||
0263e6bf SE |
9242 | 2004-02-03 Steve Ellcey <sje@cup.hp.com> |
9243 | ||
9244 | * config/ia64/ia64.h (MASK_INLINE_INT_DIV_LAT): Change value. | |
9245 | (MASK_INLINE_INT_DIV_THR): Ditto. | |
9246 | (MASK_INLINE_SQRT_LAT): Ditto. | |
9247 | (MASK_INLINE_SQRT_THR): Ditto. | |
9248 | (MASK_DWARF2_ASM): Ditto. | |
9249 | (MASK_EARLY_STOP_BITS): Ditto. | |
9250 | ||
9b66ebb1 PB |
9251 | 2004-02-02 Paul Brook <paul@codesourcery.com> |
9252 | ||
9253 | Merge from csl-arm-branch. | |
9254 | ||
9255 | 2004-01-30 Paul Brook <paul@codesourcery.com> | |
9256 | ||
9257 | * aof.h (REGISTER_NAMES): Add vfp reg names | |
9258 | (ADDITIONAL_REGISTER_NAMES): Ditto. | |
9259 | * aout.h (REGISTER_NAMES): Ditto. | |
9260 | (ADDITIONAL_REGISTER_NAMES): Ditto. | |
9261 | * arm-protos.h: Update/Add Prototypes. | |
9262 | * arm.c (init_fp_table): Rename from init_fpa_table. Update users. | |
9263 | Only allow 0.0 for VFP. | |
9264 | (fp_consts_inited): Rename from fpa_consts_inited. Update users. | |
9265 | (values_fp): Rename from values_fpa. Update Users. | |
9266 | (arm_const_double_rtx): Rename from const_double_rtx_ok_for_fpa. | |
9267 | Update users. Only check valid constants for this hardware. | |
9268 | (arm_float_rhs_operand): Rename from fpa_rhs_operand. Update Users. | |
9269 | Only allow consts for FPA. | |
9270 | (arm_float_add_operand): Rename from fpa_add_operand. Update users. | |
9271 | Only allow consts for FPA. | |
9272 | (use_return_insn): Check for saved VFP regs. | |
9273 | (arm_legitimate_address_p): Handle VFP DFmode addressing. | |
9274 | (arm_legitimize_address): Ditto. | |
9275 | (arm_general_register_operand): New function. | |
9276 | (vfp_mem_operand): New function. | |
9277 | (vfp_compare_operand): New function. | |
9278 | (vfp_secondary_reload_class): New function. | |
9279 | (arm_float_compare_operand): New function. | |
9280 | (vfp_print_multi): New function. | |
9281 | (vfp_output_fstmx): New function. | |
9282 | (vfp_emit_fstm): New function. | |
9283 | (arm_output_epilogue): Output VPF reg restore code. | |
9284 | (arm_expand_prologue): Output VFP reg save code. | |
9285 | (arm_print_operand): Add 'P'. | |
9286 | (arm_hard_regno_mode_ok): Return modes for VFP regs. | |
9287 | (arm_regno_class): Return classes for VFP regs. | |
9288 | (arm_compute_initial_elimination_offset): Include space for VFP regs. | |
9289 | (arm_get_frame_size): Ditto. | |
9290 | * arm.h (FIXED_REGISTERS): Add VFP regs. | |
9291 | (CALL_USED_REGISTERS): Ditto. | |
9292 | (CONDITIONAL_REGISTER_USAGE): Enable VFP regs. | |
9293 | (FIRST_VFP_REGNUM): Define. | |
9294 | (LAST_VFP_REGNUM): Define. | |
9295 | (IS_VFP_REGNUM): Define. | |
9296 | (FIRST_PSEUDO_REGISTER): Include VFP regs. | |
9297 | (HARD_REGNO_NREGS): Handle VFP regs. | |
9298 | (REG_ALLOC_ORDER): Add VFP regs. | |
9299 | (enum reg_class): Add VFP_REGS. | |
9300 | (REG_CLASS_NAMES): Ditto. | |
9301 | (REG_CLASS_CONTENTS): Ditto. | |
9302 | (CANNOT_CHANGE_MODE_CLASS) Handle VFP Regs. | |
9303 | (REG_CLASS_FROM_LETTER): Add 'w'. | |
9304 | (EXTRA_CONSTRAINT_ARM): Add 'U'. | |
9305 | (EXTRA_MEMORY_CONSTRAINT): Define. | |
9306 | (SECONDARY_OUTPUT_RELOAD_CLASS): Handle VFP regs. | |
9307 | (SECONDARY_INPUT_RELOAD_CLASS): Ditto. | |
9308 | (REGISTER_MOVE_COST): Ditto. | |
9309 | (PREDICATE_CODES): Add arm_general_register_operand, | |
9310 | arm_float_compare_operand and vfp_compare_operand. | |
9311 | * arm.md (various): Rename as above. | |
9312 | (divsf3): Enable when TARGET_VFP. | |
9313 | (divdf3): Ditto. | |
9314 | (movdfcc): Ditto. | |
9315 | (sqrtsf2): Ditto. | |
9316 | (sqrtdf2): Ditto. | |
9317 | (arm_movdi): Disable when TARGET_VFP. | |
9318 | (arm_movsi_insn): Ditto. | |
9319 | (movsi): Only split with general regs. | |
9320 | (cmpsf): Use arm_float_compare_operand. | |
9321 | (push_fp_multi): Restrict to TARGET_FPA. | |
9322 | (vfp.md): Include. | |
9323 | * vfp.md: New file. | |
9324 | * fpa.md (various): Rename as above. | |
9325 | * doc/md.texi: Document ARM w and U constraints. | |
9326 | ||
9327 | 2004-01-15 Paul Brook <paul@codesourcery.com> | |
9328 | ||
9329 | * config.gcc: Add with_fpu. Allow with-float=softfp. | |
9330 | * config/arm/arm.c (arm_override_options): Rename *-s to *s. | |
9331 | Break out of loop when we find a float-abi. Fix typo. | |
9332 | * config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "fpu". | |
9333 | Set -mfloat-abi=. | |
9334 | * doc/install.texi: Document --with-fpu. | |
9335 | ||
9336 | 2003-01-14 Paul Brook <paul@codesourcery.com> | |
9337 | ||
9338 | * config.gcc (with_arch): Add armv6. | |
9339 | * config/arm/arm.h: Rename TARGET_CPU_*_s to TARGET_CPU_*s. | |
9340 | * config/arm/arm.c (arm_overrride_options): Ditto. | |
9341 | ||
9342 | 2004-01-08 Richard Earnshaw <rearnsha@arm.com> | |
9343 | ||
9344 | * arm.c (FL_ARCH3M): Renamed from FL_FAST_MULT. | |
9345 | (FL_ARCH6): Renamed from FL_ARCH6J. | |
9346 | (arm_arch3m): Renamed from arm_fast_multiply. | |
9347 | (arm_arch6): Renamed from arm_arch6j. | |
9348 | * arm.h: Update all uses of above. | |
9349 | * arm-cores.def: Likewise. | |
9350 | * arm.md: Likewise. | |
9351 | ||
9352 | * arm.h (CPP_CPU_ARCH_SPEC): Emit __ARM_ARCH_6J__ define for armV6j, | |
9353 | not arm6j. Add entry for arch armv6. | |
9354 | ||
9355 | 2004-01-07 Richard Earnshaw <rearnsha@arm.com> | |
9356 | ||
9357 | * arm.c (arm_emit_extendsi): Delete. | |
9358 | * arm-protos.h (arm_emit_extendsi): Delete. | |
9359 | * arm.md (zero_extendhisi2): Also handle zero-extension of | |
9360 | non-subregs. | |
9361 | (zero_extendqisi2, extendhisi2, extendqisi2): Likewise. | |
9362 | (thumb_zero_extendhisi2): Only match if not v6. | |
9363 | (arm_zero_extendhisi2, thumb_zero_extendqisi2, arm_zero_extendqisi2) | |
9364 | (thumb_extendhisi2, arm_extendhisi2, arm_extendqisi) | |
9365 | (thumb_extendqisi2): Likewise. | |
9366 | (thumb_zero_extendhisi2_v6, arm_zero_extendhisi2_v6): New patterns. | |
9367 | (thumb_zero_extendqisi2_v6, arm_zero_extendqisi2_v6): New patterns. | |
9368 | (thumb_extendhisi2_insn_v6, arm_extendhisi2_v6): New patterns. | |
9369 | (thumb_extendqisi2_v6, arm_extendqisi_v6): New patterns. | |
9370 | (arm_zero_extendhisi2_reg, arm_zero_extendqisi2_reg): Delete. | |
9371 | (arm_extendhisi2_reg, arm_extendqisi2_reg): Delete. | |
9372 | (arm_zero_extendhisi2addsi): Remove subreg. Add attributes. | |
9373 | (arm_zero_extendqisi2addsi, arm_extendhisi2addsi): Likewise. | |
9374 | (arm_extendqisi2addsi): Likewise. | |
9375 | ||
9376 | 2003-12-31 Mark Mitchell <mark@codesourcery.com> | |
9377 | ||
9378 | Revert this change: | |
9379 | * config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG | |
9380 | + REG addressing modes. | |
9381 | ||
9382 | * config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG | |
9383 | + REG addressing modes. | |
9384 | ||
9385 | 2003-12-30 Mark Mitchell <mark@codesourcery.com> | |
9386 | ||
9387 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept | |
9388 | CONSTANT_P_RTX. | |
9389 | ||
9390 | 2003-30-12 Paul Brook <paul@codesourcery.com> | |
9391 | ||
9392 | * longlong.h: protect arm inlines with !defined (__thumb__) | |
9393 | ||
9394 | 2003-30-12 Paul Brook <paul@codesourcery.com> | |
9395 | ||
9396 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Always define __arm__. | |
9397 | ||
9398 | 2003-12-30 Nathan Sidwell <nathan@codesourcery.com> | |
9399 | ||
9400 | * builtins.c (expand_builtin_apply_args_1): Fix typo in previous | |
9401 | change. | |
9402 | ||
9403 | 2003-12-29 Nathan Sidwell <nathan@codesourcery.com> | |
9404 | ||
9405 | * builtins.c (expand_builtin_apply_args_1): Add pretend args size | |
9406 | to the virtual incoming args pointer for downward stacks. | |
9407 | ||
9408 | 2003-12-29 Paul Brook <paul@codesourcery.com> | |
9409 | ||
9410 | * config/arm/arm-cores.def: Add cost function. | |
9411 | * config/arm/arm.c (arm_*_rtx_costs): New functions. | |
9412 | (arm_rtx_costs): Remove | |
9413 | (struct processors): Add rtx_costs field. | |
9414 | (all_cores, all_architectures): Ditto. | |
9415 | (arm_override_options): Set targetm.rtx_costs. | |
9416 | (thumb_rtx_costs): New function. | |
9417 | (arm_rtx_costs_1): Remove cases handled elsewhere. | |
9418 | * config/arm/arm.h (processor_type): Add COSTS parameter. | |
9419 | ||
9420 | 2003-12-29 Nathan Sidwell <nathan@codesourcery.com> | |
9421 | ||
9422 | * config/arm/arm.md (generic_sched): arm926 has its own scheduler. | |
9423 | (arm926ejs.md): Include it. | |
9424 | * config/arm/arm926ejs.md: New pipeline description. | |
9425 | ||
9426 | 2003-12-24 Paul Brook <paul@codesourcery.com> | |
9427 | ||
9428 | * config/arm/arm.c (arm_arch6j): New variable. | |
9429 | (arm_override_options): Set it. | |
9430 | (arm_emit_extendsi): New function. | |
9431 | * config/arm/arm-protos.h (arm_emit_extendsi): Add prototype. | |
9432 | * config/arm/arm.h (arm_arch6j): Declare. | |
9433 | * config/arm/arm.md: Add sign/zero extend insns. | |
9434 | ||
9435 | 2003-12-23 Paul Brook <paul@codesourcery.com> | |
9436 | ||
9437 | * config/arm/arm.c (all_architectures): Add armv6. | |
9438 | * doc/invoke.texi: Document it. | |
9439 | ||
9440 | 2003-12-19 Paul Brook <paul@codesourcery.com> | |
9441 | ||
9442 | * config/arm/arm.md: Add load1 and load_byte "type" attrs. Modify | |
9443 | insn patterns to match. | |
9444 | * config/arm/arm-generic.md: Ditto. | |
9445 | * config/arm/cirrus.md: Ditto. | |
9446 | * config/arm/fpa.md: Ditto. | |
9447 | * config/amm/iwmmxt.md: Ditto. | |
9448 | * config/arm/arm1026ejs.md: Ditto. | |
9449 | * config/arm/arm1135jfs.md: Ditto. Add insn_reservation and bypasses | |
9450 | for 11_loadb. | |
9451 | ||
9452 | 2003-12-18 Nathan Sidwell <nathan@codesourcery.com> | |
9453 | ||
9454 | * config/arm/arm-protos.h (arm_no_early_alu_shift_value_dep): Declare. | |
9455 | * config/arm/arm.c (arm_adjust_cost): Check shift cost for | |
9456 | TYPE_ALU_SHIFT and TYPE_ALU_SHIFT_REG. | |
9457 | (arm_no_early_store_addr_dep, arm_no_early_alu_shift_dep, | |
9458 | arm_no_early_mul_dep): Correctly deal with conditional execution, | |
9459 | parallels and single shift operations. | |
9460 | (arm_no_early_alu_shift_value_dep): Define. | |
9461 | * arm.md (attr type): Replace 'normal' with 'alu', | |
9462 | 'alu_shift' and 'alu_shift_reg'. | |
9463 | (attr core_cycles): Adjust. | |
9464 | (*addsi3_carryin_shift, andsi_not_shiftsi_si, *arm_shiftsi3, | |
9465 | *shiftsi3_compare0, *notsi_shiftsi, *notsi_shiftsi_compare0, | |
9466 | *not_shiftsi_compare0_scratch, *cmpsi_shiftsi, *cmpsi_shiftsi_swp, | |
9467 | *cmpsi_neg_shiftsi, *arith_shiftsi, *arith_shiftsi_compare0, | |
9468 | *arith_shiftsi_compare0_scratch, *sub_shiftsi, | |
9469 | *sub_shiftsi_compare0, *sub_shiftsi_compare0_scratch, | |
9470 | *if_shift_move, *if_move_shift, *if_shift_shift): Set type | |
9471 | attribute appropriately. | |
9472 | * config/arm/arm1026ejs.md (alu_op): Adjust. | |
9473 | (alu_shift_op, alu_shift_reg_op): New. | |
9474 | * config/arm/arm1136.md: Add better bypasses for early | |
9475 | registers. Remove load[234] and store[234] bypasses. | |
9476 | (11_alu_op): Adjust. | |
9477 | (11_alu_shift_op, 11_alu_shift_reg_op): New. | |
9478 | ||
9479 | 2003-12-15 Nathan Sidwell <nathan@codesourcery.com> | |
9480 | ||
9481 | * config/arm/arm-protos.h (arm_no_early_store_addr_dep, | |
9482 | arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Declare. | |
9483 | * config/arm/arm.c (arm_no_early_store_addr_dep, | |
9484 | arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Define. | |
9485 | * config/arm/arm1026ejs.md: Add load-store bypass. | |
9486 | * config/arm/arm1136jfs.md (11_alu_op): Take 2 cycles. | |
9487 | Add bypasses between instructions. | |
9488 | ||
9489 | 2003-12-10 Paul Brook <paul@codesourcery.com> | |
9490 | ||
9491 | * config/arm/arm.c (arm_fpu_model): New variable. | |
9492 | (arm_fload_abi): New variable. | |
9493 | (target_fpe_name): Rename from target_fp_name. | |
9494 | (target_fpu_name): New variable. | |
9495 | (arm_is_cirrus): Remove. | |
9496 | (fpu_desc): New struct. | |
9497 | (all_fpus): Define. | |
9498 | (pf_model_for_fpu): Define. | |
9499 | (all_loat_abis): Define. | |
9500 | (arm_override_options): Set fp arch flags based on -mfpu= | |
9501 | and -float-abi=. | |
9502 | (FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM. | |
9503 | (LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM. | |
9504 | (*): Use new TARGET_* flags. | |
9505 | * config/arm/arm.h (TARGET_ANY_HARD_FLOAT): Remove. | |
9506 | (TARGET_HARD_FLOAT): No longer implies TARGET_FPA. | |
9507 | (TARGET_SOFT_FLOAT): Ditto. | |
9508 | (TARGET_SOFT_FLOAT_ABI): New. | |
9509 | (TARGET_MAVERICK): Rename from TARGET_CIRRUS. No longer implies | |
9510 | TARGET_HARD_FLOAT. | |
9511 | (TARGET_VFP): No longer implies TARGET_HARD_FLOAT. | |
9512 | (TARGET_OPTIONS): Add -mfpu=. | |
9513 | (FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM. | |
9514 | (LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM. | |
9515 | (arm_pf_model): Define. | |
9516 | (arm_float_abi_type): Define. | |
9517 | (fputype): Add FPUTYPE_VFP. Change SOFT_FPA->NONE | |
9518 | * config/arm/arm.md: Use new TARGET_* flags. | |
9519 | * config/arm/cirrus.md: Ditto. | |
9520 | * config/arm/fpa.md: Ditto. | |
9521 | * config/arm/elf.h (ASM_SPEC): Pass -mfloat-abi= and -mfpu=. | |
9522 | * config/arm/semi.h (ASM_SPEC): Ditto. | |
9523 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Specify vfp. | |
9524 | (FPUTYPE_DEFAULT): Set to VFP. | |
9525 | * doc/invoke.texi: Document -mfpu= and -mfloat-abi=. | |
9526 | ||
9527 | 2003-11-22 Phil Edwards <phil@codesourcery.com> | |
9528 | ||
9529 | PR target/12476 | |
9530 | * config/arm/arm.c (arm_output_mi_thunk): In Thumb mode, use | |
9531 | 'bx' instead of 'b' to avoid branch range restrictions. Output | |
9532 | the thunk immediately before the thunked-to function. | |
9533 | * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Do not emit | |
9534 | .thumb_func if a thunk is being generated. Emit .code 16 along | |
9535 | with .thumb_func if a thunk is not being generated. | |
9536 | ||
9537 | 2003-11-15 Nicolas Pitre <nico@cam.org> | |
9538 | ||
9539 | * config/arm/arm.md (ashldi3, arm_ashldi3_1bit, ashrdi3, | |
9540 | arm_ashrdi3_1bit, lshrdi3, arm_lshrdi3_1bit): New patterns. | |
9541 | * config/arm/iwmmxt.md (ashrdi3_iwmmxt): Renamed from ashrdi3. | |
9542 | (lshrdi3_iwmmxt): Renamed from lshrdi3. | |
9543 | * config/arm/arm.c (IWMMXT_BUILTIN2): Renamed argument accordingly. | |
9544 | ||
9545 | 2003-11-12 Steve Woodford <scw@wasabisystems.com> | |
9546 | Ian Lance Taylor <ian@wasabisystems.com> | |
9547 | ||
9548 | * config/arm/lib1funcs.asm (ARM_DIV_BODY, ARM_MOD_BODY): Add new | |
9549 | code for __ARM_ARCH__ >= 5 && ! defined (__OPTIMIZE_SIZE__). | |
9550 | ||
9551 | 2003-11-05 Phil Edwards <phil@codesourcery.com> | |
9552 | ||
9553 | * config/arm/arm.md (insn): Add new V6 instruction names. | |
9554 | (generic_sched): New attr. | |
9555 | * config/arm/arm-generic.md: Use generic_sched here. | |
9556 | * config/arm/arm1026ejs.md: Do not model fetch/issue/decode | |
9557 | stages of pipeline. Adjust latency counts accordingly. | |
9558 | * config/arm/arm1136jfs.md: New file. | |
9559 | ||
9560 | 2003-10-28 Mark Mitchell <mark@codesourcery.com> | |
9561 | ||
9562 | * config/arm/arm.h (processor_type): New enumeration type. | |
9563 | (CPP_ARCH_DEFAULT_SPEC): Set appropriately for ARM 926EJ-S, | |
9564 | ARM1026EJ-S, ARM1136J-S, and ARM1136JF-S processor cores. | |
9565 | (CPP_CPU_ARCH_SPEC): Likewise. | |
9566 | * config/arm/arm.c (arm_tune): New variable. | |
9567 | (all_cores): Use cores.def. | |
9568 | (all_architectures): Add representative processor. | |
9569 | (arm_override_options): Restructure way in which tuning | |
9570 | information is deduced. | |
9571 | * arm.md: Update "insn" and "type" attributes throughout. | |
9572 | (insn): New attribute. | |
9573 | (type): Compute "mult" from "insn" attribute. Add load2, | |
9574 | load3, load4 alternatives. | |
9575 | (arm automaton): Move to arm-generic.md. | |
9576 | * config/arm/arm-cores.def: New file. | |
9577 | * config/arm/arm-generic.md: Likewise. | |
9578 | * config/arm/arm1026ejs.md: Likewise. | |
9579 | ||
60b85c4c EB |
9580 | 2004-02-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
9581 | ||
9582 | * doc/invoke.texi (SPARC options): Remove -mflat and | |
9583 | all -mxxx (xxx:chip) options. | |
9584 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Delete. | |
9585 | * config/sparc/litecoff.h (DBX_REGISTER_NUMBER): Likewise. | |
9586 | * config/sparc/netbsd-elf.h (DBX_REGISTER_NUMBER): Likewise. | |
9587 | * config/sparc/sol2.h (DBX_REGISTER_NUMBER): Likewise. | |
9588 | * config/sparc/sparc-protos.h: Delete sparc_flat_* prototypes. | |
9589 | * config/sparc/sparc.c: Likewise. | |
9590 | (sparc_output_function_prologue): Remove TARGET_FLAT handling. | |
9591 | (sparc_nonflat_function_prologue): Rename into sparc_function_prologue. | |
9592 | (sparc_output_function_epilogue): Remove TARGET_FLAT handling. | |
9593 | (sparc_nonflat_function_epilogue): Rename into sparc_function_epilogue. | |
9594 | (struct sparc_frame_info, current_frame_info, zero_frame_info): Delete. | |
9595 | (sparc_flat_must_save_register_p): Likewise. | |
9596 | (sparc_flat_compute_frame_size): Likewise. | |
9597 | (sparc_flat_save_restore): Likewise. | |
9598 | (sparc_flat_function_prologue): Likewise. | |
9599 | (sparc_flat_function_epilogue): Likewise. | |
9600 | (sparc_flat_epilogue_delay_slots): Likewise. | |
9601 | (sparc_flat_eligible_for_epilogue_delay): Likewise. | |
9602 | (sparc_function_ok_for_sibcall): Remove TARGET_FLAT handling. | |
9603 | * config/sparc/sparc.h (MASK_FLAT, TARGET_FLAT): Delete. | |
9604 | (TARGET_SWITCHES): Remove -mflat and all -mxxx (xxx:chip) options. | |
9605 | (SPARC_INCOMING_INT_ARG_FIRST): Remove TARGET_FLAT handling. | |
9606 | (CONDITIONAL_REGISTER_USAGE): Likewise. | |
9607 | (FRAME_POINTER_REQUIRED): Likewise. | |
9608 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
9609 | (BASE_RETURN_VALUE_REG): Likewise. | |
9610 | (BASE_OUTGOING_VALUE_REG): Likewise. | |
9611 | (BASE_PASSING_ARG_REG): Likewise. | |
9612 | (BASE_INCOMING_ARG_REG): Likewise. | |
9613 | (INCOMING_REGNO): Likewise. | |
9614 | (OUTGOING_REGNO): Likewise. | |
9615 | (LOCAL_REGNO): Likewise. | |
9616 | (DELAY_SLOTS_FOR_EPILOGUE): Likewise. | |
9617 | (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. | |
9618 | (EPILOGUE_USES): Likewise. | |
9619 | * config/sparc/sparc.md ("isa" attribute): Change "v6" into "v7". | |
9620 | ("flat" attribute): Delete. | |
9621 | (do_builtin_setjmp_setup): Remove TARGET_FLAT and "flat" attribute | |
9622 | handling. | |
9623 | (call followed by jump define_peephole's): Delete. | |
9624 | (exception_receiver): Likewise. | |
9625 | (builtin_setjmp_receiver): Likewise. | |
9626 | * config/sparc/t-sparclite (MULTILIB_OPTIONS): Remove -mflat. | |
9627 | ||
e57e265b PB |
9628 | 2004-02-03 Paolo Bonzini <bonzini@gnu.org> |
9629 | ||
9630 | PR c/11658 | |
9631 | PR c/13994 | |
9632 | * Makefile.in (c-parse.o, c-convert.o, c-typeck.o): Depend | |
9633 | on langhooks.h. | |
9634 | * objc/Make-lang.in (objc-parse.o): Depend on langhooks.h. | |
9635 | * c-parse.in, c-convert.c, c-typeck.c, objc/objc-act.c: | |
9636 | Include langhooks.h. Replace c_common_truthvalue_conversion | |
9637 | with the truthvalue_conversion language hook throughout. | |
9638 | (expr_no_commas): Call default_conversion before save_expr | |
9639 | for the first term of the production 'x ? : y'. | |
9640 | * c-common.c (c_common_truthvalue_conversion): Remove | |
9641 | obsolete block. Invoke recursively the hook instead | |
9642 | of this function. | |
9643 | * c-convert.c (convert): handle ERROR_MARK_NODE. | |
9644 | * c-typeck.c (build_binary_op): handle ERROR_MARK_NODE | |
9645 | returned by the truthvalue_conversion language hook. | |
9646 | * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use | |
9647 | c_objc_common_truthvalue_conversion. | |
9648 | * c-objc-common.c (c_objc_common_truthvalue_conversion): | |
9649 | New function. | |
9650 | * c-tree.h (c_objc_common_truthvalue_conversion): Declare it. | |
9651 | * objc/objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use | |
9652 | c_objc_common_truthvalue_conversion. | |
9653 | ||
a7a2225a KH |
9654 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
9655 | ||
9656 | * config/c4x/c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead | |
9657 | of gen_rtx. | |
9658 | (LIBCALL_VALUE): Likewise. | |
9659 | * config/ip2k/ip2k.c (mdr_try_propagate_clr_sequence): Use | |
9660 | gen_rtx_CC0 instead of gen_rtx. | |
9661 | * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use | |
9662 | gen_rtx_fmt_e and gen_rtx_fmt_ee instead of gen_rtx. | |
9663 | (m68hc11_expand_compare): Use gen_rtx_fmt_ee instead of | |
9664 | gen_rtx. | |
9665 | (m68hc11_emit_logical): Likewise. | |
9666 | ||
a556fd39 KH |
9667 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
9668 | ||
9669 | * config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c, | |
9670 | config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md, | |
9671 | config/h8300/h8300.c, config/ia64/ia64.c, config/ip2k/ip2k.md, | |
9672 | config/m32r/m32r.md, config/m68hc11/m68hc11.c, | |
9673 | config/mips/mips.md, config/mmix/mmix.c, | |
9674 | config/mn10300/mn10300.c, config/mn10300/mn10300.md, | |
9675 | config/ns32k/ns32k.c, config/pa/pa.md, config/pdp11/pdp11.c, | |
9676 | config/rs6000/altivec.md, config/s390/s390.c, | |
9677 | config/s390/s390.h, config/s390/s390.md, config/sh/sh.c, | |
9678 | config/sh/sh.h, config/sh/sh.md, config/stormy16/stormy16.c: | |
9679 | Use const0_rtx instead of GEN_INT (0). Do the same for other | |
9680 | constants that are readily available. | |
9681 | ||
60c81c89 KH |
9682 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
9683 | ||
9684 | * doloop.c, optabs.c, regmove.c, sched-deps.c, | |
9685 | config/i386/i386.c, config/i386/i386.md: Use const0_rtx | |
9686 | instead of GEN_INT (0). Do the same for other constants that | |
9687 | are readily available. | |
9688 | ||
2fb00d7f KH |
9689 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
9690 | ||
9691 | * combine.c (simplify_set): Use gen_rtx_fmt_e instead of | |
9692 | gen_rtx. | |
9693 | * emit-rtl.c (init_emit_once): Use gen_rtx_PC and gen_rtx_CC0 | |
9694 | instead of gen_rtx. | |
9695 | * reload1.c (init_elim_table): Use gen_rtx_fmt_e instead of | |
9696 | gen_rtx. | |
9697 | * config/ns32k/ns32k.md (udivmodhi4): Use gen_rtx_IOR and | |
9698 | gen_rtx_ASHIFT instead of gen_rtx. | |
9699 | (udivmodqi4): Likewise. | |
9700 | ||
b0dccb00 RH |
9701 | 2004-02-02 Richard Henderson <rth@redhat.com> |
9702 | ||
a6f78652 ZW |
9703 | PR target/13789 |
9704 | * expr.c (store_expr): Use force_operand before emit_move_insn. | |
b0dccb00 | 9705 | |
3168cb99 JL |
9706 | 2004-02-02 Jeff Law <law@redhat.com> |
9707 | Roger Sayle <roger@eyesopen.com> | |
9708 | ||
9709 | * tree.c (commutative_tree_code, associative_tree_code): New | |
9710 | functions. | |
9711 | (iterative_hash_expr): Use commutative_tree_code. | |
9712 | * tree.h (commutative_tree_code, associative_tree_code): Declare. | |
9713 | * fold-const.c (operand_equal_p): Use commutative_tree_code | |
9714 | rather than inlining the commutativity check. | |
9715 | (fold): Likewise. | |
9716 | ||
040333a7 KH |
9717 | 2004-02-02 Kazu Hirata <kazu@cs.umass.edu> |
9718 | ||
9719 | * system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison. | |
9720 | * config/frv/frv-protos.h: Remove the prototype for | |
9721 | frv_function_arg_keep_as_reference. | |
9722 | * config/frv/frv.c (frv_function_arg_keep_as_reference): | |
9723 | Remove. | |
9724 | * config/frv/frv.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Likewise. | |
9725 | * config/stormy16/stormy16.h: Remove the commented-out | |
9726 | definition of FUNCTION_ARG_KEEP_AS_REFERENCE. | |
9727 | ||
79d69d75 AM |
9728 | 2004-02-03 Alan Modra <amodra@bigpond.net.au> |
9729 | ||
9730 | PR target/13914 | |
9731 | * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Use ap | |
9732 | for retaddr_column. | |
9733 | ||
600555f5 KH |
9734 | 2004-02-02 Kazu Hirata <kazu@cs.umass.edu> |
9735 | ||
9736 | * genemit.c (gen_exp): Generate gen_rtx_fmt_e* instead of | |
9737 | gen_rtx. | |
9738 | ||
16dd5cfe | 9739 | 2004-02-02 Eric Christopher <echristo@redhat.com> |
a6f78652 | 9740 | Zack Weinberg <zack@codesourcery.com> |
16dd5cfe EC |
9741 | |
9742 | * c-opts.c (c_common_handle_option): Add -finput-charset. | |
a6f78652 ZW |
9743 | * c.opt: Ditto. |
9744 | * cppcharset.c (one_iso88591_to_utf8): Remove. | |
9745 | (convert_iso88591_utf8): Ditto. | |
9746 | (conversion_tab): Remove 8859-1 converter. | |
9747 | (_cpp_input_to_utf8): Remove. | |
9748 | (_cpp_init_iconv_buffer): Ditto. | |
9749 | (_cpp_close_iconv_buffer): Ditto. | |
9750 | (_cpp_convert_input): New function. | |
9751 | (_cpp_default_encoding): Ditto. | |
9752 | * cpphash.h: Add/remove prototypes for above. | |
9753 | * cppfiles.c (read_file_guts): Use _cpp_convert_input. | |
9754 | * cppinit.c (cpp_create_reader): Use _cpp_default_encoding | |
9755 | for narrow execution and input character sets. | |
9756 | * cpplib.c (cpp_push_buffer): Delete uses of removed functions. | |
9757 | * doc/cppopts.texi: Document -finput-charset. | |
16dd5cfe | 9758 | |
8ad0d964 DE |
9759 | 2004-02-02 David Edelsohn <edelsohn@gnu.org> |
9760 | ||
9761 | * rtlanal.c (refers_to_regno_p): Test regno, not inner_regno, | |
9762 | against FIRST_PSEUDO_REGISTER. | |
9763 | ||
238b11b5 EB |
9764 | 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
9765 | ||
9766 | * doc/invoke.texi (SPARC options): Further improve. | |
9767 | ||
0f4c242b KH |
9768 | 2004-02-02 Kazu Hirata <kazu@cs.umass.edu> |
9769 | ||
9770 | * config/arm/arm.md, config/c4x/c4x.md, config/cris/cris.md, | |
9771 | config/h8300/h8300.c, config/ip2k/ip2k.md, | |
9772 | config/iq2000/iq2000.c, config/mips/mips.c, | |
9773 | config/rs6000/rs6000.c, config/rs6000/rs6000.md, | |
9774 | config/sh/sh.c, config/sh/sh.md, config/stormy16/stormy16.c, | |
9775 | config/v850/v850.md: Fix indentation. | |
9776 | ||
d560b0aa EB |
9777 | 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
9778 | ||
9779 | * config/sparc/sparc.c (function_arg_slotno): Align TImode | |
9780 | arguments on a 16-byte boundary in the parameter array if ARCH64. | |
9781 | Split handling of TFmode. | |
9782 | ||
6f626d1b PB |
9783 | 2004-02-02 Paolo Bonzini <bonzini@gnu.org> |
9784 | ||
9785 | * rtlanal.c (reg_overlap_mentioned_p) [!ENABLE_CHECKING]: | |
9786 | Don't test CONSTANT_P (x). | |
9787 | (reg_overlap_mentioned_p): Merge check for STRICT_LOWPART, | |
9788 | ZERO_EXTRACT, SIGN_EXTRACT with the switch statement. | |
9789 | Fix misindentation. | |
9790 | ||
e789e9c4 EB |
9791 | 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
9792 | ||
9793 | * doc/invoke.texi (SPARC options): Document that -mflat is deprecated. | |
9794 | ||
1c563bed KH |
9795 | 2004-02-02 Kazu Hirata <kazu@cs.umass.edu> |
9796 | ||
9797 | * config/arc/arc.md, config/arm/arm.c, config/arm/arm.md, | |
9798 | config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.md, | |
9799 | config/frv/frv.c, config/h8300/h8300.c, config/ip2k/ip2k.md, | |
9800 | config/iq2000/iq2000.c, config/m32r/m32r.c, | |
9801 | config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.md, | |
9802 | config/mn10300/mn10300.c, config/rs6000/rs6000.c, | |
9803 | config/rs6000/rs6000.md, config/sh/sh.c, config/sh/sh.md, | |
9804 | config/stormy16/stormy16.c, config/v850/v850.md, | |
9805 | config/xtensa/xtensa.c: Replace gen_rtx with gen_rtx_fmt_e*. | |
9806 | ||
67245ad3 KH |
9807 | 2004-02-01 Kazu Hirata <kazu@cs.umass.edu> |
9808 | ||
9809 | * config/mcore/mcore.c (block_move_sequence): Replace | |
9810 | gen_rtx_CONST_INT with GEN_INT. | |
9811 | ||
66fd46b6 JH |
9812 | 2004-02-02 Jan Hubicka <jh@suse.cz> |
9813 | ||
9814 | * alias.c (record_set): Use hard_regno_nregs. | |
9815 | * bt-load.c (find_btr_reference, note_btr_set): Likewise. | |
9816 | * builtins.c (apply_args_size): Likewise. | |
9817 | * caller-save.c (setup_save_areas, save_call_clobbered_regs, | |
9818 | mark_set_regs, add_stored_regs, mark_referenced_regs, | |
9819 | insert_restore, insert_save, insert_one_insn): Likewise. | |
9820 | * cfgcleanup.c: Include regs.h | |
9821 | (mark_effect, mentions_nonequal_regs): Likewise. | |
9822 | * cfgrtl.c (mark_killed_regs): Likewise | |
9823 | * combine.c (update_table_tick, record_value_for_reg, | |
9824 | record_dead_and_set_regs, get_last_value_validate, use_crosses_set_p, | |
9825 | reg_dead_at_p_1, reg_dead_at_p, mark_used_regs_combine, move_deaths, | |
9826 | reg_bitfield_target_p, distribute_notes): Likewise. | |
9827 | * cse.c (mention_regs, insert, invalidate, invalidate_for_call, | |
9828 | exp_equiv_p, cse_insn): Likewise. | |
9829 | * cselib.c (cselib_lookup): Likewise. | |
9830 | (cselib_invalidate_regno, cselib_record_set): Likewise. | |
9831 | * df.c (df_ref_record): Likewise. | |
9832 | * dwarf2out.c (reg_loc_descriptor, multiple_reg_loc_descriptor): | |
9833 | Likewise. | |
9834 | * flow.c (mark_reg, insn_dead_p, mark_set_1, mark_used_reg, | |
9835 | count_or_remove_death_notes_bb): Likewise. | |
9836 | * function.c (aggregate_value_p, keep_stack_depressed): Likewise. | |
9837 | * gloval.c (global_alloc, find_reg, mark_reg_store, mark_reg_conflicts, | |
9838 | mark_reg_death, set_preference, reg_becomes_live, reg_dies): Likewise. | |
9839 | * integrate.c (mark_stores): Likewise. | |
9840 | * jump.c (delete_prior_computation): Likewise. | |
9841 | * lcm.c (reg_dies, reg_becomes_live): Likewise. | |
9842 | * local-alloc.c (combine_regs, find_free_reg, post_mark_life): Likewise. | |
9843 | * loop.c (LOOP_REGNO_NREGS): Likewise. | |
9844 | * postreload.c (reload_combine, reload_combine_note_store, | |
9845 | reload_combine_note_use, reload_cse_move2add, move2add_note_store): Likewise. | |
9846 | * ra-colorize.c (combine, color_usable_p, get_free_reg, | |
16dd5cfe | 9847 | calculate_dont_begin, calculate_dont_begin, colorize_one_web, |
66fd46b6 JH |
9848 | try_recolor_web, insert_coalesced_conflicts, check_colors, |
9849 | break_precolored_alias): Likewise. | |
9850 | * ra-debug.c: Include regs.h | |
9851 | (ra_print_rtx_object): Likewise. | |
9852 | * ra-rewrite (choose_spill_colors): Likewise. | |
9853 | (spill_same_color_p, update_spill_colors, spill_is_free): Likewise. | |
9854 | * ra.c (init_ra): Likewise. | |
9855 | * recog.c (reg_fits_class_p, peep2_reg_dead_p, | |
9856 | peep2_find_free_register): Likewise. | |
9857 | * reg-stack.c (subst_stack_regs_pat, convert_regs_exit): Likewise. | |
9858 | * regclass.c (hard_regno_nregs): New array. | |
9859 | (init_reg_modes_once): Initialize it. | |
9860 | (choose_hard_reg_mode): Use it. | |
9861 | (record_reg_classes): Likewise. | |
9862 | * regmove.c (mark_flags_life_zones): Likewise. | |
9863 | * regrename.c (note_sets, clear_dead_regs, regrename_optimize, | |
9864 | scan_rtx_reg, dump_def_use_chain, kill_value, set_value_regno, | |
9865 | copy_value, maybe_mode_change, find_oldest_value_reg, | |
9866 | copyprop_hardreg_forward_1): | |
9867 | * regs.h (hard_regno_nregs): Declare. | |
9868 | * realod.c (reload_inner_reg_of_subreg): Use it. | |
9869 | (push_reload, combine_reloads, find_dummy_reload, | |
9870 | hard_reg_set_here_p, operands_match_p, decompose, find_reloads, | |
9871 | refers_to_regno_for_reload_p, find_equiv_reg, regno_clobbered_p, | |
9872 | reload_adjust_reg_for_mode): Likewise. | |
9873 | * reload1.c (compute_use_by_pseudos, count_pseudo, | |
9874 | count_spilled_pseudo, find_reg, find_reload_regs, mark_home_live, | |
9875 | spill_hard_reg, forget_old_reloads_1, mark_reload_reg_in_use, | |
9876 | clear_reload_reg_in_use, reload_reg_free_for_value_p, free_for_value_p | |
9877 | allocate_reload_reg, choose_reload_regs, emit_reload_insns, | |
9878 | delete_output_reload): Likewise. | |
9879 | * resource.c (update_live_status, mark_referenced_resources, | |
9880 | mark_set_resources, mark_target_live_regs): Likewise. | |
9881 | * rtlanal.c: Include regs.h | |
9882 | (refers_to_regno_p, reg_overlap_mentioned_p, dead_or_set_p, | |
9883 | dead_or_set_regno_p, find_regno_note, find_reg_fusage, | |
9884 | subreg_regno_offset, subreg_offset_representable_p, | |
9885 | hoist_test_store): Likewise. | |
9886 | * sched-deps.c (sched_analyze_1, sched_analyze_2): Likewise. | |
9887 | * sched-rgn.c (check_live_1, update_live_1): Likewise. | |
9888 | * stmt.c: Include regs.h | |
9889 | (decl_conflicts_with_clobbers_p): Likewise. | |
9890 | * varasm.c (make_decl_rtl): Likewise. | |
9891 | * Makefile.in (cfgcleanup.o, rtlanal.o, ra-debug.o): Add regs.h dependnecy. | |
9892 | ||
f1c25d3b KH |
9893 | 2004-02-01 Kazu Hirata <kazu@cs.umass.edu> |
9894 | ||
9895 | * config/arm/arm.c, config/arm/arm.h, config/arm/arm.md, | |
9896 | config/arm/linux-gas.h, config/arm/netbsd-elf.h, | |
9897 | config/arm/netbsd.h, config/arm/pe.c, config/avr/avr.c, | |
9898 | config/avr/avr.h, config/avr/avr.md, config/c4x/c4x.h, | |
9899 | config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, | |
9900 | config/frv/frv.h, config/ip2k/ip2k.c, config/iq2000/iq2000.c, | |
9901 | config/iq2000/iq2000.h, config/m32r/m32r.c, | |
9902 | config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, | |
9903 | config/m68hc11/m68hc11.md, config/m68k/m68k.md, | |
9904 | config/mcore/mcore.c, config/mcore/mcore.h, | |
9905 | config/mcore/mcore.md, config/mips/mips.c, | |
9906 | config/ns32k/ns32k.h, config/ns32k/ns32k.md, | |
9907 | config/rs6000/rs6000.c, config/s390/s390.c, | |
9908 | config/s390/s390.md, config/sparc/sparc.c, config/v850/v850.c, | |
9909 | config/xtensa/xtensa.h, config/xtensa/xtensa.md: Replace | |
9910 | "gen_rtx (FOO, " with "gen_rtx_FOO (". | |
9911 | ||
e0a24727 KH |
9912 | 2004-02-01 Kazu Hirata <kazu@cs.umass.edu> |
9913 | ||
9914 | * config/h8300/h8300.md (two peephole2's): New. | |
9915 | ||
5202c5fe EB |
9916 | 2004-02-01 Eric Botcazou <ebotcazou@libertysurf.fr> |
9917 | ||
9918 | * config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3. | |
9919 | (CPP_CPU_SPEC): Handle -mcpu=ultrasparc3. | |
9920 | (ASM_CPU_SPEC): Likewise | |
9921 | * config/sparc/sol2.h: Handle TARGET_CPU_ultrasparc3. | |
9922 | (ASM_CPU_SPEC): Remove -mcpu=v8plus. Handle -mcpu=ultrasparc3. | |
9923 | ||
13b59849 RS |
9924 | 2004-02-01 Roger Sayle <roger@eyesopen.com> |
9925 | ||
9926 | * builtins.c (expand_builtin_pow): If flag_unsafe_math_optimizations | |
9927 | isn't set, don't call expand_builtin_mathfn_2 to use the pow optab. | |
9928 | (expand_builtin): Always call expand_builtin_pow. | |
9929 | ||
ef79730c RS |
9930 | 2004-02-01 Roger Sayle <roger@eyesopen.com> |
9931 | ||
9932 | * builtins.def (BUILT_IN_SIGNBIT, BUILT_IN_SIGNBITF, | |
9933 | BUILT_IN_SIGNBITL): New GCC builtins. | |
9934 | * builtins.c (expand_builtin_signbit): New function to RTL expand | |
9935 | calls to signbit, signbitf and signbitl as inline intrinsics. | |
9936 | (expand_builtin): Call expand_builtin_signbit for BUILT_IN_SIGNBIT*. | |
9937 | (fold_builtin_signbit): New function to perform constant folding | |
9938 | of signbit, signbitf and signbitl. | |
9939 | (fold_builtin): Call fold_builtin_signbit for BUILT_IN_SIGNBIT*. | |
9940 | ||
9941 | * doc/extend.texi: Document new signbit{,f,l} builtins. | |
9942 | ||
a80cdb0f RS |
9943 | 2004-02-01 Richard Sandiford <rsandifo@redhat.com> |
9944 | ||
9945 | * config/mips/mips.md (adddi3_internal_2): Remove superfluous %s. | |
9946 | ||
2efe2033 CD |
9947 | 2004-02-01 Chris Demetriou <cgd@broadcom.com> |
9948 | ||
9949 | * config/mips/mips.h (PREDICATE_CODES): Remove entries for | |
9950 | "mips_const_double_ok" and "simple_memory_operand", which were | |
9951 | removed from the MIPS port with the mips-3_4-rewrite branch merge. | |
9952 | * config/mips/mips.c (mips16_lay_out_constants): Update comment | |
9953 | for removal of simple_memory_operand. | |
9954 | ||
d37eb705 KH |
9955 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
9956 | ||
9957 | * config/c4x/c4x.md: Use GEN_INT instead of | |
9958 | gen_rtx (CONST_INT, ...). | |
9959 | ||
fadeed3b RH |
9960 | 2004-01-31 Richard Henderson <rth@redhat.com> |
9961 | ||
9962 | * varasm.c (output_constant_pool): Don't zap the pool. | |
9963 | ||
ccdc1703 KH |
9964 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
9965 | ||
9966 | * genrecog.c (decision_type): Add DT_const_int. | |
9967 | (write_cond) [DT_const_int]: Print a comparison against small | |
9968 | constant. | |
9969 | (write_node): Simplify comparisons against small constants | |
9970 | before printing tests. | |
16dd5cfe | 9971 | |
aeba8f80 KH |
9972 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
9973 | ||
9974 | * config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT | |
9975 | instead of gen_rtx_CONST_INT. | |
9976 | ||
400ce94c KH |
9977 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
9978 | ||
9979 | * config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT | |
9980 | instead of gen_rtx_CONST_INT. | |
9981 | ||
8dfa8fcd KH |
9982 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
9983 | ||
9984 | * target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as | |
9985 | hook_bool_CUMULATIVE_ARGS_false. | |
9986 | * targhooks.c (default_strict_argument_naming): Rename to | |
9987 | hook_bool_CUMULATIVE_ARGS_false. | |
9988 | * targhooks.h: Update the prototype for | |
9989 | default_strict_argument_naming. | |
9990 | ||
c0d4e710 KH |
9991 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
9992 | ||
9993 | * config/sh/sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". | |
9994 | * config/sh/sh.h: Likewise. | |
9995 | * config/sh/sh.md: Likewise. | |
9996 | ||
fdf064f2 EB |
9997 | 2004-01-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
9998 | ||
9999 | * doc/invoke.texi (SPARC options): Restructure and update. | |
10000 | ||
b602b7b6 KH |
10001 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
10002 | ||
10003 | * system.h (PROMOTE_FUNCTION_ARGS, STRUCT_VALUE_INCOMING, and | |
10004 | STRICT_ARGUMENT_NAMING): Poison. | |
10005 | * target-def.h (TARGET_PROMOTE_FUNCTION_ARGS): Define as | |
10006 | hook_bool_tree_false. | |
10007 | * targhooks.c (default_promote_function_args): Remove. | |
10008 | (default_struct_value_rtx): Don't use STRUCT_VALUE_INCOMING. | |
10009 | Don't check incoming. | |
10010 | (default_strict_argument_naming): Don't use | |
10011 | STRICT_ARGUMENT_NAMING. | |
10012 | * targhooks.h: Remove the prototype for | |
10013 | default_promote_function_args. | |
10014 | ||
a0524eb3 KH |
10015 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
10016 | ||
10017 | * config/i386/i386-protos.h: Remove the prototype for | |
10018 | ix86_setup_incoming_varargs. | |
10019 | * config/i386/i386.c (TARGET_SETUP_INCOMING_VARARGS): New. | |
10020 | (ix86_setup_incoming_varargs): Make it static. | |
10021 | * config/i386/i386.h (SETUP_INCOMING_VARARGS): Remove. | |
10022 | ||
a457ee07 KH |
10023 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
10024 | ||
10025 | * alloc-pool.c: Fix comment typos. | |
10026 | * builtin-types.def: Likewise. | |
10027 | * builtins.def: Likewise. | |
10028 | * c-pretty-print.c: Likewise. | |
10029 | * df.h: Likewise. | |
10030 | * reload1.c: Likewise. | |
10031 | ||
a451b0bd KH |
10032 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
10033 | ||
10034 | * doc/invoke.texi: Follow spelling conventions. | |
10035 | * doc/tm.texi: Likewise. | |
10036 | ||
e53e0c56 KH |
10037 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
10038 | ||
10039 | * doc/install.texi: Fix typos. | |
10040 | * doc/invoke.texi: Likewise. | |
10041 | ||
025b17a4 UW |
10042 | 2004-01-31 Ulrich Weigand <uweigand@de.ibm.com> |
10043 | ||
10044 | * config/s390/s390.c (s390_decompose_address): Do not treat virtual | |
10045 | registers as pointers. | |
10046 | * config/s390/s390.md ("*la_31" second peephole2): Fix incorrect mode. | |
10047 | ||
4de249d9 PB |
10048 | 2004-01-31 Paolo Bonzini <bonzini@gnu.org> |
10049 | ||
c53bdcf5 | 10050 | * combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine |
4de249d9 PB |
10051 | and restore it to gen_lowpart_general on exit. |
10052 | (gen_lowpart_for_combine): Adjust all callers to go through | |
10053 | gen_lowpart. | |
10054 | * cse.c (cse_main): Set gen_lowpart to gen_lowpart_if_possible | |
10055 | and restore it to gen_lowpart_general on exit. | |
10056 | (gen_lowpart_if_possible): Adjust all callers to go through | |
10057 | gen_lowpart. | |
10058 | * emit-rtl.c (gen_lowpart_general): New name of gen_lowpart. | |
10059 | (gen_lowpart): Declare as pointer to function, initialized to | |
10060 | gen_lowpart_general. | |
10061 | * rtl.h (gen_lowpart): Declare as pointer to function. | |
10062 | ||
f84d109f KH |
10063 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
10064 | ||
10065 | * bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". | |
10066 | * calls.c: Likewise. | |
10067 | * emit-rtl.c: Likewise. | |
10068 | * function.c: Likewise. | |
10069 | * reload1.c: Likewise. | |
10070 | * config/i386/cygming.h: Likewise. | |
10071 | * config/i386/i386.c: Likewise. | |
10072 | * config/i386/winnt.c: Likewise. | |
10073 | ||
354b7da5 DH |
10074 | 2004-01-30 Dara Hazeghi <dhazeghi@yahoo.com> |
10075 | ||
10076 | PR bootstrap/9249 | |
10077 | * doc/install.texi: document --enable-__cxa_atexit option. | |
10078 | * configure.ac: Disable __cxa_atexit if not supported. | |
10079 | * configure: Regenerate. | |
10080 | ||
9781b6da DB |
10081 | 2003-01-30 Daniel Berlin <dberlin@dberlin.org> |
10082 | ||
10083 | * ggc-zone.c (ggc_free): New function. | |
10084 | ||
283334f0 KH |
10085 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
10086 | ||
10087 | alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c, | |
10088 | cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h, | |
10089 | flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h, | |
10090 | ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def, | |
10091 | tree-optimize.c, vmsdbgout.c, config/fp-bit.c, | |
10092 | config/alpha/alpha.c, config/alpha/alpha.h, | |
10093 | config/alpha/alpha.md, config/alpha/unicosmk.h, | |
10094 | config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c, | |
10095 | config/c4x/c4x-protos.h, config/c4x/c4x.md, | |
10096 | config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c, | |
10097 | config/frv/frvend.c, config/i386/cygming.h, | |
10098 | config/i386/djgpp.h, config/i386/emmintrin.h, | |
10099 | config/i386/gthr-win32.c, config/i386/i386-interix.h, | |
10100 | config/i386/i386-protos.h, config/i386/openbsd.h, | |
10101 | config/i386/winnt.c, config/i386/xm-mingw32.h, | |
10102 | config/i386/xmmintrin.h, config/ia64/ia64.md, | |
10103 | config/iq2000/iq2000.md, config/m32r/m32r.md, | |
10104 | config/m68k/m68k.md, config/mcore/mcore-elf.h, | |
10105 | config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h, | |
10106 | config/mips/iris5gas.h, config/mips/iris6.h, | |
10107 | config/mips/iris6gas.h, config/mips/linux.h, | |
10108 | config/mips/mips.md, config/mips/netbsd.h, | |
10109 | config/mips/openbsd.h, config/mips/windiss.h, | |
10110 | config/pa/fptr.c, config/rs6000/aix.h, | |
10111 | config/rs6000/altivec.h, config/rs6000/darwin.h, | |
10112 | config/rs6000/xcoff.h, config/s390/s390-protos.h, | |
10113 | config/s390/s390.c, config/s390/s390.h, config/s390/s390.md, | |
10114 | config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h, | |
10115 | config/sparc/sol2.h: Update copyright. | |
10116 | ||
71cbe2c1 KC |
10117 | 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> |
10118 | ||
10119 | * Makefile.in (abs_docdir, abs_srcdir): Define. | |
10120 | (doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir). | |
10121 | ||
bfb2d661 KH |
10122 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
10123 | ||
10124 | * genconfig.c (main): Have CC0_P check its operand even on a | |
10125 | target without cc0. | |
10126 | ||
bd5bd7ac KH |
10127 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
10128 | ||
10129 | * config/alpha/alpha.c: Remove mentions of deprecates macros | |
10130 | in comments, remove some target-independent comments about target | |
10131 | macros, and/or add minimal function comments for target hook | |
10132 | implementations. | |
10133 | * config/avr/avr.c: Likewise. | |
10134 | * config/ia64/ia64.h: Likewise. | |
10135 | * config/ip2k/ip2k.c: Likewise. | |
10136 | * config/iq2000/iq2000.c: Likewise. | |
10137 | * config/m32r/m32r.h: Likewise. | |
10138 | * config/m68hc11/m68hc11.c: Likewise. | |
10139 | * config/mcore/mcore.c: Likewise. | |
10140 | * config/mmix/mmix.c: Likewise. | |
10141 | * config/mn10300/mn10300.c: Likewise. | |
10142 | * config/pa/pa.c: Likewise. | |
10143 | * config/pdp11/pdp11.c: Likewise. | |
10144 | * config/rs6000/rs6000.h: Likewise. | |
10145 | * config/sh/sh.c: Likewise. | |
10146 | * config/sh/sh.h: Likewise. | |
10147 | * config/sparc/sparc.c: Likewise. | |
10148 | * config/sparc/sparc.h: Likewise. | |
10149 | * config/stormy16/stormy16.c: Likewise. | |
10150 | * config/xtensa/xtensa.c: Likewise. | |
10151 | ||
808ededc UW |
10152 | 2004-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
10153 | ||
10154 | PR optimization/12147 | |
10155 | * reload1.c (reload_reg_free_p): RELOAD_OTHER conflicts with | |
10156 | RELOAD_FOR_OPADDR_ADDR. | |
10157 | (reload_reg_reaches_end_p): RELOAD_FOR_OTHER_ADDRESS register | |
10158 | might be reused as RELOAD_FOR_OPADDR_ADDR register. | |
10159 | ||
98e5e087 JH |
10160 | 2004-01-30 Jan Hubicka <jh@suse.cz> |
10161 | ||
bd5bd7ac | 10162 | * reload.c (get_secondary_mem): Fix updating of |
98e5e087 JH |
10163 | secondary_memlocs_elim_used. |
10164 | ||
3234b52d RH |
10165 | 2004-01-30 Richard Henderson <rth@redhat.com> |
10166 | ||
10167 | * varasm.c (struct rtx_const, struct pool_constant): Remove. | |
10168 | (MAX_RTX_HASH_TABLE): Remove. | |
10169 | (const_rtx_hash_table, const_rtx_sym_hash_table): Remove. | |
10170 | (first_pool, last_pool, pool_offset): Remove. | |
10171 | (struct rtx_constant_pool): Split out from ... | |
10172 | (struct varasm_status): ... here. Reference one via pointer. | |
10173 | (struct constant_descriptor_rtx): Merge struct pool_constant. | |
10174 | (SYMHASH): Remove. | |
10175 | (decode_rtx_const): Remove. | |
10176 | (const_hash_rtx, compare_constant_rtx): Remove. | |
10177 | (record_constant_rtx): Remove. | |
10178 | (const_desc_rtx_hash, const_desc_rtx_eq): New. | |
10179 | (const_desc_rtx_sym_hash, const_desc_rtx_sym_eq): New. | |
10180 | (const_rtx_hash_1, const_rtx_hash): New. | |
10181 | (init_varasm_status): Allocate a rtx_constant_pool, and its hashes. | |
10182 | (simplify_subtraction): Use simplify_rtx. | |
10183 | (force_const_mem): Rewrite to use new data structures. | |
10184 | (find_pool_constant): Likewise. | |
10185 | (get_pool_constant, get_pool_constant_mark, | |
10186 | get_pool_constant_for_function, get_pool_mode, | |
10187 | get_pool_mode_for_function, get_pool_offset, get_pool_size): Likewise. | |
10188 | (output_constant_pool_2): Split out from output_constant_pool. | |
10189 | (output_constant_pool_1): Likewise. Use new pool datastructures. | |
10190 | (output_constant_pool): Zap entire pool datastructure. | |
10191 | (mark_constant): Use new pool datastructures. | |
10192 | (mark_constants): Use for_each_rtx. | |
10193 | (mark_constant_pool): Use new pool datastructures. | |
10194 | ||
be77d9e7 | 10195 | 2004-01-30 Fariborz Jahanian <fjahanian@apple.com> |
16dd5cfe | 10196 | |
a6f78652 | 10197 | * config/rs6000/rs6000.c (rs6000_emit_move): Remove #if 0. |
be77d9e7 FJ |
10198 | Copy operands[1] to pseudo for simplify_gen_subreg. |
10199 | ||
f0cad2d5 KH |
10200 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
10201 | ||
10202 | * gcse.c (bypass_block): Fix a typo in the previous check-in | |
10203 | to the file. | |
10204 | ||
40ca90bf AP |
10205 | 2004-01-30 Andrew Pinski <pinskia@physics.uc.edu> |
10206 | ||
10207 | * toplev.c: Include alloc-pool.h. | |
16dd5cfe | 10208 | * Makefile.in (toplev.c): Update dependencies. |
40ca90bf | 10209 | |
39a44a4e RK |
10210 | 2004-01-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10211 | ||
10212 | * combine.c (simplify_shift_const, case XOR): Be careful when | |
10213 | commuting XOR with ASHIFTRT. | |
10214 | ||
3e2cc1d1 | 10215 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
a6f78652 | 10216 | Eric Botcazou <ebotcazou@libertysurf.fr> |
3e2cc1d1 KH |
10217 | |
10218 | * config/sparc/sparc-protos.h: Remove the prototype for | |
10219 | sparc_builtin_saveregs. | |
10220 | * config/sparc/sparc.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
10221 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
10222 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
10223 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10224 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
10225 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
10226 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
10227 | (sparc_builtin_saveregs): Make it static. | |
10228 | (sparc_promote_prototypes): New. | |
10229 | (sparc_struct_value_rtx): Likewise. | |
10230 | (sparc_return_in_memory): Likewise. | |
10231 | * config/sparc/sparc.h: (PROMOTE_FUNCTION_ARGS): Remove. | |
10232 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
10233 | (RETURN_IN_MEMORY): Likewise. | |
10234 | (STRUCT_VALUE): Likewise. | |
10235 | (STRUCT_VALUE_INCOMING): Likewise. | |
10236 | (EXPAND_BUILTIN_SAVEREGS): Likewise. | |
10237 | (STRICT_ARGUMENT_NAMING): Likewise. | |
10238 | (PROMOTE_PROTOTYPES): Likewise. | |
10239 | ||
10240 | * config/sparc/sparc.h (PROMOTE_MODE): Use word_mode. | |
10241 | ||
5e9295fa EB |
10242 | 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr> |
10243 | ||
10244 | PR c/12818 | |
10245 | * varasm.c (const_hash_1) <STRING_CST>: Use the | |
10246 | address to compute the hash value if flag_writable_strings. | |
10247 | (compare_constant) <STRING_CST>: Compare the addresses | |
10248 | if flag_writable_strings. | |
10249 | (build_constant_desc): Do not copy the expression for a | |
10250 | STRING_CST if flag_writable_strings. | |
10251 | ||
1f2eae8d JH |
10252 | 2004-01-30 Jan Hubicka <jh@suse.cz> |
10253 | ||
1e0f41c9 JH |
10254 | * alloc-pool.c: Include hashtab.h |
10255 | (alloc_pool_descriptor): New structure | |
10256 | (alloc_pool_hash): New global variable. | |
10257 | (hash_descriptor, eq_descriptor, alloc_pool_descriptor): New. | |
10258 | (create_alloc_pool): Update statistics. | |
10259 | (free_alloc_pool): Likewise. | |
10260 | (pool_alloc): Likewise. | |
10261 | (output_info): New structure | |
10262 | (print_statistics, dump_alloc_pool_statistics): New function. | |
10263 | * alloc-pool.h (alloc_pool_def): Turn name to be constant. | |
10264 | (dump_alloc_pool_statistics): Declare. | |
10265 | * toplev.c (finalize): Dump statistics. | |
10266 | ||
1f2eae8d JH |
10267 | * reload.c (secondary_memlocs_elim_used): New static variable. |
10268 | (get_secondary_mem): Update it. | |
10269 | (find_reloads): Use it. | |
10270 | ||
80a08664 SB |
10271 | 2004-01-30 Steven Bosscher <s.bosscher@student.tudelft.nl> |
10272 | ||
10273 | * toplev.c: Fix broken checkin of 2003-12-30, again. | |
10274 | ||
57116d8d UW |
10275 | 2004-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
10276 | ||
10277 | * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for | |
10278 | s390*-*-* targets by specifying a 'nop' insn. | |
10279 | * configure: Regenerate. | |
10280 | ||
5fddd9fe EB |
10281 | 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr> |
10282 | ||
10283 | PR target/11475 | |
10284 | * config/sparc/sparc.md (movhi_lo_sum): Tighten predicates. | |
10285 | ||
64fc7c00 JJ |
10286 | 2004-01-29 Jakub Jelinek <jakub@redhat.com> |
10287 | ||
10288 | * emit-rtl.c (change_address): Use XEXP (memref, 0) instead | |
10289 | of addr when creating MEM copy. | |
10290 | ||
ed672aa8 DP |
10291 | 2004-01-29 Devang Patel <dpatel@apple.com> |
10292 | ||
10293 | * dwarf2out.c (gen_field_die): Do not equate decl number to die. | |
16dd5cfe | 10294 | |
7e3aa041 ILT |
10295 | 2004-01-28 Ian Lance Taylor <ian@wasabisystems.com> |
10296 | ||
10297 | PR inline-asm/6162 | |
10298 | * reload.c (find_reloads): Only support one pair of commutative | |
10299 | operands. | |
10300 | ||
06f12aa0 RS |
10301 | 2004-01-29 Roger Sayle <roger@eyesopen.com> |
10302 | ||
10303 | PR java/13824 | |
10304 | * tree.c (unsafe_for_reeval): Handle EXIT_BLOCK_EXPR nodes specially | |
10305 | as their EXIT_BLOCK_LABELED_BLOCK operands can lead to unbounded | |
10306 | recursion. | |
10307 | ||
b88cf82e KH |
10308 | 2004-01-29 Kazu Hirata <kazu@cs.umass.edu> |
10309 | ||
10310 | * config/frv/frv.c: Don't mention deprecated macros in | |
10311 | comments. Remove some target-independent comments about | |
10312 | target macros. | |
10313 | * config/frv/frv.h: Likewise. | |
10314 | ||
3ae4a5b1 ZD |
10315 | 2004-01-29 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
10316 | ||
10317 | * cfghooks.c (split_block): Set probability and count of the | |
10318 | new edge. | |
10319 | ||
636c7bc4 JZ |
10320 | 2005-01-29 Josef Zlomek <zlomekj@suse.cz> |
10321 | ||
10322 | * dwarf2out.c (struct die_struct): Added field decl_id. | |
10323 | (decl_die_table): Changed to hash table. | |
10324 | (decl_die_table_allocated): Deleted. | |
10325 | (decl_die_table_in_use): Deleted. | |
10326 | (DECL_DIE_TABLE_INCREMENT): Deleted. | |
10327 | (decl_die_table_hash): New function. | |
10328 | (decl_die_table_eq): New function. | |
10329 | (lookup_decl_die): Lookup in a hash table. | |
10330 | (equate_decl_number_to_die): Insert into a hash table. | |
10331 | (dwarf2out_init): Init hash table decl_die_table. | |
10332 | ||
4e44c1ef JJ |
10333 | 2004-01-29 Jakub Jelinek <jakub@redhat.com> |
10334 | ||
10335 | PR optimization/13424 | |
10336 | * expr.c (store_constructor): Revert 2003-12-03 change. | |
10337 | ||
10338 | * emit-rtl.c (change_address): Check also if MEM_ATTRS is set as | |
10339 | expected before returning early. Avoid sharing RTL if they | |
10340 | need to be changed. | |
10341 | ||
10342 | * config/i386/i386.c (ix86_expand_movstr): Rework rep_mov and strmov | |
10343 | handling so that memory attributes are preserved. Don't call | |
10344 | ix86_set_move_mem_attrs. | |
10345 | (ix86_set_move_mem_attrs_1, ix86_set_move_mem_attrs): Removed. | |
10346 | (ix86_expand_clrstr): Rename src argument to | |
10347 | dst. Rework rep_stos and strset handling so that memory attributes | |
10348 | are preserved. | |
10349 | (ix86_expand_strlen): Pass src argument to | |
10350 | ix86_expand_strlensi_unroll_1. Rework strlenqi_1 handling so that | |
10351 | memory attributes are preserved. | |
10352 | (ix86_expand_strlensi_unroll_1): Add src argument. Use | |
10353 | change_address instead of gen_rtx_MEM. | |
10354 | * config/i386/i386.md (strmov, strmov_singleop, rep_mov): New | |
10355 | expanders. | |
10356 | (strmovdi_rex64, strmovsi, strmovsi_rex64, strmovhi, strmovhi_rex64, | |
10357 | strmovqi, strmovqi_rex64): Remove. | |
10358 | (rep_mov*, strmov*): Prefix insn names with *. | |
10359 | (strset, strset_singleop, rep_stos): New expanders. | |
10360 | (strsetdi_rex64, strsetsi, strsetsi_rex64, strsethi, strsethi_rex64, | |
10361 | strsetqi, strsetqi_rex64): Remove. | |
10362 | (rep_stos*, strset*): Prefix insn names with *. | |
10363 | (rep_stosqi_rex64): Likewise. Fix mode of dirflag reg from DImode | |
10364 | to SImode. | |
10365 | (cmpstrsi): Rework cmpstrqi_1 handling so that memory attributes | |
10366 | are preserved. | |
10367 | (cmpstrqi_nz_1, cmpstrqi_nz_rex_1, cmpstrqi_1, cmpstrqi_rex_1): | |
10368 | Prefix insn names with *. | |
10369 | (cmpstrqi_nz_1, cmpstrqi_1): New expanders. | |
10370 | (strlenqi_1, strlenqi_rex_1): Prefix insn names with *. | |
10371 | (strlenqi_1): New expander. | |
10372 | * config/i386/i386.h (ix86_set_move_mem_attrs): Remove prototype. | |
10373 | ||
f470c378 ZD |
10374 | 2004-01-29 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
10375 | ||
10376 | * Makefile.in (cfghooks.o): Add TIMEVAR_H and toplev.h dependency. | |
10377 | * basic-block.h (tidy_fallthru_edge, tidy_fallthru_edges, dump_bb, | |
10378 | verify_flow_info): Declaration removed. | |
10379 | * cfg.c (verify_flow_info, dump_bb): Moved to cfghooks.c. | |
10380 | (debug_bb, debug_bb_n): Add argument to dump_bb call. | |
10381 | * cfgcleanup.c (try_simplify_condjump, try_crossjump_to_edge, | |
10382 | try_optimize_cfg, delete_unreachable_blocks): Use delete_basic_block | |
10383 | instead of delete_block. | |
10384 | * cfghooks.c: Include timevar.h and toplev.h. | |
10385 | (cfg_hooks): Define here. | |
10386 | (verify_flow_info, dump_bb): Moved from cfg.c. | |
10387 | (redirect_edge_and_branch, redirect_edge_and_branch_force, | |
10388 | split_block, split_block_after_labels, move_block_after, | |
10389 | delete_basic_block, split_edge, create_basic_block, | |
10390 | create_empty_bb, can_merge_blocks_p, merge_blocks, | |
10391 | make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges): | |
10392 | New functions. | |
10393 | * cfghooks.h (struct cfg_hooks): Added fields name, | |
10394 | make_forwarder_block, tidy_fallthru_edge and | |
10395 | move_block_after. Changed type of verify_flow_info, dump_bb, | |
10396 | split_block fields. Renamed cfgh_split_edge and delete_block | |
10397 | fields. | |
10398 | (redirect_edge_and_branch, redirect_edge_and_branch_force, | |
10399 | split_block, delete_block, split_edge, create_basic_block, | |
10400 | can_merge_blocks_p, merge_blocks): Macros removed. | |
10401 | (cfg_hooks): Do not export. | |
10402 | (verify_flow_info, dump_bb, redirect_edge_and_branch, | |
10403 | redirect_edge_and_branch_force, split_block, split_block_after_labels, | |
10404 | move_block_after, delete_basic_block, split_edge, create_basic_block, | |
10405 | create_empty_bb, can_merge_blocks_p, merge_blocks, | |
10406 | make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges): | |
10407 | Declare. | |
10408 | (cfg_layout_rtl_cfg_hooks): Declare. | |
10409 | * cfgloop.c (update_latch_info, mfb_keep_just, mfb_keep_nonlatch): | |
10410 | New functions. | |
10411 | (canonicalize_loop_headers): Use new semantics of make_forwarder_block. | |
10412 | (redirect_edge_with_latch_update): Removed. | |
10413 | (make_forwarder_block): Moved to cfghooks.c, semantics changed. | |
10414 | * cfgloopmanip.c (remove_bbs): Do not update dominators here. | |
10415 | * cfgrtl.c (cfg_layout_split_block, rtl_split_block, rtl_dump_bb, | |
10416 | rtl_delete_block, rtl_split_block, rtl_merge_blocks, | |
10417 | tidy_fallthru_edge, rtl_split_edge, cfg_layout_delete_block, | |
10418 | cfg_layout_merge_blocks, cfg_layout_split_edge): Partly moved to | |
10419 | cfghooks.c. | |
10420 | (rtl_create_basic_block): Coding style fix. | |
10421 | (rtl_tidy_fallthru_edge, rtl_move_block_after, | |
10422 | rtl_make_forwarder_block): New functions. | |
10423 | (update_cfg_after_block_merging): Removed. | |
10424 | (rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): Fill in new entries. | |
10425 | * flow.c (verify_wide_reg, verify_local_live_at_start): Add argument | |
10426 | to dump_bb. | |
10427 | * ifcvt.c (merge_if_block, find_cond_trap, find_if_case_1, | |
10428 | find_if_case_2): Don't update dominators. | |
10429 | * timevar.def (TV_CFG_VERIFY): New. | |
10430 | * loop-unswitch.c (unswitch_loop): Don't call add_to_dominance_info. | |
10431 | * cfglayout.c (copy_bbs): Don't call add_to_dominance_info. | |
10432 | * cfgloopmanip.c (split_loop_bb): Don't update dominators. | |
10433 | (remove_bbs): Don't call remove_bbs. | |
10434 | (create_preheader): Use make_forwarder_block. | |
10435 | (mfb_keep_just, mfb_update_loops): New static functions. | |
10436 | ||
3cea4788 KH |
10437 | 2004-01-29 Kazu Hirata <kazu@cs.umass.edu> |
10438 | ||
10439 | * config/avr/avr.h: Remove target-independent comments about | |
10440 | target macros. | |
10441 | ||
75e853f2 | 10442 | 2004-01-28 Daniel Berlin <dberlin@dberlin.org> |
16dd5cfe | 10443 | |
75e853f2 DB |
10444 | * timevar.c (timevar_print): Mention when checking is enabled. |
10445 | ||
7625e73d GB |
10446 | 2004-01-28 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
10447 | ||
10448 | * c-lex.c (c_lex): Rename to... | |
10449 | (c_lex_with_flags): Add new parameter to get CPP flags. | |
10450 | (c_lex): Thunk to c_lex_with_flags while keeping the old interface. | |
10451 | * c-pragma.h (c_lex_with_flags): Declare. | |
10452 | ||
dc7efe6e KH |
10453 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10454 | ||
10455 | * config/mcore/mcore.c (mcore_external_libcall): Add a | |
10456 | comment. | |
10457 | (mcore_return_in_memory): Likewise. | |
10458 | ||
09a2b93a KH |
10459 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10460 | ||
10461 | * config/mcore/mcore-protos.h: Remove the prototype for | |
10462 | mcore_setup_incoming_varargs. | |
10463 | * config/mcore/mcore.c (TARGET_ASM_EXTERNAL_LIBCALL): New. | |
10464 | (TARGET_PROMOTE_FUNCTION_ARGS): Likewise. | |
10465 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
10466 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
10467 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10468 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
10469 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
10470 | (mcore_setup_incoming_varargs): Make it static. Receive the | |
10471 | first argument by reference. Add argument second_time. | |
10472 | (mcore_external_libcall): New. | |
10473 | (mcore_return_in_memory): Likewise. | |
10474 | * config/mcore/mcore.h (PROMOTE_FUNCTION_ARGS): New. | |
10475 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
10476 | (STRUCT_VALUE): Likewise. | |
10477 | (RETURN_IN_MEMORY): Likewise. | |
10478 | (SETUP_INCOMING_VARARGS): Likewise. | |
10479 | (PROMOTE_PROTOTYPES): Likewise. | |
10480 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. | |
10481 | ||
a7ed00da KH |
10482 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10483 | ||
10484 | * config/m32r/m32r-protos.h: Remove the prototype for | |
10485 | m32r_setup_incoming_varargs. | |
10486 | * config/m32r/m32r.c (TARGET_PROMOTE_PROTOTYPES): New. | |
10487 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10488 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
10489 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
10490 | (m32r_return_in_memory): New. | |
10491 | (m32r_setup_incoming_varargs): Make it static. | |
10492 | * config/m32r/m32r.h: Remove #undef of | |
10493 | ASM_OUTPUT_EXTERNAL_LIBCALL. Remove the commented-out | |
10494 | definitions of PROMOTE_FUNCTION_ARGS and | |
10495 | PROMOTE_FUNCTION_RETURN. | |
10496 | (PROMOTE_PROTOTYPES): Remove. | |
10497 | (RETURN_IN_MEMORY): Likewise. | |
10498 | (STRUCT_VALUE): Likewise. | |
10499 | ||
8636be86 KH |
10500 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10501 | ||
10502 | * config/m68k/m68k.c (TARGET_PROMOTE_PROTOTYPES): New. | |
10503 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10504 | (m68k_struct_value_rtx): Likewise. | |
10505 | * config/m68k/m68k.h (STRUCT_VALUE_REGNUM): Rename to | |
10506 | STRUCT_VALUE_REGNUM. | |
10507 | (PROMOTE_PROTOTYPES): Remove. | |
10508 | * config/m68k/m68kelf.h (STRUCT_VALUE_REGNUM): Rename to | |
10509 | STRUCT_VALUE_REGNUM. | |
10510 | * config/m68k/m68kv4.h (STRUCT_VALUE_REGNUM): Likewise. | |
10511 | * config/m68k/netbsd-elf.h (STRUCT_VALUE_REGNUM): Likewise. | |
10512 | ||
f2f61ee7 KH |
10513 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10514 | ||
10515 | * config/stormy16/stormy16.c | |
10516 | (TARGET_BUILD_BUILTIN_VA_LIST_TYPE): Rename to | |
10517 | TARGET_BUILD_BUILTIN_VA_LIST. | |
10518 | ||
fb7bc7fb KH |
10519 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10520 | ||
10521 | * config/v850/v850.c (TARGET_PROMOTE_PROTOTYPES): New. | |
10522 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10523 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
10524 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
10525 | (v850_return_in_memory): Likewise. | |
10526 | (v850_setup_incoming_varargs): Likewise. | |
10527 | * config/v850/v850.h (PROMOTE_PROTOTYPES): Remove. | |
10528 | (SETUP_INCOMING_VARARGS): Likewise. | |
10529 | (RETURN_IN_MEMORY): Likewise. | |
10530 | (STRUCT_VALUE): Likewise. | |
10531 | ||
0fd818e7 KH |
10532 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10533 | ||
10534 | * config/fr30/fr30.c (TARGET_PROMOTE_PROTOTYPES): New. | |
10535 | (fr30_setup_incoming_varargs): Don't use | |
10536 | STRICT_ARGUMENT_NAMING. | |
10537 | * config/fr30/fr30.h (PROMOTE_PROTOTYPES): Remove. | |
10538 | (STRICT_ARGUMENT_NAMING): Likewise. | |
10539 | ||
8ac411c7 KH |
10540 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10541 | ||
10542 | * config/frv/frv-protos.h: Remove the prototype for | |
10543 | frv_expand_builtin_saveregs. | |
10544 | * config/frv/frv.c (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10545 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
10546 | (frv_stack_info): Use FRV_STRUCT_VALUE_REGNUM instead of | |
10547 | STRUCT_VALUE_REGNUM. | |
10548 | (frv_expand_builtin_saveregs): Make it static. | |
10549 | (frv_struct_value_rtx): New. | |
10550 | * config/frv/frv.h (EXPAND_BUILTIN_SAVEREGS): Remove. | |
10551 | ||
d173e685 JH |
10552 | 2004-01-29 Jan Hubicka <jh@suse.cz> |
10553 | ||
10554 | PR c++/12850 | |
10555 | * cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and | |
10556 | initial pointers. | |
10557 | * cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS | |
10558 | for functions that will be only inlined. | |
10559 | (cgraph_mark_function_to_output): Likewise. | |
10560 | (cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear; | |
10561 | do not clear function body. | |
10562 | * tree-optimize.c (clear_decl_rtl): Use decl_function_context. | |
10563 | (tree_rest_of_compilation): Reorganize the logic releasing function | |
10564 | body to use callgraph datastructure. | |
10565 | ||
f7a1010e JDA |
10566 | 2004-01-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
10567 | ||
10568 | * pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand | |
10569 | to register_operand. | |
10570 | ||
e7f47f83 ZW |
10571 | 2004-01-28 Zack Weinberg <zack@codesourcery.com> |
10572 | ||
10573 | * config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di) | |
10574 | (cmpxchg_acq_si, cmpxchg_acq_di): Exchange match_dup and | |
10575 | match_operand expressions so that all match_dups appear | |
10576 | lexically after their corresponding match_operands. | |
10577 | ||
1807b726 KH |
10578 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10579 | ||
10580 | * config/h8300/h8300.c (WORD_REG_USED): Use | |
10581 | HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM. | |
10582 | (compute_saved_regs): Likewise. | |
10583 | (h8300_expand_prologue): Likewise. Allocate locals after | |
10584 | saving registers. | |
10585 | (h8300_expand_epilogue): Use HARD_FRAME_POINTER_REGNUM instead | |
10586 | of FRAME_POINTER_REGNUM. Deallocate locals before saving | |
10587 | registers. | |
10588 | (h8300_initial_elimination_offset): Adjust for the new frame | |
10589 | layout, which swaps flips the order of locals and saved | |
10590 | registers. | |
10591 | * config/h8300/h8300.h (FIRST_PSEUDO_REGISTER): Change to 12. | |
10592 | (HARD_FRAME_POINTER_REGNUM): New. | |
10593 | (ELIMINABLE_REGS): Add an elimination rule from | |
10594 | FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM. | |
10595 | (REGISTER_NAMES): Add fp. | |
10596 | * config/h8300/h8300.md (FP_REG): Change to 11. | |
10597 | (HFP_REG): New. | |
10598 | ||
be2c39f8 KH |
10599 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10600 | ||
10601 | * genrecog.c (write_node): Remove a useless local variable. | |
10602 | ||
469ef4a3 ILT |
10603 | 2004-01-28 Ian Lance Taylor <ian@wasabisystems.com> |
10604 | ||
10605 | * Makefile.in (options.c options.h): Use stamp file s-options to | |
10606 | avoid unnecessary rebuilds. | |
10607 | (options.o): New target listing dependencies. | |
10608 | (gtyp-gen.h): Use stamp file s-gtyp-gen. | |
10609 | (STAGESTUFF): Add s-gtyp-gen. | |
10610 | ||
685fe032 RH |
10611 | 2004-01-28 Richard Henderson <rth@redhat.com> |
10612 | ||
10613 | * ggc.h (ggc_free): Declare. | |
10614 | * ggc-common.c (ggc_realloc): Use it. | |
10615 | * ggc-page.c: Remove lots of inline markers. | |
10616 | (globals): Add free_object_list. | |
10617 | (ggc_alloc): Tidy. | |
10618 | (ggc_free, validate_free_objects): New. | |
10619 | (poison_pages): Provide default. | |
10620 | (ggc_collect): Call validate_free_objects; emit markers to | |
10621 | the debug file. | |
10622 | ||
2ffe0e02 ZW |
10623 | 2004-01-28 Zack Weinberg <zack@codesourcery.com> |
10624 | Jim Wilson <wilson@specifixinc.com> | |
10625 | ||
10626 | * config/ia64/ia64.c (ia64_split_tmode, ia64_split_tmode_move): | |
10627 | Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a | |
10628 | scratch pointer. | |
10629 | (ia64_secondary_reload_class): Delete case GR_REGS. | |
10630 | * config/ia64/ia64.md (movti, *movti_internal, movtf, *movtf_internal): | |
10631 | Do not allocate a scratch register. | |
10632 | (reload_inti, reload_outti, reload_intf, reload_outtf): Delete. | |
10633 | ||
a544524a JH |
10634 | 2004-01-28 Jan Hubicka <jh@suse.cz> |
10635 | ||
10636 | * gcse.c (bypass_block): Prevent edges to be unified when we are | |
10637 | about to emit compenstation code. | |
10638 | ||
1b8f8174 NC |
10639 | 2004-01-28 Nick Clifton <nickc@redhat.com> |
10640 | ||
10641 | * config/arm/arm.c (arm_expand_builtin): Force second argument of | |
10642 | the setcwx insn into a register. | |
10643 | ||
faceece3 RS |
10644 | 2004-01-28 Richard Sandiford <rsandifo@redhat.com> |
10645 | ||
10646 | * config/fp-bit.c (pack_d): When using paired doubles to implement | |
10647 | a long double, round the high part separately. | |
10648 | (unpack_d): Fix the case in which the high part is a power of two | |
10649 | and the low part is a nonzero value of the opposite sign. | |
10650 | ||
28b24176 KH |
10651 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10652 | ||
10653 | * config/c4x/c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New. | |
10654 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10655 | (c4x_external_libcall): Likewise. | |
10656 | (c4x_struct_value_rtx): Likewise. | |
10657 | * config/c4x/c4x.h: Remove. | |
10658 | (STRUCT_VALUE_REGNUM): Likewise. | |
10659 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. | |
10660 | ||
9184f892 KH |
10661 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
10662 | ||
10663 | * config/i386/i386.c (TARGET_PROMOTE_PROTOTYPES): New. | |
10664 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10665 | * config/i386/i386.h (STRUCT_VALUE_INCOMING): Remove. | |
10666 | (STRUCT_VALUE): Likewise. | |
10667 | (PROMOTE_PROTOTYPES): Likewise. | |
10668 | ||
4cce9dd8 RS |
10669 | 2004-01-27 Roger Sayle <roger@eyesopen.com> |
10670 | ||
10671 | * config/pa/pa.c (emit_move_sequence): Check that operand1 is a | |
10672 | CONST_INT before using INTVAL. | |
10673 | ||
590fcf48 UW |
10674 | 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com> |
10675 | ||
10676 | * config/s390/s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN. | |
10677 | * config/s390/s390.c (s390_return_addr_rtx): Fail for all but current | |
10678 | frame if !TARGET_BACKCHAIN. | |
2ffe0e02 | 10679 | * config/s390/s390.md ("allocate_stack"): Use pattern only if |
590fcf48 UW |
10680 | TARGET_BACKCHAIN. |
10681 | * doc/invoke.texi (-mbackchain/-mno-backchain): Document new default. | |
10682 | ||
826b47cc ZW |
10683 | 2004-01-27 Zack Weinberg <zack@codesourcery.com> |
10684 | ||
10685 | * ia64.c (ia64_function_arg): When placing HFAs in integer | |
10686 | registers, do not special case the mode used for complex | |
10687 | types. Do not advance int_regs until the current register | |
10688 | is full. | |
10689 | ||
83810fcb RS |
10690 | 2004-01-27 Richard Sandiford <rsandifo@redhat.com> |
10691 | ||
10692 | PR target/7297 | |
10693 | * except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp(). | |
10694 | ||
2d9db8eb DE |
10695 | 2004-01-27 David Edelsohn <edelsohn@gnu.org> |
10696 | ||
10697 | * config/rs6000/rs6000.c (rs6000_emit_move): #if 0 splitting | |
10698 | slow, unaligned loads and stores while debugging. Fix formatting. | |
10699 | ||
39e453d7 DE |
10700 | 2004-01-27 David Edelsohn <edelsohn@gnu.org> |
10701 | ||
10702 | * config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead | |
10703 | of computing wmode. | |
10704 | (restore_stack_nonlocal): Same. | |
10705 | ||
6097b0c3 | 10706 | 2004-01-27 Devang Patel <dpatel@apple.com> |
826b47cc | 10707 | |
6097b0c3 | 10708 | * Makefile.in (dwarf2out.o): Depend on input.h |
826b47cc | 10709 | * dbxout.c (dbx_debug_hooks): Add new empty hook for |
6097b0c3 DP |
10710 | imported_module_or_decl. |
10711 | (xcoff_debug_hooks): Same. | |
10712 | * sdbout.c (sdb_debug_hooks): Same. | |
10713 | * vmsdbgout.c (vmsdbg_debug_hooks): Same. | |
10714 | * debug.c (do_nothing_debug_hooks): Same. | |
10715 | (debug_nothing_tree_tree): New function. | |
10716 | * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl. | |
10717 | * dwarf2out.c: Include input.h. | |
10718 | (dwarf2_debug_hooks): Add new hook for imported_module_or_decl. | |
10719 | (remove_child_TAG): New function. | |
10720 | (dwarf_tag_name): Handle DW_TAG_imported_module. | |
10721 | (gen_subprogram_die): Equate decl number to declaration die. Do not | |
10722 | remove all children dies while reusing declaration die for definition. | |
10723 | Instead, selectively remove only formal parameters. | |
10724 | (gen_variable_die): Equate variable decl to declaration die. | |
10725 | (gen_field_die): Equate field decl to line number. | |
10726 | (force_namespace_die): Replace it with ... | |
10727 | (force_decl_die): ... this. | |
10728 | (force_type_die): New function. | |
10729 | (setup_namespace_context): Replace use of force_namespace_die() with | |
10730 | force_decl_die(). | |
10731 | (gen_namespace_die): Same. | |
10732 | (dwarf2out_imported_module_or_decl): New function. | |
10733 | ||
e6aecf8e | 10734 | 2004-01-27 Bob Wilson <bob.wilson@acm.org> |
826b47cc | 10735 | |
e6aecf8e BW |
10736 | * config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG |
10737 | on CQImode and CHImode incoming arguments in register a7. | |
10738 | (function_arg): Wrap BLKmode argument in register a7 in a PARALLEL. | |
10739 | * config/xtensa/xtensa.h (BLOCK_REG_PADDING): Define. | |
10740 | * config/xtensa/xtensa.md (movdi, movdf): Only call force_reg or | |
10741 | xtensa_copy_incoming_a7 before reload. | |
826b47cc | 10742 | |
02307675 R |
10743 | 2004-01-27 J"orn Rennecke <joern.rennecke@superh.com> |
10744 | ||
10745 | * coverage.c (get_coverage_counts): Give a different message | |
10746 | if flag_guess_branch_prob is set. | |
10747 | * predict.c (counts_to_freqs): Return an int. | |
10748 | (estimate_bb_frequencies): If counts_to_freqs returns zero, | |
10749 | calculate estimates. | |
10750 | ||
69a45040 KH |
10751 | 2004-01-27 Kazu Hirata <kazu@cs.umass.edu> |
10752 | ||
10753 | * config/iq2000/iq2000-protos.h: Remove the prototype for | |
10754 | iq2000_setup_incoming_varargs. | |
10755 | * config/iq2000/iq2000.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
10756 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
10757 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
10758 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10759 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
10760 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
10761 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
10762 | (iq2000_return_in_memory): Likewise. | |
10763 | (iq2000_setup_incoming_varargs): Make it static. Receive the | |
10764 | first argument by reference. | |
10765 | * config/iq2000/iq2000.h (PROMOTE_FUNCTION_ARGS): Remove. | |
10766 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
10767 | (PROMOTE_PROTOTYPES): Likewise. | |
10768 | (RETURN_IN_MEMORY): Likewise. | |
10769 | (STRUCT_VALUE): Likewise. | |
10770 | (SETUP_INCOMING_VARARGS): Likewise. | |
10771 | (STRICT_ARGUMENT_NAMING): Likewise. | |
10772 | ||
9cdfc8e7 JM |
10773 | 2004-01-24 James A. Morrison <ja2morri@uwaterloo.ca> |
10774 | ||
826b47cc | 10775 | * fixinc/fixinc.c (test_test): Initialize res. |
9cdfc8e7 JM |
10776 | (start_flexer): Initialize pz_cmd_save. |
10777 | ||
60ffd2fe ZW |
10778 | 2004-01-27 Zack Weinberg <zack@codesourcery.com> |
10779 | ||
10780 | * doc/rtl.texi (Arithmetic): Rewrite entries for PLUS, | |
10781 | SS_PLUS, US_PLUS, LO_SUM, MINUS, SS_MINUS, US_MINUS. | |
10782 | ||
52ad4d7b ZW |
10783 | 2004-01-27 Zack Weinberg <zack@codesourcery.com> |
10784 | ||
10785 | PR 7198 | |
10786 | * config/ia64/ia64.md (*nmaddsf4, *nmadddf4, *nmadddf4_alts) | |
10787 | (*nmadddf4_trunc, *nmaddxf4, *nmaddxf4_truncsf, *nmaddxf4_truncdf) | |
10788 | (*nmaddxf4_alts, *nmaddxf4_truncdf_alts): | |
10789 | Rewrite pattern as (minus (op 3) (mult (op 1) (op 2))). | |
10790 | Possibly rename pattern for consistency. | |
10791 | Remove ??? comments suggesting that this be done. | |
10792 | (*nmaddsf4_alts, *nmadddf4_truncsf_alts, *nmaddxf4_truncsf_alts): | |
10793 | New patterns. | |
10794 | (divsi3_internal, divdi3_internal_lat, divdi3_internal_thr) | |
10795 | (divsf3_internal_lat, divsf3_internal_thr, sqrtsf2_internal_thr) | |
10796 | (divdf3_internal_lat, divdf3_internal_thr, sqrtdf2_internal_thr) | |
10797 | (divxf3_internal_lat, divxf3_internal_thr, sqrtxf2_internal_thr): | |
10798 | Update to match. | |
10799 | ||
b034930f ILT |
10800 | 2004-01-27 Ian Lance Taylor <ian@wasabisystems.com> |
10801 | ||
10802 | * config/arm/arm.c (output_return_instruction): Only restore IP | |
10803 | into SP if frame_pointer_needed. | |
10804 | ||
be446dfc EB |
10805 | 2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr> |
10806 | ||
10807 | * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1 | |
10808 | for SCmode and DCmode if ARCH32. | |
10809 | (sparc_va_arg): Handle SCmode and DCmode by reference if ARCH32. | |
10810 | * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for TCmode | |
10811 | if ARCH32. | |
10812 | (BASE_RETURN_VALUE_REG): Return 32 for all FP modes except TFmode | |
10813 | if ARCH32. | |
10814 | (BASE_OUTGOING_VALUE_REG): Likewise. | |
10815 | ||
1b4bda70 EB |
10816 | 2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr> |
10817 | ||
10818 | PR target/10904 | |
10819 | PR target/13058 | |
10820 | * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): New. | |
10821 | Forbid mode changes from SImode for lower FP regs if ARCH64. | |
10822 | ||
1194fc79 R |
10823 | 2004-01-27 J"orn Rennecke <joern.rennecke@superh.com> |
10824 | ||
10825 | * Makefile.in (bt-load.o): Depend on except.h. | |
10826 | * bt-load.c (except.h): #include. | |
10827 | (compute_defs_uses_and_gen): If insn at end of BB can throw | |
10828 | within this function, consider registers used by it unavailable for | |
10829 | btr migration. | |
10830 | (move_btr_def): If insn at end of BB can throw, insert before rather | |
10831 | than after. | |
10832 | ||
10833 | * flags.h (flag_btr_bb_exclusive): Declare. | |
10834 | * toplev.c (flag_btr_bb_exclusive): New variable. | |
10835 | (f_options): Add btr-bb-exclusive. | |
10836 | * bt-load.c (augment_live_range): Restore old behaviour if | |
10837 | flag_btr_bb_exclusive is set. | |
10838 | * common.opt: Add entry for -fbtr-bb-exclusive. | |
10839 | * opts.c (common_handle_options): Same. | |
10840 | * doc/invoke.texi: Document -fbtr-bb-exclusive. | |
52ad4d7b | 10841 | |
1194fc79 R |
10842 | * bt-load.c (btrs_live_at_end): New variable. |
10843 | (compute_defs_uses_and_gen): Compute its pointed-to array. | |
10844 | (clear_btr_from_live_range, add_btr_to_live_range): Update it. | |
10845 | (augment_live_range): When augmenting with a new dominator, | |
10846 | use only its btrs_live_at_end set, but also add in the full set | |
10847 | of the old dominator. | |
10848 | (btr_def_live_range): Use btrs_live_at_end. | |
10849 | (move_btr_def): Set other_btr_uses_before_def, and move new set | |
10850 | to the end of the basic block, if appropriate. | |
10851 | (migrate_btr_defs): Allocate and free btrs_live_at_end. | |
52ad4d7b | 10852 | |
1194fc79 R |
10853 | * bt-load.c (basic_block_freq): Remove outdated comment. |
10854 | ||
895ea8f0 AM |
10855 | 2004-01-27 Alan Modra <amodra@bigpond.net.au> |
10856 | ||
10857 | * config/rs6000/rs6000.h: Correct target_flags free bits comment. | |
10858 | (PREDICATE_CODES): Remove duplicate. | |
10859 | * config/rs6000/linux64.h (CPP_SYSV_SPEC): Don't define. | |
10860 | (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow 32 bit TARGET_PROFILE_KERNEL. | |
10861 | (MASK_PROFILE_KERNEL): Adjust define. | |
10862 | ||
4137ba7a JJ |
10863 | 2004-01-27 Jakub Jelinek <jakub@redhat.com> |
10864 | ||
10865 | * config/i386/i386.c (ix86_constant_alignment): Decrease alignment | |
10866 | of long string literals from 32 bytes to sizeof (void *) when !-Os | |
10867 | and to 1 with -Os. | |
10868 | ||
a4bb41cc KH |
10869 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10870 | ||
10871 | * config/h8300/h8300.c (h8300_tiny_constant_address_p): Accept | |
10872 | constant addresses in the normal mode. | |
10873 | ||
1c62e7b2 KG |
10874 | 2004-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10875 | ||
10876 | * system.h (CHAR_BITFIELD): Delete. | |
10877 | (BOOL_BITFIELD): New. | |
10878 | * c-decl.c (c_scope): Use BOOL_BITFIELD. | |
10879 | * gengtype-lex.l: Recognize BOOL_BITFIELD instead of CHAR_BITFIELD. | |
10880 | ||
96ab60fc KH |
10881 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10882 | ||
10883 | * config/arc/arc.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
10884 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
10885 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
10886 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10887 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
10888 | (arc_return_in_memory): Likewise. | |
10889 | * config/arc/arc.h (PROMOTE_FUNCTION_ARGS): Remove. | |
10890 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
10891 | (RETURN_IN_MEMORY): Likewise. | |
10892 | (STRUCT_VALUE): Likewise. | |
10893 | ||
6d4b0a5d RH |
10894 | 2004-01-26 Richard Henderson <rth@redhat.com> |
10895 | ||
10896 | * c-parse.in (extension): Use itype. | |
10897 | (SAVE_EXT_FLAGS): Don't allocate a tree. | |
10898 | (RESTORE_EXT_FLAGS): Don't read a tree. | |
10899 | ||
18874af6 JH |
10900 | 2004-01-26 Jan Hubicka <jh@suse.cz> |
10901 | ||
10902 | * cselib.c (discard_useless_values): Clear out value pointer pointing | |
10903 | to datastructure to be recycled. | |
10904 | ||
501f88de JH |
10905 | 2004-01-25 Jan Hubicka <jh@suse.cz> |
10906 | ||
10907 | * genextract.c (main): Do not output the memset when not checking. | |
10908 | ||
d6456562 KH |
10909 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10910 | ||
10911 | * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a | |
10912 | switch statement instead of a chain of if statements. | |
10913 | ||
5cea9d5d JL |
10914 | 2004-01-26 Jeff Law <law@redhat.com> |
10915 | ||
10916 | * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry. Add | |
10917 | acute accents for Petur Runolfsson's entry. | |
10918 | ||
04e9daaf KH |
10919 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10920 | ||
10921 | * config/pdp11/pdp11.c (TARGET_STRUCT_VALUE_RTX): New. | |
10922 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
10923 | * config/pdp11/pdp11.h (STRUCT_VALUE): Remove. | |
10924 | (RETURN_IN_MEMORY): Likewise. | |
10925 | ||
40ca90bf | 10926 | 2004-01-26 Fariborz Jahanian <fjahanian@apple.com> |
6c8066b9 | 10927 | |
52ad4d7b ZW |
10928 | * config/rs6000/rs6000.c (rs6000_emit_move): split slow |
10929 | unaligned load/store into smaller loads and stores. | |
6c8066b9 | 10930 | |
40ca90bf | 10931 | 2004-01-26 Fariborz Jahanian <fjahanian@apple.com> |
6c8066b9 | 10932 | |
52ad4d7b ZW |
10933 | * function.c (assign_parms): Do not assign |
10934 | long long argument to memory in prologue if | |
10935 | is it loaded into register. | |
6c8066b9 | 10936 | |
40ca90bf | 10937 | 2004-01-26 Fariborz Jahanian <fjahanian@apple.com> |
6c8066b9 FJ |
10938 | |
10939 | PR middle-end/13779 | |
52ad4d7b ZW |
10940 | * expr.c (emit_group_load): split constant |
10941 | correctly into register components of PARALLEL insn. | |
6c8066b9 | 10942 | |
40ca90bf | 10943 | 2004-01-26 Fariborz Jahanian <fjahanian@apple.com> |
6c8066b9 FJ |
10944 | |
10945 | * gcc/config/rs6000/rs6000.md (save_stack_nonlocal): | |
10946 | Use adjust_address_nv directly with appropriate mode. | |
10947 | (restore_stack_nonlocal): Ditto. | |
10948 | ||
4c45af42 KH |
10949 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10950 | ||
10951 | * config/xtensa/xtensa-protos.h: Remove the prototype for | |
10952 | xtensa_builtin_saveregs. | |
10953 | * config/xtensa/xtensa.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
10954 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
10955 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
10956 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10957 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
10958 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
10959 | (xtensa_builtin_saveregs): Make it static. | |
10960 | (xtensa_return_in_memory): New. | |
10961 | * config/xtensa/xtensa.h (PROMOTE_FUNCTION_ARGS: Remove. | |
10962 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
10963 | (PROMOTE_PROTOTYPES): Likewise. | |
10964 | (STRUCT_VALUE): Likewise. | |
10965 | (RETURN_IN_MEMORY): Likewise. | |
10966 | (EXPAND_BUILTIN_SAVEREGS): Likewise. | |
10967 | ||
1cc9f5f5 KH |
10968 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10969 | ||
10970 | * config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New. | |
10971 | (arm_setup_incoming_varargs): Likewise. | |
10972 | * config/arm/arm.h (SETUP_INCOMING_VARARGS): Remove. | |
10973 | ||
558d352a KH |
10974 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10975 | ||
10976 | * config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New. | |
10977 | (cris_setup_incoming_varargs): Likewise. | |
10978 | * config/cris/cris.h (SETUP_INCOMING_VARARGS): Remove. | |
10979 | ||
2001a5cf KH |
10980 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10981 | ||
10982 | * config/ns32k/ns32k.c (TARGET_STRUCT_VALUE_RTX): New. | |
10983 | (ns32k_struct_value_rtx): Likewise. | |
10984 | * config/ns32k/ns32k.h (STRUCT_VALUE_REGNUM): Rename to | |
10985 | NS32K_STRUCT_VALUE_REGNUM. | |
10986 | ||
f9ba5949 KH |
10987 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10988 | ||
10989 | * config/arm/arm.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
10990 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
10991 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
10992 | (arm_struct_value_rtx): Likewise. | |
10993 | * config/arm/arm.h (PROMOTE_FUNCTION_ARGS): Remove. | |
10994 | (STRUCT_VALUE): Likewise. | |
10995 | (STRUCT_VALUE_REGNUM): Likewise. | |
10996 | (PROMOTE_PROTOTYPES): Likewise. | |
10997 | ||
351a758b KH |
10998 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
10999 | ||
11000 | * config/ia64/ia64-protos.h: Remove the prototype for | |
11001 | ia64_setup_incoming_varargs and ia64_return_in_memory. | |
11002 | * config/ia64/ia64.c (TARGET_STRUCT_VALUE_RTX): New. | |
11003 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
11004 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
11005 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
11006 | (ia64_setup_incoming_varargs): Adjust the arguments to meet | |
11007 | the requirement of TARGET_SETUP_INCOMING_VARARGS. | |
11008 | (ia64_return_in_memory): Make it static. Change the return | |
11009 | type to bool from int. Add an argument. | |
11010 | (ia64_struct_value_rtx): New. | |
11011 | * config/ia64/ia64.h: Remove commented-out definitions of | |
11012 | PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN, and | |
11013 | PROMOTE_PROTOTYPES. | |
11014 | (RETURN_IN_MEMORY): Remove. | |
11015 | (STRUCT_VALUE_REGNUM): Likewise. | |
11016 | (STRICT_ARGUMENT_NAMING): Likewise. | |
11017 | ||
a7bba6ca EB |
11018 | 2004-01-26 Eric Botcazou <ebotcazou@libertysurf.fr> |
11019 | ||
11020 | PR target/13666 | |
11021 | * config/sparc/sparc.c (function_arg_union_value): New function. | |
11022 | (function_arg): Use it to deal with unions. | |
11023 | (function_value): Likewise. Define 'regbase' only for ARCH64. | |
11024 | Replace a conditional statement by a simpler one. | |
11025 | ||
6865f4cd RS |
11026 | 2004-01-26 Richard Sandiford <rsandifo@redhat.com> |
11027 | ||
11028 | * config/mips/mips.c (mips16_optimize_gp): Delete. | |
11029 | (mips_reorg): Don't call it. | |
11030 | ||
2d6d0eb5 MH |
11031 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
11032 | ||
11033 | * config/c4x/c4x.md (addqi3_noclobber): Move up pecking order. | |
11034 | (floatunsqihf2): Remove operand 6. | |
11035 | (fixhfqi_set, fix_trunchfqi2, fixuns_trunchfqi2): Group with other | |
11036 | fix patterns. | |
11037 | (ldi_conditional, ldf_conditional): Validate operands. | |
11038 | ||
8f422192 MH |
11039 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
11040 | ||
11041 | * config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove. | |
11042 | (HAVE_GAS_HIDDEN): Undefine as interim measure. | |
52ad4d7b | 11043 | |
9c3602e4 MH |
11044 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
11045 | ||
11046 | * config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct | |
11047 | memory references if TARGET_EXPOSE_LDP nonzero. | |
11048 | ||
a026b9d6 MH |
11049 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
11050 | ||
11051 | * config/c4x/c4x.c (legitimize_operands): Truncate invalid shift counts. | |
52ad4d7b | 11052 | |
b7bbb574 MH |
11053 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
11054 | ||
11055 | * config/c4x/c4x.c (c4x_valid_operands): More aggressively reject | |
11056 | invalid operand combinations. | |
11057 | ||
1e903c61 MH |
11058 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
11059 | ||
11060 | * config/c4x/c4x.c (c4x_check_legit_addr): Rename to | |
11061 | c4x_legitimate_address_p. Fix post_modify check. | |
b7bbb574 | 11062 | |
1e903c61 MH |
11063 | * config/c4x/c4x-protos.h (c4x_check_legit_addr): Adjust. |
11064 | * config/c4x/c4x.h (c4x_check_legit_addr): Adjust. | |
52ad4d7b | 11065 | |
3f12cd9b KH |
11066 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11067 | ||
11068 | * config/pa/pa-protos.h: Remove the prototype for | |
11069 | hppa_builtin_saveregs. Add a prototype for | |
11070 | pa_return_in_memory. | |
11071 | * config/pa/pa.c (TARGET_PROMOTE_FUNCTION_RETURN): New. | |
11072 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
11073 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11074 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
11075 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
11076 | (pa_struct_value_rtx): Likewise. | |
11077 | (pa_return_in_memory): Likewise. | |
11078 | * config/pa/pa.h (STRUCT_VALUE_REGNUM): Rename to | |
11079 | PA_STRUCT_VALUE_REGNUM. | |
11080 | (INIT_CUMULATIVE_ARGS): Use pa_return_in_memory. | |
11081 | (EXPAND_BUILTIN_SAVEREGS): Remove. | |
11082 | (PROMOTE_PROTOTYPES): Likewise. | |
11083 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
11084 | ||
f289e226 KH |
11085 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11086 | ||
11087 | * config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New. | |
11088 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11089 | (vax_struct_value_rtx): Likewise. | |
11090 | * config/vax/vax.h (STRUCT_VALUE_REGNUM): Rename to | |
11091 | VAX_STRUCT_VALUE_REGNUM. | |
11092 | (PROMOTE_PROTOTYPES): Remove. | |
11093 | ||
12fb52cf | 11094 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
52ad4d7b ZW |
11095 | |
11096 | * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref. | |
11097 | ||
fdcf1e1e CD |
11098 | 2003-04-25 Chris Demetriou <cgd@broadcom.com> |
11099 | ||
11100 | * config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2, | |
11101 | and MIPS64 have HI/LO interlocks. Update comment. | |
11102 | ||
7e43c821 KH |
11103 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11104 | ||
11105 | * config/stormy16/stormy16-protos.h: Remove the prototype for | |
11106 | xstormy16_setup_incoming_varargs. | |
11107 | * config/stormy16/stormy16.c | |
11108 | (xstormy16_setup_incoming_varargs): Remove. | |
11109 | (xstormy16_return_in_memory): New. | |
11110 | (TARGET_PROMOTE_FUNCTION_ARGS): Likewise. | |
11111 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
11112 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
11113 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11114 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
11115 | * config/stormy16/stormy16.h (PROMOTE_FUNCTION_ARGS): Remove. | |
11116 | (PROMOTE_FUNCTION_RETURN): Likewise | |
11117 | (PROMOTE_PROTOTYPES): Likewise | |
11118 | (RETURN_IN_MEMORY): Likewise | |
11119 | (STRUCT_VALUE): Likewise | |
11120 | (SETUP_INCOMING_VARARGS): Likewise | |
11121 | ||
62973ffe RS |
11122 | 2004-01-25 Richard Sandiford <rsandifo@redhat.com> |
11123 | ||
11124 | * config/mips/mips.c (mips_offset_within_object_p): New function. | |
11125 | (mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and | |
11126 | SYMBOL_CONSTANT_POOL cases. Also use it for SYMBOL_GENERAL if the | |
11127 | ABI has 64-bit pointers and the object file only allows 32-bit symbols. | |
11128 | ||
8e67da21 KH |
11129 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11130 | ||
11131 | * config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove. | |
11132 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
11133 | ||
9024ea92 KH |
11134 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11135 | ||
11136 | * config/mn10300/mn10300-protos.h: Remove the prototype for | |
11137 | mn10300_builtin_saveregs. | |
11138 | * config/mn10300/mn10300.c (TARGET_PROMOTE_PROTOTYPES): New. | |
11139 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11140 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
11141 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
11142 | (mn10300_return_in_memory): Likewise. | |
11143 | (mn10300_builtin_saveregs): Make it static. | |
11144 | * config/mn10300/mn10300.h (PROMOTE_PROTOTYPES): Remove. | |
11145 | (RETURN_IN_MEMORY): Likewise. | |
11146 | (STRUCT_VALUE): Likewise. | |
11147 | (EXPAND_BUILTIN_SAVEREGS): Likewise. | |
11148 | ||
20b4e8ae EB |
11149 | 2004-01-25 Eric Botcazou <ebotcazou@act-europe.fr> |
11150 | ||
11151 | PR bootstrap/13853 | |
11152 | * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0. | |
11153 | ||
cff555dc KH |
11154 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11155 | ||
11156 | * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by | |
11157 | using ccr. | |
11158 | ||
30f58b01 KH |
11159 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11160 | ||
11161 | * config/i860/i860-protos.h: Remove the prototype for | |
11162 | i860_saveregs. | |
11163 | * config/i860/i860.c (i860_saveregs): Make it static. | |
11164 | (i860_struct_value_rtx): New. | |
11165 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11166 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
11167 | * config/i860/i860.h (STRUCT_VALUE_REGNUM): Rename to | |
11168 | I860_STRUCT_VALUE_REGNUM. | |
11169 | (EXPAND_BUILTIN_SAVEREGS): Remove. | |
11170 | ||
341ec191 KH |
11171 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11172 | ||
11173 | * config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New. | |
11174 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
11175 | (m68hc11_struct_value_rtx): Likewise. | |
11176 | (m68hc11_return_in_memory): Likewise. | |
11177 | * config/m68hc11/m68hc11.h: Remove a commented-out definition | |
11178 | of PROMOTE_PROTOTYPES. | |
11179 | (RETURN_IN_MEMORY): Remove. | |
11180 | (STRUCT_VALUE_REGNUM): Likewise. | |
11181 | ||
344caf1b KH |
11182 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11183 | ||
11184 | * config/mmix/mmix-protos.h: Remove the prototype for | |
11185 | mmix_setup_incoming_varargs. | |
11186 | * config/mmix/mmix.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
11187 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11188 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
11189 | (mmix_setup_incoming_varargs): Make it static. | |
11190 | (mmix_struct_value_rtx): New. | |
11191 | * config/mmix/mmix.h (PROMOTE_FUNCTION_ARGS): Remove. | |
11192 | Remove a commented-out definition of PROMOTE_FUNCTION_RETURN. | |
11193 | (STRUCT_VALUE_REGNUM): Remove. | |
11194 | (SETUP_INCOMING_VARARGS): Likewise. | |
11195 | ||
0c8da560 KH |
11196 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11197 | ||
11198 | * config/mips/mips-protos.h: Remove the prototypes for | |
11199 | mips_setup_incoming_varargs and mips_return_in_memory. | |
11200 | * config/mips/mips.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
11201 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
11202 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
11203 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11204 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
11205 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
11206 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
11207 | (mips_setup_incoming_varargs): Match the prototype for | |
11208 | TARGET_SETUP_INCOMING_VARARGS. | |
11209 | (mips_return_in_memory): Make it static. Add argument fntype. | |
11210 | (mips_strict_argument_naming): New. | |
11211 | * config/mips/mips.h (PROMOTE_PROTOTYPES): Remove. | |
11212 | (PROMOTE_FUNCTION_ARGS): Likewise. | |
11213 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
11214 | (STRUCT_VALUE): Likewise. | |
11215 | (RETURN_IN_MEMORY): Likewise. | |
11216 | (SETUP_INCOMING_VARARGS): Likewise. | |
11217 | (STRICT_ARGUMENT_NAMING): Likewise. | |
11218 | ||
49ca372c KH |
11219 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11220 | ||
11221 | * config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New. | |
11222 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
11223 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
11224 | (ip2k_return_in_memory): Likewise. | |
11225 | (ip2k_setup_incoming_varargs): Likewise. | |
11226 | * config/ip2k/ip2k.h (RETURN_IN_MEMORY): Remove. | |
11227 | (STRUCT_VALUE): Likewise. | |
11228 | (STRUCT_VALUE_INCOMING): Likewise. | |
11229 | (SETUP_INCOMING_VARARGS): Likewise. | |
11230 | ||
b069302c KH |
11231 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
11232 | ||
11233 | * config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New. | |
11234 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
11235 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
11236 | (avr_return_in_memory): Remove. | |
11237 | * config/avr/avr.h (RETURN_IN_MEMORY): Remove. | |
11238 | (STRUCT_VALUE): Likewise. | |
11239 | (STRUCT_VALUE_INCOMING): Likewise. | |
11240 | (STRICT_ARGUMENT_NAMING): Likewise. | |
11241 | ||
e6d83128 JH |
11242 | 2004-01-25 Jan Hubicka <jh@suse.cz> |
11243 | ||
11244 | * combine.c (recog_for_combine): Avoid allocating unnecesary RTX. | |
11245 | ||
bcbc6b7f RS |
11246 | 2004-01-25 Richard Sandiford <rsandifo@redhat.com> |
11247 | ||
11248 | * config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete. | |
11249 | (mips_regno_mode_ok_for_base_p): Declare. | |
11250 | * config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77. | |
11251 | (FRAME_POINTER_REGNUM): Renumber to 78. | |
11252 | (FIRST_PSEUDO_REGISTER): Update comment accordingly. | |
11253 | (BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete. | |
11254 | (GP_REG_OR_PSEUDO_NONSTRICT_P): Delete. | |
11255 | (REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p. | |
11256 | (REG_MODE_OK_FOR_BASE_P): Likewise. | |
11257 | * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change | |
11258 | entry for 77 to "$arg" and entry for 78 to "$frame". | |
11259 | (mips_regno_to_class): Map 77 and 78 to ALL_REGS. | |
11260 | (mips_reg_mode_ok_for_base_p): Remove. | |
11261 | (mips_regno_mode_ok_for_base_p): New function, derived from old | |
11262 | BASE_REG_P macro. Don't enforce the mips16 stack pointer | |
11263 | restrictions unless we're being strict. | |
11264 | (mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p. | |
11265 | ||
1f52178b KH |
11266 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
11267 | ||
11268 | * c-common.h: Fix comment typos. | |
11269 | * c-decl.c: Likewise. | |
11270 | * cgraphunit.c: Likewise. | |
11271 | * combine.c: Likewise. | |
11272 | * et-forest.c: Likewise. | |
11273 | * flow.c: Likewise. | |
11274 | * function.c: Likewise. | |
11275 | * ifcvt.c: Likewise. | |
11276 | * integrate.c: Likewise. | |
11277 | * jump.c: Likewise. | |
11278 | * postreload.c: Likewise. | |
11279 | * varray.c: Likewise. | |
11280 | ||
56ae1316 KH |
11281 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
11282 | ||
11283 | * doc/frontends.texi: Update copyright. | |
11284 | * doc/gcov.texi: Likewise. | |
11285 | * doc/gty.texi: Likewise. | |
11286 | * doc/sourcebuild.texi: Likewise. | |
11287 | * doc/standards.texi: Likewise. | |
11288 | ||
b1dccb28 HB |
11289 | 2004-01-24 Herman A.J. ten Brugge <hermantenbrugge@home.nl> |
11290 | ||
11291 | PR target/12978 | |
11292 | * c4x.md: (movstrqi*) Use match_scratch instead of match_dup. | |
11293 | Remove movstrqi_small because it conflicts with movstrqi_large. | |
11294 | ||
a2fef3a4 KH |
11295 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
11296 | ||
11297 | * config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
11298 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11299 | (cris_struct_value_rtx): Likewise. | |
11300 | * config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove. | |
11301 | (CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of | |
11302 | STRUCT_VALUE_REGNUM. | |
11303 | (STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM. | |
11304 | ||
1f44254c ILT |
11305 | 2004-01-24 Ian Lance Taylor <ian@wasabisystems.com> |
11306 | ||
11307 | PR bootstrap/13848 | |
11308 | * cse.c (cse_cc_succs): Change the mode of the source expression | |
11309 | as soon as decide we need a new mode. Don't permit changing modes | |
11310 | if we found a match in a successor block. | |
11311 | (cse_condition_code_reg): Save original mode of source expression | |
11312 | so that we know whether we have to change the mode in other | |
11313 | insns. | |
11314 | ||
fdb1c7b3 JH |
11315 | 2004-01-24 Jan Hubicka <jh@suse.cz> |
11316 | ||
11317 | * emit-rtl.c (change_address, adjust_address_1, offset_address, | |
11318 | widen_memory_access): Return early when there is nothing to change. | |
11319 | ||
5473cfa7 JJ |
11320 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
11321 | ||
11322 | * simplify-rtx.c (simplify_relational_operation): Don't | |
11323 | simplify address == constant into address + -constant == 0. | |
11324 | ||
a5153056 KH |
11325 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
11326 | ||
11327 | * gcc.c (process_command): Don't internationalize the | |
11328 | Copyright message. | |
11329 | * mips-tfile.c (main): Likewise. | |
11330 | ||
174b84e5 AT |
11331 | 2004-01-24 Andreas Tobler <a.tobler@schweiz.ch> |
11332 | ||
11333 | * cse.c: (cse_cc_succs) Fix comparison warning. | |
11334 | ||
16537909 KH |
11335 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
11336 | ||
11337 | * config/h8300/h8300.md: Remove extraneous USE in expanders. | |
11338 | ||
d0022200 KH |
11339 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
11340 | ||
11341 | * config/h8300/h8300-protos.h: Provide prototypes for | |
11342 | h8300_legitimate_constant_p and h8300_legitimate_address_p. | |
11343 | * config/h8300/h8300.c (h8300_legitimate_constant_p): New. | |
11344 | (h8300_rtx_ok_for_base_p): Likewise. | |
11345 | (h8300_legitimate_address_p): Likewise. | |
11346 | * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use | |
11347 | h8300_legitimate_constant_p. | |
11348 | (RTX_OK_FOR_BASE_P): Remove. | |
11349 | (GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p. | |
11350 | ||
ca04c5a9 KH |
11351 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
11352 | ||
11353 | * config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New. | |
11354 | (REG_OK_FOR_BASE_NONSTRICT_P): Likewise. | |
11355 | (REG_OK_FOR_INDEX_STRICT_P): Likewise. | |
11356 | (REG_OK_FOR_BASE_STRICT_P): Likewise. | |
11357 | (REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P. | |
11358 | (REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P. | |
11359 | (REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P. | |
11360 | (REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P. | |
11361 | ||
3e2a0bd2 JH |
11362 | 2004-01-24 Jan Hubicka <jh@suse.cz> |
11363 | ||
11364 | * cselib.c (remove_useless_values): Do not access discarded values. | |
11365 | ||
b1adf557 JM |
11366 | 2004-01-24 Joseph S. Myers <jsm@polyomino.org.uk> |
11367 | ||
11368 | * c-typeck.c (build_conditional_expr): Do not allow non-lvalue | |
11369 | arrays. | |
11370 | ||
55cd4633 KH |
11371 | 2004-01-23 Kazu Hirata <kazu@cs.umass.edu> |
11372 | ||
11373 | * recog.c: Fix a typo in copyright. | |
11374 | ||
bbf294a5 AP |
11375 | 2004-01-23 Andrew Pinski <apinski@apple.com> |
11376 | ||
11377 | * config/rs6000/rs6000.md (call): Fix misappiled patch. | |
11378 | (call_value): Likewise. | |
11379 | ||
a475bff7 RH |
11380 | 2004-01-23 Richard Henderson <rth@redhat.com> |
11381 | ||
52ad4d7b ZW |
11382 | PR opt/12941 |
11383 | * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value. | |
11384 | (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0) | |
11385 | if SHIFT_COUNT_TRUNCATED is set. | |
a475bff7 | 11386 | |
3712281f BW |
11387 | 2004-01-23 Bob Wilson <bob.wilson@acm.org> |
11388 | ||
11389 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as | |
11390 | separate real and imaginary parts. | |
11391 | * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define. | |
11392 | ||
99e5c00b HP |
11393 | 2004-01-23 Hartmut Penner <hpenner@de.ibm.com> |
11394 | ||
11395 | PR target/13674 | |
11396 | * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage | |
11397 | loading into GPR. | |
11398 | ||
8b07361e JH |
11399 | 2004-01-23 Jan Hubicka <jh@suse.cz> |
11400 | ||
a74ff877 JH |
11401 | * emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing |
11402 | change. | |
11403 | ||
8b07361e JH |
11404 | * alloc-pool.c (align_four): Kill. |
11405 | (create_alloc_pool): Align size to eight. | |
11406 | (free_alloc_pool, free_pool): Invalidate deallocated data. | |
11407 | ||
e129d93a ILT |
11408 | 2004-01-23 Ian Lance Taylor <ian@wasabisystems.com> |
11409 | ||
11410 | PR gcc/1532 | |
11411 | * cse.c (cse_change_cc_mode): New static function. | |
11412 | (cse_change_cc_mode_insns, cse_cc_succs): Likewise. | |
11413 | (cse_condition_code_reg): New function. | |
11414 | * rtl.h (cse_condition_code_reg): Declare. | |
11415 | * toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg. | |
11416 | * target.h (struct gcc_target): Add fixed_condition_code_regs and | |
11417 | cc_modes_compatible. | |
11418 | * target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
11419 | (TARGET_CC_MODES_COMPATIBLE): Define. | |
11420 | (TARGET_INITIALIZER): Add new initializers. | |
11421 | * targhooks.c (default_cc_modes_compatible): New function. | |
11422 | * targhooks.c (default_cc_modes_compatible): Declare. | |
11423 | * hooks.c (hook_bool_intp_intp_false): New function. | |
11424 | * hooks.h (hook_bool_intp_intp_false): Declare. | |
11425 | * config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
11426 | (TARGET_CC_MODES_COMPATIBLE): Define. | |
11427 | (ix86_fixed_condition_code_regs): New static function. | |
11428 | (ix86_cc_modes_compatible): Likewise. | |
11429 | * doc/tm.texi (Condition Code): Document new hooks. | |
11430 | ||
f6c930a3 RO |
11431 | 2004-01-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
11432 | ||
11433 | * fixinc/inclhack.def (bad_lval): Renamed to ... | |
11434 | (alpha_bad_lval): ... this. | |
11435 | Removed file list. | |
11436 | Restrict to alpha*-dec-osf*. | |
11437 | * fixinc/fixincl.x: Regenerate. | |
11438 | * fixinc/tests/base/dirent.h: Remove, moving test ... | |
11439 | * fixinc/tests/base/testing.h: ... here, reflecting new name. | |
11440 | ||
04b8f97f ZW |
11441 | 2004-01-23 Zack Weinberg <zack@codesourcery.com> |
11442 | ||
30cab869 | 11443 | PR c/13814 |
04b8f97f ZW |
11444 | * c-decl.c (diagnose_mismatched_decls): Also discard a |
11445 | built-in if we encounter an old-style definition with the | |
11446 | same name. | |
11447 | ||
1ab1739c JJ |
11448 | 2004-01-23 Jakub Jelinek <jakub@redhat.com> |
11449 | ||
11450 | * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was | |
11451 | set to default{32,64}. | |
11452 | ||
02731d29 JJ |
11453 | 2004-01-21 Jakub Jelinek <jakub@redhat.com> |
11454 | ||
11455 | * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR) | |
11456 | [!__powerpc64__]: Corrected to handle kernels with changed ucontext. | |
11457 | ||
0a944ef6 | 11458 | 2004-01-23 Eric Botcazou <ebotcazou@act-europe.fr> |
04b8f97f | 11459 | Olivier Hainque <hainque@act-europe.fr> |
0a944ef6 EB |
11460 | |
11461 | * fold-const.c (fold_binary_op_with_conditional_arg): Only | |
11462 | build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR. | |
11463 | ||
0bfb39ef DJ |
11464 | 2004-01-23 Daniel Jacobowitz <drow@mvista.com> |
11465 | ||
11466 | * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode | |
11467 | size for minipool references. | |
11468 | ||
25348c94 RS |
11469 | 2004-01-23 Roger Sayle <roger@eyesopen.com> |
11470 | ||
11471 | * real.c (real_floor, real_ceil): Tweak to allow input and output | |
11472 | arguments to overlap. | |
11473 | (real_round): New function to implement round(3m) semantics. | |
11474 | * real.h (real_round): Prototype here. | |
11475 | * builtins.c (fold_builtin_round): New function to constant fold | |
11476 | round, roundf and roundl. | |
11477 | (fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}. | |
11478 | ||
0f2b41b2 AO |
11479 | 2004-01-23 Alexandre Oliva <aoliva@redhat.com> |
11480 | ||
11481 | PR optimization/13819 | |
04b8f97f | 11482 | * config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs |
0f2b41b2 AO |
11483 | introduced by 2004-01-20's Jan Hubicka's copy_insn change. |
11484 | (sh_handle_sp_switch_attribute): Remove warning. | |
11485 | ||
72613dfa JH |
11486 | 2003-11-30 Jan Hubicka <jh@suse.cz> |
11487 | ||
11488 | * i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets. | |
11489 | ||
7be4d808 R |
11490 | 2004-01-23 J"orn Rennecke <joern.rennecke@superh.com> |
11491 | ||
11492 | * doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP | |
11493 | may or may not return non-NIL. | |
11494 | * postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code, | |
11495 | check CANNOT_CHANGE_MODE_CLASS | |
11496 | ||
23bd7a93 JH |
11497 | 2004-01-23 Jan Hubicka <jh@suse.cz> |
11498 | ||
11499 | * basic-block.h (PROP_POSTRELOAD): New macro. | |
11500 | (CLEANUP_LOG_LINKS): New. | |
11501 | * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to. | |
11502 | * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg. | |
11503 | ||
11504 | * cselib.c (value_pool): New. | |
11505 | (new_cselib_val): Use pool. | |
11506 | (cselib_init): Initialize value_pool | |
11507 | (cselib_finish): Free pool. | |
11508 | ||
5c4f4b18 EB |
11509 | 2004-01-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
11510 | ||
11511 | * config/sparc/sparc.c (scan_record_type): New function. | |
11512 | (function_arg_slotno): Use it to determine which kinds of | |
11513 | registers the record can be passed in. | |
11514 | ||
95f576c1 JM |
11515 | 2004-01-22 James A. Mmorrison <ja2morri@uwaterloo.ca> |
11516 | ||
11517 | * config/pa/fptr.c: Fix old-style definition. | |
11518 | ||
4c442790 PB |
11519 | 2004-01-22 Paolo Bonzini <bonzini@gnu.org> |
11520 | ||
11521 | PR optimization/13724 | |
11522 | * cse.c (fold_rtx) <SUBREG>: Fold a SUBREG to zero if it | |
11523 | represents the zero bits produced by a ZERO_EXTEND operation. | |
11524 | ||
dc4bbaf7 RS |
11525 | 2004-01-22 Roger Sayle <roger@eyesopen.com> |
11526 | ||
11527 | PR optimization/13821 | |
11528 | * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to | |
11529 | correctly calculate the lowpart offset of the contracted subreg. | |
11530 | ||
b00567b0 ILT |
11531 | 2004-01-22 Ian Lance Taylor <ian@wasabisystems.com> |
11532 | ||
11533 | * doc/invoke.texi (Optimize Options): Note that --param arguments | |
11534 | are subject to change without notice. | |
11535 | ||
d0d969f8 RO |
11536 | 2004-01-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
11537 | ||
11538 | * config.gcc (mips-sgi-irix6*o32): Removed. | |
11539 | * config/mips/iris6-o32-as.h: Likewise. | |
11540 | * config/mips/iris6-o32-gas.h: Likewise. | |
11541 | * config/mips/iris6-o32.h: Likewise. | |
11542 | ||
7cf240d5 JH |
11543 | 2004-01-22 Jan Hubicka <jh@suse.cz> |
11544 | ||
11545 | * cfgcleanup.c (first_pass): New static variable. | |
11546 | (try_forward_edges): Add work limiting check for threading. | |
11547 | (try_crossjump_bb): Add work limiting check for crossjumping. | |
11548 | (try_optimize_cfg): Maintain first pass variable. | |
11549 | ||
b16417d6 BW |
11550 | 2004-01-22 Bob Wilson <bob.wilson@acm.org> |
11551 | ||
11552 | * config/xtensa/xtensa.c (function_arg): Generalize logic so that it | |
11553 | handles complex and vector modes. | |
11554 | ||
c8796654 KH |
11555 | 2004-01-22 Kazu Hirata <kazu@cs.umass.edu> |
11556 | ||
11557 | * config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove. | |
11558 | (REG_OK_FOR_BASE_P_STRICT): Likewise. | |
11559 | (STRICT): Likewise. | |
11560 | ||
10176e28 DJ |
11561 | 2004-01-22 Daniel Jacobowitz <drow@mvista.com> |
11562 | ||
11563 | * c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1) | |
11564 | (genrtl_for_stmt): Remove emit_nop calls. | |
11565 | ||
7bff636b JDA |
11566 | 2004-01-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11567 | ||
11568 | PR target/13713 | |
11569 | PR target/13324 | |
11570 | * pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload, | |
11571 | movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload, | |
11572 | clrstrdi_prereload, clrstrdi_postreload): Fix constraints. | |
11573 | ||
980e61bb DJ |
11574 | 2004-01-22 Daniel Jacobowitz <drow@mvista.com> |
11575 | ||
11576 | * config/arm/arm.c: Include "debug.h". | |
04b8f97f | 11577 | (thumb_pushpop): Take two new arguments. Add some commentary. |
980e61bb DJ |
11578 | Output frame information when pushing. |
11579 | (thumb_exit, thumb_unexpanded_epilogue): Update calls to | |
11580 | thumb_pushpop. | |
11581 | (thumb_output_function_prologue): Likewise. Accumulate a CFA | |
11582 | offset, and pass it to thumb_pushpop. Output CFI information. | |
11583 | (thumb_expand_prologue): Add some frame-related markers and notes. | |
11584 | ||
0067d121 UW |
11585 | 2004-01-22 Ulrich Weigand <uweigand@de.ibm.com> |
11586 | ||
11587 | * config/s390/s390.c (s390_frame_info): Allow large frame sizes | |
11588 | for TARGET_64BIT. | |
11589 | (s390_arg_frame_offset): Change return type to HOST_WIDE_INT. | |
11590 | * config/s390/s390-protos.h (s390_arg_frame_offset): Likewise. | |
11591 | ||
bb51e270 RS |
11592 | 2004-01-22 Roger Sayle <roger@eyesopen.com> |
11593 | Paolo Bonzini <bonzini@gnu.org> | |
11594 | ||
11595 | * rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb. | |
11596 | (subreg_lsb): Change to call new subreg_lsb_1 helper function. | |
11597 | * rtl.h (subreg_lsb_1): Prototype here. | |
11598 | * simplify-rtx.c (simplify_subreg): Optimize subregs of zero and | |
11599 | sign extensions. | |
11600 | ||
9c49953c KH |
11601 | 2004-01-22 Kazu Hirata <kazu@cs.umass.edu> |
11602 | ||
11603 | * doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the | |
11604 | macro need not be defined if jump-tables should contain | |
11605 | relative addresses only when -fPIC or -fPIC is in effect. | |
11606 | ||
c582d54a JH |
11607 | 2004-01-22 Jan Hubicka <jh@suse.cz> |
11608 | ||
11609 | * alias.c (reg_base_value): Turn into varray. | |
11610 | (reg_base_value_size): Kill. | |
11611 | (old_reg_base_value): New deletable varray. | |
11612 | (alias_invariant_size): New variable. | |
11613 | (REG_BASE_VALUE): Update to use varray. | |
11614 | (find_base_value): Likewise. | |
11615 | (record_set): Likewise. | |
11616 | (record_base_value): Likewise. | |
11617 | (memrefs_conflict_p): Likewise. | |
11618 | (record_set): Likewise | |
11619 | (record_base_value): Likewise. | |
11620 | (memrefs_conflict_p): Use alias_invariant_size. | |
11621 | (init_alias_analysis): Use varray; set alias_invariant_size; | |
11622 | rescale other arrays to be sized by maxreg. | |
11623 | (end_alias_analysis): Save reg_base_value; clear alias_invariant_size. | |
11624 | ||
8a98812c EB |
11625 | 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
11626 | ||
11627 | * config/sparc/sparc.c (function_arg_slotno): Use | |
11628 | FLOAT_TYPE_P to detect FP fields in structures. | |
11629 | (function_arg_record_value_1): Likewise. | |
11630 | (function_arg_record_value_2): Likewise. | |
11631 | ||
0de456a5 JH |
11632 | 2004-01-22 Jan Hubicka <jh@suse.cz> |
11633 | ||
11634 | * function.c (allocate_struct_function): Do not initialize expr, emit | |
11635 | and varasm. | |
11636 | (prepare_function_start): Do it here. | |
11637 | * c-parse.in (maybe_type_qual): Do not produce line number notes. | |
11638 | ||
1fd05073 EB |
11639 | 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
11640 | ||
11641 | PR target/13559 | |
11642 | * config/sparc/sparc.c (function_arg_record_value_3): Revert | |
11643 | to 'word_mode' once the first slot has been filled. | |
11644 | ||
b2f24c85 EB |
11645 | 2004-01-22 Olivier Hainque <hainque@act-europe.fr> |
11646 | ||
11647 | * config/sparc/sparc.c (function_arg_record_value_1): Fix | |
11648 | computation of the number of integer registers required. | |
11649 | ||
b4e0dd8e KH |
11650 | 2004-01-21 Kazu Hirata <kazu@cs.umass.edu> |
11651 | ||
11652 | * config/i386/i386.md: Simplify certain comparisons of | |
11653 | const_int. | |
11654 | ||
5cc5eddc AP |
11655 | 2004-01-21 Andrew Pinski <apinski@apple.com> |
11656 | ||
11657 | PR target/13785 | |
04b8f97f | 11658 | * config/rs6000/rs6000.md (call_value): Force operand |
5cc5eddc AP |
11659 | 1 not operand 0 into a register. |
11660 | ||
711d8c91 KH |
11661 | 2004-01-21 Kazu Hirata <kazu@cs.umass.edu> |
11662 | ||
11663 | * cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def, | |
11664 | unwind-dw2-fde.h: Update copyright. | |
11665 | ||
d1885651 JDA |
11666 | 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11667 | ||
11668 | * pa-protos.h: Update copyright. | |
11669 | * pa.h: Likewise. | |
11670 | * pa.md: Likewise. | |
11671 | ||
40ca90bf | 11672 | 2004-01-21 Caroline Tice <ctice@apple.com> |
ec13ba83 | 11673 | |
6ed854f1 | 11674 | PR target/12308 |
04b8f97f | 11675 | * config/i386/i386.md (fix_truncxfdi2): Add clause to clobber |
ec13ba83 CT |
11676 | flags register. |
11677 | (fix_truncdfdi2): Likewise. | |
11678 | (fix_truncsfdi2): Likewise. | |
11679 | (*fix_truncdi_1): Likewise. | |
11680 | (fix_truncxfsi2): Likewise. | |
11681 | (fix_truncdfsi2): Likewise. | |
11682 | (fix_truncsfsi2): Likewise. | |
11683 | (*fix_truncsi_1): Likewise. | |
11684 | (fix_truncxfhi2): Likewise. | |
11685 | (fix_truncdfhi2): Likewise. | |
11686 | (fix_truncsfhi2): Likewise. | |
11687 | (*fix_trunchi_1): Likewise. | |
04b8f97f | 11688 | |
d9221e01 KH |
11689 | 2004-01-21 Kazu Hirata <kazu@cs.umass.edu> |
11690 | ||
11691 | * alias.c, basic-block.h, c-common.c, c-common.h, | |
11692 | c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c, | |
11693 | calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c, | |
11694 | combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c, | |
11695 | cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h, | |
11696 | defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c, | |
11697 | expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c, | |
11698 | genautomata.c, genconditions.c, genemit.c, genflags.c, | |
11699 | gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c, | |
11700 | ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c, | |
11701 | langhooks-def.h, langhooks.c, langhooks.h, line-map.c, | |
11702 | line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c, | |
11703 | ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c, | |
11704 | rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h, | |
11705 | target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h, | |
11706 | unwind.h, varray.c, varray.h: Update copyright. | |
11707 | ||
6d6b0a12 KH |
11708 | 2004-01-21 Kazu Hirata <kazu@cs.umass.edu> |
11709 | ||
11710 | * config/h8300/coff.h: Update copyright. | |
11711 | * config/h8300/elf.h: Likewise. | |
11712 | * config/h8300/h8300-protos.h: Likewise. | |
11713 | * config/h8300/h8300.c: Likewise. | |
11714 | * config/h8300/h8300.h: Likewise. | |
11715 | * config/h8300/h8300.md: Likewise. | |
11716 | ||
4b60eb3b JDA |
11717 | 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11718 | ||
11719 | * fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3, | |
11720 | ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time, | |
11721 | ultrix_unistd): New hacks. | |
11722 | * fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK, | |
11723 | ULTRIX_CONST2_CHECK): Add checks. | |
11724 | * fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise. | |
11725 | * fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise. | |
11726 | * fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise. | |
11727 | * fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise. | |
11728 | * fixinc/tests/base/locale.h: New file. | |
11729 | * fixinc/fixincl.x: Rebuilt. | |
11730 | ||
bbf5a54d AJ |
11731 | 2004-01-21 Andreas Jaeger <aj@suse.de> |
11732 | Michael Matz <matz@suse.de> | |
11733 | ||
11734 | * doc/extend.texi (Extended Asm): Clarify memory clobber. | |
11735 | ||
bfccaa6f JJ |
11736 | 2004-01-21 Jakub Jelinek <jakub@redhat.com> |
11737 | ||
11738 | * crtstuff.c (frame_dummy, __do_global_ctors_1): Call | |
11739 | _Jv_RegisterClasses through a function pointer. | |
11740 | ||
c3cda381 FH |
11741 | 2004-01-21 Falk Hueffner <falk@debian.org> |
11742 | ||
11743 | PR target/12898 | |
11744 | * config/alpha/alpha.c (alpha_emit_set_const_1): If | |
11745 | no_new_pseudos, use gen_rtx_SET directly for SImode constants | |
11746 | which need multiple instructions to emit. | |
11747 | ||
2a2001be IK |
11748 | 2004-01-21 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com> |
11749 | ||
11750 | * config/m32r/m32r.h (CPP_SPEC): Define. | |
11751 | ||
1ef82ef2 ZW |
11752 | 2004-01-21 Zack Weinberg <zack@codesourcery.com> |
11753 | ||
11754 | * c-decl.c (merge_decls): Kill different_binding_level and | |
11755 | different_tu arguments; simplify throughout. | |
11756 | (duplicate_decls): Likewise. | |
11757 | (pushdecl, merge_translation_unit_decls): Update calls to | |
11758 | duplicate_decls. | |
11759 | ||
13544b81 KG |
11760 | 2004-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11761 | ||
11762 | * Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and | |
11763 | $(SYSTEM_H). | |
11764 | (print-rtl1.o): Depend on $(SYSTEM_H). | |
11765 | ||
a541f69d KC |
11766 | 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> |
11767 | ||
11768 | PR bootstrap/12730 | |
11769 | * configure.ac: Delete definition and subsitution of docdir. | |
11770 | Add info, man, srcman and srcinfo to target hooks. Create doc/ | |
11771 | directory. | |
11772 | * configure: Regenerate. | |
11773 | * Makefile.in: Don't substitute docdir and delete all references | |
11774 | throughout. | |
11775 | (MAKEINFOFLAGS): Define. | |
11776 | (stmp-docobjdir): Delete. | |
11777 | (INFOFILES, MANFILES): Define. | |
11778 | (info): Call lang.info, srcinfo and lang.srcinfo. | |
11779 | (generated-manpages): Call lang.man, srcman and lang.srcman. | |
11780 | (srcinfo, srcman): New rules to copy back files to source directory. | |
11781 | (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule. | |
11782 | (install-man): Revamp rule. | |
11783 | (clean): Update dvi directory. | |
11784 | (distclean): Delete TAGS from front end directorys. | |
11785 | (maintainer-clean): Delete all document files in source directory. | |
11786 | ||
11787 | objc/Make-lang.in (objc.man, objc.info): Dummy entries. | |
11788 | (objc.srcman, objc.srcinfo): Likewise. | |
11789 | ||
793146e3 BK |
11790 | 2004-01-20 Bruce Korb <bkorb@gnu.org> |
11791 | ||
11792 | * fixinc/inclhack.def(math_exception): bypass only for glibc. | |
11793 | (matherr_decl): rename & relocate as exception_structure. | |
11794 | This fix must precede the math_exception fix. | |
11795 | ||
fdb33708 RS |
11796 | 2004-01-20 Roger Sayle <roger@eyesopen.com> |
11797 | ||
11798 | * fold-const.c (fold_convert): Rename to fold_convert_const. | |
11799 | (fold_convert_const): Change arguments to take a tree_code, | |
11800 | a type and the operand/expression to be converted. Return | |
11801 | NULL_TREE if no simplification is possible. Add support for | |
11802 | FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR. | |
11803 | (fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR. | |
11804 | Adjust call to fold_convert to match new fold_convert_const. | |
11805 | Avoid modifying the tree passed to fold in-place. | |
11806 | ||
34c80057 AM |
11807 | 2004-01-21 Alan Modra <amodra@bigpond.net.au> |
11808 | ||
11809 | * config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define. | |
11810 | * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT. | |
11811 | * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document. | |
11812 | ||
a4295210 JDA |
11813 | 2004-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11814 | ||
11815 | * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes. | |
11816 | * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d): | |
11817 | Likewise. Handle frames larger than 0x7fffffff on 64-bit ports. | |
11818 | (emit_move_sequence): Check scratch_reg first in various if statements. | |
11819 | Extend source simplification to handle all 64-bit CONST_INTs. | |
11820 | (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing | |
11821 | frame size. | |
11822 | (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for | |
11823 | frame offset calculations. | |
11824 | * pa.h (NEW_HP_ASSEMBLER): Add comment. | |
11825 | (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT, | |
11826 | LEGITIMATE_64BIT_CONST_INT_P): Define. | |
11827 | (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P. Treat | |
11828 | any CONST_INT as legitimate during and after reload. | |
11829 | (VAL_32_BITS_P, INT_32_BITS): Define. | |
11830 | (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets. | |
11831 | ||
3e89ed8d JH |
11832 | 2004-01-20 Jan Hubicka <jh@suse.cz> |
11833 | ||
11834 | * emit-rtl.c (verify_rtx_sharing, copy_insn_1, | |
11835 | emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers | |
11836 | containing hard regs are shared. | |
11837 | (gen_hard_reg_clobber): New function. | |
11838 | (hard_reg_clobbers): New array. | |
11839 | * genemit.c (gen_exp): Use gen_hard_reg_clobber. | |
11840 | (copy_rtx): Do not copy clobbers containing hard regs. | |
11841 | * rtl.h (gen_hard_reg_clobber): Declare. | |
11842 | ||
9b57b627 JH |
11843 | 2004-01-20 Jan Hubicka <jh@suse.cz> |
11844 | ||
11845 | * varray.c: Include hashtab.h | |
11846 | (varray_descriptor): New structure. | |
11847 | (hash_descriptor, eq_descriptor, varray_descriptor, | |
11848 | print_statistics): New static functions | |
11849 | (varray_init, varray_grow): Update statistics | |
11850 | (dump_varray_statistics): New function. | |
11851 | * varray.h (dump_varray_statistics): Declare. | |
11852 | * toplev.c (finalize): Call it. | |
11853 | * Makefile.in (varray.o): Add dependency. | |
11854 | ||
6a59927d JH |
11855 | 2004-01-20 Jan Hubicka <jh@suse.cz> |
11856 | ||
11857 | * cselib.c: Include alloc-pool.h | |
11858 | (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill. | |
11859 | (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare. | |
11860 | (new_elt_list, new_elt_loc_list, unchain_one_elt_list, | |
11861 | unchain_one_elt_loc_list_pool, unchain_one_value, | |
11862 | new_cselib_val): Simplify using allocpool. | |
11863 | (cselib_init): Initialize allocpools. | |
11864 | (cselib_finish): Finish allocpools. | |
11865 | * Makefile.in (cselib.o): Depend on alloc-pool.h | |
11866 | ||
3c53850d RS |
11867 | 2004-01-20 Richard Sandiford <rsandifo@redhat.com> |
11868 | ||
11869 | * config/mips/mips.c (mips_load_call_address): Make the call insn | |
11870 | use $gp if it could be calling a lazy binding stub. | |
11871 | ||
101ad855 KH |
11872 | 2004-01-20 Kazu Hirata <kazu@cs.umass.edu> |
11873 | ||
11874 | * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define. | |
11875 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
11876 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
11877 | * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove. | |
11878 | (PROMOTE_FUNCTION_RETURN): Remove. | |
11879 | (STRUCT_VALUE): Remove. | |
11880 | ||
c099ba28 DC |
11881 | 2004-01-20 Denis Chertykov <denisc@overta.ru> |
11882 | ||
03b82c00 | 11883 | PR bootstrap/13735 |
c099ba28 DC |
11884 | * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X |
11885 | register as pointer after reload. | |
11886 | ||
c8b6fae3 ZD |
11887 | 2004-01-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11888 | ||
11889 | PR optimization/12440 | |
11890 | * loop.c: Include ggc.h. | |
11891 | (loop_optimize): Run garbage collector between optimization of loops. | |
11892 | * Makefile.in (loop.o): Add GGC_H dependency. | |
11893 | ||
c72d6c26 HP |
11894 | 2004-01-20 Hartmut Penner <hpenner@de.ibm.com> |
11895 | ||
1ef82ef2 | 11896 | * gcc/config/rs6000/rs6000.c (function_arg) Handle |
c72d6c26 HP |
11897 | vector register special in function without prototype. |
11898 | (function_arg_advance): Vector parameters get always | |
11899 | GPRs allocated for the linux64 target. | |
11900 | ||
91e736f9 KI |
11901 | 2004-01-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
11902 | ||
11903 | * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK | |
11904 | not TARGET_M32RX_MASK. | |
11905 | ||
4043d6fb EB |
11906 | 2004-01-20 Eric Botcazou <ebotcazou@libertysurf.fr> |
11907 | ||
11908 | PR target/13557 | |
11909 | * config/sparc/sparc.c (function_arg): Reorder the cases. | |
11910 | ||
50f59cd7 PB |
11911 | 2004-01-19 Per Bothner <per@bothner.com> |
11912 | ||
11913 | Move cpp_reader's line_maps field to a shared global. | |
11914 | * cpphash.h (cpp_reader): Rename line_maps field to line_table | |
11915 | and change the type to a pointer rather than a struct. | |
11916 | * cppinit.c (cpp_push_main_field): Adjust accordingly. | |
11917 | * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks): | |
11918 | Likewise. | |
11919 | * cppfiles.c (validate_pch): Likewise. | |
11920 | * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text): | |
11921 | Likewise. | |
11922 | * cpperror.c (print_location): Likewise. | |
11923 | * cpplib.h (cpp_create_reader): New line_maps pointer parameter. | |
11924 | * cppinit.c (cpp_create_reader): Handle new parameter. | |
11925 | (cpp_destroy): Don't free line_maps - that's no longer our job. | |
11926 | * input.h (line_table): New variable. | |
11927 | * toplev.c (line_table): Declare variable. | |
11928 | (general_init): Initialize line_table. | |
11929 | * c-opts.c (c_common_init_options): Pass line_table to | |
11930 | cpp_create_reader. | |
11931 | * fix-header.c (read_scan_file): New local variable line_table. | |
11932 | Initialize, and pass it to cpp_create_reader. | |
11933 | * Makefile.in (LIBS, LIBDEPS): Add libcpp.a. | |
11934 | (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a. | |
11935 | ||
11936 | 2004-01-19 Per Bothner <per@bothner.com> | |
9132fbb7 PB |
11937 | |
11938 | Implement a cache for linemap_lookup. | |
11939 | * line-map.h (struct_line_maps): Add cache field. | |
11940 | * line-map.c (linemap_init): Zero cache field. | |
11941 | (linemap_add): Set cache field to offset of newly allocated map. | |
11942 | (linemap_lookup): Use and set cache field. | |
11943 | ||
26d107db KK |
11944 | 2004-01-20 Kaz Kojima <kkojima@gcc.gnu.org> |
11945 | ||
11946 | PR optimization/13567 | |
11947 | * cse.c (cse_basic_block): Call cse_insn with a non-null | |
11948 | libcall_insn for the last SET insn of a no-confilict block. | |
11949 | ||
e165d61b KC |
11950 | 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> |
11951 | ||
1ef82ef2 | 11952 | * Makefile.in (target_noncanonical, program_transform_name): Use |
e165d61b | 11953 | immediate define instead of deferred. |
1ef82ef2 | 11954 | (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME, |
e165d61b KC |
11955 | PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME, |
11956 | GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of | |
11957 | deferred backquote. | |
11958 | ||
53cd18ec JM |
11959 | 2004-01-20 Joseph S. Myers <jsm@polyomino.org.uk> |
11960 | ||
11961 | * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to | |
11962 | true unconditionally. | |
11963 | * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning): | |
11964 | Remove. | |
11965 | (build_unary_op, build_modify_expr): Don't handle extended | |
11966 | lvalues. | |
11967 | (build_component_ref, build_conditional_expr): Call non_lvalue | |
11968 | instead of pedantic_non_lvalue. | |
11969 | (build_c_cast): Don't condition use of non_lvalue on pedantic. | |
11970 | * fold-const.c (fold): Don't check pedantic directly for | |
11971 | COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are | |
11972 | passed to pedantic_non_lvalue. | |
11973 | * doc/extend.texi: Remove documentation of extended lvalues. | |
11974 | ||
9ce79a7a RS |
11975 | 2004-01-19 Roger Sayle <roger@eyesopen.com> |
11976 | ||
11977 | PR optimization/5263 | |
11978 | * simplify-rtx.c (associative_constant_p): Delete. | |
11979 | (simplify_associative_operation): Rewrite to linearize terms, and | |
11980 | attempt to simplify new term against both left and right subterms. | |
11981 | (simplify_binary_operation): Call swap_commutative_operands_p on | |
11982 | op0 and op1, not trueop0 and trueop1. Move the initialization of | |
11983 | trueop0 and trueop1 down to where first needed. | |
11984 | (simplify_relational_operation): Likewise. | |
11985 | * rtlanal.c (commutative_operand_precedence): Also order constant | |
11986 | operands using avoid_constant_pool_reference. | |
11987 | ||
62e88293 RH |
11988 | 2004-01-19 Richard Henderson <rth@redhat.com> |
11989 | ||
1ef82ef2 ZW |
11990 | * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN, |
11991 | don't check memory mode. | |
11992 | (unaligned_memory_operand): Likewise. | |
11993 | (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't | |
11994 | abort for op0 not MEM. | |
62e88293 | 11995 | |
1ef82ef2 ZW |
11996 | * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination |
11997 | is not a reg, copy to a scratch first. | |
11998 | (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi, | |
11999 | unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le, | |
12000 | unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG. | |
12001 | (reload_inqi, reload_inhi): Fix mode of op0. | |
12002 | (reload_inqi_help, reload_inhi_help, reload_outqi_help, | |
12003 | reload_outhi_help): Likewise. Use define_insn_and_split. | |
62e88293 | 12004 | |
1ef82ef2 ZW |
12005 | * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN |
12006 | as well as $29 dead. | |
62e88293 | 12007 | |
2f3321ca EB |
12008 | 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr> |
12009 | ||
12010 | * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit | |
12011 | "tls_object" for thread-local objects. | |
12012 | * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit | |
12013 | "#tls" for thread-local sections. | |
12014 | * configure.ac (thread-local checks): Specify --fatal-warnings in | |
12015 | every binutils-specific checks. For sparc*-*-*, test whether the | |
12016 | OS is Solaris and the tools are native and act accordingly. | |
12017 | * configure: Rebuild. | |
12018 | ||
6fe37bc4 JL |
12019 | 2004-01-19 Jeff Law <law@redhat.com> |
12020 | ||
12021 | * contrib.texi: Update Paolo Carlini's entry. New entries for | |
12022 | Jerry Quinn and Petur Runolfsson. | |
1ef82ef2 | 12023 | |
68f48f39 RS |
12024 | 2004-01-19 Roger Sayle <roger@eyesopen.com> |
12025 | ||
12026 | * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for | |
12027 | size, don't use the larger zero-extending loads. | |
12028 | ||
5c9948f4 RH |
12029 | 2004-01-19 Richard Henderson <rth@redhat.com> |
12030 | ||
12031 | * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs. | |
12032 | * alpha.md (UNSPEC_NT_LDA): Remove. | |
12033 | (UNSPEC_CVTLQ, cvtlq): New. | |
12034 | (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f. | |
12035 | (extendsidi2_fix): Remove. | |
12036 | (extendsidi2 splitter): Use cvtlq. | |
12037 | (extendsidi2 fp peepholes): Remove. | |
12038 | (cvtql): Use SFmode instead of SImode. | |
12039 | (fix_trunc?fsi): Update to match. | |
12040 | (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New. | |
12041 | (movsi): Rename from movsi_nofix, remove f alternatives. | |
12042 | (movsi_nt_vms): Similarly. | |
12043 | (movsi_fix, movsi_nt_vms_fix): Remove. | |
12044 | (nt_lda): Remove. | |
12045 | * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda. | |
12046 | ||
9b0436b7 JH |
12047 | 2004-01-19 Jan Hubicka <jh@suse.cz> |
12048 | ||
12049 | * cgraph.c (cgraph_remove_node): Fix removal from linked list. | |
12050 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed | |
12051 | list. | |
12052 | (cgraph_remove_unreachable_nodes): New function | |
12053 | (cgraph_decide_inlining_of_small_function): Fix pasto. | |
12054 | (cgraph_decide_inlining_incrementally): Fix pasto. | |
12055 | (cgrpah_decide_inlining): Likewise; remove unreachable nodes. | |
12056 | ||
8c80adb7 SB |
12057 | 2004-01-19 Steven Bosscher <stevenb@suse.de> |
12058 | ||
12059 | * gengtype.c (header_file): Make it static. | |
12060 | (write_types_process_field, write_enum_defn): Minor whitespace fixes. | |
12061 | * gengtype.h (header_file): No longer extern. | |
12062 | ||
0ede749d KH |
12063 | 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> |
12064 | ||
12065 | * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default. | |
12066 | * expr.c (CASE_VECTOR_PC_RELATIVE): Remove. | |
12067 | * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise. | |
12068 | ||
41cbdcd0 KH |
12069 | 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> |
12070 | ||
12071 | * stmt.c (HAVE_casesi): Define it not already defined. | |
12072 | (HAVE_tablejump): Likewise. | |
12073 | (expand_end_case_type): Resort to the binary tree method if | |
12074 | neither casesi or tablejump is available. | |
12075 | ||
5cfc5f84 DJ |
12076 | 2004-01-18 Daniel Jacobowitz <drow@mvista.com> |
12077 | ||
12078 | * final.c (final_scan_insn): Make non-static again. | |
12079 | * output.h (final_scan_insn): Re-add prototype. | |
12080 | * config/arc/arc.c (arc_output_function_epilogue): Add NULL | |
12081 | to final_scan_insn call. | |
12082 | * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise. | |
12083 | * config/mips/mips.c (mips_output_conditional_branch): Likewise. | |
12084 | * config/pa/pa.c (output_lbranch, output_call): Likewise. | |
12085 | * config/sh/sh.c (print_slot): Likewise. | |
12086 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise. | |
12087 | (output_sibcall, sparc_flat_function_epilogue): Likewise. | |
12088 | ||
3348b696 JH |
12089 | 2004-01-18 Jan Hubicka <jh@suse.cz> |
12090 | ||
12091 | * basic-block.h (try_redirect_by_replacing_jump): Declare. | |
12092 | * cfgcleanup.c (try_optimize_cfg): Use it. | |
12093 | * cfgrtl.c (try_redirect_by_replacing_jump): Export. | |
12094 | (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch): | |
12095 | Kill hack. | |
12096 | (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump. | |
12097 | ||
12098 | Revert: | |
12099 | 2004-01-16 Geoffrey Keating <geoffk@apple.com> | |
12100 | ||
12101 | * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps | |
12102 | even after reload, just don't remove the actual jump tables. | |
12103 | ||
72d89d35 KH |
12104 | 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> |
12105 | ||
12106 | * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove. | |
12107 | ||
07b50aad KH |
12108 | 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> |
12109 | ||
12110 | * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of | |
12111 | the size of a pointer in bytes. | |
12112 | ||
6e46ab25 RS |
12113 | 2004-01-18 Roger Sayle <roger@eyesopen.com> |
12114 | ||
12115 | * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing | |
12116 | live "next" variable, which could lead to an infinite loop. | |
12117 | ||
3ce5437a AP |
12118 | 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu> |
12119 | ||
b4be9e8e AP |
12120 | * config/rs6000/altivec.h: Wrap C++ functions in extern "C++" |
12121 | block. | |
12122 | ||
3ce5437a AP |
12123 | * config/rs6000/rs6000.c (rs6000_special_round_type_align): |
12124 | Check for NULL in the chain and remove repeated code. | |
12125 | ||
20c361f3 JH |
12126 | 2004-01-18 Jan Hubicka <jh@suse.cz> |
12127 | ||
12128 | * coverage.c (checksum_string): Rename to ... | |
12129 | (coverage_checksum_string): ... this one, Use crc32_string; recognize | |
12130 | names containing random number and zero the number out in order to get | |
12131 | match. | |
12132 | ||
cacb5bba RS |
12133 | 2004-01-18 Richard Sandiford <rsandifo@redhat.com> |
12134 | ||
12135 | * config/mips/mips.c (mips_got_alias_set): Mark for PCH. | |
12136 | ||
daf2f129 JM |
12137 | 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk> |
12138 | ||
12139 | * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi, | |
12140 | doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi, | |
12141 | doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi, | |
12142 | doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi, | |
12143 | doc/trouble.texi: Remove trailing whitespace. | |
12144 | ||
b85aed9e RS |
12145 | 2004-01-18 Richard Sandiford <rsandifo@redhat.com> |
12146 | ||
1c0f3fac | 12147 | PR target/7618 |
b85aed9e RS |
12148 | * config/mips/mips.c: Include cfglayout.h. |
12149 | (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define. | |
12150 | (mips_unspec_offset_high): Add temporary register argument. | |
12151 | (mips_load_call_address): New function, split out from... | |
12152 | (mips_expand_call): ...here. | |
12153 | (mips_output_cplocal): New function. | |
12154 | (mips_output_function_prologue, mips_output_function_epilogue): Use it. | |
12155 | (mips_emit_loadgp): New function, split out from... | |
12156 | (mips_expand_prologue): ...here. | |
12157 | (mips_output_mi_thunk): New function. | |
12158 | ||
e5d95b69 BI |
12159 | 2004-01-17 Bernardo Innocenti <bernie@develer.com> |
12160 | ||
12161 | * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040, | |
12162 | mcpu32): Remove redundant checks for implied target predefines. | |
12163 | ||
19d66194 AP |
12164 | 2004-1-17 Andrew Pinski <pinskia@physics.uc.edu> |
12165 | ||
12166 | * config/rs6000/rs6000.c (rs6000_special_round_type_align): | |
12167 | Return type is unsigned int not int. | |
12168 | * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): | |
12169 | Likewise. | |
12170 | ||
95fef11f JM |
12171 | 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk> |
12172 | ||
12173 | * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi, | |
12174 | doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use | |
12175 | "GNU/Linux" and "Microsoft Windows" terminology. | |
12176 | ||
3ab51846 JM |
12177 | 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk> |
12178 | ||
12179 | * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi, | |
12180 | doc/cppopts.texi, doc/extend.texi, doc/install.texi, | |
12181 | doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi, | |
12182 | doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use | |
12183 | @smallexample instead of @example. | |
12184 | ||
cfbed37c ZL |
12185 | 2004-01-17 Ziemowit Laski <zlaski@apple.com> |
12186 | ||
12187 | * objc/objc-act.c (build_objc_method_call): Use target | |
1ef82ef2 | 12188 | hooks instead of macros to determine if ..._stret |
cfbed37c ZL |
12189 | dispatchers should be used (NeXT runtime only). |
12190 | ||
bef5105b RS |
12191 | 2004-01-17 Roger Sayle <roger@eyesopen.com> |
12192 | ||
12193 | * builtins.c (expand_builtin_expect_jump): Fix mistake in my | |
12194 | last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL. | |
12195 | ||
dd3adcf8 DJ |
12196 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
12197 | ||
12198 | * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc) | |
12199 | (emit_call_insn_before_sameloc, emit_insn_after_sameloc) | |
12200 | (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New | |
12201 | macros. | |
12202 | * reload1.c (emit_reload_insns): Use them. | |
12203 | * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc) | |
12204 | (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check | |
12205 | for NULL PATTERN. | |
12206 | ||
589fe865 DJ |
12207 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
12208 | ||
12209 | * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define. | |
12210 | (final_scan_insn): Update to take an additional SEEN argument. Emit | |
12211 | a line note after the prologue. Make static. | |
12212 | (line_note_exists): Remove. | |
12213 | (final): Don't initialize line_note_exists. Update call to | |
12214 | final_scan_insn. | |
12215 | * output.h (final_scan_insn): Remove prologue. | |
12216 | * function.c (set_insn_locators): Update comment. | |
12217 | (thread_prologue_and_epilogue_insns): Add a comment. | |
12218 | ||
95727fb8 AP |
12219 | 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu> |
12220 | ||
12221 | PR target/10781 | |
12222 | * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): | |
12223 | Prototype. | |
12224 | * config/rs6000/rs6000.c (rs6000_special_round_type_align): | |
12225 | New function. | |
12226 | * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it. | |
12227 | * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise. | |
12228 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise. | |
12229 | ||
f2e16e97 JH |
12230 | 2004-01-17 Jan Hubicka <jh@suse.cz> |
12231 | ||
26c0473b JH |
12232 | * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous |
12233 | commit. | |
12234 | ||
f2e16e97 JH |
12235 | * toplev.c (HAVE_conditional_execution): Provide default. |
12236 | (rest_of_handle_reorder_blocks): For conditional_execution target | |
12237 | update liveness once after all transformations | |
12238 | (rest_of_compilation): Do crossjumping before ce3. | |
12239 | ||
f103e34d GK |
12240 | 2004-01-17 Geoffrey Keating <geoffk@apple.com> |
12241 | ||
12242 | * alias.c (new_alias_set): Mark last_alias_set for PCH. | |
12243 | (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it | |
12244 | for PCH. | |
12245 | (get_frame_alias_set): Likewise, except rename it to 'frame_set'. | |
12246 | * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH. | |
12247 | (get_TOC_alias_set): Mark 'set' for PCH. | |
12248 | ||
ab530ea8 GK |
12249 | 2004-01-16 Geoffrey Keating <geoffk@apple.com> |
12250 | ||
12251 | * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps | |
12252 | even after reload, just don't remove the actual jump tables. | |
12253 | ||
53dd3be3 | 12254 | 2004-01-17 J. Brobecker <brobecker@gnat.com> |
e7d23ce3 B |
12255 | |
12256 | * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type(). | |
12257 | Remove checks for is_ada() and TREE_UNSIGNED. | |
12258 | (subrange_type_die): Emit a byte_size attribute if the subrange | |
12259 | type size is different from the base type size. | |
12260 | (modified_type_die): Replace call to is_ada_subrange_type() by | |
12261 | call to is_subrange_type(). | |
12262 | ||
8582b18a AP |
12263 | 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu> |
12264 | ||
12265 | * config/sh/sh.c: Include ggc.h. | |
12266 | ||
73e61092 GK |
12267 | 2004-01-16 Geoffrey Keating <geoffk@apple.com> |
12268 | ||
12269 | * Makefile.in (MD5_H): New. | |
12270 | (fold-const.o): Depend on md5.h. | |
12271 | (dwarf2out.o): Likewise. | |
12272 | (cppfiles.o): Likewise. | |
12273 | * cppfiles.c: Include md5.h. | |
12274 | (should_stack_file): Check against list read from PCH file. | |
12275 | (struct pchf_data): New. | |
12276 | (pchf): New variable. | |
12277 | (struct pchf_adder_info): New. | |
12278 | (pchf_adder): New. | |
12279 | (pchf_save_compare): New. | |
12280 | (_cpp_save_file_entries): New. | |
12281 | (_cpp_read_file_entries): New. | |
12282 | (struct pchf_compare_data): New. | |
12283 | (pchf_compare): New. | |
12284 | (check_file_against_entries): New. | |
12285 | * cpphash.h (_cpp_save_file_entries): Prototype. | |
12286 | (_cpp_read_file_entries): Prototype. | |
12287 | * cpppch.c (cpp_write_pch_state): Write the list of headers. | |
12288 | (cpp_read_state): Read the list of headers. | |
12289 | ||
3b75d796 JH |
12290 | 2004-01-17 Jan Hubicka <jh@suse.cz> |
12291 | ||
12292 | * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and | |
12293 | builtin_expect specially. | |
12294 | * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100. | |
12295 | (PARAM_LARGE_FUNCTION_INSNS): Set to 3000. | |
12296 | * invoke.texi (max-inline-insns-single): Set to 100. | |
12297 | (large-function-insns): Set to 3000. | |
12298 | ||
cf551fba EC |
12299 | 2004-01-16 Eric Christopher <echristo@redhat.com> |
12300 | Chandrakala Chavva <cchavva@redhat.com> | |
12301 | ||
12302 | * cppcharset.c (one_iso88591_to_utf8): New function. | |
12303 | (convert_iso88591_utf8): Ditto. Use. | |
12304 | (conversion_tab): Use. | |
12305 | (_cpp_input_to_utf8): New function. | |
12306 | (_cpp_init_iconv_buffer): Ditto. | |
12307 | (_cpp_close_iconv_buffer): Ditto. | |
12308 | * cpphash.h: Prototype new functions. | |
12309 | (cpp_buffer): Add input_cset_desc. | |
12310 | * cppinit.c: Add input_charset default. | |
12311 | * cpplib.c (cpp_push_buffer): Support init and | |
12312 | close of iconv. | |
12313 | * cpplib.h (cpp_options): Add input_charset. | |
12314 | ||
510d1e80 KH |
12315 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
12316 | ||
12317 | * system.h (ASM_OUTPUT_SECTION_NAME): Poison. | |
12318 | * config/alpha/unicosmk.h: Remove a commented-out definition | |
12319 | of ASM_OUTPUT_SECTION_NAME. | |
12320 | * config/stormy16/stormy16.h: Likewise. | |
12321 | ||
fb2c2608 RO |
12322 | 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
12323 | ||
12324 | * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ... | |
12325 | (alpha___extern_prefix_sys_stat): ... this. | |
12326 | Apply to <sys/mount.h>, too. | |
12327 | Tweak to match more variations. | |
12328 | * fixinc/tests/base/sys/stat.h: Adapt for new hackname. | |
12329 | ||
12330 | * fixinc/inclhack.def (alpha___extern_prefix, | |
cf551fba | 12331 | alpha___extern_prefix_standards): New hacks to obey |
c53bdcf5 | 12332 | __PRAGMA_EXTERN_PREFIX. |
fb2c2608 RO |
12333 | * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New |
12334 | test. | |
12335 | * fixinc/tests/base/standards.h: Likewise. | |
cf551fba | 12336 | |
fb2c2608 RO |
12337 | * fixincl/inclhack.def (alpha_pthread): Tweak to match more |
12338 | variations. | |
12339 | New testcase. | |
12340 | * fixinc/tests/base/pthread.h: Handle it. | |
cf551fba | 12341 | |
fb2c2608 RO |
12342 | * fixincl/inclhack.def (bad_lval): Sort file list. |
12343 | Add many missing files up to Tru64 UNIX V5.1B. | |
12344 | * gcc/fixinc/tests/base/libgen.h: Renamed to ... | |
12345 | * gcc/fixinc/tests/base/dirent.h: ... this to match new file list | |
12346 | order. | |
cf551fba | 12347 | |
fb2c2608 RO |
12348 | * fixinc/fixincl.x: Regenerate. |
12349 | ||
79a76d65 MM |
12350 | 2004-01-16 Mark Mitchell <mark@codesourcery.com> |
12351 | ||
12352 | * version.c (version_string): Change to 3.5.0. | |
12353 | * doc/include/gcc-common.texi (version-GCC): Likewise. | |
12354 | ||
965514bd JH |
12355 | 2004-01-16 Jan Hubicka <jh@suse.cz> |
12356 | ||
12357 | * i386.md (load_tp_di): Fix pasto. | |
12358 | ||
12359 | PR opt/13608 | |
12360 | * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function. | |
12361 | ||
12362 | * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator, | |
12363 | pp_c_character_constant, pp_c_floating_constant, | |
12364 | pp_c_additive_expression, pp_c_shift_expression, | |
12365 | pp_c_equality_expression, pp_c_and_expression, | |
12366 | pp_c_exclusive_or_expression, pp_c_inclusive_or_expression, | |
12367 | pp_c_logical_and_expression): Remove inline modifier. | |
12368 | * dwarf2out.c (get_AT): Likewise. | |
12369 | * et-forest.c (et_splay): Likewise. | |
12370 | * ra.h (ra_alloc, ra_calloc): Likewise | |
12371 | ||
87b483a1 KH |
12372 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
12373 | ||
12374 | * config/frv/frv-protos.h: Fix comment formatting. | |
12375 | * config/frv/frv.c: Likewise. | |
12376 | * config/frv/frv.h: Likewise. | |
12377 | * config/frv/frv.md: Likewise. | |
12378 | * config/frv/frvbegin.c: Likewise. | |
12379 | * config/frv/frvend.c: Likewise. | |
12380 | ||
16201823 KH |
12381 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
12382 | ||
12383 | * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison. | |
12384 | * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention | |
12385 | LINKER_DOES_NOT_WORK_WITH_DWARF2. | |
12386 | (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove. | |
12387 | ||
115df136 R |
12388 | 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com> |
12389 | ||
5ed5fd90 | 12390 | PR 11864 |
115df136 R |
12391 | * postreload.c (reload_cse_simplify_operands): Don't remove |
12392 | implicit extension from LOAD_EXTEND_OP. | |
12393 | ||
e24e7211 JH |
12394 | 2004-01-16 Jan Hubicka <jh@suse.cz> |
12395 | ||
8c80adb7 SB |
12396 | PR opt/11350 |
12397 | * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal | |
e24e7211 | 12398 | after reload. |
8c80adb7 SB |
12399 | * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks, |
12400 | rtl_try_redirect_by_replacing_branch): Likewise. | |
e24e7211 | 12401 | |
b0fadda7 GK |
12402 | 2004-01-15 Geoffrey Keating <geoffk@apple.com> |
12403 | ||
b604074c GK |
12404 | PR pch/13689 |
12405 | * alias.c (struct alias_set_entry): Mark for GC. | |
12406 | (alias_sets): Make static, mark for GC. | |
12407 | (record_alias_subset): Use GC to allocate alias structures. | |
12408 | * varray.c (element): Make generic varrays GCed. | |
12409 | ||
a6dd4094 GK |
12410 | PR pch/13361 |
12411 | * c-typeck.c (constructor_asmspec): Delete. | |
12412 | (struct initializer_stack): Delete field 'asmspec'. | |
12413 | (start_init): Delete saving of asmspec. | |
12414 | (finish_init): Don't update constructor_asmspec. | |
12415 | * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree. | |
12416 | * stmt.c (expand_asm): Duplicate strings from tree. | |
12417 | (expand_asm_operands): Likewise. | |
12418 | * tree.c (tree_size): Update computation of size of STRING_CST. | |
12419 | (make_node): Don't make STRING_CST nodes. | |
12420 | (build_string): Allocate string with tree node. | |
12421 | * tree.def (STRING_CST): Update comment. | |
12422 | * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST. | |
12423 | (tree_string): Place contents of string in tree node. | |
12424 | * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string | |
12425 | from tree. | |
12426 | ||
b0fadda7 GK |
12427 | * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case |
12428 | altivec operands. | |
12429 | ||
e0a21ab9 KH |
12430 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
12431 | ||
12432 | * c-common.h: Fix comment formatting. | |
12433 | * c-cppbuiltin.c: Likewise. | |
12434 | * c-pragma.c: Likewise. | |
12435 | * calls.c: Likewise. | |
12436 | * collect2.c: Likewise. | |
12437 | * cppcharset.c: Likewise. | |
12438 | * cpptrad.c: Likewise. | |
12439 | * dbxout.c: Likewise. | |
12440 | * defaults.h: Likewise. | |
12441 | * dwarf2out.c: Likewise. | |
12442 | * fold-const.c: Likewise. | |
12443 | * genautomata.c: Likewise. | |
12444 | * genconditions.c: Likewise. | |
12445 | * genflags.c: Likewise. | |
12446 | * gengtype.c: Likewise. | |
12447 | * integrate.c: Likewise. | |
12448 | * loop.c: Likewise. | |
12449 | * predict.c: Likewise. | |
12450 | * sdbout.c: Likewise. | |
12451 | ||
f57fc998 ZW |
12452 | 2004-01-15 Zack Weinberg <zack@codesourcery.com> |
12453 | ||
12454 | * config/ia64/ia64.md (*movti_internal): C output template | |
12455 | extracted to ia64.c. | |
12456 | (*movti_internal_reg): Delete. | |
12457 | (reload_inti, reload_outti): Use the correct mode on operand 2 | |
12458 | in the first place, don't fix it up in the output template. | |
12459 | (movtf, reload_ointf, reload_outtf): New expanders. | |
12460 | (*movtf_internal): New define_insn_and_split. | |
12461 | * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode; | |
12462 | make static; do not hand TFmode CONST_DOUBLEs to split_double. | |
12463 | (ia64_split_tmode_move): New function, body mostly pulled | |
12464 | from ia64.md:*movti_internal. | |
12465 | (ia64_function_arg_words): New function, extracted common | |
12466 | logic from ia64_function_arg et seq. | |
12467 | (ia64_function_arg_offset): Likewise. Handle correctly the | |
12468 | case of a scalar quantity 16 bytes wide with only 8-byte alignment. | |
12469 | (ia64_function_arg, ia64_function_arg_partial_nregs) | |
12470 | (ia64_function_arg_advance): Use ia64_function_arg_words and | |
12471 | ia64_function_arg_offset. | |
12472 | (ia64_function_value): TCmode does not go in float regs. | |
12473 | (ia64_secondary_reload_class): Also handle TFmode. | |
12474 | * config/ia64/ia64-protos.h: Remove prototype for | |
12475 | ia64_split_timode; add prototype for ia64_split_tmode_move. | |
12476 | ||
e9c4897b KC |
12477 | 2004-01-15 Kelley Cook <kcook@gcc.gnu.org> |
12478 | ||
12479 | * Makefile.in (MAINT): Make it an immediate assignment. | |
12480 | ||
5a67e41f KH |
12481 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
12482 | ||
12483 | * config/m32r/m32r.md: Remove useless calls to gen_lowpart. | |
12484 | ||
340f6494 KH |
12485 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
12486 | ||
12487 | * config/h8300/coff.h: Replace Hitachi with Renesas. | |
12488 | * config/h8300/elf.h: Likewise. | |
12489 | * config/h8300/h8300-protos.h: Likewise. | |
12490 | * config/h8300/h8300.c: Likewise. | |
12491 | * config/h8300/h8300.h: Likewise. | |
12492 | * config/h8300/h8300.md: Likewise. | |
12493 | * config/h8300/lib1funcs.asm: Likewise. | |
12494 | ||
c954844a AP |
12495 | 2004-01-15 Andrew Pinski <apinski@apple.com> |
12496 | ||
12497 | * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF | |
12498 | around it. | |
12499 | ||
34bf1fe3 KH |
12500 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
12501 | ||
12502 | * config/h8300/h8300.c (h8300_return_in_memory): New. | |
12503 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
12504 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
12505 | * config/h8300/h8300.h (STRUCT_VALUE): Remove. | |
12506 | (RETURN_IN_MEMORY): Likewise. | |
12507 | ||
e5396f90 RE |
12508 | 2004-01-15 Richard Earnshaw <rearnsha@arm.com> |
12509 | ||
12510 | PR optimization/13375 | |
12511 | * gcse.c (handle_avail_expr): Just return if the source is not a | |
12512 | single set. | |
12513 | ||
46049cff RE |
12514 | 2004-01-15 Richard Earnshaw <rearnsha@arm.com> |
12515 | Daniel Jacobowitz <drow@mvista.com> | |
12516 | ||
12517 | * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case. | |
12518 | (EQUIV): Define. | |
12519 | (ARM_FUNC_ALIAS): New macro. | |
12520 | * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it. | |
12521 | * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it. | |
12522 | ||
2fabc3d6 JDA |
12523 | 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12524 | ||
12525 | PR optimization/12372 | |
12526 | * calls.c (expand_call): Add call_fusage data for stack arguments in | |
12527 | constant calls. | |
12528 | ||
3c9eb5f4 AM |
12529 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
12530 | ||
12531 | * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static. | |
12532 | (rs6000_elf_declare_function_name): Formatting. | |
12533 | * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration. | |
12534 | ||
c7866154 JH |
12535 | 2004-01-15 Jan Hubicka <jh@suse.cz> |
12536 | ||
12537 | PR bootstrap/13692 | |
12538 | * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in | |
12539 | previous patch. | |
12540 | ||
ad5d827d RH |
12541 | 2004-01-15 Richard Henderson <rth@redhat.com> |
12542 | ||
12543 | * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after | |
12544 | integer regs of the same call-savedness. | |
12545 | ||
66e07510 AS |
12546 | 2004-01-15 Andreas Schwab <schwab@suse.de> |
12547 | ||
12548 | PR bootstrap/13562 | |
12549 | * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc | |
12550 | status for NOTB/NOTW/NEGW methods. | |
12551 | ||
7c12f388 KH |
12552 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
12553 | ||
12554 | * doc/invoke.texi: Update dump file names. Fix a typo. | |
12555 | ||
4a7bb550 KH |
12556 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
12557 | ||
12558 | * builtins.c (expand_builtin_va_end): Don't use | |
12559 | EXPAND_BUILTIN_VA_END. | |
12560 | * system.h (EXPAND_BUILTIN_VA_END): Poison. | |
12561 | * config/d30v/d30v.h: Remove a commented-out definition of | |
12562 | EXPAND_BUILTIN_VA_END. | |
12563 | * config/stormy16/stormy16.h: Likewise. | |
12564 | ||
430fff02 KH |
12565 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
12566 | ||
12567 | * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison. | |
12568 | * targhooks.c (default_struct_value_rtx): Don't use | |
12569 | STRUCT_VALUE_INCOMING_REGNUM. | |
12570 | ||
03787dfd KC |
12571 | 2004-01-15 Kelley Cook <kcook@gcc.gnu.org> |
12572 | ||
12573 | PR bootstrap/12744 | |
12574 | * configure.in: Revamp enable-generated-files-in-srcdir rule to define | |
12575 | GENINSRC and not parsedir. Define srcextra as a langhook. | |
12576 | * configure: Regenerate. | |
12577 | * Makefile.in: Suppress default .l.c rule. Don't substitute | |
12578 | parsedir and delete all references throughout. Conditionally define | |
12579 | rule for srcextra dependent on GENINSRC. | |
12580 | (stmp-docobjdir): Delete. | |
12581 | (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule. | |
12582 | (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c, | |
12583 | and gengtype-yacc.h back to source directory. | |
12584 | (maintainer-clean): Delete all parse files in source directory. | |
12585 | (distclean): Delete generated files. | |
12586 | ||
12587 | * objc/Make-lang.in (objc-parse.o): Use implicit build rule. | |
12588 | (objc-parse.c, objc-parse.y): Don't use parsedir. | |
12589 | (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source | |
12590 | directory if requested. | |
12591 | (po-generated): Don't use parsedir. | |
12592 | (objc.maintainer-clean): Delete above files from source directory. | |
12593 | ||
04ab46a4 KH |
12594 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
12595 | ||
12596 | * doc/tm.texi (FUNCTION_VALUE): Fix a typo. | |
12597 | ||
d624465f KH |
12598 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
12599 | ||
12600 | * doc/tm.texi: Replace RETURN_IN_MEMORY with | |
12601 | TARGET_RETURN_IN_MEMORY. | |
12602 | ||
e1be55d0 JH |
12603 | 2004-01-15 Jan Hubicka <jh@suse.cz> |
12604 | ||
12605 | * builtins.c (std_expand_builtin_va_arg): Align operand when needed. | |
12606 | * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic | |
12607 | functions accepting SSE arguments | |
12608 | (function_arg): Warn only when asked to warn. | |
12609 | * i386.h (ix86_args): Add warn_sse/warn_mmx fiels. | |
12610 | ||
f560bf91 JM |
12611 | 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk> |
12612 | ||
12613 | * c-parse.in (stmts_and_decls): Make label at end of compound | |
12614 | statement a hard error. | |
12615 | ||
95c755e9 JH |
12616 | 2004-01-14 Jan Hubicka <jh@suse.cz> |
12617 | ||
12618 | * cgraph.c (create_edge): Use local.redefined_extern_inline. | |
12619 | * cgraph.h (cgraph_local_info): Sort fields by size; add | |
12620 | redefined_extern_inline | |
12621 | (cgraph_global_info): Sort fields by size. | |
12622 | (cgraph_node): Likewise. | |
12623 | * cgraphunit.c (cgraph_finalize_function): Se | |
12624 | local.redefined_extern_inline on redefinition. | |
12625 | (cgraph_analyze_function): Use it; fix formating. | |
12626 | ||
84568e14 JH |
12627 | 2004-01-14 Jan Hubicka <jh@suse.cz> |
12628 | ||
12629 | PR c++/10776 | |
12630 | * sched-deps.c (trye_dependency_cache, anti_dependency_cache, | |
12631 | outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of | |
12632 | bitmaps | |
12633 | (cache_size): New variable | |
12634 | (add_dependence): Update use; canonize early memory locations | |
12635 | (sched_analyze_1): Likewise. | |
12636 | (sched_analyze_2): Likewise. | |
12637 | (init_dependency_caches): Initialize bitmaps. | |
12638 | (free_dependency_caches): Free bitmaps | |
12639 | ||
3a179764 KH |
12640 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
12641 | ||
12642 | * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with | |
12643 | targetm.calls.strict_argument_naming(). | |
12644 | * target.h: Likewise. | |
12645 | ||
b298f00f RH |
12646 | 2004-01-14 Richard Henderson <rth@redhat.com> |
12647 | ||
12648 | PR debug/13231 | |
12649 | * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue | |
12650 | instructions. | |
12651 | ||
1bddbeb4 RH |
12652 | 2004-01-14 Richard Henderson <rth@redhat.com> |
12653 | ||
12654 | PR c++/12491 | |
12655 | * except.c (struct eh_region): Add u.fixup.resolved. | |
12656 | (resolve_one_fixup_region): Split out from ... | |
12657 | (resolve_fixup_regions): ... here. | |
12658 | ||
4eb31d4f KH |
12659 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
12660 | ||
12661 | * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0. | |
12662 | ||
16f425fc KH |
12663 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
12664 | ||
12665 | * config/alpha/alpha.h (STRUCT_VALUE): Remove. | |
12666 | * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef. | |
12667 | (STRUCT_VALUE): Remove. | |
12668 | ||
4850c982 | 12669 | 2004-01-14 Steven Bosscher <stevenb@suse.de> |
616f6d84 SB |
12670 | |
12671 | * system.h: Poison PROMOTED_MODE | |
12672 | * integrate.c (expand_inline_function): Don't mention the | |
12673 | PROMOTED_MODE. | |
12674 | * loop.c (update_giv_derive): Same. | |
12675 | * tree.h (DECL_RTL): Same. | |
12676 | ||
f9654065 R |
12677 | 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com> |
12678 | ||
12679 | PR target/9365 | |
12680 | * sh.c (gen_block_redirect): Add special handling of RETURN. | |
12681 | (gen_far_branch) Don't call gen_stuff_delay_slot if there is no | |
12682 | far branch target (i.e. it's a return). | |
12683 | ||
abbe8578 KH |
12684 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
12685 | ||
12686 | * regrename.c (find_oldest_value_reg): Fix a warning. | |
12687 | ||
192c8d78 RE |
12688 | 2004-01-14 Richard Earnshaw <rearnsha@arm.com> |
12689 | ||
12690 | PR bootstrap/12527 | |
12691 | * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file. | |
12692 | Move linux-gas.h and linux-elf.h before aout.h. | |
12693 | * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already. | |
12694 | * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define. | |
12695 | ||
e512ab39 KH |
12696 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
12697 | ||
12698 | * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx | |
12699 | (CONST_INT, VOIDmode, ...). | |
12700 | ||
684bcee5 RE |
12701 | 2004-01-14 Richard Earnshaw <rearnsha@arm.com> |
12702 | ||
f57fc998 | 12703 | * regrename.c (find_oldest_value_reg): If the replacement uses |
684bcee5 RE |
12704 | multiple hard registers, check that all of them are in CLASS. |
12705 | ||
e7844ffb JH |
12706 | 2004-01-14 Jan Hubicka <jh@suse.cz> |
12707 | ||
12708 | * alias.c (get_alias_set): Initialize alias set to 0 when subset is | |
12709 | impossible. | |
12710 | ||
73e232f0 KC |
12711 | 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> |
12712 | ||
12713 | * Makefile.in: Define MAINT from --enable-maintainer-mode. | |
12714 | ||
4d774ff8 HP |
12715 | 2004-01-14 Hartmut Penner <hpenner@de.ibm.com> |
12716 | ||
12717 | * gcc/config/rs6000/rs6000.c (rs6000_stack_info) | |
12718 | Calculate always vrsave_mask if TARGET_ALTIVEC. | |
12719 | (rs6000_emit_prologue): Emit code for vrsave | |
12720 | only if TARGET_ALTIVEC_VRSAVE. | |
12721 | (rs6000_emit_epilogue): Likewise. | |
12722 | ||
fa1090f5 EB |
12723 | 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr> |
12724 | ||
12725 | * config/sparc/sparc.md (tie_add32): Fix pasto. | |
12726 | (tie_add64): Likewise. | |
12727 | ||
79551a56 ZD |
12728 | 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12729 | ||
12730 | * config/i386/i386.md (*addqi_1_slp): Do not access operands[2]. | |
12731 | ||
5b8d96f1 KH |
12732 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
12733 | ||
12734 | * config/iq2000/iq2000-protos.h: Fix comment formatting. | |
12735 | * config/iq2000/iq2000.c: Likewise. | |
12736 | * config/iq2000/iq2000.md: Likewise. | |
12737 | ||
b98d154e B |
12738 | 2004-01-14 J. Brobecker <brobecker@gnat.com> |
12739 | ||
12740 | * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME. | |
12741 | (subrange_type_die): Add handle for nameless subrange types. | |
12742 | ||
1a793acf KH |
12743 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
12744 | ||
12745 | * config/h8300/h8300-protos.h: Replace do_movsi with | |
12746 | h8300_expand_movsi. | |
12747 | * config/h8300/h8300.c (do_movsi): Change to | |
12748 | h8300_expand_movsi. | |
12749 | * config/h8300/h8300.md (movsi): Replace do_movsi with | |
12750 | h8300_expand_movsi. | |
12751 | (movsf): Likewise. | |
12752 | ||
81ad9ded KH |
12753 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
12754 | ||
12755 | * config/h8300/h8300.c (dosize): Change to | |
12756 | h8300_emit_stack_adjustment. Update callers. | |
12757 | ||
3f0063ab KH |
12758 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
12759 | ||
12760 | * config/h8300/h8300.md (movstrictqi): Add an alternative with | |
12761 | the source being post_inc. Tighten the predicate for the | |
12762 | destination to register_operand. | |
12763 | (movstricthi): Likewise. | |
12764 | ||
abf843c4 KH |
12765 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
12766 | ||
12767 | * system.h (SHARED_BSS_SECTION_ASM_OP): Poison. | |
12768 | * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP. | |
12769 | * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove. | |
12770 | ||
4b589eab JH |
12771 | 2004-01-14 Jan Hubicka <jh@suse.cz> |
12772 | ||
d34cb6a1 JH |
12773 | Partial fix PR c++/12850 |
12774 | * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when | |
12775 | at zero nest level. | |
4b589eab | 12776 | |
9ff2cabc BI |
12777 | 2004-01-13 Bernardo Innocenti <bernie@develer.com> |
12778 | ||
12779 | * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr" | |
f57fc998 | 12780 | pseudo-register. |
9ff2cabc | 12781 | |
a4d8ec65 DP |
12782 | 2004-01-13 Devang Patel <dpatel@apple.com |
12783 | ||
12784 | PR debug/7078 | |
f57fc998 | 12785 | * dbxout.c (dbxout_symbol_name): Emit mangled names for |
a4d8ec65 | 12786 | NAMESPACE_DECL memebers. |
f57fc998 | 12787 | |
bfaba7a9 AP |
12788 | 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu> |
12789 | ||
12790 | PR c++/12709 | |
12791 | * c-common.c (finish_fname_decls): Use the chain only if the | |
12792 | tree is an expr_stmt. | |
12793 | ||
dfa849f3 VM |
12794 | 2004-01-13 Vladimir Makarov <vmakarov@redhat.com> |
12795 | ||
616f6d84 | 12796 | * rtl.def: Add comment about new option in automata_option. |
f57fc998 | 12797 | |
dfa849f3 VM |
12798 | * genautomata.c (PROGRESS_OPTION): New macro. |
12799 | (progress_flag): New global variable. | |
12800 | (gen_automata_option): Process `progress'. | |
12801 | (transform_insn_regexps, check_unit_distributions_to_automata, | |
12802 | make_automaton, NDFA_to_DFA, build_automaton, create_automata, | |
12803 | expand_automata, write_automata): Print about the progress only if | |
12804 | progress_flag. Remove fflush. | |
12805 | (initiate_automaton_gen): Process command line flag `-progress'. | |
12806 | ||
12807 | * doc/md.texi: Describe the new option. | |
f57fc998 | 12808 | |
9405162e ZD |
12809 | 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12810 | ||
12811 | * cfg.c (dump_bb): Dump entry edges. | |
12812 | ||
f954388e RE |
12813 | 2004-01-13 Richard Earnshaw <rearnsha@arm.com> |
12814 | ||
f57fc998 | 12815 | * arm.c (thumb_legitimate_address_p): Only allow constant pool |
f954388e RE |
12816 | references from SImode. |
12817 | * arm.md (thumb_movhi_insn): Don't allow minipool references. | |
12818 | ||
0fe7abcc KH |
12819 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
12820 | ||
12821 | * system.h (TEXT_SECTION): Poison. | |
12822 | * varasm.c (text_section): Don't use TEXT_SECTION. | |
12823 | * config/sh/sh.c (sh_file_start): Fix a comment typo. | |
12824 | * doc/tm.texi (TEXT_SECTION): Remove. | |
12825 | ||
fdb07791 BE |
12826 | 2004-01-13 Ben Elliston <bje@wasabisystems.com> |
12827 | ||
12828 | * doc/rtl.texi (Vector Operations): Remove defunct vec_const item. | |
12829 | ||
56067bbe JW |
12830 | 2004-01-12 James E Wilson <wilson@specifixinc.com> |
12831 | ||
12832 | * unwind-libunwind.c: Delete. | |
12833 | ||
bc298aa7 ZW |
12834 | 2004-01-12 Zack Weinberg <zack@codesourcery.com> |
12835 | ||
12836 | PR 13656 | |
12837 | * c-decl.c (diagnose_mismatched_decls): Whenever newtype or | |
12838 | oldtype is set, set *newtypep or *oldtypep too. Do not set | |
12839 | them at the very end. | |
12840 | (validate_proto_after_old_defn): Restructure for comprehensibility; | |
12841 | make error messages clearer. | |
12842 | ||
12a08b40 ZW |
12843 | 2004-01-12 Zack Weinberg <zack@codesourcery.com> |
12844 | ||
12845 | * varray.h (VARRAY_POP): Add checking variant, aborts on underflow. | |
12846 | (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked. | |
12847 | * varray.c: No need to prototype error. | |
12848 | (varray_check_failed): Wrap long string onto two lines. | |
12849 | (varray_underflow): New function. | |
12850 | ||
faed5cc3 SB |
12851 | 2004-01-13 Steven Bosscher <stevenb@suse.de> |
12852 | ||
12853 | PR c++/13376 | |
12854 | * function.h (struct function): Kill `name' field. | |
12855 | (current_function_name): Make it an extern function. | |
12856 | * function.c (current_function_name): New function. | |
12857 | * graph.c: Update all uses of current_function_name. | |
12858 | * gcse.c: Likewise. | |
12859 | * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c, | |
12860 | config/mips/mips.c, config/pdp11/pdp11.c: Likewise. | |
12861 | * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P | |
12862 | instead of a strcmp with "main". | |
12863 | ||
2d327012 JH |
12864 | 2004-01-13 Jan Hubicka <jh@suse.cz> |
12865 | ||
0bb03c11 JH |
12866 | * c-decl.c (diagnose_mismatched_decls): Fix warning calls. |
12867 | ||
2d327012 JH |
12868 | * cgraphunit.c (cgraph_optimize_function): Always do |
12869 | optimize_inline_calls when there is always_inline callee. | |
12870 | (cgraph_decide_inlining): Fix formating. | |
12871 | * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline | |
12872 | functions. | |
12873 | (expand_call_inline): Likewise. | |
12874 | * toplev.h (sorry): Fix prototype. | |
12875 | ||
04cc79bb RS |
12876 | 2004-01-12 Roger Sayle <roger@eyesopen.com> |
12877 | ||
12878 | * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle | |
12879 | conditional jumps that drop through to unconditional jumps or the | |
12880 | end of the sequence. | |
12881 | ||
3416f5c2 JH |
12882 | 2004-01-13 Jan Hubicka <jh@suse.cz> |
12883 | ||
12884 | * alias.c (new_alias_set): Construct the alias_set varray. | |
12885 | (init_alias_once): Don't do it here. | |
12886 | ||
f92ed976 ME |
12887 | 2004-01-12 Marc Espie <espie@openbsd.org> |
12888 | ||
12889 | * system.h: handle YYBYACC like YYBISON. | |
12890 | ||
ff2aaa93 JM |
12891 | 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com> |
12892 | ||
12893 | PR target/10847 | |
12894 | * config.gcc: No longer includes conflicting header sparc/sol2.h when | |
12895 | building on sparc64-*-openbsd*. | |
12896 | ||
c5ff9123 AP |
12897 | 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu> |
12898 | ||
12899 | PR debug/13539 | |
12900 | * dbxout.c (dbxout_type): Protected inheritance is not | |
12901 | private but protected. | |
12902 | ||
3cd2a183 RS |
12903 | 2004-01-12 Richard Sandiford <rsandifo@redhat.com> |
12904 | ||
12905 | * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch. | |
12906 | ||
5c881655 KH |
12907 | 2004-01-12 Kazu Hirata <kazu@cs.umass.edu> |
12908 | ||
12909 | PR optimization/12508. | |
12910 | * combine.c (try_combine): Remove a dead set in a parallel | |
12911 | even if its destination is a subreg. | |
12912 | ||
12913 | Revert: | |
12914 | 2003-06-03 Kazu Hirata <kazu@cs.umass.edu> | |
12915 | * combine.c (simplify_set): Don't move a subreg in SET_SRC to | |
12916 | SET_DEST if WORD_REGISTER_OPERATIONS is not defined. | |
12917 | ||
a42f8ae7 | 12918 | 2004-01-12 Geoffrey Keating <geoffk@apple.com> |
affad9a4 GK |
12919 | |
12920 | * real.c: Update copyright date. | |
12921 | * emit-rtl.c: Likewise. | |
12922 | * rtl.h: Likewise. | |
12923 | * dwarf2out.c: Likewise. | |
12924 | * config/rs6000/darwin-ldouble.c: Likewise. | |
12925 | * config/rs6000/rs6000.md: Likewise. | |
12926 | ||
4274207b DE |
12927 | 2004-01-12 David Edelsohn <edelsohn@gnu.org> |
12928 | ||
12929 | * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX | |
12930 | TFmode to SImode libfuncs. | |
12931 | ||
06e4eab5 RS |
12932 | 2004-01-12 Roger Sayle <roger@eyesopen.com> |
12933 | ||
12934 | PR middle-end/11397 | |
12935 | * varasm.c (assemble_alias): Remove weak aliases from weak_decls. | |
12936 | ||
432f982f JH |
12937 | 2004-01-12 Jan Hubicka <jh@suse.cz> |
12938 | ||
12939 | PR opt/12826 | |
12940 | * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be | |
12941 | stored. | |
12942 | ||
12943 | PR opt/12863 | |
12944 | * cfgcleanup.c (label_is_jump_target_p): Move to... | |
12945 | * rtlanal.c (label_is_jump_target_p): ... here. | |
12946 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru | |
12947 | edges unified with branch edges. | |
12948 | ||
8064d930 RE |
12949 | 2004-01-12 Richard Earnshaw <rearnsha@arm.com> |
12950 | ||
12951 | * simplify-rtx.c (simplify_immed_subreg): Correctly extract the | |
12952 | high word of an integral CONST_DOUBLE. | |
12953 | ||
1c48f4be | 12954 | 2004-01-12 Paul Brook <paul@codesourcery.com> |
0786ca87 PB |
12955 | |
12956 | * simplify-rtx.c (simplify_plus_minus): Always generate canonical form. | |
12957 | ||
68d2b0bb | 12958 | 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com> |
07d7d2f4 R |
12959 | |
12960 | PR target/13585 | |
12961 | * sh-protos.h (check_use_sfunc_addr): Declare. | |
12962 | * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions. | |
12963 | * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate. | |
12964 | ||
c65ecebc JH |
12965 | 2004-01-12 Jan Hubicka <jh@suse.cz> |
12966 | ||
9ddb66ca JH |
12967 | * alias.c: Invlude varray.h |
12968 | (alias_sets): Turn into varray. | |
12969 | (get_alias_set_entry): Use VARRAY; mark inline. | |
12970 | (mems_in_disjoint_alias_sets_p): Mark inline. | |
12971 | (record_alias_subset): Use varray. | |
12972 | (init_alias_once): Initialize varray. | |
12973 | (new_alias_set): Grow array. | |
12974 | * varray.c: Make VARRAY_GENERIC_PTR non GTYized. | |
12975 | ||
12976 | 2004-01-12 Jan Hubicka <jh@suse.cz> | |
12977 | ||
12978 | Partial fix for PR opt/10776 II | |
c65ecebc JH |
12979 | * cselib.c: Include params.h |
12980 | (cselib_invalidate_mem): Limit amount of nonconflicting memory | |
12981 | locations. | |
12982 | * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New. | |
12983 | * Makefile.in (cselib.o): Depend on params.h | |
12984 | ||
c0657872 RS |
12985 | 2004-01-12 Richard Sandiford <rsandifo@redhat.com> |
12986 | ||
12987 | * combine.c (combine_simplify_rtx): Don't pass VOIDmode to | |
12988 | simplify_unary_operation if the operand has a known mode. | |
12989 | ||
d2288d5d HP |
12990 | 2004-01-12 Hartmut Penner <hpenner@de.ibm.com> |
12991 | ||
b40ee5d6 | 12992 | PR target/13534 |
d2288d5d HP |
12993 | * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New |
12994 | predicate to handle 'ld' conform addresses. | |
12995 | * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y' | |
12996 | contraint. | |
12997 | (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint | |
12998 | are memory contraints. | |
12a08b40 | 12999 | * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand): |
d2288d5d | 13000 | New prototype. |
12a08b40 | 13001 | * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64): |
d2288d5d HP |
13002 | Change 'o' to 'Y' constraint. |
13003 | (*movdf_softfloat64): Ditto. | |
12a08b40 | 13004 | |
c223cf45 BI |
13005 | 2004-01-12 Bernardo Innocenti <bernie@develer.com> |
13006 | ||
13007 | * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the | |
13008 | brace-enclosed syntax in all C output statements. | |
13009 | ||
5fc921c1 DE |
13010 | 2004-01-12 David Edelsohn <edelsohn@gnu.org> |
13011 | ||
13012 | PR target/13401 | |
13013 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): | |
13014 | Objective-C language type value is 14. | |
13015 | ||
48568ec7 MO |
13016 | 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com> |
13017 | ||
13018 | PR c/12148 | |
13019 | * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of | |
13020 | `int' in a number of places to make sure we always have a SImode | |
13021 | and not a HImode. Add a 'L' suffix to a number of constants. | |
13022 | ||
124c9423 JDA |
13023 | 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
13024 | ||
13025 | * pa.c: Don't include obstack.h. | |
13026 | ||
13027 | * pa.md: Correct constraint in pattern for loading PIC label address. | |
13028 | ||
c924f70c KK |
13029 | 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org> |
13030 | ||
13031 | * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine | |
13032 | before defining. | |
13033 | ||
53efeb8d SB |
13034 | 2004-01-11 Steven Bosscher <stevenb@suse.de> |
13035 | ||
1eee14b9 | 13036 | PR fortran/9972 |
53efeb8d SB |
13037 | * toplev.c (rest_of_handle_inline): Also consider functions |
13038 | for deferral if the language is GNU F77. | |
13039 | ||
d4968a11 ZW |
13040 | 2004-01-11 Zack Weinberg <zack@codesourcery.com> |
13041 | ||
13042 | * c-decl.c (diagnose_arglist_conflict): Add missing space to | |
13043 | diagnostic messages. | |
13044 | ||
1759c760 JJ |
13045 | 2004-01-11 Jakub Jelinek <jakub@redhat.com> |
13046 | ||
13047 | PR middle-end/13392 | |
13048 | * builtins.c (expand_builtin_expect_jump): Handle conditional jumps | |
13049 | to drop through label. Don't fall back to SCC even when conditional | |
13050 | jump has not been found. | |
13051 | ||
0bcf8261 JH |
13052 | 2004-01-11 Jan Hubicka <jh@suse.cz> |
13053 | ||
fb544601 JH |
13054 | * invoke.texi: Fix syntax error in previous patch. |
13055 | ||
0bcf8261 JH |
13056 | Partial fix for PR opt/10776 |
13057 | * Makefile.in (reload.o): Include param.h | |
13058 | * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter. | |
13059 | * reload.c: Include params.h. | |
13060 | (find_equiv_reg): Work limiting check. | |
13061 | * invoke.texi: Document. | |
13062 | ||
bd9131c0 RS |
13063 | 2004-01-11 Richard Sandiford <rsandifo@redhat.com> |
13064 | ||
13065 | * config/mips/mips.c (mips_symbolic_constant_p): Don't allow | |
13066 | out-of-bounds accesses to string constants. Simplify mips16 | |
13067 | case accordingly. | |
13068 | ||
6732ee60 RS |
13069 | 2004-01-11 Richard Sandiford <rsandifo@redhat.com> |
13070 | ||
13071 | PR optimization/13469 | |
13072 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges after | |
13073 | reload_cse_regs (-fnon-call-exceptions only). | |
13074 | ||
14bc6742 KH |
13075 | 2004-01-11 Kazu Hirata <kazu@cs.umass.edu> |
13076 | ||
13077 | * config/mcore/lib1.asm: Fix comment formatting. | |
13078 | * config/mcore/mcore-elf.h: Likewise. | |
13079 | * config/mcore/mcore.c: Likewise. | |
13080 | * config/mcore/mcore.h: Likewise. | |
13081 | * config/mcore/mcore.md: Likewise. | |
13082 | ||
3c6e6fbf ZW |
13083 | 2004-01-10 Zack Weinberg <zack@codesourcery.com> |
13084 | ||
13085 | * c-decl.c (duplicate_decls): Break apart into... | |
13086 | (diagnose_arglist_conflict, validate_proto_after_old_defn) | |
13087 | (locate_old_defn, diagnose_mismatched_decls, merge_decls): | |
13088 | ... these new functions. Restructure for comprehensibility. | |
13089 | Remove various archaic special cases. Always report the | |
13090 | location of the previous declaration when a diagnostic is issued. | |
13091 | (redeclaration_error_message): Fold into diagnose_mismatched_decls. | |
13092 | (match_builtin_function_types): Delete unnecessary forward declaration. | |
13093 | ||
1e8dcb41 ZW |
13094 | 2004-01-10 Zack Weinberg <zack@codesourcery.com> |
13095 | ||
13096 | * genautomata.c (make_automaton, NDFA_to_DFA): | |
13097 | Print progress bars with '.' characters instead of '*'. | |
13098 | (build_automaton): Change notes to match. | |
13099 | ||
a2ab189d KH |
13100 | 2004-01-10 Kazu Hirata <kazu@cs.umass.edu> |
13101 | ||
13102 | * config/m32r/m32r.md: Use define_constants for unspec and | |
13103 | unspec_volatile. | |
13104 | ||
cf7cb67e JH |
13105 | 2004-01-10 Jan Hubicka <jh@suse.cz> |
13106 | ||
c8fdcfae | 13107 | PR opt/11635 |
cf7cb67e JH |
13108 | * expr.c (expand_expr_real): More curefully expand union casts. |
13109 | ||
0574200c KH |
13110 | 2004-01-10 Kazu Hirata <kazu@cs.umass.edu> |
13111 | ||
13112 | * config/m32r/m32r.md (flush_icache): Use 1 for | |
13113 | unspec_volatile. | |
13114 | ||
a2a0019f DE |
13115 | 2004-01-10 David Edelsohn <edelsohn@gnu.org> |
13116 | James E Wilson <wilson@specifixinc.com> | |
13117 | ||
13118 | PR debug/12860 | |
13119 | * dbxout.c (dbxout_symbol): Remove initialization of | |
13120 | current_sym_code, current_sym_value, and current_sym_addr. | |
13121 | (dbxout_symbol_location): Same. | |
13122 | (dbxout_prepare_symbol): Zero current_sym_code, | |
13123 | current_sym_value, and current_sym_addr. | |
13124 | ||
bb3f5384 RS |
13125 | 2004-01-10 Richard Sandiford <rsandifo@redhat.com> |
13126 | ||
13127 | * tree.c (get_unwidened): Reorder conditions so that the null pointer | |
13128 | check is done first. | |
13129 | ||
fbfb16e2 EC |
13130 | 2004-01-09 Eric Christopher <echristo@redhat.com> |
13131 | ||
13132 | * toplev.c (rest_of_handle_cfg): Add reg_scan pass | |
13133 | if we're running mark_constant_function. | |
13134 | ||
cc23f3c7 JB |
13135 | 2004-01-09 Jeff Bailey <jbailey@nisa.net> |
13136 | ||
13137 | PR target/12561 | |
13138 | * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR. | |
13139 | ||
975421be AP |
13140 | 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu> |
13141 | ||
13142 | PR debug/11231 | |
a2a0019f DE |
13143 | * dbxout.c (dbxout_type_fields): Return if any item is |
13144 | error_mark_node or the type is error_mark_node. | |
975421be | 13145 | |
7e4bd541 GK |
13146 | 2004-01-09 Geoffrey Keating <geoffk@apple.com> |
13147 | ||
f01519dd GK |
13148 | * config/rs6000/darwin-ldouble.c: Add big comment explaining |
13149 | exactly what is expected as a 'long double'. | |
13150 | (_xlqadd): When a value to be returned is representable as a | |
13151 | 'double', just return it directly, do not construct it using a union. | |
13152 | Also, correct final fixup. | |
13153 | (_xlqmul): Likewise. | |
13154 | (_xlqdiv): Likewise. | |
13155 | * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c. | |
13156 | ||
7e4bd541 GK |
13157 | * config/rs6000/rs6000.md (fix_trunctfdi2): Delete. |
13158 | ||
47069ecb RH |
13159 | 2004-01-09 Richard Henderson <rth@redhat.com> |
13160 | ||
13161 | * recog.c (constrain_operands): Validate mem operands. | |
13162 | ||
9813058e JW |
13163 | 2004-01-09 James E Wilson <wilson@specifixinc.com> |
13164 | ||
13165 | * gcc.c (init_spec): Remove -lunwind from shared case. | |
13166 | * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind. | |
13167 | ||
b0fd7d27 SE |
13168 | 2004-01-09 Steve Ellcey <sje@cup.hp.com> |
13169 | ||
13170 | * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*. | |
13171 | * configure: Regenerate | |
13172 | ||
3897f229 JM |
13173 | 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk> |
13174 | ||
13175 | PR c/11234 | |
13176 | * c-typeck.c (build_c_cast): If pedantic, warn for conversions | |
13177 | between function and object pointers. | |
13178 | (digest_init): When comparing a pointer to function type to the | |
13179 | target type, only apply TREE_TYPE once to the pointer to function | |
13180 | type. | |
13181 | * except.c (for_each_eh_label_1): Treat data as a pointer to a | |
13182 | function pointer rather than casting it to a function pointer. | |
13183 | (for_each_eh_label): Update caller. | |
13184 | * recog.h (struct insn_data): Use a struct or union for output. | |
13185 | * genoutput.c (output_insn_data): Update. | |
13186 | * final.c (get_insn_template): Update. | |
13187 | ||
0fab64a3 MM |
13188 | 2004-01-09 Mark Mitchell <mark@codesourcery.com> |
13189 | ||
13190 | * expr.h (expand_expr): Make it a macro, not a function. | |
13191 | (expand_expr_real): New function. | |
13192 | * expr.c (store_expr): Adjust logic for deciding whether or not to | |
13193 | copy the value returned by expand_expr. | |
13194 | (expand_expr): Rename to ... | |
13195 | (expand_expr_real): ... this. Add alt_rtl parameter. Adjust | |
13196 | calls to language hooks. | |
13197 | * c-common.h (c_expand_expr): Adjust prototype. | |
13198 | * c-common.c (c_expand_expr): Add alt_rtl parameter. | |
13199 | * langhooks-def.h (lhd_expand_expr): Change prototype. | |
13200 | * langhooks.c (lhd_expand_expr): Add all_rtl parameter. | |
13201 | * langhooks.h (lang_hooks): Change type of expand_expr. | |
13202 | * stmt.c (stmt_status): Add x_last_expr_alt_rtl. | |
13203 | (last_expr_alt_rtl): Likewise. | |
13204 | (expand_expr_stmt_value): Set last_expr_alt_rtl. | |
13205 | (clear_last_expr): Clear it. | |
13206 | (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL. | |
13207 | (expand_end_bindings): Save and restor last_expr_alt_rtl. | |
13208 | * tree.def (RTL_EXPR): Give it an additional operand. | |
13209 | * tree.h (RTL_EXPR_ALT_RTL): New macro. | |
9813058e | 13210 | |
df68f43b KI |
13211 | 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
13212 | ||
13213 | * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__. | |
900a35c8 | 13214 | * config/m32r/m32r.c (call26_operand): Allow in PIC mode. |
df68f43b | 13215 | |
58ebda9c KH |
13216 | 2004-01-09 Kazu Hirata <kazu@cs.umass.edu> |
13217 | ||
13218 | PR target/13380. | |
13219 | * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17) | |
13220 | or (ne:SI (reg:CC 17) (const_int 0)). | |
13221 | Be specific about modes wherever possible. | |
13222 | ||
81ad38a6 KH |
13223 | 2004-01-09 Kazu Hirata <kazu@cs.umass.edu> |
13224 | ||
13225 | * config/m32r/m32r.c (m32r_expand_block_move): Call | |
13226 | gen_movestrsi_internal with two more arguments. | |
13227 | (m32r_output_block_move): Adjust operand numbers. | |
13228 | Properly update the source and destination pointers. | |
13229 | * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of | |
13230 | 'r+'. Change the set detinations to match_operand. | |
13231 | ||
b816f339 KH |
13232 | 2004-01-09 Kazu Hirata <kazu@cs.umass.edu> |
13233 | ||
13234 | * final.c (FIRST_INSN_ADDRESS): Remove. | |
13235 | (shorten_branches): Don't use FIRST_INSN_ADDRESS. | |
13236 | * system.h (FIRST_INSN_ADDRESS): Poison. | |
13237 | * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS. | |
13238 | * config/m32r/m32r-protos.h: Remove the prototype for | |
13239 | m32r_first_insn_address. | |
13240 | * config/m32r/m32r.c (m32r_first_insn_address): Remove. | |
13241 | * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise. | |
13242 | * doc/md.texi (FIRST_INSN_ADDRESS): Likewise. | |
13243 | ||
de99511b B |
13244 | 2004-01-09 J. Brobecker <brobecker@gnat.com> |
13245 | ||
13246 | * dwarf2out.c (gen_enumeration_type_die): Return the DIE that | |
13247 | we just created. | |
13248 | (is_ada_subrange_type): DIEs for enumeration subtypes should be | |
13249 | emitted as subrange types too. | |
13250 | (subrange_type_die): Add handling of enumeration subtypes. | |
13251 | ||
90e4e4c5 RH |
13252 | 2004-01-08 Richard Henderson <rth@redhat.com> |
13253 | ||
13254 | PR opt/12441 | |
13255 | Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> | |
9813058e JW |
13256 | * i386.c (aligned_operand): Be prepared for SUBREGed registers. |
13257 | (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. | |
13258 | (ix86_address_cost): Be prepared for SUBREGed registers. | |
13259 | (legitimate_address_p): Accept SUBREGed registers. | |
90e4e4c5 | 13260 | |
a6a5e4c9 KC |
13261 | 2004-01-08 Kelley Cook <kcook@gcc.gnu.org> |
13262 | ||
13263 | * Makefile.in: Rename configure.in to configure.ac | |
13264 | * doc/sourcebuild.texi: Likewise. | |
13265 | * configure: Regenerate. | |
13266 | * config.in: Regenerate. | |
13267 | ||
588f75d0 SH |
13268 | 2004-01-08 Stuart Hastings <stuart@apple.com> |
13269 | ||
13270 | * config/i386/i386.md: Typos in MMX/SSE immediate shifts. | |
13271 | ||
6242fcd8 JH |
13272 | 2004-01-08 Jan Hubicka <jh@suse.cz> |
13273 | ||
13274 | * cgraphunit.c (cgraph_decide_inlining): Fix typo. | |
13275 | ||
a29077da GK |
13276 | 2004-01-08 Geoffrey Keating <geoffk@apple.com> |
13277 | ||
ecb62ae7 GK |
13278 | * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset. |
13279 | (UNSPEC_FIX_TRUNC_TF): New constant. | |
13280 | (movtf_internal): Make splitter active only when insn is active. | |
13281 | (extenddftf2): Rewrite to properly load zero into low part. | |
13282 | (extenddftf2_internal): New. | |
13283 | (extendsftf2): Rewrite. | |
13284 | (truncdftf2): Correct length. | |
13285 | (floatditf2): Delete. | |
13286 | (fix_trunc_helper): New. | |
13287 | (fix_trunctfdi2): Use fix_trunc_helper. | |
13288 | (fix_trunctfsi2): Likewise.fix_trunc | |
13289 | (fix_trunctfsi2_internal): New. | |
13290 | ||
a29077da GK |
13291 | * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum |
13292 | addresses are legitimate on Darwin even when flag_pic. | |
13293 | (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create | |
13294 | non-offsettable addresses for loads of TFmode constants. | |
13295 | ||
cb1f9d03 KI |
13296 | 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
13297 | ||
13298 | * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit | |
13299 | variables in the appropriate bss section. | |
13300 | ||
7ddb6568 AM |
13301 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
13302 | ||
13303 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure | |
13304 | target_flags has MASK_POWERPC64 when -m64. | |
13305 | * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64 | |
13306 | to 620, 630, power3, power4 and rs64a entries. | |
13307 | * config/rs6000/rs6000.h (MASK_64BIT): Expand comment. | |
13308 | ||
effdb493 RS |
13309 | 2004-01-08 Richard Sandiford <rsandifo@redhat.com> |
13310 | ||
13311 | * simplify-rtx.c (simplify_immed_subreg): Fix construction of | |
13312 | floating-point constants. | |
13313 | ||
fbfd77b8 JB |
13314 | 2004-01-08 J. Brobecker <brobecker@gnat.com> |
13315 | ||
13316 | * dwarf2out.c (subrange_type_die): Add context_die parameter. | |
13317 | Create the subrange_type DIE using the given context DIE. | |
13318 | (modified_type_die): Update call to subrange_type_die. | |
13319 | ||
13320 | 2004-01-08 Zack Weinberg <zack@codesourcery.com> | |
7ce27103 ZW |
13321 | |
13322 | * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h: | |
13323 | Add multiple-include guard. | |
13324 | ||
ce1f50b2 HP |
13325 | 2004-01-08 Hartmut Penner <hpenner@de.ibm.com> |
13326 | ||
7ce27103 ZW |
13327 | * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept |
13328 | all vector constant loadable by vsplt*. | |
ce1f50b2 HP |
13329 | (output_vec_const_move): Likewise. |
13330 | ||
bca63328 JM |
13331 | 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk> |
13332 | ||
13333 | PR c/6024 | |
13334 | * c-typeck.c (comptypes): Only treat enumerated types in the same | |
13335 | translation unit as compatible with each other when they are the | |
13336 | same type. | |
13337 | * doc/extend.texi: Update. | |
13338 | ||
85b58ca5 JM |
13339 | 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk> |
13340 | ||
13341 | PR c/12165 | |
13342 | * c-decl.c (grokdeclarator): Take type qualifiers of typedefed | |
13343 | array type from the array element type. | |
13344 | ||
93c9d1ba AM |
13345 | 2004-01-07 Alan Modra <amodra@bigpond.net.au> |
13346 | ||
13347 | * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function. | |
13348 | * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare. | |
13349 | * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define. | |
13350 | (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment. | |
13351 | * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define. | |
13352 | ||
deae8de6 EC |
13353 | 2004-01-06 Eric Christopher <echristo@redhat.com> |
13354 | ||
13355 | * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default. | |
13356 | (DWARF2_DEBUGGING_INFO): Define. | |
13357 | (PREFERRED_DEBUGGING_TYPE): Set to dwarf2. | |
13358 | * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove. | |
13359 | * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0 | |
13360 | for irix as. | |
13361 | (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as. | |
13362 | * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove. | |
13363 | * config/mips/iris5gas.h: Ditto. | |
13364 | (DBX_DEBUGGING_INFO): Remove. | |
13365 | (DWARF2_DEBUGGING_INFO): Ditto. | |
13366 | (MIPS_DEBUGGING_INFO): Ditto. | |
13367 | (PREFERRED_DEBUGGING_TYPE): Ditto. | |
13368 | * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove. | |
13369 | (PREFERRED_DEBUGGING_TYPE): Ditto. | |
13370 | (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto. | |
13371 | * config/mips/elf64.h: Ditto. | |
13372 | ||
fed2b316 JH |
13373 | 2004-01-06 Jan Hubicka <jh@suse.cz> |
13374 | ||
13375 | * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate. | |
13376 | (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use. | |
13377 | ||
64d961b8 GK |
13378 | 2004-01-06 Geoffrey Keating <geoffk@apple.com> |
13379 | ||
084f5a35 GK |
13380 | * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c. |
13381 | (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128. | |
13382 | * config/rs6000/darwin-ldouble.c: New. | |
deae8de6 | 13383 | |
550d1387 GK |
13384 | * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg |
13385 | for constants. | |
13386 | (constant_subword): Delete. | |
13387 | * rtl.h (constant_subword): Delete prototype. | |
13388 | (immed_double_const): Is not in varasm.c. | |
13389 | * simplify-rtx.c (simplify_immed_subreg): New. | |
13390 | (simplify_subreg): Use simplify_immed_subreg. | |
13391 | ||
0c90aa3c GK |
13392 | * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather |
13393 | than trying to generate RTL directly. | |
13394 | (fix_trunctfsi2): Use expand_fix rather than trying to generate | |
13395 | RTL directly. | |
13396 | ||
64d961b8 GK |
13397 | * dwarf2out.c (add_const_value_attribute): Remove incorrect comment. |
13398 | ||
72b38561 DE |
13399 | 2004-01-06 David Edelsohn <edelsohn@gnu.org> |
13400 | ||
13401 | * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each | |
13402 | function into a separate macro. | |
13403 | (read_only_data_section): Add void argument. | |
13404 | (private_data_section): Same. | |
13405 | (read_only_private_data_section): Same. | |
13406 | (toc_section): Same. | |
13407 | ||
9a609388 JH |
13408 | 2004-01-06 Jan Hubicka <jh@suse.cz> |
13409 | ||
0aaae060 JH |
13410 | * invoke.texi: Remove typo in last change. |
13411 | ||
9a609388 JH |
13412 | PR target/10301 |
13413 | * config.gcc: Accept opteron and athlon-64 as variants | |
13414 | of k8. | |
13415 | * i386.c (override_options): Likewise. | |
13416 | * invoke.texi (i386 -mtune): Expand documentation. | |
13417 | ||
5d3cc252 KH |
13418 | 2004-01-06 Kazu Hirata <kazu@cs.umass.edu> |
13419 | ||
13420 | * alias.c: Fix comment typos. | |
13421 | * builtins.c: Likewise. | |
13422 | * cfg.c: Likewise. | |
13423 | * df.c: Likewise. | |
13424 | * dominance.c: Likewise. | |
13425 | * dwarf2out.c: Likewise. | |
13426 | * emit-rtl.c: Likewise. | |
13427 | * expr.c: Likewise. | |
13428 | * final.c: Likewise. | |
13429 | * fold-const.c: Likewise. | |
13430 | * gcse.c: Likewise. | |
13431 | * genattrtab.c: Likewise. | |
13432 | * genrecog.c: Likewise. | |
13433 | * gensupport.c: Likewise. | |
13434 | * ggc-zone.c: Likewise. | |
13435 | * integrate.c: Likewise. | |
13436 | * local-alloc.c: Likewise. | |
13437 | * loop.c: Likewise. | |
13438 | * recog.c: Likewise. | |
13439 | * regmove.c: Likewise. | |
13440 | * reg-stack.c: Likewise. | |
13441 | * reorg.c: Likewise. | |
13442 | * rtlanal.c: Likewise. | |
13443 | * rtl.h: Likewise. | |
13444 | * sched-ebb.c: Likewise. | |
13445 | * simplify-rtx.c: Likewise. | |
13446 | * toplev.c: Likewise. | |
13447 | * varasm.c: Likewise. | |
13448 | ||
95ea367d KH |
13449 | 2004-01-06 Kazu Hirata <kazu@cs.umass.edu> |
13450 | ||
13451 | * doc/install.texi: Fix typos. | |
13452 | * doc/invoke.texi: Likewise. | |
13453 | * doc/md.texi: Likewise. | |
13454 | ||
f26ef713 KI |
13455 | 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
13456 | ||
13457 | * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed | |
13458 | ||
bcf17554 JH |
13459 | 2004-01-06 Jan Hubicka <jh@suse.cz> |
13460 | ||
13461 | * i386.c (init_cumulative_args): Add handling of MMX_REGPARM. | |
13462 | (function_arg_advance): Do not pass aggregates in SSE; deal handling | |
13463 | of MMX_REGPARM. | |
13464 | (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM; | |
13465 | add MMX_REGPARM. | |
13466 | * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields. | |
13467 | (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI. | |
13468 | (MMX_REGPARM_MAX): Similarly for -mmmx. | |
13469 | ||
24746a42 KH |
13470 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
13471 | ||
13472 | * config/sh/linux.h: Fix comment formatting. | |
13473 | * config/sh/netbsd-elf.h: Likewise. | |
13474 | * config/sh/sh.c: Likewise. | |
13475 | * config/sh/sh.h: Likewise. | |
13476 | * config/sh/vxworks.h: Likewise. | |
13477 | ||
f7e7e318 KH |
13478 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
13479 | ||
13480 | * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison. | |
13481 | * toplev.c (output_file_directive): Don't use | |
13482 | ASM_OUTPUT_MAIN_SOURCE_FILENAME. | |
13483 | ||
80a08664 SB |
13484 | 2004-01-05 Steven Bosscher <s.bosscher@student.tudelft.nl> |
13485 | ||
13486 | * toplev.c: Fix broken checkin of 2003-12-30. | |
13487 | ||
02fef853 | 13488 | 2004-01-05 Daniel Berlin <dberlin@dberlin.org> |
deae8de6 | 13489 | |
02fef853 DB |
13490 | * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS |
13491 | (USING_MMAP): We don't support non-mmap. | |
13492 | (struct alloc_chunk): Steal 1 bit from typecode, use it to mark | |
13493 | large objects. | |
13494 | (struct page_entry): Remove bytes_free. | |
13495 | (struct page_table_chain): Remove. | |
13496 | (struct globals): Remove page_table member. | |
13497 | (loookup_page_table_entry): Function deleted. | |
13498 | (set_page_table_entry): Ditto. | |
13499 | (ggc_allocated_p): No longer need page table lookups. | |
13500 | (ggc_marked_p): Ditto. | |
13501 | (alloc_small_page): Don't care about bytes_free anymore. | |
13502 | (alloc_large_page): Round up size. | |
13503 | (ggc_alloc_zone_1): Mark large objects as such, and calculate | |
deae8de6 | 13504 | their size the new way. |
02fef853 DB |
13505 | Remove page table lookups and setting. |
13506 | (ggc_get_size): Calculate large object size the new way. | |
13507 | (sweep_pages): Redo to account for fact that we no longer have | |
13508 | bytes_free. | |
13509 | (ggc_collect): No longer need to reincrement bytes_free. | |
13510 | (ggc_pch_alloc_object): Handle new large objects properly. | |
13511 | (ggc_pch_read): Put PCH stuff into it's own uncollected zone. | |
13512 | ||
60b799fd KH |
13513 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
13514 | ||
13515 | * doc/invoke.texi: Remove a page break. | |
13516 | ||
908c8c7e KH |
13517 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
13518 | ||
13519 | * config/avr/avr.c (avr_output_function_prologue): Remove an | |
13520 | extra pair of curly braces. | |
13521 | ||
8596d0a1 KH |
13522 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
13523 | ||
13524 | * config/mn10300/mn10300.c: Fix comment formatting. | |
13525 | * config/mn10300/mn10300.h: Likewise. | |
13526 | ||
1e2d4dc1 RK |
13527 | 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
13528 | ||
13529 | * tree.h: Update documentation on nothrow_flag. | |
13530 | * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for | |
13531 | types. | |
13532 | ||
b6e69d94 KH |
13533 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
13534 | ||
13535 | * doc/invoke.texi: Remove traces of dead ports. | |
13536 | ||
1cf959cb RS |
13537 | 2004-01-05 Richard Sandiford <rsandifo@redhat.com> |
13538 | ||
13539 | * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs | |
13540 | option. | |
13541 | ||
f6149877 RS |
13542 | 2004-01-05 Richard Sandiford <rsandifo@redhat.com> |
13543 | ||
13544 | PR target/12945 | |
13545 | * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for | |
b56c0023 | 13546 | counter labels. |
f6149877 RS |
13547 | * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete. |
13548 | (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating | |
13549 | string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check | |
13550 | the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P. | |
13551 | (mips_symbol_insns): Don't trust the local/global classification. | |
13552 | (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol. | |
13553 | (override_options): Make -mabicalls -fno-unit-at-a-time imply | |
13554 | -mno-explicit-relocs. | |
13555 | (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish | |
13556 | between local and global symbols. | |
13557 | ||
a6008bd8 RS |
13558 | 2004-01-05 Richard Sandiford <rsandifo@redhat.com> |
13559 | ||
13560 | * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare. | |
13561 | (mips_preferred_reload_class): Declare. | |
13562 | * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function. | |
13563 | (EXTRA_CONSTRAINT): Update accordingly. | |
13564 | (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class. | |
13565 | * config/mips/mips.c (mips_dangerous_for_la25_p): New function. | |
13566 | (mips_preferred_reload_class): New function. Prefer LEA_REGS if | |
13567 | mips_dangerous_for_la25_p. | |
13568 | (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS | |
13569 | if mips_dangerous_for_la25_p. | |
13570 | ||
d7b3c085 BI |
13571 | 2004-01-05 Bernardo Innocenti <bernie@develer.com> |
13572 | ||
13573 | * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison | |
deae8de6 | 13574 | warning. |
d7b3c085 | 13575 | |
ca9bc441 NN |
13576 | 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org> |
13577 | ||
13578 | * configure.ac: Use AC_PROG_CPP_WERROR. | |
13579 | * configure: Regenerate. | |
13580 | ||
016d7f3e ZW |
13581 | 2004-01-04 Zack Weinberg <zack@codesourcery.com> |
13582 | ||
13583 | * .cvsignore: Add autom4te.cache. | |
13584 | ||
5a4b3afd RS |
13585 | 2004-01-04 Richard Sandiford <rsandifo@redhat.com> |
13586 | ||
13587 | * doc/invoke.texi: Revamp documentation of MIPS options. Remove | |
13588 | -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile, | |
13589 | -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first, | |
13590 | then architecture options, then ABI options. General rewording. | |
13591 | ||
928a5ba9 JM |
13592 | 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk> |
13593 | ||
13594 | PR c/3414 | |
13595 | * doc/extend.texi: Clarify definition of malloc attribute. | |
13596 | ||
dc0bfe6a JH |
13597 | 2004-01-04 Jan Hubicka <jh@suse.cz> |
13598 | ||
13599 | * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency. | |
13600 | * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed | |
13601 | * cgraph.h (cgraph_edge): Replace inline_call by inline_failed | |
13602 | (cgraph_inline_p): Add extra argument reason. | |
13603 | * cgraphunit.c: Minor formating fixes. | |
13604 | cgraph_first_inlined_callee): New functions. | |
13605 | (record_call_1): Record builtins too. | |
13606 | (cgraph_analyze_function): Update inline_failed messages. | |
13607 | (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into, | |
13608 | cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed. | |
13609 | (cgraph_check_inline_limits): Likewise; Add argument reason. | |
13610 | (cgraph_set_inline_failed): New static function. | |
13611 | (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set | |
13612 | reasons. | |
13613 | (cgraph_inline_p): Add new argument reason. | |
13614 | * tree-inline.c (expand_call_inline): Update warning. | |
13615 | ||
ba479fd2 NN |
13616 | 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org> |
13617 | ||
914c5af7 NN |
13618 | * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM |
13619 | with modern equivalents. | |
13620 | * configure: Regenerate. | |
13621 | ||
016d7f3e ZW |
13622 | * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE. |
13623 | * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove. | |
13624 | * configure: Regenerate. | |
78c9cb99 | 13625 | |
d44f1a00 NN |
13626 | * doc/install.texi: Note that 'gcc' is now a 2.57 directory. |
13627 | ||
ba479fd2 NN |
13628 | * configure.in: Rename to configure.ac. |
13629 | * configure.ac: Renamed from configure.in; make minimum necessary | |
13630 | changes for autoconf 2.5x. | |
13631 | * aclocal.m4: Make minimum necessary changes for autoconf 2.5x. | |
13632 | * configure: Regenerate with autoconf 2.57. | |
13633 | ||
031a26c5 KH |
13634 | 2004-01-03 Kazu Hirata <kazu@cs.umass.edu> |
13635 | ||
13636 | * config/mips/linux.h: Fix comment formatting. | |
13637 | * config/mips/mips.c: Likewise. | |
13638 | * config/mips/mips.h: Likewise. | |
13639 | * config/mips/mips.md: Likewise. | |
13640 | * config/mips/netbsd.h: Likewise. | |
13641 | * config/mips/windiss.h: Likewise. | |
13642 | ||
b87cfcfb RH |
13643 | 2004-01-02 Richard Henderson <rth@redhat.com> |
13644 | ||
13645 | * config/i386/i386.md (fp constant pool splitter): Reorg suppression | |
13646 | for sse and 387; add suppression for mmx. | |
13647 | ||
36579663 AP |
13648 | 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu> |
13649 | ||
9d85830f AP |
13650 | * loop.c (loop_optimize): Free all loops_info's mems. |
13651 | ||
016d7f3e | 13652 | * c-typeck.c (finish_init): Free spelling_base before |
36579663 | 13653 | setting it again. |
016d7f3e | 13654 | |
36579663 AP |
13655 | * cfgloop.c (flow_loops_find): Always free the sbitmap |
13656 | headers. | |
13657 | ||
13658 | * predict.c (estimate_probability): Free bbs after being | |
13659 | done with it. | |
13660 | ||
3864b6fe KH |
13661 | 2004-01-02 Kazu Hirata <kazu@cs.umass.edu> |
13662 | ||
13663 | * config/mn10300/mn10300.h (PREDICATE_CODES): Add | |
13664 | const_8bit_operand and call_address_operand. | |
13665 | ||
8b6bd5d7 JH |
13666 | 2004-01-02 Jan Hubicka <jh@suse.cz> |
13667 | ||
13668 | * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls | |
13669 | when there is nothing to inline but warnings are requested. | |
13670 | (cgraph_decide_inlining): Fix memory leak. | |
13671 | ||
9b9bd3b2 JH |
13672 | 2004-01-02 Jan Hubicka <jh@suse.cz> |
13673 | ||
13674 | * expr.c (store_constructor): Fix pasto in previous patch. | |
13675 | ||
43f3a59d KH |
13676 | 2004-01-02 Kazu Hirata <kazu@cs.umass.edu> |
13677 | ||
13678 | * config/i386/cygming.h: Fix comment formatting. | |
13679 | * config/i386/djgpp.h: Likewise. | |
13680 | * config/i386/gthr-win32.c: Likewise. | |
13681 | * config/i386/i386-interix.h: Likewise. | |
13682 | * config/i386/i386.c: Likewise. | |
13683 | * config/i386/i386.h: Likewise. | |
13684 | * config/i386/openbsd.h: Likewise. | |
13685 | * config/i386/winnt.c: Likewise. | |
13686 | * config/i386/xm-mingw32.h: Likewise. | |
13687 | ||
daef8bbd JM |
13688 | 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk> |
13689 | ||
13690 | * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update | |
13691 | copyright and last modification dates. | |
13692 | ||
7e081a0c AJ |
13693 | 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de> |
13694 | ||
13695 | * doc/install.texi (Specific): Mention x86_64. | |
13696 | ||
ac3f5df7 HPN |
13697 | 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
13698 | ||
13699 | * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]: | |
13700 | Call force_operand on plus_constant result. | |
13701 | ||
997404de JH |
13702 | 2004-01-01 Jan Hubicka <jh@suse.cz> |
13703 | ||
13704 | * expmed.c (store_bit_field, extract_bit_field): Use new named patterns | |
13705 | * expr.c (store_constructor): Use vec_init pattern. | |
13706 | * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init. | |
13707 | * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init | |
13708 | (vec_set_optab, vec_extract_optab, vec_init_optab): New. | |
13709 | * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf): | |
13710 | New patterns. | |
13711 | (sse2_unpc?pd): Fix pattern. | |
13712 | (sse2_movlpd): Kill. | |
13713 | (sse2_movsd): Deal with movlpd too. | |
13714 | * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd. | |
13715 | (ix86_expand_vector_init): New. | |
13716 | * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions. | |
13717 | * md.texi (vec_set, vec_extract): Document | |
13718 | ||
b684a3df JH |
13719 | 2003-12-31 Jan Hubicka <jh@suse.cz> |
13720 | ||
13721 | PR opt/13473 | |
13722 | * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside | |
13723 | ASM input operands | |
13724 | ||
13725 | PR opt/12617 | |
13726 | * toplev.c (dump_file_index): Reorder ce3 and bbro. | |
13727 | (dump_file): Likewise. | |
13728 | (rest_of_compilation): Likewise. | |
13729 | ||
13730 | PR debug/13367 | |
13731 | * cgraph.c (cgraph_function_possibly_inlined): Even with | |
13732 | flag_really_no_inline we inline always_inline functions. | |
13733 | * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag | |
13734 | for non-always_inline functions when there is flag_really_no_inline. | |
13735 | (cgraph_decide_inlining): Limit work done when not inlining. | |
13736 | (cgraph_decide_inlining_incrementally): Likewise. | |
13737 | (cgraph_optimize_function): Check whether something got inlined. | |
13738 | * c-objc-common.c (c_disregard_inline_limits): Do not always inline | |
13739 | extern inline functions when not inlining. | |
13740 | ||
13741 | * opts.c (decode_options): Disable crossjumping at -O1 | |
13742 | * invoke.texi (-O1): Document change. | |
a55f4481 | 13743 | |
cd14f58c | 13744 | See ChangeLog.10 for earlier changes. |