]>
Commit | Line | Data |
---|---|---|
49a64b24 GK |
1 | 2003-07-21 Geoffrey Keating <geoffk@apple.com> |
2 | ||
3 | * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME | |
4 | when it's not needed. | |
5 | ||
8c29550d JJ |
6 | 2003-07-21 Jakub Jelinek <jakub@redhat.com> |
7 | ||
8 | * config/rs6000/rs6000.h (machine_function): Add ra_need_lr. | |
9 | * config/rs6000/rs6000.c (rs6000_return_addr): Set it. | |
10 | (rs6000_emit_prologue): Save FPRs inline if set. | |
11 | ||
92cbea22 L |
12 | 2003-07-21 H.J. Lu <hongjiu.lu@intel.com> |
13 | ||
14 | * config/ia64/ia64.md (prefetch): Support predicate. | |
15 | ||
ee735eef JZ |
16 | 2003-07-21 Josef Zlomek <zlomekj@suse.cz> |
17 | ||
18 | * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p. | |
19 | * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump | |
20 | table. | |
21 | ||
bbda30a4 EB |
22 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
23 | ||
24 | PR optimization/11536 | |
25 | * unroll.c (loop_iterations): Do not replace a register holding | |
26 | the final value by its equivalent before the loop if it is not | |
27 | invariant. | |
28 | ||
64c18e57 DF |
29 | 2003-07-21 Dave Fluri <dave.fluri@onlink.net> |
30 | ||
31 | * doc/extend.texi: Fixes to spelling, grammar, and diction. | |
32 | ||
b222f49a BE |
33 | 2003-07-21 Ben Elliston <bje@wasabisystems.com> |
34 | ||
35 | * doc/invoke.texi (Optimize Options): Replace "it's" with "its". | |
36 | (V850 Options): Spelling fixes. | |
37 | ||
9eff22bc LG |
38 | 2003-07-20 Lisa M. Goldstein <opus@gnu.org> |
39 | ||
40 | * doc/invoke.texi: Fixes to style, grammar and diction. | |
41 | ||
6a6c0154 RS |
42 | 2003-07-20 Roger Sayle <roger@eyesopen.com> |
43 | ||
44 | * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form. | |
45 | * system.h (SMALL_STACK): Poison obsolete target macro. | |
46 | * doc/tm.texi (SMALL_STACK): Remove target macro documentation. | |
47 | ||
d38b3a8d PE |
48 | 2003-07-20 Phil Edwards <pme@gcc.gnu.org> |
49 | ||
50 | * configure.in: Cache the results of testing for cmp's capabilities. | |
51 | * configure: Regenerate. | |
52 | ||
35dc2bd8 MM |
53 | 2003-07-20 Mark Mitchell <mark@codesourcery.com> |
54 | ||
55 | PR debug/11279 | |
56 | * dwarf2out.c (gen_enumeration_type_die): Remember that | |
57 | enumerators can be unsigned. | |
58 | ||
14e33ee8 ZW |
59 | 2003-07-19 Zack Weinberg <zack@codesourcery.com> |
60 | ||
61 | * c-decl.c (named_labels, shadowed_labels, label_level_chain) | |
62 | (push_label_level, pop_label_level): Kill. | |
63 | (struct binding_level): Rename level_chain to outer. | |
64 | Add outer_function field. Change parm_flag, function_body, | |
65 | keep, keep_if_subblocks to 1-bit bitfields of type bool. | |
66 | (current_function_level): New variable. | |
67 | (keep_next_level_flag, keep_next_if_subblocks): Change type to bool. | |
68 | (keep_next_level, declare_parm_level, warn_if_shadowing): | |
69 | Update to match. | |
70 | (struct language_function): Kill named_labels, shadowed_labels fields. | |
71 | (c_init_decl_processing, start_function, c_push__function_context) | |
72 | (c_pop_function_context): No need to muck with named_labels nor | |
73 | shadowed_labels. | |
74 | ||
75 | (make_binding_level): No need to clear the structure here. | |
76 | (pop_binding_level): Always operate on current_binding_level. | |
77 | Update current_function_level if necessary. | |
78 | (pushlevel): Don't clear named_labels. Update current_function_level | |
79 | if necessary. Use "true" and "false" where appropriate. | |
80 | (poplevel): Diagnose labels defined but not used, or vice | |
81 | versa, and clear out label-meanings leaving scope, while | |
82 | walking down the decls list, for all binding levels. | |
83 | Handle LABEL_DECLs appearing in the shadowed list. | |
84 | pop_binding_level takes no arguments. | |
85 | (pushdecl_function_level): Use current_function_level. | |
86 | ||
87 | (make_label, bind_label): New static functions. | |
88 | (declare_label): New exported function. | |
89 | (lookup_label, define_label): Rewritten for new data structure. | |
90 | (shadow_label): Kill. | |
91 | ||
92 | * c-tree.h: Prototype declare_label; don't prototype | |
93 | push_label_level, pop_label_level, nor shadow_label. | |
94 | * c-parse.in: Remove all calls to push_label_level and | |
95 | pop_label_level. Use declare_label for __label__ decls. | |
96 | ||
97 | * doc/extend.texi: Clarify that __label__ can be used to | |
98 | declare labels with local scope in any nested block, not | |
99 | just statement expressions. Cross-reference nested functions | |
100 | section from local labels section. | |
101 | ||
8a6b9b7f ZD |
102 | 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
103 | ||
104 | * sched-rgn.c (find_rgns): Initialize current_edge correctly. | |
105 | ||
026fe6c8 PE |
106 | 2003-07-19 Phil Edwards <pme@gcc.gnu.org> |
107 | ||
108 | * doc/makefile.texi (restrap, profiledbootstrap): Document targets. | |
109 | ||
c68b0a84 KG |
110 | 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
111 | ||
112 | * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c | |
113 | fixinc/server.c objc/objc-act.c: Remove unnecessary casts. | |
114 | ||
fd7643fb UW |
115 | 2003-07-19 Ulrich Weigand <uweigand@de.ibm.com> |
116 | ||
14e33ee8 | 117 | * config/s390/s390.c (legitimize_pic_address): Access local symbols |
fd7643fb UW |
118 | relative to the GOT instead of relative to the literal pool base. |
119 | (s390_output_symbolic_const): Handle new GOT-relative accesses. | |
120 | * config/s390/s390.md ("call"): Access local functions and PLT stubs | |
121 | relative to the GOT instead of relative to the literal pool base. | |
122 | ("call_value"): Likewise. | |
123 | ("call_value_tls"): Likewise. | |
124 | ||
14e33ee8 | 125 | * config/s390/s390.c (s390_chunkify_start): Remove pool anchor |
fd7643fb UW |
126 | reloading. Support LTREL_BASE / LTREL_OFFSET construct. |
127 | (s390_chunkify_finish): Likewise. | |
128 | (s390_chunkify_cancel): Likewise. | |
129 | (s390_reorg): Adapt caller. | |
130 | (find_base_register_in_addr, | |
131 | find_base_register_ref, replace_base_register_ref): Delete. | |
132 | (find_ltrel_base, replace_ltrel_base): New functions. | |
133 | (find_constant_pool_ref): Handle LTREL_BASE unspecs. | |
134 | (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize | |
135 | base vs. index register usage. | |
136 | (struct constant_pool): Remove 'anchor'. | |
137 | (s390_add_anchor): Delete. | |
138 | (s390_dump_pool): Remove anchor handling. | |
139 | * config/s390/s390.md ("reload_anchor"): Remove. | |
140 | ||
141 | * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET. | |
142 | (s390_load_got): New function. Use LTREL_BASE/OFFSET. | |
143 | (s390_emit_prologue): Use it. | |
14e33ee8 ZW |
144 | * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup", |
145 | "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not | |
fd7643fb UW |
146 | hard-code register 14. |
147 | * config/s390/s390-protos.h (s390_load_got): Declare. | |
148 | ||
14e33ee8 | 149 | * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable): |
fd7643fb UW |
150 | Support TImode constants. |
151 | * config/s390/s390.md ("consttable_ti"): New. | |
152 | ("consttable_si", "consttable_di"): Handle TLS symbols correctly. | |
153 | ||
154 | * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE, | |
155 | UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF, | |
156 | UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END, | |
157 | UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI, | |
158 | UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL): | |
159 | New symbolic constants. | |
160 | ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di", | |
161 | "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31", | |
162 | "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64", | |
163 | "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use | |
164 | symbolic UNSPEC values. | |
14e33ee8 | 165 | * config/s390/s390.c (larl_operand, s390_short_displacement, |
fd7643fb UW |
166 | bras_sym_operand, s390_cannot_force_const_mem, |
167 | s390_delegitimize_address, s390_decompose_address, | |
168 | legitimize_pic_address, s390_output_symbolic_const, | |
169 | s390_function_profiler): Use symbolic UNSPEC values. | |
170 | ||
703ad42b KG |
171 | 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
172 | ||
173 | * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c | |
174 | c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in | |
175 | c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c | |
176 | collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c | |
177 | cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c | |
178 | cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c | |
179 | dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c | |
180 | fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c | |
181 | gcse.c genattr.c genattrtab.c genautomata.c genconditions.c | |
182 | genemit.c genextract.c genoutput.c genrecog.c gensupport.c | |
183 | ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c | |
184 | integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c | |
185 | loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c | |
186 | postreload.c prefix.c print-tree.c protoize.c ra-build.c | |
187 | ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c | |
188 | regmove.c regrename.c reload.c reload1.c reorg.c resource.c | |
189 | sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c | |
190 | simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c | |
191 | tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c | |
192 | varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary | |
193 | casts. | |
194 | ||
308ca868 GDR |
195 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
196 | ||
197 | * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl. | |
198 | * toplev.h (warning): Remove attribute. | |
199 | ||
435ab236 GDR |
200 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
201 | ||
202 | * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl. | |
203 | (pop_label_level): Likewise. | |
204 | (duplicate_decls): Likewise. | |
205 | (implicitly_declare): Likewise. | |
206 | (shadow_label): Likewise. | |
207 | (start_decl): Likewise. | |
208 | (finish_decl): Likewise. | |
209 | (grokdeclarator): Likewise. | |
210 | (get_parm_info): Likewise. | |
211 | (detect_field_duplicates): Likewise. | |
212 | (finish_struct): Likewise. | |
213 | (start_function): Likewise. | |
214 | (store_parm_decls): Likewise. | |
215 | (finish_function): Likewise. | |
216 | (c_expand_body_1): Likewise. | |
217 | (check_for_loop_decls): Likewise. | |
218 | (merge_translation_unit_decls): Likewise. | |
219 | ||
2cc98056 NB |
220 | 2003-07-19 Neil Booth <neil@daikokuya.co.uk> |
221 | ||
222 | * common.opt: Document --param. | |
223 | * opts.c (columns, undocumented_msg): New. | |
224 | (print_help): Get number of columns from environment. Print | |
225 | --param help. Tweak newline handling. | |
226 | (print_param_help): New. | |
227 | (print_filtered_help): Better handling of duplicates. Complain | |
228 | about undocumented switches. | |
229 | (print_switch): New. | |
230 | (wrap_help): Improve wrapping, use COLUMNS. | |
231 | * opts.sh: Ignore comments in records. | |
232 | * params.def: Fix typos and remove trailing periods. | |
233 | * toplev.c (display_help): Don't dump --param help. | |
234 | * doc/sourcebuild.texi: Update. | |
235 | ||
d893ccde RH |
236 | 2003-07-18 Richard Henderson <rth@redhat.com> |
237 | ||
0e38b30b | 238 | PR target/11556 |
d893ccde RH |
239 | * optabs.c (prepare_operand): Fail gracefully instead of abort |
240 | if the predicate doesn't satisfy. | |
241 | (gen_cond_trap): Allow prepare_operand to fail. | |
242 | ||
eb8221ea GDR |
243 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
244 | ||
245 | * c-common.c: Don't undefine GCC_DIAG_STYLE. | |
246 | (fname_decl): Don't use xxx_with_decl. | |
247 | (c_add_case_label): Likewise. | |
248 | (handle_section_attribute): Likewise. | |
249 | (handle_alias_attribute): Likewise. | |
250 | (handle_no_instrument_function_attribute): Likewise. | |
251 | (handle_no_limit_stack_attribute): Likewise. | |
252 | * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs. | |
253 | * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier. | |
254 | ||
65f43cdf ZD |
255 | 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
256 | ||
257 | * Makefile.in (ifcvt.o): Add cfgloop.h. | |
258 | * basic-block.h (EDGE_LOOP_EXIT): New flag. | |
259 | * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly. | |
260 | * ifcvt.c: Include cfgloop.h. | |
261 | (mark_loop_exit_edges): New static function. | |
262 | (if_convert): Call it. | |
263 | (find_if_header): Ignore branches out of loops. | |
264 | ||
e5686da7 KH |
265 | 2003-07-18 Kazu Hirata <kazu@cs.umass.edu> |
266 | ||
14e33ee8 | 267 | * combine.c (simplify_comparison): Don't share rtx when converting |
e5686da7 KH |
268 | (ne (and (not X) 1) 0) to (eq (and X 1) 0). |
269 | ||
8d05ebaa DE |
270 | 2003-07-18 David Edelsohn <edelsohn@gnu.org> |
271 | ||
272 | * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define. | |
273 | (AGGREGATES_PAD_UPWARD_ALWAYS): Define. | |
274 | (MUST_PASS_IN_STACK): Define. | |
275 | (BLOCK_REG_PADDING): Define. | |
276 | ||
79019985 RH |
277 | 2003-07-18 Richard Henderson <rth@redhat.com> |
278 | ||
279 | * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p | |
280 | to skip the addr_vec. | |
281 | ||
0595d388 AO |
282 | Fri Jul 18 15:22:28 2003 Alexandre Oliva <aoliva@redhat.com> |
283 | ||
284 | * combine.c (combinable_i3pat): Don't forbid occurrences of | |
285 | i2dest or i1dest in inner_dest if inner_dest is a mem. | |
286 | ||
2ee1067b JH |
287 | Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka <jh@suse.cz> |
288 | ||
289 | * cgraph.c (cgraph_remove_node): Clear the hash table slot. | |
290 | ||
16f6812f JJ |
291 | 2003-07-17 Jakub Jelinek <jakub@redhat.com> |
292 | ||
293 | PR target/11087 | |
294 | * loop.c (basic_induction_var): Check if convert_modes emitted any | |
295 | instructions. Remove them and return 0 if so. | |
296 | ||
f129791c EB |
297 | 2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
298 | ||
299 | PR optimization/11083 | |
300 | * toplev.c (rest_of_handle_addresof): Rename into | |
301 | rest_of_handle_addressof. Delete unreachable blocks | |
302 | if dead edges were purged after the addressof pass. | |
303 | ||
b2e608ca NB |
304 | 2003-07-18 Neil Booth <neil@daikokuya.co.uk> |
305 | ||
306 | * Makefile.in, configure, configure.in: Remove handling of | |
307 | lang-options.h and options_.h. | |
308 | * toplev.c (struct lang_opt, documented_lang_options): Remove. | |
309 | (display_help): Don't use documented_lang_options. | |
310 | ||
9cd51ef6 ZW |
311 | 2003-07-17 Zack Weinberg <zack@codesourcery.com> |
312 | ||
313 | * c-decl.c (pushdecl_function_level): Make static, return nothing. | |
314 | (kept_level_p): Fold into poplevel. | |
315 | (undeclared_variable): Moved here from c-typeck.c. Export. | |
316 | * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines. | |
317 | (undeclared_variable): Prototype here. Don't prototype | |
318 | kept_level_p nor pushdecl_function_level. | |
319 | * c-parse.in: Change first argument to poplevel from | |
320 | "kept_level_p()" to "KEEP_MAYBE". | |
321 | * c-typeck.c (undeclared_variable): Moved to c-decl.c. | |
322 | ||
cf6bcbd0 RS |
323 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
324 | ||
325 | * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap | |
326 | commutative operands instead of modifying the RTL in-place. | |
327 | ||
2b187c63 MM |
328 | 2003-07-17 Mark Mitchell <mark@codesourcery.com> |
329 | ||
330 | PR optimization/11557 | |
331 | * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK | |
332 | unless we know which function is being called. | |
333 | ||
c715abdd RS |
334 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
335 | ||
336 | * cse.c (fold_rtx): Use swap_commutative_operands_p to determine | |
337 | whether to reorder the operands of a commutative binary operator. | |
338 | ||
3e4093b6 RS |
339 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
340 | ||
341 | * fold-const.c (const_binop): Avoid performing the FP operation at | |
342 | compile-time, if either operand is NaN and we honor signaling NaNs, | |
343 | or if we're dividing by zero and either flag_trapping_math is set | |
344 | or the desired mode doesn't support infinities. | |
345 | (fold_initializer): New function to fold an expression ignoring any | |
346 | potential run-time exceptions or traps. | |
347 | * tree.h (fold_initializer): Prototype here. | |
348 | * c-typeck.c (build_binary_op): Move to the end of the file so | |
349 | that intializer_stack is in scope. If constructing an initializer, | |
350 | i.e. when initializer_stack is not NULL, use fold_initializer to | |
351 | fold expressions. | |
352 | * simplify-rtx.c (simplify_binary_operation): Likewise, avoid | |
353 | performing FP operations at compile-time, if they would raise an | |
354 | exception at run-time. | |
355 | ||
89e9faee GK |
356 | 2003-07-17 Geoffrey Keating <geoffk@apple.com> |
357 | ||
26e0dcb3 GK |
358 | PR 11498 |
359 | * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H). | |
360 | (langhooks.o): Add $(GGC_H), gt-langhooks.h. | |
361 | (GTFILES): Add langhooks.c. | |
362 | (gt-langhooks.h): New. | |
363 | * c-common.h (c_static_assembler_name): Prototype. | |
364 | * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define. | |
365 | * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define. | |
366 | * c-opts.c: Include langhooks-def.h. | |
367 | (c_static_assembler_name): New. | |
368 | * langhooks.c: Include ggc.h. Include gt-langhooks.h. | |
369 | (var_labelno): New. | |
370 | (lhd_set_decl_assembler_name): Give static objects with context | |
371 | unique names. | |
372 | * varasm.c (var_labelno): Delete. | |
373 | (make_decl_rtl): Don't change the assembler name once it's set. | |
374 | ||
89e9faee GK |
375 | * c-opts.c (this_input_filename): New. |
376 | (finish_options): Take new parameter, name of file being compiled. | |
377 | Update callers. Set this_input_filename. | |
378 | (push_command_line_include): Use this_input_filename not | |
379 | main_input_filename. | |
380 | ||
6ec3f553 NB |
381 | 2003-07-17 Neil Booth <neil@daikokuya.co.uk> |
382 | ||
383 | * Makefile.in: Depend .pot generation on options.c. | |
384 | * po/exgettext: Add an extra_files variable containing additional | |
385 | files to scan. | |
386 | ||
78ff95dc ZW |
387 | 2003-07-17 Zack Weinberg <zack@codesourcery.com> |
388 | ||
36c6d174 ZW |
389 | * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to |
390 | c_write_global_declarations. | |
391 | ||
eb1dfbb2 ZW |
392 | * c-decl.c: Fix typos in several comments. Remove all |
393 | #if 0 blocks; reindent as needed. Remove unused argument | |
394 | to declare_parm_level; all callers changed. | |
395 | * c-parse.in: Update calls to declare_parm_level. Avoid | |
396 | issuing a double warning in some circumstances. | |
397 | * c-typeck.c: Update calls to declare_parm_level. | |
398 | * c-tree.h: Update prototype of declare_parm_level. | |
399 | ||
400 | * c-pragma.c (apply_pragma_weak): Don't complain about a | |
401 | redundant #pragma weak. | |
402 | ||
403 | * objc/objc-act.c (forward_declare_categories, | |
404 | build_selector_reference_decl, build_class_reference_decl, | |
405 | build_objc_string_decl, synth_forward_declarations, | |
406 | build_protocol_reference): Set TREE_PUBLIC on synthetic | |
407 | forward decl to 0, consistent with eventual definition. | |
408 | Correct comments to match. | |
409 | ||
78ff95dc ZW |
410 | * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces |
411 | in regexp that don't form a range expression. | |
412 | * fixinc/fixincl.def: Regenerate. | |
413 | ||
b23ba0b8 RH |
414 | 2003-07-17 Richard Henderson <rth@redhat.com> |
415 | ||
78ff95dc ZW |
416 | PR target/10907 |
417 | * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end | |
418 | even with !TARGET_CONST_GP. | |
419 | (ia64_function_ok_for_sibcall): Reject non-local functions. | |
b23ba0b8 | 420 | |
d944c82d SB |
421 | 2003-07-17 Steven Bosscher <steven@gcc.gnu.org> |
422 | ||
423 | * c-common.c (c_estimate_num_insns_1): Don't handle | |
424 | METHOD_CALL_EXPR. | |
425 | * expr.c (safe_from_p): Likewise. | |
426 | * gengtype.c (adjust_field_tree_exp): Likewise. | |
427 | * stmt.c (warn_if_unused_value): Likewise | |
428 | * tree.c (first_rtl_op): Likewise. | |
429 | * tree.def: Don't define METHOD_CALL_EXPR. | |
430 | * java/lang.c (java_estimate_num_insns_1): Don't handle | |
431 | METHOD_CALL_EXPR. | |
432 | ||
54284728 EB |
433 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
434 | ||
435 | PR other/11466 | |
436 | * doc/invoke.texi (SPARC Options): Document "-mlittle-endian" | |
437 | and its restrictions for the SPARC64 port. | |
438 | Move the entry of "-mimpure-text" before that of "-mv8". | |
439 | ||
bc890961 | 440 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
78ff95dc | 441 | Phil Edwards <phil@jaj.com> |
bc890961 EB |
442 | |
443 | * doc/install.texi (*-*-solaris2*): Document the step-by-step | |
444 | procedure to bootstrap and install. | |
445 | Document the preference for the legacy Sun tools in /usr/bin | |
446 | over the POSIX tools in /usr/xpg4/bin for the build process. | |
447 | ||
f2ac9964 NB |
448 | 2003-07-17 Neil Booth <neil@daikokuya.co.uk> |
449 | ||
450 | * c.opt: Document Uncodumented; use it. Document ObjC options. | |
451 | * opts.c (print_filtered_help): Skip undocumented switches. | |
452 | * opts.h (CL_UNDOCUMENTED): New. | |
453 | * opts.sh: Handle Undocumented. | |
454 | * toplev.c (documented_lang_options): Prevent its becoming empty. | |
455 | objc: | |
456 | * lang-options.h: Remove. | |
457 | ||
03988cac UW |
458 | 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com> |
459 | ||
460 | * loop.c (check_ext_dependent_givs): Pass const struct loop * | |
461 | instead of struct loop_info * as argument. Accept BIVs with | |
462 | increment +/- 1 provided there is a friendly exit test against | |
463 | a loop-invariant value. | |
464 | (strength_reduce): Adapt call to check_ext_dependent_givs. | |
465 | ||
fada1961 R |
466 | 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com> |
467 | Con Bradley <con.bradley@superh.com> | |
468 | ||
469 | * sh-protos.h (sh_get_pr_initial_val): Declare. | |
470 | * sh.c (regno_reg_class): Make its elements type enum reg_class. | |
471 | (output_stack_adjust): Remove emit_fn argument. Add epilogue_p | |
472 | and live_regs_mask arguments. Changed all callers. | |
473 | (save_schedule_s): New structure. | |
474 | (save_schedule): New typedef. | |
475 | (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions. | |
476 | (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p. | |
477 | In interrupts handlers, also save registers that are usually | |
478 | partially saved, and make sure there is at least one general purpose | |
479 | register saved if a target register needs saving. | |
480 | Add casts in comparisons to avoid warnings. | |
481 | (sh_media_register_for_return): return -1 for interrupt handlers. | |
482 | (MAX_SAVED_REGS, MAX_TEMPS): New defines. | |
483 | (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp | |
484 | registers used are available. | |
485 | Set RTX_FRAME_RELATED_P where appropriate. | |
486 | Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing. | |
487 | (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves. | |
488 | (initial_elimination_offset): Likewise. | |
489 | * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4. | |
490 | (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings. | |
491 | (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO. | |
492 | (XD_REGISTER_P, TARGET_REGISTER_P): Likewise. | |
493 | (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15, | |
494 | and for target registers. | |
495 | (RETURN_IN_MEMORY): Add parentheses to avoid warnings. | |
496 | (regno_reg_class): Make its elements type enum reg_class. | |
497 | (CONSTRAINT_LEN): Don't use isdigit. | |
498 | (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings. | |
499 | (FUNCTION_ARG): Add parentheses to avoid warnings. | |
500 | (RETURN_ADDR_RTX): Use sh_get_pr_initial_val. | |
501 | (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5. | |
502 | (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings. | |
503 | (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings. | |
504 | * sh.md (xordi3+1): Remove unused variable regno. | |
505 | (return_media): Check that tr0 is available before using it. | |
506 | ||
bae92bf3 NB |
507 | 2003-07-16 Neil Booth <neil@daikokuya.co.uk> |
508 | ||
509 | * c.opt: Document more options. | |
510 | ||
cc8c96fd RS |
511 | 2003-07-16 Roger Sayle <roger@eyesopen.com> |
512 | ||
513 | * combine.c (subst): Also handle (subreg (const_double ...)) case | |
514 | if created by a substitution, by using the original inner mode. | |
515 | ||
d41ba56f RS |
516 | 2003-07-16 Roger Sayle <roger@eyesopen.com> |
517 | ||
518 | * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons | |
519 | to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined. | |
520 | (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X. | |
521 | ||
264d65c1 | 522 | 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu> |
78ff95dc | 523 | |
264d65c1 | 524 | * doc/install.texi (--without-headers): New. |
1622229c AP |
525 | |
526 | Partial Fix PR/10129 | |
527 | * config/darwin.c (machopic_function_base_name): Only Return "<pic base>". | |
528 | (machopic_output_function_base_name): New; print the true pic label. | |
529 | (machopic_classify_ident): Pic Base is always a defined data. | |
530 | * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label. | |
531 | * config/darwin-proto.h (machopic_output_function_base_name): Prototype. | |
532 | ||
db2f435b AP |
533 | * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant |
534 | if they are not floating point registers. | |
535 | ||
d07605f5 AP |
536 | PR c/10962 |
537 | * ggc.h: Add header guards. | |
538 | * c-decl.c (finish_struct): Sort fields if | |
539 | number greater than 15 and there are no | |
540 | anonymous structs/unions. | |
541 | * c-common.h: Include ggc.h. | |
542 | (sorted_fields_type): New struct. | |
543 | (field_decl_cmp): New prototype. | |
544 | (resort_sorted_fields): New prototype. | |
545 | (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro. | |
546 | * c-tree.h: (lang_type): Use pointer to sorted_fields_type | |
547 | as s, removing other fields. | |
548 | * c-typeck.c (lookup_field): Use s in lang_type. | |
549 | These were mostly moved from cp/class.c: | |
550 | * c-common.c (field_decl_cmp): New static function. | |
551 | (field_decl_cmp): New function. | |
552 | (resort_sorted_fields): New function. | |
553 | ||
3d7964d5 GK |
554 | 2003-07-16 Geoffrey Keating <geoffk@apple.com> |
555 | ||
556 | * config/darwin.c (machopic_select_section): Use decl_readonly_section | |
557 | to do most of the work. | |
558 | ||
4e58524e HPN |
559 | 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com> |
560 | ||
561 | * config/mmix/mmix-protos.h: Convert prototypes to ISO C90. | |
562 | * config/mmix/mmix.c: Convert functions to ISO C90. | |
563 | (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak | |
564 | formatting. | |
565 | (mmix_get_hard_reg_initial_val): Tweak section head comment. | |
566 | ||
1e0343dd R |
567 | 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com> |
568 | ||
569 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK. | |
570 | ||
fc4767bb JJ |
571 | 2003-07-16 Jakub Jelinek <jakub@redhat.com> |
572 | ||
573 | * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define. | |
574 | (uw_update_context_1): Use it. | |
575 | * config/rs6000/rs6000.c (insn_after_throw): Remove. | |
576 | (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location | |
577 | in parent frame if _Unwind_* called directly instead of through | |
578 | .plt. | |
579 | (rs6000_emit_eh_toc_restore): Remove. | |
580 | (rs6000_emit_prologue): Update stack pointer before doing any saving | |
581 | if current_function_calls_eh_return. Generate unwind info for $r2. | |
582 | (rs6000_emit_epilogue): Restore stack pointer after doing all | |
583 | restoring if current_function_calls_eh_return. Restore $r2. | |
584 | * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove. | |
585 | * config/rs6000/rs6000.md (eh_return): Remove call to | |
586 | rs6000_emit_eh_toc_restore. | |
587 | * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define. | |
588 | * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define. | |
589 | ||
6972c506 JJ |
590 | 2003-07-15 Jakub Jelinek <jakub@redhat.com> |
591 | ||
592 | * expr.c (emit_block_move): Don't move anything if size is const 0. | |
593 | (clear_storage): Test against const0_rtx instead of comparing INTVAL | |
594 | against 0. | |
595 | ||
ac59ed37 DM |
596 | 2003-07-15 David S. Miller <davem@redhat.com> |
597 | ||
598 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only | |
599 | emit nop if the last real insn is CALL_INSN. | |
600 | ||
b828d124 DS |
601 | 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net> |
602 | ||
603 | * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define | |
604 | as "nul". | |
605 | * config/i386/xm-mingw32.h: Change GNU CC to GCC. | |
606 | ||
d5648e12 DS |
607 | 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net> |
608 | ||
609 | * config/i386/winnt.c (associated_type): Artificial methods are not | |
610 | affected by the import/export status of their class unless they are | |
611 | COMDAT. | |
612 | (i386_pe_dllimport_p): Do not mark artificial methods as dllimport. | |
613 | ||
614 | * config/i386/winnt.c: Fix GCC copyright comment. | |
615 | ||
b0e3f7ec GDR |
616 | 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net> |
617 | ||
618 | PR c++/11531 | |
619 | * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're | |
620 | not recursing on hard error. | |
621 | (diagnostic_for_decl): Likewise. | |
622 | * diagnostic.def: Rearrange. | |
623 | ||
71628aa0 R |
624 | 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> |
625 | ||
626 | * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): | |
627 | If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode. | |
628 | ||
629 | 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> | |
630 | Richard Henderson <rth@redhat.com> | |
631 | ||
632 | * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table | |
633 | to decide if to access a _Unwind_Ptr or a _Unwind_Word. | |
634 | (_Unwind_SetGR): Likewise. | |
635 | (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions. | |
636 | (Unwind_SpTmp): New typedef. | |
637 | (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr. | |
638 | (uw_update_context): Use _Unwind_GetPtr. | |
639 | (init_dwarf_reg_size_table): Move above uw_init_context_1. | |
640 | (uw_init_context_1): Initialize dwarf_reg_size_table if necessary. | |
641 | Use _Unwind_SetSpColumn. | |
642 | (uw_install_context_1): Don't initialize dwarf_reg_size_table. | |
643 | Use _Unwind_GetPtr. | |
644 | ||
5a170a05 NB |
645 | 2003-07-15 Neil Booth <neil@daikokuya.co.uk> |
646 | ||
647 | * c.opt: Document more options. | |
648 | * toplev.c (documented_lang_options): Remove all local help strings. | |
649 | ||
b0afa2fc MM |
650 | 2003-07-15 Mark Mitchell <mark@codesourcery.com> |
651 | ||
652 | PR debug/11473 | |
653 | * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of | |
654 | base classes. | |
655 | ||
5df90541 KH |
656 | 2003-07-15 Kazu Hirata <kazu@cs.umass.edu> |
657 | ||
658 | PR target/10795 | |
659 | * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't | |
660 | swap comparison operands if doing so would generate an | |
661 | unrecognizable insn. | |
662 | ||
5a257872 EB |
663 | 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr> |
664 | ||
665 | PR optimization/11320 | |
666 | * sched-int.h (struct deps) [reg_conditional_sets]: New field. | |
667 | (struct sched_info) [compute_jump_reg_dependencies]: New prototype. | |
668 | * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to | |
669 | current_sched_info->compute_jump_reg_dependencies. Record which | |
670 | registers are used and which registers are set by the jump. | |
671 | Clear deps->reg_conditional_sets after a barrier. | |
672 | Set deps->reg_conditional_sets if the insn is a COND_EXEC. | |
673 | Clear deps->reg_conditional_sets if the insn is not a COND_EXEC. | |
674 | (init_deps): Initialize reg_conditional_sets. | |
675 | (free_deps): Clear reg_conditional_sets. | |
676 | * sched-ebb.c (compute_jump_reg_dependencies): New prototype. | |
677 | Mark registers live on entry of the fallthrough block and conditionally | |
678 | set as set by the jump. Mark registers live on entry of non-fallthrough | |
679 | blocks as used by the jump. | |
680 | * sched-rgn.c (compute_jump_reg_dependencies): New prototype. | |
681 | Mark new parameters as unused. | |
682 | ||
3cec3f83 RS |
683 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
684 | ||
685 | * doc/invoke.texi: Resync MIPS -march documentation. | |
686 | ||
98450f0d RS |
687 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
688 | ||
689 | * config/mips/mips.h (PROCESSOR_R9000): New processor_type. | |
690 | (TARGET_MIPS9000, TUNE_MIPS9000): New macros. | |
691 | (GENERATE_MULT3_SI): True for TARGET_MIPS9000. | |
692 | * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry. | |
693 | (mips_rtx_costs): Adjust integer multiplication costs for the rm9000. | |
694 | (mips_issue_rate): Handle PROCESSOR_R9000. | |
695 | (mips_use_dfa_pipeline_interface): Likewise. | |
696 | * config/mips/9000.md: New file. | |
697 | * config/mips/mips.md: Include it. | |
698 | (define_attr cpu): Add r9000. | |
699 | (mulsi3_mult3): Use "mul" for rm9000 code. | |
700 | ||
5fe25f47 SC |
701 | 2003-07-15 Stan Cox <scox@redhat.com> |
702 | ||
703 | * config/mips/mips.h (PROCESSOR_R7000): New processor_type. | |
704 | (TARGET_MIPS7000, TUNE_MIPS7000): New macros. | |
705 | (GENERATE_MULT3_SI): True for TARGET_MIPS7000. | |
706 | * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry. | |
707 | (mips_rtx_costs): Adjust integer multiplication costs for the rm7000. | |
708 | (mips_issue_rate): Handle PROCESSOR_R7000. | |
709 | (mips_use_dfa_pipeline_interface): Likewise. | |
710 | * config/mips/7000.md: New file. | |
711 | * config/mips/mips.md: Include it. | |
712 | (define_attr cpu): Add r7000. | |
713 | (mulsi3_mult3): Use "mul" for rm7000 code. | |
714 | ||
5a2515e6 RS |
715 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
716 | ||
717 | * config/mips/mips.md (define_attr type): Add condmove. Use it for | |
718 | the conditional move patterns. | |
719 | * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove. | |
720 | Check for condmove type. | |
721 | (ir_vr54_arith): Add move type. | |
722 | * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise. | |
723 | * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise. | |
724 | ||
72de27ea NB |
725 | 2003-07-15 Neil Booth <neil@daikokuya.co.uk> |
726 | ||
727 | * c-opts.c (print_help): Remove. | |
728 | (c_common_handle_option): Don't handle --help. | |
729 | * c.opt: Document some options. | |
730 | (--help): Remove. | |
731 | * opts.c (print_filtered_help): New. | |
732 | (print_help): Use it. | |
733 | ||
e6ebd07b GK |
734 | 2003-07-14 Geoffrey Keating <geoffk@apple.com> |
735 | ||
2d799c09 GK |
736 | * c-common.c (c_common_type_for_mode): Handle V4DFmode. |
737 | * tree.c: (build_common_tree_nodes_2): Likewise. | |
738 | * tree.h (enum tree_index): Add TI_V4DF_TYPE. | |
739 | (V4DF_type_node): New. | |
740 | ||
e6ebd07b GK |
741 | * c-opts.c (push_command_line_include): Don't free deferred_opts, |
742 | we'll need it. | |
743 | (finish_options): Reset init_cursor. | |
744 | ||
b90f141a KH |
745 | 2003-07-15 Kazu Hirata <kazu@cs.umass.edu> |
746 | ||
747 | * expr.c (expand_assignment): Remove an unused argument | |
748 | SUGGEST_REG. | |
749 | * expr.h: Update the prototype. | |
750 | * function.c: Update the callers. | |
751 | * stmt.c: Likewise. | |
752 | ||
1e7ee6ad MM |
753 | 2003-07-14 Mark Mitchell <mark@codesourcery.com> |
754 | ||
755 | PR debug/11098 | |
756 | * integrate.c (copy_decl_for_inlining): Do not mark copied decls | |
757 | as DECL_ABSTRACT. | |
758 | ||
bf66f7b0 NN |
759 | 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> |
760 | ||
761 | * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass | |
762 | with __cplusplus, not "we must use the C++ compiler's type" | |
763 | * fixinc/inclhack.def (void_null): Note that Interix needs this. | |
764 | * fixinc/fixincl.x: Regenerate. | |
765 | ||
18009d03 GK |
766 | 2003-07-14 Geoffrey Keating <geoffk@apple.com> |
767 | ||
ea00486e GK |
768 | * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects |
769 | and unseen_objects from the global data before calling | |
770 | __deregister_frame_info_bases. | |
771 | (examine_objects): Insert objects into the seen_objects list, | |
772 | not unseen_objects. | |
773 | (_Unwind_Find_FDE): Always unlock the global object lists, even if | |
774 | we couldn't allocate a data structure to put in it. | |
775 | ||
18009d03 GK |
776 | * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking. |
777 | (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend. | |
778 | (SET_TYPE_PROTOCOL_LIST): New. | |
779 | * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST. | |
780 | (get_object_reference): Likewise. | |
781 | ||
9ae130f8 JH |
782 | Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz> |
783 | ||
784 | * cfglayout.c (locator_file): Break out from .... | |
785 | (insn_file): ... here. | |
786 | (locator_line): Break out from .... | |
787 | (insn_line): ... here. | |
788 | * rtl.h (locator_file, locator_line): Declare. | |
789 | (final_start_function): Set proper line/file info. | |
790 | ||
e07d4821 GDR |
791 | 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net> |
792 | ||
793 | * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is | |
794 | handled by pp_c_cast_expression. | |
795 | ||
121d69e6 RS |
796 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
797 | ||
798 | * config/mips/mips.c (mips_expand_prologue): Use a single insn to | |
799 | allocate 32768 bytes of stack. Use addition rather than subtraction | |
800 | when a single insn is enough. | |
801 | * config/mips/mips.md: Remove insns and splitters for subtracting | |
802 | constants. | |
803 | (subsi3): Only accept register operands. | |
804 | (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well. | |
805 | (subdi3_internal_3, subsi3_internal_2): Likewise. | |
806 | (casesi): Use expand_binop to subtract the lower bound. | |
807 | ||
3485245e RS |
808 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
809 | ||
810 | * config/mips/mips.c (mips_in_small_data_p): Don't handle | |
811 | TARGET_MIPS16 specially. | |
812 | ||
6627b7f9 RS |
813 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
814 | ||
6d0b50a4 RS |
815 | * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use |
816 | mips_output_aligned_bss. | |
817 | * config/mips/linux.h: Likewise. | |
818 | * config/mips/mips-protos.h (mips_output_aligned_bss): Declare. | |
819 | * config/mips/mips.c (mips_output_aligned_bss): New function. | |
820 | ||
8d50bd19 RS |
821 | * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete. |
822 | * config/mips/elf64.h: Likewise. | |
823 | ||
c1115ccd RS |
824 | * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use |
825 | mips_declare_object_name. | |
826 | (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object. | |
827 | * config/mips/elf64.h: As for elf.h. | |
828 | * config/mips/iris6.h: Likewise. | |
829 | * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h. | |
830 | * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary | |
831 | do...while (0) block. | |
832 | * config/mips/mips-protos.h (mips_declare_object_name): Declare. | |
833 | (mips_finish_declare_object): Declare. | |
834 | * config/mips/mips.c (mips_declare_object_name): New function. | |
835 | (mips_finish_declare_object): New function. | |
836 | ||
060ff934 RS |
837 | * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete. |
838 | * config/mips/linux.h: Likewise. | |
839 | ||
d82783b6 RS |
840 | * config/mips/mips.c (inside_function): Delete. |
841 | (file_in_function_warning, ignore_line_number): Delete. | |
842 | (mips_output_filename): Don't warn about changing filenames within | |
843 | a function. | |
844 | (mips_output_lineno): Update accordingly. | |
845 | (mips_output_function_prologue): Don't reset the deleted variables. | |
846 | * config/mips/mips.h (inside_function): Delete. | |
847 | (file_in_function_warning, ignore_line_number): Delete. | |
848 | ||
373f8df7 RS |
849 | * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs. |
850 | * config/mips/elf64.h: Likewise. | |
851 | * config/mips/openbsd.h: Likewise. | |
852 | * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs. | |
853 | * config/mips/linux.h: Likewise. | |
854 | * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete. | |
855 | (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete. | |
856 | ||
6627b7f9 RS |
857 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h |
858 | to the list of include files when using gas. | |
859 | (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally. | |
860 | * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO. | |
861 | * config/mips/elf64.h: Likewise. | |
862 | * config/mips/iris5.h: Likewise. | |
863 | * config/mips/linux.h: Likewise. | |
864 | * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition. | |
865 | * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise. | |
866 | (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to... | |
867 | * config/mips/sdb.h: ...this new file. | |
868 | ||
c18b00c0 NN |
869 | 2003-07-14 Douglas Rupp <rupp@gnat.com> |
870 | ||
871 | * fixinc/server.c (server_setup): Don't use non-POSIX NULL first | |
872 | argument to getcwd; use fixed buffer instead. | |
873 | ||
874 | 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> | |
875 | ||
876 | * fixinc/mkfixinc.sh: Treat OpenBSD normally. | |
877 | * fixinc/fixinc.wrap: Delete. | |
878 | ||
adc4adcd GP |
879 | 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu> |
880 | ||
881 | * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs | |
882 | don't have 2. | |
883 | ||
884 | 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu> | |
885 | ||
886 | * ggc-page.c (struct globals): Add new fields to keep track of the | |
887 | total allocated memory and overhead. | |
888 | (ggc_print_statistics): Print them. | |
889 | (ggc_alloc): Keep track of the total allocated memory and the | |
890 | overhead. | |
891 | ||
892 | * tree.c (dump_tree_statistics): Increase spacing. | |
893 | (enum tree_node_kind): Move to ... | |
894 | * tree.h (enum tree_node_kind): ... here. | |
895 | (tree_node_counts, tree_node_sizes): Declare. | |
896 | ||
897 | 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca> | |
898 | ||
899 | * doc/include/texinfo.tex: Upgrade to texinfo 4.6. | |
900 | ||
bbd288a4 FS |
901 | 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
902 | ||
903 | PR optimization/11440 | |
904 | * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or | |
905 | SIGN_EXTRACT SETs. | |
906 | ||
6e985040 AM |
907 | 2003-07-14 Alan Modra <amodra@bigpond.net.au> |
908 | ||
909 | * doc/tm.texi (BLOCK_REG_PADDING): Describe. | |
910 | * expr.h (struct locate_and_pad_arg_data): Add where_pad. | |
911 | (emit_group_load, emit_group_store): Adjust declarations. | |
912 | Remove most occurrences of #ifdef TREE_CODE. | |
913 | * expr.c (emit_group_load): Add "type" param, and use | |
914 | BLOCK_REG_PADDING to determine need for a shift. Optimize non- | |
915 | aligned accesses if !SLOW_UNALIGNED_ACCESS. | |
916 | (emit_group_store): Likewise. | |
917 | (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust | |
918 | emit_group_load and emit_group_store calls. | |
919 | * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use | |
920 | BLOCK_REG_PADDING to determine whether we need endian_correction. | |
921 | (load_register_parameters): Localize vars. Handle shifting of | |
922 | small values to the correct end of regs. Adjust emit_group_load | |
923 | call. | |
924 | (expand_call, emit_library_call_value_1): Adjust emit_group_load | |
925 | and emit_group_store calls. | |
926 | * function.c (assign_parms): Set mem alignment for stack slots. | |
927 | Adjust emit_group_store call. Store values at the "wrong" end | |
928 | of regs to the stack. Use BLOCK_REG_PADDING. | |
929 | (locate_and_pad_parm): Save where_pad. | |
930 | (expand_function_end): Adjust emit_group_load call. | |
931 | * stmt.c (expand_value_return): Adjust emit_group_load call. | |
932 | * Makefile.in (calls.o): Depend on $(OPTABS_H). | |
933 | * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0. | |
934 | (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define. | |
935 | (MUST_PASS_IN_STACK): Define. | |
936 | (BLOCK_REG_PADDING): Define. | |
937 | * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs. | |
938 | (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING. | |
939 | * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs. | |
940 | (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code. | |
941 | Act on AGGREGATES_PAD_UPWARD_ALWAYS. | |
942 | ||
4fab535e AL |
943 | 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com> |
944 | ||
945 | * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1. | |
946 | ||
8d2e5f72 RK |
947 | 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
948 | ||
949 | * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM | |
950 | both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF. | |
951 | ||
7eaab492 NN |
952 | 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org> |
953 | ||
954 | PR other/11123 | |
955 | * toplev.c: Don't cut off option names. | |
956 | ||
9d4a30f2 AJ |
957 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
958 | ||
959 | * c-decl.c (link_hash_hash): Avoid warning about casting pointer | |
960 | to integer of different size. | |
961 | ||
34ed3bb0 KH |
962 | 2003-07-13 Kazu Hirata <kazu@cs.umass.edu> |
963 | ||
964 | * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0) | |
965 | to (eq (and X 1) 0). | |
966 | ||
1a7d0840 AJ |
967 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
968 | ||
969 | * config.gcc: Add pmmintrin.h for x86_64-*-*. | |
970 | ||
43839642 ZW |
971 | 2003-07-13 Zack Weinberg <zack@codesourcery.com> |
972 | ||
973 | * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H). | |
974 | (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency | |
975 | list. Move these all together down by cpplib. | |
976 | ||
977 | * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining | |
978 | definition of CPPCHAR_SIGNED_T. | |
979 | ||
980 | * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c | |
981 | * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c | |
982 | * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h. | |
983 | ||
984 | * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init. | |
985 | * cppinit.c (cpp_create_reader): Likewise. | |
986 | ||
987 | * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line. | |
988 | * cpptrad.c: Likewise. All callers changed. | |
989 | * cpplib.c: All callers changed. | |
990 | * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout. | |
991 | * hashtable.h: Define GTY(x) to nothing here too. | |
992 | ||
0acf4f88 RK |
993 | 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
994 | ||
995 | * stor-layout.c (compute_record_mode): Remove very obsolete test | |
996 | that forces BLKmode for records with fields crossing word boundary. | |
997 | ||
46db61e7 ZW |
998 | 2003-07-13 Zack Weinberg <zack@codesourcery.com> |
999 | ||
1000 | * Makefile.in: Remove orphan reference to acconfig.h. | |
1001 | ||
db0e878d AJ |
1002 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
1003 | ||
1004 | * cgraphunit.c: Convert prototypes to ISO C90. | |
1005 | ||
4146d8d0 NN |
1006 | 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org> |
1007 | ||
1008 | * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass | |
1009 | (for OpenBSD). | |
1010 | * fixinc/fixincl.x: Rebuild. | |
1011 | ||
6f3ca281 ZW |
1012 | 2003-07-12 Zack Weinberg <zack@codesourcery.com> |
1013 | ||
1014 | * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for | |
1015 | i?86-*-*. Use correct name of cache variable. | |
1016 | * configure: Regenerate. | |
1017 | ||
9a9f7594 KH |
1018 | 2003-07-12 Kazu Hirata <kazu@cs.umass.edu> |
1019 | ||
1020 | * config/alpha/alpha.c: Fix comment typos. | |
1021 | * config/alpha/alpha.md: Likewise. | |
1022 | * config/arm/arm.c: Likewise. | |
1023 | * config/arm/arm.md: Likewise. | |
1024 | * config/arm/lib1funcs.asm: Likewise. | |
1025 | * config/avr/avr.md: Likewise. | |
1026 | * config/arm/README-interworking: Fix typos. | |
1027 | ||
4ed43216 KH |
1028 | 2003-07-12 Kazu Hirata <kazu@cs.umass.edu> |
1029 | ||
1030 | * c-format.c: Fix comment formatting. | |
1031 | * c-typeck.c: Likewise. | |
1032 | * coverage.c: Likewise. | |
1033 | * cppcharset.c: Likewise. | |
1034 | * cpplib.c: Likewise. | |
1035 | * dbxout.c: Likewise. | |
1036 | * gcov-io.h: Likewise. | |
1037 | * toplev.c: Likewise. | |
1038 | ||
c3a5b1e9 NN |
1039 | 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org> |
1040 | ||
6f3ca281 | 1041 | * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this |
c3a5b1e9 NN |
1042 | fix. |
1043 | ||
8ada417f ZW |
1044 | 2003-07-12 Zack Weinberg <zack@codesourcery.com> |
1045 | ||
1046 | * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE, | |
1047 | uses three-argument AC_DEFINE so no acconfig.h entries are | |
1048 | needed. | |
1049 | (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers | |
1050 | which contains the GAS version number as a scaled integer. | |
1051 | (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add | |
1052 | ability to check for ELF assembler. | |
1053 | (gcc_GAS_CHECK_FEATURE): New macro. | |
1054 | * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all | |
1055 | assembler feature checks using gcc_GAS_CHECK_FEATURE. | |
1056 | Use three-argument AC_DEFINE everywhere. | |
1057 | * acconfig.h: Deleted. | |
1058 | * config.in, configure: Regenerate. | |
1059 | ||
d5d16b5f NN |
1060 | 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org> |
1061 | ||
3b57c563 NN |
1062 | * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in |
1063 | (on OpenBSD). | |
d33fb69b | 1064 | * fixinc/fixincl.x: Regenerate. |
3b57c563 | 1065 | |
d5d16b5f NN |
1066 | * fixinc/inclhack.def (gnu_types): Improve comment. |
1067 | ||
439f7bc3 AJ |
1068 | 2003-07-12 Andreas Jaeger <aj@suse.de> |
1069 | ||
1070 | * fp-test.c (main): Use ISO C90 prototype. | |
1071 | ||
1072 | * version.c: Remove unneded include of ansidecl.h. | |
1073 | ||
1074 | * cgraph.h: Convert prototypes to ISO C90. | |
1075 | * cgraph.c: Likewise. | |
1076 | * fix-header.c: Likewise. | |
1077 | * ra.h: Likewise. | |
1078 | * protoize.c: Likewise. | |
1079 | ||
1a5c5701 JH |
1080 | Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz> |
1081 | ||
1082 | * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix | |
1083 | warning. | |
1084 | ||
b58b1157 JH |
1085 | Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz> |
1086 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
1087 | ||
1088 | * cgraph.c (cgraph_max_uid): New global variable. | |
1089 | (cgraph_node): Set uid field. | |
1090 | (create_edge): Keep inline flags consistent. | |
1091 | (dump_cgraph): Dump more info. | |
1092 | * cgraph.h (struct cgraph_local_info): Remove inline_many and | |
1093 | can_inline_once; add inlinable, disgread_inline_limits, and self_insn | |
1094 | (struct cgraph_global_info): Add insns, calls, cloned_times, | |
1095 | will_be_output. | |
1096 | (struct cgraph_node): Add uid. | |
1097 | (struct cgraph_edge): Add inline_call. | |
1098 | (cgraph_max_uid, cgraph_inline_p): Declare. | |
1099 | * cgraph.c: Include params.h and fibheap.h | |
1100 | (cgraph_mark_functions_to_inline_once): Kill. | |
1101 | (INSNS_PER_CALL): New constant. | |
1102 | (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New | |
1103 | static variables. | |
1104 | (cgraph_finalize_function): Do not analyze inlining. | |
1105 | (cgraph_finalize_compilation_unit): Set inlining attributes. | |
1106 | (cgraph_mark_functions_to_output): More consistency checks. | |
1107 | (cgraph_optimize_function): Set current_function_decl to NULL. | |
1108 | (cgraph_expand_function): Use new inline flags. | |
1109 | (cgraph_postorder): Expand from cgraph_expand_functions. | |
1110 | (INLINED_TIMES, SET_INLINED_TIMES): New macros. | |
1111 | (cgraph_inlined_into, cgraph_inlined_callees, | |
1112 | cgraph_estimate_size_after_inlining, cgraph_estimate_growth, | |
1113 | cgraph_mark_inline, cgraph_check_inline_limits, | |
439f7bc3 | 1114 | cgraph_default_inline_p, cgraph_decide_inling_of_small_functions, |
b58b1157 JH |
1115 | cgraph_decide_inlining, cgraph_inline_p): New functions. |
1116 | * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH, | |
1117 | PARAM_INLINE_UNIT_GROWTH): New parameters. | |
1118 | * tree-inline.c (struct inline_data): New field current_decl. | |
1119 | (expand_call_inline): Avoid forward declarations; use | |
1120 | inlinable_function_p. | |
1121 | (optimize_inline_calls): Set id.current_decl. | |
1122 | ||
27b8e366 AP |
1123 | 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu> |
1124 | ||
1125 | * configure.in: Remove wrongly added definition of | |
1126 | local_prefix. | |
1127 | * configure: Regenerate. | |
1128 | ||
80fa0b4c DN |
1129 | 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu> |
1130 | ||
1131 | * rtl.def (NOTE): Do not use padding. | |
1132 | ||
1ea6f4c8 DH |
1133 | 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com> |
1134 | ||
1135 | * doc/install.tex: Update required binutils for i?86-*-linux* | |
1136 | ||
ed2d8944 RH |
1137 | 2003-07-11 Richard Henderson <rth@redhat.com> |
1138 | ||
1139 | * Makefile.in (stage1_build): Force OBJS-onestep=OBJS. | |
1140 | ||
a44cea75 MM |
1141 | 2003-07-11 Mark Mitchell <mark@codesourcery.com> |
1142 | ||
1143 | * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of | |
1144 | TRANSLATION_UNIT_DECL as top_level. | |
1145 | ||
358b8f01 JJ |
1146 | 2003-07-11 Jakub Jelinek <jakub@redhat.com> |
1147 | ||
1148 | * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists, | |
1149 | then fall back to cmpstrM. | |
1150 | * builtins.c (expand_builtin_memcmp): Likewise. | |
1151 | * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to... | |
1152 | (s390_expand_cmpmem): ... this. | |
1153 | * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64, | |
1154 | cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed | |
1155 | from cmpstr* patterns. Rename call to s390_expand_cmpstr | |
1156 | to s390_expand_cmpmem. | |
1157 | * config/s390/s390.c (s390_expand_cmpstr): Rename to... | |
1158 | (s390_expand_cmpstr): ... this. Rename cmpstr* instructions | |
1159 | to cmpmem*. | |
1160 | * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from | |
1161 | cmpstr* patterns. | |
1162 | * doc/md.texi (cmpstrM): Describe as String compare insn, not | |
1163 | Block compare insn. | |
1164 | (cmpmemM): Add. | |
1165 | ||
8634e925 LR |
1166 | 2003-07-11 Loren James Rittle <ljrittle@acm.org> |
1167 | ||
1168 | * config/i386/freebsd.h (SET_ASM_OP): Remove. | |
1169 | (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case. | |
1170 | (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER | |
1171 | MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace. | |
1172 | ||
48144cd4 RH |
1173 | 2003-07-11 Richard Henderson <rth@redhat.com> |
1174 | ||
1175 | * function.c (assign_parms): Don't recombine complex args if | |
1176 | fnargs is unchanged from orig_fnargs. | |
1177 | (split_complex_args): Return args without complex before copying. | |
1178 | Re-layout the modified parameters. | |
1179 | ||
fee226d2 R |
1180 | 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com> |
1181 | ||
1182 | * regclass.c (choose_hard_reg_mode): Add third argument. | |
1183 | Changed all callers. | |
1184 | * rtl.h (choose_hard_reg_mode): Update declaration. | |
1185 | * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): | |
1186 | Take HARD_REGNO_CALL_PART_CLOBBERED into account. | |
1187 | ||
d1bd0ded GK |
1188 | 2003-07-11 Geoffrey Keating <geoffk@apple.com> |
1189 | ||
1190 | * c-decl.c (finish_decl): Handle 'used' here... | |
1191 | * cgraphunit.c (cgraph_finalize_function): ... and here ... | |
1192 | * c-common.c: (handle_used_attribute): ... not here. | |
439f7bc3 | 1193 | |
d1bd0ded GK |
1194 | * configure.in (onstep): Support --enable-intermodule. |
1195 | * Makefile.in (OBJS-common): New. | |
1196 | (OBJS-md): New. | |
1197 | (OBJS-archive): New. | |
1198 | (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive. | |
1199 | (OBJS-onestep): New. | |
1200 | (libbackend.a): Support @onestep@. | |
1201 | (libbackend.o): New. | |
1202 | * configure: Regenerate. | |
439f7bc3 | 1203 | |
d1bd0ded GK |
1204 | * c-common.h (c_reset_state): New prototype. |
1205 | (c_parse_file): New prototype. | |
1206 | (finish_file): Move prototype from c-tree.h. | |
1207 | * c-decl.c: Include <hashtab.h>. | |
1208 | (builtin_decls): New. | |
1209 | (current_file_decl): New. | |
1210 | (duplicate_decls): Add extra parameter. Change all callers. Don't | |
1211 | output duplicate common symbols. | |
1212 | (link_hash_hash): New. | |
1213 | (link_hash_eq): New. | |
1214 | (poplevel): Handle popping of the top level. | |
1215 | (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL. | |
1216 | (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate. | |
1217 | (pushdecl_top_level): Likewise. | |
1218 | (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL. | |
1219 | (c_init_decl_processing): Create TRANSLATION_UNIT_DECL. | |
1220 | (finish_decl): Handle TRANSLATION_UNIT_DECL. | |
1221 | (merge_translation_unit_decls): New. | |
1222 | (c_write_global_declarations): New. | |
1223 | (c_reset_state): New. | |
1224 | (implicitly_declare): Handle TRANSLATION_UNIT_DECL. | |
1225 | * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New. | |
1226 | * c-objc-common.c (c_cannot_inline_tree_fn): Handle | |
1227 | TRANSLATION_UNIT_DECL. | |
1228 | (c_objc_common_finish_file): Call merge_translation_unit_decls. | |
1229 | * c-opts.c (in_fnames): Rename from in_fname. | |
1230 | (c_common_decode_option): Handle multiple input filenames. | |
1231 | (c_common_post_options): Likewise. | |
1232 | (c_common_parse_file): Likewise; also, call c_parse_file rather than | |
1233 | yyparse. | |
1234 | * c-parse.in: Move cleanup code to c_parse_file. | |
1235 | (free_parser_stacks): Move contents to c_parse_file. | |
1236 | (c_parse_file): New. | |
1237 | * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT | |
1238 | for integer types. | |
1239 | (C_DECL_FILE_SCOPE): New. | |
1240 | (finish_file): Move prototype to c-common.h. | |
1241 | (merge_translation_unit_decls): New prototype. | |
1242 | (comptypes): Add extra parameter to prototype. | |
1243 | (c_write_global_declarations): New prototype. | |
1244 | * c-typeck.c (tagged_types_tu_compatible_p): New. | |
1245 | (function_types_compatible_p): Add extra parameter, change all callers. | |
1246 | (type_lists_compatible_p): Likewise. | |
1247 | (comptypes): Likewise. | |
1248 | (struct tagged_tu_seen): New. | |
1249 | (tagged_tu_seen_base): New. | |
1250 | (build_unary_op): Handle TRANSLATION_UNIT_DECL. | |
1251 | (c_mark_addressable): Remove #if 0 code. | |
1252 | * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add | |
1253 | comment explaining why it shouldn't have to. | |
1254 | * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY | |
1255 | options. | |
1256 | * cppinit.c (cpp_read_next_file): New. | |
1257 | (cpp_read_main_file): Use it. | |
1258 | * cpplib.c (undefine_macros): New. | |
1259 | (cpp_undef_all): New. | |
1260 | * cpplib.h (cpp_read_next_file): Prototype. | |
1261 | (cpp_undef_all): Prototype. | |
1262 | * langhooks-def.h (write_global_declarations): Remove prototype. | |
1263 | * toplev.h (write_global_declarations): Add prototype. | |
1264 | * tree.c (decl_type_context): Use switch statement, handle | |
1265 | TRANSLATION_UNIT_DECL. | |
1266 | * tree.def: Update documentation for TRANSLATION_UNIT_DECL. | |
1267 | (TRANSLATION_UNIT_DECL): New kind of tree. | |
1268 | * tree.h: Update documentation for TRANSLATION_UNIT_DECL. | |
1269 | * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies. | |
1270 | * doc/invoke.texi: Make attempt to document new functionality. | |
1271 | ||
1272 | 2003-05-19 Per Bothner <bothner@apple.com> | |
1273 | ||
1274 | * gcc.c (combine_inputs): New. | |
1275 | (process_command): Set combine_inputs. | |
1276 | (do_spec_1): Handle combine_inputs. | |
1277 | (main): Likewise. | |
1278 | ||
ac8354b1 JW |
1279 | 2003-07-10 James E Wilson <wilson@tuliptree.org> |
1280 | ||
1281 | PR optimization/9745 | |
1282 | * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before | |
1283 | loop_insn_emit_before. | |
1284 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
439f7bc3 | 1285 | |
dea55da5 ZW |
1286 | 2003-07-10 Zack Weinberg <zack@codesourcery.com> |
1287 | ||
1288 | * cppcharset.c: Fix comment. | |
1289 | (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning. | |
1290 | (EILSEQ): #define to EINVAL if not already defined. | |
1291 | (convert_using_iconv): #if out when !HAVE_ICONV. | |
1292 | (init_iconv_desc): Handle !HAVE_ICONV here... | |
1293 | (cpp_init_iconv): ...not here. | |
1294 | ||
f3fdaec4 NB |
1295 | 2003-07-11 Neil Booth <neil@daikokuya.co.uk> |
1296 | ||
1297 | * common.opt: More --help messages. | |
1298 | * opts.c (print_help): Use puts(). | |
1299 | * toplev.c (f_options): Remove help text. | |
1300 | (display_help): Don't dump f_options. | |
1301 | ||
7ebbf1ea NN |
1302 | 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org> |
1303 | ||
1304 | * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*. | |
1305 | Move i?86-*-interix* to the don't-fix list. | |
1306 | * fixinc/fixinc.interix: Delete with extreme prejudice. | |
1307 | ||
959a73a4 DH |
1308 | 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com> |
1309 | ||
1310 | PR bootstrap/10758 | |
1311 | * doc/install.texi: Document requirements for ia64-*-hpux* target. | |
1312 | ||
9959901c RS |
1313 | 2003-07-10 Roger Sayle <roger@eyesopen.com> |
1314 | ||
1315 | * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define. | |
1316 | ||
6b88314c ZW |
1317 | 2003-07-10 Zack Weinberg <zack@codesourcery.com> |
1318 | ||
1319 | * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8, | |
1320 | one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16, | |
1321 | one_utf16_to_utf8, conversion_loop, convert_utf8_utf16, | |
1322 | convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8, | |
1323 | convert_no_conversion, convert_using_iconv): New functions. | |
1324 | (APPLY_CONVERSION): New macro. | |
1325 | (struct conversion, conversion_tab): New data structure. | |
1326 | (init_iconv_desc): Check conversion_tab for a custom conversion | |
1327 | primitive before trying to use iconv. | |
1328 | (convert_cset): Deleted. | |
1329 | (cpp_init_iconv): Use UTF- terminology, not UCS-. | |
1330 | (_cpp_destroy_iconv): Update to match. | |
1331 | (_cpp_valid_ucn): We don't need iconv to implement UCNs. | |
1332 | (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION. | |
1333 | (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION. | |
1334 | (_cpp_interpret_string_notranslate): New function, moved here | |
1335 | from cpplib.c. | |
1336 | ||
1337 | * cpphash.h (convert_f, struct cset_converter): New types. | |
1338 | (struct cpp_reader): narrow_cset_desc and wide_cset_desc | |
1339 | are now struct cset_converter, not bare iconv_t. | |
1340 | Update prototypes. | |
1341 | * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c; | |
1342 | all callers changed. | |
1343 | ||
38f4680f | 1344 | 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com> |
6b88314c | 1345 | |
38f4680f KC |
1346 | * Makefile.in (options.h): Depend on Makefile. Add move-if-change |
1347 | to opts.sh command line. | |
1348 | * opts.sh: Write to temporary files with a move-if-change at the end. | |
1349 | ||
2a868fac | 1350 | 2003-07-10 Denis Chertykov <denisc@overta.ru> |
6b88314c | 1351 | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9db367b4 DC |
1352 | |
1353 | * combine.c (gen_binary): Handle the CLOBBER rtx and | |
1354 | don't build a binary operation with it. | |
1355 | ||
3b14e3af ZD |
1356 | 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1357 | ||
1358 | * gcse.c (load_kills_store, find_loads, store_killed_in_insn, | |
1359 | store_killed_after, store_killed_before): Keep track of the correct | |
1360 | dependency function to use. | |
1361 | ||
a9189cc0 SB |
1362 | 2003-07-10 Steven Bosscher <steven@gcc.gnu.org> |
1363 | * toplev.c (do_compile): Don't try to open dump files before | |
1364 | lang_dependent_init initializes dump_base_name. | |
1365 | ||
e97a46ce KG |
1366 | 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1367 | ||
1368 | * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin): | |
1369 | Use ARRAY_SIZE. | |
1370 | * config/frv/frv.c (frv_expand_builtin): Likewise. | |
1371 | * config/sh/sh.c (sh_media_init_builtins): Likewise. | |
1372 | ||
4a386498 MM |
1373 | 2003-07-09 Mark Mitchell <mark@codesourcery.com> |
1374 | ||
1375 | PR c++/10032 | |
1376 | * doc/invoke.texi (C++ Dialect Options): Change documentation of | |
1377 | -fpermissive. | |
1378 | ||
1e60c057 R |
1379 | 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com> |
1380 | ||
1381 | * tm.texi (RETURN_ADDR_OFFSET): Document. | |
1382 | ||
330d2e2a NS |
1383 | 2003-07-10 Nathan Sidwell <nathan@codesourcery.com> |
1384 | ||
1385 | * gcov-io.h: Update documentation. | |
1386 | (GCOV_UNSIGNED2STRING): New. | |
1387 | (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH, | |
1388 | GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH, | |
1389 | GCOV_TAG_SUMMARY_LENGTH): Adjust. | |
1390 | (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM, | |
1391 | GCOV_TAG_COUNTER_NUM): New. | |
1392 | (GCOV_BLOCK_SIZE): Number of words. | |
1393 | (gcov_var): Adjust buffer type. | |
1394 | * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ... | |
1395 | (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word | |
1396 | count, not byte count. | |
1397 | (gcov_open): Adjust overread init. | |
1398 | (gcov_allocate, gcov_write_unsigned, gcov_write_counter, | |
1399 | gcov_write_string, gcov_write_tag, gcov_write_length, | |
1400 | gcov_write_tag_length): Adjust. | |
1401 | (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust. | |
1402 | (gcov_sync, gcov_seek): Adjust. | |
1403 | * gcov-dump.c (print_usage): Show gcc version only. | |
1404 | (dump_file): Use GCOV_UNSIGNED2STRING. | |
1405 | (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros. | |
1406 | * gcov.c (print_version): Show gcc version only. | |
1407 | (read_graph_file): Use GCOV_UNSIGNED2STRING. Use | |
1408 | GCOV_TAG_*_NUM macros. | |
1409 | (read_count_file): Use GCOV_UNSIGNED2STRING. Use | |
1410 | GCOV_TAG_COUNTER_LENGTH. | |
1411 | * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING. | |
1412 | Use GCOV_TAG_COUNTER_NUM. | |
1413 | * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING. | |
1414 | (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK. | |
1415 | ||
3dbb446e AS |
1416 | 2003-07-10 Andreas Schwab <schwab@suse.de> |
1417 | ||
1418 | * gcov-dump.c (dump_file): Fix missing address operator. | |
1419 | ||
11791dbc KH |
1420 | 2003-07-10 Kazu Hirata <kazu@cs.umass.edu> |
1421 | ||
1422 | PR c/11449 | |
1423 | * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit | |
1424 | of HOST_WIDE_INT. | |
1425 | (fold_single_bit_test): If sign_bit_p() fails, assume that the | |
1426 | bit being tested is not a sign bit. | |
1427 | ||
ae12c666 KH |
1428 | 2003-07-10 Kazu Hirata <kazu@cs.umass.edu> |
1429 | ||
1430 | * config/h8300/h8300.md (a peephole2): New. | |
1431 | ||
2beef00e AO |
1432 | 2003-07-10 Alexandre Oliva <aoliva@redhat.com> |
1433 | ||
1434 | 2001-12-13 Alexandre Oliva <aoliva@redhat.com> | |
1435 | * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker | |
1436 | from ld-linux.so.2 to ld.so.1. | |
1437 | 2001-11-18 Alexandre Oliva <aoliva@redhat.com> | |
1438 | * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread. | |
1439 | * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath | |
1440 | nor -Wl,-rpath-link. | |
1441 | (LIB_SPEC): Add -rpath-link if !static. | |
1442 | 2001-08-22 Alexandre Oliva <aoliva@redhat.com> | |
1443 | * config/mn10300/mn10300.c (mn10300_protect_label): New | |
1444 | variable. | |
1445 | * config/mn10300/linux.h (PRINT_OPERAND, | |
1446 | PRINT_OPERAND_ADDRESS): Set it during their execution. | |
1447 | (ASM_OUTPUT_LABELREF): Output `+' before symbol name if | |
1448 | mn10300_protect_label is set. | |
1449 | * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and | |
1450 | -Wl,-rpath-link. | |
1451 | (LIB_SPEC, STARTFILE_SPEC): Define. | |
1452 | 2001-05-11 Alexandre Oliva <aoliva@redhat.com> | |
1453 | * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define | |
1454 | FLOAT_BIT_ORDER_MISMATCH. | |
1455 | 2001-05-09 Alexandre Oliva <aoliva@redhat.com> | |
1456 | * config.gcc (am33_2.0-*-linux*): Added. | |
1457 | * config/mn10300/linux.h: New. | |
1458 | * config/mn10300/t-linux: New. | |
1459 | ||
75040a04 AJ |
1460 | 2003-07-10 Andreas Jaeger <aj@suse.de> |
1461 | ||
1462 | * fold-const.c: Properly wrap prototypes. | |
1463 | ||
d1776069 AO |
1464 | 2003-07-09 Alexandre Oliva <aoliva@redhat.com> |
1465 | ||
1466 | 2003-06-16 Alexandre Oliva <aoliva@redhat.com> | |
1467 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): | |
1468 | Moved from... | |
1469 | * config/mn10300/mn10300.md (GOTaddr2picreg): ... here. | |
1470 | * config/mn10300/mn10300.h: GTY-declare it. | |
1471 | 2003-06-11 Alexandre Oliva <aoliva@redhat.com> | |
1472 | * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix | |
1473 | prototype. Use incoming RTL argument. | |
1474 | 2002-12-12 Alexandre Oliva <aoliva@redhat.com> | |
1475 | * config/mn10300/mn10300.md (int_label): Move C statements... | |
1476 | (GOTaddr2picreg): ... here. | |
1477 | 2002-08-15 Alexandre Oliva <aoliva@redhat.com> | |
1478 | * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move... | |
1479 | * config/mn10300/mn10300.c (mn10300_encode_section_info): | |
1480 | ... here. New function. | |
1481 | (TARGET_ENCODE_SECTION_INFO): Define to it. | |
1482 | 2001-11-04 Alexandre Oliva <aoliva@redhat.com> | |
1483 | * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in | |
1484 | pattern name. | |
1485 | (mn10300_loadPC): Define as insn splittable after reload. | |
1486 | 2001-05-13 Alexandre Oliva <aoliva@redhat.com> | |
1487 | * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them | |
1488 | be defined in .rodata even in PIC, now that the assembler | |
1489 | supports that. | |
1490 | 2001-05-09 Alexandre Oliva <aoliva@redhat.com> | |
1491 | * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the | |
1492 | symbol take an underscore prefix. | |
1493 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
1494 | * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p, | |
1495 | legitimize_pic_address): Declare. | |
1496 | * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark | |
1497 | the PIC register as fixed. | |
1498 | (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'. | |
1499 | (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for | |
1500 | PIC. | |
1501 | (LEGITIMATE_PIC_OPERAND_P): Define. | |
1502 | (PIC_OFFSET_TABLE_REGNUM): Define. | |
1503 | (GOT_SYMBOL_NAME): Define. | |
1504 | (SYMBOLIC_CONST_P): Define. | |
1505 | (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local | |
1506 | symbols. | |
1507 | (MN10300_GLOBAL_P): Test it. | |
1508 | (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs. | |
1509 | (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC. | |
1510 | * config/mn10300/mn10300.c (print_operand): Handle unspec. | |
1511 | (expand_prologue): Set PIC register. | |
1512 | (call_address_operand): Don't match SYMBOL_REFs in PIC. | |
1513 | (legitimize_address): Call legitimize_pic_address. | |
1514 | (legitimize_pic_address): New fn. | |
1515 | (legitimate_pic_operand_p): New fn. | |
1516 | * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants. | |
1517 | (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF, | |
1518 | UNSPEC_PLT): New constants. | |
1519 | (pop_pic_reg): New insn. | |
1520 | (movsi): Adjust non-PIC addresses. | |
1521 | (builtin_setjmp_receiver): Restore the PIC register. | |
1522 | (casesi): New insn. | |
1523 | (call): Adjust non-PIC addresses. | |
1524 | (int_label, GOTaddr2picreg): New expands. | |
1525 | (am33_loadPC): New insn. | |
1526 | (mn10300_loadPC): New expand. | |
1527 | (call_next_insn): New insn. | |
1528 | (add_GOT_to_pic_reg): New expand. | |
1529 | (symGOT2reg, symGOT2reg_i): New expands. | |
1530 | (symGOTOFF2reg, symGOTOFF2reg_i): New expands. | |
1531 | (sym2PIC, sym2PLT): New expands. | |
1532 | ||
18e9d2f9 AO |
1533 | 2003-07-09 Alexandre Oliva <aoliva@redhat.com> |
1534 | ||
1535 | * config/mn10300/mn10300.h (PREDICATE_CODES): Define. | |
1536 | 2001-05-01 Alexandre Oliva <aoliva@redhat.com> | |
1537 | * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed | |
1538 | to flag_unsafe_math_optimizations. | |
1539 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
1540 | * config/mn10300/mn10300.c (expand_prologue): Mark | |
1541 | FP-register-saving insns as frame-related. | |
1542 | 2001-02-13 Alexandre Oliva <aoliva@redhat.com> | |
1543 | * config/mn10300/mn10300.c | |
1544 | (mn10300_get_live_callee_saved_regs): Don't search past | |
1545 | LAST_EXTENDED_REGNUM. | |
1546 | (mn10300_gen_multiple_store, store_multiple_operation): Likewise. | |
1547 | * config/mn10300/mn10300.md: Remove excessive line breaks from | |
1548 | `@' output patterns that were accounted as additional | |
1549 | alternatives. | |
1550 | * config/mn10300/mn10300.md, config/mn10300/mn10300.c: | |
1551 | Re-introduce changes accidentally removed in Richard Sandiford's | |
1552 | 2000-12-05's patch. | |
1553 | * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): | |
1554 | Re-instate am33-2 lost in merge from net GCC. | |
1555 | 2000-08-26 Alexandre Oliva <aoliva@redhat.com> | |
1556 | * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added | |
1557 | floating-point registers. | |
1558 | 2000-08-07 Alexandre Oliva <aoliva@redhat.com> | |
1559 | * config/mn10300/mn10300.md (movdf): Revert some am33-specific | |
1560 | pessimizations that had gone in on 2000-05-08. | |
1561 | 2000-06-28 Graham Stott <grahams@cygnus.co.uk> | |
1562 | * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo. | |
1563 | 2000-06-22 Graham Stott <grahams@cygnus.co.uk> | |
1564 | * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for | |
1565 | operand 0. | |
1566 | * (movhi): Likewise. | |
1567 | * (movsi): Likewise. | |
1568 | * (movsf): Likewise. | |
1569 | * (movdi): Likewise. | |
1570 | * (movdf): Likewise. | |
1571 | Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com> | |
1572 | * config/mn10300/mn10300.c (fp_regs_to_save): New function. | |
1573 | (can_use_return_insn, initial_offset): Add fp_regs_to_save. | |
1574 | (expand_prologue, expand_epilogue): Save and restore FP regs. | |
1575 | 2000-05-20 Alexandre Oliva <aoliva@cygnus.com> | |
1576 | * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up. | |
1577 | 2000-05-13 Alexandre Oliva <aoliva@cygnus.com> | |
1578 | * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3, | |
1579 | subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): | |
1580 | Do not clobber cc0. | |
1581 | 2000-05-12 Alexandre Oliva <aoliva@cygnus.com> | |
1582 | * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2): | |
1583 | Discourage the two-argument, longer opcodes. | |
1584 | (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument | |
1585 | ones. | |
1586 | * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New. | |
1587 | (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define. | |
1588 | * config/mn10300/mn10300.md (cmpsf): New pattern. | |
1589 | (branch): Test mdep.fpCC and output fbCC. | |
1590 | * config/mn10300/mn10300.c (print_operand): Output conditions. | |
1591 | (notice_cc_update): Recognize fcmp and set mdep.fpCC. | |
1592 | 2000-05-10 Alexandre Oliva <aoliva@cygnus.com> | |
1593 | * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3, | |
1594 | mulsf3, divsf3): Use the `F' constraint for FP values. | |
1595 | * config/mn10300/mn10300.c (const_1f_operand): New function. | |
1596 | * config/mn10300/mn10300-protos.h (const_1f_operand): Declare. | |
1597 | * config/mn10300/mn10300.md (sqrtsf2): New expand. | |
1598 | (rsqrtsf2): New insn. | |
1599 | 2000-05-09 Alexandre Oliva <aoliva@cygnus.com> | |
1600 | * config/mn10300/mn10300.md (movdf): Oops, I missed it in my | |
1601 | previous check-in. | |
1602 | 2000-05-08 Alexandre Oliva <aoliva@cygnus.com> | |
1603 | * config/mn10300/mn10300.md (abssf2, negdf2): On | |
1604 | TARGET_AM33_2, expand to... | |
1605 | (abssf2_am33_2, negdf2_am33_2): New insns. | |
1606 | (addsf3, subsf3, mulsf3, divsf3): Likewise. | |
1607 | (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise. | |
1608 | * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf, | |
1609 | movdi, movdf): Added FP regs. | |
1610 | * invoke.texi (-mam33-2, -mno-am33-2): Document. | |
1611 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> | |
1612 | * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM): | |
1613 | New macros. | |
1614 | (REGNO_AM33_2_FP_P): Renamed to... | |
1615 | (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*. | |
1616 | (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise. | |
1617 | 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> | |
1618 | * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP | |
1619 | regs from GENERAL_REGS. | |
1620 | 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> | |
1621 | * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro. | |
1622 | * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS. | |
1623 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS. | |
1624 | 2000-04-23 Alexandre Oliva <aoliva@cygnus.com> | |
1625 | * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined | |
1626 | as FP_REGS. | |
1627 | 2000-04-21 Alexandre Oliva <aoliva@cygnus.com> | |
1628 | * config/mn10300/mn10300.h (OK_FOR_Q): New macro. | |
1629 | (EXTRA_CONSTRAINT): Added OK_FOR_Q. | |
1630 | * config/mn10300/mn10300.c (secondary_reload_class): Adjust. | |
1631 | * config/mn10300/mn10300.c (print_operand): Support `D' for doubles. | |
1632 | * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust. | |
1633 | (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added | |
1634 | AM33/2.0 floating-point registers. | |
1635 | (CONDITIONAL_REGISTER_USAGE): Adjust. | |
1636 | (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS. | |
1637 | (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust. | |
1638 | (REG_CLASS_FROM_LETTER): Added `f' and `A'. | |
1639 | (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust. | |
1640 | * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2. | |
1641 | (MULTILIB_DIRNAMES): Likewise. | |
1642 | * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and | |
1643 | `__AM33_2__' when `-mam33-2' is given. | |
1644 | (TARGET_AM33_2): Define. | |
1645 | (TARGET_SWITCHES): Adjust. | |
1646 | * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2' | |
1647 | when appropriate. | |
1648 | ||
2ff16718 MK |
1649 | 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu> |
1650 | ||
1651 | * doc/install.texi: Add missing @. | |
1652 | ||
a7bda3d5 BW |
1653 | 2003-07-09 Bob Wilson <bob.wilson@acm.org> |
1654 | ||
1655 | * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define. | |
1656 | ||
bb498ea3 AH |
1657 | 2003-07-09 Aldy Hernandez <aldyh@redhat.com> |
1658 | ||
1659 | PR/11144 | |
1660 | * config/i386/i386.c (ix86_function_arg_boundary): Remove abort. | |
1661 | ||
a401fd60 NN |
1662 | 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org> |
1663 | ||
21f3dbfc | 1664 | PR bootstrap/11043 |
6b88314c | 1665 | * config/arc/t-arc: Replace bogus references to "x-crtinit.o", |
21f3dbfc NN |
1666 | "x-crtfini.o" with "crtinit.o", "crtfini.o". |
1667 | ||
15e4ea18 NN |
1668 | * fixinc/inclhack.def (limits_ifndefs): Add select test. |
1669 | * fixinc/fixincl.x: Rebuild. | |
1670 | ||
a401fd60 NN |
1671 | * fixinc/inclhack.def (math_exception): Improve bypass and comment. |
1672 | * fixinc/fixincl.x: Rebuild. | |
1673 | ||
c2f82a84 HPN |
1674 | 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com> |
1675 | ||
1676 | * doc/install.texi (Configuration): Document the valgrind option | |
1677 | to --enable-checking. | |
1678 | ||
1f66e2a0 JH |
1679 | Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz> |
1680 | ||
1681 | * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New. | |
1682 | ||
d0974745 RO |
1683 | 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1684 | ||
1685 | * c-lex.c (cb_ident): Cast cstr.text to const char *. | |
1686 | ||
160e2e4f NS |
1687 | 2003-07-09 Nathan Sidwell <nathan@codesourcery.com> |
1688 | ||
1689 | * gcov-io.h: Update documentation. | |
1690 | (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX, | |
1691 | GCOV_NOTE_MAGIC. | |
1692 | (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update. | |
1693 | (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic. | |
1694 | (struct gcov_var): Change buffer's type. Add endian flag. | |
1695 | (gcov_open): Remove mode in libgcov. | |
1696 | (gcov_magic): Prototype. | |
1697 | * gcov-io.c (from_file): New. | |
1698 | (gcov_open): Clear endian flag. | |
1699 | (gcov_magic): New. | |
1700 | (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t | |
1701 | pointers. | |
1702 | (gcov_write_unsigned, gcov_write_counter, gcov_write_string, | |
1703 | gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update. | |
1704 | (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update. | |
1705 | * gcov-iov.c (main): Correct cast. | |
1706 | * coverage.c (read_counts_file): Use gcov_magic. Remove endianness | |
1707 | conversion. | |
1708 | (gcov_begin_output): Use GCOV_NOTE_MAGIC. | |
1709 | (coverage_init): Use GCOV_NOTE_SUFFIX. | |
1710 | * libgcov.c (gcov_version_mismatch): Remove endianness conversion. | |
1711 | Rename to gcov_version, and return flag. | |
1712 | (gcov_exit): Use gcov_version. | |
1713 | (__gcov_init): Use gcov_version. | |
1714 | * Makefile.in (coverageexts): Update. | |
1715 | * gcov.c (print_version): Remove endianness conversion. | |
1716 | (create_file_names): Use GCOV_NOTE_SUFFIX. | |
1717 | (read_graph_file): Use gcov_magic. | |
1718 | (read_count_file): Likewise. | |
1719 | * gcov-dump.c (dump_file): Remove endianness conversion, use | |
1720 | gcov_magic. | |
1721 | ||
83599948 NS |
1722 | 2003-07-09 Nathan Sidwell <nathan@codesourcery.com> |
1723 | ||
1724 | * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable | |
1725 | coverage is on. | |
1726 | * configure: Regenerated. | |
1727 | * Makefile.in (ALL_CFLAGS): Correct its comment. | |
1728 | ||
d17811fd MM |
1729 | 2003-07-08 Mark Mitchell <mark@codesourcery.com> |
1730 | ||
1731 | * fold-const.c (make_range): Do not access operand 1 for a | |
1732 | zero-operand operator. | |
1733 | ||
28786366 NB |
1734 | 2003-07-09 Neil Booth <neil@daikokuya.co.uk> |
1735 | ||
1736 | * toplev.c (warn_dummy, W_options): Die. | |
1737 | (display_help): Don't print W_options. | |
1738 | * common.opt: Add W_options help from toplev.c. | |
1739 | ||
fbdb0453 AJ |
1740 | 2003-07-09 Andreas Jaeger <aj@suse.de> |
1741 | ||
1742 | * opts.c (wrap_help): Only pass int arguments as arguments to | |
1743 | printf's '*' modifier. Change argument of function. | |
1744 | ||
c80e4c17 MK |
1745 | 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu> |
1746 | ||
1747 | * doc/invoke.texi: Fix misspelling of "@item". | |
1748 | ||
2c5a64c6 KH |
1749 | 2003-07-08 Kazu Hirata <kazu@cs.umass.edu> |
1750 | ||
1751 | * config/i386/i386.md: Remove an old comment about | |
1752 | NOTICE_UPDATE_CC. | |
1753 | ||
a194aa56 JH |
1754 | Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz> |
1755 | ||
1756 | * cgraph.c (cgraph_node_name): New function. | |
1757 | (dump_cgraph): Use it. | |
1758 | * cgraph.h (cgraph_dump_file): Declare. | |
1759 | (cgraph_node_name): Declare. | |
1760 | * cgraphunit.c: Include timevar.h | |
1761 | (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps. | |
1762 | (cgraph_optimize_function): Use TV_INTEGRATION. | |
1763 | (cgraph_mark_local_functions): reorganize dumps. | |
1764 | (cgraph_mark_functions_to_inline_once): Likewise. | |
1765 | (cgraph_optimize): Likewise; use timevar. | |
1766 | * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New. | |
1767 | * toplev.c (dump_file_index): Add DFI_cgraph. | |
1768 | (dump_file_info): Likewise. | |
1769 | (cgraph_dump_file): New global variable. | |
1770 | (do_compile): Open and close cgraph dump. | |
1771 | * invoke.texi (-d): Document new flag; renumber. | |
1772 | ||
8af61113 RS |
1773 | 2003-07-08 Roger Sayle <roger@eyesopen.com> |
1774 | ||
1775 | PR c/11370 | |
1776 | * calls.c (emit_call_1): Don't bother popping the arguments off of | |
1777 | the stack after a noreturn function call; The adjustment is dead. | |
1778 | (expand_call): Likewise. | |
1779 | ||
436bcda1 GK |
1780 | 2003-07-08 Geoffrey Keating <geoffk@apple.com> |
1781 | ||
1782 | * expr.c (MOVE_MAX_PIECES): Move from here... | |
1783 | * defaults.h (MOVE_MAX_PIECES): ... to here. | |
1784 | ||
6f3fcc0b MK |
1785 | 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu> |
1786 | ||
1787 | * Makefile.in (stage1-start): Handle an empty SUBDIRS. | |
1788 | ||
ec049fdb KG |
1789 | 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1790 | ||
1791 | * genattr.c (internal_dfa_insn_code): Don't prototype. | |
1792 | * genattrtab.c (attr_desc): Add `static_p' field. | |
1793 | (expand_units): Make blockage range and ready cost functions | |
1794 | static. | |
1795 | (write_attr_get): Don't add extern prototypes in C file. Mark | |
1796 | static functions as appropriate. | |
1797 | (find_attr, make_internal_attr): Initialize static_p. | |
1798 | * genattrtab.h (ATTR_STATIC): New macro. | |
1799 | * genautomata.c (output_internal_reset_func): Mark output function | |
1800 | as inline. | |
1801 | (make_internal_dfa_insn_code_attr): Mark output function as static. | |
1802 | ||
11597bc9 KG |
1803 | 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1804 | ||
1805 | * genattrtab.h: Add new macros for attr `special' flags. | |
1806 | * genattrtab.c (attr_desc): Reorder/resize fields better. | |
1807 | Use attr `special' macros in all calls to make_internal_attr. | |
1808 | * genautomata.c: Likewise. | |
1809 | ||
084c1779 JH |
1810 | Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz> |
1811 | ||
1812 | * c-common.c (c_estimate_num_insns_1): New static function. | |
1813 | (c_estimate_num_insns): New global function. | |
1814 | * c-common.h (DECL_NUM_STMTS): Rename to... | |
1815 | (DECL_ESTIMATED_INSNS): ... this. | |
1816 | (c_estimate_num_insns): Declare. | |
1817 | * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS. | |
1818 | * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New. | |
1819 | * c-semantics.c (add_stmt): Do not account statements. | |
1820 | * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): | |
1821 | New. | |
1822 | * langhooks.h (lang_hooks_for_tree_inlining): Add | |
1823 | estimate_num_insns | |
1824 | * params.def (max-inline-insns-auto, max-inline-insns-auto): set | |
1825 | to 100. | |
1826 | (max-inline-insns): set to 300. | |
1827 | (min-inline-insns): set to 10. | |
1828 | * tree-inline.c (struct inline_data): Rename inlined_stmts to | |
1829 | inlined-insns. | |
1830 | (INSNS_PER_STMT): Kill. | |
1831 | (inlinable_function_p): Compute and store body size. | |
1832 | (expand_call_inline): Likewise. | |
1833 | (optimize_inline_calls): Likewise. | |
1834 | ||
1b1838b6 JW |
1835 | 2003-07-08 James E Wilson <wilson@tuliptree.org> |
1836 | ||
1837 | PR target/10021 | |
1838 | * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF, | |
1839 | loop over new variable t2 instead of t. | |
1840 | ||
81a6341d DS |
1841 | 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net> |
1842 | ||
1843 | PR bootstrap/11455 | |
1844 | * config/i386/winnt.c: Replace use of error(), warning() with | |
1845 | error_with_decl(), warning_with_decl(), throughout. | |
1846 | ||
21789816 NB |
1847 | 2003-07-08 Neil Booth <neil@daikokuya.co.uk> |
1848 | ||
1849 | * opts.c (wrap_help): Use unsigned int, not size_t. | |
1850 | ||
f6423302 SC |
1851 | 2003-07-08 Stephane Carrez <stcarrez@nerim.fr> |
1852 | ||
1853 | * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define | |
1854 | as .file/.loc directives are incompatible with linker relaxation. | |
1855 | ||
ab747408 ZW |
1856 | 2003-07-08 Zack Weinberg <zack@codesourcery.com> |
1857 | ||
1858 | * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies. | |
1859 | * fixinc/Makefile.in: Remove all references to gnu-regex.[och]. | |
1860 | * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c | |
1861 | * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp. | |
1862 | * fixinc/fixlib.h: Include xregex.h not gnu-regex.h. | |
1863 | * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline): | |
1864 | Escape { and } characters which are not part of range expressions. | |
1865 | * fixinc/fixincl.x: Regenerate. | |
a27531fb | 1866 | * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file. |
ab747408 | 1867 | |
51657442 SB |
1868 | 2003-07-08 Steven Bosscher <steven@gcc.gnu.org> |
1869 | ||
1870 | PR c/1687 | |
1871 | * tree-inline.c (find_alloca_call): Use | |
1872 | walk_tree_without_duplicates, instead of walk_tree. | |
1873 | (find_builtin_longjmp_call): Likewise. | |
1874 | * c-objc-common.c (c_cannot_inline_fn): Likewise. | |
1875 | * c-semantics.c (find_reachable_label): Likewise. | |
1876 | ||
7e6dc358 JJ |
1877 | 2003-07-08 Jakub Jelinek <jakub@redhat.com> |
1878 | ||
1879 | PR c/11420 | |
1880 | * config/i386/i386.c (ix86_check_movabs): New function. | |
1881 | * config/i386/i386-protos.h (ix86_check_movabs): New prototype. | |
1882 | * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative. | |
1883 | (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions. | |
1884 | ||
318b7749 CD |
1885 | 2003-07-08 Chris Demetriou <cgd@broadcom.com> |
1886 | ||
1887 | * Makefile.in (install-po): Cope with empty CATALOGS. | |
1888 | ||
b8898790 RS |
1889 | 2003-07-08 Richard Sandiford <rsandifo@redhat.com> |
1890 | ||
1891 | * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
1892 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete. | |
1893 | (SECTION_FUNCTION_TEMPLATE): Delete. | |
1894 | * config/mips/elf.h: As for elf64.h. | |
1895 | (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section. | |
1896 | * config/mips/linux.h: As for elf.h | |
1897 | * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
1898 | * config/mips/iris6.h (EXTRA_SECTIONS): Delete. | |
1899 | (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling | |
1900 | of in_sdata from current_section_name and current_section_flags. | |
1901 | * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
1902 | * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes. | |
1903 | (MASK_GP_OPT, TARGET_GP_OPT): Delete. | |
1904 | (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value. | |
1905 | (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt. | |
1906 | (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. | |
1907 | * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override. | |
1908 | (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6. | |
1909 | (mips_classify_symbol): Use SYMBOL_REF_SMALL_P. | |
1910 | (override_options): Remove setting of MASK_GPOPT. | |
1911 | (mips_output_external): Use mips_in_small_data_p to check whether a | |
1912 | symbol needs an .extern directive. Don't emit such directives for | |
1913 | TARGET_EXPLICIT_RELOCS. | |
1914 | (mips_declare_object): Update accordingly. | |
1915 | (mips_select_rtx_section): Call named_section rather than | |
1916 | SMALL_DATA_SECTION. | |
1917 | (mips_select_section): Use default_elf_section_section for everything | |
1918 | except .text string constants. | |
1919 | (mips_in_small_data_p): New function. | |
1920 | (mips_encode_section_info): Remove small data handling. | |
1921 | (mips_unique_section): Delete. | |
1922 | (iris6_section_type_flags): New function. | |
1923 | * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic. | |
1924 | ||
f5d1c3de JDA |
1925 | 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1926 | ||
1927 | PR Target/11453 | |
1928 | * pa.md: Disparage all mtsar constraints. | |
1929 | (extzv, extv, insv): Don't fail on length of {32|64}. | |
1930 | ||
ce1bb65b ZW |
1931 | 2003-07-08 Zack Weinberg <zack@codesourcery.com> |
1932 | ||
1933 | * system.h: Poison MAP_CHARACTER. | |
1934 | * config/i370/i370-protos.h (mvs_map_char): Delete. | |
1935 | * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete. | |
1936 | * config/i370/i370.h (MAP_CHARACTER): Delete definition. | |
1937 | (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER. | |
1938 | ||
c163ddca DS |
1939 | 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net> |
1940 | ||
1941 | * toplev.c (randomize): Correct call to time(). | |
1942 | ||
8df63efa JJ |
1943 | 2003-07-08 Jakub Jelinek <jakub@redhat.com> |
1944 | ||
1945 | * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and | |
1946 | REG_EQUIV notes as well. | |
1947 | ||
4b5cc2b3 KH |
1948 | 2003-07-08 Kazu Hirata <kazu@cs.umass.edu> |
1949 | ||
1950 | * doc/md.texi: Fix the description of addmodecc. | |
1951 | ||
56694dd9 ZW |
1952 | 2003-07-07 Zack Weinberg <zack@codesourcery.com> |
1953 | ||
1954 | * Makefile.in (top_builddir): Set to "..", not ".". | |
1955 | (INTLLIBS, INTLDEPS): Delete. | |
1956 | (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted. | |
1957 | (LIBDEPS): Add $(LIBICONV_DEP). | |
1958 | (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV). | |
1959 | (INCLUDES): Replace -I../intl with @INCINTL@. | |
1960 | ($(top_builddir)/intl/libintl.a): Delete rule. | |
1961 | (stage2-start, stage3-start, stage4-start, stageprofile-start, | |
1962 | stagefeedback-start): Use $$ for variable to be evaluated by | |
1963 | shell, not make. | |
1964 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, | |
1965 | HAVE_LC_MESSAGES, HAVE_STPCPY): Delete. | |
1966 | * aclocal.m4: sinclude ../config/progtest.m4. Add | |
1967 | contents of lcmessage.m4 from gettext distro. | |
1968 | * configure.in: Check for wchar.h and setlocale. Set | |
1969 | LIBICONV_DEP to the empty string and substitute it. | |
1970 | Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls; | |
1971 | this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR, | |
1972 | not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included | |
1973 | in $LIBINTL, to avoid linking it twice. | |
1974 | * configure, config.in: Regenerate. | |
1975 | ||
a294c4cf NN |
1976 | 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org> |
1977 | ||
1978 | * fixinc/mkfixinc.sh: Remove winnt support. | |
1979 | * fixinc/fixinc.winnt: Delete with extreme prejudice. | |
1980 | ||
979312a4 NB |
1981 | 2003-07-08 Neil Booth <neil@daikokuya.co.uk> |
1982 | ||
1983 | * Makefile.in: Update. | |
1984 | * c-opts.c (c_common_handle_option): opt_text now contains the '-'. | |
1985 | * c.opt: Update documentation. | |
1986 | * common.opt: Add some help text. | |
1987 | * opts.c: Include intl.h. | |
1988 | (wrap_help, print_help): New. | |
1989 | (find_opt, handle_option, common_handle_option): opt_text now | |
1990 | contains the '-'. Use print_help to output help. | |
1991 | * opts.h (struct cl_option): New member "help". | |
1992 | * opts.sh: Update to handle help text output and to prepend | |
1993 | options with '-'. | |
1994 | * toplev.c (display_help): Remove some help text. | |
1995 | ||
2c4a9cff DE |
1996 | 2003-07-07 David Edelsohn <edelsohn@gnu.org> |
1997 | Fariborz Jahanian <fjahanian@apple.com> | |
1998 | ||
1999 | * configure.in: Test for PowerPC mfcr field support in assembler. | |
2000 | * config.in, configure: Regenderated. | |
2001 | ||
2002 | * config/rs6000/power4.md: Add mfcrf reservation. | |
2003 | * config/rs6000/rs6000-protos.h (mfcr_operation): Declare. | |
2004 | * config/rs6000/rs6000.c (mfcr_operation): Define. | |
2005 | (print_operand): Add 'Q' case for mfcrf. | |
2006 | * config/rs6000/rs6000.h (TARGET_MFCRF): New. | |
2007 | * config/rs6000/rs6000.md (attribute "type"): Add mfcrf. | |
2008 | (movcc_internal1): Emit optional field operand for mfcr and set | |
2009 | "type" attribute appropriately. | |
2010 | (mfcr SCC): Likewise. | |
2011 | (movesi_from_cr_one): New. | |
2012 | ||
923c4cf2 RS |
2013 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
2014 | ||
2015 | * config/i386/i386.md: Correct check-in of incorrect version. | |
2016 | ||
75b6f3fd KG |
2017 | 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2018 | ||
2019 | * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with | |
2020 | adjacent stdio calls. | |
2021 | * c-decl.c (c_print_identifier): Likewise. | |
2022 | * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise. | |
2023 | * print-rtl.c (print_rtx): Likewise. | |
2024 | * print-tree.c (print_node_brief, print_node): Likewise. | |
2025 | * system.h (HOST_PTR_PRINTF): Ensure we have a literal string. | |
56694dd9 | 2026 | |
75b6f3fd KG |
2027 | * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'. |
2028 | * config.in, configure: Regenerated. | |
2029 | ||
afeeac3f RS |
2030 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
2031 | ||
2032 | PR target/10979 | |
2033 | * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3): | |
2034 | Changed to define_expand patterns that copy operand[1] to prevent | |
2035 | it from being clobbered before emitting an atan2?f3_1 insn. | |
2036 | (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn | |
2037 | patterns that actually specify the behaviour of x87's FPATAN. | |
2038 | ||
eeff9307 JJ |
2039 | 2003-07-07 Jakub Jelinek <jakub@redhat.com> |
2040 | ||
2041 | * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus | |
2042 | clearing of SYMBOL_FLAG_LOCAL bit. | |
2043 | If vcall_offset fits into signed 16-bit immediate, use | |
2044 | one instruction for both addition and load. | |
2045 | ||
0fcd5dda NB |
2046 | 2003-07-07 Neil Booth <neil@daikokuya.co.uk> |
2047 | ||
2048 | * opts.c (common_handle_option): Correct handling of the | |
2049 | -falign- switches that do and don't take an argument. | |
2050 | ||
b275810a KH |
2051 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
2052 | ||
2053 | * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch | |
2054 | today. | |
2055 | (pushhi1_h8300hs): Likewise. | |
2056 | ||
5671bf27 AJ |
2057 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
2058 | ||
2059 | * genextract.c: Convert remaining prototypes to ISO C90. | |
2060 | ||
2061 | * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90. | |
2062 | * fold-const.c (fold_single_bit_test): Likewise. | |
2063 | * diagnostic.c (default_diagnostic_finalizer): Likewise. | |
2064 | * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise. | |
2065 | ||
2066 | * gengtype.c (write_array): Generate ISO C90 prototypes. | |
2067 | ||
2068 | * genflags.c (gen_proto): Generate ISO C90 prototypes. | |
2069 | ||
2c430630 RS |
2070 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
2071 | ||
2072 | PR optimization/11059 | |
2073 | * expr.c (can_store_by_pieces): Return true if length is zero. | |
2074 | (store_by_pieces): If length is zero and endp is two, abort, | |
2075 | othwerise, if length is zero and endp is not two, return "to". | |
2076 | (clear_by_pieces): Do nothing if length is zero. | |
2077 | (clear_storage): Do nothing if length is zero. | |
2078 | (store_constructor): Simplify code when size is zero, or the | |
2079 | target has already been cleared. This avoids emitting a | |
2080 | blockage instruction when initializing empty structures. | |
2081 | ||
cf633f5b AJ |
2082 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
2083 | ||
2084 | * mips-tfile.c: Convert prototypes to ISO C90. | |
2085 | * mips-tdump.c: Convert prototypes to ISO C90. | |
2086 | ||
0cea056b NS |
2087 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
2088 | ||
2089 | * rtl.h (emit_line_note): Take a location_t. | |
2090 | (emit_line_note_force): Remove. | |
2091 | (set_file_and_line_for_statement): Take a location_t. | |
2092 | * tree.g (emit_line_note): Take a location_t. | |
2093 | * emit-rtl.c (emit_line_note): Take a location_t. | |
2094 | (emit_line_note_force): Remove. | |
2095 | * function.c (init_function_start): Adjust emit_line_note call. | |
2096 | (expand_function_end): Use force_next_line_note, not | |
2097 | emit_line_note_force. | |
2098 | * c-parse.in (maybe_type_qual): Adjust emit_line_note calls. | |
2099 | * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt, | |
2100 | genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt, | |
2101 | genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt, | |
2102 | genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt, | |
2103 | genrtl_continue_stmt, genrtl_switch_stmt, | |
2104 | genrtl_asm_stmt): Likewise. | |
2105 | * expr.c (expand_expr): Likewise. | |
2106 | * integrate.c (expand_inline_function): Likewise. | |
2107 | * stmt.c (set_file_and_line_for_stmt): Take a location_t. | |
2108 | (expand_decl_init): Adjust emit_line_note call. | |
2109 | ||
8eb910fc DJ |
2110 | 2003-07-07 Dale Johannesen <dalej@apple.com> |
2111 | ||
56694dd9 | 2112 | * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900. |
8eb910fc | 2113 | |
b96a374d AJ |
2114 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
2115 | ||
2116 | * config/i386/i386-protos.h: Convert prototypes to ISO C90. | |
2117 | * config/i386/i386.c: Likewise. | |
2118 | ||
273fc01e KH |
2119 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
2120 | ||
2121 | * config/h8300/h8300.md: Use gen_int_mode instead of | |
2122 | GEN_INT (trunc_int_for_mode (...)). | |
2123 | ||
fb7d7712 KH |
2124 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
2125 | ||
2126 | * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing | |
2127 | 2 bytes and then subtract 2 from the stack pointer. | |
2128 | (pushhi1_h8300hs): Likewise. | |
2129 | ||
e61a2eb7 NS |
2130 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
2131 | ||
2132 | * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add | |
2133 | -frandom-seed. | |
2134 | * configure: Regenerated. | |
2135 | * Makefile.in: Remove extraneous comment. | |
2136 | * toplev.c (randomize): Protect against potential multiple calls. | |
2137 | * doc/invoke.texi (-frandom-seed): Document use for in coverage | |
2138 | files. | |
2139 | ||
82d610ec | 2140 | 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
56694dd9 | 2141 | Eric Botcazou <ebotcazou@libertysurf.fr> |
82d610ec RK |
2142 | |
2143 | PR optimization/11198 | |
2144 | * alias.c (objects_must_conflict_p): Return 1 if the types have | |
2145 | the same alias set, not if the alias sets only conflict. | |
2146 | ||
5beadb33 AP |
2147 | 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu> |
2148 | ||
2149 | * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV. | |
2150 | (convert_cset): Change inbuf to type ICONV_CONST char. | |
2151 | * Makefile.in (LIBS): Add LIBICONV. | |
2152 | ||
9bb34f3c AJ |
2153 | * doc/invoke.texi (-falign-functions): Document that |
2154 | when n is zero then a machine-dependent default is used. | |
2155 | (-falign-labels): Document that when n is zero then a | |
2156 | machine-dependent default is used and that -falign-labels =1 | |
2157 | is equivalent to -fno-align-labels. | |
2158 | (-falign-loops): Likewise. | |
2159 | (-falign-jumps): Likewise. | |
2160 | ||
1dbb6ce8 AH |
2161 | 2003-07-06 Art Haas <ahaas@airmail.net> |
2162 | ||
2163 | * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array | |
2164 | initializer syntax. | |
2165 | ||
8338d44d JW |
2166 | 2003-07-06 James E Wilson <wilson@tuliptree.org> |
2167 | ||
2168 | PR optimization/9812 | |
2169 | * rtl.h (mem_for_const_double): Delete prototype. | |
2170 | * varasm.c (mem_for_const_double): Delete function. | |
2171 | * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h, | |
2172 | config/m68k/m68kv4.h, config/m68k/netbsd-elf.h | |
2173 | (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions. | |
2174 | * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode. | |
2175 | (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests. | |
2176 | * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add | |
2177 | comment about confused support for XFmode constants. | |
2178 | ||
9efd34a5 JH |
2179 | Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz> |
2180 | ||
2181 | * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables. | |
2182 | ||
2a43945f KH |
2183 | 2003-07-06 Kazu Hirata <kazu@cs.umass.edu> |
2184 | ||
2185 | * config/h8300/h8300.c: Fix comment typos. | |
2186 | * config/h8300/h8300.md: Likewise. | |
2187 | * config/i386/athlon.md: Likewise. | |
2188 | * config/i386/i386.c: Likewise. | |
2189 | * config/i386/pentium.md: Likewise. | |
2190 | * config/ia64/ia64.c: Likewise. | |
2191 | * config/ia64/itanium1.md: Likewise. | |
2192 | * config/ia64/itanium2.md: Likewise. | |
2193 | * config/m32r/m32r.md: Likewise. | |
2194 | * config/m68hc11/m68hc11.c: Likewise. | |
2195 | * config/mcore/mcore.c: Likewise. | |
2196 | * config/mips/sr71k.md: Likewise. | |
2197 | * config/mips/t-iris5-as: Likewise. | |
2198 | * config/mmix/mmix.h: Likewise. | |
2199 | * config/ns32k/ns32k.h: Likewise. | |
2200 | * config/ns32k/NOTES: Fix a typo. | |
2201 | ||
ceee09f7 AJ |
2202 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
2203 | ||
7e51717c AJ |
2204 | * stmt.c: Convert remaining prototypes to ISO C90. |
2205 | * cfglayout.c: Likewise. | |
2206 | * dbxout.c: Likewise. | |
2207 | * gcc.c: Likewise. | |
2208 | * genemit.c: Likewise. | |
2209 | ||
ceee09f7 AJ |
2210 | * basic-block.h: Convert prototypes to ISO C90. |
2211 | * c-parse.in: Likewise. | |
2212 | * c-pragma.h: Likewise. | |
2213 | * c-typeck.c: Likewise. | |
2214 | * cfghooks.h: Likewise. | |
2215 | * cfgloopanal.c: Likewise. | |
2216 | * dbxout.h: Likewise. | |
2217 | * debug.h: Likewise. | |
2218 | * dwarf2asm.h: Likewise. | |
2219 | * gcov.c: Likewise. | |
2220 | * gengtype-lex.l: Likewise. | |
2221 | * sched-int.h: Likewise. | |
2222 | * timevar.c: Likewise. | |
2223 | ||
cb66e385 NB |
2224 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
2225 | ||
2226 | * c-common.h (c_comon_handle_filename, | |
2227 | c_common_missing_arguement): New. | |
2228 | * c-lang.c (LANG_HOOKS_HANDLE_FILENAME, | |
2229 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
2230 | * c-opts.c (missing_arg): Rename c_common_missing_argument, | |
2231 | update to be an appropriate langhook. | |
2232 | (c_common_handle_option): Don't handle filenames. | |
2233 | (c_common_handle_filename): New. | |
2234 | * hooks.c (hook_void_constcharptr, | |
2235 | hook_bool_constcharptr_size_t_false): New. | |
2236 | * hooks.h (hook_void_constcharptr, | |
2237 | hook_bool_constcharptr_size_t_false): New. | |
2238 | * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME, | |
2239 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
2240 | (LANG_HOOKS_INITIALIZER): Update. | |
2241 | * langhooks.h (struct lang_hooks): Add handle_filename and | |
2242 | missing_argument. | |
2243 | * opts.c (handle_option): Don't handle filenames here, but ... | |
2244 | (handle_options): ... here. | |
2245 | (common_handle_option): Don't handle missing arguments here. | |
2246 | * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME, | |
2247 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
2248 | ||
ade4289c NB |
2249 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
2250 | ||
2251 | * Makfile.in: Remove traces of mbchar. | |
2252 | * c-parse.in (MULTIBYTE_CHARS): Remove. | |
2253 | * config.in (MULTIBYTE_CHARS): Remove. | |
2254 | * configure: Remove --enable-mbchar. | |
2255 | * configure.in: Remove --enable-mbchar. | |
2256 | * mbchar.c, mbchar.h: Remove. | |
2257 | * system.h: Poison MULTIBYTE_CHARS. | |
2258 | * config/linux-aout.h (MULTIBYTE_CHARS): Remove. | |
2259 | * config/linux.h (MULTIBYTE_CHARS): Remove. | |
2260 | * config/svr4.h (MULTIBYTE_CHARS): Remove. | |
2261 | * config/sparc/linux.h (MULTIBYTE_CHARS): Remove. | |
2262 | ||
2e1eedd6 AJ |
2263 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
2264 | ||
11dc5cc6 AJ |
2265 | * varray.c (varray_check_failed): Fix typo. |
2266 | ||
2267 | * unroll.c: Convert prototypes to ISO C90. | |
2e1eedd6 AJ |
2268 | * varasm.c: Likewise. |
2269 | * varray.c: Likewise. | |
2270 | * varray.h: Likewise. | |
2271 | * vmsdbgout.c: Likewise. | |
2272 | * xcoffout.c: Likewise. | |
2273 | * xcoffout.h: Likewise. | |
2274 | ||
dd486eb2 NS |
2275 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
2276 | ||
2277 | * gcov-io.h: Add a local time stamp. | |
2278 | (struct gcov_info): Add stamp field. | |
2279 | (gcov_truncate): New. | |
2280 | * coverage.c (read_counts_file): Skip the stamp. | |
2281 | (coverage_begin_output): Write the stamp. | |
2282 | (build_gcov_info): Declare and init the stamp. | |
2283 | (coverage_finish): Only unlink data file, if stamp is zero. | |
2284 | * gcov-dump.c (dump_file): Dump the stamp. | |
2285 | * gcov.c (bbg_stamp): New. | |
2286 | (release_structures): Clear bbg_stamp. | |
2287 | (read_graph_file): Read stamp. | |
2288 | (read_count_file): Check stamp. | |
2289 | * libgcov.c (gcov_exit): Check stamp and truncate if needed. | |
2290 | ||
c07e5477 NS |
2291 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
2292 | ||
2293 | * tree.h (default_flag_random_seed): Remove. | |
2294 | * toplev.h (local_tick): Declare. | |
2295 | * tree.c (flag_random_seed, default_flag_random_seed): Move to | |
2296 | toplev.c. | |
2297 | (append_random_chars): Don't call default_flag_random_seed. | |
2298 | * toplev.c (flag_random_seed): Define here. Set local_tick. | |
2299 | (local_tick): Define. | |
2300 | (randomize): New, moved from tree.c. | |
2301 | (print_switch_values): Adjust. | |
2302 | (toplev_main): Call randomize. | |
2303 | ||
2aab7ceb NS |
2304 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
2305 | ||
2306 | * tree.h (crc32_string): Declare. | |
2307 | * tree.c (append_random_chars): Remove. | |
2308 | (crc32_string): New. | |
2309 | (get_file_function_name_long): Use crc32_string here. | |
2310 | ||
1d088dee AJ |
2311 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
2312 | ||
2313 | * gcc.c: Convert prototypes to ISO C90. | |
2314 | * gcc.h: Likewise. | |
2315 | * gcov-dump.c: Likewise. | |
2316 | * gcov-iov.c: Likewise. | |
2317 | * gcse.c: Likewise. | |
2318 | * genattrtab.h: Likewise. | |
2319 | * ggc.h: Likewise. | |
2320 | * global.c: Likewise. | |
2321 | * graph.c: Likewise. | |
2322 | * graph.h: Likewise. | |
2323 | * hosthooks.h: Likewise. | |
2324 | * hooks.h: Likewise. | |
2325 | * hooks.c: Likewise. | |
2326 | * hashtable.h: Likewise. | |
2327 | * hashtable.c: Likewise. | |
2328 | * haifa-sched.c: Likewise. | |
2329 | * integrate.h: Likewise. | |
2330 | * integrate.c: Likewise. | |
2331 | * input.h: Likewise. | |
2332 | * ifcvt.c: Likewise. | |
f8ec47c7 | 2333 | * jump.c: Likewise. |
0c20a65f AJ |
2334 | * langhooks-def.h: Likewise. Add extern to prototypes. |
2335 | * langhooks.c: Likewise. | |
2336 | * langhooks.h: Likewise. | |
2337 | * lcm.c: Likewise. | |
2338 | * local-alloc.c: Likewise. | |
2339 | * loop-init.c: Likewise. | |
2340 | * loop-unroll.c: Likewise. | |
2341 | * loop-unswitch.c: Likewise. | |
2342 | * loop.c: Likewise. | |
2343 | * loop.h: Likewise. Add extern to prototypes. | |
2344 | * machmode.h: Likewise. | |
2345 | * main.c: Likewise. | |
2346 | * mbchar.c: Likewise. | |
2347 | * mbchar.h: Likewise. | |
2348 | * mkdeps.c: Likewise. | |
2349 | * mkdeps.h: Likewise. | |
2350 | * optabs.c: Likewise. | |
2351 | * optabs.h: Likewise. | |
2352 | * output.h: Likewise. | |
2353 | * gccspec.c: Likwise. | |
2354 | * postreload.c: Likewise. | |
2355 | * prefix.c: Likewise. | |
2356 | * prefix.h: Likewise. | |
2357 | * print-rtl.c: Likewise. | |
2358 | * print-tree.c: Likewise. | |
2359 | * profile.c: Likewise. | |
2360 | * read-rtl.c: Likewise. | |
2361 | * real.c: Likewise. | |
2362 | * real.h: Likewise. | |
2363 | * recog.c: Likewise. | |
2364 | * recog.h: Likewise. | |
2365 | * reg-stack.c: Likewise. | |
2366 | * regclass.c: Likewise. | |
2367 | * regmove.c: Likewise. | |
2368 | * regrename.c: Likewise. | |
2369 | * regs.h: Likewise. | |
2370 | * reload.c: Likewise. | |
2371 | * reload.h: Likewise. | |
2372 | * reload1.c: Likewise. | |
2373 | * reorg.c: Likewise. | |
2374 | * resource.c: Likewise. | |
2375 | * resource.h: Likewise. | |
2376 | * rtl-error.c: Likewise. | |
2377 | * rtl.c: Likewise. | |
2378 | * rtl.h: Likewise. | |
2379 | * rtlanal.c: Likewise. | |
46c5ad27 AJ |
2380 | * sbitmap.c: Likewise. |
2381 | * sbitmap.h: Likewise. | |
2382 | * scan-decls.c: Likewise. | |
2383 | * scan.c: Likewise. | |
2384 | * sched-deps.c: Likewise. | |
2385 | * sched-ebb.c: Likewise. | |
2386 | * sched-int.h: Likewise. | |
2387 | * sched-rgn.c: Likewise. | |
2388 | * sched-vis.c: Likewise. | |
2389 | * sibcall.c: Likewise. | |
2390 | * simplify-rtx.c: Likewise. | |
2391 | * sreal.c: Likewise. | |
2392 | * sreal.h: Likewise. | |
2393 | * ssa-ccp.c: Likewise. | |
2394 | * ssa-dce.c: Likewise. | |
2395 | * ssa.c: Likewise. | |
2396 | * ssa.h: Likewise. | |
2397 | * stack.h: Likewise. | |
2398 | * stmt.c: Likewise. | |
2399 | * stor-layout.c: Likewise. | |
2400 | * stringpool.c: Likewise. | |
2401 | * target.h: Likewise. | |
2402 | * timevar.c: Likewise. | |
2403 | * timevar.h: Likewise. | |
2404 | * tlink.c: Likewise. | |
2405 | * tracer.c: Likewise. | |
2406 | * tree-inline.c: Likewise. | |
2407 | * tree-inline.h: Likewise. | |
2408 | * tree.c: Likewise. | |
2409 | * tree.h: Likewise. | |
1d088dee | 2410 | |
4f649bc1 KH |
2411 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
2412 | ||
2413 | * combine.c (nonzero_bits1): Fix a warning. | |
2414 | ||
2415 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> | |
2c4a71b3 KH |
2416 | |
2417 | * config/h8300/h8300.c (compute_mov_length): Correct the | |
2418 | length of loading CONST0_RTX (SFmode). | |
2419 | ||
f5924ac1 NS |
2420 | 2003-07-05 Nathan Sidwell <nathan@codesourcery.com> |
2421 | ||
2422 | * toplev.c (output_clean_symbol_name): Remove. | |
2423 | * toplev.h (output_clean_symbol_name): Remove. | |
2424 | * config/alpha/alpha.c (unicosmk_output_module_name): Use | |
2425 | lbasename & clean_symbol_name. | |
2426 | ||
39e3f58c KH |
2427 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
2428 | ||
2429 | * ggc.h: Follow spelling conventions. | |
2430 | * config/i386/i386.c: Likewise. | |
2431 | * config/i386/winnt.c: Likewise. | |
2432 | * config/rs6000/rs6000.c: Likewise. | |
2433 | ||
4d6922ee KH |
2434 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
2435 | ||
2436 | * bt-load.c: Fix comment typos. | |
2437 | * c-incpath.c: Likewise. | |
2438 | * cfg.c: Likewise. | |
2439 | * cfgcleanup.c: Likewise. | |
2440 | * cfgloop.h: Likewise. | |
2441 | * cfgloopmanip.c: Likewise. | |
2442 | * cfgrtl.c: Likewise. | |
2443 | * diagnostic.h: Likewise. | |
2444 | * dwarfout.c: Likewise. | |
2445 | * emit-rtl.c: Likewise. | |
2446 | * et-forest.c: Likewise. | |
2447 | * et-forest.h: Likewise. | |
2448 | * expr.c: Likewise. | |
2449 | * gcse.c: Likewise. | |
2450 | * genattr.c: Likewise. | |
2451 | * jump.c: Likewise. | |
2452 | * langhooks.h: Likewise. | |
2453 | * local-alloc.c: Likewise. | |
2454 | * loop-unroll.c: Likewise. | |
2455 | * loop-unswitch.c: Likewise. | |
2456 | * ra-build.c: Likewise. | |
2457 | * regclass.c: Likewise. | |
2458 | * regmove.c: Likewise. | |
2459 | * rtl.def: Likewise. | |
2460 | * rtlanal.c: Likewise. | |
2461 | * sched-ebb.c: Likewise. | |
2462 | * sched-rgn.c: Likewise. | |
2463 | * simplify-rtx.c: Likewise. | |
2464 | * ssa.c: Likewise. | |
2465 | * tracer.c: Likewise. | |
2466 | * tree.c: Likewise. | |
2467 | ||
f1c4bc4f ZW |
2468 | 2003-07-05 Zack Weinberg <zack@codesourcery.com> |
2469 | ||
2470 | * cppcharset.c: Use the correct return type for the fallback iconv | |
2471 | macro. | |
2472 | ||
65c6f1b4 ZD |
2473 | Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2474 | ||
2475 | Blame to Jan Hubicka <jh@suse.cz> | |
2476 | * cfglayout.c (record_effective_endpoints): Split insns before | |
2477 | first basic block correctly. | |
2478 | ||
a8f3bf52 RK |
2479 | 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2480 | ||
f1c4bc4f | 2481 | * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use |
a8f3bf52 RK |
2482 | bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS |
2483 | if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. | |
2484 | ||
0641776c AJ |
2485 | 2003-07-05 Andreas Jaeger <aj@suse.de> |
2486 | ||
2487 | * genattrtab.c (write_attr_get): Revert part of last patch to | |
2488 | always write out a prototype. | |
2489 | ||
2490 | * genemit.c (gen_split): Readd lost unused attributes in last | |
2491 | patch. | |
2492 | ||
977129f6 ZD |
2493 | 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2494 | ||
2495 | * cfgloopmanip.c (force_single_succ_latches): Force latch to be | |
2496 | different from header. | |
2497 | ||
5ee084df AS |
2498 | 2003-07-05 Andreas Schwab <schwab@suse.de> |
2499 | ||
2500 | * config/m68k/m68k.c: Remove code protected by CRDS. | |
2501 | * config/m68k/m68k.md: Likewise. | |
2502 | ||
33de9573 NB |
2503 | 2003-07-05 Neil Booth <neil@daikokuya.co.uk> |
2504 | ||
2505 | PR driver/11417 | |
2506 | * c-opts.c (permit_fortran_options): New. | |
2507 | (c_common_init_options): Accept fortran front end options if | |
2508 | it looks like we might be preprocessing Fortran. | |
2509 | (c_common_handle_option): Don't reject switch if permit_fotran_options. | |
2510 | ||
6906ba40 KG |
2511 | 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2512 | ||
2513 | * genattr.c (internal_dfa_insn_code): Output prototype. | |
2514 | * genattrtab.c: Don't output unnecessary decls, output in ISO C. | |
2515 | * genautomata.c: Likewise. | |
2516 | * genconditions.c: Likewise. | |
2517 | * genemit.c: Likewise. | |
2518 | * genextract.c: Likewise. | |
2519 | * gengenrtl.c: Likewise. | |
2520 | * gengtype.c: Likewise. | |
2521 | * genopinit.c: Likewise. | |
2522 | * genoutput.c: Likewise. | |
2523 | * genpeep.c: Likewise. | |
2524 | * genrecog.c: Likewise. | |
2525 | ||
e6cc3a24 ZW |
2526 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
2527 | ||
2528 | * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. | |
2529 | (struct cpp_options): Add narrow_charset, wide_charset, | |
2530 | bytes_big_endian fields. Remove EBCDIC field. | |
2531 | (cpp_init_iconv, cpp_interpret_string): New external interfaces. | |
2532 | ||
2533 | * cpphash.h: Include <iconv.h> if we have it, otherwise | |
2534 | provide a dummy definition of iconv_t. | |
2535 | (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. | |
2536 | (_cpp_valid_ucn): Update prototype. | |
2537 | (_cpp_destroy_iconv): New prototype. | |
2538 | ||
2539 | * doc/cpp.texi: Document character set handling. | |
2540 | * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. | |
2541 | * doc/extend.texi: Delete entire section on multiline strings. | |
2542 | Rewrite section on __FUNCTION__ etc now that these are | |
2543 | variables in C. | |
2544 | ||
2545 | * cppucnid.tab, cppucnid.pl: New files. | |
2546 | * cppucnid.h: New generated file. | |
2547 | * cppcharset.c: Include cppucnid.h. Lots of commentary added. | |
2548 | (iconv_open, iconv, iconv_close): Provide dummy definitions | |
2549 | if !HAVE_ICONV. | |
2550 | (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, | |
2551 | _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, | |
2552 | emit_numeric_escape, convert_hex, convert_oct, convert_escape, | |
2553 | cpp_interpret_string, narrow_str_to_charconst, | |
2554 | wide_str_to_charconst): New. | |
2555 | (ucn_valid_in_identifier): Use a binary search through the | |
2556 | ucnranges table defined in cppucnid.h, not a long chain of if | |
2557 | statements. | |
2558 | (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal | |
2559 | character names are only valid in C++ and C99" to a warning. | |
2560 | Issue the "meaning of \[uU] is different in traditional C" | |
2561 | warning here. Take care not to let iconv see an invalid UCS | |
2562 | value if we get a malformed UCN. Issue an error if we don't | |
2563 | have iconv. | |
2564 | (cpp_interpret_charconst): Moved here from cpplex.c. Use | |
2565 | cpp_interpret_string to do the heavy lifting. | |
2566 | ||
2567 | * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, | |
2568 | narrow_charset, wide_charset fields of options structure. | |
2569 | (cpp_destroy): Call _cpp_destroy_iconv. | |
2570 | * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. | |
2571 | (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. | |
2572 | (cpp_interpret_charconst): Moved to cppcharset.c. | |
2573 | * cpplib.c (dequote_string): Delete. | |
2574 | (interpret_string_notranslate): New. | |
2575 | (do_line, do_linemarker): Use interpret_string_notranslate. | |
2576 | ||
2577 | * Makefile.in (cppcharset.o): Depend on cppucnid.h. | |
2578 | ||
2579 | * c-common.c (fname_string, combine_strings): Delete. | |
2580 | * c-common.h (fname_string, combine_strings): Delete prototypes. | |
2581 | * c-lex.c (ignore_escape_flag): Delete. | |
2582 | (cb_ident): Use cpp_interpret_string, not lex_string. | |
2583 | (get_nonpadding_token): New function. | |
2584 | (c_lex): Handle Objective-C @-prefixed identifiers and strings here. | |
2585 | Adjust calls to lex_string. Don't write *value twice. | |
2586 | (lex_string): Now handles string constant concatenation. | |
2587 | Most of the work handed off to cpp_interpret_string. | |
2588 | Call fix_string_type here. | |
2589 | * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with | |
2590 | FUNC_NAME, throughout. | |
2591 | (OBJC_STRING): New token type. | |
2592 | (primary:STRING): No need to call fix_string_type here. | |
2593 | (primary:objc_string): Make that OBJC_STRING. | |
2594 | (objc_string nonterminal): Delete. | |
2595 | (yylexname): Delete code to handle fake string constants. | |
2596 | (yylexstring): Delete entirely. | |
2597 | (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need | |
2598 | to handle CPP_ATSIGN. | |
2599 | ||
2600 | * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. | |
2601 | * c-opts.c (missing_arg, c_common_handle_option): Handle | |
2602 | OPT_fexec_charset_ and OPT_fwide_exec_charset_. | |
2603 | (c_common_init): Set cpp_opts->bytes_big_endian, not | |
2604 | cpp_opts->EBCDIC. Call cpp_init_iconv. | |
2605 | (print_help): Document -fexec-charset= and -fexec-wide-charset=. | |
2606 | (TARGET_EBCDIC): Delete default definition. | |
2607 | ||
2608 | * objc/objc-act.c (build_objc_string_object): No need to | |
2609 | handle string constant concatenation. | |
2610 | ||
61aeb06f KH |
2611 | 2003-07-04 Kazu Hirata <kazu@cs.umass.edu> |
2612 | ||
2613 | * doc/install.texi: Fix typos. | |
2614 | * doc/invoke.texi: Likewise. | |
2615 | * doc/tm.texi: Likewise. | |
2616 | ||
c1207243 KH |
2617 | 2003-07-04 Kazu Hirata <kazu@cs.umass.edu> |
2618 | ||
2619 | * config/pa/fptr.c: Fix comment typos. | |
2620 | * config/pa/pa-64.h: Likewise. | |
2621 | * config/pa/pa.c: Likewise. | |
2622 | * config/pa/pa.h: Likewise. | |
2623 | * config/rs6000/603.md: Likewise. | |
2624 | * config/rs6000/7xx.md: Likewise. | |
2625 | * config/rs6000/darwin.h: Likewise. | |
2626 | * config/rs6000/freebsd.h: Likewise. | |
2627 | * config/rs6000/rs6000.c: Likewise. | |
2628 | * config/rs6000/rs6000.md: Likewise. | |
2629 | * config/rs6000/spe.h: Likewise. | |
2630 | ||
58add37a UW |
2631 | 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com> |
2632 | ||
2633 | * config/s390/2064.md: Change GNU CC to GCC. | |
2634 | * config/s390/2084.md: Likewise. | |
2635 | * config/s390/fixdfdi.h: Likewise. | |
2636 | * config/s390/linux.h: Likewise. | |
2637 | * config/s390/s390-modes.def: Likewise. | |
2638 | * config/s390/s390-protos.h: Likewise. | |
2639 | * config/s390/s390.c: Likewise. | |
2640 | * config/s390/s390.h: Likewise. | |
2641 | * config/s390/s390.md: Likewise. | |
2642 | * config/s390/s390x.h: Likewise. | |
2643 | ||
60cd4dae JL |
2644 | 2003-07-04 Jeff Law <law@redhat.com> |
2645 | ||
a38825d2 | 2646 | PR c/11428 |
60cd4dae JL |
2647 | * expr.c (do_store_flag): Pass in the correct result type |
2648 | when calling fold_single_bit_test. | |
2649 | * fold-const.c (fold_single_bit_test): Use result_type for the | |
2650 | result when folding a sign bit test. | |
2651 | ||
5e14ae7e NB |
2652 | 2003-07-04 Neil Booth <neil@daikokuya.co.uk> |
2653 | ||
2654 | * opts.c (common_handle_options): Negate sense of -falign- switches. | |
2655 | ||
8c90b13a L |
2656 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
2657 | ||
c3b3975a | 2658 | * Makefile.in: Replace PWD with PWD_COMMAND. |
8c90b13a | 2659 | |
72d4a2ad ZD |
2660 | 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2661 | ||
2662 | * cfgloopanal.c (count_strange_loop_iterations): New static function. | |
2663 | (constant_iterations, count_loop_iterations, simple_loop_exit_p): | |
2664 | Handle strange loops. | |
2665 | ||
8e9a4a45 TM |
2666 | 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl> |
2667 | ||
2668 | * install.texi: Even the g77 manpage is derived from | |
2669 | the full g77 manual. | |
2670 | ||
6eb95e99 ZW |
2671 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
2672 | ||
2673 | * ABOUT-NLS: Delete. | |
2674 | * intl: Delete entire directory. | |
2675 | * aclocal.m4: Include ../config/gettext.m4. Delete | |
2676 | AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES, | |
2677 | AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT. | |
2678 | * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT. | |
2679 | Remove intl/Makefile from all_outputs. | |
2680 | * configure, config.in: Regenerate. | |
2681 | * Makefile.in: Expunge all references to intl subdirectory. | |
2682 | Add -I../intl to INCLUDES. | |
2683 | * intl.h: Include libintl.h if and only if ENABLE_NLS is defined. | |
2684 | ||
bcd5d841 RS |
2685 | 2003-07-04 Roger Sayle <roger@eyesopen.com> |
2686 | ||
2687 | * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define. | |
2688 | * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise. | |
2689 | ||
6b6cb52e DS |
2690 | 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net> |
2691 | ||
2692 | PR c++/5287, PR c++/7910, PR c++/11021 | |
2693 | * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add | |
2694 | dllimport attribute if function is defined at declaration, but | |
2695 | report error instead. Likewise for dllimport'd variable | |
2696 | definitions. Set implicit TREE_PUBLIC for dllimport'd variables | |
2697 | declared within functions, Report error if dllimport or dllexport | |
2698 | symbol is not global. | |
2699 | (i386_pe_dllimport_p): Ignore dllimport attribute of functions | |
2700 | if defined after declaration or if inlined. Don't allow definition | |
2701 | of static data members of C++ classes. Don't dllimport virtual | |
2702 | methods. | |
2703 | (i386_pe_mark_dllexport): Warn about inconsistent dll attributes. | |
2704 | (i386_pe_mark_dllimport): Remove unnecessary checks. | |
2705 | (i386_pe_encode_section_info): Warn if the dllimport attribute | |
2706 | and symbol prefix have been instantiated and then overridden. | |
2707 | ||
2708 | * doc/extend.texi: Document dllimport and dllexport attributes. | |
2709 | ||
2710 | * config/i386/winnt.c (i386_pe_output_labelref): Fix indents. | |
2711 | ||
cc2f5d34 US |
2712 | 2003-07-03 Uwe Stieber <uwe@kaos-group.de> |
2713 | ||
2714 | * config/kaos.h (CPP_PREDEFINES): Delete. | |
2715 | (TARGET_OS_CPP_BUILTINS): New. | |
2716 | ||
5f1989e6 KG |
2717 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2718 | ||
2719 | * c-aux-info.c: Include toplev.h after c-tree.h. | |
2720 | * c-common.c: Likewise. | |
2721 | (GCC_DIAG_STYLE): Undef. | |
2722 | * c-semantics.c (GCC_DIAG_STYLE): Define. | |
2723 | * c-tree.h (GCC_DIAG_STYLE): Likewise. | |
2724 | * diagnostic.h (inform): Move prototype to toplev.h. | |
2725 | * jump.c: Include diagnostic.h before toplev.h. | |
2726 | * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define. | |
2727 | (warning, error, fatal_error, pedwarn, sorry, inform, | |
2728 | error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG. | |
2729 | ||
8d28e87d ZD |
2730 | 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2731 | ||
2732 | * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies | |
2733 | at all if edge is not specified. | |
2734 | (can_copy_bbs_p, copy_bbs): New. | |
2735 | * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare. | |
2736 | * cfgloop.c (get_loop_body): Comment more precisely. | |
2737 | * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed. | |
2738 | (scale_bbs_frequencies): Fix comment typo. | |
2739 | (can_duplicate_loop_p): Use can_copy_bbs_p. | |
2740 | (duplicate_loop_to_header_edge): Simplify by using copy_bbs. | |
2741 | ||
694abeb6 DP |
2742 | 2003-07-03 Devang Patel <dpatel@apple.com> |
2743 | ||
2744 | * c-opts.c (c_common_parse_file): Remove extra | |
2745 | debug_hooks->start_source_file call. | |
6eb95e99 | 2746 | |
0a9530a9 RS |
2747 | 2003-07-03 Roger Sayle <roger@eyesopen.com> |
2748 | ||
2749 | * real.c (real_trunc, real_floor, real_ceil): New functions | |
2750 | to implement trunc, floor and ceil respectively. | |
2751 | * real.h (real_trunc, real_floor, real_ceil): Prototype here. | |
2752 | * builtins.c (integer_valued_real_p): New function to test if | |
2753 | a floating point expression has an integer valued result. | |
2754 | (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as | |
2755 | foo(x) where foo is an integer rounding function. Similarly, | |
2756 | optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as | |
2757 | (double)(int)x when both foo and bar are integer rounding | |
2758 | functions and we don't need to honor errno. | |
2759 | (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil): | |
2760 | New functions to fold trunc, floor and ceil. | |
2761 | (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*, | |
2762 | fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil | |
2763 | to fold BUILT_IN_CEIL*. | |
2764 | * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and | |
2765 | the remaining integer rounding functions. | |
2766 | ||
c3427c7d EB |
2767 | 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
2768 | ||
2769 | * config/sparc/sparc.c (function_arg_partial_nregs): Use | |
2770 | SPARC_INT_ARG_MAX to determine where to split unnamed | |
2771 | complex FP arguments. | |
2772 | ||
bc35512f JH |
2773 | Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz> |
2774 | ||
2775 | * basic-block.h (create_basic_block, merge_blocks_nomove): Kill. | |
2776 | * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move. | |
2777 | (merge_blocks_move_predecessor_nojumps, | |
2778 | merge_blocks_move_successor_nojumps): Use merge_blocks. | |
2779 | (try_optimize_cfg): Use merge_blocks_move. | |
2780 | * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block. | |
2781 | (merge_blocks_nomove): Rename to rtl_merge_blocks. | |
2782 | (cfg_layout_create_basic_block): New. | |
2783 | (rtl_can_merge_blocks): New. | |
2784 | (cfg_layout_split_block): Do not alloc aux by hand. | |
2785 | * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p, | |
2786 | merge_blocks. | |
2787 | (create_basic_block, can_merge_blocks_p, merge_blocks): New macros. | |
2788 | * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand. | |
2789 | * cfgloopmanip.c (loop_split_edge_with): Likewise. | |
2790 | * ifcvt.c (merge_if_block): Use merge_blocks_nomove. | |
2791 | ||
2792 | * basic-block.h (basic_block_def): Add field 'rbi'. | |
2793 | * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited, | |
2794 | find_traces_1_round, copy_bb, connect_traces): Update use of rbi. | |
2795 | * cfg.c (entry_exit_blocks): Add new field. | |
2796 | * cfglayout.c: Include alloc-pool.h; | |
2797 | (cfg_layout_pool): New. | |
2798 | (record_effective_endpoints, fixup_reorder_chain, | |
2799 | fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use | |
2800 | of rbi. | |
2801 | (cfg_layout_initialize_rbi): New function. | |
2802 | (cfg_layout_initialize): Use it. | |
2803 | (cfg_layout_finalize): Clear rbi fields. | |
2804 | * cfglayout.h (RBI): Kill. | |
2805 | (cfg_layout_initialize_rbi): Declare. | |
2806 | * cfgloopmanip.c (copy_bbs): Use rbi. | |
2807 | (record_exit_edges): Likewise. | |
2808 | (duplicate_loop_to_header_edge): Likewise. | |
2809 | * cfgrtl.c (cfg_layout_create_basic_block): Use | |
2810 | cfg_layout_initialize_rbi. | |
2811 | (cfg_layout_split_block): Use rbi. | |
2812 | (cfg_layout_delete_block): Likewise. | |
2813 | * loop-init.c (loop_optimizer_finalize): Likewise. | |
2814 | * loop-unswitch.c (unswitch_loop): Likewise. | |
2815 | * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise. | |
2816 | ||
2817 | * cfgrtl.c: Update comments. | |
2818 | (try_redirect_by_replacing_jump): New argument. | |
2819 | (redirect_branch_edge): Break out from ... | |
2820 | (rtl_redirect_edge_and_branch): ... this one. | |
2821 | (update_cfg_after_block_merging): Break out from ... | |
2822 | (rtl_merge_blocks): ... this one. | |
2823 | (cfg_layout_split_edge): New. | |
2824 | (cfg_layout_merge_blocks): New. | |
2825 | (cfg_layout_can_merge_blocks_p): New. | |
2826 | (cfg_layout_redirect_edge_and_branch): Reorganize. | |
2827 | (cfg_layout_rtl_cfg_hooks): Fill in. | |
2828 | (cfg_layout_delete_block): Kill barriers. | |
2829 | * cfganal.c (can_fallthru): Deal with exit blocks | |
2830 | * cfglayout.c (cfg_layout_function_header): New function | |
2831 | (record_effective_endpoints): Record function header. | |
2832 | (fixup_reorder_chain): Fixup dead jumptables; place header | |
2833 | ||
2834 | * basic-block.h (CLEANUP_CFGLAYOUT): New flag. | |
2835 | * bb-reorder.c (cfg_layout_initialize): Update call. | |
2836 | * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru | |
2837 | edges in cfglayout mode. | |
2838 | * cfglayout.c (cleanup_unconditional_jumps): Kill. | |
2839 | (cfg_layout_initialize): Kill agrument loops; use cfgcleanup. | |
2840 | * cfglayout.h (cfg_layout_initialize): Update prototype. | |
2841 | * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill. | |
2842 | * cfgloopmanip.c (loop_split_edge_with): Use split_edge. | |
2843 | * flow.c (propagate_block): Do not crash when basic block ends | |
2844 | by first insn in the chain. | |
2845 | * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later | |
2846 | do loop discovery. | |
2847 | * tracer.c (tracer): Update call of cfg_layout_initialize. | |
2848 | ||
dd220c49 KG |
2849 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2850 | ||
2851 | * Makefile.in: Use dependency variables in lieu of explicit | |
2852 | files throughout. | |
2853 | ||
fa5b060f SB |
2854 | 2003-07-03 Steven Bosscher <steven@gcc.gnu.org> |
2855 | ||
2856 | * rtl.h (ECF_*, flags_from_decl_or_type): Move from here... | |
2857 | * tree.h: ...to here. | |
2858 | ||
fae778eb KH |
2859 | 2003-07-03 Kazu Hirata <kazu@cs.umass.edu> |
2860 | ||
2861 | * config/s390/2064.md: Fix comment typos. | |
2862 | * config/s390/2084.md: Likewise. | |
2863 | * config/s390/s390.c: Likewise. | |
2864 | * config/s390/s390.md: Likewise. | |
2865 | * config/sh/sh.c: Likewise. | |
2866 | * config/sh/sh.h: Likewise. | |
2867 | * config/sh/sh.md: Likewise. | |
2868 | * config/sparc/sparc.c: Likewise. | |
2869 | * config/sparc/sparc.h: Likewise. | |
2870 | * config/sparc/sparc.md: Likewise. | |
2871 | * config/stormy16/stormy16.c: Likewise. | |
2872 | * config/stormy16/stormy16.h: Likewise. | |
2873 | * config/stormy16/stormy-abi: Fix a typo. | |
2874 | ||
58eabcb1 KC |
2875 | 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org> |
2876 | ||
2877 | * Makefile.in (ifcvt.o): Depend on OPTABS_H. | |
2878 | ||
af261903 KG |
2879 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2880 | ||
2881 | * config/mips/mips.h (save_argv): Delete. | |
2882 | ||
a11c61d2 RS |
2883 | 2003-07-03 Roger Sayle <roger@eyesopen.com> |
2884 | ||
2885 | PR target/10700 | |
2886 | * fold-const.c (extract_muldiv_1): There's nothing that can be done | |
2887 | if the expression is a SAVE_EXPR. | |
2888 | ||
dab66575 KH |
2889 | 2003-07-03 Kazu Hirata <kazu@cs.umass.edu> |
2890 | ||
2891 | * config/m32r/m32r.c: Fix comment typos. | |
2892 | * config/m68hc11/m68hc11.c: Likewise. | |
2893 | * config/m68hc11/m68hc11.h: Likewise. | |
2894 | * config/m68k/m68k.c: Likewise. | |
2895 | * config/mcore/mcore.c: Likewise. | |
2896 | * config/mcore/mcore.h: Likewise. | |
2897 | * config/mcore/mcore.md: Likewise. | |
2898 | * config/mips/mips.c: Likewise. | |
2899 | * config/mips/mips.h: Likewise. | |
2900 | * config/mips/mips.md: Likewise. | |
2901 | * config/mips/netbsd.h: Likewise. | |
2902 | * config/mn10300/mn10300.c: Likewise. | |
2903 | ||
8837d828 AS |
2904 | 2003-07-03 Andreas Schwab <schwab@suse.de> |
2905 | ||
2906 | * dbxout.c (pending_bincls): Move decl down inside | |
2907 | DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section. | |
2908 | ||
dd107e66 NS |
2909 | 2003-07-02 Nathan Sidwell <nathan@codesourcery.com> |
2910 | ||
2911 | * rtl.h (NOTE_DATA): Refer to whole union. | |
2912 | * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA. | |
2913 | ||
8821d091 EB |
2914 | 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
2915 | ||
2916 | PR optimization/11381 | |
2917 | * simplify-rtx.c (simplify_relational_operation): Check that | |
2918 | two equal operands have no side-effects before simplifying | |
2919 | the comparison. | |
2920 | ||
7960bf22 JL |
2921 | 2003-07-02 Jeff Law <law@redhat.com> |
2922 | ||
2923 | * expr.c (do_store_flag): Remove special case folding for | |
2924 | single bit tests. Instead call back into the commonized folder | |
2925 | routine. | |
2926 | * fold-const.c (fold_single_bit_test): New function, mostly | |
2927 | extracted from do_store_flag, with an additional case extracted | |
2928 | from fold. | |
2929 | (fold): Call fold_single_bit_test appropriately. | |
2930 | * tree.h (fold_single_bit_test): Prototype. | |
2931 | ||
3dce1408 ZW |
2932 | 2003-07-02 Zack Weinberg <zack@codesourcery.com> |
2933 | ||
2934 | * system.h: Include filenames.h. | |
2935 | (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define. | |
2936 | (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined, | |
2937 | define based on HAVE_DOS_BASED_FILE_SYSTEM. | |
2938 | * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h | |
2939 | * config/i386/xm-mingw32.h: Don't define | |
2940 | HAVE_DOS_BASED_FILE_SYSTEM, | |
2941 | DIR_SEPARATOR, or DIR_SEPARATOR_2. | |
2942 | * doc/hostconfig.texi: Update to match. | |
2943 | ||
2944 | * cppfiles.c, gcc.c, gensupport.c, protoize.c, | |
2945 | config/i386/cygwin.h: | |
2946 | Use IS_ABSOLUTE_PATH throughout. | |
2947 | * gcc.c (DIR_UP): Delete, unused. | |
2948 | * protoize.c (IS_SAME_PATH): Define in terms of | |
2949 | FILENAME_CMP. | |
2950 | (is_abspath): Delete. | |
2951 | ||
c51e6d85 KH |
2952 | 2003-07-02 Kazu Hirata <kazu@cs.umass.edu> |
2953 | ||
2954 | * config/i386/emmintrin.h: Fix comment typos. | |
2955 | * config/i386/i386.c: Likewise. | |
2956 | * config/i386/i386.h: Likewise. | |
2957 | * config/i386/sco5.h: Likewise. | |
2958 | * config/ia64/ia64.c: Likewise. | |
2959 | * config/ia64/itanium2.md: Likewise. | |
2960 | ||
5ec3a5a7 L |
2961 | 2003-07-02 H.J. Lu <hongjiu.lu@intel.com> |
2962 | ||
2963 | * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with | |
2964 | DBX_USE_BINCL. | |
2965 | (emit_bincl_stab): Same. | |
2966 | (emit_pending_bincls): Same. | |
2967 | ||
fad37371 KH |
2968 | 2003-07-02 Kazu Hirata <kazu@cs.umass.edu> |
2969 | ||
2970 | * config/h8300/h8300.c (compute_mov_length): Fix the length of | |
2971 | loading CONST0_RTX (SFmode). | |
2972 | * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change | |
2973 | 'G' to CONST0_RTX (SFmode). | |
2974 | * config/h8300/h8300.md (movsf_h8300): Change the first | |
2975 | constraint to 'G'. | |
2976 | (movsf_h8300h): Likewise. | |
2977 | ||
b86f6cd9 NB |
2978 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
2979 | ||
2980 | * c-common.h (c_common_init_options): New prototype. | |
2981 | * c-opts.c (deferred_size): Remove. | |
2982 | (defer_opt): Array is now pre-allocated. | |
2983 | (c_common_init_options): Pre-allocate deferred_opts. Make | |
2984 | lang_flags unsigned. | |
2985 | (push_command_line_options): Free deferred_opts. | |
2986 | * hooks.c (hook_uint_uint_constcharptrptr_0): New. | |
2987 | * hooks.h (hook_uint_uint_constcharptrptr_0): New. | |
2988 | * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update. | |
2989 | * langhooks.h (struct lang_hooks): New prototype for init_options. | |
2990 | * main.c (main): Cast argv. | |
2991 | * opts.c (handle_option, handle_options): Update prototypes. | |
2992 | (decode_options): save_argc, save_argv are not global. Constify. | |
2993 | * opts.h (decode_options): New prototype. | |
2994 | * toplev.c (general_init): New protoype. | |
2995 | (save_argv): Make static. | |
2996 | (save_argc): Remove. | |
2997 | (print_switch_values, general_init): Constify. | |
2998 | (toplev_main): Save argv. | |
2999 | * toplev.h (toplev_main): Update prototype. | |
3000 | (save_argc, save_argv): Remove. | |
3001 | ||
f23b9d52 DE |
3002 | 2003-07-02 David Edelsohn <edelsohn@gnu.org> |
3003 | ||
3004 | * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS. | |
3005 | (emit_bincl_stab): Same. | |
3006 | (emit_pending_bincls): Same. | |
3007 | ||
300e89a2 NS |
3008 | 2003-07-02 Nathan Sidwell <nathan@codesourcery.com> |
3009 | ||
3010 | PR c++/11072 | |
3011 | * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why. | |
3012 | ||
eaac6968 AS |
3013 | 2003-07-02 Andreas Schwab <schwab@suse.de> |
3014 | ||
3015 | * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO. | |
3016 | ||
1a8c4ca6 EB |
3017 | 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
3018 | ||
3019 | PR optimization/11210 | |
3020 | * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note | |
3021 | about the behaviour with regard to bitfields. | |
3022 | * fold-const (decode_field_reference): Record outermost type in | |
3023 | case the expression is a NOP. Strip all NOPs. Set the signedness | |
3024 | to that of the outermost type (if any) when the bitsize is equal | |
3025 | to the size of the type. | |
3026 | ||
23cdfcf7 RS |
3027 | 2003-07-02 Richard Sandiford <rsandifo@redhat.com> |
3028 | ||
3029 | * config/mips/mips.md (addsi3): Remove workaround for adds of -32768. | |
3030 | (addsi3_internal, adddi3, adddi3_internal_2): Likewise. | |
3031 | (adddi3_internal_3, addsi3_internal_2): Likewise. | |
3032 | ||
6f2993e5 RS |
3033 | 2003-07-02 Richard Sandiford <rsandifo@redhat.com> |
3034 | ||
3035 | * config/mips/mips.c (machine_function): Add new fields: | |
3036 | ignore_hazard_length_p and all_noreorder_p. | |
3037 | (mips_flag_delayed_branch): New variable. | |
3038 | (override_options): Treat '/' as an operand punctuation character. | |
3039 | Set up mips_flag_delayed_branch. | |
3040 | (print_operand): Handle '/'. | |
3041 | (mips_output_function_prologue): Put the whole function in | |
3042 | .set noreorder and .set nomacro if all_noreorder_p is true. | |
3043 | (mips_output_function_epilogue): End the noreorder/nomacro sequence. | |
3044 | (mips16_optimize_gp): Remove "first insn" parameter. | |
3045 | (mips16_lay_out_constants): New function, split out from mips_reorg. | |
3046 | (mips_avoid_hazard, mips_avoid_hazards): New functions. | |
3047 | (mips_reorg): For mips16 code, call mips16_lay_out_constant | |
3048 | and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS, | |
3049 | do delayed-branch scheduling followed by hazard detection. | |
3050 | (mips_adjust_insn_length): Only account for hazards if | |
3051 | !ignore_hazard_length_p. | |
3052 | (mips_output_load_label): Add a nop to the o32 sequence if | |
3053 | the target suffers from load delays. | |
3054 | (mips_output_conditional_branch): Add %/ to the end of branches. | |
3055 | (mips_output_division): Fill the branch delay slot with %#. | |
3056 | * config/mips/mips.md: Remove redundant '%*' from mips16 branch | |
3057 | instructions. End all other %* branches with %/. | |
3058 | (ffssi2, ffsdi2): Fix lengths. | |
3059 | (truncdisi2, truncdihi2, truncdiqi2): Add store attributes. | |
3060 | (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate. | |
3061 | (fix_truncsfsi2_macro): Likewise. | |
3062 | (mov_lwl): Set hazard to "none". | |
3063 | (ashldi3_internal): Fill the branch delay slot with %#. | |
3064 | (ashrdi3_internal, lshrdi3_internal): Likewise. | |
3065 | (exception_receiver): Explicitly set $28. | |
3066 | (hazard_nop): New pattern. | |
3067 | ||
0184bd46 JH |
3068 | Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz> |
3069 | ||
3070 | * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl | |
3071 | before calling tree_inlinable_function_p. | |
3072 | ||
1a78e5a7 RO |
3073 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3074 | ||
3075 | * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5 | |
3076 | <internal/stdio_core.h> too. | |
3077 | (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and | |
3078 | <internal/wchar_core.h> too. | |
3079 | Substitute va_list uses in inline definition. | |
3080 | * fixinc/fixincl.x: Regenerate. | |
3081 | ||
4c82f12b RO |
3082 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3083 | ||
3084 | * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h. | |
3085 | Undef before redefinition. | |
3086 | (LABEL_AFTER_LOC): Likewise. | |
3087 | (DEFAULT_SIGNED_CHAR): Likewise. | |
3088 | (ASM_OUTPUT_ASCII): Moved here from iris4.h. | |
3089 | Fix IRIX spelling. | |
3dce1408 | 3090 | |
4c82f12b RO |
3091 | * config/mips/iris3.h: Remove, unused. |
3092 | * config/mips/iris4.h: Likewise. | |
3093 | ||
3094 | * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused. | |
3095 | ||
3096 | * config/mips/iris5.h (TARGET_DEFAULT): Move ... | |
3097 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to | |
3098 | target_cpu_default. | |
3099 | ||
3100 | * config/mips/iris5.h: Move explicit includes ... | |
3101 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here. | |
3dce1408 | 3102 | |
4c82f12b RO |
3103 | * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ... |
3104 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to | |
3105 | tm_defines. | |
3106 | ||
3107 | * config/mips/iris6.h (TARGET_DEFAULT): Move ... | |
3108 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to | |
3109 | target_cpu_default. | |
3110 | ||
3111 | * config/mips/iris6.h: Fix IRIX spelling. | |
3112 | (MULTILIB_DEFAULTS): Undef before redefinition. | |
3dce1408 | 3113 | |
4c82f12b RO |
3114 | * config/mips/iris6.h: Move explicit includes ... |
3115 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here. | |
3116 | ||
8bd87c4e JH |
3117 | Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz> |
3118 | ||
3119 | * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node, | |
3120 | cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls): | |
3121 | Use next_needed field instead of aux to maintain the queue. | |
3122 | * cgraph.h (cgraph_node): Add next_needed. | |
3123 | (cgraph_varpool_node): Add next_needed; remove aux. | |
3124 | * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed. | |
3125 | ||
f6981e16 JH |
3126 | Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz> |
3127 | ||
3128 | * cgraphunit.c (cgraph_finalize_function): Set finalized. | |
3129 | (cgraph_finalize_function): Do not examine inlinablility. | |
3130 | (cgraph_finalize_compilation_unit): Do it here. | |
3131 | * cgraph.h (cgraph_local_info): Add finalized field. | |
3132 | ||
d1c60855 RO |
3133 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3134 | ||
3135 | * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *. | |
3136 | (gt_pch_restore): Likewise. | |
3137 | ||
093354e0 KH |
3138 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
3139 | ||
3140 | * config/alpha/alpha.c: Fix comment typos. | |
3141 | * config/alpha/elf.h: Likewise. | |
3142 | * config/arm/arm.c: Likewise. | |
3143 | * config/arm/arm.h: Likewise. | |
3144 | * config/arm/arm.md: Likewise. | |
3145 | * config/arm/t-arm-coff: Likewise. | |
3146 | * config/arm/t-strongarm-pe: Likewise. | |
3147 | * config/arm/xscale-elf.h: Likewise. | |
3148 | * config/avr/avr.h: Likewise. | |
3149 | ||
ce47ca44 JL |
3150 | 2003-07-01 Jeff Law <law@redhat.com> |
3151 | ||
3152 | * stmt.c (any_pending_cleanups): Remove another redundant test. | |
3153 | ||
43b68ce5 DE |
3154 | 2003-07-01 David Edelsohn <edelsohn@gnu.org> |
3155 | J"orn Rennecke <joern.rennecke@superh.com> | |
3156 | ||
3157 | * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber | |
3158 | for MEM case. | |
3159 | ||
33e9d2aa DP |
3160 | 2003-07-01 Devang Patel <dpatel@apple.com> |
3161 | ||
3162 | * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required. | |
3163 | (binclstatus): New. | |
3dce1408 | 3164 | (struct dbx_file): New members - bincl_status, pending_bincl_name and |
33e9d2aa DP |
3165 | prev. |
3166 | (pending_bincls): New. | |
3167 | (dbxout_init): Initialize new dbx_file members. | |
3168 | (dbxout_start_source_file): Same. | |
3169 | (emit_bincl_stab): New function. | |
3170 | (emit_pending_bincls): Same. | |
3171 | (emit_pending_bincls_if_required): Same. | |
3dce1408 | 3172 | (dbxout_end_source_file): Emit EINCL stab only if BINCL is already |
33e9d2aa DP |
3173 | processed. |
3174 | (dbxout_begin_block): Emit pending BINCL stabs. | |
3175 | (dbxout_end_block): Same. | |
3176 | (dbxout_function_decl): Same. | |
3177 | (dbxout_continue): Same. | |
3178 | (dbxout_type): Same. | |
3179 | (dbxout_class_name_qualifiers): Same. | |
3180 | (dbxout_symbol): Same. | |
3181 | (dbxout_symbol_location): Same. | |
3182 | (dbxout_parms): Same. | |
3dce1408 | 3183 | |
0108ae51 KG |
3184 | 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3185 | ||
3186 | * c-semantics.c (genrtl_case_label): Fix format specifier bug. | |
3187 | * cfgrtl.c (rtl_verify_flow_info_1): Likewise. | |
3188 | ||
54ced33d AJ |
3189 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
3190 | ||
3191 | * fold-const.c: Convert prototypes to ISO C90. | |
3192 | * function.c: Likewise. | |
3193 | * function.h: Likewise. | |
3194 | ||
c0cbdbd9 KH |
3195 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
3196 | ||
3197 | * doc/contrib.texi: Fix typos. | |
3198 | * doc/invoke.texi: Likewise. | |
3199 | * doc/passes.texi: Likewise. | |
3200 | * doc/sourcebuild.texi: Likewise. | |
3201 | * doc/tm.texi: Likewise. | |
3202 | ||
e0bb17a8 KH |
3203 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
3204 | ||
3205 | * basic-block.h: Fix comment typos. | |
3206 | * bb-reorder.c: Likewise. | |
3207 | * c-format.c: Likewise. | |
3208 | * cfgcleanup.c: Likewise. | |
3209 | * cfghooks.h: Likewise. | |
3210 | * cfgloop.c: Likewise. | |
3211 | * cfgloopmanip.c: Likewise. | |
3212 | * cfgrtl.c: Likewise. | |
3213 | * cgraph.h: Likewise. | |
3214 | * cgraphunit.c: Likewise. | |
3215 | * combine.c: Likewise. | |
3216 | * convert.c: Likewise. | |
3217 | * dbxout.c: Likewise. | |
3218 | * df.c: Likewise. | |
3219 | * df.h: Likewise. | |
3220 | * diagnostic.c: Likewise. | |
3221 | * dwarf2out.c: Likewise. | |
3222 | * et-forest.h: Likewise. | |
3223 | * flow.c: Likewise. | |
3224 | * fold-const.c: Likewise. | |
3225 | * function.h: Likewise. | |
3226 | * gcov-io.h: Likewise. | |
3227 | * gcov.c: Likewise. | |
3228 | * gcse.c: Likewise. | |
3229 | * genautomata.c: Likewise. | |
3230 | * ggc-common.c: Likewise. | |
3231 | * ggc-page.c: Likewise. | |
3232 | * loop-unroll.c: Likewise. | |
3233 | * loop-unswitch.c: Likewise. | |
3234 | * loop.c: Likewise. | |
3235 | * mips-tfile.c: Likewise. | |
3236 | * optabs.c: Likewise. | |
3237 | * ra-build.c: Likewise. | |
3238 | * ra-colorize.c: Likewise. | |
3239 | * ra-rewrite.c: Likewise. | |
3240 | * ra.h: Likewise. | |
3241 | * regmove.c: Likewise. | |
3242 | * reload.c: Likewise. | |
3243 | * rtlanal.c: Likewise. | |
3244 | * sched-ebb.c: Likewise. | |
3245 | * sched-int.h: Likewise. | |
3246 | * sched-vis.c: Likewise. | |
3247 | * sreal.c: Likewise. | |
3248 | * ssa-ccp.c: Likewise. | |
3249 | * ssa.c: Likewise. | |
3250 | * toplev.c: Likewise. | |
3251 | * tree-inline.c: Likewise. | |
3252 | * value-prof.c: Likewise. | |
3253 | * value-prof.h: Likewise. | |
3254 | ||
5f2fc772 NS |
3255 | 2003-07-01 Nathan Sidwell <nathan@codesourcery.com> |
3256 | ||
3257 | * rtl.h (emit_line_note_after): Remove. | |
3258 | (emit_note_copy_after, emit_note_copy): New. | |
3259 | * emit-rtl.c (reorder_insns_with_line_notes): Replace | |
3260 | emit_line_note_after with emit_note_copy_after. | |
3261 | (emit_insn_after_with_line_notes): Likewise. | |
3262 | (emit_line_note_after): Kill. | |
3263 | (emit_note_copy_after): New. | |
3264 | (emit_note_copy): New. | |
3265 | * function.c (emit_return_into_block): Use emit_note_copy_after. | |
3266 | (thread_prologue_and_epilogue_insns): Likewise. | |
3267 | * integrate.c (expand_inline_function): Use emit_note_copy. | |
3268 | (copy_insn_list): Likewise. | |
3269 | * unroll.c (copy_loop_body): Likewise. | |
3270 | * cfglayout.c (duplicate_insn_chain): Likewise. | |
3271 | ||
5b030314 NS |
3272 | 2003-07-01 Nathan Sidwell <nathan@codesourcery.com> |
3273 | ||
3274 | * c-tree.h (define_label): Replace filename and lineno arguments | |
3275 | with a location_t. | |
3276 | * c-decl.c (poplevel): Adjust define_label call. | |
3277 | (pop_label_level): Likewise. | |
3278 | (define_label): Replace filename and lineno arguments with a | |
3279 | location_t. | |
3280 | (store_parm_decls): Use DECL_SOURCE_LOCATION. | |
3281 | * c-parse.in (label): Adjust define_label call. | |
3282 | ||
04df6730 NB |
3283 | 2003-07-01 Neil Booth <neil@daikokuya.co.uk> |
3284 | ||
3285 | * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h, | |
3286 | config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h, | |
3287 | config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h, | |
3288 | config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h, | |
3289 | config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros. | |
3290 | ||
6cf9ac28 AJ |
3291 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
3292 | ||
3293 | * final.c: Convert prototypes to ISO C90. | |
3294 | * flow.c: Likewise. | |
3295 | * flags.h: Likewise. | |
3296 | * gcov-io.c: Likewise. | |
3297 | * gcov-io.h: Likewise. | |
3298 | ||
2a868fac | 3299 | See ChangeLog.9 for earlier changes. |