]>
Commit | Line | Data |
---|---|---|
1ee93c1b DJ |
1 | 2003-08-19 Daniel Jacobowitz <drow@mvista.com> |
2 | ||
3 | * unwind-c.c: Add libgcc-style exception. | |
4 | * unwind-dw2.c: Likewise. | |
5 | * unwind-pe.h: Likewise. | |
6 | * unwind-sjlj.c: Likewise. | |
7 | * unwind.inc: Likewise. | |
8 | ||
d68f4cc4 CD |
9 | 2003-08-19 Chris Demetriou <cgd@broadcom.com> |
10 | ||
11 | * config/mips/mips.md: Adjust SI-mode "trap_if" instruction | |
12 | to use better predicates and constraints. Define new | |
13 | instruction to handle "trap_if" with DI-mode arguments. | |
14 | (conditional_trap): FAIL if trap code is not 0. | |
15 | ||
86ecdfb6 AP |
16 | 2003-08-19 Andrew Pinski <pinskia@physics.uc.edu> |
17 | ||
18 | * config/i386/i386.c (legitimate_pic_address_disp_p): Change the | |
19 | strstr with $pb to a strcompare with "<pic base>" | |
20 | (ix86_output_addr_diff_elt): Output the real pic base. | |
21 | ||
fc95cf70 GDR |
22 | 2003-08-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
23 | ||
24 | * langhooks-def.h (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling. | |
25 | (LANG_HOOKS_INITIALIZER): Correct. | |
26 | * c-lang.c: Likewise. | |
27 | ||
810db579 JH |
28 | 2003-08-19 Jan Hubicka <jh@suse.cz> |
29 | ||
30 | * cgraph.c (cgraph_mark_needed_node): Call notice_global_symbol. | |
31 | (cgraph_varpool_mark_needed_node): Likewise. | |
32 | * cgraph.h (notice_global_symbol): Declare | |
33 | * varasm.c (notice_global_symbol): Break out from ... | |
34 | (assemble_start_function): ... here; update for variables. | |
35 | (assemble_variable): Use notice_global_symbol. | |
36 | ||
fc4fe9e4 RS |
37 | 2003-08-19 Richard Sandiford <rsandifo@redhat.com> |
38 | ||
39 | * config/mips/mips.c (mips_va_arg): If EABI_FLOAT_VARARGS_P, | |
40 | expect SFmode and DFmode arguments to be passed in FPRs, | |
41 | regardless of the underlying type. | |
42 | ||
4b8174ff RS |
43 | 2003-08-19 Richard Sandiford <rsandifo@redhat.com> |
44 | ||
45 | PR target/11924 | |
46 | * config/mips/mips.c (INTERNAL_SYMBOL_P): New macro. | |
47 | (mips_classify_symbol, m16_usym8_4, m16_usym5_4): Use it. | |
48 | ||
622adc7e MK |
49 | 2003-08-18 Matt Kraai <kraai@alumni.cmu.edu> |
50 | ||
51 | PR c/11207 | |
52 | * c-typeck.c (set_init_index): Check for negative index. | |
53 | ||
dfccfad9 BW |
54 | 2003-08-18 Bob Wilson <bob.wilson@acm.org> |
55 | ||
56 | * config/xtensa/crti.asm (_init, _fini): Add alternate code for new | |
57 | call0 ABI. | |
58 | * config/xtensa/crtn.asm (_init, _fini): Likewise. | |
59 | * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3, | |
60 | __umodsi3, __modsi3): Likewise. | |
61 | * config/xtensa/t-xtensa (crti.o, crtn.o): Add $(GCC_CFLAGS) and | |
62 | $(INCLUDES). | |
63 | ||
fe9c3a97 AH |
64 | 2003-08-18 Aldy Hernandez <aldyh@redhat.com> |
65 | ||
66 | * config/rs6000/spe.md ("*nabssf2_gpr"): New. | |
67 | ||
431d5fdd RS |
68 | 2003-08-18 Richard Sandiford <rsandifo@redhat.com> |
69 | ||
70 | * config/mips/mips.md: Quote C code in braces. Remove use of | |
71 | fake const0_rtx operands. Remove double backslashes. Use \;. | |
72 | Remove workarounds for bogus warnings. | |
73 | ||
4195786e RS |
74 | 2003-08-18 Richard Sandiford <rsandifo@redhat.com> |
75 | ||
76 | * config/mips/mips.md (muldf3, mulsf3): Don't call a gen_* function. | |
77 | (muldf3_internal, muldf3_r4300): Select based on TARGET_4300_MUL_FIX | |
78 | rather than TARGET_MIPS4300. | |
79 | (mulsf3_internal, mulsf3_r4300): Likewise. | |
80 | ||
6d4ede5f RS |
81 | 2003-08-18 Richard Sandiford <rsandifo@redhat.com> |
82 | ||
83 | * config/mips/mips.md: Renumber unspecs. Clean up comments. | |
84 | ||
dd61aa98 RS |
85 | 2003-08-17 Roger Sayle <roger@eyesopen.com> |
86 | ||
87 | * simplify-rtx.c (associative_constant_p): New function to test | |
88 | whether an RTX expression is an immediate constant. | |
89 | (simplify_associative_operation): New function to perform some | |
90 | reassociation optimizations of associative binary expressions. | |
91 | (simplify_binary_operation): Use simplify_associative_operation | |
92 | to simplify PLUS, MULT, AND, IOR, XOR, SMIN, SMAX, UMIN and UMAX. | |
93 | Floating point expressions are only reassociated when unsafe | |
94 | math optimizations are permitted. | |
95 | ||
9c808aad AJ |
96 | 2003-08-17 Andreas Jaeger <aj@suse.de> |
97 | ||
98 | * config/alpha/alpha.md: Remove usage of PARAMS. | |
99 | ||
100 | * config/i386/cygwin.h: Convert K&R prototypes to ISO C90. | |
101 | * config/i386/i386-interix.h: Likewise. | |
102 | * config/i386/winnt.c: Likewise. | |
103 | * config/i386/cygming.h: Likewise. | |
104 | * config/i386/cygwin2.c: Likewise. | |
105 | * config/darwin.c: Likewise. | |
106 | * config/darwin-c.c: Likewise. | |
107 | * config/darwin-protos.h: Likewise. | |
108 | * config/darwin.h: Likewise. | |
109 | * config/s390/s390-protos.h: Likewise. | |
110 | * config/s390/s390.c: Likewise. | |
111 | * config/ia64/ia64.c: Likewse | |
112 | * config/ia64/ia64-protos.h: Likewise. | |
fde46628 | 113 | * config/ia64/ia64-c.c: Likewise. |
9c808aad | 114 | |
e80d5f80 KG |
115 | 2003-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
116 | ||
fc27d102 KG |
117 | * config/sparc/sparc.c: Convert to ISO C. |
118 | ||
e80d5f80 KG |
119 | * config/sparc/sparc-protos.h: Don't use the PARAMS macro. |
120 | * config/sparc/sparc.c: Likewise. | |
121 | ||
e895113a NS |
122 | 2003-08-16 Nathan Sidwell <nathan@codesourcery.com> |
123 | ||
124 | PR c++/11512 | |
125 | * stmt.c (expand_expr_stmt_value): Don't warn about any void | |
126 | typed expression. | |
127 | ||
e767b5be JH |
128 | 2003-08-16 Jan Hubicka <jh@suse.cz> |
129 | ||
130 | * i386.c (ix86_fntype_regparm): Rename from ... | |
131 | (ix86_function_regparm): ... this one; add fastcall and local | |
132 | functions. | |
133 | (ix86_function_ok_for_sibcall): Update. | |
134 | (ix86_return_pops_args): Likewise. | |
135 | (init_cumulative_args): Likewise. | |
136 | (x86_can_output_mi_thunk): Likewise. | |
137 | (function_arg): Fix formating. | |
138 | (x86_this_parameter): Fix fastcall. | |
139 | (x86_output_mi_thunk): Likewise. | |
140 | ||
141 | * cgraph.c (cgraph_mark_needed_node): Do not mark functions without | |
142 | body as reachable; mark nested functions as needed too. | |
143 | (dump_cgraph): Do not output global.calls. | |
144 | * cgraph.h (cgraph_global_info): Kill. | |
145 | * cgraphunit.c (cgraph_finalize_function): Enqueue needed functions. | |
146 | (record_call_1): Speedup. | |
147 | (cgraph_analyze_function): Break out from ...; compute inlining | |
148 | parameters. | |
149 | (cgraph_finalize_compilation_unit): ... here. | |
150 | (cgraph_mark_inline): Kill computation of calls. | |
151 | (cgraph_decide_inlining): Do not compute most of initial values. | |
152 | ||
8ab49fef RS |
153 | 2003-08-14 Roger Sayle <roger@eyesopen.com> |
154 | ||
155 | * fold-const.c (negate_expr_p): MULT_EXPRs and RDIV_EXPRs are easy | |
156 | to negate if either operand is easy to negate, if we don't care | |
157 | about sign-dependent rounding. | |
158 | (negate_expr): Make the logic to negate a REAL_CST explicit. | |
159 | Attempt to negate a MULT_EXPR or RDIV_EXPR by negating an operand | |
160 | that's easy to negate, if we don't honor sign-dependent rounding. | |
161 | (fold <MULT_EXPR>): Optimize -A * B as A * -B if B is easy to | |
162 | negate, and the symmetric A * -B as -A * B if A is easy to negate. | |
163 | (fold <RDIV_EXPR>): Likewise, optimize -A/B and C/-D as A/-B and | |
164 | -C/D if B and C are cheap to negate. Add an explicit rule to | |
165 | optimize X/-1.0 as -X when we don't care about signaling NaNs. | |
166 | ||
e22340b0 ZW |
167 | 2003-08-14 Zack Weinberg <zack@codesourcery.com> |
168 | ||
169 | * Makefile.in (tm_file): Rename tm_include_list. | |
170 | (tm_p_file): Rename tm_p_include_list. | |
171 | (build_xm_file): Rename build_xm_include_list. | |
172 | (host_xm_file): Rename host_xm_include_list. | |
173 | (xm_file): Rename xm_include_list. | |
174 | (xm_file_list): Add to be substituted. | |
175 | (cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h): | |
176 | Update to match. | |
177 | (bt-load.o): Add missing dependency on $(TM_H). | |
178 | * configure.in: Prefix value of EXTRA_MODES_FILE with config/. | |
179 | For each of tm_file, tm_p_file, xm_file, host_xm_file, and | |
180 | build_xm_file, generate both *_file_list and *_include_list | |
181 | values from it. (xm_file_list was formerly not being generated.) | |
182 | In *_include_list, prefix the names of all headers found in | |
183 | $(srcdir)/config with config/. In each loop, consider only | |
184 | the special case files that can actually appear in that list. | |
185 | AC_SUBST all *_file_list and all *_include_list variables; do | |
186 | not AC_SUBST the plain *_file variables. | |
187 | * configure: Regenerate. | |
188 | ||
4139675b ZD |
189 | 2003-08-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
190 | ||
191 | * cfg.c (dump_edge_info): Add name of loop_exit edge flag. | |
192 | ||
32562302 JDA |
193 | 2003-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
194 | ||
195 | * pa.c (pa_adjust_insn_length): Delete adjustment for delay slot in | |
196 | direct calls. | |
197 | (attr_length_call): Include it here. Improve length estimate for | |
198 | local calls. | |
199 | (output_call): Use targetm.binds_local_p. | |
200 | ||
9e46226d KG |
201 | 2003-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
202 | ||
daa027cc KG |
203 | * builtins.c (CASE_MATHFN): New helper macro. |
204 | (mathfn_built_in): Simplify and sort. | |
205 | ||
9e46226d KG |
206 | * protoize.c (substr): Delete, callers changed to `strstr'. |
207 | ||
c5d19037 ZW |
208 | 2003-08-13 Zack Weinberg <zack@codesourcery.com> |
209 | ||
210 | * config.gcc (iq2000*-*-elf*): Don't set xm_file. | |
211 | * config/iq2000/xm-iq2000.h: Delete file. | |
212 | ||
4da6879c GK |
213 | 2003-08-13 Geoffrey Keating <geoffk@apple.com> |
214 | ||
215 | * gengtype.c (walk_type): Process a subobject before processing | |
216 | the pointer that points to the subobject. | |
217 | ||
28420116 PB |
218 | 2003-08-13 Per Bothner <pbothner@apple.com> |
219 | ||
220 | * regclass.c (init_reg_modes): Make non-static. | |
221 | Rename to init_reg_modes_once per new naming convention. | |
222 | (init_regs): Don't call init_reg_modes here. | |
223 | * emit-rtl.c (init_emit_once): Call init_reg_modes_once here instead. | |
224 | * rtl.h (init_reg_modes_once): New declaration. | |
225 | * toplev.c (backend_init): Call init_regs after init_emit_once. | |
226 | ||
235b4b36 KK |
227 | 2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org> |
228 | ||
229 | * config/sh/linux.h (DBX_REGISTER_NUMBER): Define so to map a | |
230 | special index for MD_FALLBACK_FRAME_STATE_FOR to itself. | |
231 | ||
dce20bbc R |
232 | 2003-08-13 J"orn Rennecke <joern.rennecke@superh.com> |
233 | ||
234 | * sh.c (sh_get_pr_initial_val): Always wrap in unspec for TARGET_SH1. | |
235 | * sh.md (load_ra): Change insn predicate to TARGET_SH1. | |
236 | ||
5a195cb5 DJ |
237 | 2003-08-13 Dale Johannesen <dalej@apple.com> |
238 | ||
239 | * config/rs6000/rs6000.md (ctrsi, ctrdi): Reenable | |
240 | handling of decrement-and-branch farther than 32 bits. | |
241 | ||
3a000df0 KC |
242 | 2003-08-12 Kelley Cook <kelleycook@wideopenwest.com> |
243 | ||
244 | * configure.in (make_compare_target): Move test to ... | |
245 | * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here. | |
246 | * configure: Regenerate. | |
247 | ||
b4966b1b RS |
248 | 2003-08-12 Richard Sandiford <rsandifo@redhat.com> |
249 | ||
250 | * config/mips/iris6.h: Convert to C90 prototypes. | |
251 | * config/mips/irix6-libc-compat.c: Likewise. | |
252 | * config/mips/mips-protos.h: Likewise. | |
253 | * config/mips/mips.c: Likewise. | |
254 | ||
825d7d64 NN |
255 | 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org> |
256 | ||
257 | fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel. Enable | |
258 | for selected machines. Comment heavily. | |
259 | fixinc/fixincl.x: Rebuild. | |
260 | fixinc/tests/base/fs/rfs/rf_cache.h: New file. | |
261 | ||
dfad12b5 RS |
262 | 2003-08-12 Richard Sandiford <rsandifo@redhat.com> |
263 | ||
264 | * config/mips/mips.h: Tweak various comments. | |
265 | * config/mips/mips.c: Likewise. | |
266 | ||
e3f049a8 JW |
267 | 2003-08-11 James E Wilson <wilson@tuliptree.org> |
268 | ||
269 | PR optimization/11319 | |
270 | PR target/10021 | |
271 | * alias.c (find_base_value, case REG): Return 0 not src if no base | |
272 | found. | |
273 | ||
4ac11022 KG |
274 | 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
275 | ||
276 | * gcse.c (gmalloc): Fix last change. | |
277 | ||
ae351e1e RS |
278 | 2003-08-11 Roger Sayle <roger@eyesopen.com> |
279 | ||
280 | * simplify-rtx.c (simplify_binary_operation): Replace calls to | |
281 | gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary, | |
282 | and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT, | |
283 | gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary. | |
284 | ||
11017cc7 RS |
285 | 2003-08-11 Roger Sayle <roger@eyesopen.com> |
286 | ||
287 | * expr.c (expand_expr): If an ABS_EXPR has a complex type, abort. | |
288 | * c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid | |
289 | typecode for an ABS_EXPR. | |
290 | ||
291 | * doc/c-tree.texi: Document ABS_EXPR. | |
292 | ||
af7b5c1c RS |
293 | 2003-08-11 Roger Sayle <roger@eyesopen.com> |
294 | ||
295 | * fold-const.c (fold): Optimize any associative floating point | |
296 | operator with -funsafe-math-optimizations, not just MULT_EXPR. | |
297 | ||
e3bf220a KK |
298 | 2003-08-11 Kaz Kojima <kkojima@gcc.gnu.org> |
299 | ||
300 | * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size | |
301 | information in SHmedia case too. | |
302 | (__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate): | |
303 | Likewise. | |
304 | (__set_fpscr): Use an access via GOT for PIC case. | |
305 | ||
0c46c5c7 KC |
306 | 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com> |
307 | ||
308 | * configure.in (intermodule): Make switch test more portable. | |
309 | * configure: Regenerate. | |
310 | ||
727793cb KC |
311 | 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com> |
312 | ||
313 | * Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap. | |
314 | (restrap): Likewise. | |
315 | ||
29da5c92 KG |
316 | 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
317 | ||
9fe15a12 KG |
318 | * gcse.c (gmalloc): Argument is a size_t. Add ATTRIBUTE_MALLOC. |
319 | (grealloc): Size argument is a size_t. | |
320 | (gcalloc): New function. Use throughout in lieu of | |
321 | gmalloc/memset. | |
322 | ||
29da5c92 KG |
323 | * config/avr/avr.c (avr_init_once): Use xcalloc in lieu of |
324 | xmalloc/memset. | |
325 | * config/ia64/ia64.c (ia64_reorg): Likewise. | |
326 | * conflict.c (conflict_graph_new): Likewise. | |
327 | * fixinc/fixincl.c (run_compiles): Likewise. | |
328 | * genattrtab.c (optimize_attrs): Likewise. | |
329 | * genrecog.c (new_decision): Likewise. | |
330 | * haifa-sched.c (schedule_block): Likewise. | |
331 | * hashtable.c (ht_create): Likewise. | |
332 | ||
13fb3a61 BW |
333 | 2003-08-11 Bob Wilson <bob.wilson@acm.org> |
334 | ||
335 | * config/xtensa/lib2funcs.S: Fix whitespace. | |
336 | * config/xtensa/xtensa.md (all insns and expanders): Use brace block | |
337 | syntax where appropriate. Remove unnecessary backslash escapes. | |
338 | Reformat comments and fix some code formatting. | |
339 | (extendqisi2): Rearrange conditional. | |
340 | (*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue, | |
341 | *maskfalse, movsicc_internal0, movsfcc_internal0): Call abort instead | |
342 | of fatal_insn. | |
343 | ||
f1d5187e RS |
344 | 2003-08-11 Richard Sandiford <rsandifo@redhat.com> |
345 | ||
346 | * config/mips/mips.c: Various formatting fixes. | |
347 | (override_options): Resync -mtune handling with gas. | |
348 | (mips_issue_rate): Rearrange like mips_use_dfa_pipeline_interface. | |
349 | * config/mips/mips.h: More formatting fixes. | |
350 | (mips_abi): Move declaration. | |
351 | * config/mips/mips.md (exception_receiver): Add mode to | |
352 | unspec_volatile. | |
353 | ||
00332c9f AH |
354 | 2003-08-11 Aldy Hernandez <aldyh@redhat.com> |
355 | ||
356 | * config/rs6000/rs6000.c (spe_init_builtins): Handle evsplati and | |
357 | evsplatfi here. | |
358 | (bdesc_1arg): Remove evsplati and evsplatfi. | |
359 | ||
a5c414e0 R |
360 | 2003-08-11 J"orn Rennecke <joern.rennecke@superh.com> |
361 | ||
362 | * dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix | |
363 | into account. | |
364 | ||
0235f855 KG |
365 | 2003-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
366 | ||
367 | * builtins.c (expand_builtin_strcat): Optimize constant strings. | |
368 | ||
4b780675 GDR |
369 | 2003-08-10 Gabriel Dos Reis <gdr@integrable-solutions.net> |
370 | ||
371 | * pretty-print.c (pp_base_indent): Rename from pp_indent. | |
372 | * c-pretty-print.h (pp_c_pretty_print_flag)s: New datatype. | |
373 | (struct c_pretty_print_info): Add more fields. | |
374 | (pp_c_left_paren): Move to c-pretty-print.c. | |
375 | (pp_c_right_paren): Likewise. | |
376 | (pp_c_left_brace): Likewise. | |
377 | (pp_c_right_brace): Likewise. | |
378 | (pp_c_left_bracket): Likewise. | |
379 | (pp_c_right_bracket): Likewise. | |
380 | (pp_c_declarator): Declare. | |
381 | (pp_c_direct_declarator): Likewise. | |
382 | (pp_c_specifier_qualifier_list): Likewise. | |
383 | (pp_c_type_id): Likewise. | |
384 | * c-pretty-print.c (pp_c_cv_qualifier): Change prootype. Rework.. | |
385 | (pp_c_type_qualifier_list): New. | |
386 | (pp_c_pointer): Likewise. | |
387 | (pp_c_parameter_type_list): Likewise. | |
388 | (pp_c_function_definition): Likewise. | |
389 | (pp_c_id_expression): Likewise. | |
390 | (pp_c_simple_type_specifier): Tidy. | |
391 | (pp_c_unary_expression): Likewise. | |
392 | (pp_c_expression): Likewise. | |
393 | (pp_c_pretty_printer_init): Likewise. | |
394 | (pp_c_specifier_qualifier_list): Rework.. | |
395 | (pp_c_abstract_declarator): Likewise. | |
396 | (pp_c_postfix_expression): Likewise. | |
397 | (pp_c_primary_expression): Likewise. | |
398 | (pp_c_cast_expression): Likewise. | |
399 | (pp_c_direct_abstract_declarator): Likewise. | |
400 | (pp_c_storage_class_specifier): Likewise. | |
401 | (pp_c_function_specifier): Likewise. | |
402 | (pp_c_declaration_specifiers): Likewise. | |
403 | (pp_c_direct_declarator): Likewise. | |
404 | (pp_c_declarator): Likewise. | |
405 | (pp_c_declaration): Likewise. | |
406 | (pp_c_statement): Likewise. | |
407 | (pp_c_integer_constant): Rename from pp_c_integer_literal. | |
408 | (pp_c_character_constant): Rename from pp_c_character_literal. | |
409 | (pp_c_bool_constant): Rename from pp_c_bool_literal. | |
410 | (pp_c_enumeration_constant): Rename from pp_c_enumerator. | |
411 | (pp_c_floating_constant): Rename from pp_c_real_literal. | |
412 | (pp_c_constant): Rename from pp_c_literal. | |
413 | * c-lang.c: Include diagnostic.h and c-pretty-print.h | |
414 | (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define. | |
415 | (c_initialize_diagnostics): New. | |
416 | * Makefile.in (c-lang.o): Update dependency. | |
417 | ||
bae39a73 NS |
418 | 2003-08-10 Nathan Sidwell <nathan@codesourcery.com> |
419 | ||
420 | * c-typeck.c (digest_init): Add conversion for VECTOR_TYPEs. | |
421 | ||
3372178c RS |
422 | 2003-08-10 Richard Sandiford <rsandifo@redhat.com> |
423 | ||
424 | * config/mips/mips.c (mips_no_mips16_string): Remove. | |
425 | (override_options): Don't handle -mips16 as part of -mipsN. | |
426 | * config/mips/mips.h (mips_no_mips16_string): Remove declaration. | |
427 | (TARGET_SWITCHES): Add -mips16 and -mno-mips16 entries. | |
428 | (TARGET_OPTIONS): Remove -mno-mips16. | |
429 | ||
1d5565cd RS |
430 | 2003-08-10 Richard Sandiford <rsandifo@redhat.com> |
431 | ||
432 | * config/mips/mips-protos.h (coprocessor_operand): Remove declaration. | |
433 | (coprocessor2_operand): Likewise. | |
434 | * config/mips/mips.c (STAB_CODE_TYPE): Remove. | |
435 | (lookup_name): Remove declaration. | |
436 | (abort_with_insn): Remove. Replace all uses with fatal_insn. | |
437 | (mips16, mips_abicalls): Remove. | |
438 | (mips_char_to_class): Remove initialiser: all entries are NO_REGS. | |
439 | (arith32_operand, large_int, true_reg_or_0_operand): Remove. | |
440 | (coprocessor_operand, coprocessor2_operand): Remove. | |
441 | (override_options): Don't set mips16 or mips_abicalls. | |
442 | (print_operand): Don't expect SIGN_EXTEND operands. | |
443 | (mips_secondary_reload_class): Likewise. | |
444 | (mips_output_conditional_branch): Remove disabled long-branch code. | |
445 | * config/mips/mips.h (call_used_regs): Remove declaration. | |
446 | (may_call_alloca): Likewise. | |
447 | (mips_cpu_attr, mips_abicalls_type, mips_abicalls_attr): Remove. | |
448 | (mips_abicalls, mips16): Remove declarations. | |
449 | (ASM_FINAL_SPEC, LIB_SPEC): Remove. | |
450 | (CC1_SPEC): Remove outdated comment. | |
451 | (MIPS_VERSION, MACHINE_TYPE): Remove. | |
452 | (TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
453 | (PC_REGNUM, STACK_POINTER_OFFSET): Remove disabled definitions. | |
454 | (STRUCT_VALUE_RETURN_REGNUM, STACK_DYNAMIC_OFFSET): Likewise. | |
455 | (PUSH_ROUNDING): Likewise. | |
456 | (ASSEMBLER_SCRATCH_REGNUM): Remove. | |
457 | * config/mips/mips.md: Replace mips_cpu_attr with mips_tune | |
458 | and mips16 with TARGET_MIPS16. | |
459 | ||
4169c321 PB |
460 | 2003-08-09 Per Bothner <pbothner@apple.com> |
461 | ||
c5d19037 ZW |
462 | * cppinit.c (cpp_read_main_file): Split out source-independent |
463 | initialization to separate function ... | |
464 | (cpp_post_options): New function. | |
465 | * cppfiles.c (cpp_stack_file): Rename public name to ... | |
466 | (_cpp_stack_file): New internal function name. | |
467 | * cpplib.h: Update accordingly. | |
468 | * cppinit.c: (cpp_create_reader): Initialize cpp_readers line here. | |
469 | (cpp_read_main_file): Don't initialize line here. | |
470 | * c-opts.c (c_common_post_options): Call cpp_post_options. | |
471 | (c_common_parse_file): Call cpp_read_main_file, not cpp_stack_file. | |
472 | * fix-header.c (read_scan_file): Call cpp_post_options. | |
473 | ||
3d93cdfa PB |
474 | 2003-08-09 Per Bothner <per@bothner.com> |
475 | ||
476 | * c-decl.c (SCOPE_LIST_APPEND): Remove bogus line continuation. | |
477 | ||
dfd8db86 JDA |
478 | 2003-08-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
479 | ||
480 | * pa.c (pa_asm_output_mi_thunk): Fix typo. | |
481 | ||
a54c550f NB |
482 | 2003-08-09 Neil Booth <neil@daikokuya.co.uk> |
483 | ||
484 | PR preprocessor/11839 | |
485 | * cppfiles.c (open_file): Handle ENOTDIR. | |
486 | ||
142ee136 RS |
487 | 2003-08-09 Richard Sandiford <rsandifo@redhat.com> |
488 | ||
489 | PR target/11699 | |
490 | * config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls. | |
491 | ||
561af708 JDA |
492 | 2003-08-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
493 | ||
494 | * pa.md (extzv, extv, insv): Fix operand limit checks. Fail if | |
495 | source/destination is not a register operand. | |
496 | ||
af1e5518 RH |
497 | 2003-08-08 Richard Henderson <rth@redhat.com> |
498 | ||
c5d19037 ZW |
499 | PR target/11535 |
500 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Remove | |
501 | RETURN_ADDRESS_POINTER_REGNUM. | |
502 | (ia64_expand_prologue): Don't frob it. | |
503 | (ia64_output_function_epilogue): Likewise. | |
504 | (ia64_return_addr_rtx): New. | |
505 | (ia64_split_return_addr_rtx): New. | |
506 | * config/ia64/ia64-protos.h: Update. | |
507 | * config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement. | |
508 | (RETURN_ADDRESS_POINTER_REGNUM): Remove. | |
509 | (GENERAL_REGNO_P): Don't check it. | |
510 | (AR_*_REGNUM): Renumber. | |
511 | (FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM. | |
512 | (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise. | |
513 | (REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise. | |
514 | (ELIMINABLE_REGS, REGISTER_NAMES): Likewise. | |
515 | (RETURN_ADDR_RTX): Use ia64_return_addr_rtx. | |
516 | * config/ia64/ia64.md (UNSPEC_RET_ADDR): New. | |
517 | (movdi_ret_addr): New. | |
af1e5518 | 518 | |
5dddb920 GK |
519 | 2003-08-08 Geoffrey Keating <geoffk@apple.com> |
520 | ||
521 | * config.gcc (powerpc-*-darwin*): Don't build a soft-float multilib. | |
522 | ||
7bb3fbbb RS |
523 | 2003-08-08 Roger Sayle <roger@eyesopen.com> |
524 | ||
525 | * tree.h (get_identifier) Define a macro form of get_identifier | |
526 | that calls get_identifier_with_length when the string is constant. | |
527 | (get_identifier_with_length): Change type of second argument to | |
528 | size_t in prototype. | |
529 | * stringpool.c (get_identifier): Undefine the macro before giving | |
530 | the function definition. | |
531 | (get_identifier_with_length): Change type of second argument to | |
532 | size_t in function definition. | |
533 | * hashtable.c (calc_hash): Change type of second argument to size_t. | |
534 | (ht_lookup): Change type of third argument to size_t. Reorganize | |
535 | to speed-up the cases where the hash table slot is empty, or the | |
536 | first probe matches (i.e. there isn't a collision). | |
537 | * hashtable.h (ht_lookup): Adjust function prototype. | |
538 | ||
32247ce9 BI |
539 | 2003-08-08 Bernardo Innocenti <bernie@develer.com> |
540 | ||
541 | PR target/9697 | |
542 | PR target/11777 | |
543 | * longlong.h (count_leading_zeros): Exclude on __mcpu32__. | |
544 | ||
df38ffef NB |
545 | 2003-08-08 Neil Booth <neil@daikokuya.co.uk> |
546 | ||
547 | * common.opt: Add debug switches. | |
548 | * flags.h (use_gnu_debug_info_extensions): Boolify. | |
549 | * opts.c (write_symbols, debug_info_level, | |
550 | use_gnu_debug_info_extensions): Move from toplev.c. | |
551 | (set_debug_level): New. | |
552 | (common_handle_options): Handle debug switches. | |
553 | (print_help): Display target options directly. | |
554 | * toplev.c (debug_hooks): Don't initialize. | |
555 | (write_symbols, debug_info_level, | |
556 | use_gnu_debug_info_extensions): Move to opts.c. | |
557 | (debug_args, display_help, decode_g_option): Remove. | |
558 | (process_options): Set no debug if level zero here, | |
559 | and no-debug-hooks. Error here if impossible debug format selected. | |
560 | * toplev.h (display_help, decode_g_option): Remove. | |
561 | ||
679c4092 RS |
562 | 2003-08-08 Richard Sandiford <rsandifo@redhat.com> |
563 | ||
564 | * tree.c (get_file_function_name_long): Fix size of alloca() area. | |
565 | ||
c8b5beb8 KC |
566 | 2003-08-08 Kelley Cook <kelleycook@wideopenwest.com> |
567 | ||
568 | * configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target | |
c5d19037 | 569 | and gcc_cv_prog_cmp_skip. |
c8b5beb8 KC |
570 | * configure: Regenerate. |
571 | ||
6b3d1e47 SC |
572 | 2003-08-08 Stan Cox <scox@redhat.com> |
573 | ||
574 | * config/iq2000: New port. | |
575 | * config.gcc (iq2000-*-elf): Added. | |
576 | * doc/install.texi (Specific): Add iq2000 description. | |
577 | ||
cfa9ee99 AS |
578 | 2003-08-08 Andreas Schwab <schwab@suse.de> |
579 | ||
7ce27ffb | 580 | * configure.in (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Fix quoting |
cfa9ee99 AS |
581 | and insert missing empty argument. |
582 | * configure: Regenerate. | |
583 | ||
cb99b61a JDA |
584 | 2003-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
585 | ||
62910663 JDA |
586 | * pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P. |
587 | (attr_length_millicode_call): Likewise. | |
588 | (attr_length_call): Likewise. Revise some maximum insn lengths. | |
589 | (attr_length_indirect_call): Likewise. | |
590 | (output_call): Fix thinko that added extra nop. | |
591 | * pa.h (IN_NAMED_SECTION_P): Define. | |
592 | ||
cb99b61a JDA |
593 | PR c++/11712 |
594 | * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define | |
595 | __STDC_EXT__ when using C++ dialect. | |
596 | ||
97b3d0f0 R |
597 | 2003-08-07 J"orn Rennecke <joern.rennecke@superh.com> |
598 | ||
7d73a2ba R |
599 | * sh.c (calc_live_regs): If the return address pointer is live, |
600 | force pr live. | |
601 | (sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register | |
602 | for saves / restores. | |
603 | (sh_expand_epilogue): If sh_media_register_for_return returns a | |
604 | register number, flag the instructions that restores PR_MEDIA_REG | |
605 | as possibly dead. | |
606 | Remove dead update of offset. | |
607 | (sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if | |
608 | we can use the result of get_hard_reg_initial_val. | |
609 | * sh.md (UNSPEC_RA): New constant. | |
610 | (movsi_i_lowpart+1): Changed into a define_insn_and_split, named: | |
611 | (load_ra). Handle UNSPEC_RA. | |
612 | (sibcall_media): Use PR_MEDIA_REG. | |
613 | ||
97b3d0f0 R |
614 | * sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG. |
615 | * sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr | |
616 | needs saving on SHmedia. | |
617 | ||
d40c829f UW |
618 | 2003-08-07 Ulrich Weigand <uweigand@de.ibm.com> |
619 | ||
620 | * config/s390/s390.md: Replace all occurrences of \\t with \t. | |
621 | ||
a5342656 RS |
622 | 2003-08-07 Richard Sandiford <rsandifo@redhat.com> |
623 | ||
624 | * local-alloc.c (combine_regs): Fix comment typo. | |
625 | ||
fdc49e10 ZW |
626 | 2003-08-06 Zack Weinberg <zack@codesourcery.com> |
627 | ||
628 | * c-decl.c (builtin_decls): Replace with first_builtin_decl | |
629 | and last_builtin_decl. | |
630 | (c_init_decl_processing): Initialize both. | |
631 | (c_reset_state): Iterate from first_builtin_decl to | |
632 | last_builtin_decl inclusive to reintroduce builtins. | |
633 | ||
a32767e4 DM |
634 | 2003-08-06 David Mosberger <davidm@hpl.hp.com> |
635 | ||
fdc49e10 ZW |
636 | * doc/extend.texi (Function Attributes): Document the IA-64 version |
637 | of the "model" attribute. | |
638 | ||
639 | * config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro. | |
640 | (SYMBOL_REF_SMALL_ADDR_P): Ditto. | |
641 | (PREDICATE_CODES): Mention "small_addr_symbolic_operand". | |
642 | ||
643 | * config/ia64/ia64.c (ia64_handle_model_attribute): New function. | |
644 | (ia64_encode_section_info): Likewise. | |
645 | (ia64_attribute_table): Add "model" attribute. | |
646 | (TARGET_ENCODE_SECTION_INFO): Define. | |
647 | (small_addr_symbolic_operand): New function. | |
648 | (got_symbolic_operand): Return 0 for a symbolref to an object | |
649 | in the small address area. | |
650 | (enum ia64_addr_area): New type. | |
651 | (small_ident1): New variable. | |
652 | (small_ident2): Likewise. | |
653 | (init_idents): New function. | |
654 | (ia64_get_addr_area): Likewise. | |
655 | (ia64_encode_addr_area): Likewise. | |
656 | (ia64_encode_section_info): Likewise. | |
657 | (ia64_expand_load_address): For symbolic references to objects in | |
658 | the small-address-area, load the address via gen_rtx_SET() (which, | |
659 | eventually, will expand into "addl"). | |
a32767e4 | 660 | |
8b82c528 PB |
661 | 2003-08-06 Per Bothner <pbothner@apple.com> |
662 | ||
663 | * line-map.h (fileline): New typedef. | |
fdc49e10 | 664 | (struct line_map, linemap_add, linemap_lookup): Use it. |
8b82c528 PB |
665 | * input.h (struct location_s): Comment notes that long-term we want |
666 | to replace it by fileline. | |
667 | ||
b869f904 R |
668 | 2003-08-06 J"orn Rennecke <joern.rennecke@superh.com> |
669 | ||
670 | Fix SHcompact exception handling: | |
671 | * sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered | |
672 | by the prologue, return a MEM with return_address_pointer_rtx | |
673 | as address. | |
674 | * sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode. | |
675 | (RETURN_ADDR_OFFSET): Don't define. | |
676 | (SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia | |
677 | registers that are visible in compact mode. Show that SHmedia | |
678 | registers still exist in compact mode, even if there are not | |
679 | readily accessible. | |
680 | (ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect | |
681 | if GLOBAL. Use DW_EH_PE_textrel (nominally) for CODE, | |
682 | and DW_EH_PE_pcrel for pic data. | |
683 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel, | |
684 | set SYMBOL_FLAG_FUNCTION in symbol, and actually use | |
685 | DW_EH_PE_pcrel / DW_EH_PE_absptr encoding. | |
686 | (ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it. | |
687 | * sh.md (movsi_media-1): New splitter. | |
688 | ||
f2feed2c GP |
689 | 2003-08-06 Graeme Peterson <gp@qnx.com> |
690 | ||
691 | * config/i386/nto.h: New. | |
692 | * config/i386/t-nto: New. | |
693 | * config.gcc (i[34567]86-*-nto-qnx*): New. | |
694 | ||
1cba0a4e PE |
695 | 2003-08-06 Phil Edwards <pme@gcc.gnu.org> |
696 | ||
697 | * doc/install.texi (*-*-solaris2*): Refine configure instructions. | |
698 | ||
980f6e8e AM |
699 | 2003-08-06 Alan Modra <amodra@bigpond.net.au> |
700 | ||
701 | * calls.c (load_register_parameters): Arrange for call_fusage to | |
702 | report the whole register as used when shifting to the msb. | |
703 | ||
d25225de RS |
704 | 2003-08-05 Roger Sayle <roger@eyesopen.com> |
705 | ||
706 | * builtins.c (expand_builtin): When not optimizing, call the library | |
707 | function for all builtins that have library functions (except alloca). | |
708 | ||
b20d9f0c AO |
709 | 2003-08-05 Alexandre Oliva <aoliva@redhat.com> |
710 | ||
711 | * c.opt: Introduce -fworking-directory. | |
712 | * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it. | |
713 | * c-common.h (flag_working_directory): Declare. | |
714 | * c-common.c (flag_working_directory): Define. | |
715 | * c-opts.c (c_common_handle_options): Set it. | |
716 | (sanitize_cpp_opts): Set... | |
717 | * cpplib.h (struct cpp_options): ... working_directory option. | |
718 | (struct cpp_callbacks): Add dir_change. | |
719 | * cppinit.c (read_original_filename): Call... | |
720 | (read_original_directory): New. Look for # 1 "directory//" | |
721 | and process it. | |
722 | (cpp_read_main_file): Call dir_change callback if working_directory | |
723 | option is set. | |
724 | * gcc.c (cpp_unique_options): Pass -g*. | |
725 | * c-lex.c (cb_dir_change): New. | |
726 | (init_c_lex): Set dir_change callback. | |
727 | * toplev.c (src_pwd): New static variable. | |
728 | (set_src_pwd, get_src_pwd): New functions. | |
729 | * toplev.h (get_src_pwd, set_src_pwd): Declare. | |
730 | * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd(). | |
731 | * dwarf2out.c (gen_compile_unit_die): Likewise. | |
732 | * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise. | |
733 | ||
e1a4dd13 GDR |
734 | 2003-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net> |
735 | ||
736 | * pretty-print.h (pp_set_line_maximum_length): Make macro. | |
737 | (pp_set_prefix): Likewise. | |
738 | (pp_destroy_prefix): Likewise. | |
739 | (pp_remaining_character_count_for_line): Likewise. | |
740 | (pp_clear_output_area): Likewise. | |
741 | (pp_formatted_text): Likewise. | |
742 | (pp_last_position_in_text): Likewise. | |
743 | (pp_emit_prefix): Likewise. | |
744 | (pp_append_text): Likewise. | |
745 | (pp_flush): Likewise. | |
746 | (pp_format_text): Likewise. | |
747 | (pp_format_verbatim): Likewise. | |
748 | (pp_tree_identifier): Tidy. | |
749 | * pretty-print.c (pp_base_format_text): Rename from pp_format_text. | |
750 | (pp_base_format_verbatim): Rename from pp_format_verbatim. | |
751 | (pp_base_flush): Rename from pp_flush. | |
752 | (pp_base_set_line_maximum_length): Rename from | |
753 | pp_set_line_maximum_length. | |
754 | (pp_base_clear_output_area): Rename from pp_clear_output_area. | |
755 | (pp_base_set_prefix): Rename from pp_set_prefix. | |
756 | (pp_base_destroy_prefix): Rename from pp_destroy_prefix. | |
757 | (pp_base_emit_prefix): Rename from pp_emit_prefix. | |
758 | (pp_base_append_text): Rename from pp_append_text. | |
759 | (pp_base_formatted_text): Rename from pp_formatted_text. | |
760 | (pp_base_last_position_in_text): Rename from pp_last_position_in_text. | |
761 | (pp_base_remaining_character_count_for_line): Rename from | |
762 | pp_remaining_character_count_for_line. | |
763 | * diagnostic.h (diagnostic_format_decoder): Tidy. | |
764 | (diagnostic_flush_buffer): Likewise. | |
765 | * c-pretty-print.h: (pp_c_string_literal): Declare. | |
766 | (pp_c_real_literal): Likewise. | |
767 | (pp_c_integer_literal): Likewise. | |
768 | * c-pretty-print.c (pp_c_char): Use pp_string in lieu of | |
fdc49e10 | 769 | pp_identifier. |
e1a4dd13 GDR |
770 | (pp_c_character_literal): Tidy. |
771 | (pp_c_string_literal): Make public. | |
772 | (pp_c_bool_literal): Likewise. | |
773 | (pp_c_integer_literal): Likewise. | |
774 | (pp_c_real_literal): Likewise. | |
775 | ||
776 | * Makefile.in (C_PRETTY_PRINT_H): New variable. | |
777 | (c-pretty-print.o): Update dependence. | |
778 | ||
8c98b170 CD |
779 | 2003-08-05 Chris Demetriou <cgd@broadcom.com> |
780 | ||
781 | * config/mips/mips.md (fix_truncdfsi2_macro): Properly restore | |
782 | ".set nomacro" state. | |
783 | (fix_truncsfsi2_macro): Likewise. | |
784 | ||
b3c3af2f SB |
785 | 2003-08-05 Steven Bosscher <steven@gcc.gnu.org> |
786 | ||
787 | * tree.h (DID_INLINE_FUNC): Remove macro. | |
788 | (DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h, | |
789 | add tree check for FUNCTION_DECL. | |
790 | (DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h. | |
791 | (struct tree_decl): Rename inlined_function_flag to | |
792 | declared_inline_flag. | |
793 | * c-common.h (c_lang_decl): Remove. | |
794 | (DECL_ESTIMATED_INSNS): Remove. | |
795 | * c-tree.h (struct lang_decl): Don't include c_lang_decl. | |
796 | (DECL_DECLARED_INLINE_P): Remove. | |
797 | * c-decl.c (grokdeclarator): Update comment. With -finline-functions, | |
798 | do not reset DECL_DECLARED_INLINE_P. Don't use DID_INLINE_FUNC. | |
799 | (finish_function): Make uninlinable a bool. Fixup call to | |
800 | tree_inlinable_function_p() and fix some code style issues. | |
801 | * cgraph.h (disgread_inline_limits): Fix spelling: `disregard'. | |
802 | * cgraph.c (dump_cgraph): Likewise. | |
803 | * cgraphunit.c (cgraph_decide_inlining): Likewise | |
804 | (cgraph_finalize_compilation_unit): Likewise. | |
805 | Also update call to tree_inlinable_function_p(). | |
806 | (cgraph_default_inline_p): Don't use DID_INLINE_FUNC. Instead | |
807 | look at DECL_DECLARED_INLINE and reverse logic. | |
808 | * print-tree.c (print_node): Likewise. | |
809 | * toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC. | |
810 | * tree-inline.h (tree_inlinable_function_p): Make a bool. Update | |
811 | prototype. | |
812 | * tree-inline.c (inlinable_function_p): Split up in this function to | |
813 | check for basic inlining inhibiting conditions, and new | |
814 | limits_allow_inlining() function. Warn if inlining is impossible | |
815 | because the inline candidate calls alloca or uses sjlj exceptions. | |
816 | (limits_allow_inlining): this new function to check if the inlining | |
817 | limits are satisfied. Throttle from currfn_max_inline_insns, not from | |
818 | MAX_INLINE_INSNS_SINGLE. The latter only makes sense if | |
819 | MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal. | |
820 | Update prototypes. | |
821 | (tree_inlinable_function_p): Make a bool. Update call to | |
822 | inlinable_function_p | |
823 | (expand_call_inline): Use limits_allow_inlining() when not in | |
824 | unit-at-a-time mode to decide on inlining. Don't use DID_INLINE_FUNC, | |
825 | instead see if the function was declared `inline'. | |
826 | ||
ed8395a0 JZ |
827 | 2003-08-05 Josef Zlomek <zlomekj@suse.cz> |
828 | ||
829 | * gcse.c (try_replace_reg): Fix updating of note. | |
830 | ||
02a1994c RS |
831 | 2003-08-04 Roger Sayle <roger@eyesopen.com> |
832 | ||
833 | PR middle-end/11771 | |
834 | * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the | |
835 | logic in negate_expr, i.e. we don't invert (A-B) for floating | |
836 | point types unless flag_unsafe_math_optimizations. | |
837 | ||
f2593a66 RS |
838 | 2003-08-04 Roger Sayle <roger@eyesopen.com> |
839 | ||
840 | * fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0. | |
841 | Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2) | |
842 | for floating point expressions with -ffast-math. | |
843 | (fold <MULT_EXPR>): Don't transform x*2.0 into x+x. | |
844 | * expmed.c (expand_mult): Wrap long line. Expand x*2.0 as x+x. | |
845 | ||
03aa99d4 RS |
846 | 2003-08-04 Roger Sayle <roger@eyesopen.com> |
847 | ||
848 | * c-common.c (flag_noniso_default_format_attributes): Delete. | |
849 | (built_in_attribute): Don't define/undefine DEF_FN_ATTR. | |
850 | (c_attrs_initialized): Delete. | |
851 | (c_common_nodes_and_builtins): Don't test c_attrs_initialized, | |
852 | always call c_init_attributes. | |
853 | (c_init_attributes): Don't define/undefine DEF_FN_ATTR. Don't | |
854 | set c_attrs_initialized when done. | |
855 | (c_common_insert_default_attributes): Delete. | |
856 | * c-common.h (flag_noniso_default_format_attributes): Delete. | |
857 | (c_coomon_insert_default_attributes): Delete prototype. | |
858 | * c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set | |
859 | flag_noniso_default_format_attributes. | |
860 | ||
861 | * c-decl.c (c_insert_default_attributes): Delete. | |
862 | * c-tree.h (c_insert_default_attributes): Delete prototype. | |
863 | ||
864 | * attribs.c (decl_attributes): Don't call insert_default_attributes | |
865 | langhook. Update function description comment. | |
866 | * langhooks.h (lang_hooks): Remove insert_default_attributes field. | |
867 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete. | |
868 | * c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define. | |
869 | * system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro. | |
870 | ||
871 | * objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't | |
872 | define. | |
873 | ||
38e596df RS |
874 | 2003-08-04 Richard Sandiford <rsandif@redhat.com> |
875 | ||
876 | * config/mips/mips.c (override_options): Disable -G on targets that | |
877 | have no .section support. | |
878 | (mips_select_section): Use default_select_section for such targets. | |
879 | ||
76d2e2c5 NN |
880 | 2003-08-04 Nathanael Nerode <neroden@gcc.gnu.org> |
881 | ||
882 | * fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable. | |
883 | * fixinc/inclhack.def (static_getrnge): Remove disabled hack. | |
884 | * fixinc/fixincl.x: Rebuild. | |
885 | * fixinc/tests/base/regexp.h: New test. | |
886 | ||
b2734c68 AO |
887 | 2003-08-04 Alexandre Oliva <aoliva@redhat.com> |
888 | ||
889 | * c-ppoutput.c (cb_line_change): Don't skip line changing while | |
890 | parsing macro arguments in the top-level context. | |
891 | ||
4e87a651 NB |
892 | 2003-08-04 Neil Booth <neil@daikokuya.co.uk> |
893 | ||
894 | * config.in: Remove HAVE_LSTAT. | |
895 | * configure, configure.in: Don't test for lstat. | |
896 | ||
21ecc5a7 GDR |
897 | 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
898 | ||
899 | * opts.c (decode_options): Do language-specific initialization for | |
900 | the global diagnostic context. | |
901 | * langhooks-def.h (lhd_initialize_diagnostics): Declare. | |
902 | (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro. | |
903 | (LANG_HOOKS_INITIALIZER): Adjust. | |
fdc49e10 ZW |
904 | * langhooks.h (struct lang_hooks): Add new field |
905 | initialize_diagnostics. | |
21ecc5a7 GDR |
906 | * langhooks.c (lhd_initialize_diagnostics): Define. |
907 | ||
908 | 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
909 | ||
910 | * pretty-print.h: Adjust macro definitions. | |
911 | * pretty-print.c (pp_newline): Rename to pp_base_newline. | |
912 | (pp_character): Rename to pp_base_character. | |
913 | (pp_string): Rename to pp_base_string. | |
914 | * c-pretty-print.c (pp_buffer): Move to pretty-print.h | |
915 | (pp_newline): Likewise. Adjust. | |
916 | (pp_c_char): Adjust. | |
917 | ||
d82f81dd KG |
918 | 2003-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
919 | ||
920 | * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS, | |
921 | BUILT_IN_LLABS): Move to miscellaneous section. | |
922 | ||
335d03ec NB |
923 | 2003-08-03 Neil Booth <neil@daikokuya.co.uk> |
924 | ||
cb6eb88a | 925 | PR preprocessor/11534 |
335d03ec NB |
926 | * cppexp.c (parse_defined): Warn only if -pedantic. |
927 | ||
76bf2c97 NB |
928 | 2003-08-03 Neil Booth <neil@daikokuya.co.uk> |
929 | ||
930 | * cppfiles.c (stack_file): Use file path. | |
931 | ||
178b2b9f RS |
932 | 2003-08-02 Roger Sayle <roger@eyesopen.com> |
933 | ||
934 | * builtin-types.def (BT_SSIZE): New primitive type. | |
935 | (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG, | |
936 | BT_FN_STRING_CONST_STRING_CONST_STRING_INT, | |
937 | BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR, | |
938 | BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types. | |
939 | * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT, | |
940 | BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON, | |
941 | BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins. | |
942 | * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last | |
943 | few functions that define default attributes using it. | |
944 | * c-common.c (c_common_insert_default_attributes): Do nothing. | |
945 | ||
946 | * doc/extend.texi: Document these "new" builtins. | |
947 | ||
469146c1 KK |
948 | 2003-08-02 Kaz Kojima <kkojima@gcc.gnu.org> |
949 | ||
950 | * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath. | |
951 | (LIB_SPEC): Set -lpthread always when -pthread set. Set -lieee | |
952 | when -mieee-fp set and -shared not set. | |
953 | (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5. | |
954 | ||
49634b3a NB |
955 | 2003-08-02 Neil Booth <neil@daikokuya.co.uk> |
956 | ||
957 | * cppfiles.c (struct _cpp_file): Rename once_only_next to | |
958 | next_file. Remove import and pragma_once, add once_only. | |
959 | (find_file): Add new file structures to the all_files list. | |
960 | (should_stack_file): Mark #import-ed files once-only, and | |
961 | don't stack them if the file has already been stacked. | |
962 | (_cp_mark_file_once_only): Simplify. | |
963 | * cpphash.h (struct cpp_reader): Rename once_only_files | |
964 | to all_files. Rename saw_pragma_once to seen_once_only. | |
965 | (_cpp_mark_file_once_only): Update prototype. | |
966 | * cpplib.c (do_pragma_once): Update. | |
967 | ||
cf1ee30c NB |
968 | 2003-08-02 Neil Booth <neil@daikokuya.co.uk> |
969 | ||
970 | * cppfiles.c (ENOTDIR): Remove. | |
971 | (open_file_in_dir): Rename find_file_in_dir. Handle errors | |
972 | other than ENOENT here. | |
973 | (once_only_file_p): Rename should_stack_file. | |
974 | (find_file, open_file_failed, read_file_guts): Report errors | |
975 | with full path name. | |
976 | (read_file): Move pch handling to should_stack_file. | |
977 | (should_stack_file): Handle PCH and once-only issues, and | |
978 | reading the file. | |
979 | (stack_file): Don't do file reads. | |
980 | ||
50612a04 ZD |
981 | 2003-08-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
982 | ||
983 | * libgcov.c (gcov_exit): Cleanup and fix. | |
984 | * profile.c (compute_value_histograms): Don't try to read profiles | |
985 | that are not present. | |
986 | ||
f6a46818 KG |
987 | 2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
988 | ||
f53b62e1 KG |
989 | * builtins.def: Categorize. |
990 | ||
f6a46818 KG |
991 | * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL): |
992 | Mind fp rounding. | |
993 | (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN. | |
994 | ||
12550591 AT |
995 | 2003-08-02 Andreas Tobler <a.tobler@schweiz.ch> |
996 | ||
997 | * config.gcc: Enable posix threads by default on darwin. | |
998 | ||
5f77fbd4 JJ |
999 | 2003-08-01 Jakub Jelinek <jakub@redhat.com> |
1000 | ||
1001 | * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes | |
1002 | even if nehedges1 is 0. | |
1003 | ||
f4dbf936 NN |
1004 | 2003-08-01 Nathanael Nerode <neroden@gcc.gnu.org> |
1005 | ||
1006 | * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h, | |
1007 | fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c, | |
1008 | fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes | |
1009 | and defintions. | |
1010 | ||
1011 | * fixinc/inclhack.def (broken_cabs): Make matching more generous. | |
1012 | * fixinc/fixincl.x: Regenerate. | |
1013 | * fixinc/tests/base/math.h: Regenerate to match test_text change. | |
1014 | ||
c76becbd RO |
1015 | 2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1016 | ||
1017 | * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *. | |
1018 | ||
f920765d RK |
1019 | 2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1020 | ||
1021 | * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode, | |
1022 | for accesses to exc_ptr. | |
1023 | ||
8e5f33ff GK |
1024 | 2003-08-01 Geoffrey Keating <geoffk@apple.com> |
1025 | ||
1026 | * doc/sourcebuild.texi (Front End Directory): Don't make references | |
1027 | to libsubdir, it's not part of the interface to frontends. | |
1028 | * doc/install.texi (Configuration): Help users read faster by saying | |
1029 | that GCC's configure options are the standard autoconf ones. | |
1030 | Mention --libdir. Update the default rules for finding the | |
1031 | assembler. Don't use libsubdir since we haven't said what it means. | |
1032 | (Specific): In the Solaris 7 notes, update the place to put the | |
1033 | assembler. | |
1034 | * doc/invoke.texi: Update lib/gcc-lib to lib/gcc. | |
1035 | * doc/cpp.texi (Search Path): Actually, the search path | |
1036 | depends on libdir, which can relocate with cpp. | |
1037 | * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's | |
1038 | now a private interface between the Makefile and the driver. | |
1039 | ||
75c20980 RH |
1040 | 2003-08-01 Richard Henderson <rth@redhat.com> |
1041 | ||
1042 | * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR. | |
1043 | ||
1044 | * varasm.c (lookup_constant_def): New function. | |
1045 | * rtl.h (lookup_constant_def): Declare it. | |
fdc49e10 | 1046 | * dwarf2out.c (loc_descriptor_from_tree): Use it. |
75c20980 RH |
1047 | Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR. |
1048 | ||
f91f41b2 ZW |
1049 | 2003-08-01 Zack Weinberg <zack@codesourcery.com> |
1050 | ||
1051 | * c-decl.c (gettags, pushdecl_function_level): Delete. | |
1052 | (last_function_parm_vars): Rename last_function_parm_others. | |
1053 | (current_function_parm_vars): Rename current_function_parm_others. | |
1054 | (struct c_scope): Rewrite comment explaining this data structure. | |
1055 | Add names_last, blocks_last, parms_last fields. Rename | |
1056 | incomplete_list to incomplete. | |
1057 | (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros. | |
1058 | (poplevel): Ignore second argument. No need to nreverse | |
1059 | anything. Restructure such that each list is processed | |
1060 | exactly once. Use 'const location_t *locus' syntactic sugar | |
1061 | variable where useful. Issue unused variable warnings | |
1062 | ourselves, do not rely on function.c. | |
1063 | (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND. | |
1064 | (pushdecl_top_level): Likewise. Don't call duplicate_decls. | |
1065 | (implicitly_declare): decl cannot be error_mark_node. | |
1066 | (undeclared_variable): Manipulate scope structure directly. | |
1067 | (c_make_fname_decl): Likewise. | |
1068 | (getdecls, c_init_decl_processing): Fix comment. | |
1069 | (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT. No need | |
1070 | for 'last' variable. | |
1071 | (grokparms): No need to nreverse parms list. | |
1072 | (store_parm_decls_newstyle): Set up the parms_last and | |
1073 | names_last fields of the new scope too. | |
1074 | (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set | |
1075 | on parms to begin with; check this under ENABLE_CHECKING. Set | |
1076 | up parms_last. | |
1077 | (check_for_loop_decls): Refer directly to current_scope->tags. | |
1078 | Use consistent quote style in diagnostics. | |
1079 | (c_write_global_declarations): The names list is not backward. | |
1080 | ||
1081 | * c-common.h: Don't prototype gettags. | |
1082 | * c-parse.in: Call poplevel with second argument 0 always. | |
1083 | ||
a8eb1db5 KG |
1084 | 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1085 | ||
1086 | * builtins.def: Resort builtins. | |
1087 | ||
da7cfe13 KG |
1088 | 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1089 | ||
1090 | * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN, | |
1091 | DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN): | |
1092 | Prepend "__builtin_" onto NAME with string concatenation. Remove | |
1093 | explicit "__builtin_" from each macro call. | |
1094 | ||
1095 | Reformat entire file. | |
1096 | ||
ea8eb0b9 KG |
1097 | 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1098 | ||
1099 | * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING, | |
1100 | ATTR_MATHFN_FPROUNDING_ERRNO): New macros. Use throughout. | |
1101 | ||
61152e48 | 1102 | 2003-08-01 Andreas Krebbel <krebbel1@de.ibm.com> |
3ef093a8 AK |
1103 | |
1104 | * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL, | |
1105 | CCL1, or CCL2 modes with floating point operations. | |
1106 | ||
1107 | * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc", | |
1108 | "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc", | |
1109 | "*subdf3_cconly"): New insns. | |
1110 | ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise. | |
1111 | ||
bf42e45b NB |
1112 | 2003-08-01 Neil Booth <neil@daikokuya.co.uk> |
1113 | ||
1114 | * Makefile.in: Refine dependencies. | |
1115 | * c-opts.c (c_common_handle_option): Do nothing for -Wimport. | |
1116 | * c.opt: Update help for -Wimport. | |
1117 | * cppfiles.c: Include hashtab.h. Update comments. | |
1118 | (stack_file): Read the file before updating dependencies. | |
1119 | (once_only_file_p): Be smarter about marking once-only files. | |
1120 | (_cpp_mark_file_once_only): Correct the check for existence on | |
1121 | the list. | |
1122 | (open_file_failed): Use name not path, which is NULL. | |
1123 | * cpphash.h: Don't include hashtab.h. | |
1124 | (struct _cpp_file): Remove. | |
1125 | (struct cpp_reader): Update. | |
1126 | * cppinit.c (cpp_create_reader): Don't initialize warn_import. | |
1127 | * cpplib.h (struct cpp_options): Remove warn_import. | |
1128 | (cpp_simplify_path): Remove. | |
1129 | ||
a5bcc582 NS |
1130 | 2003-08-01 Nathan Sidwell <nathan@codesourcery.com> |
1131 | ||
1132 | PR c++/11295 | |
1133 | * doc/extend.texi (Statement Expressions): Document C++ semantics. | |
1134 | ||
2fdd01a0 ST |
1135 | 2003-07-31 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
1136 | ||
1137 | * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le. | |
1138 | ||
3c260e1d KG |
1139 | 2003-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1140 | ||
1141 | * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE' | |
1142 | throughout. | |
1143 | * builtins.def: Likewise. | |
1144 | ||
40209195 JM |
1145 | 2003-07-31 Jason Merrill <jason@redhat.com> |
1146 | ||
1147 | * Makefile.in (bubblestrap): Don't require a previous full | |
1148 | bootstrap. | |
1149 | ||
1150 | * expr.c (mostly_zeros_p): No longer static. | |
1151 | * tree.h: Declare it. | |
1152 | * stmt.c (resolve_asm_operand_names): Don't copy the pattern | |
1153 | unless we need to do substitutions. | |
1154 | ||
2598550f RS |
1155 | 2003-07-31 Roger Sayle <roger@eyesopen.com> |
1156 | ||
1157 | * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and | |
1158 | pow(x,c)*x as pow(x,c+1) for constant values c. Optimize x*x | |
1159 | as pow(x,2.0) when the latter will be expanded back into x*x. | |
1160 | (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1). | |
1161 | * builtins.c (expand_builtin_pow): Ignore flag_errno_math as | |
1162 | pow can never set errno when used with an integer exponent. | |
1163 | Always use expand_powi when exponent is -1, 0, 1 or 2. | |
1164 | (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0) | |
1165 | as 1.0/(x*x). This avoids unbounded recursion as we now prefer | |
1166 | the pow forms of these expressions. | |
1167 | ||
a8ee6e2d GK |
1168 | 2003-07-31 Geoffrey Keating <geoffk@apple.com> |
1169 | ||
1170 | * Makefile.in (libexecdir): New. | |
1171 | (libsubdir): Use gcc instead of gcc-lib. | |
1172 | (libexecsubdir): New. | |
1173 | (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir. | |
1174 | (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of | |
1175 | gcc-lib. | |
1176 | (installdirs): Make libexecsubdir. | |
1177 | (install-common): Put executables in libexecsubdir. | |
1178 | (itoolsdir): Use libexecsubdir. | |
1179 | (itoolsdatadir): New. | |
1180 | (install-mkheaders): Separate data files and executables. | |
1181 | (install-collect2): Put executables in libexecsubdir. | |
1182 | (uninstall): Remove libexecsubdir. | |
1183 | * mkheaders.in: Update for new arrangement of files. | |
1184 | (libexecdir): New. | |
1185 | (libexecsubdir): New. | |
1186 | (itoolsdir): Use libexecsubdir. | |
1187 | (itoolsdatadir): New. | |
1188 | * gcc.c (gcc_libexec_prefix): New. | |
1189 | (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib. | |
1190 | (standard_exec_prefix_1): Use libexec. | |
1191 | (standard_exec_prefix_2): New. | |
1192 | (standard_libexec_prefix): New. | |
1193 | (process_command): Update for new arrangement of files. Compute | |
1194 | gcc_libexec_prefix. Update for change from gcc-lib to gcc. | |
1195 | ||
631099c9 NN |
1196 | 2003-07-31 Nathanael Nerode <neroden@gcc.gnu.org> |
1197 | ||
1198 | * inclhack.def (stdio_va_list): Avoid bogus replacement which | |
1199 | triggers on Interix. | |
1200 | * fixincl.x: Regenerate. | |
1201 | ||
a132b6a8 JJ |
1202 | 2003-07-31 Jakub Jelinek <jakub@redhat.com> |
1203 | ||
1204 | * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS | |
1205 | SYMBOL_REFs not inside UNSPEC even in PLUS rtx. | |
1206 | ||
c67b2a58 RK |
1207 | 2003-07-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1208 | ||
1209 | * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case. | |
1210 | ||
40e941af PB |
1211 | 2003-07-31 Per Bothner <pbothner@apple.com> |
1212 | ||
1213 | * opts.c (in_fnames, num_in_fnames): Moved here from c-opts. | |
1214 | (add_input_filename): New function. | |
1215 | (handle_options): Call add_input_filename directly instead of | |
1216 | with a lang hook. | |
1217 | * opts.h (in_fnames, num_in_fnames): Moved here. | |
1218 | (add_input_filename): Declare. | |
1219 | * c-decl.c: Need to #include opts.h. | |
1220 | * Makefile.in (c-decl.o): Also depends on opts.h. | |
1221 | * c-opts.c (in_fnames, num_in_fnames): Moved to opts.c. | |
1222 | (c_common_handle_filename): Replaced by add_input_filename. | |
1223 | * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename): | |
1224 | Remove. | |
1225 | * langhooks.h (struct lang_hooks): Remove handle_filename hook. | |
1226 | * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME): Remove macro. | |
1227 | (LANG_HOOKS_INITIALIZER): Remove use of LANG_HOOKS_HANDLE_FILENAME. | |
1228 | * c-lang.c (LANG_HOOKS_HANDLE_FILENAME): Remove macro. | |
1229 | ||
9143c6b7 ZD |
1230 | 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1231 | ||
1232 | * combine.c (try_combine): Set JUMP_LABEL for newly created | |
1233 | unconditional jump. | |
1234 | ||
b7de5864 ZD |
1235 | 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1236 | ||
1237 | * fold-const.c (fold): Fold some comparisons of bit operations. | |
1238 | ||
fdacb904 JH |
1239 | Thu Jul 31 19:49:53 CEST 2003 Jan Hubicka <jh@suse.cz> |
1240 | ||
1241 | * cgraph.c (create_edge): Fix typo. | |
1242 | * i386.c (pic_symbolic_operand): Reorder tests. | |
1243 | ||
8100063e NS |
1244 | 2003-07-31 Nathan Sidwell <nathan@codesourcery.com> |
1245 | ||
1246 | * doc/gcov.texi (Invoking Gcov): Describe output name mangling | |
1247 | more fully. | |
1248 | (Gcov Data Files): Update. | |
1249 | ||
2a4e8ebc RO |
1250 | 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1251 | ||
1252 | * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by | |
1253 | default. | |
1254 | ||
1255 | * gthr-posix.c: New file. | |
1256 | * gthr-posix.h: Define _REENTRANT if missing. | |
1257 | Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK. | |
1258 | ||
1259 | * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided | |
1260 | by gthr-posix.o. | |
1261 | * config/alpha/t-osf-pthread: New file. | |
1262 | ||
1263 | * fixinc/inclhack.def (alpha_pthread): New fix. | |
1264 | * fixinc/fixincl.x: Regenerate. | |
1265 | * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase. | |
1266 | ||
1267 | * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads | |
1268 | warning. | |
1269 | Fixes PR bootstrap/9330. | |
1270 | ||
689a714d RO |
1271 | 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1272 | ||
1273 | * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5* | |
1274 | without GNU ld. | |
1275 | Update comment. | |
1276 | * configure: Regenerate. | |
1277 | ||
caf819ae VM |
1278 | 2003-07-31 Vladimir Makarov <vmakarov@redhat.com> |
1279 | ||
f91f41b2 ZW |
1280 | * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0 |
1281 | setter. | |
caf819ae | 1282 | |
1aa0a5f6 RS |
1283 | 2003-07-30 Roger Sayle <roger@eyesopen.com> |
1284 | ||
1285 | * builtins.def: Alphabetize. | |
1286 | ||
4bd0bee9 MK |
1287 | 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu> |
1288 | ||
1289 | * doc/c-tree.texi: Normalize spellings of "lowercase" and | |
1290 | "uppercase". | |
1291 | * doc/cpp.texi: Likewise. | |
1292 | * doc/md.texi: Likewise. | |
1293 | * doc/rtl.texi: Likewise. | |
1294 | * doc/tm.texi: Likewise. | |
1295 | ||
7f02cb5c MK |
1296 | 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu> |
1297 | ||
1298 | * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3) | |
1299 | (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves | |
1300 | of cc1obj. | |
1301 | ||
498887c8 CD |
1302 | 2003-07-30 Chris Demetriou <cgd@broadcom.com> |
1303 | ||
1304 | * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these | |
1305 | macros before defining them. | |
1306 | ||
10bbf137 UW |
1307 | 2003-07-31 Ulrich Weigand <uweigand@de.ibm.com> |
1308 | ||
f91f41b2 | 1309 | * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH, |
10bbf137 UW |
1310 | UNSPECV_BLOCKAGE): New constants. |
1311 | ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31", | |
1312 | "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2" | |
1313 | splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee", | |
1314 | "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them. | |
1315 | ||
1316 | (all insns and expanders): Write output control string as brace block | |
1317 | where appropriate. Remove \-escapes for doublequote characters. | |
1318 | ||
3f2eae23 JH |
1319 | Thu Jul 31 01:04:19 CEST 2003 Jan Hubicka <jh@suse.cz> |
1320 | ||
1321 | * gcse.c (insert_store): Fix typo in previous patch. | |
1322 | ||
f0babc9a NB |
1323 | 2003-07-30 Neil Booth <neil@daikokuya.co.uk> |
1324 | ||
1325 | * cppfiles.c (stack_file, open_file_failed): Use path for deps. | |
1326 | ||
edeac5de AK |
1327 | 2003-07-30 Andi Kleen <ak@muc.de> |
1328 | ||
1329 | * loop.c (check_dbra_loop): Allow LTU in the loop condition. | |
1330 | ||
6e885ee3 ZD |
1331 | 2003-07-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1332 | ||
1333 | * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes. | |
1334 | * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER, | |
1335 | GCOV_N_VALUE_COUNTERS): New. | |
1336 | * profile.c (compute_value_histograms): New static function. | |
1337 | (branch_prob): Read back the value histograms. | |
1338 | * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note. | |
1339 | * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note. | |
1340 | * value-prof.c: Add comment on reading the profile. | |
1341 | * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New. | |
1342 | * doc/invoke.texi (-fprofile-values): Document behavior with | |
1343 | -fbranch-probabilities. | |
1344 | ||
0e6cb2cb DE |
1345 | 2003-07-30 David Edelsohn <edelsohn@gnu.org> |
1346 | ||
1347 | * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__. | |
1348 | ||
656ec3b1 UW |
1349 | 2003-07-30 Ulrich Weigand <uweigand@de.ibm.com> |
1350 | ||
1351 | * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset | |
1352 | symbolically. | |
1353 | ||
a0c8285b JH |
1354 | Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka <jh@suse.cz> |
1355 | ||
1356 | * gcse.c (insert_store): Ignore fake edges. | |
1357 | ||
1358 | * c-common.c (flag_vtable_gc): Kill. | |
1359 | * c-common.g (flag_vtable_gc): Kill. | |
1360 | * c-opts (c_common_handle_option): Kill. | |
1361 | * c.opt (fvtable-gc): Kill. | |
1362 | * final.c (final_scan_insn): Do not call assemble_vtable_entry. | |
1363 | * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill. | |
1364 | * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill. | |
1365 | ||
1366 | * invoke.texi (-ftable-gc): Kill documentation. | |
1367 | ||
1368 | * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE | |
1369 | just because function body is missing. | |
1370 | ||
1371 | * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs. | |
1372 | ||
b2e863b8 RM |
1373 | 2003-07-30 Ranjit Mathew <rmathew@hotmail.com> |
1374 | ||
1375 | * unwind-sjlj.c: Fix typo in file description. | |
1376 | ||
9206d736 AM |
1377 | 2003-07-30 Alan Modra <amodra@bigpond.net.au> |
1378 | ||
1379 | * calls.c (load_register_parameters): When shifting reg sized values | |
1380 | to the msb, move the value to a reg first. | |
1381 | ||
9074464c GK |
1382 | 2003-07-29 Geoffrey Keating <geoffk@apple.com> |
1383 | ||
1384 | * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>". | |
1385 | * line-map.h (linemap_add): Update comments. | |
1386 | * line-map.c (linemap_add): Update comments, interpret zero-length | |
1387 | filename as "<stdin>". | |
1388 | ||
e55e4f68 NN |
1389 | 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org> |
1390 | ||
1391 | * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version. | |
1392 | ||
55d54003 ZW |
1393 | 2003-07-29 Zack Weinberg <zack@codesourcery.com> |
1394 | ||
1395 | * c-decl.c (last_function_parm_vars, current_function_parm_vars): | |
1396 | New static variables. | |
1397 | (struct c_scope): Add parms and warned_forward_parm_decls | |
1398 | fields; remove parm_order. | |
1399 | (storedecls, storetags): Delete. | |
1400 | (poplevel): Also clear bindings on the parms chain. | |
1401 | (pushdecl): Handle forward declarations of parameters, and | |
1402 | chain PARM_DECLs on the parms list, not the names list. | |
1403 | (lookup_name_current_level): Check for PARM_DECLs on the parms | |
1404 | list too. | |
1405 | (push_parm_decl): Don't update parm_order. | |
1406 | (clear_parm_order): Rename mark_forward_parm_decls. Issue the | |
1407 | warning, only once per parameter list, and set TREE_ASM_WRITTEN | |
1408 | on the decls here. Then move the forward decls to the names list. | |
1409 | (grokparms): Set last_function_parm_vars. | |
1410 | (get_parm_info): Don't use gettags or getdecls. No need to | |
1411 | extract non-parms from the parms list, or reorganize the parms | |
1412 | list. Feed nonparms back in the TREE_TYPE of the list node | |
1413 | returned. Issue only one error per parameter list for "void" | |
1414 | appearing more than once in said parameter list. Collapse | |
1415 | parmlist_tags_warning into this function to avoid double scan | |
1416 | of tags list. | |
1417 | (start_function): Set current_function_parm_vars. | |
1418 | (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope | |
1419 | directly. Get non-parms from current_function_parm_vars; no | |
1420 | need to extract them from the parms chain. Properly bind tags | |
1421 | in the new scope. | |
1422 | (store_parm_decls_oldstyle): No need to extract non-parameters | |
1423 | from the parms chain, nor to store them back afterward. Move | |
1424 | declaration to top of function, restructure code reordering | |
1425 | DECL_ARGUMENTS. | |
1426 | (store_parm_decls): No need to save and restore warn_shadow. | |
1427 | * c-parse.in: Don't call parmlist_tags_warning nor | |
1428 | clear_parm_order. Call mark_forward_parm_decls when forward | |
1429 | parm decls are encountered. | |
1430 | * c-tree.h: Prototype mark_forward_parm_decls; not | |
1431 | clear_parm_order or parmlist_tags_warning. | |
1432 | ||
18c81520 GK |
1433 | 2003-07-29 Geoffrey Keating <geoffk@apple.com> |
1434 | ||
1435 | * c-common.c (allow_pch): Remove. | |
1436 | * c-common.h (allow_pch): Remove. | |
1437 | (c_common_no_more_pch): Declare. | |
1438 | * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate. | |
1439 | * c-pch.c: Include hosthooks.h. | |
1440 | (c_common_valid_pch): Don't check allow_pch. | |
1441 | (c_common_read_pch): Clear valid_pch to prevent reading PCH files. | |
1442 | (c_common_no_more_pch): New. | |
1443 | * ggc-common.c: Include hosthooks.h. | |
1444 | (gt_pch_save): Call gt_pch_get_address. | |
1445 | (gt_pch_restore): Call gt_pch_use_address. | |
1446 | * hooks.c (hook_voidp_size_t_null): New. | |
1447 | (hook_bool_voidp_size_t_false): New. | |
1448 | * hooks.h (hook_voidp_size_t_null): New. | |
1449 | (hook_bool_voidp_size_t_false): New. | |
1450 | * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New. | |
1451 | (HOST_HOOKS_GT_PCH_USE_ADDRESS): New. | |
1452 | (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS, | |
1453 | HOST_HOOKS_GT_PCH_USE_ADDRESS. | |
1454 | * hosthooks.h (struct host_hooks): Add gt_pch_get_address, | |
1455 | gt_pch_use_address. | |
1456 | * doc/hostconfig.texi (Host Common): Document | |
1457 | HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS. | |
1458 | * Makefile.in (c-pch.o): Depend on hosthooks.h. | |
1459 | (ggc-common.o): Likewise. | |
1460 | ||
1461 | * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define. | |
1462 | (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define. | |
1463 | (pch_address_space): New. | |
1464 | (darwin_rs6000_gt_pch_get_address): New. | |
1465 | (darwin_rs6000_gt_pch_use_address): New. | |
1466 | ||
8f9b4009 NB |
1467 | 2003-07-29 Neil Booth <neil@daikokuya.co.uk> |
1468 | ||
cb6eb88a NB |
1469 | PR preprocessor/11569 |
1470 | PR preprocessor/11649 | |
8f9b4009 NB |
1471 | * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H. |
1472 | * cppfiles.c: Completely rewritten. | |
1473 | * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path): | |
1474 | struct cpp_path is now struct cpp_dir. | |
1475 | (remove_duplicates): Don't simplify path names. | |
1476 | * c-opts.c (c_common_parse_file): cpp_read_next_file renamed | |
1477 | cpp_stack_file. | |
1478 | * cpphash.h: Include hashtab.h. | |
1479 | (_cpp_file): Declare. | |
1480 | (struct cpp_buffer): struct include_file is now struct _cpp_file, | |
1481 | and struct cpp_path is now struct cpp_dir. Rename members. | |
1482 | (struct cpp_reader): Similarly. New members once_only_files, | |
1483 | file_hash, file_hash_entries, quote_ignores_source_dir, | |
1484 | no_search_path, saw_pragma_once. Remove all_include_files and | |
1485 | max_include_len. Make some members bool. | |
1486 | (_cpp_mark_only_only): Renamed from _cpp_never_reread. | |
1487 | (_cpp_stack_file): Renamed from _cpp_read_file. | |
1488 | (_cpp_stack_include): Renamed from _cpp_execute_include. | |
1489 | (_cpp_init_files): Renamed from _cpp_init_includes. | |
1490 | (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes. | |
1491 | * cppinit.c (cpp_create_reader): Initialize no_search_path. Update. | |
1492 | (cpp_read_next_file): Rename and move to cppfiles.c. | |
1493 | (cpp_read_main_file): Update. | |
1494 | * cpplib.c (run_directive): Update for renamed members. | |
1495 | (do_include_common, _cpp_pop_buffer): Update. | |
1496 | (do_import): Undeprecate #import. | |
1497 | (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only. | |
1498 | * cpplib.h: Remove file_name_map_list. | |
1499 | (cpp_options): Remove map_list. | |
1500 | (cpp_dir): Rename from cpp_path. New datatype for name_map. | |
1501 | (cpp_set_include_chains, cpp_stack_file, cpp_included): Update. | |
1502 | ||
a6400add PE |
1503 | 2003-07-29 Phil Edwards <pme@gcc.gnu.org> |
1504 | ||
1505 | * Makefile.in: Make stamp-objdir safe for parallel builds. | |
1506 | ||
b2790407 PE |
1507 | 2003-07-29 Phil Edwards <pme@gcc.gnu.org> |
1508 | ||
1509 | * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists. | |
1510 | (info): Depend on stmp-docobjdir. | |
1511 | ||
8e3940b2 RO |
1512 | 2003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1513 | ||
1514 | * configure: Regenerate. | |
1515 | ||
987bf56f JH |
1516 | Tue Jul 29 19:24:49 CEST 2003 Jan Hubicka <jh@suse.cz> |
1517 | ||
1518 | PR C++/11131 | |
1519 | * tree-inline.c (expand_call_inline): Always call inlinable_function_p | |
1520 | in !unit-at-a-time mode. | |
1521 | ||
5f0eabcc GK |
1522 | 2003-07-28 Geoffrey Keating <geoffk@apple.com> |
1523 | ||
1524 | * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect | |
1525 | main function. | |
1526 | ||
7b6d72fc MM |
1527 | 2003-07-28 Mark Mitchell <mark@codesourcery.com> |
1528 | ||
1529 | PR c++/11667 | |
1530 | * c-common.c (shorten_compare): Take into account differences | |
1531 | between C and C++ representation for enumeration types. | |
1532 | * tree.h (set_min_and_max_values_for_integral_type): Declare. | |
1533 | * stor-layout.c (set_min_and_max_values_for_integral_type): New | |
1534 | function, broken out from ... | |
1535 | (fixup_signed_type): ... here and ... | |
1536 | (fixup_unsigned_type): ... here. | |
1537 | ||
14077d68 ZW |
1538 | 2003-07-28 Zack Weinberg <zack@codesourcery.com> |
1539 | ||
1540 | * c-decl.c: Update commentary, adjust blank lines throughout. | |
1541 | (struct c_scope): Fix indentation. Reorder members so | |
1542 | outer-context pointers come first, booleans last. | |
1543 | (duplicate_decls, define_label): Use a 'locus' variable for | |
1544 | diagnostic locations in a few more places. | |
1545 | (warn_if_shadowing): Un-split a conditional that fits on one line. | |
1546 | (c_init_decl_processing): No need to clear current_scope and | |
1547 | current_function_scope. | |
1548 | (start_decl): Merge if/else if statements with same action. | |
1549 | (push_parm_decl): Rename old_immediate_size_expand to use | |
1550 | save_foo convention; save/restore around entire function. | |
1551 | (grokdeclarator): Remove unnecessary braces. | |
1552 | ||
85617eba HPN |
1553 | 2003-07-28 Hans-Peter Nilsson <hp@bitrange.com> |
1554 | Michael Culbertson <Michael.J.Culbertson@wheaton.edu> | |
1555 | ||
1556 | * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn | |
1557 | when warn_declaration_after_statement. Call pedwarn_c90, not | |
1558 | pedwarn. Correct message: it's "ISO C90", not "ISO C89". | |
1559 | * c-common.c (warn_declaration_after_statement): Define. | |
1560 | * c-common.h (warn_declaration_after_statement): Declare. | |
1561 | * c.opt (Wdeclaration-after-statement): New. | |
1562 | * c-errors.c (pedwarn_c90): New function. | |
1563 | * c-opts.c (c_common_handle_option) <case | |
1564 | OPT_Wdeclaration_after_statement>: New. | |
1565 | * c-tree.h (pedwarn_c90): Declare. | |
1566 | * doc/invoke.texi (Option Summary): Document | |
1567 | -Wdeclaration-after-statement. | |
1568 | (Warning Options): Ditto. | |
1569 | ||
f527d196 JH |
1570 | Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka <jh@suse.cz> |
1571 | ||
1572 | * i386.md (memory attribute) Avoid accessing uninitialized memory | |
1573 | for ishift1 type instructions. | |
1574 | ||
5dfa45d0 JJ |
1575 | 2003-07-28 Jakub Jelinek <jakub@redhat.com> |
1576 | ||
1577 | * configure.in (--enable-checking): Add fold category. | |
1578 | (ENABLE_FOLD_CHECKING): Define if requested. | |
1579 | * configure: Rebuilt. | |
1580 | * config.in: Rebuilt. | |
1581 | * doc/install.texi: Document it. | |
1582 | * fold-const.c: Include md5.h. | |
1583 | [ENABLE_FOLD_CHECKING] (fold): Define to fold_1. | |
1584 | [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed, | |
1585 | print_fold_checksum): New functions. | |
1586 | ||
1587 | * fold-const.c (fold): Never modify argument passed to fold, instead | |
1588 | change a copy and return it. | |
1589 | * convert.c (convert_to_integer): Likewise. | |
1590 | ||
447673de NN |
1591 | 2003-07-27 Nathanael Nerode <neroden@gcc.gnu.org> |
1592 | ||
14077d68 | 1593 | * fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary |
447673de NN |
1594 | cleanup of junk after #else and #endif directives. Collapse repeated |
1595 | clauses into for statment. | |
1596 | ||
1597 | * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment. | |
1598 | ||
66db6b62 ZW |
1599 | 2003-07-27 Zack Weinberg <zack@codesourcery.com> |
1600 | ||
a8ccdffe ZW |
1601 | * c-decl.c (struct c_scope): Remove keep_if_subblocks field. |
1602 | (keep_next_if_subblocks): Rename next_is_function_body. | |
1603 | (pushlevel): Adjust commentary. Always set ->keep on the | |
1604 | outermost level of a function. Don't set ->keep_if_subblocks. | |
1605 | (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks. | |
1606 | (store_parm_decls): Adjust to match. | |
1607 | (finish_function): Adjust to match. | |
1608 | Call poplevel with all three arguments zero. | |
1609 | ||
66db6b62 ZW |
1610 | * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle): |
1611 | New functions split out of store_parm_decls. | |
1612 | Avoid unnecessary work. Use local variables consistently. | |
1613 | (store_parm_decls): Likewise. | |
1614 | ||
1615 | (finish_function): No need to set functionbody flag on call to | |
1616 | poplevel. | |
1617 | (struct language_function): Remove scope field. | |
1618 | (c_push_function_context, c_pop_function_context): No need to | |
1619 | save and restore current_scope. | |
1620 | ||
90ea7324 NS |
1621 | 2003-07-27 Nathan Sidwell <nathan@codesourcery.com> |
1622 | ||
1623 | * doc/extend.texi (Deprecated Features): Implicit typename is | |
1624 | gone. Default args on types is going. | |
1625 | ||
11a004ef R |
1626 | 2003-07-26 J"orn Rennecke <joern.rennecke@superh.com> |
1627 | ||
1628 | * Makefile.in (ifcvt.o): Depend on target.h | |
1629 | * ifcvt.c (target.h): Include. | |
1630 | (if_convert): Don't call mark_loop_exit_edges if we can't | |
1631 | modify jumps. | |
1632 | ||
6cbf57c9 GP |
1633 | 2003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1634 | ||
1635 | * doc/install.texi (Testing): Adjust required versions of DejaGnu. | |
1636 | ||
a6c14a64 RH |
1637 | 2003-07-26 Richard Henderson <rth@redhat.com> |
1638 | ||
1639 | PR inline-asm/11676 | |
1640 | * cse.c (count_reg_usage): Handle asm_operands properly. | |
1641 | ||
cc42f5f5 RS |
1642 | 2003-07-26 Roger Sayle <roger@eyesopen.com> |
1643 | ||
1644 | * builtins.def (DEF_FALLBACK_BUILTIN): Delete. | |
1645 | (DEF_EXT_FALLBACK_BUILTIN): Delete. | |
1646 | (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using | |
1647 | the regular DEF_EXT_LIB_BUILTIN macro. | |
1648 | (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using | |
1649 | the regular DEF_LIB_BUILTIN macro. | |
1650 | (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED, | |
1651 | BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED, | |
1652 | BUILT_IN_FWRITE_UNLOCKED): Declare using the regular | |
1653 | DEF_EXT_LIB_BUILTIN macro. | |
1654 | ||
1655 | * c-decl.c (duplicate_decls): Remove code to handle builtin | |
1656 | functions prototyped without an argument list. | |
1657 | ||
92e7a6ef DS |
1658 | 2003-07-26 Danny Smith <dannysmith@users.sourceforge.net> |
1659 | ||
1660 | * config/i386/winnt.c: Revert 2003-07-08 change. | |
1661 | (i386_pe_section_type_flags): Remove error_with_decl here too. | |
1662 | ||
ba9cfcb5 GDR |
1663 | 2003-07-26 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1664 | ||
1665 | * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl. | |
1666 | * config/mcore/mcore.c (mcore_mark_dllimport): Likewise. | |
1667 | * config/v850/v850.c (v850_handle_data_area_attribute): Likewise. | |
1668 | (v850_handle_data_area_attribute): Likewise. | |
1669 | ||
0e5da0be GK |
1670 | 2003-07-26 Geoffrey Keating <geoffk@apple.com> |
1671 | ||
66db6b62 | 1672 | * varasm.c (output_constant_def_contents): Use |
18f3e349 GK |
1673 | ASM_DECLARE_CONSTANT_NAME if defined. |
1674 | * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME. | |
1675 | * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized | |
1676 | objects get at least one byte to prevent assembler problems. | |
1677 | (ASM_DECLARE_CONSTANT_NAME): New. | |
1678 | ||
d2908a50 GK |
1679 | * Makefile.in (libbackend.o): Remove options_.h. |
1680 | (mostlyclean): Likewise. | |
1681 | ||
0e5da0be GK |
1682 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't |
1683 | insert a label at the end of an function under Mach-O. | |
863d3dfb GK |
1684 | |
1685 | * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test. | |
1686 | ||
36252949 AH |
1687 | 2003-07-25 Aldy Hernandez <aldyh@redhat.com> |
1688 | ||
1689 | * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer | |
1690 | equality. | |
1691 | (spe_init_builtins): Declare __ev64_opaque__ as a builtin type. | |
1692 | ||
1693 | * config/rs6000/spe.h: Remove __ev64_opaque__ definition. | |
1694 | ||
0fe37f68 GDR |
1695 | 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1696 | ||
1697 | * doc/passes.texi (Passes): Mention pretty-printing and | |
1698 | diagnostic files. | |
1699 | ||
50fc59e7 NS |
1700 | 2003-07-25 Nathan Sidwell <nathan@codesourcery.com> |
1701 | ||
1702 | * doc/extend.texi (Function Attributes): GNU C++ does now allow | |
1703 | unused parameter decls. | |
1704 | (Attribute Syntax): GNU C++ does not allow label attributes to be | |
1705 | after the ':'. | |
1706 | ||
cd475805 GDR |
1707 | 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1708 | ||
1709 | * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl. | |
1710 | (objc_declare_class): Likewise. | |
1711 | (error_with_ivar): Likewise. | |
1712 | (start_class): Likewise. | |
1713 | (warn_with_method): Likewise. | |
1714 | ||
b6fe0bb8 GDR |
1715 | 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1716 | ||
1717 | Remove pedwarn_with_decl, warning_with_decl and error_with_decl | |
66db6b62 | 1718 | from GCC. |
b6fe0bb8 GDR |
1719 | * calls.c (try_to_integrate): Don't use xxx_with_decl. |
1720 | (expand_call): Likewise. | |
1721 | * dwarfout.c (output_reg_number): Likewise. | |
1722 | * expr.c (expand_expr): Likewise. | |
1723 | * function.c (assign_temp): Likewise. | |
1724 | (uninitialized_vars_warning): Likewise. | |
1725 | (setjmp_args_warning): Likewise. | |
1726 | (expand_function_end): Likewise. | |
1727 | * stmt.c (fixup_gotos): Likewise. | |
1728 | (warn_about_unused_variables): Likewise. | |
1729 | (expand_end_bindings): Likewise. | |
1730 | * stor-layout.c (layout_decl): Likewise. | |
1731 | (place_field): Likewise. | |
1732 | * toplev.c (check_global_declarations): Likewise. | |
1733 | (rest_of_handle_inlining): Likewise. | |
1734 | (default_tree_printer): New function. | |
1735 | (general_init): Initialize diagnostic machinery before routing | |
1736 | signals to the ICE machinery. Set default tree printer. | |
1737 | * toplev.h (pedwarn_with_decl): Remove declaration. | |
1738 | (warning_with_decl): Likewise. | |
1739 | (error_with_decl): Likewise. | |
66db6b62 | 1740 | (pedwarn): Remove attribute for the time being. |
b6fe0bb8 GDR |
1741 | * tree-inline.c (expand_call_inline): Don't use xxx_with_decl. |
1742 | * varasm.c (named_section): Likewise. | |
1743 | (make_decl_rtl): Likewise. | |
1744 | (assemble_variable): Likewise. | |
1745 | (merge_weak): Likewise. | |
1746 | (declare_weak): Likewise. | |
1747 | ||
1748 | * diagnostic.h: Move non-diagnostic stuff into pretty-print.h. | |
1749 | * diagnostic.c: Move non-diagnostic stuff into pretty-print.c. | |
1750 | (format_with_decl): Remove. | |
1751 | (diagnostic_for_decl): Likewise. | |
1752 | (pedwarn_with_decl): Likewise. | |
1753 | (warning_with_decl): Likewise. | |
1754 | (error_with_decl): Likewise. | |
1755 | (diagnostic_initialize): Adjust. | |
1756 | (diagnostic_count_diagnostic): Likewise. | |
1757 | (announce_function): Likewise. | |
1758 | (lhd_print_error_function): Likewise. | |
1759 | (diagnostic_report_current_module): Likewise. | |
1760 | (default_diagnostic_starter): Likewise. | |
1761 | (diagnostic_report_diagnostic): Likewise. | |
1762 | (default_diagnostic_finalizer): Likewise. | |
1763 | (verbatim): Likewise. | |
1764 | (error): Likewise. | |
1765 | (warning): Likewise. | |
1766 | * opts.c (common_handle_option): Likewise. | |
1767 | * pretty-print.c: New file. | |
1768 | * c-pretty-print.h (pp_base): Override. | |
1769 | * c-pretty-print.c: Adjust use of macros throughout. | |
1770 | (pp_buffer): New macro. | |
1771 | (pp_newline): Likewise. | |
1772 | * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy. | |
1773 | * Makefile.in (DIAGNOSTIC_H): New variable. | |
1774 | (c-errors.o): Use it. | |
1775 | (c-objc-common.o): Likewise. | |
1776 | (c-common.o): Likewise. | |
1777 | (c-opts.o): Likewise. | |
1778 | (c-format.o): Likewise. | |
1779 | (diagnostic.o): Likewise. | |
1780 | (opts.o): Likewise. | |
1781 | (toplev.o): Likewise. | |
1782 | (rtl-error.o): Likewise. | |
1783 | (dwarf2out.o): Likewise. | |
1784 | (jump.o): Likewise. | |
1785 | (pretty-print.o): New rule. | |
1786 | ||
868b8cda RS |
1787 | 2003-07-24 Roger Sayle <roger@eyesopen.com> |
1788 | ||
1789 | * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from | |
1790 | front-end builtins to normal builtins, using DEF_LIB_BUILTIN. | |
1791 | (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed | |
1792 | from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN. | |
1793 | (DEF_FRONT_END_LIB_BUILTIN): Delete. | |
1794 | (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete. | |
1795 | (BUILT_IN_FWRITE_UNLOCKED): Wrap long line. | |
1796 | ||
1797 | * builtins.c (build_string_literal): New function to construct | |
1798 | a char* pointer to a string literal. | |
1799 | (expand_builtin_fputs): Change 2nd argument from "int ignore" to | |
1800 | "rtx target" to be consistent with other expand_builtin_* functions. | |
1801 | Change 3rd argument from "int unlocked" to "bool unlocked". | |
1802 | (expand_builtin_printf): Rewrite of c_expand_builtin_printf from | |
1803 | c-common.c to avoid front-end dependencies. Optimize printf("") | |
1804 | as a no-op when the result isn't required. Handle embedded NULs | |
1805 | in format string. | |
1806 | (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf | |
1807 | from c-common.c to avoid front-end dependencies. Likewise, optimize | |
1808 | fprintf(fp,"") as a no-op when the result isn't required, evaluating | |
1809 | fp for side-effects. Handle embedded NULs in format string. | |
1810 | (expand_builtin_sprintf): Fix typo. | |
1811 | (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not | |
1812 | optimizing. Adjust calls of expand_builtin_fputs to match the API | |
1813 | change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using | |
1814 | expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED | |
1815 | and BUILT_IN_FPRINTF using expand_builtin_fprintf. | |
1816 | ||
1817 | * c-common.c (is_valid_printf_arglist): Delete. | |
1818 | (c_expand_builtin): Delete. | |
1819 | (c_expand_builtin_printf): Moved to builtins.c. Delete. | |
1820 | (c_expand_builtin_fprintf): Moved to builtins.c. Delete. | |
1821 | (c_expand_expr): No longer treat CALL_EXPRs specially. | |
1822 | (CALLED_AS_BUILT_IN): Delete. | |
1823 | ||
2a868ea4 ZD |
1824 | 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1825 | ||
1826 | PR optimization/11631 | |
1827 | * gcse.c (store_motion): Connect infinite loops to exit. | |
1828 | ||
de7df9eb JM |
1829 | 2003-07-24 Jason Merrill <jason@redhat.com> |
1830 | ||
1831 | * tree.h (boolean_type_node): Move from C/C++/Java frontends. | |
1832 | (boolean_true_node, boolean_false_node): Likewise. | |
1833 | (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}. | |
1834 | * tree.c (build_common_tree_nodes): Init boolean_type_node. | |
1835 | (build_common_tree_nodes_2): Init boolean_{true,false}_node. | |
1836 | * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE. | |
1837 | * c-common.h (truthvalue_type_node): Renamed from boolean_type_node. | |
1838 | (truthvalue_true_node): Renamed from boolean_true_node. | |
1839 | (truthvalue_false_node): Renamed from boolean_false_node. | |
1840 | * c-decl.c: Just set truthvalue_* to integer_*. | |
1841 | * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/. | |
1842 | ||
6907ddd3 RS |
1843 | 2003-07-24 Roger Sayle <roger@eyesopen.com> |
1844 | ||
1845 | * c-decl.c (match_builtin_function_types): New subroutine of | |
1846 | duplicate_decls to test whether a redeclaration of a builtin | |
1847 | function is suitably close, i.e. the return type and all of | |
1848 | the argument types have the same modes as the builtin expects. | |
1849 | (duplicate_decls): Fuzzy type matching for builtin functions | |
1850 | moved to match_builtin_function_types. | |
1851 | ||
84d45ad1 ZD |
1852 | 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1853 | ||
1854 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible | |
1855 | flag correctly. | |
1856 | ||
f8521984 ZW |
1857 | 2003-07-24 Zack Weinberg <zack@codesourcery.com> |
1858 | ||
1859 | * c-decl.c: Search-and-replace change 'binding level' to | |
1860 | 'scope' in commentary. | |
1861 | (struct binding_level): Now struct c_scope. | |
1862 | (current_binding_level): Now current_scope. | |
1863 | (free_binding_level): Now scope_freelist. | |
1864 | (current_function_level): Now current_function_scope. | |
1865 | (global_binding_level): Now global_scope. | |
1866 | (make_binding_level): Now make_scope. | |
1867 | (pop_binding_level): Now pop_scope. | |
1868 | ||
0f31374d RO |
1869 | 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1870 | ||
1871 | * configure.in (libgcc_visibility): Add missing whitespace. | |
1872 | ||
270606ac RH |
1873 | 2003-07-24 Richard Henderson <rth@redhat.com> |
1874 | ||
1875 | * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0, | |
1876 | __gcc_personality_v0. | |
f8521984 | 1877 | |
5f08e44f RO |
1878 | 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1879 | ||
1880 | * Makefile.in: Replace pwd by ${PWD_COMMAND}. | |
1881 | ||
a4878735 NS |
1882 | 2003-07-24 Nathan Sidwell <nathan@codesourcery.com> |
1883 | ||
1884 | * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update | |
1885 | documentation missed from my 2003-07-09 patch. | |
1886 | ||
5aaaf0e8 NN |
1887 | 2003-07-24 Nathanael Nerode <neroden@gcc.gnu.org> |
1888 | ||
1889 | * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if | |
1890 | it's not provided. | |
1891 | * configure: Rebuild. | |
1892 | ||
8f5b6d29 SB |
1893 | 2003-07-24 Steven Bosscher <steven@gcc.gnu.org> |
1894 | ||
1895 | PR c/10602 | |
1896 | * c-typeck.c (type_lists_compatible_p): Do not compare | |
1897 | arguments if one of them is an error_mark_node | |
1898 | ||
acd0b319 AM |
1899 | 2003-07-24 Alan Modra <amodra@bigpond.net.au> |
1900 | ||
1901 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline | |
1902 | if current_function_calls_eh_return. | |
1903 | ||
28b619b2 MM |
1904 | 2003-07-23 Mark Mitchell <mark@codesourcery.com> |
1905 | ||
1906 | * doc/c-tree.texi (OFFSET_TYPE): Update description. | |
1907 | ||
07154156 BW |
1908 | 2003-07-23 Bob Wilson <bob.wilson@acm.org> |
1909 | ||
1910 | * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64. | |
1911 | * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3, | |
1912 | __umodsi3, __modsi3): Increase frame size to 32. | |
1913 | ||
5f5bfdd0 GK |
1914 | 2003-07-23 Geoffrey Keating <geoffk@apple.com> |
1915 | ||
1916 | * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack | |
1917 | prototype. | |
1918 | ||
11b8e71c MM |
1919 | 2003-07-23 Mark Mitchell <mark@codesourcery.com> |
1920 | ||
28b619b2 MM |
1921 | * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE. |
1922 | ||
11b8e71c MM |
1923 | PR optimization/10679 |
1924 | * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS. | |
1925 | ||
9d6b7c09 JDA |
1926 | 2003-07-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1927 | ||
1928 | PR target/11607 and PR target/11516 | |
1929 | * pa.md (extzv, extv, insv): Revert latter half of last patch. | |
1930 | ||
a5ac359a MM |
1931 | 2003-07-22 Mark Mitchell <mark@codesourcery.com> |
1932 | ||
1933 | * fold-const.c (force_fit_type): Handle OFFSET_TYPE. | |
1934 | * varasam.c (output_constant): Likewise. | |
1935 | ||
938d968e KH |
1936 | 2003-07-22 Kazu Hirata <kazu@cs.umass.edu> |
1937 | ||
1938 | * alias.c: Fix comment formatting. | |
1939 | * c-common.c: Likewise. | |
1940 | * c-decl.c: Likewise. | |
1941 | * c-opts.c: Likewise. | |
1942 | * combine.c: Likewise. | |
1943 | * cpplib.c: Likewise. | |
1944 | * diagnostic.c: Likewise. | |
1945 | * dojump.c: Likewise. | |
1946 | * final.c: Likewise. | |
1947 | * fold-const.c: Likewise. | |
1948 | * gcc.c: Likewise. | |
1949 | * gcse.c: Likewise. | |
1950 | * ggc-page.c: Likewise. | |
1951 | * jump.c: Likewise. | |
1952 | * loop.c: Likewise. | |
1953 | * mips-tfile.c: Likewise. | |
1954 | * recog.c: Likewise. | |
1955 | * regclass.c: Likewise. | |
1956 | * regmove.c: Likewise. | |
1957 | * tree.c: Likewise. | |
1958 | * tree.h: Likewise. | |
1959 | ||
b3147029 PB |
1960 | 2003-07-22 Per Bothner <pbothner@apple.com> |
1961 | ||
1962 | * line-map.c (add_line_map): Handle invalid LEAVE request. | |
1963 | Fixes PR preprocessor/11361. | |
1964 | ||
53f72d60 PB |
1965 | 2003-07-22 Per Bothner <pbothner@apple.com> |
1966 | ||
1967 | * diagnostic.c.(diagnostic_report_current_module): Update to match | |
1968 | 2003-06-05 changes to push_srcloc and pop_srcloc. | |
1969 | ||
5cf0212f WB |
1970 | 2003-07-22 Wolfgang Bangerth <bangerth@dealii.org> |
1971 | ||
1972 | * doc/trouble.texi: Better document two-stage name lookup. | |
1973 | ||
c7453384 EC |
1974 | 2003-07-22 Eric Christopher <echristo@redhat.com> |
1975 | ||
1976 | * config/s390.c (s390_valid_pointer_mode): New. | |
1977 | (TARGET_VALID_POINTER_MODE): Use. | |
1978 | (s390_emit_prologue): Add tpf profiling hooks. | |
1979 | (s390_emit_epilogue): Ditto. | |
1980 | * config/s390.h (MASK_TPF): New. | |
1981 | (TARGET_TPF): Use. | |
1982 | (POINTERS_EXTEND_UNSIGNED): Define. | |
1983 | * config/s390.md (ptr_extend): New pattern. | |
1984 | ||
a2f7be91 ZW |
1985 | 2003-07-22 Zack Weinberg <zack@codesourcery.com> |
1986 | ||
1987 | * hashtable.c (approx_sqrt): Make static. | |
1988 | * hashtable.h: Don't prototype approx_sqrt. | |
1989 | * line-map.c (init_line_maps): Rename linemap_init. | |
1990 | (free_line_maps): Rename linemap_free. | |
1991 | (add_line_map): Rename linemap_add. | |
1992 | (lookup_line): Rename linemap_lookup. | |
1993 | (print_containing_files): Rename linemap_print_containing_files. | |
1994 | * linemap.h: Update to match. | |
1995 | ||
1996 | * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to | |
1997 | linemap routines to use new names. | |
1998 | ||
c6e4cc53 NS |
1999 | 2003-07-16 Nathan Sidwell <nathan@codesourcery.com> |
2000 | ||
2001 | * c-common.c (handle_packed_attribute): Don't pack a struct via a | |
2002 | typedef. Propagate packedness from a main variant. | |
2003 | ||
55de4f08 NN |
2004 | 2003-07-22 Nathanael Nerode <neroden@gcc.gnu.org> |
2005 | ||
2006 | * Makefile.in (install-common): Add dependency on installdirs. | |
2007 | ||
fb5d2a87 AO |
2008 | 2003-07-21 Alexandre Oliva <aoliva@redhat.com> |
2009 | ||
2010 | * c-common.c (c_common_type_for_mode): Return integer types for | |
2011 | pointer modes. | |
2012 | ||
905bd7b5 GK |
2013 | 2003-07-22 Geoffrey Keating <geoffk@apple.com> |
2014 | ||
d05cc98e GK |
2015 | * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here. |
2016 | (finish_decl): Call maybe_apply_pragma_weak here. | |
2017 | (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before | |
2018 | TREE_PUBLIC and TREE_STATIC are decided. | |
2019 | (start_function): Move call to maybe_apply_pragma_weak. Check that | |
2020 | DECL_ASSEMBLER_NAME isn't set too early. | |
2021 | ||
905bd7b5 GK |
2022 | * cpplex.c (_cpp_process_line_notes): Mention option name in |
2023 | trigraphs warning. | |
2024 | ||
87d9741e KH |
2025 | 2003-07-22 Kazu Hirata <kazu@cs.umass.edu> |
2026 | ||
2027 | * combine.c (if_then_else_cond): Simplify the comparison of | |
2028 | rtx against -1, 0, and 1. | |
2029 | * loop.c (check_dbra_loop): Likewise. | |
2030 | * optabs.c (emit_conditional_move): Likewise. | |
2031 | (emit_conditional_add): Likewise. | |
2032 | * config/i386/i386.md (*movsi_or): Likewise. | |
2033 | (*movdi_or_rex6): Likewise. | |
2034 | ||
b67d7f4a JH |
2035 | Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka <jh@suse.cz> |
2036 | ||
2037 | * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if. | |
2038 | ||
8d973a83 NB |
2039 | 2003-07-21 Neil Booth <neil@daikokuya.co.uk> |
2040 | ||
2041 | * cppfiles.c (open_file_pch): Don't put unused entries in the | |
2042 | splay tree. Remove dead code. | |
2043 | ||
49a64b24 GK |
2044 | 2003-07-21 Geoffrey Keating <geoffk@apple.com> |
2045 | ||
48873ed2 GK |
2046 | * c-common.h (num_in_fnames): Declare. |
2047 | (c_static_assembler_name): Move from here... | |
2048 | * c-tree.h (c_static_assembler_name): ... to here. | |
2049 | * c-opts.c: Don't include langhooks-def.h. | |
2050 | (c_static_assembler_name): Move to c-decl.c. | |
2051 | (num_in_fnames): Make externally visible. | |
2052 | * c-decl.c: Include langhooks-def.h. | |
2053 | (c_static_assembler_name): Move from c-opts.c. | |
2054 | * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H). | |
2055 | (c-opts.o): Remove $(LANGHOOKS_DEF_H). | |
2056 | ||
49a64b24 GK |
2057 | * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME |
2058 | when it's not needed. | |
2059 | ||
8c29550d JJ |
2060 | 2003-07-21 Jakub Jelinek <jakub@redhat.com> |
2061 | ||
2062 | * config/rs6000/rs6000.h (machine_function): Add ra_need_lr. | |
2063 | * config/rs6000/rs6000.c (rs6000_return_addr): Set it. | |
2064 | (rs6000_emit_prologue): Save FPRs inline if set. | |
2065 | ||
92cbea22 L |
2066 | 2003-07-21 H.J. Lu <hongjiu.lu@intel.com> |
2067 | ||
2068 | * config/ia64/ia64.md (prefetch): Support predicate. | |
2069 | ||
ee735eef JZ |
2070 | 2003-07-21 Josef Zlomek <zlomekj@suse.cz> |
2071 | ||
2072 | * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p. | |
2073 | * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump | |
2074 | table. | |
2075 | ||
bbda30a4 EB |
2076 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
2077 | ||
a2f7be91 | 2078 | PR optimization/11536 |
bbda30a4 EB |
2079 | * unroll.c (loop_iterations): Do not replace a register holding |
2080 | the final value by its equivalent before the loop if it is not | |
2081 | invariant. | |
2082 | ||
64c18e57 DF |
2083 | 2003-07-21 Dave Fluri <dave.fluri@onlink.net> |
2084 | ||
2085 | * doc/extend.texi: Fixes to spelling, grammar, and diction. | |
2086 | ||
b222f49a BE |
2087 | 2003-07-21 Ben Elliston <bje@wasabisystems.com> |
2088 | ||
2089 | * doc/invoke.texi (Optimize Options): Replace "it's" with "its". | |
2090 | (V850 Options): Spelling fixes. | |
2091 | ||
9eff22bc LG |
2092 | 2003-07-20 Lisa M. Goldstein <opus@gnu.org> |
2093 | ||
a2f7be91 | 2094 | * doc/invoke.texi: Fixes to style, grammar and diction. |
9eff22bc | 2095 | |
6a6c0154 RS |
2096 | 2003-07-20 Roger Sayle <roger@eyesopen.com> |
2097 | ||
2098 | * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form. | |
2099 | * system.h (SMALL_STACK): Poison obsolete target macro. | |
2100 | * doc/tm.texi (SMALL_STACK): Remove target macro documentation. | |
2101 | ||
d38b3a8d PE |
2102 | 2003-07-20 Phil Edwards <pme@gcc.gnu.org> |
2103 | ||
2104 | * configure.in: Cache the results of testing for cmp's capabilities. | |
2105 | * configure: Regenerate. | |
2106 | ||
35dc2bd8 MM |
2107 | 2003-07-20 Mark Mitchell <mark@codesourcery.com> |
2108 | ||
2109 | PR debug/11279 | |
2110 | * dwarf2out.c (gen_enumeration_type_die): Remember that | |
2111 | enumerators can be unsigned. | |
2112 | ||
14e33ee8 ZW |
2113 | 2003-07-19 Zack Weinberg <zack@codesourcery.com> |
2114 | ||
2115 | * c-decl.c (named_labels, shadowed_labels, label_level_chain) | |
2116 | (push_label_level, pop_label_level): Kill. | |
2117 | (struct binding_level): Rename level_chain to outer. | |
2118 | Add outer_function field. Change parm_flag, function_body, | |
2119 | keep, keep_if_subblocks to 1-bit bitfields of type bool. | |
2120 | (current_function_level): New variable. | |
2121 | (keep_next_level_flag, keep_next_if_subblocks): Change type to bool. | |
2122 | (keep_next_level, declare_parm_level, warn_if_shadowing): | |
2123 | Update to match. | |
2124 | (struct language_function): Kill named_labels, shadowed_labels fields. | |
2125 | (c_init_decl_processing, start_function, c_push__function_context) | |
2126 | (c_pop_function_context): No need to muck with named_labels nor | |
2127 | shadowed_labels. | |
2128 | ||
2129 | (make_binding_level): No need to clear the structure here. | |
2130 | (pop_binding_level): Always operate on current_binding_level. | |
2131 | Update current_function_level if necessary. | |
2132 | (pushlevel): Don't clear named_labels. Update current_function_level | |
2133 | if necessary. Use "true" and "false" where appropriate. | |
2134 | (poplevel): Diagnose labels defined but not used, or vice | |
2135 | versa, and clear out label-meanings leaving scope, while | |
2136 | walking down the decls list, for all binding levels. | |
2137 | Handle LABEL_DECLs appearing in the shadowed list. | |
2138 | pop_binding_level takes no arguments. | |
2139 | (pushdecl_function_level): Use current_function_level. | |
2140 | ||
2141 | (make_label, bind_label): New static functions. | |
2142 | (declare_label): New exported function. | |
2143 | (lookup_label, define_label): Rewritten for new data structure. | |
2144 | (shadow_label): Kill. | |
2145 | ||
2146 | * c-tree.h: Prototype declare_label; don't prototype | |
2147 | push_label_level, pop_label_level, nor shadow_label. | |
2148 | * c-parse.in: Remove all calls to push_label_level and | |
2149 | pop_label_level. Use declare_label for __label__ decls. | |
2150 | ||
2151 | * doc/extend.texi: Clarify that __label__ can be used to | |
2152 | declare labels with local scope in any nested block, not | |
2153 | just statement expressions. Cross-reference nested functions | |
2154 | section from local labels section. | |
2155 | ||
8a6b9b7f ZD |
2156 | 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2157 | ||
2158 | * sched-rgn.c (find_rgns): Initialize current_edge correctly. | |
2159 | ||
026fe6c8 PE |
2160 | 2003-07-19 Phil Edwards <pme@gcc.gnu.org> |
2161 | ||
2162 | * doc/makefile.texi (restrap, profiledbootstrap): Document targets. | |
2163 | ||
c68b0a84 KG |
2164 | 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2165 | ||
2166 | * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c | |
2167 | fixinc/server.c objc/objc-act.c: Remove unnecessary casts. | |
2168 | ||
fd7643fb UW |
2169 | 2003-07-19 Ulrich Weigand <uweigand@de.ibm.com> |
2170 | ||
14e33ee8 | 2171 | * config/s390/s390.c (legitimize_pic_address): Access local symbols |
fd7643fb UW |
2172 | relative to the GOT instead of relative to the literal pool base. |
2173 | (s390_output_symbolic_const): Handle new GOT-relative accesses. | |
2174 | * config/s390/s390.md ("call"): Access local functions and PLT stubs | |
2175 | relative to the GOT instead of relative to the literal pool base. | |
2176 | ("call_value"): Likewise. | |
2177 | ("call_value_tls"): Likewise. | |
2178 | ||
14e33ee8 | 2179 | * config/s390/s390.c (s390_chunkify_start): Remove pool anchor |
fd7643fb UW |
2180 | reloading. Support LTREL_BASE / LTREL_OFFSET construct. |
2181 | (s390_chunkify_finish): Likewise. | |
2182 | (s390_chunkify_cancel): Likewise. | |
2183 | (s390_reorg): Adapt caller. | |
2184 | (find_base_register_in_addr, | |
2185 | find_base_register_ref, replace_base_register_ref): Delete. | |
2186 | (find_ltrel_base, replace_ltrel_base): New functions. | |
2187 | (find_constant_pool_ref): Handle LTREL_BASE unspecs. | |
2188 | (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize | |
2189 | base vs. index register usage. | |
2190 | (struct constant_pool): Remove 'anchor'. | |
2191 | (s390_add_anchor): Delete. | |
2192 | (s390_dump_pool): Remove anchor handling. | |
2193 | * config/s390/s390.md ("reload_anchor"): Remove. | |
2194 | ||
2195 | * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET. | |
2196 | (s390_load_got): New function. Use LTREL_BASE/OFFSET. | |
2197 | (s390_emit_prologue): Use it. | |
14e33ee8 ZW |
2198 | * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup", |
2199 | "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not | |
fd7643fb UW |
2200 | hard-code register 14. |
2201 | * config/s390/s390-protos.h (s390_load_got): Declare. | |
2202 | ||
14e33ee8 | 2203 | * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable): |
fd7643fb UW |
2204 | Support TImode constants. |
2205 | * config/s390/s390.md ("consttable_ti"): New. | |
2206 | ("consttable_si", "consttable_di"): Handle TLS symbols correctly. | |
2207 | ||
2208 | * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE, | |
2209 | UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF, | |
2210 | UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END, | |
2211 | UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI, | |
2212 | UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL): | |
2213 | New symbolic constants. | |
2214 | ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di", | |
2215 | "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31", | |
2216 | "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64", | |
2217 | "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use | |
2218 | symbolic UNSPEC values. | |
14e33ee8 | 2219 | * config/s390/s390.c (larl_operand, s390_short_displacement, |
fd7643fb UW |
2220 | bras_sym_operand, s390_cannot_force_const_mem, |
2221 | s390_delegitimize_address, s390_decompose_address, | |
2222 | legitimize_pic_address, s390_output_symbolic_const, | |
2223 | s390_function_profiler): Use symbolic UNSPEC values. | |
2224 | ||
703ad42b KG |
2225 | 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2226 | ||
2227 | * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c | |
2228 | c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in | |
2229 | c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c | |
2230 | collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c | |
2231 | cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c | |
2232 | cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c | |
2233 | dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c | |
2234 | fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c | |
2235 | gcse.c genattr.c genattrtab.c genautomata.c genconditions.c | |
2236 | genemit.c genextract.c genoutput.c genrecog.c gensupport.c | |
2237 | ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c | |
2238 | integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c | |
2239 | loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c | |
2240 | postreload.c prefix.c print-tree.c protoize.c ra-build.c | |
2241 | ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c | |
2242 | regmove.c regrename.c reload.c reload1.c reorg.c resource.c | |
2243 | sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c | |
2244 | simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c | |
2245 | tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c | |
2246 | varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary | |
2247 | casts. | |
2248 | ||
308ca868 GDR |
2249 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2250 | ||
2251 | * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl. | |
2252 | * toplev.h (warning): Remove attribute. | |
2253 | ||
435ab236 GDR |
2254 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2255 | ||
2256 | * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl. | |
2257 | (pop_label_level): Likewise. | |
2258 | (duplicate_decls): Likewise. | |
2259 | (implicitly_declare): Likewise. | |
2260 | (shadow_label): Likewise. | |
2261 | (start_decl): Likewise. | |
2262 | (finish_decl): Likewise. | |
2263 | (grokdeclarator): Likewise. | |
2264 | (get_parm_info): Likewise. | |
2265 | (detect_field_duplicates): Likewise. | |
2266 | (finish_struct): Likewise. | |
2267 | (start_function): Likewise. | |
2268 | (store_parm_decls): Likewise. | |
2269 | (finish_function): Likewise. | |
2270 | (c_expand_body_1): Likewise. | |
2271 | (check_for_loop_decls): Likewise. | |
2272 | (merge_translation_unit_decls): Likewise. | |
2273 | ||
2cc98056 NB |
2274 | 2003-07-19 Neil Booth <neil@daikokuya.co.uk> |
2275 | ||
2276 | * common.opt: Document --param. | |
2277 | * opts.c (columns, undocumented_msg): New. | |
2278 | (print_help): Get number of columns from environment. Print | |
2279 | --param help. Tweak newline handling. | |
2280 | (print_param_help): New. | |
2281 | (print_filtered_help): Better handling of duplicates. Complain | |
2282 | about undocumented switches. | |
2283 | (print_switch): New. | |
2284 | (wrap_help): Improve wrapping, use COLUMNS. | |
2285 | * opts.sh: Ignore comments in records. | |
2286 | * params.def: Fix typos and remove trailing periods. | |
2287 | * toplev.c (display_help): Don't dump --param help. | |
2288 | * doc/sourcebuild.texi: Update. | |
2289 | ||
d893ccde RH |
2290 | 2003-07-18 Richard Henderson <rth@redhat.com> |
2291 | ||
0e38b30b | 2292 | PR target/11556 |
d893ccde RH |
2293 | * optabs.c (prepare_operand): Fail gracefully instead of abort |
2294 | if the predicate doesn't satisfy. | |
2295 | (gen_cond_trap): Allow prepare_operand to fail. | |
2296 | ||
eb8221ea GDR |
2297 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2298 | ||
2299 | * c-common.c: Don't undefine GCC_DIAG_STYLE. | |
2300 | (fname_decl): Don't use xxx_with_decl. | |
2301 | (c_add_case_label): Likewise. | |
2302 | (handle_section_attribute): Likewise. | |
2303 | (handle_alias_attribute): Likewise. | |
2304 | (handle_no_instrument_function_attribute): Likewise. | |
2305 | (handle_no_limit_stack_attribute): Likewise. | |
2306 | * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs. | |
2307 | * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier. | |
2308 | ||
65f43cdf ZD |
2309 | 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2310 | ||
2311 | * Makefile.in (ifcvt.o): Add cfgloop.h. | |
2312 | * basic-block.h (EDGE_LOOP_EXIT): New flag. | |
2313 | * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly. | |
2314 | * ifcvt.c: Include cfgloop.h. | |
2315 | (mark_loop_exit_edges): New static function. | |
2316 | (if_convert): Call it. | |
2317 | (find_if_header): Ignore branches out of loops. | |
2318 | ||
e5686da7 KH |
2319 | 2003-07-18 Kazu Hirata <kazu@cs.umass.edu> |
2320 | ||
14e33ee8 | 2321 | * combine.c (simplify_comparison): Don't share rtx when converting |
e5686da7 KH |
2322 | (ne (and (not X) 1) 0) to (eq (and X 1) 0). |
2323 | ||
8d05ebaa DE |
2324 | 2003-07-18 David Edelsohn <edelsohn@gnu.org> |
2325 | ||
2326 | * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define. | |
2327 | (AGGREGATES_PAD_UPWARD_ALWAYS): Define. | |
2328 | (MUST_PASS_IN_STACK): Define. | |
2329 | (BLOCK_REG_PADDING): Define. | |
2330 | ||
79019985 RH |
2331 | 2003-07-18 Richard Henderson <rth@redhat.com> |
2332 | ||
2333 | * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p | |
2334 | to skip the addr_vec. | |
2335 | ||
0595d388 AO |
2336 | Fri Jul 18 15:22:28 2003 Alexandre Oliva <aoliva@redhat.com> |
2337 | ||
2338 | * combine.c (combinable_i3pat): Don't forbid occurrences of | |
2339 | i2dest or i1dest in inner_dest if inner_dest is a mem. | |
2340 | ||
2ee1067b JH |
2341 | Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka <jh@suse.cz> |
2342 | ||
2343 | * cgraph.c (cgraph_remove_node): Clear the hash table slot. | |
2344 | ||
16f6812f JJ |
2345 | 2003-07-17 Jakub Jelinek <jakub@redhat.com> |
2346 | ||
2347 | PR target/11087 | |
2348 | * loop.c (basic_induction_var): Check if convert_modes emitted any | |
2349 | instructions. Remove them and return 0 if so. | |
2350 | ||
f129791c EB |
2351 | 2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
2352 | ||
2353 | PR optimization/11083 | |
2354 | * toplev.c (rest_of_handle_addresof): Rename into | |
2355 | rest_of_handle_addressof. Delete unreachable blocks | |
2356 | if dead edges were purged after the addressof pass. | |
2357 | ||
b2e608ca NB |
2358 | 2003-07-18 Neil Booth <neil@daikokuya.co.uk> |
2359 | ||
2360 | * Makefile.in, configure, configure.in: Remove handling of | |
2361 | lang-options.h and options_.h. | |
2362 | * toplev.c (struct lang_opt, documented_lang_options): Remove. | |
2363 | (display_help): Don't use documented_lang_options. | |
2364 | ||
9cd51ef6 ZW |
2365 | 2003-07-17 Zack Weinberg <zack@codesourcery.com> |
2366 | ||
2367 | * c-decl.c (pushdecl_function_level): Make static, return nothing. | |
2368 | (kept_level_p): Fold into poplevel. | |
2369 | (undeclared_variable): Moved here from c-typeck.c. Export. | |
2370 | * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines. | |
2371 | (undeclared_variable): Prototype here. Don't prototype | |
2372 | kept_level_p nor pushdecl_function_level. | |
2373 | * c-parse.in: Change first argument to poplevel from | |
2374 | "kept_level_p()" to "KEEP_MAYBE". | |
2375 | * c-typeck.c (undeclared_variable): Moved to c-decl.c. | |
2376 | ||
cf6bcbd0 RS |
2377 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
2378 | ||
2379 | * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap | |
2380 | commutative operands instead of modifying the RTL in-place. | |
2381 | ||
2b187c63 MM |
2382 | 2003-07-17 Mark Mitchell <mark@codesourcery.com> |
2383 | ||
2384 | PR optimization/11557 | |
2385 | * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK | |
2386 | unless we know which function is being called. | |
2387 | ||
c715abdd RS |
2388 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
2389 | ||
2390 | * cse.c (fold_rtx): Use swap_commutative_operands_p to determine | |
2391 | whether to reorder the operands of a commutative binary operator. | |
2392 | ||
3e4093b6 RS |
2393 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
2394 | ||
2395 | * fold-const.c (const_binop): Avoid performing the FP operation at | |
2396 | compile-time, if either operand is NaN and we honor signaling NaNs, | |
2397 | or if we're dividing by zero and either flag_trapping_math is set | |
2398 | or the desired mode doesn't support infinities. | |
2399 | (fold_initializer): New function to fold an expression ignoring any | |
2400 | potential run-time exceptions or traps. | |
2401 | * tree.h (fold_initializer): Prototype here. | |
2402 | * c-typeck.c (build_binary_op): Move to the end of the file so | |
2403 | that intializer_stack is in scope. If constructing an initializer, | |
2404 | i.e. when initializer_stack is not NULL, use fold_initializer to | |
2405 | fold expressions. | |
2406 | * simplify-rtx.c (simplify_binary_operation): Likewise, avoid | |
2407 | performing FP operations at compile-time, if they would raise an | |
2408 | exception at run-time. | |
2409 | ||
89e9faee GK |
2410 | 2003-07-17 Geoffrey Keating <geoffk@apple.com> |
2411 | ||
26e0dcb3 GK |
2412 | PR 11498 |
2413 | * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H). | |
2414 | (langhooks.o): Add $(GGC_H), gt-langhooks.h. | |
2415 | (GTFILES): Add langhooks.c. | |
2416 | (gt-langhooks.h): New. | |
2417 | * c-common.h (c_static_assembler_name): Prototype. | |
2418 | * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define. | |
2419 | * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define. | |
2420 | * c-opts.c: Include langhooks-def.h. | |
2421 | (c_static_assembler_name): New. | |
2422 | * langhooks.c: Include ggc.h. Include gt-langhooks.h. | |
2423 | (var_labelno): New. | |
2424 | (lhd_set_decl_assembler_name): Give static objects with context | |
2425 | unique names. | |
2426 | * varasm.c (var_labelno): Delete. | |
2427 | (make_decl_rtl): Don't change the assembler name once it's set. | |
2428 | ||
89e9faee GK |
2429 | * c-opts.c (this_input_filename): New. |
2430 | (finish_options): Take new parameter, name of file being compiled. | |
2431 | Update callers. Set this_input_filename. | |
2432 | (push_command_line_include): Use this_input_filename not | |
2433 | main_input_filename. | |
2434 | ||
6ec3f553 NB |
2435 | 2003-07-17 Neil Booth <neil@daikokuya.co.uk> |
2436 | ||
2437 | * Makefile.in: Depend .pot generation on options.c. | |
2438 | * po/exgettext: Add an extra_files variable containing additional | |
2439 | files to scan. | |
2440 | ||
78ff95dc ZW |
2441 | 2003-07-17 Zack Weinberg <zack@codesourcery.com> |
2442 | ||
36c6d174 ZW |
2443 | * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to |
2444 | c_write_global_declarations. | |
2445 | ||
eb1dfbb2 ZW |
2446 | * c-decl.c: Fix typos in several comments. Remove all |
2447 | #if 0 blocks; reindent as needed. Remove unused argument | |
2448 | to declare_parm_level; all callers changed. | |
2449 | * c-parse.in: Update calls to declare_parm_level. Avoid | |
2450 | issuing a double warning in some circumstances. | |
2451 | * c-typeck.c: Update calls to declare_parm_level. | |
2452 | * c-tree.h: Update prototype of declare_parm_level. | |
2453 | ||
2454 | * c-pragma.c (apply_pragma_weak): Don't complain about a | |
2455 | redundant #pragma weak. | |
2456 | ||
2457 | * objc/objc-act.c (forward_declare_categories, | |
2458 | build_selector_reference_decl, build_class_reference_decl, | |
2459 | build_objc_string_decl, synth_forward_declarations, | |
2460 | build_protocol_reference): Set TREE_PUBLIC on synthetic | |
2461 | forward decl to 0, consistent with eventual definition. | |
2462 | Correct comments to match. | |
2463 | ||
78ff95dc ZW |
2464 | * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces |
2465 | in regexp that don't form a range expression. | |
2466 | * fixinc/fixincl.def: Regenerate. | |
2467 | ||
b23ba0b8 RH |
2468 | 2003-07-17 Richard Henderson <rth@redhat.com> |
2469 | ||
78ff95dc ZW |
2470 | PR target/10907 |
2471 | * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end | |
2472 | even with !TARGET_CONST_GP. | |
2473 | (ia64_function_ok_for_sibcall): Reject non-local functions. | |
b23ba0b8 | 2474 | |
d944c82d SB |
2475 | 2003-07-17 Steven Bosscher <steven@gcc.gnu.org> |
2476 | ||
2477 | * c-common.c (c_estimate_num_insns_1): Don't handle | |
2478 | METHOD_CALL_EXPR. | |
2479 | * expr.c (safe_from_p): Likewise. | |
2480 | * gengtype.c (adjust_field_tree_exp): Likewise. | |
2481 | * stmt.c (warn_if_unused_value): Likewise | |
2482 | * tree.c (first_rtl_op): Likewise. | |
2483 | * tree.def: Don't define METHOD_CALL_EXPR. | |
2484 | * java/lang.c (java_estimate_num_insns_1): Don't handle | |
2485 | METHOD_CALL_EXPR. | |
2486 | ||
54284728 EB |
2487 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
2488 | ||
2489 | PR other/11466 | |
2490 | * doc/invoke.texi (SPARC Options): Document "-mlittle-endian" | |
2491 | and its restrictions for the SPARC64 port. | |
2492 | Move the entry of "-mimpure-text" before that of "-mv8". | |
2493 | ||
bc890961 | 2494 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
78ff95dc | 2495 | Phil Edwards <phil@jaj.com> |
bc890961 EB |
2496 | |
2497 | * doc/install.texi (*-*-solaris2*): Document the step-by-step | |
2498 | procedure to bootstrap and install. | |
2499 | Document the preference for the legacy Sun tools in /usr/bin | |
2500 | over the POSIX tools in /usr/xpg4/bin for the build process. | |
2501 | ||
f2ac9964 NB |
2502 | 2003-07-17 Neil Booth <neil@daikokuya.co.uk> |
2503 | ||
2504 | * c.opt: Document Uncodumented; use it. Document ObjC options. | |
2505 | * opts.c (print_filtered_help): Skip undocumented switches. | |
2506 | * opts.h (CL_UNDOCUMENTED): New. | |
2507 | * opts.sh: Handle Undocumented. | |
2508 | * toplev.c (documented_lang_options): Prevent its becoming empty. | |
2509 | objc: | |
2510 | * lang-options.h: Remove. | |
2511 | ||
03988cac UW |
2512 | 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com> |
2513 | ||
2514 | * loop.c (check_ext_dependent_givs): Pass const struct loop * | |
2515 | instead of struct loop_info * as argument. Accept BIVs with | |
2516 | increment +/- 1 provided there is a friendly exit test against | |
2517 | a loop-invariant value. | |
2518 | (strength_reduce): Adapt call to check_ext_dependent_givs. | |
2519 | ||
fada1961 R |
2520 | 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com> |
2521 | Con Bradley <con.bradley@superh.com> | |
2522 | ||
2523 | * sh-protos.h (sh_get_pr_initial_val): Declare. | |
2524 | * sh.c (regno_reg_class): Make its elements type enum reg_class. | |
2525 | (output_stack_adjust): Remove emit_fn argument. Add epilogue_p | |
2526 | and live_regs_mask arguments. Changed all callers. | |
2527 | (save_schedule_s): New structure. | |
2528 | (save_schedule): New typedef. | |
2529 | (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions. | |
2530 | (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p. | |
2531 | In interrupts handlers, also save registers that are usually | |
2532 | partially saved, and make sure there is at least one general purpose | |
2533 | register saved if a target register needs saving. | |
2534 | Add casts in comparisons to avoid warnings. | |
2535 | (sh_media_register_for_return): return -1 for interrupt handlers. | |
2536 | (MAX_SAVED_REGS, MAX_TEMPS): New defines. | |
2537 | (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp | |
2538 | registers used are available. | |
2539 | Set RTX_FRAME_RELATED_P where appropriate. | |
2540 | Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing. | |
2541 | (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves. | |
2542 | (initial_elimination_offset): Likewise. | |
2543 | * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4. | |
2544 | (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings. | |
2545 | (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO. | |
2546 | (XD_REGISTER_P, TARGET_REGISTER_P): Likewise. | |
2547 | (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15, | |
2548 | and for target registers. | |
2549 | (RETURN_IN_MEMORY): Add parentheses to avoid warnings. | |
2550 | (regno_reg_class): Make its elements type enum reg_class. | |
2551 | (CONSTRAINT_LEN): Don't use isdigit. | |
2552 | (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings. | |
2553 | (FUNCTION_ARG): Add parentheses to avoid warnings. | |
2554 | (RETURN_ADDR_RTX): Use sh_get_pr_initial_val. | |
2555 | (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5. | |
2556 | (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings. | |
2557 | (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings. | |
2558 | * sh.md (xordi3+1): Remove unused variable regno. | |
2559 | (return_media): Check that tr0 is available before using it. | |
2560 | ||
bae92bf3 NB |
2561 | 2003-07-16 Neil Booth <neil@daikokuya.co.uk> |
2562 | ||
2563 | * c.opt: Document more options. | |
2564 | ||
cc8c96fd RS |
2565 | 2003-07-16 Roger Sayle <roger@eyesopen.com> |
2566 | ||
2567 | * combine.c (subst): Also handle (subreg (const_double ...)) case | |
2568 | if created by a substitution, by using the original inner mode. | |
2569 | ||
d41ba56f RS |
2570 | 2003-07-16 Roger Sayle <roger@eyesopen.com> |
2571 | ||
2572 | * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons | |
2573 | to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined. | |
2574 | (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X. | |
2575 | ||
264d65c1 | 2576 | 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu> |
78ff95dc | 2577 | |
264d65c1 | 2578 | * doc/install.texi (--without-headers): New. |
1622229c AP |
2579 | |
2580 | Partial Fix PR/10129 | |
2581 | * config/darwin.c (machopic_function_base_name): Only Return "<pic base>". | |
2582 | (machopic_output_function_base_name): New; print the true pic label. | |
2583 | (machopic_classify_ident): Pic Base is always a defined data. | |
2584 | * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label. | |
2585 | * config/darwin-proto.h (machopic_output_function_base_name): Prototype. | |
2586 | ||
db2f435b AP |
2587 | * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant |
2588 | if they are not floating point registers. | |
2589 | ||
d07605f5 AP |
2590 | PR c/10962 |
2591 | * ggc.h: Add header guards. | |
2592 | * c-decl.c (finish_struct): Sort fields if | |
2593 | number greater than 15 and there are no | |
2594 | anonymous structs/unions. | |
2595 | * c-common.h: Include ggc.h. | |
2596 | (sorted_fields_type): New struct. | |
2597 | (field_decl_cmp): New prototype. | |
2598 | (resort_sorted_fields): New prototype. | |
2599 | (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro. | |
2600 | * c-tree.h: (lang_type): Use pointer to sorted_fields_type | |
2601 | as s, removing other fields. | |
2602 | * c-typeck.c (lookup_field): Use s in lang_type. | |
2603 | These were mostly moved from cp/class.c: | |
2604 | * c-common.c (field_decl_cmp): New static function. | |
2605 | (field_decl_cmp): New function. | |
2606 | (resort_sorted_fields): New function. | |
2607 | ||
3d7964d5 GK |
2608 | 2003-07-16 Geoffrey Keating <geoffk@apple.com> |
2609 | ||
2610 | * config/darwin.c (machopic_select_section): Use decl_readonly_section | |
2611 | to do most of the work. | |
2612 | ||
4e58524e HPN |
2613 | 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com> |
2614 | ||
2615 | * config/mmix/mmix-protos.h: Convert prototypes to ISO C90. | |
2616 | * config/mmix/mmix.c: Convert functions to ISO C90. | |
2617 | (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak | |
2618 | formatting. | |
2619 | (mmix_get_hard_reg_initial_val): Tweak section head comment. | |
2620 | ||
1e0343dd R |
2621 | 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com> |
2622 | ||
2623 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK. | |
2624 | ||
fc4767bb JJ |
2625 | 2003-07-16 Jakub Jelinek <jakub@redhat.com> |
2626 | ||
2627 | * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define. | |
2628 | (uw_update_context_1): Use it. | |
2629 | * config/rs6000/rs6000.c (insn_after_throw): Remove. | |
2630 | (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location | |
2631 | in parent frame if _Unwind_* called directly instead of through | |
2632 | .plt. | |
2633 | (rs6000_emit_eh_toc_restore): Remove. | |
2634 | (rs6000_emit_prologue): Update stack pointer before doing any saving | |
2635 | if current_function_calls_eh_return. Generate unwind info for $r2. | |
2636 | (rs6000_emit_epilogue): Restore stack pointer after doing all | |
2637 | restoring if current_function_calls_eh_return. Restore $r2. | |
2638 | * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove. | |
2639 | * config/rs6000/rs6000.md (eh_return): Remove call to | |
2640 | rs6000_emit_eh_toc_restore. | |
2641 | * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define. | |
2642 | * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define. | |
2643 | ||
6972c506 JJ |
2644 | 2003-07-15 Jakub Jelinek <jakub@redhat.com> |
2645 | ||
2646 | * expr.c (emit_block_move): Don't move anything if size is const 0. | |
2647 | (clear_storage): Test against const0_rtx instead of comparing INTVAL | |
2648 | against 0. | |
2649 | ||
ac59ed37 DM |
2650 | 2003-07-15 David S. Miller <davem@redhat.com> |
2651 | ||
2652 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only | |
2653 | emit nop if the last real insn is CALL_INSN. | |
2654 | ||
b828d124 DS |
2655 | 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net> |
2656 | ||
2657 | * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define | |
2658 | as "nul". | |
2659 | * config/i386/xm-mingw32.h: Change GNU CC to GCC. | |
2660 | ||
d5648e12 DS |
2661 | 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net> |
2662 | ||
2663 | * config/i386/winnt.c (associated_type): Artificial methods are not | |
2664 | affected by the import/export status of their class unless they are | |
2665 | COMDAT. | |
2666 | (i386_pe_dllimport_p): Do not mark artificial methods as dllimport. | |
2667 | ||
2668 | * config/i386/winnt.c: Fix GCC copyright comment. | |
2669 | ||
b0e3f7ec GDR |
2670 | 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net> |
2671 | ||
2672 | PR c++/11531 | |
2673 | * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're | |
2674 | not recursing on hard error. | |
2675 | (diagnostic_for_decl): Likewise. | |
2676 | * diagnostic.def: Rearrange. | |
2677 | ||
71628aa0 R |
2678 | 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> |
2679 | ||
2680 | * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): | |
2681 | If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode. | |
2682 | ||
2683 | 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> | |
2684 | Richard Henderson <rth@redhat.com> | |
2685 | ||
2686 | * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table | |
2687 | to decide if to access a _Unwind_Ptr or a _Unwind_Word. | |
2688 | (_Unwind_SetGR): Likewise. | |
2689 | (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions. | |
2690 | (Unwind_SpTmp): New typedef. | |
2691 | (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr. | |
2692 | (uw_update_context): Use _Unwind_GetPtr. | |
2693 | (init_dwarf_reg_size_table): Move above uw_init_context_1. | |
2694 | (uw_init_context_1): Initialize dwarf_reg_size_table if necessary. | |
2695 | Use _Unwind_SetSpColumn. | |
2696 | (uw_install_context_1): Don't initialize dwarf_reg_size_table. | |
2697 | Use _Unwind_GetPtr. | |
2698 | ||
5a170a05 NB |
2699 | 2003-07-15 Neil Booth <neil@daikokuya.co.uk> |
2700 | ||
2701 | * c.opt: Document more options. | |
2702 | * toplev.c (documented_lang_options): Remove all local help strings. | |
2703 | ||
b0afa2fc MM |
2704 | 2003-07-15 Mark Mitchell <mark@codesourcery.com> |
2705 | ||
2706 | PR debug/11473 | |
2707 | * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of | |
2708 | base classes. | |
2709 | ||
5df90541 KH |
2710 | 2003-07-15 Kazu Hirata <kazu@cs.umass.edu> |
2711 | ||
2712 | PR target/10795 | |
2713 | * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't | |
2714 | swap comparison operands if doing so would generate an | |
2715 | unrecognizable insn. | |
2716 | ||
5a257872 EB |
2717 | 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr> |
2718 | ||
2719 | PR optimization/11320 | |
2720 | * sched-int.h (struct deps) [reg_conditional_sets]: New field. | |
2721 | (struct sched_info) [compute_jump_reg_dependencies]: New prototype. | |
2722 | * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to | |
2723 | current_sched_info->compute_jump_reg_dependencies. Record which | |
2724 | registers are used and which registers are set by the jump. | |
2725 | Clear deps->reg_conditional_sets after a barrier. | |
2726 | Set deps->reg_conditional_sets if the insn is a COND_EXEC. | |
2727 | Clear deps->reg_conditional_sets if the insn is not a COND_EXEC. | |
2728 | (init_deps): Initialize reg_conditional_sets. | |
2729 | (free_deps): Clear reg_conditional_sets. | |
2730 | * sched-ebb.c (compute_jump_reg_dependencies): New prototype. | |
2731 | Mark registers live on entry of the fallthrough block and conditionally | |
2732 | set as set by the jump. Mark registers live on entry of non-fallthrough | |
2733 | blocks as used by the jump. | |
2734 | * sched-rgn.c (compute_jump_reg_dependencies): New prototype. | |
2735 | Mark new parameters as unused. | |
2736 | ||
3cec3f83 RS |
2737 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
2738 | ||
2739 | * doc/invoke.texi: Resync MIPS -march documentation. | |
2740 | ||
98450f0d RS |
2741 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
2742 | ||
2743 | * config/mips/mips.h (PROCESSOR_R9000): New processor_type. | |
2744 | (TARGET_MIPS9000, TUNE_MIPS9000): New macros. | |
2745 | (GENERATE_MULT3_SI): True for TARGET_MIPS9000. | |
2746 | * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry. | |
2747 | (mips_rtx_costs): Adjust integer multiplication costs for the rm9000. | |
2748 | (mips_issue_rate): Handle PROCESSOR_R9000. | |
2749 | (mips_use_dfa_pipeline_interface): Likewise. | |
2750 | * config/mips/9000.md: New file. | |
2751 | * config/mips/mips.md: Include it. | |
2752 | (define_attr cpu): Add r9000. | |
2753 | (mulsi3_mult3): Use "mul" for rm9000 code. | |
2754 | ||
5fe25f47 SC |
2755 | 2003-07-15 Stan Cox <scox@redhat.com> |
2756 | ||
2757 | * config/mips/mips.h (PROCESSOR_R7000): New processor_type. | |
2758 | (TARGET_MIPS7000, TUNE_MIPS7000): New macros. | |
2759 | (GENERATE_MULT3_SI): True for TARGET_MIPS7000. | |
2760 | * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry. | |
2761 | (mips_rtx_costs): Adjust integer multiplication costs for the rm7000. | |
2762 | (mips_issue_rate): Handle PROCESSOR_R7000. | |
2763 | (mips_use_dfa_pipeline_interface): Likewise. | |
2764 | * config/mips/7000.md: New file. | |
2765 | * config/mips/mips.md: Include it. | |
2766 | (define_attr cpu): Add r7000. | |
2767 | (mulsi3_mult3): Use "mul" for rm7000 code. | |
2768 | ||
5a2515e6 RS |
2769 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
2770 | ||
2771 | * config/mips/mips.md (define_attr type): Add condmove. Use it for | |
2772 | the conditional move patterns. | |
2773 | * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove. | |
2774 | Check for condmove type. | |
2775 | (ir_vr54_arith): Add move type. | |
2776 | * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise. | |
2777 | * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise. | |
2778 | ||
72de27ea NB |
2779 | 2003-07-15 Neil Booth <neil@daikokuya.co.uk> |
2780 | ||
2781 | * c-opts.c (print_help): Remove. | |
2782 | (c_common_handle_option): Don't handle --help. | |
2783 | * c.opt: Document some options. | |
2784 | (--help): Remove. | |
2785 | * opts.c (print_filtered_help): New. | |
2786 | (print_help): Use it. | |
2787 | ||
e6ebd07b GK |
2788 | 2003-07-14 Geoffrey Keating <geoffk@apple.com> |
2789 | ||
2d799c09 GK |
2790 | * c-common.c (c_common_type_for_mode): Handle V4DFmode. |
2791 | * tree.c: (build_common_tree_nodes_2): Likewise. | |
2792 | * tree.h (enum tree_index): Add TI_V4DF_TYPE. | |
2793 | (V4DF_type_node): New. | |
2794 | ||
e6ebd07b GK |
2795 | * c-opts.c (push_command_line_include): Don't free deferred_opts, |
2796 | we'll need it. | |
2797 | (finish_options): Reset init_cursor. | |
2798 | ||
b90f141a KH |
2799 | 2003-07-15 Kazu Hirata <kazu@cs.umass.edu> |
2800 | ||
2801 | * expr.c (expand_assignment): Remove an unused argument | |
2802 | SUGGEST_REG. | |
2803 | * expr.h: Update the prototype. | |
2804 | * function.c: Update the callers. | |
2805 | * stmt.c: Likewise. | |
2806 | ||
1e7ee6ad MM |
2807 | 2003-07-14 Mark Mitchell <mark@codesourcery.com> |
2808 | ||
2809 | PR debug/11098 | |
2810 | * integrate.c (copy_decl_for_inlining): Do not mark copied decls | |
2811 | as DECL_ABSTRACT. | |
2812 | ||
bf66f7b0 NN |
2813 | 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> |
2814 | ||
2815 | * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass | |
2816 | with __cplusplus, not "we must use the C++ compiler's type" | |
2817 | * fixinc/inclhack.def (void_null): Note that Interix needs this. | |
2818 | * fixinc/fixincl.x: Regenerate. | |
2819 | ||
18009d03 GK |
2820 | 2003-07-14 Geoffrey Keating <geoffk@apple.com> |
2821 | ||
ea00486e GK |
2822 | * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects |
2823 | and unseen_objects from the global data before calling | |
2824 | __deregister_frame_info_bases. | |
2825 | (examine_objects): Insert objects into the seen_objects list, | |
2826 | not unseen_objects. | |
2827 | (_Unwind_Find_FDE): Always unlock the global object lists, even if | |
2828 | we couldn't allocate a data structure to put in it. | |
2829 | ||
18009d03 GK |
2830 | * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking. |
2831 | (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend. | |
2832 | (SET_TYPE_PROTOCOL_LIST): New. | |
2833 | * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST. | |
2834 | (get_object_reference): Likewise. | |
2835 | ||
9ae130f8 JH |
2836 | Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz> |
2837 | ||
2838 | * cfglayout.c (locator_file): Break out from .... | |
2839 | (insn_file): ... here. | |
2840 | (locator_line): Break out from .... | |
2841 | (insn_line): ... here. | |
2842 | * rtl.h (locator_file, locator_line): Declare. | |
2843 | (final_start_function): Set proper line/file info. | |
2844 | ||
e07d4821 GDR |
2845 | 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2846 | ||
2847 | * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is | |
2848 | handled by pp_c_cast_expression. | |
2849 | ||
121d69e6 RS |
2850 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
2851 | ||
2852 | * config/mips/mips.c (mips_expand_prologue): Use a single insn to | |
2853 | allocate 32768 bytes of stack. Use addition rather than subtraction | |
2854 | when a single insn is enough. | |
2855 | * config/mips/mips.md: Remove insns and splitters for subtracting | |
2856 | constants. | |
2857 | (subsi3): Only accept register operands. | |
2858 | (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well. | |
2859 | (subdi3_internal_3, subsi3_internal_2): Likewise. | |
2860 | (casesi): Use expand_binop to subtract the lower bound. | |
2861 | ||
3485245e RS |
2862 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
2863 | ||
2864 | * config/mips/mips.c (mips_in_small_data_p): Don't handle | |
2865 | TARGET_MIPS16 specially. | |
2866 | ||
6627b7f9 RS |
2867 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
2868 | ||
6d0b50a4 RS |
2869 | * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use |
2870 | mips_output_aligned_bss. | |
2871 | * config/mips/linux.h: Likewise. | |
2872 | * config/mips/mips-protos.h (mips_output_aligned_bss): Declare. | |
2873 | * config/mips/mips.c (mips_output_aligned_bss): New function. | |
2874 | ||
8d50bd19 RS |
2875 | * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete. |
2876 | * config/mips/elf64.h: Likewise. | |
2877 | ||
c1115ccd RS |
2878 | * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use |
2879 | mips_declare_object_name. | |
2880 | (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object. | |
2881 | * config/mips/elf64.h: As for elf.h. | |
2882 | * config/mips/iris6.h: Likewise. | |
2883 | * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h. | |
2884 | * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary | |
2885 | do...while (0) block. | |
2886 | * config/mips/mips-protos.h (mips_declare_object_name): Declare. | |
2887 | (mips_finish_declare_object): Declare. | |
2888 | * config/mips/mips.c (mips_declare_object_name): New function. | |
2889 | (mips_finish_declare_object): New function. | |
2890 | ||
060ff934 RS |
2891 | * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete. |
2892 | * config/mips/linux.h: Likewise. | |
2893 | ||
d82783b6 RS |
2894 | * config/mips/mips.c (inside_function): Delete. |
2895 | (file_in_function_warning, ignore_line_number): Delete. | |
2896 | (mips_output_filename): Don't warn about changing filenames within | |
2897 | a function. | |
2898 | (mips_output_lineno): Update accordingly. | |
2899 | (mips_output_function_prologue): Don't reset the deleted variables. | |
2900 | * config/mips/mips.h (inside_function): Delete. | |
2901 | (file_in_function_warning, ignore_line_number): Delete. | |
2902 | ||
373f8df7 RS |
2903 | * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs. |
2904 | * config/mips/elf64.h: Likewise. | |
2905 | * config/mips/openbsd.h: Likewise. | |
2906 | * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs. | |
2907 | * config/mips/linux.h: Likewise. | |
2908 | * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete. | |
2909 | (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete. | |
2910 | ||
6627b7f9 RS |
2911 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h |
2912 | to the list of include files when using gas. | |
2913 | (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally. | |
2914 | * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO. | |
2915 | * config/mips/elf64.h: Likewise. | |
2916 | * config/mips/iris5.h: Likewise. | |
2917 | * config/mips/linux.h: Likewise. | |
2918 | * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition. | |
2919 | * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise. | |
2920 | (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to... | |
2921 | * config/mips/sdb.h: ...this new file. | |
2922 | ||
c18b00c0 NN |
2923 | 2003-07-14 Douglas Rupp <rupp@gnat.com> |
2924 | ||
2925 | * fixinc/server.c (server_setup): Don't use non-POSIX NULL first | |
2926 | argument to getcwd; use fixed buffer instead. | |
2927 | ||
2928 | 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> | |
2929 | ||
2930 | * fixinc/mkfixinc.sh: Treat OpenBSD normally. | |
2931 | * fixinc/fixinc.wrap: Delete. | |
2932 | ||
adc4adcd GP |
2933 | 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu> |
2934 | ||
2935 | * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs | |
2936 | don't have 2. | |
2937 | ||
2938 | 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu> | |
2939 | ||
2940 | * ggc-page.c (struct globals): Add new fields to keep track of the | |
2941 | total allocated memory and overhead. | |
2942 | (ggc_print_statistics): Print them. | |
2943 | (ggc_alloc): Keep track of the total allocated memory and the | |
2944 | overhead. | |
2945 | ||
2946 | * tree.c (dump_tree_statistics): Increase spacing. | |
2947 | (enum tree_node_kind): Move to ... | |
2948 | * tree.h (enum tree_node_kind): ... here. | |
2949 | (tree_node_counts, tree_node_sizes): Declare. | |
2950 | ||
2951 | 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca> | |
2952 | ||
2953 | * doc/include/texinfo.tex: Upgrade to texinfo 4.6. | |
2954 | ||
bbd288a4 FS |
2955 | 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2956 | ||
2957 | PR optimization/11440 | |
2958 | * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or | |
2959 | SIGN_EXTRACT SETs. | |
2960 | ||
6e985040 AM |
2961 | 2003-07-14 Alan Modra <amodra@bigpond.net.au> |
2962 | ||
2963 | * doc/tm.texi (BLOCK_REG_PADDING): Describe. | |
2964 | * expr.h (struct locate_and_pad_arg_data): Add where_pad. | |
2965 | (emit_group_load, emit_group_store): Adjust declarations. | |
2966 | Remove most occurrences of #ifdef TREE_CODE. | |
2967 | * expr.c (emit_group_load): Add "type" param, and use | |
2968 | BLOCK_REG_PADDING to determine need for a shift. Optimize non- | |
2969 | aligned accesses if !SLOW_UNALIGNED_ACCESS. | |
2970 | (emit_group_store): Likewise. | |
2971 | (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust | |
2972 | emit_group_load and emit_group_store calls. | |
2973 | * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use | |
2974 | BLOCK_REG_PADDING to determine whether we need endian_correction. | |
2975 | (load_register_parameters): Localize vars. Handle shifting of | |
2976 | small values to the correct end of regs. Adjust emit_group_load | |
2977 | call. | |
2978 | (expand_call, emit_library_call_value_1): Adjust emit_group_load | |
2979 | and emit_group_store calls. | |
2980 | * function.c (assign_parms): Set mem alignment for stack slots. | |
2981 | Adjust emit_group_store call. Store values at the "wrong" end | |
2982 | of regs to the stack. Use BLOCK_REG_PADDING. | |
2983 | (locate_and_pad_parm): Save where_pad. | |
2984 | (expand_function_end): Adjust emit_group_load call. | |
2985 | * stmt.c (expand_value_return): Adjust emit_group_load call. | |
2986 | * Makefile.in (calls.o): Depend on $(OPTABS_H). | |
2987 | * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0. | |
2988 | (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define. | |
2989 | (MUST_PASS_IN_STACK): Define. | |
2990 | (BLOCK_REG_PADDING): Define. | |
2991 | * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs. | |
2992 | (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING. | |
2993 | * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs. | |
2994 | (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code. | |
2995 | Act on AGGREGATES_PAD_UPWARD_ALWAYS. | |
2996 | ||
4fab535e AL |
2997 | 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com> |
2998 | ||
2999 | * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1. | |
3000 | ||
8d2e5f72 RK |
3001 | 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3002 | ||
3003 | * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM | |
3004 | both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF. | |
3005 | ||
7eaab492 NN |
3006 | 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org> |
3007 | ||
3008 | PR other/11123 | |
3009 | * toplev.c: Don't cut off option names. | |
3010 | ||
9d4a30f2 AJ |
3011 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
3012 | ||
3013 | * c-decl.c (link_hash_hash): Avoid warning about casting pointer | |
3014 | to integer of different size. | |
3015 | ||
34ed3bb0 KH |
3016 | 2003-07-13 Kazu Hirata <kazu@cs.umass.edu> |
3017 | ||
3018 | * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0) | |
3019 | to (eq (and X 1) 0). | |
3020 | ||
1a7d0840 AJ |
3021 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
3022 | ||
3023 | * config.gcc: Add pmmintrin.h for x86_64-*-*. | |
3024 | ||
43839642 ZW |
3025 | 2003-07-13 Zack Weinberg <zack@codesourcery.com> |
3026 | ||
3027 | * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H). | |
3028 | (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency | |
3029 | list. Move these all together down by cpplib. | |
3030 | ||
3031 | * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining | |
3032 | definition of CPPCHAR_SIGNED_T. | |
3033 | ||
3034 | * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c | |
3035 | * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c | |
3036 | * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h. | |
3037 | ||
3038 | * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init. | |
3039 | * cppinit.c (cpp_create_reader): Likewise. | |
3040 | ||
3041 | * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line. | |
3042 | * cpptrad.c: Likewise. All callers changed. | |
3043 | * cpplib.c: All callers changed. | |
3044 | * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout. | |
3045 | * hashtable.h: Define GTY(x) to nothing here too. | |
3046 | ||
0acf4f88 RK |
3047 | 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3048 | ||
3049 | * stor-layout.c (compute_record_mode): Remove very obsolete test | |
3050 | that forces BLKmode for records with fields crossing word boundary. | |
3051 | ||
46db61e7 ZW |
3052 | 2003-07-13 Zack Weinberg <zack@codesourcery.com> |
3053 | ||
3054 | * Makefile.in: Remove orphan reference to acconfig.h. | |
3055 | ||
db0e878d AJ |
3056 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
3057 | ||
3058 | * cgraphunit.c: Convert prototypes to ISO C90. | |
3059 | ||
4146d8d0 NN |
3060 | 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org> |
3061 | ||
3062 | * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass | |
3063 | (for OpenBSD). | |
3064 | * fixinc/fixincl.x: Rebuild. | |
3065 | ||
6f3ca281 ZW |
3066 | 2003-07-12 Zack Weinberg <zack@codesourcery.com> |
3067 | ||
3068 | * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for | |
3069 | i?86-*-*. Use correct name of cache variable. | |
3070 | * configure: Regenerate. | |
3071 | ||
9a9f7594 KH |
3072 | 2003-07-12 Kazu Hirata <kazu@cs.umass.edu> |
3073 | ||
3074 | * config/alpha/alpha.c: Fix comment typos. | |
3075 | * config/alpha/alpha.md: Likewise. | |
3076 | * config/arm/arm.c: Likewise. | |
3077 | * config/arm/arm.md: Likewise. | |
3078 | * config/arm/lib1funcs.asm: Likewise. | |
3079 | * config/avr/avr.md: Likewise. | |
3080 | * config/arm/README-interworking: Fix typos. | |
3081 | ||
4ed43216 KH |
3082 | 2003-07-12 Kazu Hirata <kazu@cs.umass.edu> |
3083 | ||
3084 | * c-format.c: Fix comment formatting. | |
3085 | * c-typeck.c: Likewise. | |
3086 | * coverage.c: Likewise. | |
3087 | * cppcharset.c: Likewise. | |
3088 | * cpplib.c: Likewise. | |
3089 | * dbxout.c: Likewise. | |
3090 | * gcov-io.h: Likewise. | |
3091 | * toplev.c: Likewise. | |
3092 | ||
c3a5b1e9 NN |
3093 | 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org> |
3094 | ||
6f3ca281 | 3095 | * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this |
c3a5b1e9 NN |
3096 | fix. |
3097 | ||
8ada417f ZW |
3098 | 2003-07-12 Zack Weinberg <zack@codesourcery.com> |
3099 | ||
3100 | * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE, | |
3101 | uses three-argument AC_DEFINE so no acconfig.h entries are | |
3102 | needed. | |
3103 | (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers | |
3104 | which contains the GAS version number as a scaled integer. | |
3105 | (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add | |
3106 | ability to check for ELF assembler. | |
3107 | (gcc_GAS_CHECK_FEATURE): New macro. | |
3108 | * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all | |
3109 | assembler feature checks using gcc_GAS_CHECK_FEATURE. | |
3110 | Use three-argument AC_DEFINE everywhere. | |
3111 | * acconfig.h: Deleted. | |
3112 | * config.in, configure: Regenerate. | |
3113 | ||
d5d16b5f NN |
3114 | 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org> |
3115 | ||
3b57c563 NN |
3116 | * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in |
3117 | (on OpenBSD). | |
d33fb69b | 3118 | * fixinc/fixincl.x: Regenerate. |
3b57c563 | 3119 | |
d5d16b5f NN |
3120 | * fixinc/inclhack.def (gnu_types): Improve comment. |
3121 | ||
439f7bc3 AJ |
3122 | 2003-07-12 Andreas Jaeger <aj@suse.de> |
3123 | ||
3124 | * fp-test.c (main): Use ISO C90 prototype. | |
3125 | ||
3126 | * version.c: Remove unneded include of ansidecl.h. | |
3127 | ||
3128 | * cgraph.h: Convert prototypes to ISO C90. | |
3129 | * cgraph.c: Likewise. | |
3130 | * fix-header.c: Likewise. | |
3131 | * ra.h: Likewise. | |
3132 | * protoize.c: Likewise. | |
3133 | ||
1a5c5701 JH |
3134 | Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz> |
3135 | ||
3136 | * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix | |
3137 | warning. | |
3138 | ||
b58b1157 JH |
3139 | Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz> |
3140 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
3141 | ||
3142 | * cgraph.c (cgraph_max_uid): New global variable. | |
3143 | (cgraph_node): Set uid field. | |
3144 | (create_edge): Keep inline flags consistent. | |
3145 | (dump_cgraph): Dump more info. | |
3146 | * cgraph.h (struct cgraph_local_info): Remove inline_many and | |
3147 | can_inline_once; add inlinable, disgread_inline_limits, and self_insn | |
3148 | (struct cgraph_global_info): Add insns, calls, cloned_times, | |
3149 | will_be_output. | |
3150 | (struct cgraph_node): Add uid. | |
3151 | (struct cgraph_edge): Add inline_call. | |
3152 | (cgraph_max_uid, cgraph_inline_p): Declare. | |
3153 | * cgraph.c: Include params.h and fibheap.h | |
3154 | (cgraph_mark_functions_to_inline_once): Kill. | |
3155 | (INSNS_PER_CALL): New constant. | |
3156 | (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New | |
3157 | static variables. | |
3158 | (cgraph_finalize_function): Do not analyze inlining. | |
3159 | (cgraph_finalize_compilation_unit): Set inlining attributes. | |
3160 | (cgraph_mark_functions_to_output): More consistency checks. | |
3161 | (cgraph_optimize_function): Set current_function_decl to NULL. | |
3162 | (cgraph_expand_function): Use new inline flags. | |
3163 | (cgraph_postorder): Expand from cgraph_expand_functions. | |
3164 | (INLINED_TIMES, SET_INLINED_TIMES): New macros. | |
3165 | (cgraph_inlined_into, cgraph_inlined_callees, | |
3166 | cgraph_estimate_size_after_inlining, cgraph_estimate_growth, | |
3167 | cgraph_mark_inline, cgraph_check_inline_limits, | |
439f7bc3 | 3168 | cgraph_default_inline_p, cgraph_decide_inling_of_small_functions, |
b58b1157 JH |
3169 | cgraph_decide_inlining, cgraph_inline_p): New functions. |
3170 | * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH, | |
3171 | PARAM_INLINE_UNIT_GROWTH): New parameters. | |
3172 | * tree-inline.c (struct inline_data): New field current_decl. | |
3173 | (expand_call_inline): Avoid forward declarations; use | |
3174 | inlinable_function_p. | |
3175 | (optimize_inline_calls): Set id.current_decl. | |
3176 | ||
27b8e366 AP |
3177 | 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu> |
3178 | ||
3179 | * configure.in: Remove wrongly added definition of | |
3180 | local_prefix. | |
3181 | * configure: Regenerate. | |
3182 | ||
80fa0b4c DN |
3183 | 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu> |
3184 | ||
3185 | * rtl.def (NOTE): Do not use padding. | |
3186 | ||
1ea6f4c8 DH |
3187 | 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com> |
3188 | ||
3189 | * doc/install.tex: Update required binutils for i?86-*-linux* | |
3190 | ||
ed2d8944 RH |
3191 | 2003-07-11 Richard Henderson <rth@redhat.com> |
3192 | ||
3193 | * Makefile.in (stage1_build): Force OBJS-onestep=OBJS. | |
3194 | ||
a44cea75 MM |
3195 | 2003-07-11 Mark Mitchell <mark@codesourcery.com> |
3196 | ||
3197 | * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of | |
3198 | TRANSLATION_UNIT_DECL as top_level. | |
3199 | ||
358b8f01 JJ |
3200 | 2003-07-11 Jakub Jelinek <jakub@redhat.com> |
3201 | ||
3202 | * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists, | |
3203 | then fall back to cmpstrM. | |
3204 | * builtins.c (expand_builtin_memcmp): Likewise. | |
3205 | * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to... | |
3206 | (s390_expand_cmpmem): ... this. | |
3207 | * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64, | |
3208 | cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed | |
3209 | from cmpstr* patterns. Rename call to s390_expand_cmpstr | |
3210 | to s390_expand_cmpmem. | |
3211 | * config/s390/s390.c (s390_expand_cmpstr): Rename to... | |
3212 | (s390_expand_cmpstr): ... this. Rename cmpstr* instructions | |
3213 | to cmpmem*. | |
3214 | * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from | |
3215 | cmpstr* patterns. | |
3216 | * doc/md.texi (cmpstrM): Describe as String compare insn, not | |
3217 | Block compare insn. | |
3218 | (cmpmemM): Add. | |
3219 | ||
8634e925 LR |
3220 | 2003-07-11 Loren James Rittle <ljrittle@acm.org> |
3221 | ||
3222 | * config/i386/freebsd.h (SET_ASM_OP): Remove. | |
3223 | (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case. | |
3224 | (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER | |
3225 | MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace. | |
3226 | ||
48144cd4 RH |
3227 | 2003-07-11 Richard Henderson <rth@redhat.com> |
3228 | ||
3229 | * function.c (assign_parms): Don't recombine complex args if | |
3230 | fnargs is unchanged from orig_fnargs. | |
3231 | (split_complex_args): Return args without complex before copying. | |
3232 | Re-layout the modified parameters. | |
3233 | ||
fee226d2 R |
3234 | 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com> |
3235 | ||
3236 | * regclass.c (choose_hard_reg_mode): Add third argument. | |
3237 | Changed all callers. | |
3238 | * rtl.h (choose_hard_reg_mode): Update declaration. | |
3239 | * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): | |
3240 | Take HARD_REGNO_CALL_PART_CLOBBERED into account. | |
3241 | ||
d1bd0ded GK |
3242 | 2003-07-11 Geoffrey Keating <geoffk@apple.com> |
3243 | ||
3244 | * c-decl.c (finish_decl): Handle 'used' here... | |
3245 | * cgraphunit.c (cgraph_finalize_function): ... and here ... | |
3246 | * c-common.c: (handle_used_attribute): ... not here. | |
439f7bc3 | 3247 | |
d1bd0ded GK |
3248 | * configure.in (onstep): Support --enable-intermodule. |
3249 | * Makefile.in (OBJS-common): New. | |
3250 | (OBJS-md): New. | |
3251 | (OBJS-archive): New. | |
3252 | (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive. | |
3253 | (OBJS-onestep): New. | |
3254 | (libbackend.a): Support @onestep@. | |
3255 | (libbackend.o): New. | |
3256 | * configure: Regenerate. | |
439f7bc3 | 3257 | |
d1bd0ded GK |
3258 | * c-common.h (c_reset_state): New prototype. |
3259 | (c_parse_file): New prototype. | |
3260 | (finish_file): Move prototype from c-tree.h. | |
3261 | * c-decl.c: Include <hashtab.h>. | |
3262 | (builtin_decls): New. | |
3263 | (current_file_decl): New. | |
3264 | (duplicate_decls): Add extra parameter. Change all callers. Don't | |
3265 | output duplicate common symbols. | |
3266 | (link_hash_hash): New. | |
3267 | (link_hash_eq): New. | |
3268 | (poplevel): Handle popping of the top level. | |
3269 | (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL. | |
3270 | (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate. | |
3271 | (pushdecl_top_level): Likewise. | |
3272 | (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL. | |
3273 | (c_init_decl_processing): Create TRANSLATION_UNIT_DECL. | |
3274 | (finish_decl): Handle TRANSLATION_UNIT_DECL. | |
3275 | (merge_translation_unit_decls): New. | |
3276 | (c_write_global_declarations): New. | |
3277 | (c_reset_state): New. | |
3278 | (implicitly_declare): Handle TRANSLATION_UNIT_DECL. | |
3279 | * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New. | |
3280 | * c-objc-common.c (c_cannot_inline_tree_fn): Handle | |
3281 | TRANSLATION_UNIT_DECL. | |
3282 | (c_objc_common_finish_file): Call merge_translation_unit_decls. | |
3283 | * c-opts.c (in_fnames): Rename from in_fname. | |
3284 | (c_common_decode_option): Handle multiple input filenames. | |
3285 | (c_common_post_options): Likewise. | |
3286 | (c_common_parse_file): Likewise; also, call c_parse_file rather than | |
3287 | yyparse. | |
3288 | * c-parse.in: Move cleanup code to c_parse_file. | |
3289 | (free_parser_stacks): Move contents to c_parse_file. | |
3290 | (c_parse_file): New. | |
3291 | * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT | |
3292 | for integer types. | |
3293 | (C_DECL_FILE_SCOPE): New. | |
3294 | (finish_file): Move prototype to c-common.h. | |
3295 | (merge_translation_unit_decls): New prototype. | |
3296 | (comptypes): Add extra parameter to prototype. | |
3297 | (c_write_global_declarations): New prototype. | |
3298 | * c-typeck.c (tagged_types_tu_compatible_p): New. | |
3299 | (function_types_compatible_p): Add extra parameter, change all callers. | |
3300 | (type_lists_compatible_p): Likewise. | |
3301 | (comptypes): Likewise. | |
3302 | (struct tagged_tu_seen): New. | |
3303 | (tagged_tu_seen_base): New. | |
3304 | (build_unary_op): Handle TRANSLATION_UNIT_DECL. | |
3305 | (c_mark_addressable): Remove #if 0 code. | |
3306 | * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add | |
3307 | comment explaining why it shouldn't have to. | |
3308 | * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY | |
3309 | options. | |
3310 | * cppinit.c (cpp_read_next_file): New. | |
3311 | (cpp_read_main_file): Use it. | |
3312 | * cpplib.c (undefine_macros): New. | |
3313 | (cpp_undef_all): New. | |
3314 | * cpplib.h (cpp_read_next_file): Prototype. | |
3315 | (cpp_undef_all): Prototype. | |
3316 | * langhooks-def.h (write_global_declarations): Remove prototype. | |
3317 | * toplev.h (write_global_declarations): Add prototype. | |
3318 | * tree.c (decl_type_context): Use switch statement, handle | |
3319 | TRANSLATION_UNIT_DECL. | |
3320 | * tree.def: Update documentation for TRANSLATION_UNIT_DECL. | |
3321 | (TRANSLATION_UNIT_DECL): New kind of tree. | |
3322 | * tree.h: Update documentation for TRANSLATION_UNIT_DECL. | |
3323 | * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies. | |
3324 | * doc/invoke.texi: Make attempt to document new functionality. | |
3325 | ||
3326 | 2003-05-19 Per Bothner <bothner@apple.com> | |
3327 | ||
3328 | * gcc.c (combine_inputs): New. | |
3329 | (process_command): Set combine_inputs. | |
3330 | (do_spec_1): Handle combine_inputs. | |
3331 | (main): Likewise. | |
3332 | ||
ac8354b1 JW |
3333 | 2003-07-10 James E Wilson <wilson@tuliptree.org> |
3334 | ||
3335 | PR optimization/9745 | |
3336 | * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before | |
3337 | loop_insn_emit_before. | |
3338 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
439f7bc3 | 3339 | |
dea55da5 ZW |
3340 | 2003-07-10 Zack Weinberg <zack@codesourcery.com> |
3341 | ||
3342 | * cppcharset.c: Fix comment. | |
3343 | (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning. | |
3344 | (EILSEQ): #define to EINVAL if not already defined. | |
3345 | (convert_using_iconv): #if out when !HAVE_ICONV. | |
3346 | (init_iconv_desc): Handle !HAVE_ICONV here... | |
3347 | (cpp_init_iconv): ...not here. | |
3348 | ||
f3fdaec4 NB |
3349 | 2003-07-11 Neil Booth <neil@daikokuya.co.uk> |
3350 | ||
3351 | * common.opt: More --help messages. | |
3352 | * opts.c (print_help): Use puts(). | |
3353 | * toplev.c (f_options): Remove help text. | |
3354 | (display_help): Don't dump f_options. | |
3355 | ||
7ebbf1ea NN |
3356 | 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org> |
3357 | ||
3358 | * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*. | |
3359 | Move i?86-*-interix* to the don't-fix list. | |
3360 | * fixinc/fixinc.interix: Delete with extreme prejudice. | |
3361 | ||
959a73a4 DH |
3362 | 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com> |
3363 | ||
3364 | PR bootstrap/10758 | |
3365 | * doc/install.texi: Document requirements for ia64-*-hpux* target. | |
3366 | ||
9959901c RS |
3367 | 2003-07-10 Roger Sayle <roger@eyesopen.com> |
3368 | ||
3369 | * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define. | |
3370 | ||
6b88314c ZW |
3371 | 2003-07-10 Zack Weinberg <zack@codesourcery.com> |
3372 | ||
3373 | * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8, | |
3374 | one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16, | |
3375 | one_utf16_to_utf8, conversion_loop, convert_utf8_utf16, | |
3376 | convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8, | |
3377 | convert_no_conversion, convert_using_iconv): New functions. | |
3378 | (APPLY_CONVERSION): New macro. | |
3379 | (struct conversion, conversion_tab): New data structure. | |
3380 | (init_iconv_desc): Check conversion_tab for a custom conversion | |
3381 | primitive before trying to use iconv. | |
3382 | (convert_cset): Deleted. | |
3383 | (cpp_init_iconv): Use UTF- terminology, not UCS-. | |
3384 | (_cpp_destroy_iconv): Update to match. | |
3385 | (_cpp_valid_ucn): We don't need iconv to implement UCNs. | |
3386 | (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION. | |
3387 | (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION. | |
3388 | (_cpp_interpret_string_notranslate): New function, moved here | |
3389 | from cpplib.c. | |
3390 | ||
3391 | * cpphash.h (convert_f, struct cset_converter): New types. | |
3392 | (struct cpp_reader): narrow_cset_desc and wide_cset_desc | |
3393 | are now struct cset_converter, not bare iconv_t. | |
3394 | Update prototypes. | |
3395 | * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c; | |
3396 | all callers changed. | |
3397 | ||
38f4680f | 3398 | 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com> |
6b88314c | 3399 | |
38f4680f KC |
3400 | * Makefile.in (options.h): Depend on Makefile. Add move-if-change |
3401 | to opts.sh command line. | |
3402 | * opts.sh: Write to temporary files with a move-if-change at the end. | |
3403 | ||
2a868fac | 3404 | 2003-07-10 Denis Chertykov <denisc@overta.ru> |
6b88314c | 3405 | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9db367b4 DC |
3406 | |
3407 | * combine.c (gen_binary): Handle the CLOBBER rtx and | |
3408 | don't build a binary operation with it. | |
3409 | ||
3b14e3af ZD |
3410 | 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3411 | ||
3412 | * gcse.c (load_kills_store, find_loads, store_killed_in_insn, | |
3413 | store_killed_after, store_killed_before): Keep track of the correct | |
3414 | dependency function to use. | |
3415 | ||
a9189cc0 SB |
3416 | 2003-07-10 Steven Bosscher <steven@gcc.gnu.org> |
3417 | * toplev.c (do_compile): Don't try to open dump files before | |
3418 | lang_dependent_init initializes dump_base_name. | |
3419 | ||
e97a46ce KG |
3420 | 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3421 | ||
3422 | * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin): | |
3423 | Use ARRAY_SIZE. | |
3424 | * config/frv/frv.c (frv_expand_builtin): Likewise. | |
3425 | * config/sh/sh.c (sh_media_init_builtins): Likewise. | |
3426 | ||
4a386498 MM |
3427 | 2003-07-09 Mark Mitchell <mark@codesourcery.com> |
3428 | ||
3429 | PR c++/10032 | |
3430 | * doc/invoke.texi (C++ Dialect Options): Change documentation of | |
3431 | -fpermissive. | |
3432 | ||
1e60c057 R |
3433 | 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com> |
3434 | ||
3435 | * tm.texi (RETURN_ADDR_OFFSET): Document. | |
3436 | ||
330d2e2a NS |
3437 | 2003-07-10 Nathan Sidwell <nathan@codesourcery.com> |
3438 | ||
3439 | * gcov-io.h: Update documentation. | |
3440 | (GCOV_UNSIGNED2STRING): New. | |
3441 | (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH, | |
3442 | GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH, | |
3443 | GCOV_TAG_SUMMARY_LENGTH): Adjust. | |
3444 | (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM, | |
3445 | GCOV_TAG_COUNTER_NUM): New. | |
3446 | (GCOV_BLOCK_SIZE): Number of words. | |
3447 | (gcov_var): Adjust buffer type. | |
3448 | * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ... | |
3449 | (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word | |
3450 | count, not byte count. | |
3451 | (gcov_open): Adjust overread init. | |
3452 | (gcov_allocate, gcov_write_unsigned, gcov_write_counter, | |
3453 | gcov_write_string, gcov_write_tag, gcov_write_length, | |
3454 | gcov_write_tag_length): Adjust. | |
3455 | (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust. | |
3456 | (gcov_sync, gcov_seek): Adjust. | |
3457 | * gcov-dump.c (print_usage): Show gcc version only. | |
3458 | (dump_file): Use GCOV_UNSIGNED2STRING. | |
3459 | (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros. | |
3460 | * gcov.c (print_version): Show gcc version only. | |
3461 | (read_graph_file): Use GCOV_UNSIGNED2STRING. Use | |
3462 | GCOV_TAG_*_NUM macros. | |
3463 | (read_count_file): Use GCOV_UNSIGNED2STRING. Use | |
3464 | GCOV_TAG_COUNTER_LENGTH. | |
3465 | * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING. | |
3466 | Use GCOV_TAG_COUNTER_NUM. | |
3467 | * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING. | |
3468 | (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK. | |
3469 | ||
3dbb446e AS |
3470 | 2003-07-10 Andreas Schwab <schwab@suse.de> |
3471 | ||
3472 | * gcov-dump.c (dump_file): Fix missing address operator. | |
3473 | ||
11791dbc KH |
3474 | 2003-07-10 Kazu Hirata <kazu@cs.umass.edu> |
3475 | ||
3476 | PR c/11449 | |
3477 | * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit | |
3478 | of HOST_WIDE_INT. | |
3479 | (fold_single_bit_test): If sign_bit_p() fails, assume that the | |
3480 | bit being tested is not a sign bit. | |
3481 | ||
ae12c666 KH |
3482 | 2003-07-10 Kazu Hirata <kazu@cs.umass.edu> |
3483 | ||
3484 | * config/h8300/h8300.md (a peephole2): New. | |
3485 | ||
2beef00e AO |
3486 | 2003-07-10 Alexandre Oliva <aoliva@redhat.com> |
3487 | ||
3488 | 2001-12-13 Alexandre Oliva <aoliva@redhat.com> | |
3489 | * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker | |
3490 | from ld-linux.so.2 to ld.so.1. | |
3491 | 2001-11-18 Alexandre Oliva <aoliva@redhat.com> | |
3492 | * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread. | |
3493 | * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath | |
3494 | nor -Wl,-rpath-link. | |
3495 | (LIB_SPEC): Add -rpath-link if !static. | |
3496 | 2001-08-22 Alexandre Oliva <aoliva@redhat.com> | |
3497 | * config/mn10300/mn10300.c (mn10300_protect_label): New | |
3498 | variable. | |
3499 | * config/mn10300/linux.h (PRINT_OPERAND, | |
3500 | PRINT_OPERAND_ADDRESS): Set it during their execution. | |
3501 | (ASM_OUTPUT_LABELREF): Output `+' before symbol name if | |
3502 | mn10300_protect_label is set. | |
3503 | * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and | |
3504 | -Wl,-rpath-link. | |
3505 | (LIB_SPEC, STARTFILE_SPEC): Define. | |
3506 | 2001-05-11 Alexandre Oliva <aoliva@redhat.com> | |
3507 | * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define | |
3508 | FLOAT_BIT_ORDER_MISMATCH. | |
3509 | 2001-05-09 Alexandre Oliva <aoliva@redhat.com> | |
3510 | * config.gcc (am33_2.0-*-linux*): Added. | |
3511 | * config/mn10300/linux.h: New. | |
3512 | * config/mn10300/t-linux: New. | |
3513 | ||
75040a04 AJ |
3514 | 2003-07-10 Andreas Jaeger <aj@suse.de> |
3515 | ||
3516 | * fold-const.c: Properly wrap prototypes. | |
3517 | ||
d1776069 AO |
3518 | 2003-07-09 Alexandre Oliva <aoliva@redhat.com> |
3519 | ||
3520 | 2003-06-16 Alexandre Oliva <aoliva@redhat.com> | |
3521 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): | |
3522 | Moved from... | |
3523 | * config/mn10300/mn10300.md (GOTaddr2picreg): ... here. | |
3524 | * config/mn10300/mn10300.h: GTY-declare it. | |
3525 | 2003-06-11 Alexandre Oliva <aoliva@redhat.com> | |
3526 | * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix | |
3527 | prototype. Use incoming RTL argument. | |
3528 | 2002-12-12 Alexandre Oliva <aoliva@redhat.com> | |
3529 | * config/mn10300/mn10300.md (int_label): Move C statements... | |
3530 | (GOTaddr2picreg): ... here. | |
3531 | 2002-08-15 Alexandre Oliva <aoliva@redhat.com> | |
3532 | * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move... | |
3533 | * config/mn10300/mn10300.c (mn10300_encode_section_info): | |
3534 | ... here. New function. | |
3535 | (TARGET_ENCODE_SECTION_INFO): Define to it. | |
3536 | 2001-11-04 Alexandre Oliva <aoliva@redhat.com> | |
3537 | * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in | |
3538 | pattern name. | |
3539 | (mn10300_loadPC): Define as insn splittable after reload. | |
3540 | 2001-05-13 Alexandre Oliva <aoliva@redhat.com> | |
3541 | * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them | |
3542 | be defined in .rodata even in PIC, now that the assembler | |
3543 | supports that. | |
3544 | 2001-05-09 Alexandre Oliva <aoliva@redhat.com> | |
3545 | * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the | |
3546 | symbol take an underscore prefix. | |
3547 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
3548 | * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p, | |
3549 | legitimize_pic_address): Declare. | |
3550 | * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark | |
3551 | the PIC register as fixed. | |
3552 | (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'. | |
3553 | (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for | |
3554 | PIC. | |
3555 | (LEGITIMATE_PIC_OPERAND_P): Define. | |
3556 | (PIC_OFFSET_TABLE_REGNUM): Define. | |
3557 | (GOT_SYMBOL_NAME): Define. | |
3558 | (SYMBOLIC_CONST_P): Define. | |
3559 | (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local | |
3560 | symbols. | |
3561 | (MN10300_GLOBAL_P): Test it. | |
3562 | (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs. | |
3563 | (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC. | |
3564 | * config/mn10300/mn10300.c (print_operand): Handle unspec. | |
3565 | (expand_prologue): Set PIC register. | |
3566 | (call_address_operand): Don't match SYMBOL_REFs in PIC. | |
3567 | (legitimize_address): Call legitimize_pic_address. | |
3568 | (legitimize_pic_address): New fn. | |
3569 | (legitimate_pic_operand_p): New fn. | |
3570 | * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants. | |
3571 | (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF, | |
3572 | UNSPEC_PLT): New constants. | |
3573 | (pop_pic_reg): New insn. | |
3574 | (movsi): Adjust non-PIC addresses. | |
3575 | (builtin_setjmp_receiver): Restore the PIC register. | |
3576 | (casesi): New insn. | |
3577 | (call): Adjust non-PIC addresses. | |
3578 | (int_label, GOTaddr2picreg): New expands. | |
3579 | (am33_loadPC): New insn. | |
3580 | (mn10300_loadPC): New expand. | |
3581 | (call_next_insn): New insn. | |
3582 | (add_GOT_to_pic_reg): New expand. | |
3583 | (symGOT2reg, symGOT2reg_i): New expands. | |
3584 | (symGOTOFF2reg, symGOTOFF2reg_i): New expands. | |
3585 | (sym2PIC, sym2PLT): New expands. | |
3586 | ||
18e9d2f9 AO |
3587 | 2003-07-09 Alexandre Oliva <aoliva@redhat.com> |
3588 | ||
3589 | * config/mn10300/mn10300.h (PREDICATE_CODES): Define. | |
3590 | 2001-05-01 Alexandre Oliva <aoliva@redhat.com> | |
3591 | * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed | |
3592 | to flag_unsafe_math_optimizations. | |
3593 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
3594 | * config/mn10300/mn10300.c (expand_prologue): Mark | |
3595 | FP-register-saving insns as frame-related. | |
3596 | 2001-02-13 Alexandre Oliva <aoliva@redhat.com> | |
3597 | * config/mn10300/mn10300.c | |
3598 | (mn10300_get_live_callee_saved_regs): Don't search past | |
3599 | LAST_EXTENDED_REGNUM. | |
3600 | (mn10300_gen_multiple_store, store_multiple_operation): Likewise. | |
3601 | * config/mn10300/mn10300.md: Remove excessive line breaks from | |
3602 | `@' output patterns that were accounted as additional | |
3603 | alternatives. | |
3604 | * config/mn10300/mn10300.md, config/mn10300/mn10300.c: | |
3605 | Re-introduce changes accidentally removed in Richard Sandiford's | |
3606 | 2000-12-05's patch. | |
3607 | * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): | |
3608 | Re-instate am33-2 lost in merge from net GCC. | |
3609 | 2000-08-26 Alexandre Oliva <aoliva@redhat.com> | |
3610 | * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added | |
3611 | floating-point registers. | |
3612 | 2000-08-07 Alexandre Oliva <aoliva@redhat.com> | |
3613 | * config/mn10300/mn10300.md (movdf): Revert some am33-specific | |
3614 | pessimizations that had gone in on 2000-05-08. | |
3615 | 2000-06-28 Graham Stott <grahams@cygnus.co.uk> | |
3616 | * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo. | |
3617 | 2000-06-22 Graham Stott <grahams@cygnus.co.uk> | |
3618 | * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for | |
3619 | operand 0. | |
3620 | * (movhi): Likewise. | |
3621 | * (movsi): Likewise. | |
3622 | * (movsf): Likewise. | |
3623 | * (movdi): Likewise. | |
3624 | * (movdf): Likewise. | |
3625 | Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com> | |
3626 | * config/mn10300/mn10300.c (fp_regs_to_save): New function. | |
3627 | (can_use_return_insn, initial_offset): Add fp_regs_to_save. | |
3628 | (expand_prologue, expand_epilogue): Save and restore FP regs. | |
3629 | 2000-05-20 Alexandre Oliva <aoliva@cygnus.com> | |
3630 | * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up. | |
3631 | 2000-05-13 Alexandre Oliva <aoliva@cygnus.com> | |
3632 | * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3, | |
3633 | subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): | |
3634 | Do not clobber cc0. | |
3635 | 2000-05-12 Alexandre Oliva <aoliva@cygnus.com> | |
3636 | * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2): | |
3637 | Discourage the two-argument, longer opcodes. | |
3638 | (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument | |
3639 | ones. | |
3640 | * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New. | |
3641 | (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define. | |
3642 | * config/mn10300/mn10300.md (cmpsf): New pattern. | |
3643 | (branch): Test mdep.fpCC and output fbCC. | |
3644 | * config/mn10300/mn10300.c (print_operand): Output conditions. | |
3645 | (notice_cc_update): Recognize fcmp and set mdep.fpCC. | |
3646 | 2000-05-10 Alexandre Oliva <aoliva@cygnus.com> | |
3647 | * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3, | |
3648 | mulsf3, divsf3): Use the `F' constraint for FP values. | |
3649 | * config/mn10300/mn10300.c (const_1f_operand): New function. | |
3650 | * config/mn10300/mn10300-protos.h (const_1f_operand): Declare. | |
3651 | * config/mn10300/mn10300.md (sqrtsf2): New expand. | |
3652 | (rsqrtsf2): New insn. | |
3653 | 2000-05-09 Alexandre Oliva <aoliva@cygnus.com> | |
3654 | * config/mn10300/mn10300.md (movdf): Oops, I missed it in my | |
3655 | previous check-in. | |
3656 | 2000-05-08 Alexandre Oliva <aoliva@cygnus.com> | |
3657 | * config/mn10300/mn10300.md (abssf2, negdf2): On | |
3658 | TARGET_AM33_2, expand to... | |
3659 | (abssf2_am33_2, negdf2_am33_2): New insns. | |
3660 | (addsf3, subsf3, mulsf3, divsf3): Likewise. | |
3661 | (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise. | |
3662 | * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf, | |
3663 | movdi, movdf): Added FP regs. | |
3664 | * invoke.texi (-mam33-2, -mno-am33-2): Document. | |
3665 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> | |
3666 | * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM): | |
3667 | New macros. | |
3668 | (REGNO_AM33_2_FP_P): Renamed to... | |
3669 | (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*. | |
3670 | (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise. | |
3671 | 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> | |
3672 | * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP | |
3673 | regs from GENERAL_REGS. | |
3674 | 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> | |
3675 | * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro. | |
3676 | * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS. | |
3677 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS. | |
3678 | 2000-04-23 Alexandre Oliva <aoliva@cygnus.com> | |
3679 | * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined | |
3680 | as FP_REGS. | |
3681 | 2000-04-21 Alexandre Oliva <aoliva@cygnus.com> | |
3682 | * config/mn10300/mn10300.h (OK_FOR_Q): New macro. | |
3683 | (EXTRA_CONSTRAINT): Added OK_FOR_Q. | |
3684 | * config/mn10300/mn10300.c (secondary_reload_class): Adjust. | |
3685 | * config/mn10300/mn10300.c (print_operand): Support `D' for doubles. | |
3686 | * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust. | |
3687 | (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added | |
3688 | AM33/2.0 floating-point registers. | |
3689 | (CONDITIONAL_REGISTER_USAGE): Adjust. | |
3690 | (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS. | |
3691 | (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust. | |
3692 | (REG_CLASS_FROM_LETTER): Added `f' and `A'. | |
3693 | (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust. | |
3694 | * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2. | |
3695 | (MULTILIB_DIRNAMES): Likewise. | |
3696 | * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and | |
3697 | `__AM33_2__' when `-mam33-2' is given. | |
3698 | (TARGET_AM33_2): Define. | |
3699 | (TARGET_SWITCHES): Adjust. | |
3700 | * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2' | |
3701 | when appropriate. | |
3702 | ||
2ff16718 MK |
3703 | 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu> |
3704 | ||
3705 | * doc/install.texi: Add missing @. | |
3706 | ||
a7bda3d5 BW |
3707 | 2003-07-09 Bob Wilson <bob.wilson@acm.org> |
3708 | ||
3709 | * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define. | |
3710 | ||
bb498ea3 AH |
3711 | 2003-07-09 Aldy Hernandez <aldyh@redhat.com> |
3712 | ||
3713 | PR/11144 | |
3714 | * config/i386/i386.c (ix86_function_arg_boundary): Remove abort. | |
3715 | ||
a401fd60 NN |
3716 | 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org> |
3717 | ||
21f3dbfc | 3718 | PR bootstrap/11043 |
6b88314c | 3719 | * config/arc/t-arc: Replace bogus references to "x-crtinit.o", |
21f3dbfc NN |
3720 | "x-crtfini.o" with "crtinit.o", "crtfini.o". |
3721 | ||
15e4ea18 NN |
3722 | * fixinc/inclhack.def (limits_ifndefs): Add select test. |
3723 | * fixinc/fixincl.x: Rebuild. | |
3724 | ||
a401fd60 NN |
3725 | * fixinc/inclhack.def (math_exception): Improve bypass and comment. |
3726 | * fixinc/fixincl.x: Rebuild. | |
3727 | ||
c2f82a84 HPN |
3728 | 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com> |
3729 | ||
3730 | * doc/install.texi (Configuration): Document the valgrind option | |
3731 | to --enable-checking. | |
3732 | ||
1f66e2a0 JH |
3733 | Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz> |
3734 | ||
3735 | * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New. | |
3736 | ||
d0974745 RO |
3737 | 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3738 | ||
3739 | * c-lex.c (cb_ident): Cast cstr.text to const char *. | |
3740 | ||
160e2e4f NS |
3741 | 2003-07-09 Nathan Sidwell <nathan@codesourcery.com> |
3742 | ||
3743 | * gcov-io.h: Update documentation. | |
3744 | (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX, | |
3745 | GCOV_NOTE_MAGIC. | |
3746 | (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update. | |
3747 | (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic. | |
3748 | (struct gcov_var): Change buffer's type. Add endian flag. | |
3749 | (gcov_open): Remove mode in libgcov. | |
3750 | (gcov_magic): Prototype. | |
3751 | * gcov-io.c (from_file): New. | |
3752 | (gcov_open): Clear endian flag. | |
3753 | (gcov_magic): New. | |
3754 | (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t | |
3755 | pointers. | |
3756 | (gcov_write_unsigned, gcov_write_counter, gcov_write_string, | |
3757 | gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update. | |
3758 | (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update. | |
3759 | * gcov-iov.c (main): Correct cast. | |
3760 | * coverage.c (read_counts_file): Use gcov_magic. Remove endianness | |
3761 | conversion. | |
3762 | (gcov_begin_output): Use GCOV_NOTE_MAGIC. | |
3763 | (coverage_init): Use GCOV_NOTE_SUFFIX. | |
3764 | * libgcov.c (gcov_version_mismatch): Remove endianness conversion. | |
3765 | Rename to gcov_version, and return flag. | |
3766 | (gcov_exit): Use gcov_version. | |
3767 | (__gcov_init): Use gcov_version. | |
3768 | * Makefile.in (coverageexts): Update. | |
3769 | * gcov.c (print_version): Remove endianness conversion. | |
3770 | (create_file_names): Use GCOV_NOTE_SUFFIX. | |
3771 | (read_graph_file): Use gcov_magic. | |
3772 | (read_count_file): Likewise. | |
3773 | * gcov-dump.c (dump_file): Remove endianness conversion, use | |
3774 | gcov_magic. | |
3775 | ||
83599948 NS |
3776 | 2003-07-09 Nathan Sidwell <nathan@codesourcery.com> |
3777 | ||
3778 | * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable | |
3779 | coverage is on. | |
3780 | * configure: Regenerated. | |
3781 | * Makefile.in (ALL_CFLAGS): Correct its comment. | |
3782 | ||
d17811fd MM |
3783 | 2003-07-08 Mark Mitchell <mark@codesourcery.com> |
3784 | ||
3785 | * fold-const.c (make_range): Do not access operand 1 for a | |
3786 | zero-operand operator. | |
3787 | ||
28786366 NB |
3788 | 2003-07-09 Neil Booth <neil@daikokuya.co.uk> |
3789 | ||
3790 | * toplev.c (warn_dummy, W_options): Die. | |
3791 | (display_help): Don't print W_options. | |
3792 | * common.opt: Add W_options help from toplev.c. | |
3793 | ||
fbdb0453 AJ |
3794 | 2003-07-09 Andreas Jaeger <aj@suse.de> |
3795 | ||
3796 | * opts.c (wrap_help): Only pass int arguments as arguments to | |
3797 | printf's '*' modifier. Change argument of function. | |
3798 | ||
c80e4c17 MK |
3799 | 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu> |
3800 | ||
3801 | * doc/invoke.texi: Fix misspelling of "@item". | |
3802 | ||
2c5a64c6 KH |
3803 | 2003-07-08 Kazu Hirata <kazu@cs.umass.edu> |
3804 | ||
3805 | * config/i386/i386.md: Remove an old comment about | |
3806 | NOTICE_UPDATE_CC. | |
3807 | ||
a194aa56 JH |
3808 | Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz> |
3809 | ||
3810 | * cgraph.c (cgraph_node_name): New function. | |
3811 | (dump_cgraph): Use it. | |
3812 | * cgraph.h (cgraph_dump_file): Declare. | |
3813 | (cgraph_node_name): Declare. | |
3814 | * cgraphunit.c: Include timevar.h | |
3815 | (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps. | |
3816 | (cgraph_optimize_function): Use TV_INTEGRATION. | |
3817 | (cgraph_mark_local_functions): reorganize dumps. | |
3818 | (cgraph_mark_functions_to_inline_once): Likewise. | |
3819 | (cgraph_optimize): Likewise; use timevar. | |
3820 | * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New. | |
3821 | * toplev.c (dump_file_index): Add DFI_cgraph. | |
3822 | (dump_file_info): Likewise. | |
3823 | (cgraph_dump_file): New global variable. | |
3824 | (do_compile): Open and close cgraph dump. | |
3825 | * invoke.texi (-d): Document new flag; renumber. | |
3826 | ||
8af61113 RS |
3827 | 2003-07-08 Roger Sayle <roger@eyesopen.com> |
3828 | ||
3829 | PR c/11370 | |
3830 | * calls.c (emit_call_1): Don't bother popping the arguments off of | |
3831 | the stack after a noreturn function call; The adjustment is dead. | |
3832 | (expand_call): Likewise. | |
3833 | ||
436bcda1 GK |
3834 | 2003-07-08 Geoffrey Keating <geoffk@apple.com> |
3835 | ||
3836 | * expr.c (MOVE_MAX_PIECES): Move from here... | |
3837 | * defaults.h (MOVE_MAX_PIECES): ... to here. | |
3838 | ||
6f3fcc0b MK |
3839 | 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu> |
3840 | ||
3841 | * Makefile.in (stage1-start): Handle an empty SUBDIRS. | |
3842 | ||
ec049fdb KG |
3843 | 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3844 | ||
3845 | * genattr.c (internal_dfa_insn_code): Don't prototype. | |
3846 | * genattrtab.c (attr_desc): Add `static_p' field. | |
3847 | (expand_units): Make blockage range and ready cost functions | |
3848 | static. | |
3849 | (write_attr_get): Don't add extern prototypes in C file. Mark | |
3850 | static functions as appropriate. | |
3851 | (find_attr, make_internal_attr): Initialize static_p. | |
3852 | * genattrtab.h (ATTR_STATIC): New macro. | |
3853 | * genautomata.c (output_internal_reset_func): Mark output function | |
3854 | as inline. | |
3855 | (make_internal_dfa_insn_code_attr): Mark output function as static. | |
3856 | ||
11597bc9 KG |
3857 | 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3858 | ||
3859 | * genattrtab.h: Add new macros for attr `special' flags. | |
3860 | * genattrtab.c (attr_desc): Reorder/resize fields better. | |
3861 | Use attr `special' macros in all calls to make_internal_attr. | |
3862 | * genautomata.c: Likewise. | |
3863 | ||
084c1779 JH |
3864 | Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz> |
3865 | ||
3866 | * c-common.c (c_estimate_num_insns_1): New static function. | |
3867 | (c_estimate_num_insns): New global function. | |
3868 | * c-common.h (DECL_NUM_STMTS): Rename to... | |
3869 | (DECL_ESTIMATED_INSNS): ... this. | |
3870 | (c_estimate_num_insns): Declare. | |
3871 | * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS. | |
3872 | * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New. | |
3873 | * c-semantics.c (add_stmt): Do not account statements. | |
3874 | * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): | |
3875 | New. | |
3876 | * langhooks.h (lang_hooks_for_tree_inlining): Add | |
3877 | estimate_num_insns | |
3878 | * params.def (max-inline-insns-auto, max-inline-insns-auto): set | |
3879 | to 100. | |
3880 | (max-inline-insns): set to 300. | |
3881 | (min-inline-insns): set to 10. | |
3882 | * tree-inline.c (struct inline_data): Rename inlined_stmts to | |
3883 | inlined-insns. | |
3884 | (INSNS_PER_STMT): Kill. | |
3885 | (inlinable_function_p): Compute and store body size. | |
3886 | (expand_call_inline): Likewise. | |
3887 | (optimize_inline_calls): Likewise. | |
3888 | ||
1b1838b6 JW |
3889 | 2003-07-08 James E Wilson <wilson@tuliptree.org> |
3890 | ||
3891 | PR target/10021 | |
3892 | * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF, | |
3893 | loop over new variable t2 instead of t. | |
3894 | ||
81a6341d DS |
3895 | 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net> |
3896 | ||
3897 | PR bootstrap/11455 | |
3898 | * config/i386/winnt.c: Replace use of error(), warning() with | |
3899 | error_with_decl(), warning_with_decl(), throughout. | |
3900 | ||
21789816 NB |
3901 | 2003-07-08 Neil Booth <neil@daikokuya.co.uk> |
3902 | ||
3903 | * opts.c (wrap_help): Use unsigned int, not size_t. | |
3904 | ||
f6423302 SC |
3905 | 2003-07-08 Stephane Carrez <stcarrez@nerim.fr> |
3906 | ||
3907 | * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define | |
3908 | as .file/.loc directives are incompatible with linker relaxation. | |
3909 | ||
ab747408 ZW |
3910 | 2003-07-08 Zack Weinberg <zack@codesourcery.com> |
3911 | ||
3912 | * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies. | |
3913 | * fixinc/Makefile.in: Remove all references to gnu-regex.[och]. | |
3914 | * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c | |
3915 | * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp. | |
3916 | * fixinc/fixlib.h: Include xregex.h not gnu-regex.h. | |
3917 | * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline): | |
3918 | Escape { and } characters which are not part of range expressions. | |
3919 | * fixinc/fixincl.x: Regenerate. | |
a27531fb | 3920 | * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file. |
ab747408 | 3921 | |
51657442 SB |
3922 | 2003-07-08 Steven Bosscher <steven@gcc.gnu.org> |
3923 | ||
3924 | PR c/1687 | |
3925 | * tree-inline.c (find_alloca_call): Use | |
3926 | walk_tree_without_duplicates, instead of walk_tree. | |
3927 | (find_builtin_longjmp_call): Likewise. | |
3928 | * c-objc-common.c (c_cannot_inline_fn): Likewise. | |
3929 | * c-semantics.c (find_reachable_label): Likewise. | |
3930 | ||
7e6dc358 JJ |
3931 | 2003-07-08 Jakub Jelinek <jakub@redhat.com> |
3932 | ||
3933 | PR c/11420 | |
3934 | * config/i386/i386.c (ix86_check_movabs): New function. | |
3935 | * config/i386/i386-protos.h (ix86_check_movabs): New prototype. | |
3936 | * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative. | |
3937 | (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions. | |
3938 | ||
318b7749 CD |
3939 | 2003-07-08 Chris Demetriou <cgd@broadcom.com> |
3940 | ||
3941 | * Makefile.in (install-po): Cope with empty CATALOGS. | |
3942 | ||
b8898790 RS |
3943 | 2003-07-08 Richard Sandiford <rsandifo@redhat.com> |
3944 | ||
3945 | * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
3946 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete. | |
3947 | (SECTION_FUNCTION_TEMPLATE): Delete. | |
3948 | * config/mips/elf.h: As for elf64.h. | |
3949 | (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section. | |
3950 | * config/mips/linux.h: As for elf.h | |
3951 | * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
3952 | * config/mips/iris6.h (EXTRA_SECTIONS): Delete. | |
3953 | (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling | |
3954 | of in_sdata from current_section_name and current_section_flags. | |
3955 | * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
3956 | * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes. | |
3957 | (MASK_GP_OPT, TARGET_GP_OPT): Delete. | |
3958 | (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value. | |
3959 | (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt. | |
3960 | (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. | |
3961 | * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override. | |
3962 | (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6. | |
3963 | (mips_classify_symbol): Use SYMBOL_REF_SMALL_P. | |
3964 | (override_options): Remove setting of MASK_GPOPT. | |
3965 | (mips_output_external): Use mips_in_small_data_p to check whether a | |
3966 | symbol needs an .extern directive. Don't emit such directives for | |
3967 | TARGET_EXPLICIT_RELOCS. | |
3968 | (mips_declare_object): Update accordingly. | |
3969 | (mips_select_rtx_section): Call named_section rather than | |
3970 | SMALL_DATA_SECTION. | |
3971 | (mips_select_section): Use default_elf_section_section for everything | |
3972 | except .text string constants. | |
3973 | (mips_in_small_data_p): New function. | |
3974 | (mips_encode_section_info): Remove small data handling. | |
3975 | (mips_unique_section): Delete. | |
3976 | (iris6_section_type_flags): New function. | |
3977 | * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic. | |
3978 | ||
f5d1c3de JDA |
3979 | 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3980 | ||
3981 | PR Target/11453 | |
3982 | * pa.md: Disparage all mtsar constraints. | |
3983 | (extzv, extv, insv): Don't fail on length of {32|64}. | |
3984 | ||
ce1bb65b ZW |
3985 | 2003-07-08 Zack Weinberg <zack@codesourcery.com> |
3986 | ||
3987 | * system.h: Poison MAP_CHARACTER. | |
3988 | * config/i370/i370-protos.h (mvs_map_char): Delete. | |
3989 | * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete. | |
3990 | * config/i370/i370.h (MAP_CHARACTER): Delete definition. | |
3991 | (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER. | |
3992 | ||
c163ddca DS |
3993 | 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net> |
3994 | ||
3995 | * toplev.c (randomize): Correct call to time(). | |
3996 | ||
8df63efa JJ |
3997 | 2003-07-08 Jakub Jelinek <jakub@redhat.com> |
3998 | ||
3999 | * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and | |
4000 | REG_EQUIV notes as well. | |
4001 | ||
4b5cc2b3 KH |
4002 | 2003-07-08 Kazu Hirata <kazu@cs.umass.edu> |
4003 | ||
4004 | * doc/md.texi: Fix the description of addmodecc. | |
4005 | ||
56694dd9 ZW |
4006 | 2003-07-07 Zack Weinberg <zack@codesourcery.com> |
4007 | ||
4008 | * Makefile.in (top_builddir): Set to "..", not ".". | |
4009 | (INTLLIBS, INTLDEPS): Delete. | |
4010 | (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted. | |
4011 | (LIBDEPS): Add $(LIBICONV_DEP). | |
4012 | (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV). | |
4013 | (INCLUDES): Replace -I../intl with @INCINTL@. | |
4014 | ($(top_builddir)/intl/libintl.a): Delete rule. | |
4015 | (stage2-start, stage3-start, stage4-start, stageprofile-start, | |
4016 | stagefeedback-start): Use $$ for variable to be evaluated by | |
4017 | shell, not make. | |
4018 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, | |
4019 | HAVE_LC_MESSAGES, HAVE_STPCPY): Delete. | |
4020 | * aclocal.m4: sinclude ../config/progtest.m4. Add | |
4021 | contents of lcmessage.m4 from gettext distro. | |
4022 | * configure.in: Check for wchar.h and setlocale. Set | |
4023 | LIBICONV_DEP to the empty string and substitute it. | |
4024 | Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls; | |
4025 | this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR, | |
4026 | not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included | |
4027 | in $LIBINTL, to avoid linking it twice. | |
4028 | * configure, config.in: Regenerate. | |
4029 | ||
a294c4cf NN |
4030 | 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org> |
4031 | ||
4032 | * fixinc/mkfixinc.sh: Remove winnt support. | |
4033 | * fixinc/fixinc.winnt: Delete with extreme prejudice. | |
4034 | ||
979312a4 NB |
4035 | 2003-07-08 Neil Booth <neil@daikokuya.co.uk> |
4036 | ||
4037 | * Makefile.in: Update. | |
4038 | * c-opts.c (c_common_handle_option): opt_text now contains the '-'. | |
4039 | * c.opt: Update documentation. | |
4040 | * common.opt: Add some help text. | |
4041 | * opts.c: Include intl.h. | |
4042 | (wrap_help, print_help): New. | |
4043 | (find_opt, handle_option, common_handle_option): opt_text now | |
4044 | contains the '-'. Use print_help to output help. | |
4045 | * opts.h (struct cl_option): New member "help". | |
4046 | * opts.sh: Update to handle help text output and to prepend | |
4047 | options with '-'. | |
4048 | * toplev.c (display_help): Remove some help text. | |
4049 | ||
2c4a9cff DE |
4050 | 2003-07-07 David Edelsohn <edelsohn@gnu.org> |
4051 | Fariborz Jahanian <fjahanian@apple.com> | |
4052 | ||
4053 | * configure.in: Test for PowerPC mfcr field support in assembler. | |
4054 | * config.in, configure: Regenderated. | |
4055 | ||
4056 | * config/rs6000/power4.md: Add mfcrf reservation. | |
4057 | * config/rs6000/rs6000-protos.h (mfcr_operation): Declare. | |
4058 | * config/rs6000/rs6000.c (mfcr_operation): Define. | |
4059 | (print_operand): Add 'Q' case for mfcrf. | |
4060 | * config/rs6000/rs6000.h (TARGET_MFCRF): New. | |
4061 | * config/rs6000/rs6000.md (attribute "type"): Add mfcrf. | |
4062 | (movcc_internal1): Emit optional field operand for mfcr and set | |
4063 | "type" attribute appropriately. | |
4064 | (mfcr SCC): Likewise. | |
4065 | (movesi_from_cr_one): New. | |
4066 | ||
923c4cf2 RS |
4067 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
4068 | ||
4069 | * config/i386/i386.md: Correct check-in of incorrect version. | |
4070 | ||
75b6f3fd KG |
4071 | 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4072 | ||
4073 | * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with | |
4074 | adjacent stdio calls. | |
4075 | * c-decl.c (c_print_identifier): Likewise. | |
4076 | * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise. | |
4077 | * print-rtl.c (print_rtx): Likewise. | |
4078 | * print-tree.c (print_node_brief, print_node): Likewise. | |
4079 | * system.h (HOST_PTR_PRINTF): Ensure we have a literal string. | |
56694dd9 | 4080 | |
75b6f3fd KG |
4081 | * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'. |
4082 | * config.in, configure: Regenerated. | |
4083 | ||
afeeac3f RS |
4084 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
4085 | ||
4086 | PR target/10979 | |
4087 | * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3): | |
4088 | Changed to define_expand patterns that copy operand[1] to prevent | |
4089 | it from being clobbered before emitting an atan2?f3_1 insn. | |
4090 | (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn | |
4091 | patterns that actually specify the behaviour of x87's FPATAN. | |
4092 | ||
eeff9307 JJ |
4093 | 2003-07-07 Jakub Jelinek <jakub@redhat.com> |
4094 | ||
4095 | * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus | |
4096 | clearing of SYMBOL_FLAG_LOCAL bit. | |
4097 | If vcall_offset fits into signed 16-bit immediate, use | |
4098 | one instruction for both addition and load. | |
4099 | ||
0fcd5dda NB |
4100 | 2003-07-07 Neil Booth <neil@daikokuya.co.uk> |
4101 | ||
4102 | * opts.c (common_handle_option): Correct handling of the | |
4103 | -falign- switches that do and don't take an argument. | |
4104 | ||
b275810a KH |
4105 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
4106 | ||
4107 | * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch | |
4108 | today. | |
4109 | (pushhi1_h8300hs): Likewise. | |
4110 | ||
5671bf27 AJ |
4111 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
4112 | ||
4113 | * genextract.c: Convert remaining prototypes to ISO C90. | |
4114 | ||
4115 | * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90. | |
4116 | * fold-const.c (fold_single_bit_test): Likewise. | |
4117 | * diagnostic.c (default_diagnostic_finalizer): Likewise. | |
4118 | * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise. | |
4119 | ||
4120 | * gengtype.c (write_array): Generate ISO C90 prototypes. | |
4121 | ||
4122 | * genflags.c (gen_proto): Generate ISO C90 prototypes. | |
4123 | ||
2c430630 RS |
4124 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
4125 | ||
4126 | PR optimization/11059 | |
4127 | * expr.c (can_store_by_pieces): Return true if length is zero. | |
4128 | (store_by_pieces): If length is zero and endp is two, abort, | |
4129 | othwerise, if length is zero and endp is not two, return "to". | |
4130 | (clear_by_pieces): Do nothing if length is zero. | |
4131 | (clear_storage): Do nothing if length is zero. | |
4132 | (store_constructor): Simplify code when size is zero, or the | |
4133 | target has already been cleared. This avoids emitting a | |
4134 | blockage instruction when initializing empty structures. | |
4135 | ||
cf633f5b AJ |
4136 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
4137 | ||
4138 | * mips-tfile.c: Convert prototypes to ISO C90. | |
4139 | * mips-tdump.c: Convert prototypes to ISO C90. | |
4140 | ||
0cea056b NS |
4141 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
4142 | ||
4143 | * rtl.h (emit_line_note): Take a location_t. | |
4144 | (emit_line_note_force): Remove. | |
4145 | (set_file_and_line_for_statement): Take a location_t. | |
4146 | * tree.g (emit_line_note): Take a location_t. | |
4147 | * emit-rtl.c (emit_line_note): Take a location_t. | |
4148 | (emit_line_note_force): Remove. | |
4149 | * function.c (init_function_start): Adjust emit_line_note call. | |
4150 | (expand_function_end): Use force_next_line_note, not | |
4151 | emit_line_note_force. | |
4152 | * c-parse.in (maybe_type_qual): Adjust emit_line_note calls. | |
4153 | * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt, | |
4154 | genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt, | |
4155 | genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt, | |
4156 | genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt, | |
4157 | genrtl_continue_stmt, genrtl_switch_stmt, | |
4158 | genrtl_asm_stmt): Likewise. | |
4159 | * expr.c (expand_expr): Likewise. | |
4160 | * integrate.c (expand_inline_function): Likewise. | |
4161 | * stmt.c (set_file_and_line_for_stmt): Take a location_t. | |
4162 | (expand_decl_init): Adjust emit_line_note call. | |
4163 | ||
8eb910fc DJ |
4164 | 2003-07-07 Dale Johannesen <dalej@apple.com> |
4165 | ||
56694dd9 | 4166 | * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900. |
8eb910fc | 4167 | |
b96a374d AJ |
4168 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
4169 | ||
4170 | * config/i386/i386-protos.h: Convert prototypes to ISO C90. | |
4171 | * config/i386/i386.c: Likewise. | |
4172 | ||
273fc01e KH |
4173 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
4174 | ||
4175 | * config/h8300/h8300.md: Use gen_int_mode instead of | |
4176 | GEN_INT (trunc_int_for_mode (...)). | |
4177 | ||
fb7d7712 KH |
4178 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
4179 | ||
4180 | * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing | |
4181 | 2 bytes and then subtract 2 from the stack pointer. | |
4182 | (pushhi1_h8300hs): Likewise. | |
4183 | ||
e61a2eb7 NS |
4184 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
4185 | ||
4186 | * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add | |
4187 | -frandom-seed. | |
4188 | * configure: Regenerated. | |
4189 | * Makefile.in: Remove extraneous comment. | |
4190 | * toplev.c (randomize): Protect against potential multiple calls. | |
4191 | * doc/invoke.texi (-frandom-seed): Document use for in coverage | |
4192 | files. | |
4193 | ||
82d610ec | 4194 | 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
56694dd9 | 4195 | Eric Botcazou <ebotcazou@libertysurf.fr> |
82d610ec RK |
4196 | |
4197 | PR optimization/11198 | |
4198 | * alias.c (objects_must_conflict_p): Return 1 if the types have | |
4199 | the same alias set, not if the alias sets only conflict. | |
4200 | ||
5beadb33 AP |
4201 | 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu> |
4202 | ||
4203 | * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV. | |
4204 | (convert_cset): Change inbuf to type ICONV_CONST char. | |
4205 | * Makefile.in (LIBS): Add LIBICONV. | |
4206 | ||
9bb34f3c AJ |
4207 | * doc/invoke.texi (-falign-functions): Document that |
4208 | when n is zero then a machine-dependent default is used. | |
4209 | (-falign-labels): Document that when n is zero then a | |
4210 | machine-dependent default is used and that -falign-labels =1 | |
4211 | is equivalent to -fno-align-labels. | |
4212 | (-falign-loops): Likewise. | |
4213 | (-falign-jumps): Likewise. | |
4214 | ||
1dbb6ce8 AH |
4215 | 2003-07-06 Art Haas <ahaas@airmail.net> |
4216 | ||
4217 | * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array | |
4218 | initializer syntax. | |
4219 | ||
8338d44d JW |
4220 | 2003-07-06 James E Wilson <wilson@tuliptree.org> |
4221 | ||
4222 | PR optimization/9812 | |
4223 | * rtl.h (mem_for_const_double): Delete prototype. | |
4224 | * varasm.c (mem_for_const_double): Delete function. | |
4225 | * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h, | |
4226 | config/m68k/m68kv4.h, config/m68k/netbsd-elf.h | |
4227 | (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions. | |
4228 | * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode. | |
4229 | (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests. | |
4230 | * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add | |
4231 | comment about confused support for XFmode constants. | |
4232 | ||
9efd34a5 JH |
4233 | Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz> |
4234 | ||
4235 | * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables. | |
4236 | ||
2a43945f KH |
4237 | 2003-07-06 Kazu Hirata <kazu@cs.umass.edu> |
4238 | ||
4239 | * config/h8300/h8300.c: Fix comment typos. | |
4240 | * config/h8300/h8300.md: Likewise. | |
4241 | * config/i386/athlon.md: Likewise. | |
4242 | * config/i386/i386.c: Likewise. | |
4243 | * config/i386/pentium.md: Likewise. | |
4244 | * config/ia64/ia64.c: Likewise. | |
4245 | * config/ia64/itanium1.md: Likewise. | |
4246 | * config/ia64/itanium2.md: Likewise. | |
4247 | * config/m32r/m32r.md: Likewise. | |
4248 | * config/m68hc11/m68hc11.c: Likewise. | |
4249 | * config/mcore/mcore.c: Likewise. | |
4250 | * config/mips/sr71k.md: Likewise. | |
4251 | * config/mips/t-iris5-as: Likewise. | |
4252 | * config/mmix/mmix.h: Likewise. | |
4253 | * config/ns32k/ns32k.h: Likewise. | |
4254 | * config/ns32k/NOTES: Fix a typo. | |
4255 | ||
ceee09f7 AJ |
4256 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
4257 | ||
7e51717c AJ |
4258 | * stmt.c: Convert remaining prototypes to ISO C90. |
4259 | * cfglayout.c: Likewise. | |
4260 | * dbxout.c: Likewise. | |
4261 | * gcc.c: Likewise. | |
4262 | * genemit.c: Likewise. | |
4263 | ||
ceee09f7 AJ |
4264 | * basic-block.h: Convert prototypes to ISO C90. |
4265 | * c-parse.in: Likewise. | |
4266 | * c-pragma.h: Likewise. | |
4267 | * c-typeck.c: Likewise. | |
4268 | * cfghooks.h: Likewise. | |
4269 | * cfgloopanal.c: Likewise. | |
4270 | * dbxout.h: Likewise. | |
4271 | * debug.h: Likewise. | |
4272 | * dwarf2asm.h: Likewise. | |
4273 | * gcov.c: Likewise. | |
4274 | * gengtype-lex.l: Likewise. | |
4275 | * sched-int.h: Likewise. | |
4276 | * timevar.c: Likewise. | |
4277 | ||
cb66e385 NB |
4278 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
4279 | ||
4280 | * c-common.h (c_comon_handle_filename, | |
4281 | c_common_missing_arguement): New. | |
4282 | * c-lang.c (LANG_HOOKS_HANDLE_FILENAME, | |
4283 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
4284 | * c-opts.c (missing_arg): Rename c_common_missing_argument, | |
4285 | update to be an appropriate langhook. | |
4286 | (c_common_handle_option): Don't handle filenames. | |
4287 | (c_common_handle_filename): New. | |
4288 | * hooks.c (hook_void_constcharptr, | |
4289 | hook_bool_constcharptr_size_t_false): New. | |
4290 | * hooks.h (hook_void_constcharptr, | |
4291 | hook_bool_constcharptr_size_t_false): New. | |
4292 | * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME, | |
4293 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
4294 | (LANG_HOOKS_INITIALIZER): Update. | |
4295 | * langhooks.h (struct lang_hooks): Add handle_filename and | |
4296 | missing_argument. | |
4297 | * opts.c (handle_option): Don't handle filenames here, but ... | |
4298 | (handle_options): ... here. | |
4299 | (common_handle_option): Don't handle missing arguments here. | |
4300 | * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME, | |
4301 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
4302 | ||
ade4289c NB |
4303 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
4304 | ||
4305 | * Makfile.in: Remove traces of mbchar. | |
4306 | * c-parse.in (MULTIBYTE_CHARS): Remove. | |
4307 | * config.in (MULTIBYTE_CHARS): Remove. | |
4308 | * configure: Remove --enable-mbchar. | |
4309 | * configure.in: Remove --enable-mbchar. | |
4310 | * mbchar.c, mbchar.h: Remove. | |
4311 | * system.h: Poison MULTIBYTE_CHARS. | |
4312 | * config/linux-aout.h (MULTIBYTE_CHARS): Remove. | |
4313 | * config/linux.h (MULTIBYTE_CHARS): Remove. | |
4314 | * config/svr4.h (MULTIBYTE_CHARS): Remove. | |
4315 | * config/sparc/linux.h (MULTIBYTE_CHARS): Remove. | |
4316 | ||
2e1eedd6 AJ |
4317 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
4318 | ||
11dc5cc6 AJ |
4319 | * varray.c (varray_check_failed): Fix typo. |
4320 | ||
4321 | * unroll.c: Convert prototypes to ISO C90. | |
2e1eedd6 AJ |
4322 | * varasm.c: Likewise. |
4323 | * varray.c: Likewise. | |
4324 | * varray.h: Likewise. | |
4325 | * vmsdbgout.c: Likewise. | |
4326 | * xcoffout.c: Likewise. | |
4327 | * xcoffout.h: Likewise. | |
4328 | ||
dd486eb2 NS |
4329 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
4330 | ||
4331 | * gcov-io.h: Add a local time stamp. | |
4332 | (struct gcov_info): Add stamp field. | |
4333 | (gcov_truncate): New. | |
4334 | * coverage.c (read_counts_file): Skip the stamp. | |
4335 | (coverage_begin_output): Write the stamp. | |
4336 | (build_gcov_info): Declare and init the stamp. | |
4337 | (coverage_finish): Only unlink data file, if stamp is zero. | |
4338 | * gcov-dump.c (dump_file): Dump the stamp. | |
4339 | * gcov.c (bbg_stamp): New. | |
4340 | (release_structures): Clear bbg_stamp. | |
4341 | (read_graph_file): Read stamp. | |
4342 | (read_count_file): Check stamp. | |
4343 | * libgcov.c (gcov_exit): Check stamp and truncate if needed. | |
4344 | ||
c07e5477 NS |
4345 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
4346 | ||
4347 | * tree.h (default_flag_random_seed): Remove. | |
4348 | * toplev.h (local_tick): Declare. | |
4349 | * tree.c (flag_random_seed, default_flag_random_seed): Move to | |
4350 | toplev.c. | |
4351 | (append_random_chars): Don't call default_flag_random_seed. | |
4352 | * toplev.c (flag_random_seed): Define here. Set local_tick. | |
4353 | (local_tick): Define. | |
4354 | (randomize): New, moved from tree.c. | |
4355 | (print_switch_values): Adjust. | |
4356 | (toplev_main): Call randomize. | |
4357 | ||
2aab7ceb NS |
4358 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
4359 | ||
4360 | * tree.h (crc32_string): Declare. | |
4361 | * tree.c (append_random_chars): Remove. | |
4362 | (crc32_string): New. | |
4363 | (get_file_function_name_long): Use crc32_string here. | |
4364 | ||
1d088dee AJ |
4365 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
4366 | ||
4367 | * gcc.c: Convert prototypes to ISO C90. | |
4368 | * gcc.h: Likewise. | |
4369 | * gcov-dump.c: Likewise. | |
4370 | * gcov-iov.c: Likewise. | |
4371 | * gcse.c: Likewise. | |
4372 | * genattrtab.h: Likewise. | |
4373 | * ggc.h: Likewise. | |
4374 | * global.c: Likewise. | |
4375 | * graph.c: Likewise. | |
4376 | * graph.h: Likewise. | |
4377 | * hosthooks.h: Likewise. | |
4378 | * hooks.h: Likewise. | |
4379 | * hooks.c: Likewise. | |
4380 | * hashtable.h: Likewise. | |
4381 | * hashtable.c: Likewise. | |
4382 | * haifa-sched.c: Likewise. | |
4383 | * integrate.h: Likewise. | |
4384 | * integrate.c: Likewise. | |
4385 | * input.h: Likewise. | |
4386 | * ifcvt.c: Likewise. | |
f8ec47c7 | 4387 | * jump.c: Likewise. |
0c20a65f AJ |
4388 | * langhooks-def.h: Likewise. Add extern to prototypes. |
4389 | * langhooks.c: Likewise. | |
4390 | * langhooks.h: Likewise. | |
4391 | * lcm.c: Likewise. | |
4392 | * local-alloc.c: Likewise. | |
4393 | * loop-init.c: Likewise. | |
4394 | * loop-unroll.c: Likewise. | |
4395 | * loop-unswitch.c: Likewise. | |
4396 | * loop.c: Likewise. | |
4397 | * loop.h: Likewise. Add extern to prototypes. | |
4398 | * machmode.h: Likewise. | |
4399 | * main.c: Likewise. | |
4400 | * mbchar.c: Likewise. | |
4401 | * mbchar.h: Likewise. | |
4402 | * mkdeps.c: Likewise. | |
4403 | * mkdeps.h: Likewise. | |
4404 | * optabs.c: Likewise. | |
4405 | * optabs.h: Likewise. | |
4406 | * output.h: Likewise. | |
4407 | * gccspec.c: Likwise. | |
4408 | * postreload.c: Likewise. | |
4409 | * prefix.c: Likewise. | |
4410 | * prefix.h: Likewise. | |
4411 | * print-rtl.c: Likewise. | |
4412 | * print-tree.c: Likewise. | |
4413 | * profile.c: Likewise. | |
4414 | * read-rtl.c: Likewise. | |
4415 | * real.c: Likewise. | |
4416 | * real.h: Likewise. | |
4417 | * recog.c: Likewise. | |
4418 | * recog.h: Likewise. | |
4419 | * reg-stack.c: Likewise. | |
4420 | * regclass.c: Likewise. | |
4421 | * regmove.c: Likewise. | |
4422 | * regrename.c: Likewise. | |
4423 | * regs.h: Likewise. | |
4424 | * reload.c: Likewise. | |
4425 | * reload.h: Likewise. | |
4426 | * reload1.c: Likewise. | |
4427 | * reorg.c: Likewise. | |
4428 | * resource.c: Likewise. | |
4429 | * resource.h: Likewise. | |
4430 | * rtl-error.c: Likewise. | |
4431 | * rtl.c: Likewise. | |
4432 | * rtl.h: Likewise. | |
4433 | * rtlanal.c: Likewise. | |
46c5ad27 AJ |
4434 | * sbitmap.c: Likewise. |
4435 | * sbitmap.h: Likewise. | |
4436 | * scan-decls.c: Likewise. | |
4437 | * scan.c: Likewise. | |
4438 | * sched-deps.c: Likewise. | |
4439 | * sched-ebb.c: Likewise. | |
4440 | * sched-int.h: Likewise. | |
4441 | * sched-rgn.c: Likewise. | |
4442 | * sched-vis.c: Likewise. | |
4443 | * sibcall.c: Likewise. | |
4444 | * simplify-rtx.c: Likewise. | |
4445 | * sreal.c: Likewise. | |
4446 | * sreal.h: Likewise. | |
4447 | * ssa-ccp.c: Likewise. | |
4448 | * ssa-dce.c: Likewise. | |
4449 | * ssa.c: Likewise. | |
4450 | * ssa.h: Likewise. | |
4451 | * stack.h: Likewise. | |
4452 | * stmt.c: Likewise. | |
4453 | * stor-layout.c: Likewise. | |
4454 | * stringpool.c: Likewise. | |
4455 | * target.h: Likewise. | |
4456 | * timevar.c: Likewise. | |
4457 | * timevar.h: Likewise. | |
4458 | * tlink.c: Likewise. | |
4459 | * tracer.c: Likewise. | |
4460 | * tree-inline.c: Likewise. | |
4461 | * tree-inline.h: Likewise. | |
4462 | * tree.c: Likewise. | |
4463 | * tree.h: Likewise. | |
1d088dee | 4464 | |
4f649bc1 KH |
4465 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
4466 | ||
4467 | * combine.c (nonzero_bits1): Fix a warning. | |
4468 | ||
4469 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> | |
2c4a71b3 KH |
4470 | |
4471 | * config/h8300/h8300.c (compute_mov_length): Correct the | |
4472 | length of loading CONST0_RTX (SFmode). | |
4473 | ||
f5924ac1 NS |
4474 | 2003-07-05 Nathan Sidwell <nathan@codesourcery.com> |
4475 | ||
4476 | * toplev.c (output_clean_symbol_name): Remove. | |
4477 | * toplev.h (output_clean_symbol_name): Remove. | |
4478 | * config/alpha/alpha.c (unicosmk_output_module_name): Use | |
4479 | lbasename & clean_symbol_name. | |
4480 | ||
39e3f58c KH |
4481 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
4482 | ||
4483 | * ggc.h: Follow spelling conventions. | |
4484 | * config/i386/i386.c: Likewise. | |
4485 | * config/i386/winnt.c: Likewise. | |
4486 | * config/rs6000/rs6000.c: Likewise. | |
4487 | ||
4d6922ee KH |
4488 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
4489 | ||
4490 | * bt-load.c: Fix comment typos. | |
4491 | * c-incpath.c: Likewise. | |
4492 | * cfg.c: Likewise. | |
4493 | * cfgcleanup.c: Likewise. | |
4494 | * cfgloop.h: Likewise. | |
4495 | * cfgloopmanip.c: Likewise. | |
4496 | * cfgrtl.c: Likewise. | |
4497 | * diagnostic.h: Likewise. | |
4498 | * dwarfout.c: Likewise. | |
4499 | * emit-rtl.c: Likewise. | |
4500 | * et-forest.c: Likewise. | |
4501 | * et-forest.h: Likewise. | |
4502 | * expr.c: Likewise. | |
4503 | * gcse.c: Likewise. | |
4504 | * genattr.c: Likewise. | |
4505 | * jump.c: Likewise. | |
4506 | * langhooks.h: Likewise. | |
4507 | * local-alloc.c: Likewise. | |
4508 | * loop-unroll.c: Likewise. | |
4509 | * loop-unswitch.c: Likewise. | |
4510 | * ra-build.c: Likewise. | |
4511 | * regclass.c: Likewise. | |
4512 | * regmove.c: Likewise. | |
4513 | * rtl.def: Likewise. | |
4514 | * rtlanal.c: Likewise. | |
4515 | * sched-ebb.c: Likewise. | |
4516 | * sched-rgn.c: Likewise. | |
4517 | * simplify-rtx.c: Likewise. | |
4518 | * ssa.c: Likewise. | |
4519 | * tracer.c: Likewise. | |
4520 | * tree.c: Likewise. | |
4521 | ||
f1c4bc4f ZW |
4522 | 2003-07-05 Zack Weinberg <zack@codesourcery.com> |
4523 | ||
4524 | * cppcharset.c: Use the correct return type for the fallback iconv | |
4525 | macro. | |
4526 | ||
65c6f1b4 ZD |
4527 | Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4528 | ||
4529 | Blame to Jan Hubicka <jh@suse.cz> | |
4530 | * cfglayout.c (record_effective_endpoints): Split insns before | |
4531 | first basic block correctly. | |
4532 | ||
a8f3bf52 RK |
4533 | 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4534 | ||
f1c4bc4f | 4535 | * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use |
a8f3bf52 RK |
4536 | bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS |
4537 | if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. | |
4538 | ||
0641776c AJ |
4539 | 2003-07-05 Andreas Jaeger <aj@suse.de> |
4540 | ||
4541 | * genattrtab.c (write_attr_get): Revert part of last patch to | |
4542 | always write out a prototype. | |
4543 | ||
4544 | * genemit.c (gen_split): Readd lost unused attributes in last | |
4545 | patch. | |
4546 | ||
977129f6 ZD |
4547 | 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4548 | ||
4549 | * cfgloopmanip.c (force_single_succ_latches): Force latch to be | |
4550 | different from header. | |
4551 | ||
5ee084df AS |
4552 | 2003-07-05 Andreas Schwab <schwab@suse.de> |
4553 | ||
4554 | * config/m68k/m68k.c: Remove code protected by CRDS. | |
4555 | * config/m68k/m68k.md: Likewise. | |
4556 | ||
33de9573 NB |
4557 | 2003-07-05 Neil Booth <neil@daikokuya.co.uk> |
4558 | ||
4559 | PR driver/11417 | |
4560 | * c-opts.c (permit_fortran_options): New. | |
4561 | (c_common_init_options): Accept fortran front end options if | |
4562 | it looks like we might be preprocessing Fortran. | |
4563 | (c_common_handle_option): Don't reject switch if permit_fotran_options. | |
4564 | ||
6906ba40 KG |
4565 | 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4566 | ||
4567 | * genattr.c (internal_dfa_insn_code): Output prototype. | |
4568 | * genattrtab.c: Don't output unnecessary decls, output in ISO C. | |
4569 | * genautomata.c: Likewise. | |
4570 | * genconditions.c: Likewise. | |
4571 | * genemit.c: Likewise. | |
4572 | * genextract.c: Likewise. | |
4573 | * gengenrtl.c: Likewise. | |
4574 | * gengtype.c: Likewise. | |
4575 | * genopinit.c: Likewise. | |
4576 | * genoutput.c: Likewise. | |
4577 | * genpeep.c: Likewise. | |
4578 | * genrecog.c: Likewise. | |
4579 | ||
e6cc3a24 ZW |
4580 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
4581 | ||
4582 | * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. | |
4583 | (struct cpp_options): Add narrow_charset, wide_charset, | |
4584 | bytes_big_endian fields. Remove EBCDIC field. | |
4585 | (cpp_init_iconv, cpp_interpret_string): New external interfaces. | |
4586 | ||
4587 | * cpphash.h: Include <iconv.h> if we have it, otherwise | |
4588 | provide a dummy definition of iconv_t. | |
4589 | (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. | |
4590 | (_cpp_valid_ucn): Update prototype. | |
4591 | (_cpp_destroy_iconv): New prototype. | |
4592 | ||
4593 | * doc/cpp.texi: Document character set handling. | |
4594 | * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. | |
4595 | * doc/extend.texi: Delete entire section on multiline strings. | |
4596 | Rewrite section on __FUNCTION__ etc now that these are | |
4597 | variables in C. | |
4598 | ||
4599 | * cppucnid.tab, cppucnid.pl: New files. | |
4600 | * cppucnid.h: New generated file. | |
4601 | * cppcharset.c: Include cppucnid.h. Lots of commentary added. | |
4602 | (iconv_open, iconv, iconv_close): Provide dummy definitions | |
4603 | if !HAVE_ICONV. | |
4604 | (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, | |
4605 | _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, | |
4606 | emit_numeric_escape, convert_hex, convert_oct, convert_escape, | |
4607 | cpp_interpret_string, narrow_str_to_charconst, | |
4608 | wide_str_to_charconst): New. | |
4609 | (ucn_valid_in_identifier): Use a binary search through the | |
4610 | ucnranges table defined in cppucnid.h, not a long chain of if | |
4611 | statements. | |
4612 | (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal | |
4613 | character names are only valid in C++ and C99" to a warning. | |
4614 | Issue the "meaning of \[uU] is different in traditional C" | |
4615 | warning here. Take care not to let iconv see an invalid UCS | |
4616 | value if we get a malformed UCN. Issue an error if we don't | |
4617 | have iconv. | |
4618 | (cpp_interpret_charconst): Moved here from cpplex.c. Use | |
4619 | cpp_interpret_string to do the heavy lifting. | |
4620 | ||
4621 | * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, | |
4622 | narrow_charset, wide_charset fields of options structure. | |
4623 | (cpp_destroy): Call _cpp_destroy_iconv. | |
4624 | * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. | |
4625 | (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. | |
4626 | (cpp_interpret_charconst): Moved to cppcharset.c. | |
4627 | * cpplib.c (dequote_string): Delete. | |
4628 | (interpret_string_notranslate): New. | |
4629 | (do_line, do_linemarker): Use interpret_string_notranslate. | |
4630 | ||
4631 | * Makefile.in (cppcharset.o): Depend on cppucnid.h. | |
4632 | ||
4633 | * c-common.c (fname_string, combine_strings): Delete. | |
4634 | * c-common.h (fname_string, combine_strings): Delete prototypes. | |
4635 | * c-lex.c (ignore_escape_flag): Delete. | |
4636 | (cb_ident): Use cpp_interpret_string, not lex_string. | |
4637 | (get_nonpadding_token): New function. | |
4638 | (c_lex): Handle Objective-C @-prefixed identifiers and strings here. | |
4639 | Adjust calls to lex_string. Don't write *value twice. | |
4640 | (lex_string): Now handles string constant concatenation. | |
4641 | Most of the work handed off to cpp_interpret_string. | |
4642 | Call fix_string_type here. | |
4643 | * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with | |
4644 | FUNC_NAME, throughout. | |
4645 | (OBJC_STRING): New token type. | |
4646 | (primary:STRING): No need to call fix_string_type here. | |
4647 | (primary:objc_string): Make that OBJC_STRING. | |
4648 | (objc_string nonterminal): Delete. | |
4649 | (yylexname): Delete code to handle fake string constants. | |
4650 | (yylexstring): Delete entirely. | |
4651 | (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need | |
4652 | to handle CPP_ATSIGN. | |
4653 | ||
4654 | * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. | |
4655 | * c-opts.c (missing_arg, c_common_handle_option): Handle | |
4656 | OPT_fexec_charset_ and OPT_fwide_exec_charset_. | |
4657 | (c_common_init): Set cpp_opts->bytes_big_endian, not | |
4658 | cpp_opts->EBCDIC. Call cpp_init_iconv. | |
4659 | (print_help): Document -fexec-charset= and -fexec-wide-charset=. | |
4660 | (TARGET_EBCDIC): Delete default definition. | |
4661 | ||
4662 | * objc/objc-act.c (build_objc_string_object): No need to | |
4663 | handle string constant concatenation. | |
4664 | ||
61aeb06f KH |
4665 | 2003-07-04 Kazu Hirata <kazu@cs.umass.edu> |
4666 | ||
4667 | * doc/install.texi: Fix typos. | |
4668 | * doc/invoke.texi: Likewise. | |
4669 | * doc/tm.texi: Likewise. | |
4670 | ||
c1207243 KH |
4671 | 2003-07-04 Kazu Hirata <kazu@cs.umass.edu> |
4672 | ||
4673 | * config/pa/fptr.c: Fix comment typos. | |
4674 | * config/pa/pa-64.h: Likewise. | |
4675 | * config/pa/pa.c: Likewise. | |
4676 | * config/pa/pa.h: Likewise. | |
4677 | * config/rs6000/603.md: Likewise. | |
4678 | * config/rs6000/7xx.md: Likewise. | |
4679 | * config/rs6000/darwin.h: Likewise. | |
4680 | * config/rs6000/freebsd.h: Likewise. | |
4681 | * config/rs6000/rs6000.c: Likewise. | |
4682 | * config/rs6000/rs6000.md: Likewise. | |
4683 | * config/rs6000/spe.h: Likewise. | |
4684 | ||
58add37a UW |
4685 | 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com> |
4686 | ||
4687 | * config/s390/2064.md: Change GNU CC to GCC. | |
4688 | * config/s390/2084.md: Likewise. | |
4689 | * config/s390/fixdfdi.h: Likewise. | |
4690 | * config/s390/linux.h: Likewise. | |
4691 | * config/s390/s390-modes.def: Likewise. | |
4692 | * config/s390/s390-protos.h: Likewise. | |
4693 | * config/s390/s390.c: Likewise. | |
4694 | * config/s390/s390.h: Likewise. | |
4695 | * config/s390/s390.md: Likewise. | |
4696 | * config/s390/s390x.h: Likewise. | |
4697 | ||
60cd4dae JL |
4698 | 2003-07-04 Jeff Law <law@redhat.com> |
4699 | ||
a38825d2 | 4700 | PR c/11428 |
60cd4dae JL |
4701 | * expr.c (do_store_flag): Pass in the correct result type |
4702 | when calling fold_single_bit_test. | |
4703 | * fold-const.c (fold_single_bit_test): Use result_type for the | |
4704 | result when folding a sign bit test. | |
4705 | ||
5e14ae7e NB |
4706 | 2003-07-04 Neil Booth <neil@daikokuya.co.uk> |
4707 | ||
4708 | * opts.c (common_handle_options): Negate sense of -falign- switches. | |
4709 | ||
8c90b13a L |
4710 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
4711 | ||
c3b3975a | 4712 | * Makefile.in: Replace PWD with PWD_COMMAND. |
8c90b13a | 4713 | |
72d4a2ad ZD |
4714 | 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4715 | ||
4716 | * cfgloopanal.c (count_strange_loop_iterations): New static function. | |
4717 | (constant_iterations, count_loop_iterations, simple_loop_exit_p): | |
4718 | Handle strange loops. | |
4719 | ||
8e9a4a45 TM |
4720 | 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl> |
4721 | ||
4722 | * install.texi: Even the g77 manpage is derived from | |
4723 | the full g77 manual. | |
4724 | ||
6eb95e99 ZW |
4725 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
4726 | ||
4727 | * ABOUT-NLS: Delete. | |
4728 | * intl: Delete entire directory. | |
4729 | * aclocal.m4: Include ../config/gettext.m4. Delete | |
4730 | AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES, | |
4731 | AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT. | |
4732 | * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT. | |
4733 | Remove intl/Makefile from all_outputs. | |
4734 | * configure, config.in: Regenerate. | |
4735 | * Makefile.in: Expunge all references to intl subdirectory. | |
4736 | Add -I../intl to INCLUDES. | |
4737 | * intl.h: Include libintl.h if and only if ENABLE_NLS is defined. | |
4738 | ||
bcd5d841 RS |
4739 | 2003-07-04 Roger Sayle <roger@eyesopen.com> |
4740 | ||
4741 | * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define. | |
4742 | * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise. | |
4743 | ||
6b6cb52e DS |
4744 | 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net> |
4745 | ||
4746 | PR c++/5287, PR c++/7910, PR c++/11021 | |
4747 | * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add | |
4748 | dllimport attribute if function is defined at declaration, but | |
4749 | report error instead. Likewise for dllimport'd variable | |
4750 | definitions. Set implicit TREE_PUBLIC for dllimport'd variables | |
4751 | declared within functions, Report error if dllimport or dllexport | |
4752 | symbol is not global. | |
4753 | (i386_pe_dllimport_p): Ignore dllimport attribute of functions | |
4754 | if defined after declaration or if inlined. Don't allow definition | |
4755 | of static data members of C++ classes. Don't dllimport virtual | |
4756 | methods. | |
4757 | (i386_pe_mark_dllexport): Warn about inconsistent dll attributes. | |
4758 | (i386_pe_mark_dllimport): Remove unnecessary checks. | |
4759 | (i386_pe_encode_section_info): Warn if the dllimport attribute | |
4760 | and symbol prefix have been instantiated and then overridden. | |
4761 | ||
4762 | * doc/extend.texi: Document dllimport and dllexport attributes. | |
4763 | ||
4764 | * config/i386/winnt.c (i386_pe_output_labelref): Fix indents. | |
4765 | ||
cc2f5d34 US |
4766 | 2003-07-03 Uwe Stieber <uwe@kaos-group.de> |
4767 | ||
4768 | * config/kaos.h (CPP_PREDEFINES): Delete. | |
4769 | (TARGET_OS_CPP_BUILTINS): New. | |
4770 | ||
5f1989e6 KG |
4771 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4772 | ||
4773 | * c-aux-info.c: Include toplev.h after c-tree.h. | |
4774 | * c-common.c: Likewise. | |
4775 | (GCC_DIAG_STYLE): Undef. | |
4776 | * c-semantics.c (GCC_DIAG_STYLE): Define. | |
4777 | * c-tree.h (GCC_DIAG_STYLE): Likewise. | |
4778 | * diagnostic.h (inform): Move prototype to toplev.h. | |
4779 | * jump.c: Include diagnostic.h before toplev.h. | |
4780 | * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define. | |
4781 | (warning, error, fatal_error, pedwarn, sorry, inform, | |
4782 | error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG. | |
4783 | ||
8d28e87d ZD |
4784 | 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4785 | ||
4786 | * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies | |
4787 | at all if edge is not specified. | |
4788 | (can_copy_bbs_p, copy_bbs): New. | |
4789 | * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare. | |
4790 | * cfgloop.c (get_loop_body): Comment more precisely. | |
4791 | * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed. | |
4792 | (scale_bbs_frequencies): Fix comment typo. | |
4793 | (can_duplicate_loop_p): Use can_copy_bbs_p. | |
4794 | (duplicate_loop_to_header_edge): Simplify by using copy_bbs. | |
4795 | ||
694abeb6 DP |
4796 | 2003-07-03 Devang Patel <dpatel@apple.com> |
4797 | ||
4798 | * c-opts.c (c_common_parse_file): Remove extra | |
4799 | debug_hooks->start_source_file call. | |
6eb95e99 | 4800 | |
0a9530a9 RS |
4801 | 2003-07-03 Roger Sayle <roger@eyesopen.com> |
4802 | ||
4803 | * real.c (real_trunc, real_floor, real_ceil): New functions | |
4804 | to implement trunc, floor and ceil respectively. | |
4805 | * real.h (real_trunc, real_floor, real_ceil): Prototype here. | |
4806 | * builtins.c (integer_valued_real_p): New function to test if | |
4807 | a floating point expression has an integer valued result. | |
4808 | (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as | |
4809 | foo(x) where foo is an integer rounding function. Similarly, | |
4810 | optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as | |
4811 | (double)(int)x when both foo and bar are integer rounding | |
4812 | functions and we don't need to honor errno. | |
4813 | (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil): | |
4814 | New functions to fold trunc, floor and ceil. | |
4815 | (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*, | |
4816 | fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil | |
4817 | to fold BUILT_IN_CEIL*. | |
4818 | * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and | |
4819 | the remaining integer rounding functions. | |
4820 | ||
c3427c7d EB |
4821 | 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
4822 | ||
4823 | * config/sparc/sparc.c (function_arg_partial_nregs): Use | |
4824 | SPARC_INT_ARG_MAX to determine where to split unnamed | |
4825 | complex FP arguments. | |
4826 | ||
bc35512f JH |
4827 | Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz> |
4828 | ||
4829 | * basic-block.h (create_basic_block, merge_blocks_nomove): Kill. | |
4830 | * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move. | |
4831 | (merge_blocks_move_predecessor_nojumps, | |
4832 | merge_blocks_move_successor_nojumps): Use merge_blocks. | |
4833 | (try_optimize_cfg): Use merge_blocks_move. | |
4834 | * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block. | |
4835 | (merge_blocks_nomove): Rename to rtl_merge_blocks. | |
4836 | (cfg_layout_create_basic_block): New. | |
4837 | (rtl_can_merge_blocks): New. | |
4838 | (cfg_layout_split_block): Do not alloc aux by hand. | |
4839 | * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p, | |
4840 | merge_blocks. | |
4841 | (create_basic_block, can_merge_blocks_p, merge_blocks): New macros. | |
4842 | * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand. | |
4843 | * cfgloopmanip.c (loop_split_edge_with): Likewise. | |
4844 | * ifcvt.c (merge_if_block): Use merge_blocks_nomove. | |
4845 | ||
4846 | * basic-block.h (basic_block_def): Add field 'rbi'. | |
4847 | * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited, | |
4848 | find_traces_1_round, copy_bb, connect_traces): Update use of rbi. | |
4849 | * cfg.c (entry_exit_blocks): Add new field. | |
4850 | * cfglayout.c: Include alloc-pool.h; | |
4851 | (cfg_layout_pool): New. | |
4852 | (record_effective_endpoints, fixup_reorder_chain, | |
4853 | fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use | |
4854 | of rbi. | |
4855 | (cfg_layout_initialize_rbi): New function. | |
4856 | (cfg_layout_initialize): Use it. | |
4857 | (cfg_layout_finalize): Clear rbi fields. | |
4858 | * cfglayout.h (RBI): Kill. | |
4859 | (cfg_layout_initialize_rbi): Declare. | |
4860 | * cfgloopmanip.c (copy_bbs): Use rbi. | |
4861 | (record_exit_edges): Likewise. | |
4862 | (duplicate_loop_to_header_edge): Likewise. | |
4863 | * cfgrtl.c (cfg_layout_create_basic_block): Use | |
4864 | cfg_layout_initialize_rbi. | |
4865 | (cfg_layout_split_block): Use rbi. | |
4866 | (cfg_layout_delete_block): Likewise. | |
4867 | * loop-init.c (loop_optimizer_finalize): Likewise. | |
4868 | * loop-unswitch.c (unswitch_loop): Likewise. | |
4869 | * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise. | |
4870 | ||
4871 | * cfgrtl.c: Update comments. | |
4872 | (try_redirect_by_replacing_jump): New argument. | |
4873 | (redirect_branch_edge): Break out from ... | |
4874 | (rtl_redirect_edge_and_branch): ... this one. | |
4875 | (update_cfg_after_block_merging): Break out from ... | |
4876 | (rtl_merge_blocks): ... this one. | |
4877 | (cfg_layout_split_edge): New. | |
4878 | (cfg_layout_merge_blocks): New. | |
4879 | (cfg_layout_can_merge_blocks_p): New. | |
4880 | (cfg_layout_redirect_edge_and_branch): Reorganize. | |
4881 | (cfg_layout_rtl_cfg_hooks): Fill in. | |
4882 | (cfg_layout_delete_block): Kill barriers. | |
4883 | * cfganal.c (can_fallthru): Deal with exit blocks | |
4884 | * cfglayout.c (cfg_layout_function_header): New function | |
4885 | (record_effective_endpoints): Record function header. | |
4886 | (fixup_reorder_chain): Fixup dead jumptables; place header | |
4887 | ||
4888 | * basic-block.h (CLEANUP_CFGLAYOUT): New flag. | |
4889 | * bb-reorder.c (cfg_layout_initialize): Update call. | |
4890 | * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru | |
4891 | edges in cfglayout mode. | |
4892 | * cfglayout.c (cleanup_unconditional_jumps): Kill. | |
4893 | (cfg_layout_initialize): Kill agrument loops; use cfgcleanup. | |
4894 | * cfglayout.h (cfg_layout_initialize): Update prototype. | |
4895 | * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill. | |
4896 | * cfgloopmanip.c (loop_split_edge_with): Use split_edge. | |
4897 | * flow.c (propagate_block): Do not crash when basic block ends | |
4898 | by first insn in the chain. | |
4899 | * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later | |
4900 | do loop discovery. | |
4901 | * tracer.c (tracer): Update call of cfg_layout_initialize. | |
4902 | ||
dd220c49 KG |
4903 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4904 | ||
4905 | * Makefile.in: Use dependency variables in lieu of explicit | |
4906 | files throughout. | |
4907 | ||
fa5b060f SB |
4908 | 2003-07-03 Steven Bosscher <steven@gcc.gnu.org> |
4909 | ||
4910 | * rtl.h (ECF_*, flags_from_decl_or_type): Move from here... | |
4911 | * tree.h: ...to here. | |
4912 | ||
fae778eb KH |
4913 | 2003-07-03 Kazu Hirata <kazu@cs.umass.edu> |
4914 | ||
4915 | * config/s390/2064.md: Fix comment typos. | |
4916 | * config/s390/2084.md: Likewise. | |
4917 | * config/s390/s390.c: Likewise. | |
4918 | * config/s390/s390.md: Likewise. | |
4919 | * config/sh/sh.c: Likewise. | |
4920 | * config/sh/sh.h: Likewise. | |
4921 | * config/sh/sh.md: Likewise. | |
4922 | * config/sparc/sparc.c: Likewise. | |
4923 | * config/sparc/sparc.h: Likewise. | |
4924 | * config/sparc/sparc.md: Likewise. | |
4925 | * config/stormy16/stormy16.c: Likewise. | |
4926 | * config/stormy16/stormy16.h: Likewise. | |
4927 | * config/stormy16/stormy-abi: Fix a typo. | |
4928 | ||
58eabcb1 KC |
4929 | 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org> |
4930 | ||
4931 | * Makefile.in (ifcvt.o): Depend on OPTABS_H. | |
4932 | ||
af261903 KG |
4933 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4934 | ||
4935 | * config/mips/mips.h (save_argv): Delete. | |
4936 | ||
a11c61d2 RS |
4937 | 2003-07-03 Roger Sayle <roger@eyesopen.com> |
4938 | ||
4939 | PR target/10700 | |
4940 | * fold-const.c (extract_muldiv_1): There's nothing that can be done | |
4941 | if the expression is a SAVE_EXPR. | |
4942 | ||
dab66575 KH |
4943 | 2003-07-03 Kazu Hirata <kazu@cs.umass.edu> |
4944 | ||
4945 | * config/m32r/m32r.c: Fix comment typos. | |
4946 | * config/m68hc11/m68hc11.c: Likewise. | |
4947 | * config/m68hc11/m68hc11.h: Likewise. | |
4948 | * config/m68k/m68k.c: Likewise. | |
4949 | * config/mcore/mcore.c: Likewise. | |
4950 | * config/mcore/mcore.h: Likewise. | |
4951 | * config/mcore/mcore.md: Likewise. | |
4952 | * config/mips/mips.c: Likewise. | |
4953 | * config/mips/mips.h: Likewise. | |
4954 | * config/mips/mips.md: Likewise. | |
4955 | * config/mips/netbsd.h: Likewise. | |
4956 | * config/mn10300/mn10300.c: Likewise. | |
4957 | ||
8837d828 AS |
4958 | 2003-07-03 Andreas Schwab <schwab@suse.de> |
4959 | ||
4960 | * dbxout.c (pending_bincls): Move decl down inside | |
4961 | DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section. | |
4962 | ||
dd107e66 NS |
4963 | 2003-07-02 Nathan Sidwell <nathan@codesourcery.com> |
4964 | ||
4965 | * rtl.h (NOTE_DATA): Refer to whole union. | |
4966 | * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA. | |
4967 | ||
8821d091 EB |
4968 | 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
4969 | ||
4970 | PR optimization/11381 | |
4971 | * simplify-rtx.c (simplify_relational_operation): Check that | |
4972 | two equal operands have no side-effects before simplifying | |
4973 | the comparison. | |
4974 | ||
7960bf22 JL |
4975 | 2003-07-02 Jeff Law <law@redhat.com> |
4976 | ||
4977 | * expr.c (do_store_flag): Remove special case folding for | |
4978 | single bit tests. Instead call back into the commonized folder | |
4979 | routine. | |
4980 | * fold-const.c (fold_single_bit_test): New function, mostly | |
4981 | extracted from do_store_flag, with an additional case extracted | |
4982 | from fold. | |
4983 | (fold): Call fold_single_bit_test appropriately. | |
4984 | * tree.h (fold_single_bit_test): Prototype. | |
4985 | ||
3dce1408 ZW |
4986 | 2003-07-02 Zack Weinberg <zack@codesourcery.com> |
4987 | ||
4988 | * system.h: Include filenames.h. | |
4989 | (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define. | |
4990 | (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined, | |
4991 | define based on HAVE_DOS_BASED_FILE_SYSTEM. | |
4992 | * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h | |
4993 | * config/i386/xm-mingw32.h: Don't define | |
4994 | HAVE_DOS_BASED_FILE_SYSTEM, | |
4995 | DIR_SEPARATOR, or DIR_SEPARATOR_2. | |
4996 | * doc/hostconfig.texi: Update to match. | |
4997 | ||
4998 | * cppfiles.c, gcc.c, gensupport.c, protoize.c, | |
4999 | config/i386/cygwin.h: | |
5000 | Use IS_ABSOLUTE_PATH throughout. | |
5001 | * gcc.c (DIR_UP): Delete, unused. | |
5002 | * protoize.c (IS_SAME_PATH): Define in terms of | |
5003 | FILENAME_CMP. | |
5004 | (is_abspath): Delete. | |
5005 | ||
c51e6d85 KH |
5006 | 2003-07-02 Kazu Hirata <kazu@cs.umass.edu> |
5007 | ||
5008 | * config/i386/emmintrin.h: Fix comment typos. | |
5009 | * config/i386/i386.c: Likewise. | |
5010 | * config/i386/i386.h: Likewise. | |
5011 | * config/i386/sco5.h: Likewise. | |
5012 | * config/ia64/ia64.c: Likewise. | |
5013 | * config/ia64/itanium2.md: Likewise. | |
5014 | ||
5ec3a5a7 L |
5015 | 2003-07-02 H.J. Lu <hongjiu.lu@intel.com> |
5016 | ||
5017 | * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with | |
5018 | DBX_USE_BINCL. | |
5019 | (emit_bincl_stab): Same. | |
5020 | (emit_pending_bincls): Same. | |
5021 | ||
fad37371 KH |
5022 | 2003-07-02 Kazu Hirata <kazu@cs.umass.edu> |
5023 | ||
5024 | * config/h8300/h8300.c (compute_mov_length): Fix the length of | |
5025 | loading CONST0_RTX (SFmode). | |
5026 | * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change | |
5027 | 'G' to CONST0_RTX (SFmode). | |
5028 | * config/h8300/h8300.md (movsf_h8300): Change the first | |
5029 | constraint to 'G'. | |
5030 | (movsf_h8300h): Likewise. | |
5031 | ||
b86f6cd9 NB |
5032 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
5033 | ||
5034 | * c-common.h (c_common_init_options): New prototype. | |
5035 | * c-opts.c (deferred_size): Remove. | |
5036 | (defer_opt): Array is now pre-allocated. | |
5037 | (c_common_init_options): Pre-allocate deferred_opts. Make | |
5038 | lang_flags unsigned. | |
5039 | (push_command_line_options): Free deferred_opts. | |
5040 | * hooks.c (hook_uint_uint_constcharptrptr_0): New. | |
5041 | * hooks.h (hook_uint_uint_constcharptrptr_0): New. | |
5042 | * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update. | |
5043 | * langhooks.h (struct lang_hooks): New prototype for init_options. | |
5044 | * main.c (main): Cast argv. | |
5045 | * opts.c (handle_option, handle_options): Update prototypes. | |
5046 | (decode_options): save_argc, save_argv are not global. Constify. | |
5047 | * opts.h (decode_options): New prototype. | |
5048 | * toplev.c (general_init): New protoype. | |
5049 | (save_argv): Make static. | |
5050 | (save_argc): Remove. | |
5051 | (print_switch_values, general_init): Constify. | |
5052 | (toplev_main): Save argv. | |
5053 | * toplev.h (toplev_main): Update prototype. | |
5054 | (save_argc, save_argv): Remove. | |
5055 | ||
f23b9d52 DE |
5056 | 2003-07-02 David Edelsohn <edelsohn@gnu.org> |
5057 | ||
5058 | * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS. | |
5059 | (emit_bincl_stab): Same. | |
5060 | (emit_pending_bincls): Same. | |
5061 | ||
300e89a2 NS |
5062 | 2003-07-02 Nathan Sidwell <nathan@codesourcery.com> |
5063 | ||
5064 | PR c++/11072 | |
5065 | * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why. | |
5066 | ||
eaac6968 AS |
5067 | 2003-07-02 Andreas Schwab <schwab@suse.de> |
5068 | ||
5069 | * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO. | |
5070 | ||
1a8c4ca6 EB |
5071 | 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
5072 | ||
5073 | PR optimization/11210 | |
5074 | * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note | |
5075 | about the behaviour with regard to bitfields. | |
5076 | * fold-const (decode_field_reference): Record outermost type in | |
5077 | case the expression is a NOP. Strip all NOPs. Set the signedness | |
5078 | to that of the outermost type (if any) when the bitsize is equal | |
5079 | to the size of the type. | |
5080 | ||
23cdfcf7 RS |
5081 | 2003-07-02 Richard Sandiford <rsandifo@redhat.com> |
5082 | ||
5083 | * config/mips/mips.md (addsi3): Remove workaround for adds of -32768. | |
5084 | (addsi3_internal, adddi3, adddi3_internal_2): Likewise. | |
5085 | (adddi3_internal_3, addsi3_internal_2): Likewise. | |
5086 | ||
6f2993e5 RS |
5087 | 2003-07-02 Richard Sandiford <rsandifo@redhat.com> |
5088 | ||
5089 | * config/mips/mips.c (machine_function): Add new fields: | |
5090 | ignore_hazard_length_p and all_noreorder_p. | |
5091 | (mips_flag_delayed_branch): New variable. | |
5092 | (override_options): Treat '/' as an operand punctuation character. | |
5093 | Set up mips_flag_delayed_branch. | |
5094 | (print_operand): Handle '/'. | |
5095 | (mips_output_function_prologue): Put the whole function in | |
5096 | .set noreorder and .set nomacro if all_noreorder_p is true. | |
5097 | (mips_output_function_epilogue): End the noreorder/nomacro sequence. | |
5098 | (mips16_optimize_gp): Remove "first insn" parameter. | |
5099 | (mips16_lay_out_constants): New function, split out from mips_reorg. | |
5100 | (mips_avoid_hazard, mips_avoid_hazards): New functions. | |
5101 | (mips_reorg): For mips16 code, call mips16_lay_out_constant | |
5102 | and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS, | |
5103 | do delayed-branch scheduling followed by hazard detection. | |
5104 | (mips_adjust_insn_length): Only account for hazards if | |
5105 | !ignore_hazard_length_p. | |
5106 | (mips_output_load_label): Add a nop to the o32 sequence if | |
5107 | the target suffers from load delays. | |
5108 | (mips_output_conditional_branch): Add %/ to the end of branches. | |
5109 | (mips_output_division): Fill the branch delay slot with %#. | |
5110 | * config/mips/mips.md: Remove redundant '%*' from mips16 branch | |
5111 | instructions. End all other %* branches with %/. | |
5112 | (ffssi2, ffsdi2): Fix lengths. | |
5113 | (truncdisi2, truncdihi2, truncdiqi2): Add store attributes. | |
5114 | (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate. | |
5115 | (fix_truncsfsi2_macro): Likewise. | |
5116 | (mov_lwl): Set hazard to "none". | |
5117 | (ashldi3_internal): Fill the branch delay slot with %#. | |
5118 | (ashrdi3_internal, lshrdi3_internal): Likewise. | |
5119 | (exception_receiver): Explicitly set $28. | |
5120 | (hazard_nop): New pattern. | |
5121 | ||
0184bd46 JH |
5122 | Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz> |
5123 | ||
5124 | * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl | |
5125 | before calling tree_inlinable_function_p. | |
5126 | ||
1a78e5a7 RO |
5127 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5128 | ||
5129 | * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5 | |
5130 | <internal/stdio_core.h> too. | |
5131 | (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and | |
5132 | <internal/wchar_core.h> too. | |
5133 | Substitute va_list uses in inline definition. | |
5134 | * fixinc/fixincl.x: Regenerate. | |
5135 | ||
4c82f12b RO |
5136 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5137 | ||
5138 | * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h. | |
5139 | Undef before redefinition. | |
5140 | (LABEL_AFTER_LOC): Likewise. | |
5141 | (DEFAULT_SIGNED_CHAR): Likewise. | |
5142 | (ASM_OUTPUT_ASCII): Moved here from iris4.h. | |
5143 | Fix IRIX spelling. | |
3dce1408 | 5144 | |
4c82f12b RO |
5145 | * config/mips/iris3.h: Remove, unused. |
5146 | * config/mips/iris4.h: Likewise. | |
5147 | ||
5148 | * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused. | |
5149 | ||
5150 | * config/mips/iris5.h (TARGET_DEFAULT): Move ... | |
5151 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to | |
5152 | target_cpu_default. | |
5153 | ||
5154 | * config/mips/iris5.h: Move explicit includes ... | |
5155 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here. | |
3dce1408 | 5156 | |
4c82f12b RO |
5157 | * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ... |
5158 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to | |
5159 | tm_defines. | |
5160 | ||
5161 | * config/mips/iris6.h (TARGET_DEFAULT): Move ... | |
5162 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to | |
5163 | target_cpu_default. | |
5164 | ||
5165 | * config/mips/iris6.h: Fix IRIX spelling. | |
5166 | (MULTILIB_DEFAULTS): Undef before redefinition. | |
3dce1408 | 5167 | |
4c82f12b RO |
5168 | * config/mips/iris6.h: Move explicit includes ... |
5169 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here. | |
5170 | ||
8bd87c4e JH |
5171 | Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz> |
5172 | ||
5173 | * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node, | |
5174 | cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls): | |
5175 | Use next_needed field instead of aux to maintain the queue. | |
5176 | * cgraph.h (cgraph_node): Add next_needed. | |
5177 | (cgraph_varpool_node): Add next_needed; remove aux. | |
5178 | * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed. | |
5179 | ||
f6981e16 JH |
5180 | Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz> |
5181 | ||
5182 | * cgraphunit.c (cgraph_finalize_function): Set finalized. | |
5183 | (cgraph_finalize_function): Do not examine inlinablility. | |
5184 | (cgraph_finalize_compilation_unit): Do it here. | |
5185 | * cgraph.h (cgraph_local_info): Add finalized field. | |
5186 | ||
d1c60855 RO |
5187 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5188 | ||
5189 | * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *. | |
5190 | (gt_pch_restore): Likewise. | |
5191 | ||
093354e0 KH |
5192 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
5193 | ||
5194 | * config/alpha/alpha.c: Fix comment typos. | |
5195 | * config/alpha/elf.h: Likewise. | |
5196 | * config/arm/arm.c: Likewise. | |
5197 | * config/arm/arm.h: Likewise. | |
5198 | * config/arm/arm.md: Likewise. | |
5199 | * config/arm/t-arm-coff: Likewise. | |
5200 | * config/arm/t-strongarm-pe: Likewise. | |
5201 | * config/arm/xscale-elf.h: Likewise. | |
5202 | * config/avr/avr.h: Likewise. | |
5203 | ||
ce47ca44 JL |
5204 | 2003-07-01 Jeff Law <law@redhat.com> |
5205 | ||
5206 | * stmt.c (any_pending_cleanups): Remove another redundant test. | |
5207 | ||
43b68ce5 DE |
5208 | 2003-07-01 David Edelsohn <edelsohn@gnu.org> |
5209 | J"orn Rennecke <joern.rennecke@superh.com> | |
5210 | ||
5211 | * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber | |
5212 | for MEM case. | |
5213 | ||
33e9d2aa DP |
5214 | 2003-07-01 Devang Patel <dpatel@apple.com> |
5215 | ||
5216 | * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required. | |
5217 | (binclstatus): New. | |
3dce1408 | 5218 | (struct dbx_file): New members - bincl_status, pending_bincl_name and |
33e9d2aa DP |
5219 | prev. |
5220 | (pending_bincls): New. | |
5221 | (dbxout_init): Initialize new dbx_file members. | |
5222 | (dbxout_start_source_file): Same. | |
5223 | (emit_bincl_stab): New function. | |
5224 | (emit_pending_bincls): Same. | |
5225 | (emit_pending_bincls_if_required): Same. | |
3dce1408 | 5226 | (dbxout_end_source_file): Emit EINCL stab only if BINCL is already |
33e9d2aa DP |
5227 | processed. |
5228 | (dbxout_begin_block): Emit pending BINCL stabs. | |
5229 | (dbxout_end_block): Same. | |
5230 | (dbxout_function_decl): Same. | |
5231 | (dbxout_continue): Same. | |
5232 | (dbxout_type): Same. | |
5233 | (dbxout_class_name_qualifiers): Same. | |
5234 | (dbxout_symbol): Same. | |
5235 | (dbxout_symbol_location): Same. | |
5236 | (dbxout_parms): Same. | |
3dce1408 | 5237 | |
0108ae51 KG |
5238 | 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5239 | ||
5240 | * c-semantics.c (genrtl_case_label): Fix format specifier bug. | |
5241 | * cfgrtl.c (rtl_verify_flow_info_1): Likewise. | |
5242 | ||
54ced33d AJ |
5243 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
5244 | ||
5245 | * fold-const.c: Convert prototypes to ISO C90. | |
5246 | * function.c: Likewise. | |
5247 | * function.h: Likewise. | |
5248 | ||
c0cbdbd9 KH |
5249 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
5250 | ||
5251 | * doc/contrib.texi: Fix typos. | |
5252 | * doc/invoke.texi: Likewise. | |
5253 | * doc/passes.texi: Likewise. | |
5254 | * doc/sourcebuild.texi: Likewise. | |
5255 | * doc/tm.texi: Likewise. | |
5256 | ||
e0bb17a8 KH |
5257 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
5258 | ||
5259 | * basic-block.h: Fix comment typos. | |
5260 | * bb-reorder.c: Likewise. | |
5261 | * c-format.c: Likewise. | |
5262 | * cfgcleanup.c: Likewise. | |
5263 | * cfghooks.h: Likewise. | |
5264 | * cfgloop.c: Likewise. | |
5265 | * cfgloopmanip.c: Likewise. | |
5266 | * cfgrtl.c: Likewise. | |
5267 | * cgraph.h: Likewise. | |
5268 | * cgraphunit.c: Likewise. | |
5269 | * combine.c: Likewise. | |
5270 | * convert.c: Likewise. | |
5271 | * dbxout.c: Likewise. | |
5272 | * df.c: Likewise. | |
5273 | * df.h: Likewise. | |
5274 | * diagnostic.c: Likewise. | |
5275 | * dwarf2out.c: Likewise. | |
5276 | * et-forest.h: Likewise. | |
5277 | * flow.c: Likewise. | |
5278 | * fold-const.c: Likewise. | |
5279 | * function.h: Likewise. | |
5280 | * gcov-io.h: Likewise. | |
5281 | * gcov.c: Likewise. | |
5282 | * gcse.c: Likewise. | |
5283 | * genautomata.c: Likewise. | |
5284 | * ggc-common.c: Likewise. | |
5285 | * ggc-page.c: Likewise. | |
5286 | * loop-unroll.c: Likewise. | |
5287 | * loop-unswitch.c: Likewise. | |
5288 | * loop.c: Likewise. | |
5289 | * mips-tfile.c: Likewise. | |
5290 | * optabs.c: Likewise. | |
5291 | * ra-build.c: Likewise. | |
5292 | * ra-colorize.c: Likewise. | |
5293 | * ra-rewrite.c: Likewise. | |
5294 | * ra.h: Likewise. | |
5295 | * regmove.c: Likewise. | |
5296 | * reload.c: Likewise. | |
5297 | * rtlanal.c: Likewise. | |
5298 | * sched-ebb.c: Likewise. | |
5299 | * sched-int.h: Likewise. | |
5300 | * sched-vis.c: Likewise. | |
5301 | * sreal.c: Likewise. | |
5302 | * ssa-ccp.c: Likewise. | |
5303 | * ssa.c: Likewise. | |
5304 | * toplev.c: Likewise. | |
5305 | * tree-inline.c: Likewise. | |
5306 | * value-prof.c: Likewise. | |
5307 | * value-prof.h: Likewise. | |
5308 | ||
5f2fc772 NS |
5309 | 2003-07-01 Nathan Sidwell <nathan@codesourcery.com> |
5310 | ||
5311 | * rtl.h (emit_line_note_after): Remove. | |
5312 | (emit_note_copy_after, emit_note_copy): New. | |
5313 | * emit-rtl.c (reorder_insns_with_line_notes): Replace | |
5314 | emit_line_note_after with emit_note_copy_after. | |
5315 | (emit_insn_after_with_line_notes): Likewise. | |
5316 | (emit_line_note_after): Kill. | |
5317 | (emit_note_copy_after): New. | |
5318 | (emit_note_copy): New. | |
5319 | * function.c (emit_return_into_block): Use emit_note_copy_after. | |
5320 | (thread_prologue_and_epilogue_insns): Likewise. | |
5321 | * integrate.c (expand_inline_function): Use emit_note_copy. | |
5322 | (copy_insn_list): Likewise. | |
5323 | * unroll.c (copy_loop_body): Likewise. | |
5324 | * cfglayout.c (duplicate_insn_chain): Likewise. | |
5325 | ||
5b030314 NS |
5326 | 2003-07-01 Nathan Sidwell <nathan@codesourcery.com> |
5327 | ||
5328 | * c-tree.h (define_label): Replace filename and lineno arguments | |
5329 | with a location_t. | |
5330 | * c-decl.c (poplevel): Adjust define_label call. | |
5331 | (pop_label_level): Likewise. | |
5332 | (define_label): Replace filename and lineno arguments with a | |
5333 | location_t. | |
5334 | (store_parm_decls): Use DECL_SOURCE_LOCATION. | |
5335 | * c-parse.in (label): Adjust define_label call. | |
5336 | ||
04df6730 NB |
5337 | 2003-07-01 Neil Booth <neil@daikokuya.co.uk> |
5338 | ||
5339 | * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h, | |
5340 | config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h, | |
5341 | config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h, | |
5342 | config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h, | |
5343 | config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros. | |
5344 | ||
6cf9ac28 AJ |
5345 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
5346 | ||
5347 | * final.c: Convert prototypes to ISO C90. | |
5348 | * flow.c: Likewise. | |
5349 | * flags.h: Likewise. | |
5350 | * gcov-io.c: Likewise. | |
5351 | * gcov-io.h: Likewise. | |
5352 | ||
2a868fac | 5353 | See ChangeLog.9 for earlier changes. |