]>
Commit | Line | Data |
---|---|---|
45d29407 RH |
1 | 2001-08-21 Richard Henderson <rth@redhat.com> |
2 | ||
3 | * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if | |
4 | ia64_asm_output_label. | |
5 | ||
da920570 ZW |
6 | 2001-08-21 Zack Weinberg <zackw@panix.com> |
7 | ||
8 | * expmed.c (mode_for_extraction): New function. | |
9 | (store_bit_field, extract_bit_field): Use it. | |
10 | * expr.h: Prototype it and provide an enum for its first argument. | |
11 | ||
12 | * combine.c, function.c, recog.c: Don't include insn-codes.h. | |
13 | Use mode_for_extraction rather than testing HAVE_insv/extv/extzv | |
14 | and digging through the insn_data tables. | |
15 | * Makefile.in: Update dependencies. | |
16 | ||
d8693c6f NB |
17 | 2001-08-22 Neil Booth <neil@daikokuya.demon.co.uk> |
18 | ||
19 | * cppfiles.c (stack_include_file): line-map.c now handles include | |
20 | depth. | |
21 | (handle_missing_handler): Similarly. | |
22 | (_cpp_execute_include): Similarly. | |
23 | (_cpp_pop_file_buffer): Similarly. | |
24 | * cpphash.h (struct cpp_reader): Remove system_include_depth, | |
25 | buffer_stack_depth and include_depth. | |
26 | * cpplib.c (do_include_common): line-map.c now handles include depth. | |
27 | (cpp_push_buffer): Similarly. | |
28 | (_cpp_pop_buffer): Similarly. | |
29 | * cppmacro.c (builtin_macro): Update. | |
30 | * line-map.c (init_line_maps): Set depth. | |
31 | (add_line_map): Increment "used" earlier. Update and use the | |
32 | include depth. | |
33 | (trace_include): Use the include depth. | |
34 | * line-map.h (struct line_maps): New member depth. | |
35 | ||
5993019d NB |
36 | 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk> |
37 | ||
38 | * cppfiles.c (stack_include_file): Don't handle -H here. | |
39 | * cppinit.c (cpp_start_read): Set include tracing after | |
40 | cpp_post_options and after stacking the main file. | |
41 | * line-map.c (trace_include): New. | |
42 | (init_line_maps, add_line_map): Update. | |
43 | * line-map.h (struct line_maps): New member trace_includes. | |
44 | ||
e5eba70a NB |
45 | 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk> |
46 | ||
47 | * cppfiles.c (stack_include_file): Harmonize system headerness tests. | |
48 | * cppfiles.c (stack_include_file): Only stack a file if there | |
49 | is something to do. Return a boolean indicating whether a | |
50 | buffer was stacked or not. | |
51 | (_cpp_execute_include): Similarly. | |
52 | (_cpp_read_file): Similarly. | |
53 | * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes. | |
54 | ||
c1a6a8dc SS |
55 | 2001-08-21 Sam Steingold <sds@gnu.org> |
56 | ||
57 | * tradcpp.c (rescan): define obufp_before_macroname before RECACHE | |
58 | (RECACHE): keep obufp_before_macroname up to date | |
59 | ||
ad82abb8 ZW |
60 | 2001-08-21 Zack Weinberg <zackw@panix.com> |
61 | ||
62 | * stmt.c: Don't include insn-codes.h. | |
63 | (expand_end_case): Machine specific logic moved to expr.c. | |
64 | No need to worry about __builtin_classify_type. | |
65 | (check_for_full_enumeration_handling, emit_case_nodes): | |
66 | Kill #if 0 blocks. | |
67 | ||
68 | * builtins.o (expand_builtin_classify_type): Split up so code | |
69 | can be shared with fold_builtin_classify_type. | |
70 | (type_to_class, fold_builtin_classify_type): New functions. | |
71 | (fold_builtins): Handle __builtin_classify_type. | |
72 | ||
73 | * expr.c (do_tablejump): Now static. | |
74 | (case_values_threshold, try_casesi, try_tablejump): New; | |
75 | code mostly from stmt.c (expand_end_case). | |
76 | (expr.h): Update prototypes. | |
77 | ||
78 | * Makefile.in (stmt.o): Update dependencies. | |
79 | ||
e9e4208a WC |
80 | 2001-08-21 Will Cohen <wcohen@redhat.com> |
81 | ||
ad82abb8 ZW |
82 | * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local |
83 | declaration of variable i. | |
84 | * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local | |
85 | declaration of variable i. | |
e9e4208a | 86 | |
29d2c7a5 RH |
87 | 2001-08-21 Richard Henderson <rth@redhat.com> |
88 | ||
89 | * crtstuff.c: Fix thinko last change. Move list tails to start | |
90 | of CRT_END section. Tidy ifdefs. | |
91 | (__EH_FRAME_BEGIN__): Always static for ELF. | |
92 | (__do_global_ctors_1): Rename from __frame_dummy. | |
93 | * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1 | |
94 | name change; don't hide __EH_FRAME_BEGIN__. | |
95 | ||
487b97e0 RH |
96 | 2001-08-21 Richard Henderson <rth@redhat.com> |
97 | ||
3aed1981 RH |
98 | * gdbinit.in: Move break on exit after break on fancy_abort. |
99 | ||
487b97e0 RH |
100 | * config/ia64/ia64.c (ia64_return_in_memory): True for variable |
101 | sized types. | |
102 | ||
d7bc7a98 NB |
103 | 2001-08-21 Neil Booth <neil@daikokuya.demon.co.uk> |
104 | ||
105 | * cpphash.h (_cpp_push_next_buffer): New. | |
106 | * cppinit.c (do_includes): Remove. | |
107 | (push_include, free_chain, _cpp_push_next_buffer): New. | |
108 | (cpp_start_read): Use them to rework command line option handling. | |
109 | (cpp_handle_option): Combine handling of -include and -imacros. | |
110 | * cpplex.c (_cpp_lex_token): Push a new -include buffer if | |
111 | appropriate. Always insert missing \n at EOF. | |
112 | * cpplib.c (start_directive): Get the directive position right. | |
113 | * cppmain.c (cb_file_change): Always print the first line, unless | |
114 | preprocessed. | |
115 | ||
bb1a503c AJ |
116 | 2001-08-20 Andreas Jaeger <aj@suse.de> |
117 | ||
118 | * profile.c (compute_branch_probabilities): Remove extra new-line | |
119 | in error message. | |
120 | * flow.c (verify_flow_info): Likewise. | |
121 | ||
006844a3 DN |
122 | 2001-08-20 Diego Novillo <dnovillo@redhat.com> |
123 | ||
124 | * basic-block.h (basic_block): Add new field 'flags'. | |
125 | (BB_REACHABLE): Define. | |
126 | (expunge_block): Declare. | |
127 | * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'. | |
128 | (EXIT_BLOCK_PTR): Ditto. | |
129 | (expunge_block): Remove static declaration. | |
130 | (cleanup_cfg): Clear bb->aux on every basic block. | |
131 | (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when | |
132 | computing reachability. | |
133 | (delete_unreachable_blocks): Delete block b if b->flags has | |
134 | BB_REACHABLE unset. | |
135 | ||
0760faf9 DN |
136 | 2001-08-20 Diego Novillo <dnovillo@redhat.com> |
137 | ||
138 | * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast. | |
139 | ||
96bd19a7 KG |
140 | 2001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
141 | ||
142 | * sparc.c (sparc_variable_issue): Fix typo in last change. | |
143 | ||
a7b0c484 RH |
144 | 2001-08-20 Richard Henderson <rth@redhat.com> |
145 | ||
146 | * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage. | |
147 | ||
010dc908 JDA |
148 | 2001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca> |
149 | ||
150 | * pa.h (RETURN_IN_MEMORY): Improve comment. | |
151 | ||
3de87bf2 JJ |
152 | 2001-08-20 Janis Johnson <janis187@us.ibm.com> |
153 | ||
154 | * doc/invoke.texi (Profiling options): Clarify the interactions | |
155 | between -fprofile-arcs and -ftest-coverage, -fprofile-arcs. | |
156 | ||
c8a6b916 JO |
157 | 2001-08-20 Jeffrey Oldham <oldham@codesourcery.com> |
158 | ||
159 | * crtstuff.c (__do_global_ctors): Fix typo in preprocessing | |
160 | command. | |
161 | ||
27a14487 MK |
162 | 2001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
163 | ||
164 | * gcc.c (make_relative_prefix): Allocate a sufficiently large | |
165 | buffer. | |
166 | ||
ca8264b4 RH |
167 | 2001-08-20 Richard Henderson <rth@redhat.com> |
168 | ||
169 | * final.c (end_final): Fix typo last change. | |
170 | ||
51c04256 NB |
171 | 2001-08-20 Neil Booth <neil@daikokuya.demon.co.uk> |
172 | ||
173 | * cppinit.c (init_standard_includes): The returned buffer | |
174 | is already malloc-ed. | |
175 | * gcc.c (add_prefix): Similarly. | |
176 | * prefix.c (translate_name): Update to support clear buffer | |
177 | ownership rules. | |
178 | (update_path): Similarly. Be sure to free any newly allocated | |
179 | key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument. | |
180 | (tr): New function. | |
181 | * prefix.h (update_path): Update prototype and document. | |
182 | * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean | |
183 | up and update to new buffer ownership rules. | |
184 | * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update. | |
185 | ||
247a370b JH |
186 | Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz> |
187 | ||
188 | * final.c (compute_alignments): New function. | |
189 | (init_insn_lengths): Do not care label_align. | |
190 | (LABEL_ALIGN_AFTER_BARRIER): Default to 1. | |
191 | (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0. | |
192 | (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New. | |
193 | (shorted_branches): Realloc label_align array; do | |
194 | not call init_insn_lengths; Do not care about loop alignments. | |
195 | * output.h (compute_alignments): Declare. | |
196 | * toplev.c (rest_of_compilation): Call compute_alignments. | |
197 | * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document. | |
198 | ||
199 | * predict.c (block_info_def): Add npredecesors, remove nvisited; | |
200 | change visited to tovisit. | |
201 | (propagate_freq): Use faster traversing algorithm. | |
202 | (estimate_loops_at_level, estimate_bb_frequencies): Change visited | |
203 | to tovisit; reverse meaning. | |
204 | ||
205 | * predict.c (struct block_info_def): Remove nvisited. | |
206 | (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions. | |
207 | (estimate_bb_frequencies): Call mark_dfs_back_edges. | |
208 | ||
13fac94a GK |
209 | 2001-08-19 Geoffrey Keating <geoffk@redhat.com> |
210 | ||
211 | * doc/invoke.texi (MIPS Options): Document -mfused-madd. | |
212 | * config/mips/mips.h (MASK_NO_FUSED_MADD): New. | |
213 | (TARGET_FUSED_MADD): New. | |
214 | (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd. | |
215 | * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to | |
216 | the multiply-add instructions. | |
217 | ||
2919600a RH |
218 | 2001-08-19 Richard Henderson <rth@redhat.com> |
219 | ||
bb1a503c | 220 | * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref |
2919600a RH |
221 | is aligned to pointer size. |
222 | ||
fd1a3f73 RH |
223 | 2001-08-19 Richard Henderson <rth@redhat.com> |
224 | ||
225 | * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle | |
226 | display markers during final schedule. | |
227 | ||
c49f511c RH |
228 | 2001-08-19 Richard Henderson <rth@redhat.com> |
229 | ||
230 | * function.c (gen_mem_addressof): Don't call get_alias_set if no decl. | |
231 | ||
c45632b7 RH |
232 | 2001-08-19 Richard Henderson <rth@redhat.com> |
233 | ||
234 | * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and * | |
235 | in the same string. | |
236 | (ASM_NAME_TO_STRING): Remove. | |
237 | * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and * | |
238 | in the same string. Remove support for expressions. | |
239 | ||
90675921 RH |
240 | 2001-08-19 Richard Henderson <rth@redhat.com> |
241 | ||
242 | * config/i386/i386.md (tablejump): Make an expander; handle | |
243 | pic relative addressing here. | |
244 | (tablejump_1): Rename from tablejump_pic. | |
245 | (casesi): Remove. | |
246 | ||
ec523c2f RH |
247 | 2001-08-19 Richard Henderson <rth@redhat.com> |
248 | ||
249 | * regclass.c (fix_register): Fix typo. | |
250 | ||
443621af RH |
251 | 2001-08-18 Richard Henderson <rth@redhat.com> |
252 | ||
253 | * config/ia64/unwind-ia64.c (UNW_REG_B0): New. | |
254 | (struct _Unwind_Context): Expand br_loc to hold it. | |
255 | (uw_frame_state_for): Handle leaf functions better. | |
256 | (uw_update_reg_address): Update for br_loc change. | |
257 | ||
213f974a RH |
258 | 2001-08-18 Richard Henderson <rth@redhat.com> |
259 | ||
260 | * crtstuff.c: Move list heads before code that uses them. | |
261 | (__JCR_LIST__): Remove initial null. | |
262 | (frame_dummy, __frame_dummy): Do java registration here ... | |
263 | (__do_global_ctors_aux): ... not here. | |
264 | ||
3dff7ed0 RH |
265 | * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative. |
266 | (__do_global_dtors_aux): Update to match. | |
267 | (__JCR_LIST__, __do_jv_register_classes): New. | |
268 | (.init): Call it. | |
269 | * config/ia64/crtend.asm (__JCR_END__): New. | |
270 | (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__ | |
271 | instead of an indirect LTOFF22 reloc. | |
272 | ||
6ca3c22f RH |
273 | 2001-08-18 Richard Henderson <rth@redhat.com> |
274 | ||
275 | * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call. | |
276 | * regclass.c (init_reg_sets_1): Fix typo. | |
277 | * config/ia64/ia64.c (ar_pfs_reg_operand): New. | |
278 | (ia64_expand_call): Pass ar.pfs to sibcall expanders. | |
279 | (ia64_compute_frame_size): Make ar.unat live when in use. | |
280 | (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf | |
281 | for ar.pfs; remove ar.unat handling. | |
bb1a503c | 282 | * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is |
6ca3c22f RH |
283 | call-saved. |
284 | (PREDICATE_CODES): Add ar_pfs_reg_operand. | |
285 | * config/ia64/ia64-protos.h: Update decls. | |
286 | * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs. | |
287 | (sibcall_pic): Likewise. | |
288 | ||
f83594c4 RH |
289 | 2001-08-18 Richard Henderson <rth@redhat.com> |
290 | ||
b395ddbe RH |
291 | * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past |
292 | pred_rel_mutex when searching for insn_group_barrier. | |
8e8de254 RH |
293 | * config/ia64/ia64.md (cycle_display): Combine the expander |
294 | and insn patterns. | |
b395ddbe | 295 | |
f83594c4 RH |
296 | * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop |
297 | bit before asm as needed. | |
298 | ||
eced69b5 RH |
299 | 2001-08-18 Richard Henderson <rth@redhat.com> |
300 | ||
301 | * timevar.def (TV_MACH_DEP): New. | |
302 | * toplev.c (rest_of_compilation): Use it. | |
303 | * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2. | |
304 | ||
5ed3149c ZW |
305 | 2001-08-18 Zack Weinberg <zackw@panix.com> |
306 | ||
307 | * unwind-dw2.c (execute_stack_op): Add default aborts to | |
308 | the inner switches to prevent warnings. | |
309 | ||
20cc76d5 RH |
310 | 2001-08-18 Richard Henderson <rth@redhat.com> |
311 | ||
312 | * timevar.h (struct timevar_time_def): Change element type to float. | |
313 | (ticks_to_msec, clocks_to_msec): Likewise. | |
314 | (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float. | |
315 | (get_time): Likewise. | |
316 | (timevar_print): Adjust zero check and printing to match. | |
317 | ||
b649398a ZW |
318 | 2001-08-18 Zack Weinberg <zackw@panix.com> |
319 | ||
9c34dbbf ZW |
320 | * doc/extend.texi, doc/gcc.texi, doc/install-old.texi, |
321 | doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi: | |
322 | Eliminate overfull or underfull hboxes. | |
323 | ||
324 | 2001-08-18 Zack Weinberg <zackw@panix.com> | |
325 | ||
326 | * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout. | |
b649398a | 327 | |
76f4925a ZW |
328 | 2001-08-18 Zack Weinberg <zackw@panix.com> |
329 | ||
330 | * haifa-sched.c: Convert to target hooks. Macros replaced | |
331 | are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT, | |
332 | MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE, | |
333 | MD_SCHED_FINISH, and HAVE_cycle_display. | |
334 | * target-def.h (TARGET_SCHED_ADJUST_COST, | |
335 | TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE, | |
336 | TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT, | |
337 | TARGET_SCHED_FINISH, TARGET_SCHED_REORDER, | |
9c34dbbf | 338 | TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY): |
76f4925a ZW |
339 | New hook #defines to be overridden. |
340 | (TARGET_SCHED): Bring them all together. | |
341 | (TARGET_INITIALIZER): Update. | |
342 | * target.h: Don't forward declare struct rtx_def. Use 'rtx' | |
9c34dbbf | 343 | instead of 'struct rtx_def *' throughout. |
76f4925a ZW |
344 | (struct sched): New set of hooks for the scheduler. |
345 | * Makefile.in (haifa-sched.o): Depend on target.h. | |
346 | * doc/tm.texi: Document the new scheduler hooks, together in | |
347 | their own section, instead of scattered around. | |
348 | Fix a bunch of underfull/overfull hboxes. | |
349 | ||
350 | * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h, | |
351 | ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h, | |
352 | sparc.h: Don't define any of the old scheduler macros. | |
353 | ||
354 | * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c, | |
355 | ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c, | |
356 | sparc.c: Create hook functions from code extracted from | |
357 | corresponding target header, or make existing hooks static, as | |
358 | appropriate. Set the appropriate entries in targetm. | |
359 | ||
360 | * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h, | |
361 | i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h, | |
362 | rs6000-protos.h, s390-protos.h, sparc-protos.h: | |
363 | Remove prototypes for functions which are now static. | |
364 | ||
365 | * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and | |
366 | related gunk; the Haifa scheduler is now the only choice. | |
367 | ||
ef89d648 ZW |
368 | 2001-08-18 Zack Weinberg <zackw@panix.com> |
369 | ||
370 | * optabs.h (OTI_flodiv, flodiv_optab): Kill. | |
371 | * genopinit.c: Put floating point divide insns in sdiv_optab. | |
372 | * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab. | |
373 | * config/gofast.h, config/c4x/c4x.h, | |
374 | config/ia64/hpux_longdouble.h, config/mips/mips.h, | |
375 | config/pa/long_double.h, config/rs6000/sysv4.h, | |
376 | config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab. | |
377 | * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv. | |
378 | (init_optabs): Use init_optabv for overflow-trapping optabs. | |
379 | Don't init flodiv_optab. Give mov_optab, movstrict_optab, and | |
380 | cmp_optab RTX codes so have_insn_for can find them. | |
381 | ||
382 | * optabs.c (expand_simple_binop, expand_simple_unop, | |
383 | have_insn_for, gen_sub3_insn): New interfaces. | |
384 | * expr.h: Prototype new functions. | |
385 | (enum optab_methods): Move here from optabs.h. | |
386 | ||
387 | * builtins.c, combine.c, doloop.c, function.c, ifcvt.c, | |
388 | loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c: | |
389 | Use new functions instead of working directly with optabs. | |
390 | * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c, | |
391 | unroll.c: Don't include optabs.h. | |
392 | * caller-save.c, combine.c, function.c, stmt.c: Just include | |
393 | insn-codes.h, not optabs.h. | |
394 | * Makefile.in: Update dependencies. | |
395 | ||
396 | * combine.c (make_compound_operation, simplify_comparison): | |
397 | Fix typos testing for this or that instruction. | |
398 | ||
9e23c02d HB |
399 | 2001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
400 | ||
401 | * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when | |
402 | generating libgcc.a. | |
403 | ||
1c0cc57e KG |
404 | 2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
405 | ||
406 | * except.c (TYPE_HASH): Delete. | |
9c34dbbf | 407 | |
1c0cc57e KG |
408 | * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not |
409 | HOST_WIDE_INT. | |
410 | ||
411 | * tree.c (TYPE_HASH): Delete. | |
412 | ||
413 | * tree.h (TYPE_HASH): Define. | |
414 | ||
13c508d9 GS |
415 | 2001-08-18 Graham Stott <grahams@redhat.com> |
416 | ||
417 | * config/mips/mips.md (adddi3_internal_2+1): Remove contraints from | |
418 | define_split. | |
419 | (adddi3_internal_2+2): Likewise. | |
420 | (eh_set_lr_di+1): Likewise. | |
421 | ||
c8af3574 RH |
422 | 2001-08-17 Richard Henderson <rth@redhat.com> |
423 | ||
424 | * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, | |
425 | UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ... | |
426 | * dwarf2asm.c: ... here. | |
427 | * dwarfout.c: Remove them. | |
428 | ||
429 | * varasm.c (assemble_integer): Add align parameter. | |
430 | (assemble_real, output_constant, output_constructor): Likewise. | |
431 | * output.h: Update decls. | |
432 | * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c, | |
433 | config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c, | |
434 | config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h, | |
435 | config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c, | |
436 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md: | |
437 | Update all callers. | |
438 | ||
439 | * final.c (end_final): Abort profile block generation if we | |
440 | havn't layed it out properly. | |
441 | * output.h (assemble_eh_integer): Remove stale decl. | |
442 | * varasm.c (assemble_zeros): Tidy; use assemble_integer. | |
443 | (min_align): New. | |
444 | (assemble_integer): Handle unaligned data. | |
445 | (assemble_real): Abort on unaligned data. | |
446 | (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does | |
447 | anything useful. | |
448 | (default_dtor_section_asm_out_destructor): Use assemble_align. | |
449 | (default_named_section_asm_out_constructor): Likewise. | |
450 | (default_ctor_section_asm_out_constructor): Likewise. | |
451 | * config/darwin.c (machopic_asm_out_constructor): Likewise. | |
452 | (machopic_asm_out_destructor): Likewise. | |
453 | * config/nextstep.c (nextstep_asm_out_constructor): Likewise. | |
454 | (nextstep_asm_out_destructor): Likewise. | |
455 | * config/alpha/alpha.c (vms_asm_out_constructor): Likewise. | |
456 | (vms_asm_out_destructor): Likewise. | |
457 | ||
920ae24b RH |
458 | 2001-08-17 Richard Henderson <rth@redhat.com> |
459 | ||
460 | * config/mips/iris6.h (TARGET_IRIX6): New. | |
461 | (current_section_name, current_section_flags): New. | |
462 | (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New. | |
463 | (MAX_OFILE_ALIGNMENT): New. | |
464 | (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section. | |
465 | * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove. | |
9c34dbbf | 466 | (copy_file_data): Split out from |
920ae24b RH |
467 | (mips_asm_file_end): ... here. |
468 | (mips_asm_file_start): Remove extra .section directive. Use | |
469 | tmpfile instead of mips_make_temp_file. | |
470 | (mips_unique_section): Use const char * as needed for warnings. | |
471 | (iris6_asm_named_section_1): Renamed from iris6_asm_named_section; | |
472 | re-add align parameter. | |
473 | (iris6_asm_named_section): New. | |
474 | (iris_section_align_entry_eq, iris_section_align_entry_hash): New. | |
475 | (iris6_asm_output_align, iris6_section_align_1): New. | |
476 | (iris6_asm_file_start, iris6_asm_file_end): New. | |
477 | * config/mips/mips-protos.h: Update decls. | |
478 | ||
5cc3b0c7 JJ |
479 | 2001-08-17 Janis Johnson <janis187@us.ibm.com> |
480 | ||
481 | * doc/install.texi (Install GCC): Add links to build status pages. | |
482 | (Specific): Ditto. | |
483 | (Final install): Ditto; request updates for specific info | |
484 | ||
bb74c963 NB |
485 | 2001-08-17 Neil Booth <neil@daikokuya.demon.co.uk> |
486 | ||
487 | * cpperror.c (print_location): Don't take a file name; use the | |
488 | line map instead. | |
489 | (_cpp_begin_message): Similarly. | |
490 | (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning, | |
491 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update. | |
492 | (cpp_pedwarn_with_file_and_line): Remove. | |
493 | * cppfiles.c (stack_include_file): Update; set filename to stdin | |
494 | here when appropriate. | |
495 | * cpphash.h (struct cpp_buffer): Remove nominal_fname. | |
496 | (_cpp_begin_message): Don't take a file name. | |
497 | * cppinit.c: Add comment. | |
498 | * cpplex.c: Fix end-of-directive indicator. | |
499 | * cpplib.c: Don't include intl.h. | |
500 | (run_directive, do_diagnostic): Update. | |
501 | (do_line): Update to not use nominal_fname. | |
502 | (cpp_push_buffer): Don't take a filename. | |
503 | * cpplib.h (struct ht): Remove. | |
504 | (cpp_push_buffer): Don't take a filename. | |
505 | (cpp_pedwarn_with_file_and_line): Remove. | |
506 | * cppmacro.c (struct cpp_macro): Remove file. | |
507 | (builtin_macro): Update. | |
508 | (_cpp_create_definition): Update. | |
509 | * cppmain.c: Correct comment. | |
510 | * fix-header.c (read_scan_file): Update. | |
511 | ||
2d76cb1a KH |
512 | 2001-08-17 Kazu Hirata <kazu@hxi.com> |
513 | ||
514 | * sbitmap.c: Fix comment formatting. | |
515 | * sched-deps.c: Likewise. | |
516 | * sibcall.c: Likewise. | |
517 | * simplify-rtx.c: Likewise. | |
518 | * ssa.c: Likewise. | |
519 | * ssa-ccp.c: Likewise. | |
520 | * stor-layout.c: Likewise. | |
521 | * timevar.c: Likewise. | |
522 | * toplev.c: Likewise. | |
523 | * unwind-dw2.c: Likewise. | |
524 | * unwind-dw2-fde.c: Likewise. | |
525 | * varasm.c: Likewise. | |
526 | ||
0779eeb2 JDA |
527 | 2001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca> |
528 | ||
529 | * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable | |
530 | or larger than an integer in memory. | |
531 | ||
2f78c311 ZW |
532 | 2001-08-17 Zack Weinberg <zackw@panix.com> |
533 | ||
534 | * system.h: Forward-declare struct rtx_def, struct rtvec_def, | |
535 | and union tree_node. Typedef rtx, rtvec, and tree. Fix comment. | |
536 | * rtl.h: Don't forward-declare union tree_node here. Don't | |
537 | typedef rtx or rtvec here. Change all uses of struct rtx_def *, | |
538 | struct rtvec_def *, or union tree_node * to use rtx, rtvec, | |
539 | and tree respectively. | |
540 | * tree.h: Don't forward-declare struct rtx_def here. Don't | |
541 | typedef tree here. Change all uses of struct rtx_def *, | |
542 | struct rtvec_def *, or union tree_node * to use rtx, rtvec, | |
543 | and tree respectively. | |
544 | ||
32fa4d4a RH |
545 | 2001-08-17 Richard Henderson <rth@redhat.com> |
546 | ||
547 | * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h, | |
548 | config/mips/openbsd.h: Fix typos last change. | |
549 | ||
93ee12c4 GP |
550 | 2001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
551 | ||
2f78c311 | 552 | * doc/invoke.texi (Optimize Options): The default for |
93ee12c4 GP |
553 | -finline-limit is 600. |
554 | ||
f99ffb60 RH |
555 | 2001-08-17 Richard Henderson <rth@redhat.com> |
556 | ||
557 | * varasm.c (text_section): Allow TEXT_SECTION to override the | |
558 | printing of TEXT_SECTION_ASM_OP. | |
559 | * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION. | |
560 | (DATA_SECTION, BSS_SECTION): Remove. | |
561 | * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME, | |
562 | RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME): | |
563 | Rename from s/_NAME//. | |
564 | * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16. | |
565 | (ASM_DECLARE_FUNCTION_NAME): Move file switching ... | |
566 | (TEXT_SECTION): ... here. New. | |
567 | * config/mips/elf.h (TEXT_SECTION): New; no file switching. | |
568 | * config/mips/elf64.h, config/mips/netbsd.h: Likewise. | |
569 | * config/mips/openbsd.h: Likewise. | |
570 | * config/mips/mips.c (mips_asm_file_start): Tidy file switching test. | |
571 | (mips_asm_file_end): Likewise test. | |
572 | (mips_output_function_epilogue): Likewise. Switch back to data | |
573 | section after emitting the function. | |
574 | ||
33c09f2f RH |
575 | * doc/tm.texi (Sections): Document TEXT_SECTION. |
576 | ||
b38a75e5 RH |
577 | 2001-08-17 Richard Henderson <rth@redhat.com> |
578 | ||
579 | * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here. | |
580 | (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info. | |
581 | ||
51084e13 RH |
582 | 2001-08-17 Richard Henderson <rth@redhat.com> |
583 | ||
584 | * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN. | |
585 | * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__, | |
586 | __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__): | |
587 | Add aligned attribute. | |
588 | ||
589 | 2001-08-17 Andrew Haley <aph@cambridge.redhat.com> | |
ff0a63e8 AH |
590 | |
591 | * config/sh/sh.md: Add modes to unspecs in first insn to match | |
592 | those in the second. | |
593 | ||
594 | * Makefile.in: Fix collect2 copy for Cygwin. | |
595 | ||
abde42f7 JH |
596 | Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz> |
597 | ||
598 | Install the proper patch. | |
599 | * function.c (put_var_into_stack): Temporarily clear DECL_RTL. | |
600 | (assign_params): Avoid setting DECL_RTL to unfinished RTX. | |
601 | (expand_function_start): Likewise. | |
602 | * stmt.c (expand_decl): Likewise. | |
603 | * varasm.c (make_decl_rtx): Likewise. | |
604 | ||
3446405d JH |
605 | Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz> |
606 | ||
607 | * final.c: Undo my previous accidental checkin. | |
608 | * output.h: Likewise. | |
609 | * tm.texi: Likewise. | |
610 | ||
715bdd29 RH |
611 | 2001-08-16 Richard Henderson <rth@redhat.com> |
612 | ||
613 | * varasm.c (named_section_flags): Remove align parameter. | |
614 | * varasm.c, dwarf2out.c: Update all callers. | |
615 | * output.h: Update prototypes. | |
616 | ||
617 | * target.h (target.asm_out.named_section): Remove align parameter. | |
2f78c311 | 618 | * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c, |
715bdd29 RH |
619 | config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c, |
620 | config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c, | |
621 | config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c, | |
622 | config/sh/sh.c, config/sparc/sparc.c: Update implementations to match. | |
623 | ||
624 | * varasm.c (in_named_entry_eq, in_named_entry_hash): New. | |
625 | (get_named_section_flags, set_named_section_flags): New. | |
626 | (named_section_flags): Use them. | |
627 | (named_section): Do decl vs section flags check here... | |
628 | (default_section_type_flags): ... not here. | |
629 | (init_varasm_once): Create in_named_htab. | |
630 | (resolve_unique_section): Mark reloc unused. | |
631 | ||
09e07be6 RH |
632 | 2001-08-16 Richard Henderson <rth@redhat.com> |
633 | ||
634 | * varasm.c (force_const_mem): Keep pool alignment in bits. | |
635 | (output_constant_pool): Use assemble_align. | |
636 | ||
8daaf93c ZW |
637 | 2001-08-16 Zack Weinberg <zackw@panix.com> |
638 | ||
639 | * doc/tm.texi: Remove extra @table command. | |
2f78c311 | 640 | |
d9b6874b ZW |
641 | 2001-08-16 Zack Weinberg <zackw@panix.com> |
642 | ||
643 | * final.c (shorten_branches): Clear the end of the label_align | |
644 | array only if we made it larger. Break up messy expressions | |
645 | for clarity. | |
646 | ||
647 | * diagnostic.c (internal_error): Check for error recursion | |
648 | before doing ICE suppression. | |
649 | ||
650 | * timevar.c: Timing variables now count in milliseconds. | |
651 | (init_timevar): Set up ticks_to_msec and clocks_to_msec here. | |
652 | (get_time): Not here. | |
653 | (timevar_print): Don't print any timer whose user, cpu, and | |
654 | wall times are all zero as displayed. | |
655 | * timevar.h: Update comment aboout units. Make timevar | |
656 | counters unsigned. | |
657 | ||
25e22dc0 JH |
658 | Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz> |
659 | ||
660 | * function.c (put_var_into_stack): Temporarily clear DECL_RTL. | |
661 | (assign_params): Avoid setting DECL_RTL to unfinished RTX. | |
662 | (expand_function_start): Likewise. | |
663 | * stmt.c (expand_decl): Likewise. | |
664 | * varasm.c (make_decl_rtx): Likewise. | |
665 | ||
7256efa6 JM |
666 | 2001-08-16 Jason Merrill <jason_merrill@redhat.com> |
667 | ||
668 | * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN. | |
669 | (finalize_record_size): Don't set TYPE_USER_ALIGN. | |
670 | ||
5972a110 MK |
671 | 2001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
672 | ||
673 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused | |
674 | variables. | |
675 | ||
0d3c08b6 AJ |
676 | 2001-08-16 Andreas Jaeger <aj@suse.de> |
677 | ||
678 | * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame | |
679 | prototype. | |
680 | ||
44ce0063 JW |
681 | Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com) |
682 | ||
683 | * rtl.h (only_sets_cc0_p): New prototype. | |
684 | * jump.c (sets_cc0_p): Handle INSN. | |
685 | (only_sets_cc0_p): New function. | |
686 | * flow.c (merge_blocks_nomove): Use only_sets_cc0_p. | |
687 | (tidy_fallthru_edge): Likewise. | |
688 | * integrate.c (copy_insn_list): Likewise. | |
689 | * unroll.c (unroll_loop): Likewise. | |
690 | (copy_loop_body): Likewise. | |
691 | ||
cff27f1d JE |
692 | 2001-08-15 Jason Eckhardt <jle@redhat.com> |
693 | ||
694 | * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t". | |
695 | ||
6ad48e84 JH |
696 | Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz> |
697 | ||
698 | * predict.c (struct block_info_def): Remove nvisited. | |
699 | (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions. | |
700 | (estimate_bb_frequencies): Call mark_dfs_back_edges. | |
701 | ||
702 | * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium | |
703 | (ix86_adjust_cost): Teach scheduler that latency to load operand can | |
704 | be masked. | |
705 | ||
cc10816d JH |
706 | Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz> |
707 | ||
708 | * predict.def: Update hitrates. | |
709 | ||
fd7e958f RH |
710 | 2001-08-15 Richard Henderson <rth@redhat.com> |
711 | ||
712 | * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT. | |
713 | ||
abb788ba JL |
714 | Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com) |
715 | ||
716 | * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG | |
717 | note from its associated jump. | |
718 | ||
d9b761a9 | 719 | 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com> |
d9b6874b | 720 | |
d9b761a9 UW |
721 | * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__ |
722 | also on 64-bit s390x targets. | |
723 | ||
095bb276 NC |
724 | 2001-08-14 Nick Clifton <nickc@cambridge.redhat.com> |
725 | ||
726 | * config/arm/arm.c (arm_compute_initial_elimination_offset): New | |
727 | function. | |
728 | (arm_expand_prologue): Handled nested functions which take a | |
729 | variable argument list. | |
730 | * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace | |
731 | macro with an invocation of | |
732 | arm_compute_initial_elimination_offset. | |
733 | * config/arm/arm-protos.h: Prototype | |
d9b6874b | 734 | arm_compute_initial_elimination_offset. |
095bb276 | 735 | |
98999d8b GP |
736 | 2001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
737 | ||
738 | * doc/install.texi (Specific, avr): Fix markup. | |
739 | (Specific, c4x): Ditto. | |
740 | ||
b213a5ca MK |
741 | 2001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
742 | ||
743 | * predict.c (dump_prediction): Change `bool' parameter to `int'. | |
744 | ||
c895acf2 GDR |
745 | 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com> |
746 | ||
747 | * Makefile.in (OBJS): Add rtl-error.o | |
748 | (rtl-error.o): New rule. | |
749 | (diagnostic.o): Adjust dependency. | |
750 | diagnostic.c (file_and_line_for_asm, diagnostic_for_asm, | |
751 | error_for_asm, _fatal_insn, _fatal_insn_not_found, | |
752 | warning_for_asm): Move to... | |
753 | rtl-error.c: ...here. New file. | |
754 | ||
ddee9e8d RH |
755 | 2001-08-14 Richard Henderson <rth@redhat.com> |
756 | ||
757 | * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame | |
758 | if USING_SJLJ_EXCEPTIONS. | |
759 | ||
eb20f668 SE |
760 | 2001-08-14 Steve Ellcey <sje@cup.hp.com> |
761 | ||
762 | * tlink.c (scan_linker_output): Check string for unsatisfied in | |
763 | addition to undefined and unresolved. | |
764 | ||
540ceb67 GS |
765 | 2001-08-14 Graham Stott <grahams@redhat.com> |
766 | ||
767 | * libgcc2.c (*): Replace EH_FRAME_SECTION with | |
768 | EH_FRAME_SECTION_NAME. | |
769 | ||
2d515d60 JH |
770 | Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz> |
771 | ||
d9b6874b ZW |
772 | * genattrtab.c (simplify_test_exp_in_temp): New function. |
773 | (simplify_test_exp): Avoid explicit use of temporary obstack. | |
774 | (simplify_cond, insert_right_side, evaluate_eq_attr, | |
775 | simplify_and_tree, simplify_or_tree, eliminate_known_true): | |
776 | Use simplify_test_exp_in_temp. | |
777 | (optimize_attrs): Iterate until expression stabilizes. | |
2d515d60 | 778 | |
881e8e29 | 779 | 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>: |
d9b6874b | 780 | |
881e8e29 UW |
781 | * glimits.h: Remove the __LONG_MAX__ special case for s390x. |
782 | * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES. | |
783 | ||
f22db2ef RH |
784 | 2001-08-13 Richard Henderson <rth@redhat.com> |
785 | ||
786 | * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove. | |
787 | (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove. | |
788 | * config/arm/conix-elf.h: Likewise. | |
789 | ||
eb296bd9 GK |
790 | 2001-08-13 Geoffrey Keating <geoffk@redhat.com> |
791 | ||
51610b0a GK |
792 | * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done |
793 | in gcc.c. | |
794 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
795 | ||
eb296bd9 GK |
796 | * gcse.c (hash_scan_set): Expressions that are set as part of |
797 | jump instructions are not available. | |
798 | ||
7ee20eba UW |
799 | 2001-08-13 Ulrich Weigand <uweigand@de.ibm.com> |
800 | ||
801 | * config/s390/s390.c (print_operand, s390_function_prologue, | |
802 | s390_va_start): Fixed HOST_WIDE_INT type mismatch. | |
803 | ||
02c9b1ca RH |
804 | 2001-08-13 Richard Henderson <rth@redhat.com> |
805 | ||
806 | * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New. | |
807 | * defaults.h (EH_FRAME_SECTION_NAME): Respect it. | |
808 | * doc/tm.texi (Exception Region Output): Document it. | |
809 | ||
99e2a354 GK |
810 | 2001-08-13 Geoffrey Keating <geoffk@redhat.com> |
811 | ||
812 | * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use | |
813 | DWARF2 instead of stabs by default. | |
814 | ||
2fc1c679 DE |
815 | 2001-08-13 David Edelsohn <edelsohn@gnu.org> |
816 | ||
817 | * config/rs6000/rs6000.c: Include optabs.h. | |
818 | ||
710fdaad DE |
819 | 2001-08-13 David Edelsohn <edelsohn@gnu.org> |
820 | ||
821 | * config/rs6000/eabi.asm: Define 64-bit versions of FPR | |
822 | save/restore routines. | |
823 | * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros. | |
824 | ||
16757495 AJ |
825 | 2001-08-13 Andreas Jaeger <aj@suse.de> |
826 | ||
827 | * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo, | |
828 | the english is correct. | |
829 | ||
e78d8e51 ZW |
830 | 2001-08-13 Zack Weinberg <zackw@panix.com> |
831 | ||
832 | * expr.h: Split out optab- and libfunc-related code to... | |
833 | * optabs.h, libfuncs.h: ... these new headers. | |
834 | ||
835 | * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h. | |
836 | (OPTABS_H): New. | |
837 | (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to | |
838 | dependencies. | |
839 | * mkconfig.sh: Don't include insn-codes.h from config.h. | |
840 | ||
841 | * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether | |
842 | enum insn_code is available. Move reload_in_optab and | |
843 | reload_out_optab array declarations to optabs.h. | |
844 | * regmove.c (gen_add3_insn): Move to optabs.c, export from | |
845 | there, prototype in expr.h. | |
846 | * gencodes.c: Cleanup: zap global variables, don't use | |
847 | printf where puts will do, don't bother defining MAX_INSN_CODE | |
848 | which nothing uses, let CODE_FOR_nothing get its value implicitly. | |
849 | ||
850 | * genemit.c, genopinit.c: Include optabs.h in generated file. | |
851 | * genoutput.c: Include insn-codes.h in generated file. | |
852 | * builtins.c, caller-save.c, combine.c, doloop.c, explow.c, | |
16757495 AJ |
853 | expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c, |
854 | reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c, | |
e78d8e51 ZW |
855 | config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c, |
856 | config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c, | |
857 | config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c: | |
858 | Include optabs.h. | |
16757495 | 859 | * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c, |
e78d8e51 ZW |
860 | optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c, |
861 | config/m88k/m88k.c, config/sparc/sparc.c: | |
862 | Include libfuncs.h. | |
863 | * reload.c: Include expr.h and optabs.h before reload.h. | |
864 | * config/alpha/alpha.c: Include tree.h before reload.h. | |
865 | * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h, | |
866 | and reload.h in that order. | |
867 | * config/sparc/sparc.c: Include debug.h. | |
868 | * recog.c: Include insn-codes.h. | |
869 | ||
050e4ca2 AJ |
870 | 2001-08-13 Andreas Jaeger <aj@suse.de> |
871 | ||
872 | * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on | |
873 | s390*linux. | |
874 | ||
dd49a9ec TP |
875 | 2000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> |
876 | ||
877 | * dwarf2out.c (output_cfa_loc): Fix typo in comment. | |
878 | * gcc.c (init_spec): Fix typo in comment. | |
879 | * varasm.c (data_section): Fix typo in comment. | |
880 | ||
d195b46f JH |
881 | Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz> |
882 | ||
883 | * predict.c (dump_prediction): New argument "USED". | |
884 | (combine_predictions_for_insn): Determine the used heuristics, | |
885 | output the case no heuristic applied. | |
886 | * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New. | |
887 | ||
afea8580 AJ |
888 | 2001-08-13 Andreas Jaeger <aj@suse.de> |
889 | ||
890 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize | |
891 | register %rip. | |
892 | ||
5d0cab94 KH |
893 | 2001-08-13 Kazu Hirata <kazu@hxi.com> |
894 | ||
895 | * jump.c: Fix formatting. | |
896 | ||
7ba7767b KH |
897 | 2001-08-13 Kazu Hirata <kazu@hxi.com> |
898 | ||
899 | * config/h8300/h8300.md (zero_extendqihi2): Correct the insn | |
900 | length. | |
901 | ||
5fe2e41b GK |
902 | 2001-08-12 Geoffrey Keating <geoffk@redhat.com> |
903 | ||
353df065 GK |
904 | * loop.c (check_dbra_loop): Use condjump_label to compute |
905 | jump_label. | |
906 | ||
5fe2e41b GK |
907 | * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around |
908 | to better document the files they're in. | |
909 | ||
a2b498cb ZW |
910 | 2001-08-12 Zack Weinberg <zackw@panix.com> |
911 | ||
912 | * recog.h (struct insn_operand_data): Shrink 'mode' field | |
913 | to 16 bits. | |
914 | ||
dc297297 KH |
915 | 2001-08-12 Kazu Hirata <kazu@hxi.com> |
916 | ||
917 | * gcc.c: Fix comment formatting. | |
918 | * gccspec.c: Likewise. | |
919 | * gcov.c: Likewise. | |
920 | * gcse.c: Likewise. | |
921 | * genemit.c: Likewise. | |
922 | * gengenrtl.c: Likewise. | |
923 | * genrecog.c: Likewise. | |
924 | * gensupport.c: Likewise. | |
925 | * ggc-page.c: Likewise. | |
926 | * global.c: Likewise. | |
927 | * graph.c: Likewise. | |
928 | * ifcvt.c: Likewise. | |
929 | * integrate.c: Likewise. | |
930 | * lcm.c: Likewise. | |
931 | * libgcc2.c: Likewise. | |
932 | * loop.c: Likewise. | |
933 | * mbchar.c: Likewise. | |
934 | * optabs.c: Likewise. | |
935 | * predict.c: Likewise. | |
936 | * prefix.c: Likewise. | |
937 | * profile.c: Likewise. | |
938 | * protoize.c: Likewise. | |
939 | * real.c: Likewise. | |
940 | * recog.c: Likewise. | |
941 | * regclass.c: Likewise. | |
942 | * regmove.c: Likewise. | |
943 | * reg-stack.c: Likewise. | |
944 | * reload1.c: Likewise. | |
945 | * resource.c: Likewise. | |
946 | * rtlanal.c: Likewise. | |
947 | * rtl.c: Likewise. | |
948 | ||
f0d1c3bd KH |
949 | 2001-08-12 Kazu Hirata <kazu@hxi.com> |
950 | ||
951 | * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how | |
952 | a tree representing a constant is passed to the macro. | |
953 | ||
d9f6800d RH |
954 | 2001-08-12 Richard Henderson <rth@redhat.com> |
955 | ||
956 | * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New. | |
957 | (rs6000_elf_asm_out_destructor): New. | |
958 | * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove. | |
959 | (DTORS_SECTION_ASM_OP): Remove. | |
960 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
961 | (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors. | |
962 | ||
6ba57472 DE |
963 | 2001-08-12 David Edelsohn <edelsohn@gnu.org> |
964 | ||
965 | Revert: | |
966 | 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
967 | * gcc.c (set_collect_gcc_options): New function, split out from | |
968 | main. | |
969 | Ignore elided switches. | |
970 | (do_spec_1): Invoke before executing command. | |
971 | (set_input): Export. | |
972 | Move declaration ... | |
973 | * gcc.h (set_input): ... here. | |
974 | * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input | |
975 | file. | |
976 | ||
270fc29b RH |
977 | 2001-08-12 Richard Henderson <rth@redhat.com> |
978 | ||
979 | * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix | |
980 | thinko wrt TARGET_RELOCATABLE. | |
981 | ||
21c38ecb NB |
982 | 2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk> |
983 | ||
984 | * fix-header.c (cb_file_change): Update prototype. | |
985 | ||
94aca342 ZW |
986 | 2001-08-11 Zack Weinberg <zackw@panix.com> |
987 | ||
988 | * toplev.c (set_float_handler): Make static. | |
989 | * toplev.h: Don't prototype set_float_handler. | |
990 | ||
991 | * simplify-rtx.c: Don't include setjmp.h. | |
992 | (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1): | |
993 | New functions. | |
994 | (simplify_unary_operation, simplify_binary_operation): Use them, | |
995 | via do_float_handler. | |
996 | ||
997 | * fold-const.c: Don't include setjmp.h. | |
998 | (exact_real_inverse_1): New function. | |
999 | (exact_real_inverse): Use it, via do_float_handler. | |
1000 | ||
1001 | * varasm.c: Don't include setjmp.h. | |
1002 | (assemble_real_1): New function. | |
1003 | (assemble_real): Use it, via do_float_handler. | |
1004 | Call internal_error if we get a trap here. | |
1005 | ||
1006 | * c-parse.in, cse.c, cselib.c, config/i386/i386.c, | |
1007 | config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h. | |
1008 | ||
31cdd499 ZW |
1009 | 2001-08-11 Zack Weinberg <zackw@panix.com> |
1010 | ||
1011 | * defaults.h: Define PREFERRED_STACK_BOUNDARY to | |
1012 | STACK_BOUNDARY if not already defined. | |
1013 | ||
1014 | * calls.c, function.c, reload1.c, explow.c: Don't default | |
1015 | PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on | |
1016 | PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY. | |
1017 | ||
1018 | * explow.c (allocate_dynamic_stack_space): Change unsafe #if | |
1019 | to run-time test. | |
1020 | ||
1021 | * doc/tm.texi: Document that STACK_BOUNDARY is required; | |
1022 | clarify difference between it and PREFERRED_STACK_BOUNDARY. | |
1023 | ||
2b220265 NB |
1024 | 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk> |
1025 | ||
1026 | * cppmacro.c (enter_macro_context): Push macro expansions even | |
1027 | if empty. | |
1028 | ||
d0101753 FS |
1029 | 2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1030 | ||
1031 | * config/rs6000/rs6000.c: Include integrate.h to silence warning. | |
1032 | (rs6000_elf_section_type_flags): Actually return a value. | |
1033 | ||
994fe660 | 1034 | 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com> |
afea8580 AJ |
1035 | |
1036 | * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux: | |
994fe660 | 1037 | Clean up code: add missing comments and prototypes, fix warnings, |
02c9b1ca | 1038 | remove obsolete code, fix spacing to conform to coding style. |
994fe660 | 1039 | |
f314b9b1 | 1040 | 2001-08-11 Ulrich Weigand <uweigand@de.ibm.com> |
afea8580 AJ |
1041 | |
1042 | * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN | |
f314b9b1 UW |
1043 | and TARGET_ASM_CLOSE_PAREN. |
1044 | (regclass_map): CC register belongs to class NO_REGS. | |
afea8580 | 1045 | (legitimize_pic_address): Don't generate unnecessary moves |
f314b9b1 | 1046 | (to avoid confusing loop optimization). |
afea8580 AJ |
1047 | (check_and_change_labels): Replace jump_long by indirect_jump. |
1048 | (s390_final_chunkify): Don't start a new literal pool on section | |
f314b9b1 UW |
1049 | switch in 64-bit code. |
1050 | (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit. | |
afea8580 | 1051 | |
f314b9b1 UW |
1052 | * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug. |
1053 | (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit). | |
afea8580 | 1054 | (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer |
f314b9b1 UW |
1055 | modes correctly. |
1056 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS. | |
1057 | (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit. | |
1058 | (CONST_COSTS): Fixed incorrect costs. | |
1059 | ||
1060 | * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3): | |
1061 | Use emit_jump instead of emit_jump_insn (gen_jump). | |
afea8580 | 1062 | (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting |
f314b9b1 UW |
1063 | (to avoid confusing flow analysis). |
1064 | (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi. | |
1065 | (casesi, casesi_jump): New. | |
1066 | (jump_long): Removed. Functionality merged into indirect_jump. | |
1067 | (indirect_jump): Accept address_operand, not just register_operand. | |
1068 | (cjump_long, icjump_long): Use same logic as indirect_jump. | |
1069 | (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp): | |
1070 | Fixed broken setjmp/longjmp handling. | |
1071 | (do_builtin_setjmp_setup): Removed. | |
1072 | ||
1073 | * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around | |
1074 | broken GNU as versions that don't accept .quad with large | |
1075 | negative values. Use hexadecimal output instead. | |
1076 | (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn. | |
1077 | (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE, | |
1078 | FUNCTION_EPILOGUE): Removed. Now in targetm. | |
1079 | ||
1080 | * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register. | |
1081 | ||
1082 | * config/s390/fixdfdi.h: Add missing copyright statement. | |
1083 | Fix type conflicts on 64-bit. Add missing SFmode routines. | |
1084 | ||
1085 | * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect | |
1086 | email address. | |
1087 | ||
dddba205 RH |
1088 | 2001-08-11 Richard Henderson <rth@redhat.com> |
1089 | ||
1090 | * rtl.h (REG_EH_RETHROW): Remove. | |
1091 | * rtl.c (reg_note_name): Update. | |
1092 | * combine.c (distribute_notes): Don't check for it. | |
1093 | ||
ab61c93f RH |
1094 | 2001-08-11 Richard Henderson <rth@redhat.com> |
1095 | ||
1096 | * combine.c (distribute_notes): Place REG_SETJMP. | |
1097 | ||
58f4de4f RH |
1098 | 2001-08-11 Richard Henderson <rth@redhat.com> |
1099 | ||
1100 | * doc/extend.texi (Arrays and pointers implementation): Discourage | |
1101 | relying on sign-extension of pointers. | |
1102 | ||
f841565e L |
1103 | 2001-08-11 H.J. Lu <hjl@gnu.org> |
1104 | ||
1105 | * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and | |
1106 | in_dtors. | |
1107 | (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and | |
1108 | RDATA_SECTION_ASM_OP. | |
1109 | ||
d8393f64 GP |
1110 | 2001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1111 | ||
1112 | * doc/install.texi (Specific, c4x): Fix cross-reference to the | |
1113 | main manual to work both for info and HTML versions. | |
afea8580 | 1114 | |
bef985f3 | 1115 | 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk> |
760a4879 | 1116 | Matt Kraai <kraai@alumni.carnegiemellon.edu> |
afea8580 | 1117 | |
bef985f3 NB |
1118 | * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy. |
1119 | * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix. | |
1120 | (struct cpp_pool): New member first. | |
1121 | * cppinit.c (append_include_chain): Plug memory leaks. | |
1122 | * cpplib.c (cpp_register_pragma, cpp_register_pragma_space): | |
1123 | Allocate pragma structures from the (aligned) macro pool to | |
1124 | avoid leaking memory. | |
1125 | * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first | |
1126 | so we don't leak memory. | |
1127 | * hashtable.c (ht_destroy): New. | |
1128 | * hashtable.h (ht_destroy): New. | |
1129 | ||
f80f7e8c NB |
1130 | 2001-08-11 Neil Booth <neil@daikokuya.demon.co.uk> |
1131 | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | |
1132 | ||
1133 | * c-lex.c (map): Make const. | |
1134 | (cb_file_change): Update for callback passing a line map. | |
1135 | Don't assume we have a previous map. Remove sanity check | |
1136 | about popping too many files. | |
1137 | * cpperror.c (print_location): Make map const. | |
1138 | * cppfiles.c (stack_include_file): Update; line maps now hold sysp. | |
1139 | (cpp_make_system_header): Similarly. | |
1140 | (search_from): Similarly. | |
1141 | (_cpp_execute_include): Don't remember where we came from. | |
1142 | * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp. | |
1143 | (struct cpp_reader): Make map const. | |
1144 | (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update. | |
1145 | * cpplib.c (do_line): Update; line maps now hold sysp. | |
1146 | (cpp_push_buffer): Similarly. | |
1147 | (_cpp_do_file_change): Similarly; callback with map instead. | |
1148 | (cpp_get_line_maps): Constify return value. | |
1149 | (_cpp_pop_buffer): Update. | |
1150 | * cpplib.h (struct cpp_file_change): Remove. | |
1151 | (struct cpp_callbacks): Update. | |
1152 | (cpp_get_line_maps): Constify return value. | |
1153 | * cppmacro.c (_cpp_create_definition): Update. | |
1154 | * cppmain.c (struct printer): Constify map. | |
1155 | (maybe_print_line): Similarly. | |
1156 | (print_line): Similarly. Deduce flags 1 and 2 here. | |
1157 | (cb_file_change): Update. | |
1158 | * line-map.c (free_line_maps): Warn regardless. | |
1159 | (add_line_map): Return pointer to const. When passed NULL to_file | |
1160 | with LC_LEAVE, use the obvious values for the return point so the | |
1161 | caller doesn't have to figure them out. | |
1162 | (lookup_line): Return pointer to const. | |
1163 | (print_containing_files): Take pointer to const. | |
1164 | * line-map.h (struct line_map): New members reason, sysp. | |
1165 | (add_line_map): Return pointer to const. | |
1166 | (lookup_line): Similarly. | |
1167 | (print_containing_files): Take pointer to const. | |
1168 | ||
bb948ad3 RZ |
1169 | 2001-08-10 Roman Zippel <zippel@linux-m68k.org> |
1170 | Richard Henderson <rth@redhat.com> | |
1171 | ||
1172 | * regmove.c (regmove_optimize): Avoid setting a register twice in | |
1173 | a parallel set. | |
1174 | ||
cbf4c36f RH |
1175 | 2001-08-10 Richard Henderson <rth@redhat.com> |
1176 | ||
1177 | * doc/extend.texi (Arrays and pointers implementation): Document | |
1178 | behavior of pointer/integer conversion. | |
1179 | ||
db80cc1f | 1180 | 2001-08-10 Ulrich Weigand <uweigand@de.ibm.com> |
afea8580 AJ |
1181 | |
1182 | * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture. | |
db80cc1f | 1183 | |
fe203faf RH |
1184 | 2001-08-10 Richard Henderson <rth@redhat.com> |
1185 | ||
1186 | * doc/extend.texi (C Implementation): New chapter. | |
1187 | * doc/gcc.texi (Top): Link it in. | |
1188 | ||
894aeeb0 AC |
1189 | 2001-08-10 Andrew Cagney <ac131313@redhat.com> |
1190 | ||
1191 | * doc/install.texi (Specific): Fix CVS merge botch. | |
1192 | ||
d67c7dd8 RH |
1193 | 2001-08-10 Richard Henderson <rth@redhat.com> |
1194 | ||
1195 | * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with | |
1196 | ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP. | |
1197 | ||
19652adf ZW |
1198 | 2001-08-10 Zack Weinberg <zackw@stanford.edu> |
1199 | ||
1200 | * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY | |
1201 | if not already defined. Remove all #ifdefs on STACK_BOUNDARY; | |
1202 | this macro is now required. | |
1203 | ||
1204 | * cselib.c (cselib_process_insn), flow.c (propagate_block), | |
1205 | loop.c (find_and_verify_loops), reload.c (reload): Check | |
1206 | for rtx code of CALL_INSN, not CALL, when deciding if we | |
1207 | need to check for REG_SETJMP note. | |
1208 | ||
1209 | * gcse.c (compute_hash_table, compute_store_table): Update | |
1210 | the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP | |
1211 | logic. | |
1212 | ||
1213 | * config/avr/avr.c: Fix typo. | |
1214 | * config/convex/convex.c (expand_movstr): Use adjust_address. | |
1215 | * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen | |
1216 | variable. | |
1217 | * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address. | |
1218 | * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h. | |
1219 | Fix typo. | |
1220 | * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?) | |
1221 | Do define STACK_BOUNDARY. | |
1222 | * config/i370/i370.c: Include expr.h. | |
1223 | * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h, | |
1224 | config/pa/som.h, config/v850/v850.h: Take in_ctors and | |
1225 | in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION | |
1226 | and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS. | |
1227 | * config/m88k/m88k.c: Include c-tree.h after expr.h. | |
1228 | * config/pdp11/pdp11.c: Include expr.h and toplev.h. | |
1229 | * config/romp/romp.c: Include expr.h after tree.h. | |
1230 | Include toplev.h. | |
1231 | (output_fpop): Use xmalloc, not oballoc. | |
1232 | * config/we32k/we32k.c: Include expr.h. | |
1233 | ||
cf35eebc KH |
1234 | 2001-08-10 Kazu Hirata <kazu@hxi.com> |
1235 | ||
1236 | * config/h8300/h8300.h: Fix formatting. | |
1237 | ||
07b2f2fd JM |
1238 | 2001-08-08 Jason Merrill <jason_merrill@redhat.com> |
1239 | ||
1240 | * c-common.h (RETURN_NULLIFIED_P): Lose. | |
1241 | * c-semantics.c (genrtl_return_stmt): Don't check it. | |
1242 | ||
67070ffe RS |
1243 | 2001-08-10 Richard Sandiford <rsandifo@redhat.com> |
1244 | ||
1245 | * config/mips/mips.c (mips_add_large_offset_to_sp): New function. | |
1246 | (mips_annotate_frame_insn): New function. | |
1247 | (mips_emit_frame_related_store): New function. | |
1248 | (save_restore_insns): Don't mark instructions that set up the base | |
1249 | registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to | |
1250 | the store instructions instead. | |
1251 | (mips_expand_prologue): If the stack size is moved into a temporary | |
1252 | register, do not mark that move as frame-related. Add a | |
1253 | REG_FRAME_RELATED_EXPR note to the stack adjustment instruction. | |
1254 | ||
a8205f03 RS |
1255 | 2001-08-10 Richard Sandiford <rsandifo@redhat.com> |
1256 | ||
1257 | * config/mips/mips.c (save_restore_insns): Don't mark the RA's | |
1258 | stack slot as unchanging if current_function_calls_eh_return. | |
1259 | ||
2359d013 RS |
1260 | 2001-08-10 Richard Sandiford <rsandifo@redhat.com> |
1261 | ||
2a895e44 | 1262 | * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to |
2359d013 RS |
1263 | access the second half of the TFmode scratch operand. |
1264 | ||
ca11a2e9 AG |
1265 | 2001-08-10 Anthony Green <green@redhat.com> |
1266 | ||
1267 | * java/class.c (emit_register_classes): Conditionalize code on | |
1268 | JCR_SECTION_NAME. | |
1269 | ||
ca52d046 GP |
1270 | 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1271 | ||
1272 | * doc/install.texi (Specific, avr): Fix cross-reference to the | |
1273 | main manual to work both for info and HTML versions. | |
1274 | ||
396ad517 JDA |
1275 | 2001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1276 | ||
19652adf | 1277 | * stmt.c (expand_null_return_1): Remove code to generate simple returns |
396ad517 JDA |
1278 | and "use_goto" argument. |
1279 | (expand_null_return, expand_value_return): Update all callers. | |
1280 | * function.c (expand_function_end): Remove code to generate simple | |
1281 | return. | |
1282 | * config/vax/vax.md (epilogue): New expander for function return. | |
1283 | * doc/md.texi (epilogue): Remove "if defined". | |
1284 | ||
e361dcd3 ZW |
1285 | 2001-08-09 Zack Weinberg <zackw@stanford.edu> |
1286 | ||
1287 | * Makefile.in: Partially revert my previous change: | |
1288 | put -DGENERATOR_FILE back in HOST_CFLAGS, take it out | |
1289 | of the hashtab.o and safe-ctype.o rules. | |
1290 | ||
2cc07db4 RH |
1291 | 2001-08-09 Richard Henderson <rth@redhat.com> |
1292 | ||
1293 | * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses. | |
1294 | (USE_COLLECT2): Remove duplicate definition. | |
1295 | * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h. | |
1296 | (use_collect2): Remove dead code. | |
1297 | * configure.in (use_collect2): Remove will_use_collect2 and | |
1298 | maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines. | |
1299 | * configure: Rebuild. | |
1300 | ||
1301 | * target.h (targetm.asm_out.constructor): New. | |
1302 | (targetm.asm_out.destructor, targetm.have_ctors_dtors): New. | |
1303 | * target-def.h (TARGET_ASM_CONSTRUCTOR): New. | |
1304 | (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New. | |
1305 | * varasm.c (in_ctors, in_dtors): New. | |
1306 | (assemble_constructor, assemble_destructor): Remove. | |
1307 | (default_stabs_asm_out_destructor): New. | |
1308 | (default_named_section_asm_out_destructor): New. | |
1309 | (dtors_section, default_dtor_section_asm_out_destructor): New. | |
1310 | (default_stabs_asm_out_constructor): New. | |
1311 | (default_named_section_asm_out_constructor): New. | |
1312 | (ctors_section, default_ctor_section_asm_out_constructor): New. | |
1313 | * output.h: Update declarations. | |
1314 | * c-decl.c (c_expand_body): Use target hooks instead of | |
1315 | assemble_constructor and assemble_destructor. | |
1316 | * profile.c (output_func_start_profiler): Likewise. | |
1317 | * objc/objc-act.c (finish_objc): Likewise. | |
1318 | (build_module_descriptor): Tidy. Set TREE_PUBLIC properly | |
1319 | for the constructor. | |
1320 | * objc/Make-lang.in (objc-act.o): Depend on TARGET_H. | |
1321 | ||
1322 | * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define. | |
1323 | (DTORS_SECTION_ASM_OP): Likewise. | |
1324 | (__CTOR_LIST__): Use attribute section when possible. | |
1325 | (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise. | |
1326 | ||
1327 | * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on | |
1328 | ASM_OUTPUT_CONSTRUCTOR. | |
1329 | ||
1330 | * config/darwin.c (machopic_asm_out_constructor): New. | |
1331 | (machopic_asm_out_destructor): New. | |
1332 | * config/darwin-protos.h: Update declarations. | |
1333 | * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1334 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
1335 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
1336 | * config/nextstep.c (nextstep_asm_out_constructor): New. | |
1337 | (nextstep_asm_out_destructor): New. | |
1338 | * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1339 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
1340 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
1341 | * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of | |
1342 | ASM_OUTPUT_*STRUCTOR. | |
1343 | * config/i386/aix386ng.h: Likewise. | |
1344 | ||
1345 | * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove. | |
1346 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors. | |
1347 | (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove. | |
1348 | (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove. | |
1349 | * config/lynx.h: Likewise. | |
1350 | * config/netware.h: Likewise. | |
1351 | * config/psos.h: Likewise. | |
1352 | * config/alpha/alpha-interix.h: Likewise. | |
1353 | * config/alpha/elf.h: Likewise. | |
1354 | * config/arc/arc.h: Likewise. | |
1355 | * config/arm/aof.h: Likewise. | |
1356 | * config/arm/coff.h: Likewise. | |
1357 | * config/arm/elf.h: Likewise. | |
1358 | * config/c4x/c4x.h: Likewise. | |
1359 | * config/h8300/h8300.h: Likewise. | |
1360 | * config/i386/cygwin.h: Likewise. | |
1361 | * config/i386/djgpp.h: Likewise. | |
1362 | * config/i386/i386-coff.h: Likewise. | |
1363 | * config/i386/i386-interix.h: Likewise. | |
1364 | * config/i386/sco5.h: Likewise. | |
1365 | * config/i386/vsta.h: Likewise. | |
1366 | * config/i386/win32.h: Likewise. | |
1367 | * config/i960/i960-coff.h: Likewise. | |
1368 | * config/ia64/sysv4.h: Likewise. | |
1369 | * config/m68hc11/m68hc11.h: Likewise. | |
1370 | * config/m68k/coff.h: Likewise. | |
1371 | * config/m68k/mot3300.h: Likewise. | |
1372 | * config/m88k/m88k.h: Likewise. | |
1373 | * config/mcore/mcore-pe.h: Likewise. | |
1374 | * config/mcore/mcore.h: Likewise. | |
1375 | * config/mips/elf.h: Likewise. | |
1376 | * config/mips/elf64.h: Likewise. | |
1377 | * config/mips/iris6.h: Likewise. | |
1378 | * config/pa/pa64-hpux.h: Likewise. | |
1379 | * config/rs6000/sysv4.h: Likewise. | |
1380 | * config/sh/sh.h: Likewise. | |
1381 | * config/sparc/litecoff.h: Likewise. | |
1382 | ||
1383 | * config/svr3.h (CTORS_SECTION_ASM_OP): Remove. | |
1384 | (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove. | |
1385 | (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove. | |
1386 | * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1387 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
1388 | * config/a29k/a29k.c: Move include of tree.h. | |
1389 | * config/a29k/udi.h: Delete file. | |
1390 | * config/alpha/alpha.c (vms_asm_out_constructor): New. | |
1391 | (vms_asm_out_destructor): New. | |
1392 | * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors. | |
1393 | (EXTRA_SECTION_FUNCTIONS): Likewise. | |
1394 | (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove. | |
1395 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
1396 | * config/c4x/c4x.c: Move include of tree.h. | |
19652adf | 1397 | * config/clipper/clipper.c (clix_asm_out_constructor): New. |
2cc07db4 RH |
1398 | (clix_asm_out_destructor): New. |
1399 | * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1400 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
1401 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
1402 | * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1403 | (TARGET_ASM_CONSTRUCTOR): New. | |
1404 | * config/i386/i386.c (ix86_svr3_asm_out_constructor): New. | |
1405 | (sco_asm_out_constructor): New. | |
1406 | * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New. | |
1407 | * config/i386/svr3gas.h: Remove stack grows up code. | |
1408 | Remove code duplicated from i386/sysv3.h. | |
1409 | (TARGET_ASM_CONSTRUCTOR): New. | |
1410 | (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove. | |
1411 | (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove. | |
1412 | * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1413 | (TARGET_ASM_CONSTRUCTOR): New. | |
1414 | * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New. | |
1415 | (m68hc11_asm_out_destructor): New. | |
1416 | * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New. | |
1417 | (TARGET_ASM_DESTRUCTOR): New. | |
1418 | * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR. | |
1419 | * config/m68k/dpx2.h: Properly undef all the bits inherited from | |
1420 | config/svr3.h pertaining to section manipulation. | |
1421 | * config/m68k/dpx2g.h: Remove #if 0 code. | |
1422 | * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New. | |
1423 | * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo. | |
1424 | (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1425 | (TARGET_ASM_CONSTRUCTOR): New. | |
1426 | * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local. | |
1427 | (m88k_svr3_asm_out_constructor): New. | |
1428 | (m88k_svr3_asm_out_destructor): New. | |
1429 | * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1430 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
1431 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
1432 | * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code. | |
1433 | * config/rs6000/aix.h: Likewise. | |
1434 | * config/mips/rtems64.h: Don't undef removed constructor related bits. | |
1435 | * config/mips/vxworks.h: Likewise. | |
1436 | * config/rs6000/lynx.h: Likewise. | |
1437 | * config/sh/elf.h: Likewise. | |
1438 | * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New. | |
1439 | (DTORS_SECTION_ASM_OP): New. | |
1440 | * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1441 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
1442 | * config/sparc/sol2-sld-64.h: Likewise. | |
1443 | * config/vax/vax.c (vms_asm_out_constructor): New. | |
1444 | (vms_asm_out_destructor): New. | |
1445 | * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove. | |
1446 | (ASM_OUTPUT_DESTRUCTOR): Remove. | |
1447 | (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New. | |
1448 | ||
1449 | * doc/tm.texi (@node Initialization): Update. | |
1450 | ||
ef8d8b89 RH |
1451 | 2001-08-09 Richard Henderson <rth@redhat.com> |
1452 | ||
1453 | * config/alpha/crtbegin.asm (__JCR_LIST__): New. | |
1454 | (__do_global_dtors_aux): Use gp-relative static data to avoid | |
1455 | one dynamic relocation. | |
1456 | (__do_frame_setup): Register Java classes. | |
1457 | * config/alpha/crtend.asm (__JCR_END__): New. | |
1458 | ||
1b0c37d7 ZW |
1459 | 2001-08-09 Zack Weinberg <zackw@stanford.edu> |
1460 | ||
ef8d8b89 RH |
1461 | * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE. |
1462 | (CONFIG_H, TCONFIG_H, TM_P_H): Update. | |
1463 | (GEN, STAGESTUFF): Add new files. | |
1464 | (insn-constants.h, s-constants, tm-preds.h, s-preds, | |
1465 | genconstants, genpreds, genconstants.o, genpreds.o): New rules. | |
1466 | (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE. | |
1467 | * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h | |
1468 | as well as insn-codes.h and insn-flags.h in config.h; and no | |
1469 | extra headers in tconfig.h and hconfig.h. | |
1470 | ||
1471 | * gencodes.c: Eliminate code to generate predicate declarations | |
1472 | or #defines for md-file constants. | |
1473 | * genconstants.c, genpreds.c: New files. | |
1474 | ||
1475 | * i386.md: Re-order guard expressions such that TARGET_64BIT | |
1476 | comes first, when this permits better optimization. Add | |
1477 | TARGET_64BIT to more x86-64 patterns. Add comment explaining | |
1478 | why this is desirable. | |
1b0c37d7 | 1479 | |
a734f2a3 JJ |
1480 | 2001-08-09 Jakub Jelinek <jakub@redhat.com> |
1481 | ||
1482 | * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers. | |
1483 | (find_fde_for_dso): Remove. | |
1484 | (_Unwind_IteratePhdrCallback): New. | |
1485 | (_Unwind_FindTableEntry): Use dl_iterate_phdr. | |
1486 | * config/ia64/crtbegin.asm (__ia64_app_header): Remove. | |
1487 | ||
21d93687 RK |
1488 | Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1489 | ||
1490 | * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING. | |
1491 | (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING. | |
1492 | ||
b1b6b0cb GS |
1493 | 2001-08-09 Graham Stott <grahams@redhat.com> |
1494 | ||
1495 | * sched-vis.c (MAX_VISUAL_NO_UNIT): Define. | |
1496 | (vis_no_unit): Use it. | |
1497 | (visualize_no_unit): Add the insn only if room exists. | |
1498 | ||
a0e4ce74 GS |
1499 | 2001-08-09 Graham Stott <grahams@redhat.com> |
1500 | ||
1b0c37d7 ZW |
1501 | * predict.c (estimate_probability): Replace magic numbers with |
1502 | appropriate enumeration. | |
a4e11a5c GS |
1503 | |
1504 | 2001-08-09 Graham Stott <grahams@redhat.com> | |
1505 | ||
1506 | * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro | |
a0e4ce74 GS |
1507 | parameter. |
1508 | (EXTRACT_FLAGS): Likewise. | |
1509 | ||
77416b3d AH |
1510 | 2001-08-09 Aldy Hernandez <aldyh@redhat.com> |
1511 | ||
1b0c37d7 ZW |
1512 | * config/mips/mips.c (mips_legitimate_address_p): Check for |
1513 | CONST_INT in last patch. | |
77416b3d | 1514 | |
6351543d AG |
1515 | 2001-08-08 Anthony Green <green@redhat.com> |
1516 | ||
1517 | * java/class.c (emit_register_classes): Use assemble_jcr if | |
1518 | possible. Keep the original mechanism as a fallback. | |
1519 | * defaults.h (JCR_SECTION_NAME): Define if we have named section | |
1520 | and weak symbol support. | |
1521 | * crtstuff.c (__JCR_LIST__): Define. | |
1522 | (__JCR_END__): Define. | |
1523 | (_Jv_RegiserClasses): Define weak symbol if possible. | |
1524 | (__do_global_ctors_aux): Register classes for ELF targets with | |
1525 | weak symbol support. | |
1526 | ||
30f7a378 KH |
1527 | 2001-08-08 Kazu Hirata <kazu@hxi.com> |
1528 | ||
1529 | * dbxout.c: Fix comment formatting. | |
1530 | * dependence.c: Likewise. | |
1531 | * df.c: Likewise. | |
1532 | * diagnostic.c: Likewise. | |
1533 | * dominance.c: Likewise. | |
1534 | * doprint.c: Likewise. | |
1535 | * dwarf2out.c: Likewise. | |
1536 | * dwarfout.c: Likewise. | |
1537 | * emit-rtl.c: Likewise. | |
1538 | * except.c: Likewise. | |
1539 | * explow.c: Likewise. | |
1540 | * expmed.c: Likewise. | |
1541 | * expr.c: Likewise. | |
1542 | * flow.c: Likewise. | |
1543 | * fold-const.c: Likewise. | |
1544 | * function.c: Likewise. | |
1545 | ||
35e17f7e FS |
1546 | 2001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1547 | ||
1548 | * global.c (retry_global_alloc): Avoid shadowing allocno. | |
1549 | ||
2b1e2382 MM |
1550 | 2001-08-08 Mark Mitchell <mark@codesourcery.com> |
1551 | ||
1552 | * except.c (remove_fixup_regions): Fix typo. | |
1553 | ||
b9f22704 JM |
1554 | 2001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl> |
1555 | ||
1b0c37d7 | 1556 | * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to |
b9f22704 | 1557 | unsigned HOST_WIDE_INT to avoid warning. |
1b0c37d7 ZW |
1558 | * final.c (final): Cast INSN_UID to unsigned to avoid warning. |
1559 | * flow.c (set_block_for_new_insns): Likewise. | |
b9f22704 | 1560 | |
a4b07e7f JH |
1561 | Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz> |
1562 | ||
1563 | * sibcall.c (return_value_pseudo): New static variable. | |
1564 | (skip_copy_to_return_value): Handle return_value_pseudo. | |
1565 | (call_ends_block_p): Ensure that return_value_pseudo is set. | |
1566 | (optimize_sibling_and_tail_recursive_call): Discover the | |
1567 | load of pseudo return value in alternate exit block. | |
1568 | ||
9d98f8f9 JH |
1569 | Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz> |
1570 | ||
1571 | * calls.c (ECF_ALWAYS_RETURN): New constant. | |
1572 | (emit_call_1): Add REG_ALWAYS_RETURN note if needed. | |
1573 | (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func. | |
1574 | (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN. | |
1575 | * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN. | |
1576 | * rtl.c (reg_note_name): New name. | |
1577 | * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN. | |
1578 | ||
82423cba AH |
1579 | 2001-08-07 Aldy Hernandez <aldyh@redhat.com> |
1580 | ||
1581 | * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses. | |
1582 | ||
5755cd38 JM |
1583 | 2001-08-08 Jason Merrill <jason_merrill@redhat.com> |
1584 | ||
1585 | * alias.c (get_alias_set): Return a previously calculated | |
1586 | alias set for a VAR_DECL. | |
1587 | * function.c (gen_mem_addressof): Calculate the alias set before | |
1588 | touching the RTL. | |
1589 | ||
0f0138b6 JH |
1590 | Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz> |
1591 | ||
1592 | * predict.def: Set hitrates according our experimental run. | |
1593 | ||
1594 | Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz> | |
1595 | ||
1596 | * i386.h (HARD_REGNO_RENAME_OK): New macro. | |
1597 | ||
b2bcb32d L |
1598 | 2001-08-08 H.J. Lu <hjl@gnu.org> |
1599 | ||
1600 | * config/mips/mips.c (mips_unique_section): New. Copied from | |
1601 | config/mips/elf.h. | |
1602 | ||
1603 | * config/mips/mips-protos.h (mips_unique_section): New | |
1604 | prototype. | |
1605 | ||
1606 | * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section. | |
1607 | ||
1608 | * config/mips/little.h: New. Generic little endian mips | |
1609 | targets. Only mips*-*-linux* is converted to use it so far. | |
1610 | ||
1611 | * config/mips/linux.h: Include "gofast.h" and "mips/mips.h". | |
1612 | (WCHAR_TYPE): Defined | |
1613 | (WCHAR_TYPE_SIZE): Likewise. | |
1614 | (INIT_SUBTARGET_OPTABS): Likewise. | |
1615 | (BSS_SECTION_ASM_OP): Likewise. | |
1616 | (SBSS_SECTION_ASM_OP): Likewise. | |
1617 | (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
1618 | (ASM_DECLARE_OBJECT_NAME): Likewise. | |
1619 | (UNIQUE_SECTION): Likewise. | |
1620 | (EXTRA_SECTIONS): Likewise. | |
1621 | (ASM_OUTPUT_CONSTRUCTOR): Likewise. | |
1622 | (ASM_OUTPUT_DESTRUCTOR): Likewise. | |
1623 | (ASM_OUTPUT_DEF): Likewise. | |
1624 | (HANDLE_SYSV_PRAGMA): Removed. | |
1625 | (NO_IMPLICIT_EXTERN_C): Likewise. | |
1626 | (TARGET_MEM_FUNCTIONS): Likewise. | |
1627 | (STARTFILE_SPEC): Likewise. | |
1628 | (ENDFILE_SPEC): Likewise. | |
1629 | (LIB_SPEC): Likewise. | |
1630 | (INVOKE__main): Likewise. | |
1631 | (CTOR_LIST_BEGIN): Likewise. | |
1632 | (CTOR_LIST_END): Likewise. | |
1633 | (DTOR_LIST_BEGIN): Likewise. | |
1634 | (DTOR_LIST_END): Likewise. | |
1635 | (SET_ASM_OP): Likewise. | |
1636 | (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1637 | (ASM_OUTPUT_DEF): Likewise. | |
1638 | (ASM_OUTPUT_IDENT): Likewise. | |
1639 | ||
1640 | * config/mips/mips.h (ASM_SPEC): Undefine before define. | |
1641 | (CPLUSPLUS_CPP_SPEC): Likewise. | |
1642 | (ASM_APP_ON) Redefine only if not defined. | |
1643 | (ASM_APP_OFF): Likewise. | |
1644 | (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1645 | (ASM_OUTPUT_IDENT): Likewise. | |
1646 | ||
1647 | * config.gcc: Update tm_file for Linux/mips. | |
1648 | ||
b7933c21 BS |
1649 | 2001-08-08 Bernd Schmidt <bernds@redhat.com> |
1650 | ||
1651 | * cselib.c (cselib_record_sets): If insn is predicated, turn | |
1652 | sources into IF_THEN_ELSEs. | |
7dcc803e BS |
1653 | |
1654 | * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b): | |
1655 | Turn into define_insn_and_split. | |
b9f22704 | 1656 | |
4b6c5340 BS |
1657 | * sched-deps.c: Include "cselib.h". |
1658 | (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2): | |
1659 | Use cselib to turn memory addresses into VALUEs. | |
1660 | (sched_analyze): Call cselib_init/cselib_finish if necessary. | |
1661 | * sched-int.h (struct sched_info): New member USE_CSELIB. | |
1662 | * sched-ebb.c (ebb_sched_info): Initialize it. | |
1663 | * sched-rgn.c (rgn_sched_info): Likewise. | |
1664 | * Makefile.in (sched-deps.o): Update dependencies. | |
7dcc803e | 1665 | |
91700444 BS |
1666 | * cselib.h (cselib_subst_to_values): Declare. |
1667 | * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs | |
1668 | that have no value and autoincs to be handled by generating a new | |
1669 | dummy value. | |
b9f22704 | 1670 | |
674fc07d GS |
1671 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1672 | ||
1673 | * final.c (shorten_branches): Update the INSN_ADDRESSES of insns | |
1674 | within fixed length SEQUENCE. | |
1675 | ||
5f9689e5 GS |
1676 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1677 | ||
1678 | * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter. | |
1679 | (diagnostic_prefixing_rule): Likewise. | |
1680 | (diagnostic_line_cutoff): Likewise. | |
1681 | (diagnostic_kind_count): Likewise. | |
1682 | ||
6d8c73f7 GS |
1683 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1684 | ||
1685 | * alias.c (find_base_decl): Delete redundent assignment. | |
1686 | ||
8e0d15d4 GS |
1687 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1688 | ||
1689 | * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter. | |
1690 | (abs): Uppercase and paranthesize macro parameter. | |
1691 | (MEM_DEPENDENCY): Add whitespace. | |
1692 | ||
e5503743 GS |
1693 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1694 | ||
1695 | * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking | |
1696 | failure check for CONST_INT | |
1697 | ||
5b57e28b GS |
1698 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1699 | ||
1700 | * flow.c (back_edge_of_syntactic_loop_p): Add whitespace. | |
1701 | (libcall_dead_p): Likewise. | |
1702 | ||
1703 | (mark_used_regs): Constify fmt. | |
1704 | (find_use_as_address): Likewise. | |
1705 | ||
0f1e8126 GS |
1706 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1707 | ||
1708 | * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro | |
1709 | parameter. | |
1710 | ||
e61465ed GS |
1711 | 2001-08-08 Graham Stott <grahams@redhat.com> |
1712 | ||
1713 | * combine.c (combine_simplify_rtx): Update comment and | |
1714 | remove erroneous test. | |
1715 | ||
7364fdd8 NB |
1716 | 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk> |
1717 | ||
1718 | * cppinit.c (cpp_finish): Pop the final buffer without comment. | |
1719 | * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and | |
1720 | take care to avoid multiple no-newline at EOF warnings in that | |
1721 | case. | |
1722 | ||
570a98eb JH |
1723 | Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz> |
1724 | ||
1725 | * calls.c (expand_call): Do not emit INSN_SETJMP note. | |
1726 | (emit_library_call_value_1): Likewise. | |
1727 | (emit_call_1): Emit REG_SETJMP note. | |
1728 | * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead | |
1729 | of INSN_SETJMP | |
1730 | * cselib.c (cselib_process_insn): Likewise. | |
1731 | * flow.c (propagate_block): Likewise. | |
1732 | * loop.c (find_and_verify_loops): Likewise. | |
1733 | * reload.c (find_equiv_regs): Likewise. | |
1734 | * reload1.c (reload): Likewise. | |
1735 | * resource.c (mark_referenced_resources, | |
1736 | mark_set_resources): Likewise. | |
1737 | * sched-deps (sched_analyze_insn, sched_analyze): Likewise. | |
1738 | * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP. | |
1739 | * haifa-sched.c (unlink_other_notes): Likewise. | |
1740 | (reemit_notes): Likewise. | |
1741 | * sched-ebb.c (sched_ebb): Likewise. | |
1742 | * sched-rgc.c (sched_region): Likewise. | |
1743 | * rtl.c (note_insn_name): Likewise. | |
1744 | (reg_note_name): Add REG_SETJMP | |
1745 | * rtl.h (reg_note): Add REG_SETJMP. | |
1746 | (insn_note): Remove NOTE_INSN_SETJMP. | |
1747 | ||
1748 | * profile.c (branch_prob): Add fake edges for setjmp. | |
1749 | ||
ff25793c DJ |
1750 | 2001-08-07 Daniel Jacobowitz <drow@mvista.com> |
1751 | ||
1b0c37d7 ZW |
1752 | * config.gcc: Quote target_cpu_default2 correctly for |
1753 | powerpc*-*-* targets. | |
ff25793c | 1754 | |
42dcba34 NB |
1755 | 2001-08-07 Neil Booth <neil@daikokuya.demon.co.uk> |
1756 | ||
1757 | * cpplib.h, line-map.h: Update comments. | |
1758 | * cppmain.c (printer_init): Move inline. | |
1759 | (maybe_print_line, print_line): Take a map pointer. | |
1760 | (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update. | |
1761 | (cb_file_change): Don't use prior value of print.map. | |
1762 | ||
e8515283 DE |
1763 | 2001-08-07 David Edelsohn <edelsohn@gnu.org> |
1764 | ||
1765 | * doc/install.texi: Document fine-grained multilib configuration. | |
1766 | ||
0d025d43 JH |
1767 | Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz> |
1768 | ||
1769 | * rtlanal.c (find_first_parameter_load): Call note_stores | |
1770 | only on the instructions. | |
1771 | ||
24a28584 JH |
1772 | Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz> |
1773 | ||
1774 | * alias.c (nonlocal_mentioned_p): | |
1775 | Rename CONST_CALL_P to CONST_OR_PURE_CALL_P | |
1776 | * calls.c (emit_call_1): Likewise. | |
1777 | * cse.c (cse_insn, invalidate_skipped_block): Likewise. | |
1778 | * cselib.c (cselib_process_insn): Likewise. | |
1779 | * df.c (df_insns_modify): Likewise. | |
1780 | * flow.c (need_fake_edge_p): Likewise. | |
1781 | (propagate_one_insn): Likewise. | |
1782 | * haifa-sched.c (reemit_notes): Likewise. | |
1783 | * integrate.c (copy_insn_list): Likewise. | |
1784 | * jump.c (delete_prior_computation): Likewise. | |
1785 | * local-alloc.c (validate_equiv_mem): Likewise. | |
1786 | * loop.c (scan_loop): Likewise. | |
1787 | * predict.c (estimate_probability): Likewise. | |
1788 | * reload.c (reload): Likewise. | |
1789 | * sched-deps (sched_analyze): Likewise. | |
1790 | * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P. | |
1791 | * gcse.c (compute_hash_table): Likewise. | |
1792 | (mark_call): Likewise. | |
1793 | (store_killed_in_insn): Likewise. | |
1794 | ||
1b81b789 JM |
1795 | 2001-08-07 Jason Merrill <jason_merrill@redhat.com> |
1796 | ||
45dcf572 JM |
1797 | * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P. |
1798 | ||
2d2e44d2 RH |
1799 | 2001-08-06 Richard Henderson <rth@redhat.com> |
1800 | ||
1801 | * varasm.c (assemble_gc_entry): Remove. | |
1802 | * output.h: Likewise. | |
1803 | ||
47907859 RH |
1804 | 2001-08-06 Richard Henderson <rth@redhat.com> |
1805 | ||
1806 | * varasm.c (assemble_constructor): Take a symbol_ref and a | |
1807 | priority instead of a bare string. Move priority handling | |
1808 | here from cp/decl2.c. | |
1809 | * output.h: Update decls. | |
1810 | ||
1811 | * c-decl.c (c_expand_body): Update calls to assemble_constructor | |
1812 | and assemble_destructor. | |
1813 | * profile.c (output_func_start_profiler): Likewise. | |
1814 | * objc/objc-act.c (finish_objc): Likewise. | |
1815 | (build_module_descriptor): Return the symbol not the symbol name. | |
1816 | ||
362b68a8 DE |
1817 | 2001-08-06 David Edelsohn <edelsohn@gnu.org> |
1818 | ||
1819 | * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace. | |
1820 | * config/rs6000/linux64.h (RS6000_MCOUNT): Define. | |
1821 | ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define. | |
1822 | * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace. | |
1823 | * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace. | |
1824 | * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace. | |
1825 | ||
fde84349 NB |
1826 | 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk> |
1827 | ||
1828 | * cpperror.c (print_containing_files): Moved to line-map.c. | |
1829 | (print_location): line-map.c handles re-listing or otherwise. | |
1830 | * cpphash.h (struct lexer_state): Remove next_bol. | |
1831 | (struct cpp_buffer): Remove include_stack_listed. | |
1832 | * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer): | |
1833 | Remove faked buffer handling. | |
1834 | (_cpp_do_file_change): Tweak. | |
1835 | * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE. | |
1836 | * cppmain.c (struct printer): Remove filename. | |
1837 | (print_line, cb_file_change): Update accordingly. | |
1838 | * line-map.c: Include intl.h. | |
1839 | (init_line_maps): Initialize last_listed. | |
1840 | (free_line_maps): Sanity check, warn if ENABLED_CHECKING. | |
1841 | (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING. | |
1842 | (print_containing_files): New. | |
1843 | * line-map.h (struct line_maps): New member last_listed. | |
1844 | (print_containing_files, INCLUDED_FROM): New. | |
1845 | * Makefile.in: Update. | |
1846 | * po/POTFILES.in: Add line-map.c. | |
1847 | ||
df4556a3 RH |
1848 | 2001-08-06 Richard Henderson <rth@redhat.com> |
1849 | ||
1850 | * except.c (convert_from_eh_region_ranges_1): Never mark | |
1851 | USE or CLOBBER insns as throwing. | |
1852 | ||
1853 | * expr.c (store_constructor): Don't clobber memory targets. | |
1854 | ||
a4d3961a AJ |
1855 | 2001-08-06 Andreas Jaeger <aj@suse.de> |
1856 | ||
1857 | * profile.c (branch_prob): Remove unused variable insn. | |
1858 | ||
1859 | * Makefile.in (local-alloc.o): Add dependency on except.h. | |
1860 | ||
1861 | * local-alloc.c: Include except.h for can_throw_internal prototype. | |
1862 | ||
1d482056 RH |
1863 | 2001-08-06 Richard Henderson <rth@redhat.com> |
1864 | ||
1865 | * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New. | |
1866 | * function.c (expand_main_function): Implement it. | |
1867 | * doc/tm.texi: Document it. | |
1868 | ||
4f2b1139 SS |
1869 | 2001-08-06 Stan Shebs <shebs@apple.com> |
1870 | ||
1871 | * doc/install.texi: Document powerpc-*-darwin* details. | |
1872 | ||
f984d8df DB |
1873 | 2001-08-06 Daniel Berlin <dan@cgsoftware.com> |
1874 | ||
1875 | * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h | |
1876 | (ASM_CPU_SPEC): Move back to rs6000.h | |
1877 | #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them. | |
1878 | ||
1879 | * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro. | |
1880 | ||
1881 | * config/rs6000/linux.h: Remove vtable thunks stuff we accidently | |
a4d3961a | 1882 | readded. |
f984d8df DB |
1883 | |
1884 | * config/rs6000/linux64.h: Ditto. | |
1885 | ||
1886 | * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back | |
1887 | to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to | |
1888 | nothing. | |
1889 | ||
1890 | Remove accidently readded definitions of FUNCTION_PROLOGUE, | |
1891 | FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN | |
1892 | ||
1893 | * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back | |
1894 | to rs6000.h | |
a4d3961a | 1895 | |
78d56e8b RH |
1896 | 2001-08-05 Richard Henderson <rth@redhat.com> |
1897 | ||
1898 | * local-alloc.c (update_equiv_regs): Do not move insns that | |
1899 | can throw. | |
1900 | ||
39f95a2c JH |
1901 | 2001-08-05 Jan Hubicka <jh@suse.cz> |
1902 | ||
1903 | * Makefile.in (reload1.o): Add dedendancy on except.h | |
1904 | * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update | |
1905 | prototypes. | |
1906 | * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool | |
1907 | indicating wehther edges has been cleaned up. | |
1908 | * reload1.c: Inlucde except.h | |
1909 | (fixup_abnormal_edges): Accept deleted insns. | |
1910 | * toplev.c (rest_of_compilation): Purge dead edges unconditionally | |
1911 | after combine. | |
1912 | ||
9765f972 NB |
1913 | 2001-08-06 Neil Booth <neil@daikokuya.demon.co.uk> |
1914 | ||
1915 | * cpplib.c (do_line): Correct line number after pop_buffer. | |
1916 | ||
6604e6f3 NB |
1917 | 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk> |
1918 | ||
1919 | PR preprocessor/3824 | |
1920 | * line-map.c: Update comments. | |
1921 | * line-map.h: Update comments. | |
1922 | * tradcif.y: Don't consider large numbers unsigned. | |
1923 | ||
67821e3a NB |
1924 | 2001-08-05 Neil Booth <neil@daikokuya.demon.co.uk> |
1925 | ||
1926 | PR preprocessor/3081 | |
1927 | * c-lex.c (map): New. | |
1928 | (cb_file_change): Update map and use it. | |
1929 | (cb_def_pragma, cb_define, cb_undef): Use map and line. | |
1930 | (c_lex): Update to use map. | |
1931 | * cpperror.c (print_location): Move to using logical line numbers. | |
1932 | * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change. | |
1933 | (cpp_make_system_header): Similarly. | |
1934 | (_cpp_execute_include): Stop line numbering hacks. Store the | |
1935 | line we will return to. | |
1936 | * cpphash.h (CPP_BUF_LINE): Remove. | |
1937 | (struct cpp_buffer): Remove lineno and pseudo_newlines. | |
1938 | Add map and return_to_line. | |
1939 | (_cpp_do_file_change): Update. | |
1940 | * cppinit.c (cpp_start_read): Update line kludge. | |
1941 | * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines. | |
1942 | (trigraph_ok): Use logical line numbers for diagnostics. | |
1943 | (skip_block_comment): Likewise. | |
1944 | (skip_whitespace): Likewise. | |
1945 | (skip_line_comment): Use pfile->line instead. | |
1946 | (_cpp_lex_token): Update to use logical line numbering exclusively. | |
1947 | Handle BOL locally. Accept new lines in directives, but keep | |
1948 | pfile->line decremented. Diagnostics use logical lines. Update | |
1949 | directive handling. | |
1950 | * cpplib.c (SEEN_EOL): New. | |
1951 | (skip_rest_of_line, check_eol): Use it. | |
1952 | (end_directive): Increase line number when accepting the newline | |
1953 | at the end of a directive. | |
1954 | (run_directive): Simplify. | |
1955 | (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update. | |
1956 | (_cpp_do_file_change): Update to take buffer line number as an | |
1957 | argument, and store the current map in the cpp_reader. Remove | |
1958 | line number kludges. | |
1959 | (_cpp_do__Pragma): Restore output position after a _Pragma. | |
1960 | (cpp_push_buffer): Don't set output line or lineno. | |
1961 | (_cpp_pop_buffer): Transfer more info from a faked buffer. | |
1962 | Remove line kludge. Set output_line. | |
1963 | * cppmacro.c (builtin_macro): Update handling of __LINE__. | |
1964 | (parse_arg): Use logical lines. | |
1965 | (save_lookahead_token): Save EOFs too now. | |
1966 | * cppmain.c (struct printer): Fix comments. | |
1967 | (printer_init): Simplify, let caller do errors. | |
1968 | (scan_translation_unit, check_multiline_token, dump_macro): Update. | |
1969 | (maybe_print_line): Simplify. | |
1970 | (print_line): Don't print a linemarker if -P. | |
1971 | (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update. | |
1972 | (cb_file_change): Simplify. | |
1973 | * line-map.h (LAST_SOURCE_LINE): Fix. | |
1974 | (CURRENT_LINE_MAP): New. | |
1975 | ||
b05ecb16 BS |
1976 | 2001-08-05 Bernd Schmidt <bernds@redhat.com> |
1977 | ||
ab59db3c | 1978 | * doloop.c (doloop_modify_runtime): Properly compute number of |
b05ecb16 BS |
1979 | iterations if loop was unrolled. |
1980 | ||
ab59db3c BS |
1981 | * alias.c (rtx_equal_for_memref_p): VALUEs are only identical |
1982 | if their CSELIB_VAL_PTRs are. | |
1983 | ||
703cf211 BS |
1984 | * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn. |
1985 | (setup_spill_pointers): Initialize it. | |
1986 | (spill_restore_mem): Set it. | |
1987 | (do_spill, do_restore): Use it to add REG_INC note. | |
1988 | * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed. | |
1989 | ||
1ad72cef BS |
1990 | * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of |
1991 | asms if other insns are available. | |
1992 | ||
acb0638d BS |
1993 | * config/ia64/ia64.c (condop_operator): New predicate. |
1994 | * config/ia64/ia64.h (PREDICATE_CODES): Add it. | |
1995 | * config/ia64/ia64.md (cond_opsi2_internal and splitters): New | |
1996 | patterns. | |
1997 | ||
8125d7e9 BS |
1998 | * expr.c (expand_expr, case COND_EXPR): Prefer working with a |
1999 | temporary register than directly using a MEM. | |
2000 | ||
12355aec HPN |
2001 | 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com> |
2002 | ||
2003 | * config/sh/sh.c (sh_asm_named_section): Fix typo in align | |
2004 | parameter in last change. | |
2005 | ||
98c0c681 ZW |
2006 | 2001-08-04 Zack Weinberg <zackw@panix.com> |
2007 | ||
2008 | * sparc.md: Don't use #if inside C test expression. | |
2009 | ||
68c5782d RH |
2010 | 2001-08-04 Richard Henderson <rth@redhat.com> |
2011 | ||
2012 | * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack. | |
2013 | ||
8bbbef34 NB |
2014 | 2001-08-04 Neil Booth <neil@daikokuya.demon.co.uk> |
2015 | ||
2016 | * cpphash.h (struct cpp_reader): New member directive_line. | |
2017 | * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks. | |
2018 | * cpplib.c (do_define, do_undef, do_ident, do_include_common, | |
2019 | do_pragma): Pass line to callbacks. | |
2020 | (start_directive): Record line of directive. | |
2021 | * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma, | |
2022 | cb_include): Similarly. | |
2023 | * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma): | |
2024 | Similarly. | |
2025 | ||
95146dd6 HPN |
2026 | 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com> |
2027 | ||
2028 | * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION | |
2029 | comment. | |
2030 | ||
f1330226 JH |
2031 | Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz> |
2032 | ||
2033 | * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes. | |
2034 | ||
2035 | * reload1.c (fixup_abnormal_edges): New static function. | |
2036 | (reload): Use it. | |
2037 | ||
2038 | * flow.c (need_fake_edge_p): New function. | |
2039 | (flow_call_edges_add): Fix handling of noreturn and sibbling calls; | |
2040 | avoid call insn to be very last insn in the insn stream. | |
2041 | ||
2042 | * profile.c (branch_prob): Call flow_call_edges_add instead of | |
2043 | doing that by hand; cleanup cfg to re-merge basic blocks once | |
2044 | we are done. | |
2045 | ||
ef6e958a NB |
2046 | 2001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2047 | ||
2048 | * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h | |
2049 | are also on line-map.h. | |
2050 | * cppfiles.c (stack_include_file): Update. | |
2051 | * cpphash.h (struct cpp_buffer): New member return_at_eof. | |
2052 | (_cpp_pop_buffer): New. | |
2053 | * cppinit.c (cpp_destroy, cpp_finish): Update. | |
2054 | (do_includes): Mark each buffer to return at EOF. | |
2055 | * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or | |
2056 | return as requested. | |
2057 | * cpplib.c (run_directive, do_line, cpp_push_buffer): Update. | |
2058 | (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping. | |
2059 | * cpplib.h (cpp_pop_buffer): Remove. | |
2060 | (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput. | |
2061 | * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop | |
2062 | buffers. | |
2063 | * cppmain.c (scan_buffer): Rename scan_translation_unit. No need | |
2064 | to pop buffers. | |
2065 | (do_preprocessing): Update. | |
2066 | * fix-header.c (read_scan_file): Update. No need to pop buffers. | |
2067 | * c-parse.in (_yylex): Similarly. | |
2068 | * scan-decls.c (scan_decls): Similarly. | |
2069 | * line-map.h: Update comments. | |
2070 | ||
2071 | * objc/Make-lang.in (objc-act.o): Update dependencies. | |
2072 | ||
03997728 SC |
2073 | 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2074 | ||
a4d3961a | 2075 | * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory |
03997728 SC |
2076 | and soft register for operand 0. |
2077 | ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0. | |
2078 | ||
d8de89e8 SC |
2079 | 2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2080 | ||
2081 | * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft | |
2082 | register for operand 0. | |
2083 | ("bitcmpqi_z_used"): Allow memory for operand 0. | |
2084 | (split "bitcmpqi"): New split to handle address reg as operand 1. | |
2085 | ||
aaa4ca30 AJ |
2086 | 2001-08-04 Andreas Jaeger <aj@suse.de> |
2087 | ||
2088 | * gcse.c: Revert Daniel's last patch. | |
2089 | ||
da9314d5 ZW |
2090 | 2001-08-03 Zack Weinberg <zackw@stanford.edu> |
2091 | ||
a4d3961a | 2092 | * sparc-protos.h: Add prototypes for fp_zero_operand and |
da9314d5 ZW |
2093 | reg_or_0_operand. |
2094 | * sh-protos.h: Add prototype for fpul_operand. | |
2095 | ||
79323c50 HPN |
2096 | 2001-08-04 Hans-Peter Nilsson <hp@bitrange.com> |
2097 | ||
2098 | * doc/extend.texi (Other Builtins): Fix typo in last change. | |
2099 | ||
7c262518 RH |
2100 | 2001-08-03 Richard Henderson <rth@redhat.com> |
2101 | ||
a4d3961a | 2102 | * target.h (gcc_target): Add asm_out.named_section, |
7c262518 RH |
2103 | section_type_flags, have_named_sections. |
2104 | * target-def.h (TARGET_ASM_NAMED_SECTION): New. | |
2105 | (TARGET_HAVE_NAMED_SECTIONS): New. | |
2106 | (TARGET_SECTION_TYPE_FLAGS): New. | |
2107 | ||
2108 | * Makefile.in (toplev.o): Depend on TARGET_H. | |
2109 | (varasm.o, dbxout.o): Likewise. | |
2110 | * c-common.c (decl_attributes): Check targetm.have_named_sections | |
2111 | instead of ifdef ASM_OUTPUT_SECTION_NAME. | |
2112 | * dbxout.c (dbxout_function_decl): Likewise. | |
2113 | (dbxout_function_end): Likewise. | |
2114 | * toplev.c (compile_file): Likewise. | |
2115 | * varasm.c (exception_section): Likewise. | |
2116 | * cp/decl2.c (finish_objects): Likewise. | |
2117 | ||
2118 | * defaults.h (EH_FRAME_SECTION): Remove. | |
2119 | (EH_FRAME_SECTION_ASM_OP): Remove. | |
2120 | (EH_FRAME_SECTION_NAME): New. | |
2121 | (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME. | |
2122 | (UNIQUE_SECTION_P): Remove. | |
2123 | * dwarf2out.c (SECTION_FORMAT): Remove. | |
2124 | (ASM_OUTPUT_SECTION): Remove. | |
2125 | (output_call_frame_info): Use named_section_flags. | |
2126 | (output_comp_unit, dwarf2out_start_source_file): Likewise. | |
2127 | (dwarf2out_end_source_file, dwarf2out_define): Likewise. | |
2128 | (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise. | |
2129 | * varasm.c (in_eh_frame, eh_frame_section): Remove. | |
2130 | (named_section_flags): New. | |
2131 | (named_section): Use it and targetm.section_type_flags. | |
2132 | (resolve_unique_section): New. | |
2133 | (assemble_start_function): Use it. | |
2134 | (asm_emit_uninitialised, assemble_variable): Likewise. | |
2135 | (default_section_type_flags): New. | |
2136 | (default_no_named_section, default_elf_asm_named_section): New. | |
2137 | (default_coff_asm_named_section, default_pe_asm_named_section): New. | |
2138 | * output.h: Update varasm.c decls. | |
2139 | (SECTION_*): New flags. | |
2140 | ||
2141 | * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP. | |
2142 | (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section. | |
2143 | ||
2144 | * config/elfos.h (UNIQUE_SECTION_P): Remove. | |
2145 | * config/alpha/elf.h, config/arm/linux-elf.h: Likewise. | |
2146 | * config/arm/pe.h, config/arm/unknown-elf.h: Likewise. | |
2147 | * config/i386/cygwin.h, config/i386/djgpp.h: Likewise. | |
2148 | * config/i386/i386-interix.h, config/i386/win32.h: Likewise. | |
2149 | * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise. | |
2150 | * config/mips/elf.h, config/mips/elf64.h: Likewise. | |
2151 | * config/mips/iris6gld.h, config/mips/mips.h: Likewise. | |
a4d3961a | 2152 | * config/pa/pa64-hpux.h, |
7c262518 RH |
2153 | |
2154 | * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove. | |
2155 | (TARGET_ASM_NAMED_SECTION): New. | |
2156 | * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise. | |
2157 | * config/alpha/vms.h, config/arm/coff.h: Likewise. | |
2158 | * config/arm/conix-elf.h, config/arm/elf.h: Likewise. | |
2159 | * config/arm/linux-elf.h, config/arm/pe.h: Likewise. | |
2160 | * config/arm/unknown-elf.h, config/avr/avr.h: Likewise. | |
2161 | * config/c4x/c4x.h, config/h8300/h8300.h: Likewise. | |
2162 | * config/i386/cygwin.h, config/i386/djgpp.h: Likewise. | |
2163 | * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise. | |
2164 | * config/i386/sco5.h, config/i386/win32.h: Likewise. | |
2165 | * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise. | |
2166 | * config/mcore/mcore.h, config/mips/elf.h: Likewise. | |
2167 | * config/mips/elf64.h, config/mips/iris6.h: Likewise. | |
2168 | * config/mips/netbsd.h, config/mips/openbsd.h: Likewise. | |
2169 | * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise. | |
2170 | * config/rs6000/xcoff.h, config/sh/sh.h: Likewise. | |
2171 | * config/sparc/sysv4.h: Likewise. | |
2172 | ||
2173 | * config/nextstep.h: Error until named sections implemented. | |
2174 | ||
2175 | * config/a29k/a29k.c (a29k_asm_named_section): New. | |
2176 | * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New. | |
2177 | (vms_section_type_flags, vms_asm_named_section): New. | |
2178 | * config/arm/arm.c (arm_elf_asm_named_section): New. | |
2179 | * config/avr/avr.c (asm_output_section_name): Remove. | |
2180 | * config/avr/avr-protos.h: Update. | |
2181 | * config/c4x/c4x.c (c4x_asm_named_section): New. | |
2182 | * config/h8300/h8300.c (h8300_asm_named_section): New. | |
2183 | * config/i386/i386.c (sco_asm_named_section): New. | |
2184 | * config/i386/winnt.c (SECTION_PE_SHARED): New. | |
2185 | (i386_pe_section_type_flags): New. | |
2186 | (i386_pe_asm_named_section): New. | |
2187 | * config/i386/i386-protos.h: Update. | |
2188 | * config/m68k/m68k.c (m68k_coff_asm_named_section): New. | |
2189 | * config/mcore/mcore.c (mcore_asm_named_section): New. | |
2190 | * config/mips/mips.c (iris6_asm_named_section): New. | |
2191 | * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY | |
2192 | instead of UNIQUE_SECTION_P. | |
2193 | * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New. | |
2194 | (xcoff_asm_named_section): New. | |
2195 | * config/sh/sh.c (sh_asm_named_section): New. | |
2196 | * config/sparc/sparc.c (sparc_elf_asm_named_section): New. | |
2197 | ||
2198 | * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove. | |
2199 | * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove. | |
2200 | (EH_FRAME_SECTION_NAME): New. | |
2201 | (EXCEPTION_SECTION): New. | |
2202 | * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove. | |
2203 | (DEBUG_*_SECTION): Remove. | |
2204 | * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove. | |
2205 | * config/mips/iris6.h (DEBUG_*_SECTION): Remove. | |
2206 | (EH_FRAME_SECTION_ASM_OP): Remove. | |
2207 | ||
2208 | * doc/tm.texi (UNIQUE_SECTION_P): Remove. | |
2209 | (ASM_OUTPUT_SECTION_NAME): Remove. | |
2210 | (TARGET_ASM_NAMED_SECTION): New. | |
2211 | (TARGET_HAVE_NAMED_SECTIONS): New. | |
2212 | (TARGET_SECTION_TYPE_FLAGS): New. | |
2213 | (EH_FRAME_SECTION_ASM_OP): Remove. | |
2214 | (EH_FRAME_SECTION_NAME): New. | |
2215 | ||
13104975 ZW |
2216 | 2001-08-03 Zack Weinberg <zackw@stanford.edu> |
2217 | ||
2218 | * builtins.c (fold_builtin_constant_p): Return integer_zero_node | |
2219 | for complex expressions when cfun == 0. | |
2220 | * doc/extend.texi: Document that __builtin_constant_p can be | |
2221 | used in data initializers as well as functions. | |
2222 | ||
7335a349 AO |
2223 | 2001-08-03 Alexandre Oliva <aoliva@redhat.com> |
2224 | ||
2225 | * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare | |
2226 | variable I locally, instead of expecting a declaration in the | |
2227 | calling context. | |
2228 | ||
949f197f RH |
2229 | 2001-08-03 Richard Henderson <rth@redhat.com> |
2230 | ||
2231 | * except.c (collect_one_action_chain): Add an explicit cleanup | |
2232 | action if regions surrounding a catch were encoded entirely | |
2233 | within the call-site entry. | |
2234 | ||
c99fa40f RH |
2235 | 2001-08-03 Richard Henderson <rth@redhat.com> |
2236 | ||
2237 | * dbxout.c (dbxout_symbol_location): Flatten subregs first; | |
2238 | don't take REGNO of a non-register. | |
2239 | ||
5241c227 JDA |
2240 | 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2241 | ||
2242 | * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and | |
2243 | __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization. | |
2244 | (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1 | |
2245 | (__gthread_mutex_init_function): New function for mutex initialization. | |
2246 | ||
cbec6573 | 2247 | 2001-08-03 Daniel Berlin <dan@cgsoftware.com> |
a4d3961a | 2248 | |
cbec6573 DB |
2249 | * Makefile.in: Revert screwed up commit. |
2250 | ||
70a5787e SC |
2251 | 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2252 | ||
2253 | * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor. | |
2254 | * config/m68hc11/larith.asm (_exit): Split in several sub-sections | |
2255 | merged by linker script to get a final _exit(). | |
2256 | (__do_global_dtors): New for destructor handling in specific exit | |
2257 | section. | |
2258 | (__do_global_ctors): New for constructors in specific install section. | |
2259 | (__map_data_section): Map data sections before running constructors. | |
2260 | * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word. | |
2261 | (CTORS_SECTION_ASM_OP): Define to put in readonly section. | |
2262 | (DTORS_SECTION_ASM_OP): Likewise. | |
2263 | (CTORS_SECTION_FUNCTION): Define to force a reference to | |
2264 | __do_global_ctors. | |
2265 | (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors. | |
2266 | ||
9ebeebda | 2267 | 2001-08-03 Daniel Berlin <dan@cgsoftware.com> |
a4d3961a | 2268 | |
9ebeebda | 2269 | * ChangeLog: Fix date on previous ChangeLog entry for GCSE. |
a4d3961a | 2270 | |
9ebeebda DB |
2271 | * Makefile.in: Add df.h to gcse.c dependencies. |
2272 | ||
c6b74046 JDA |
2273 | 2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2274 | ||
2275 | * varasm.c (output_constant_def_contents): Use for the length of a | |
2276 | string constant either its TREE_STRING_LENGTH or its int_size_in_bytes | |
2277 | depending on which is larger. | |
2278 | ||
9ebeebda | 2279 | 2001-08-03 Daniel Berlin <dan@cgsoftware.com> |
adfcce61 | 2280 | |
39f95a2c JH |
2281 | * gcse.c: Include df.h for use as a dataflow analyzer. |
2282 | Remove regvec. | |
2283 | Declaration of reg_set_info: gone. | |
2284 | New df_analyzer variable used by store motion. | |
2285 | (reg_set_info): Deleted. | |
2286 | (mark_mem_regs): New function, analyze regs used by a mem. | |
2287 | (store_ops_ok): Use dataflow analyzer results to determine if | |
2288 | necessary regs are changed in the block. | |
2289 | (find_moveable_store): Remove check for symbol ref, we can handle | |
2290 | much more complex expressions now. | |
2291 | (compute_store_table): Remove most of the code, it's unnecessary | |
2292 | now that the dataflow analyzer records the info for us. | |
2293 | (store_killed_after): Add parameter to say whether to do the | |
2294 | store_ops_okay test, used to speed up testing when we already know | |
2295 | the answer, and just want to know if the store itself was killed. | |
2296 | (build_store_vector): Largely rewritten to calculate the various | |
2297 | vectors properly, and somewhat optimized. | |
a4d3961a | 2298 | (store_motion): Init the df_analyzer, get REG_DEF chains. |
39f95a2c JH |
2299 | Also handle trapping expressions (since mems almost always trap) |
2300 | (simple_mem): Redefine what a simple mem is. | |
adfcce61 | 2301 | |
667ccf73 DD |
2302 | 2001-08-03 DJ Delorie <dj@redhat.com> |
2303 | ||
2304 | * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary | |
2305 | set from a constant part of the condition. | |
2306 | ||
0821bff7 AC |
2307 | 2001-08-01 Andrew Cagney <ac131313@redhat.com> |
2308 | ||
2309 | * mkdeps.c (deps_add_default_target): Make local variable | |
2310 | ``start'' a const char pointer. | |
2311 | * dwarf2out.c (compute_section_prefix): Localize use of ``p''. | |
2312 | ||
b953cc4b RO |
2313 | 2001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2314 | ||
2315 | * doc/install.texi (Configuration): Fix markup. | |
2316 | (Specific, i?86-*-udk): Likewise. | |
2317 | (Specific, alpha*-dec-osf*): Warn against --with-gnu-as, | |
a4d3961a | 2318 | --with-gnu-ld. |
b953cc4b RO |
2319 | Document --enable-threads and --enable-libgcj status. |
2320 | (Specific, mips-sgi-irix*): Canonicalize triples. | |
2321 | (Specific, mips-sgi-irix5): Warn about problems with this config. | |
2322 | Mention required GNU as patch. | |
2323 | Native assembler problems are fixed. | |
2324 | (Specific, mips-sgi-irix6): Update O32 ABI support status. | |
2325 | Document --enable-threads and --enable-libgcj status. | |
2326 | ||
ef1f96f0 NC |
2327 | 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com> |
2328 | ||
2329 | * Makefile.in, mklibgcc.in: Restore changes with fixed invocation | |
2330 | of mkinstalldirs. | |
2331 | ||
6e5a6a6b RH |
2332 | 2001-08-03 Richard Henderson <rth@redhat.com> |
2333 | ||
2334 | * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to | |
2335 | constant data. | |
2336 | ||
dbc1a163 RH |
2337 | 2001-08-03 Richard Henderson <rth@redhat.com> |
2338 | ||
2339 | * rtlanal.c (find_first_parameter_load): Stop if we | |
2340 | reach a CODE_LABEL at BOUNDARY. | |
2341 | ||
54aaa4ea RH |
2342 | 2001-08-03 Richard Henderson <rth@redhat.com> |
2343 | ||
2344 | * config/alpha/alpha.md (force_movdi): New insn. | |
2345 | * config/alpha/alpha.c (alpha_expand_prologue): Use it. | |
2346 | Tweek FRP marking of VMS prologue insns. | |
2347 | * config/alpha/vms.h (EPILOGUE_USES): New. | |
2348 | ||
0360b30d RH |
2349 | 2001-08-02 Richard Henderson <rth@redhat.com> |
2350 | ||
2351 | * Makefile.in, mklibgcc.in: Revert mkinstalldirs change. | |
2352 | ||
8aeea6e6 LB |
2353 | 2001-08-02 Lars Brinkhoff <lars@nocrew.org> |
2354 | ||
2355 | * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c, | |
2356 | simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h, | |
2357 | config/convex/convex.h, config/d30v/d30v.c, | |
2358 | config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
2359 | config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c, | |
2360 | config/mips/mips.h, config/mn10200/mn10200.h, | |
2361 | config/mn10300/mn10300.h, config/pdp11/pdp11.md, | |
2362 | config/v850/v850.h, config/vax/openbsd.h, | |
2363 | config/vax/openbsd1.h, config/vax/ultrix.h, | |
2364 | config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h, | |
2365 | config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h, | |
2366 | cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi, | |
2367 | doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, | |
2368 | doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX" | |
39f95a2c | 2369 | in comments and documentation. |
8aeea6e6 | 2370 | |
d82fc108 NB |
2371 | 2001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2372 | ||
2373 | * line-map.c: New. | |
2374 | * line-map.h: New. | |
2375 | * Makefile.in (line-map.o): New. | |
2376 | (LIBCPP_OBJS, LIBCPP_DEPS): Update. | |
2377 | * c-lex.c (cb_file_change): Update for new cpp_file_change structure. | |
2378 | * cpperror.c (print_containing_files): Similarly. | |
2379 | (print_location): Update. Don't output a space before _Pragma. | |
2380 | * cppfiles.c (stack_include_file): Set to line 1 immediately. | |
2381 | (stack_include_filee, cpp_make_system_header): Update. | |
2382 | (_cpp_execute_include): Get logical line number right for calling | |
2383 | as-yet-unterminated #include. | |
2384 | * cpphash.h (struct cpp_reader): Add line_maps. | |
2385 | (_cpp_do_file_change): Update. | |
2386 | * cppinit.c (cpp_create_reader): Initialize line maps. | |
2387 | (cpp_destroy): Destroy line maps. | |
2388 | (cpp_start_read): Get logical line number right. | |
2389 | * cpplex.c (parse_string): Only warn once for multi-line strings. | |
2390 | Use boolean variable for null warning. | |
2391 | * cpplib.c (_cpp_handle_directive): End the directive if it isn't | |
2392 | already. | |
2393 | (do_include_common): End the directive early. | |
2394 | (do_line): Don't warn about out-of-range lines in preprocessed | |
2395 | source. Update. Remove unused variables. | |
2396 | (_cpp_do_file_change): Update for new line mapping. | |
2397 | (pragma_cb): New typedef. | |
2398 | (cpp_register_pragma): Stop looking ahead before calling the | |
2399 | handler. Clean up. | |
2400 | (do_pragma_system_header): End directive early. | |
2401 | (cpp_get_line_maps): New. | |
2402 | (cpp_pop_buffer): Fudge logical line. Update. | |
2403 | * cpplib.h: Include line-map.h | |
2404 | (enum cpp_fc_reason): Remove. | |
2405 | (struct cpp_file_change): Update. | |
2406 | (cpp_get_line_maps): New. | |
2407 | * cppmain.c (struct_printer): New member map. | |
2408 | (cb_file_change): Update for new mappings. | |
2409 | * fix-header.c (cb_file_change): Similarly. | |
2410 | ||
6dda00f0 NC |
2411 | 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com> |
2412 | ||
2413 | * Makefile.in (libgcc.mk): Define mkinstalldirs. | |
2414 | * mklibgcc.in: Use mkinstalldirs instead of mkdir. | |
2415 | ||
215b48a7 LB |
2416 | 2001-08-02 Lars Brinkhoff <lars@nocrew.org> |
2417 | ||
2418 | * config/vax/vax.c: include expr.h. | |
2419 | ||
e7f62dcf NC |
2420 | 2001-08-02 Nick Clifton <nickc@cambridge.redhat.com> |
2421 | ||
2422 | * Makefile.in ($(srcdir)/configure): Only rebuild in | |
2423 | maintainer mode. | |
2424 | ($(srcdir)/config.in): Only define in maintainer mode. | |
2425 | ($(srcdir)/cstamp-h.in): Only define in maintainer mode. | |
2426 | ||
4b5eb038 DE |
2427 | 2001-08-02 David Edelsohn <edelsohn@gnu.org> |
2428 | ||
2429 | * doc/install.texi (Install GCC: Binaries): Update Bull info. | |
2430 | ||
578672a2 RO |
2431 | 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2432 | ||
2433 | * gcc.c (set_collect_gcc_options): New function, split out from | |
2434 | main. | |
2435 | Ignore elided switches. | |
2436 | (do_spec_1): Invoke before executing command. | |
2437 | (set_input): Export. | |
2438 | Move declaration ... | |
2439 | * gcc.h (set_input): ... here. | |
2440 | * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input | |
2441 | file. | |
2442 | ||
1dbb6023 NS |
2443 | 2001-08-02 Nathan Sidwell <nathan@codesourcery.com> |
2444 | ||
2445 | Kill -fhonor-std. | |
2446 | * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std | |
2447 | interaction. | |
2448 | * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std. | |
2449 | ||
d6b6ba29 RS |
2450 | 2001-08-02 Richard Sandiford <rsandifo@redhat.com> |
2451 | ||
2452 | * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise | |
2453 | for the unnamed instructions it expands to. | |
2454 | ||
d3259baa RH |
2455 | 2001-08-02 Richard Henderson <rth@redhat.com> |
2456 | ||
2457 | * regclass.c (call_really_used_regs): Conditionally define. | |
2458 | (init_reg_sets_1): Don't use it if not defined. | |
2459 | (fix_register): Similarly, don't set it. | |
2460 | ||
eb77eeb3 GP |
2461 | 2001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2462 | ||
2463 | * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600. | |
2464 | Correct comment that had been missed in the previous change. | |
2465 | ||
4e08ba6c SS |
2466 | 2001-08-01 Stan Shebs <shebs@apple.com> |
2467 | ||
2468 | * config/darwin.c (machopic_stub_name): Try matching by name. | |
2469 | (update_stubs): New function. | |
2470 | (darwin_encode_section_info): Call it and update_non_lazy_ptrs | |
2471 | unconditionally. | |
2472 | ||
7a900ebc RH |
2473 | 2001-08-01 Richard Henderson <rth@redhat.com> |
2474 | ||
2475 | * except.c (output_function_exception_table): Use assemble_align. | |
2476 | * varasm.c (assemble_eh_label): Remove. | |
2477 | (assemble_eh_align, assemble_eh_integer): Remove. | |
2478 | ||
551e8a74 RL |
2479 | 2001-08-01 Robert Lipe <robertl@caldera.com> |
2480 | ||
39f95a2c | 2481 | * dwarfout.c: Remove reference to README.DWARF. |
551e8a74 | 2482 | |
fc1296b7 AM |
2483 | 2001-08-01 Andrew MacLeod <amacleod@redhat.com> |
2484 | ||
2485 | * regclass.c (call_really_used_regs): New array for registers which | |
2486 | are actually used by a call. | |
2487 | (init_reg_sets_1): Initialize regs_invalidated_by_call with the | |
2488 | new array. | |
2489 | (fix_register): Set call_really_used too. | |
2490 | * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize. | |
2491 | * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document. | |
2492 | ||
b38b083a RH |
2493 | 2001-08-01 Richard Henderson <rth@redhat.com> |
2494 | ||
2495 | * read-rtl.c (read_name): Consider \r whitespace. | |
2496 | ||
edf1b3f3 AC |
2497 | 2001-07-11 Andrew Cagney <ac131313@redhat.com> |
2498 | ||
2499 | * config.gcc: Recognize powerpc-*-netbsd*. | |
a4d3961a | 2500 | |
edf1b3f3 AC |
2501 | * doc/install.texi (Host/target specific installation notes for |
2502 | GCC): Mention powerpc-*-netbsd*. | |
2503 | ||
2504 | * config/rs6000/netbsd.h: New file. | |
2505 | (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine. | |
2506 | (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine. | |
2507 | (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine. | |
2508 | (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine. | |
2509 | (TARGET_VERSION): Redefine. | |
2510 | ||
2511 | * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize | |
2512 | mcall-netbsd as a match for mcall-sysv. | |
2513 | (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext). | |
2514 | (ncrti.S, ncrtn.S): New targets. | |
2515 | ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets. | |
a4d3961a | 2516 | |
edf1b3f3 AC |
2517 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize |
2518 | "netbsd' as a V4 ABI. | |
2519 | (ASM_SPEC): Check for -mcall-netbsd. | |
2520 | (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto. | |
2521 | (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto. | |
2522 | (LIB_SPEC, ENDFILE_SPEC): Ditto. | |
2523 | (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define. | |
2524 | (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define. | |
2525 | (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define. | |
2526 | (SUBTARGET_EXTRA_SPECS): Add NetBSD specs. | |
2527 | ||
2528 | * doc/invoke.texi (Option Summary): Add -mcall-netbsd. | |
2529 | (RS/6000 and PowerPC Options): Mention -mcall-netbsd. | |
2530 | ||
bda33a6e MK |
2531 | 2001-08-01 Mark Kettenis <kettenis@gnu.org> |
2532 | ||
2533 | * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define | |
2534 | only if NO_BASE_OF_ENCODED_VALUE isn't defined. | |
2535 | * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before | |
2536 | including "unwind-pe.h". | |
2537 | ||
75540af0 JH |
2538 | Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz> |
2539 | ||
2540 | * rs6000.md (define_splits): Kill unused constraints. | |
2541 | ||
2542 | Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com> | |
2543 | Jan Hubicka <jh@suse.cz> | |
2544 | ||
2545 | * function.c (thread_prologue_and_epilogue_insns): Kill code | |
2546 | dealing with non-existent CFG. | |
2547 | ||
ec5c56db KH |
2548 | 2001-08-01 Kazu Hirata <kazu@hxi.com> |
2549 | ||
2550 | * alias.c: Fix comment formatting. | |
2551 | * bitmap.c: Likewise. | |
2552 | * builtins.c: Likewise. | |
2553 | * calls.c: Likewise. | |
2554 | * c-common.c: Likewise. | |
2555 | * c-decl.c: Likewise. | |
2556 | * c-dump.c: Likewise. | |
2557 | * c-lex.c: Likewise. | |
2558 | * collect2.c: Likewise. | |
2559 | * combine.c: Likewise. | |
2560 | * conflict.c: Likewise. | |
2561 | * cppfiles.c: Likewise. | |
2562 | * cppinit.c: Likewise. | |
2563 | * cpplex.c: Likewise. | |
2564 | * cpplib.c: Likewise. | |
2565 | * cppmacro.c: Likewise. | |
2566 | * cppspec.c: Likewise. | |
2567 | * c-pragma.c: Likewise. | |
2568 | * crtstuff.c: Likewise. | |
2569 | * cse.c: Likewise. | |
2570 | * cselib.c: Likewise. | |
2571 | * c-semantics.c: Likewise. | |
2572 | * c-typeck.c: Likewise. | |
2573 | ||
2a25b23f L |
2574 | 2001-08-01 H.J. Lu <hjl@gnu.org> |
2575 | ||
2576 | * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined. | |
2577 | ||
a8329479 L |
2578 | 2001-08-01 H.J. Lu <hjl@gnu.org> |
2579 | ||
2580 | * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined. | |
2581 | ||
f2e6e530 ZL |
2582 | 2001-08-01 Ziemowit Laski <zlaski@apple.com> |
2583 | ||
39f95a2c | 2584 | * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for |
f2e6e530 ZL |
2585 | contextualizing Objective-C class name lookup by the lexer. |
2586 | (typespec_reserved_nonattr): Disable ObjC class name lookup after | |
2587 | seeing a TYPESPEC. | |
2588 | (protocoldef): Add support for forward @protocol declarations. | |
2589 | (yylexname): Suppress ObjC class name lookup in certain contexts; | |
2590 | re-enable after lookup is complete. | |
2591 | (_yylex): Re-enable ObjC class name lookup when certain | |
2592 | punctuation marks are seen. | |
2593 | ||
2594 | * objc/objc-act.c (check_protocol_recursively): New function used | |
2595 | for finding circular dependencies in protocols. | |
2596 | (objc_declare_protocols): New function for handling forward | |
2597 | @protocol declarations. | |
2598 | (receiver_is_class_object): Detect the case when 'self' is used | |
2599 | inside of a class method. | |
2600 | (build_message_expr): Issue a warning if class method is desired | |
2601 | but instance method is found instead. | |
2602 | (conforms_to_protocol): Streamline. | |
2603 | (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to | |
2604 | protocol Foo, even if 'Bar foo' does not. | |
2605 | (check_protocols): Streamline. | |
2606 | (start_protocol): Add checks for circular and duplicate protocol | |
2607 | definitions. | |
2608 | (encode_aggregate_within): For typedefs of structs, encode the | |
2609 | underlying struct. | |
2610 | * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor. | |
2611 | (objc_declare_protocols): New prototype. | |
2612 | ||
1444f2ed NB |
2613 | 2001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2614 | ||
2615 | * cpphash.h (struct cpp_reader): New members line, pseudo_newlines. | |
2616 | * cpplex.c (handle_newline): Update prototype. Maintain logical | |
2617 | line number. | |
2618 | (skip_escaped_newlines, skip_block_comment, parse_string): | |
2619 | Update accordingly. | |
2620 | (_cpp_lex_token): Update, and store token position within the token. | |
2621 | * cpplib.h (struct cpp_token): Add line and column entries. | |
2622 | * cppmacro.c (replace_args): Position stringified tokens correctly. | |
2623 | ||
7f8a2125 AJ |
2624 | 2001-08-01 Andreas Jaeger <aj@suse.de> |
2625 | ||
2626 | * basic-block.h: Add prototype for last_loop_beg_note. | |
2627 | ||
6ad7895a APB |
2628 | 2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com> |
2629 | ||
2630 | * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of | |
2631 | RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in | |
2632 | comment. | |
2633 | (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL | |
2634 | while handling WITH_CLEANUP_EXPR node. Use second operand calling | |
2635 | expand_decl_cleanup. | |
2636 | * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is | |
2637 | the first RTX. | |
2638 | (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second | |
2639 | operand while calling simple_cst_equal. | |
2640 | * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second | |
2641 | operand is the cleanup expression, the third is the RTL_EXPR. | |
7f8a2125 | 2642 | * tree.h (WITH_CLEANUP_EXPR_RTL): New macro. |
6ad7895a | 2643 | |
b24a9e88 JS |
2644 | 2001-07-31 Jeff Sturm <jsturm@one-point.com> |
2645 | ||
39f95a2c | 2646 | * except.c (duplicate_eh_regions): Test n_array[i] for NULL. |
b24a9e88 | 2647 | |
6ea0279f MG |
2648 | 2001-07-31 matthew green <mrg@eterna.com.au> |
2649 | ||
2650 | * config.gcc (i386-*-netbsdelf): New description. | |
2651 | * config/i386/netbsd-elf.h: New file. | |
2652 | ||
ae16bf15 GK |
2653 | 2001-07-30 Geoffrey Keating <geoffk@redhat.com> |
2654 | ||
2655 | * loop.c (check_dbra_loop): Use single_set to compute | |
2656 | jump_label. | |
2657 | ||
2bfcf297 DB |
2658 | 2001-07-31 Daniel Berlin <dan@cgsoftware.com> |
2659 | ||
2660 | PowerPC reorg and support for powerpc64-*-linux*. | |
2661 | ||
2662 | Also fixes emitting of constants on 32 bit and 64 bit | |
2663 | platforms. | |
7f8a2125 | 2664 | |
2bfcf297 | 2665 | * config.gcc: powerpc64-*-linux* is a new target. |
7f8a2125 | 2666 | Things that needed aix.h now also include xcoff.h |
2bfcf297 DB |
2667 | |
2668 | * config/rs6000/rs6000.h: Split XCOFF specific stuff into | |
7f8a2125 | 2669 | xcoff.h. |
2bfcf297 | 2670 | Move AIX specific stuff into aix.h. |
2bfcf297 DB |
2671 | (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used |
2672 | with more than just XCOFF now. | |
2673 | (SET_ASM_OP): Remove, now defined where needed. | |
2674 | (FUNCTION_PROLOGUE): New macro definition. | |
2675 | (FUNCTION_EPILOGUE): New macro definition. | |
2bfcf297 | 2676 | (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition. |
f96850af | 2677 | |
2bfcf297 DB |
2678 | * config/rs6000/xcoff.h: New file. |
2679 | ||
2680 | * config/rs6000/linux64.h: New file. | |
2681 | ||
2682 | * config/rs6000/darwin.h: Copy needed AIX alignment definitions. | |
f96850af DE |
2683 | |
2684 | 2001-07-31 Alan Modra <amodra@bigpond.net.au> | |
2685 | ||
2686 | * rs6000.c (print_operand_address): Handle ELF syntax. | |
2687 | (output_toc): Simplify. Use DOUBLE_INT_ASM_OP. | |
2688 | * rs6000.md (load_toc_aix_di): Handle ELF syntax. | |
2689 | * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP. | |
2690 | ||
2691 | 2001-07-31 David Edelsohn <edelsohn@gnu.org> | |
2692 | ||
2693 | * rs6000.c (rs6000_override_options): Only disable | |
2694 | flag_function_sections for XCOFF. | |
2695 | (exact_log2_cint_operand): New predicate. | |
2696 | (reg_or_{add,sub}_cint64_operand): New predicates. | |
2697 | (add_operand): Compare CONST_INT with fewer function calls. | |
2698 | (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions. | |
2699 | (print_operand, case 'p'): Ensure positive operand. | |
2700 | (rs6000_emit_load_toc_table): No load_toc_v4_pic_di. | |
2701 | * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value. | |
2702 | (PREDICATE_CODES): Add new predicates. | |
2703 | * rs6000.md (addsi3): Split 32-bit constants more correctly. | |
2704 | (divsi3, modsi3): Ensure positive power-of-2. | |
2705 | (adddi3): Use new predicate. Split 32-bit constants more | |
2706 | correctly. Re-arrange splitter to handle any constant. | |
2707 | (subdi3): Use new predicate. | |
2708 | (divdi3, moddi3): Ensure positive power-of-2. | |
2709 | (movdi): Use rs6000_emit_set_const. | |
2710 | (load_toc_v4_pic_di): Delete. | |
2bfcf297 | 2711 | |
dc56ceb7 GS |
2712 | 2001-07-31 Graham Stott <grahams@redhat.com> |
2713 | ||
2714 | * function.c (pad_below): Revert 2001-07-26 patch. | |
2715 | ||
3e42ccd2 JH |
2716 | Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz> |
2717 | ||
2718 | * reg-stack (convert_regs_1): Fix best edge condition. | |
2719 | ||
940b29aa JH |
2720 | Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz> |
2721 | ||
2722 | * jump.c (duplicate_loop_exit_test): Better test for jumps | |
2723 | entering the loop; create loop pre_header. | |
2724 | ||
91abf72d HP |
2725 | 2001-07-31 Hartmut Penner <hpenner@de.ibm.com> |
2726 | ||
39f95a2c JH |
2727 | * doc/install.texi: Add s390 and s390x as new targets. |
2728 | * doc/invoke.texi: Add documantation of S/390 and zSeries | |
2729 | target options. | |
2730 | * doc/md.texi: Add documantation of S/390 and zSeries constraints. | |
91abf72d | 2731 | |
8406d023 RZ |
2732 | 2001-07-30 Roman Zippel <zippel@linux-m68k.org> |
2733 | ||
2734 | * config/m68k/m68k.md: Replace all general_operand with | |
2735 | nonimmediate_operand for all destinations. | |
2736 | * config/m68k/m68k.c (not_sp_operand): Likewise. | |
2737 | ||
4d494dfe JW |
2738 | Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com) |
2739 | ||
39f95a2c | 2740 | * flow.c (merge_blocks): Return 1 if an extra jump is inserted. |
4d494dfe | 2741 | |
88828291 RH |
2742 | 2001-07-30 Richard Henderson <rth@redhat.com> |
2743 | ||
2744 | * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New. | |
2745 | * config/mips/iris6.h (DEBUG_RANGES_SECTION): New. | |
2746 | ||
f18bff15 RZ |
2747 | 2001-07-30 Roman Zippel <zippel@linux-m68k.org> |
2748 | ||
2749 | * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS): | |
2750 | Add missing doc strings | |
2751 | * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise | |
2752 | * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise | |
2753 | ||
0ecf09f9 JH |
2754 | Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz> |
2755 | ||
2756 | * i386.c (ix86_output_main_function_alignment_hack): New function. | |
2757 | (TARGET_ASM_FUNCTION_PROLOGUE): Default to it. | |
2758 | ||
2759 | * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back | |
2760 | edges by EDGE_DFS_BACK flag. | |
2761 | (dump_edge_info): Add dfs_back flag. | |
2762 | * basic-block.h (EDGE_DFS_BACK): New constant. | |
2763 | (mark_dfs_back_edges): Declare. | |
2764 | * alias.c (loop_p): Remove. | |
2765 | (mark_constant_function): Use mark_dfs_back_edges. | |
2766 | ||
2767 | * reg-stack.c (block_info_def): Add predecesors counter and stack_out. | |
2768 | (reg_to_stack): Call mark_dfs_back_edges; count the predecesors. | |
2769 | (compensate_edge): Break out from ... | |
2770 | (convert_regs_1): ... here; do smart choosing of stack_out to copy. | |
2771 | (convert_regs_2): Set block_done once block is really done; | |
2772 | Do updating of the predecesors counts. | |
2773 | ||
2774 | * toplev.c (rest_of_compilation): Recompute block_for_insn | |
2775 | before post-reload cfg_cleanup. | |
2776 | * function.c (thread_prologue_epilogue_insns): | |
2777 | Call set_block_for_new_insns when emitting prologue directly. | |
2778 | ||
1490f392 AJ |
2779 | 2001-07-30 Andreas Jaeger <aj@suse.de> |
2780 | ||
39f95a2c | 2781 | * jump.c: Add prototype for mark_modified_reg. |
1490f392 | 2782 | |
39f95a2c | 2783 | * cse.c (set_live_p): Add unused attribute. |
1490f392 | 2784 | |
39f95a2c JH |
2785 | * gcov.c (calculate_branch_probs): Use gcov_type to avoid |
2786 | overflow. | |
2787 | (scan_for_source_files): Use long for count to avoid overflow. | |
2788 | (output_data): Likewise. | |
2789 | (output_data): Don't use string concatatenation to silence gcc | |
2790 | -traditional. | |
1490f392 | 2791 | |
39f95a2c | 2792 | * predict.c: Fix typos and grammar. |
1490f392 AJ |
2793 | |
2794 | * gcse.c (insert_insn_end_bb): Remove unused variables. | |
2795 | ||
a08b2604 JH |
2796 | Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz> |
2797 | ||
2798 | * flow.c (mark_set_1): Use REG_FREQ_FROM_BB. | |
2799 | (attempt_auto_inc): LIkewise. | |
2800 | (mark_used_reg): Likewise. | |
2801 | (try_pre_increment_1): Likewise. | |
2802 | * regclass.c (regclass): Likewise. | |
2803 | * global.c (allocno_compare): Update comment; change scaling factor. | |
2804 | * local-alloc.c (QTY_CMP_PRI): Likewise. | |
2805 | * regs.h (REG_FREQ_FROM_BB): New. | |
2806 | (REG_FREQ_MAX): Likewise. | |
2807 | ||
c2c0294a L |
2808 | 2001-07-30 H.J. Lu <hjl@gnu.org> |
2809 | ||
2810 | * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add | |
2811 | -D_GNU_SOURCE. | |
2812 | ||
8597f3dd L |
2813 | 2001-07-30 H.J. Lu (hjl@gnu.org) |
2814 | ||
2815 | * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined. | |
2816 | (ASM_DECLARE_FUNCTION_SIZE): Likewise. | |
2817 | (FUNCTION_NAME_ALREADY_DECLARED): Likewise. | |
2818 | ||
b3026a92 NC |
2819 | 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com> |
2820 | ||
2821 | * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well | |
2822 | as -mthumb-interwork when -mcpu=arm7 is specified. | |
2823 | ||
8b7e92f9 JH |
2824 | Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz> |
2825 | ||
2826 | * predict.def (noreturn, loop branch, loop exit): Mark as first | |
2827 | match heuristics. | |
2828 | ||
592a6d1d JH |
2829 | Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz> |
2830 | ||
2831 | * combine.c (try_combine): Avoid barrier after noop jumps. | |
2832 | ||
09b82253 NB |
2833 | 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2834 | ||
2835 | * cpphash.h (struct cpp_reader): Remove import_warning. | |
2836 | * cpplib.c (skip_rest_of_line): Don't bother turning off | |
2837 | macro expansion. | |
2838 | (parse_include): Move include handling to... | |
2839 | (do_include_common): ... here. Move import warning from... | |
2840 | (do_import): ... here. | |
2841 | (do_pragma_poison): Don't do a callback for poison identifiers. | |
2842 | * cpplib.h (struct cpp_callbacks): Don't do poison callbacks. | |
2843 | * cppmain.c (setup_callbacks): Similarly. | |
2844 | ||
833366d6 JH |
2845 | Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz> |
2846 | ||
2847 | * rtlanal.c (parms_set, find_first_parameter_load): Break out from...; | |
2848 | handle multiple sets. | |
2849 | * except.c (sjlj_mark_call_sites): .... here. | |
2850 | * gcse.c (insert_insn_end_bb): Use find_first_parameter_load. | |
2851 | ||
b5832b43 JH |
2852 | Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz> |
2853 | ||
2854 | Suggested by Richard Henderson and Richard Kenner: | |
2855 | * combine.c (recog_for_combine): Use the fake recog | |
2856 | only if instruction does not match. | |
2857 | * rtl.h (NOOP_MOVE_INSN_CODE): New. | |
2858 | * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE. | |
2859 | ||
2860 | * combine.c (try_combine): Discover noop jump as direct jump. | |
2861 | ||
12285d9d DB |
2862 | 2001-07-29 Daniel Berlin <dan@cgsoftware.com> |
2863 | ||
2864 | * df.c (df_rd_global_compute): Add successors to worklist, not | |
2865 | current item. | |
2866 | (df_ru_global_compute): Ditto. | |
2867 | ||
b2d57793 DB |
2868 | 2001-07-27 Daniel Berlin <dan@cgsoftware.com> |
2869 | ||
2870 | * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we | |
2871 | increment REG_N_SETS. | |
2872 | ||
2873 | 2001-07-26 Daniel Berlin <dan@cgsoftware.com> | |
2874 | ||
2875 | * sbitmap.h: New prototype for sbitmap_a_xor_b. | |
2876 | ||
2877 | * sbitmap.c (sbitmap_a_xor_b): New function. | |
2878 | ifdef the basic block stuff on IN_GCC. | |
2879 | ||
6d18adbc NB |
2880 | 2001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
2881 | ||
2882 | * cppexp.c (parse_defined): Always record the macro name. | |
2883 | (lex): Don't worry about identifiers, or special-case | |
2884 | CPP_NOT here. | |
2885 | (_cpp_parse_expr): Figure out at the end of the routine | |
2886 | whether we saw a valid !defined() expression. | |
2887 | * cppfiles.c (stack_include_file): Update for mi_valid. | |
2888 | (_cpp_pop_file_buffer): Similarly. | |
2889 | * cpplex.c (_cpp_lex_token): Similarly. | |
2890 | * cpphash.h (enum mi_state, enum mi_ind, mi_state, | |
2891 | mi_if_not_defined, mi_lexed): Remove. | |
2892 | (mi_valid): New. | |
2893 | * cpplib.c (do_if): Simplify. | |
2894 | (do_endif, push_conditional, _cpp_handle_directive): Update | |
2895 | for renaming of mi_state to mi_valid. | |
2896 | doc: | |
2897 | * cpp.texi: Add index entries for digraphs, and add comment | |
2898 | that C++ refers to them as alternative tokens. | |
2899 | ||
0068fd96 JH |
2900 | Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz> |
2901 | ||
2902 | * basic-block.h (CLEANUP_PRE_LOOP): New. | |
2903 | * except.c (finish_eh_generation): Update call of cleanup_cfg. | |
2904 | * sibcall.c (optimize_sibling_calls): Likewise. | |
2905 | * toplev.c (rest_of_compilation): Likewise. | |
2906 | * flow.c (try_forward_edges): Take argument MODE; | |
2907 | do not forward over loop pre-headers if CLEANUP_PRE_LOOP. | |
2908 | (try_optimize_cfg): Update call of try_forward_edges. | |
2909 | ||
2910 | Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org> | |
2911 | Jan Hubicka <jh@suse.cz> | |
2912 | ||
2913 | * (validate_replace_rtx_1): Fix simplification of MINUS. | |
2914 | ||
df07e07d NB |
2915 | 2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk> |
2916 | ||
2917 | PR preprocessor/3669 | |
2918 | * cppinit.c (init_dependency_output): Turn off dump requests | |
2919 | if sending dependencies to stdout. | |
2920 | ||
587f922a RH |
2921 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2922 | ||
2923 | * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if | |
2924 | not optimizing. | |
2925 | ||
89f355bd G |
2926 | 2001-07-28 Golubev I. N. <gin@mo.msk.ru> |
2927 | ||
2928 | * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define. | |
2929 | ||
391522e3 KH |
2930 | 2001-07-28 Kazu Hirata <kazu@hxi.com> |
2931 | ||
2932 | * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL | |
2933 | is VAR_DECL first to prevent an ICE. | |
2934 | ||
6681bc1f RH |
2935 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2936 | ||
2937 | * varasm.c (immed_real_const_1): Don't elide special cases for | |
2938 | nested functions. | |
2939 | (clear_const_double_mem): Clear const_tiny_rtx too. | |
2940 | ||
a20612aa RH |
2941 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2942 | ||
2943 | * dwarf2out.c (dw_val_class_offset): New. | |
2944 | (struct dw_ranges_struct, dw_ranges_ref): New. | |
2945 | (ranges_table, ranges_table_allocated): New. | |
2946 | (ranges_table_in_use, RANGES_TABLE_INCREMENT): New. | |
2947 | (add_AT_offset, add_ranges, output_ranges): New. | |
2948 | (print_die, output_die): Handle dw_val_class_offset. | |
2949 | (attr_checksum, size_of_die, value_format): Likewise. | |
2950 | (gen_lexical_block_die): Handle non-contiguous blocks. | |
2951 | (gen_block_die): Likewise. | |
2952 | (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit | |
2953 | if needed. Dump the ranges table. | |
2954 | * final.c (final_start_function): Remove unnecessary notes and | |
2955 | rebuild the block tree before numbering the blocks. | |
2956 | * function.c (reorder_blocks_0): Walk the existing block tree | |
2957 | to unmark all blocks. | |
2958 | (reorder_blocks_1): Create block fragments when duplicate block | |
2959 | notes are seen. | |
2960 | (reorder_fix_fragments): New. | |
2961 | (reorder_blocks): Call it. | |
2962 | * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New. | |
2963 | ||
c2f7bcc3 RH |
2964 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2965 | ||
2966 | * emit-rtl.c (adjust_address): Make a copy of the memory address. | |
2967 | ||
91d84fad RH |
2968 | 2001-07-28 Richard Henderson <rth@redhat.com> |
2969 | ||
2970 | * flow.c (add_to_mem_set_list): New function. | |
2971 | (init_propagate_block_info): Use it. | |
2972 | (mark_set_1): Likewise. | |
2973 | (insn_dead_p): Canonicalize memory address for dead store | |
2974 | comparison. Allow wider mode stores to kill narrower mode stores. | |
2975 | (invalidate_mems_from_autoinc): Use invalidate_mems_from_set. | |
2976 | (invalidate_mems_from_set): Don't handle MEMs. | |
2977 | ||
0a02170f KH |
2978 | 2001-07-28 Kazu Hirata <kazu@hxi.com> |
2979 | ||
2980 | * config/h8300/h8300.h: Fix formatting. | |
2981 | ||
134d3a2e JH |
2982 | Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz> |
2983 | ||
2984 | * basic-block.h (EDGE_FREQUENCY): New macro. | |
2985 | * bb-reorder (fixup_reorder_chain): Set counts and frequencies | |
2986 | for new BB/edges. | |
2987 | * flow.c (find_sub_basic_blocks): Likewise. | |
2988 | (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY | |
2989 | (redirect_edge_and_branch): Use EDGE_FREQUENCY. | |
2990 | ||
2991 | * predict.c (DEF_PREDICTOR): New argument FLAGS. | |
2992 | (HITRATE): New macro. | |
2993 | (PRED_FLAG_FIRST_MATCH): New constant. | |
2994 | (predictor_info): New field flgags. | |
2995 | (combine_predictions_for_insn): Use DS theory to combine | |
2996 | probabilities; set the edge probabilities when finished. | |
2997 | (estimate_probability): Avoid duplicated matches | |
2998 | of LOOP_BRANCH heuristics for nested loops; update comment. | |
2999 | * predict.def: Add flags for each prediction, set probabilities | |
3000 | according to B&L paper. | |
3001 | * predict.h (DEF_PREDICTOR): New argument FLAGS. | |
3002 | ||
3003 | * profile.c (compute_branch_probabilities): Cleanup way the edge | |
3004 | probabilities are computed and REG_BR_PROB notes are dropped; if | |
3005 | values does not match, emit error. | |
3006 | (init_branch_prob): Do error instead of warning when profile driven | |
3007 | feedback is missing or corrupt. | |
3008 | ||
7f646877 DD |
3009 | 2001-07-27 DJ Delorie <dj@redhat.com> |
3010 | ||
3011 | * ifcvt.c (noce_get_alt_condition): If the condition is a compare | |
3012 | against a constant, try to adjust the compare to have the desired | |
3013 | constant in it so that min/max optimizations happen more often. | |
3014 | ||
d69d0316 JH |
3015 | Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
3016 | ||
3017 | * flow.c (last_loop_beg_note): New function. | |
3018 | (redirect_edge_and_branch): Use it. | |
3019 | (split_edge): Likewise. | |
3020 | ||
3021 | * alias.c (loop_p): Avoid uninitialized memory access. | |
3022 | ||
3023 | * flow.c (try_forward_edges): Avoid accessing freed memory. | |
3024 | ||
3025 | * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized | |
3026 | variable access. | |
3027 | ||
0dd99795 AH |
3028 | 2001-07-26 Andrew Haley <aph@redhat.com> |
3029 | Joern Rennecke <amylaar@redhat.com> | |
3030 | ||
3031 | * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New. | |
3032 | (SUBTARGET_CPP_ENDIAN_SPEC): New. | |
3033 | (SUBTARGET_CPP_SPEC): New. | |
3034 | (CPP_SPEC): Remove. | |
3035 | * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New. | |
3036 | (SUBTARGET_CPP_PTR_SPEC): New. | |
3037 | (CPP_DEFAULT_CPU_SPEC): New. | |
3038 | (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC, | |
3039 | SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC. | |
3040 | (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC, | |
3041 | SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC. | |
3042 | (SUBTARGET_CPP_SPEC): Define as an empty string. | |
3043 | ||
e69aa433 GP |
3044 | 2001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3045 | ||
3046 | * doc/install.texi (Configuration): Properly link the host | |
3047 | specific instructions also when generating HTML. | |
3048 | ||
a727094f JW |
3049 | Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com) |
3050 | ||
39f95a2c | 3051 | * flow.c (redirect_edge_and_branch_force): Test |
a727094f JW |
3052 | target->global_live_at_start. |
3053 | ||
732910b9 RH |
3054 | 2001-07-26 Richard Henderson <rth@redhat.com> |
3055 | ||
3056 | * simplify-rtx.c (avoid_constant_pool_reference): Export. | |
3057 | * rtl.h (avoid_constant_pool_reference): Declare it. | |
3058 | * dwarf2out.c (add_location_or_const_value_attribute): Use it. | |
3059 | (add_const_value_attribute): Use add_AT_unsigned for unsigned values. | |
3060 | ||
01f62f01 JH |
3061 | Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz> |
3062 | ||
3063 | * rtl.h (cleanup_barriers): Declare. | |
3064 | * jump.c (cleanup_barriers): New function. | |
3065 | * toplev.c (rest_of_compilation): Call cleanup_barriers | |
3066 | before loop optimizer and after bb_reorder. | |
3067 | ||
3068 | * flow.c (back_edge_of_syntactic_loop_p): New. | |
3069 | (split_edge): Use it. | |
3070 | ||
aa069f77 RO |
3071 | 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3072 | ||
3073 | * glimits.h (_MACH_MACHLIMITS_H_): Delete. | |
3074 | ||
c96208fa DC |
3075 | Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru> |
3076 | ||
3077 | * cse.c (cse_process_notes): Replace any registers if the address | |
3078 | remains valid. | |
3079 | ||
11f68165 JW |
3080 | Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com) |
3081 | ||
3082 | * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define. | |
3083 | (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES. | |
3084 | (propagate_block): Update prototype. | |
3085 | * flow.c (update_life_info): Simplify the CFG and | |
3086 | recalculate the global regs which are alive when | |
3087 | removing dead code during a global update. | |
3088 | (propagate_block): Return non-zero if an INSN is | |
3089 | deleted. | |
3090 | ||
62c62a4f RO |
3091 | 2001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3092 | ||
3093 | * Makefile.in (LIBICONV): Define. | |
3094 | ||
06e937ed CM |
3095 | 2001-07-26 Catherine Moore <clm@redhat.com> |
3096 | ||
39f95a2c JH |
3097 | * config/v850/v850.h (ENCODE_SECTION_INFO): Change order |
3098 | of conditional to avoid tree checking errors. | |
06e937ed | 3099 | |
f3029065 KH |
3100 | 2001-07-26 Kazu Hirata <kazu@hxi.com> |
3101 | ||
3102 | * regmove.c (regmove_optimize): Don't replace a reg with | |
3103 | another reg of a different mode. | |
3104 | ||
4a121cc3 AM |
3105 | 2001-07-26 Andrew MacLeod <amacleod@redhat.com> |
3106 | ||
1490f392 | 3107 | * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to |
4a121cc3 AM |
3108 | limit length of dependancy flush list. |
3109 | * params.h (MAX_PENDING_LIST_LENGTH): Define. | |
3110 | * sched-int.h (struct deps): Add pending_flush_length field. | |
3111 | * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now | |
3112 | has 1 element in it. | |
3113 | (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH. | |
3114 | (sched_analyze): After a jump, if the pending memory flush list is too | |
3115 | large, flush the pending lists. | |
3116 | (init_deps): Initialize pending_flush_length to 0. | |
3117 | * doc/invoke.texi (max_pending_list_length): Document parameter. | |
3118 | ||
440aabf8 NB |
3119 | 2001-07-26 Neil Booth <neil@daikokuya.demon.co.uk> |
3120 | ||
3121 | * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate. | |
3122 | * dbxout.c (dbxout_global_decl): Move outside #ifdef. | |
3123 | * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies. | |
3124 | ||
cef0d199 NB |
3125 | 2001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
3126 | ||
3127 | * cpphash.h (struct_lexer_state): Delete was_skipping. | |
3128 | Move skipping here from struct cpp_reader. | |
3129 | * cpplex.c (parse_identifier): Update. | |
3130 | (_cpp_lex_token): Don't skip tokens in a directive. | |
3131 | * cpplib.c (struct if_stack): Update. | |
3132 | (start_directive, end_directive): Don't change skipping state. | |
3133 | (_cpp_handle_directive): Update. | |
3134 | (do_ifdef, do_ifndef, do_if, do_elif): Similarly. | |
3135 | (do_else, do_endif): Update; only check for excess tokens if not | |
3136 | in a skipped conditional block. | |
3137 | (push_conditional): Update for new struct if_stack. | |
3138 | ||
5b16f556 GS |
3139 | 2001-07-26 Graham Stott <grahams@redhat.com> |
3140 | ||
3141 | * function.c (locate_and_pad_parm): Also pad initial offset | |
3142 | so that the total argument size also includes the padding. | |
3143 | ||
3144 | 2001-07-26 Graham Stott <grahams@redhat.com> | |
3145 | ||
3146 | * gensupport.c (alter_output_for_insn): Correct enable checking failure | |
3147 | change XSTR to XTMPL. | |
3148 | ||
3149 | (process_one_cond_exec): Likewise | |
3150 | ||
17eee61c RH |
3151 | 2001-07-25 Richard Henderson <rth@redhat.com> |
3152 | ||
3153 | * varasm.c (assemble_variable): Create DECL_RTL before setting | |
3154 | TREE_ASM_WRITTEN. | |
3155 | ||
c4f81e4a JH |
3156 | Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz> |
3157 | ||
3158 | * predict.c (estimate_probability): Avoid duplicated predictions. | |
3159 | ||
3160 | * loop.c (find_and_verify_loops): Grok multiple barriers. | |
3161 | ||
02e3f1a8 RK |
3162 | Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3163 | ||
472385a2 RK |
3164 | * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'. |
3165 | ||
02e3f1a8 | 3166 | * dbxout.c: Consistently use putc instead of fputc. |
1490f392 | 3167 | (print_wide_int): New function; call instead of direct fprintf. |
02e3f1a8 RK |
3168 | (dbxout_type_index): Adjust calls of CHARS to be more accurate. |
3169 | (dbxout_type_fields, dbxout_type_method_1): Likewise. | |
3170 | (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise. | |
3171 | (print_int_cst_octal): Likewise. | |
3172 | (print_octal): Show we wrote characters. | |
3173 | (dbxout_type): Set have_used_extensions in more places. | |
3174 | ||
f2d28b14 CM |
3175 | 2001-07-25 Catherine Moore <clm@redhat.com> |
3176 | ||
39f95a2c JH |
3177 | * config/v850/v850.c (v850_va_arg): Use addr |
3178 | instead of valist to build incr. | |
f2d28b14 | 3179 | |
6e64a52a JH |
3180 | Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz> |
3181 | ||
3182 | * flow.c (delete_dead_jumptables): New function. | |
3183 | (life_analyzis): Call it. | |
02e3f1a8 RK |
3184 | * bb-reorder.c (skip_insns_after_block): Handle contradictory |
3185 | sequences. | |
6e64a52a | 3186 | |
7f206d8f RH |
3187 | 2001-07-25 Richard Henderson <rth@redhat.com> |
3188 | ||
3189 | * except.c (reachable_handlers): Handle a region being removed | |
3190 | out from under a RESX. | |
3191 | ||
56f19d92 RH |
3192 | 2001-07-25 Richard Henderson <rth@redhat.com> |
3193 | ||
3194 | * config/alpha/alpha.c (alpha_emit_conditional_move): Always | |
02e3f1a8 | 3195 | swap GE/GT if it is an fp comparison. |
56f19d92 RH |
3196 | |
3197 | 2001-07-25 Andrew Haley <aph@cambridge.redhat.com> | |
3237ac18 AH |
3198 | |
3199 | * alias.c (rtx_equal_for_memref_p): Allow strings as types in | |
3200 | operands. | |
3201 | ||
42f28de9 JL |
3202 | Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com) |
3203 | ||
1490f392 | 3204 | * ssa.c (rename_insn_1): Do not wrap an assignment to a |
ea0eceb1 JL |
3205 | paradoxical SUBREG inside a SEQUENCE. Fix minor formatting |
3206 | glitch. | |
3207 | ||
42f28de9 JL |
3208 | * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can |
3209 | throw an exception. | |
3210 | (visit_expression): When attempting to simplify an expression, | |
3211 | retrieve any modes for arguments before they are simplified | |
3212 | to constants. | |
3213 | ||
7c2b017c AM |
3214 | 2001-07-25 Andrew MacLeod <amacleod@redhat.com> |
3215 | Janis Johnson <janis@us.ibm.com> | |
3216 | ||
3217 | * stmt.c (expand_goto): A nonlocal goto can be a call too. | |
3218 | * builtins.c (expand_builtin_longjmp): Reverse label and static chain | |
3219 | pointer parameters to match documented usage of nonlocal_goto. | |
3220 | * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain | |
3221 | parameters to their correct order. | |
3222 | * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain | |
3223 | parameters to their correct order. | |
3224 | ||
ff3daa88 AM |
3225 | 2001-07-25 Andrew MacLeod <amacleod@redhat.com> |
3226 | ||
3227 | * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well. | |
3228 | ||
a368a2fa JH |
3229 | 2001-07-25 Jan Hubicka <jh@suse.cz> |
3230 | Richard Henderson <rth@redhat.com> | |
3231 | ||
3232 | * flow.c (find_sub_basic_blocks): Fix handling of the last BB in | |
3233 | the sequence. | |
3234 | (make_edges): New argument update_p; populate the edge cache if set. | |
3235 | (find_basic_blocks): Update make_edges invocation. | |
3236 | ||
303e979a JS |
3237 | 2001-07-24 Joel Sherrill <joel@OARcorp.com> |
3238 | ||
3239 | * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float. | |
3240 | ||
7adb4be8 JS |
3241 | 2001-07-24 Joel Sherrill <joel@OARcorp.com> |
3242 | ||
39f95a2c | 3243 | * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant |
7adb4be8 | 3244 | -Acpu and -Amachine.h. |
39f95a2c JH |
3245 | * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise. |
3246 | Corrected header to say ELF not a.out. | |
3247 | * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT | |
7adb4be8 JS |
3248 | when given -msoft-float. |
3249 | ||
3250 | 2001-07-24 Joel Sherrill <joel@OARcorp.com> | |
bb8602be JS |
3251 | |
3252 | * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as | |
3253 | extra multilib parts like arm-elf. | |
3254 | (i960-*-coff*, i960-*-rtems): Should not use collect2. | |
3255 | (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and | |
3256 | crtfini.o as extra multilib parts. | |
3257 | ||
e08f13ee JS |
3258 | 2001-07-24 Joel Sherrill <joel@OARcorp.com> |
3259 | ||
3260 | * configure.in: Add rtems as a supported thread model. | |
3261 | * gthr-rtems.h: Add missing entry point __gthread_active_p. | |
3262 | * configure: Rebuilt. | |
3263 | ||
0c237688 LB |
3264 | 2001-07-24 Lars Brinkhoff <lars@nocrew.org> |
3265 | ||
3266 | * stor-layout.c (get_mode_alignment): make it work when | |
3267 | BITS_PER_UNIT is not a power of two. | |
3268 | * builtins.c (get_pointer_alignment): Likewise. | |
3269 | ||
5a2aa3bd RH |
3270 | 2001-07-24 Richard Henderson <rth@redhat.com> |
3271 | ||
3272 | * simplify-rtx.c (avoid_constant_pool_reference): Coerce | |
3273 | the retrieved constant into the expected mode. | |
3274 | ||
ca9fef16 JH |
3275 | Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz> |
3276 | ||
3277 | * flow.c (try_simplify_condjump): Avoid duplicated edges. | |
3278 | (verify_flow_info): Check for duplicated edges; clarify | |
3279 | error reporting. | |
3280 | ||
3281 | * flow.c (block_label): Update basic_block_for_insn. | |
3282 | (commit_edge_insertions): Call compute_bb_for_insn. | |
3283 | ||
3284 | * flow.c (purge_dead_edges): Handle conditional jumps and conditional | |
3285 | returns too. | |
3286 | ||
3287 | * flow.c (redirect_edge_and_branch, | |
3288 | try_optimize_cfg): Use redirect_edge_succ_nodup | |
3289 | (redirect_edge_succ_nodup): New. | |
3290 | * basic_block.h (redirect_edge_succ_nodup): Declare. | |
3291 | ||
3292 | * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup | |
3293 | after gcse. | |
3294 | ||
40fc4e6a JH |
3295 | Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz> |
3296 | ||
3297 | * flow.c (try_forward_edges): Accept fallthru edge; Update comment. | |
3298 | (try_crossjump_to_edge): Update commetns. | |
3299 | (try_crossjump_bb): Likewise. | |
3300 | ||
e7139885 RH |
3301 | 2001-07-24 Richard Henderson <rth@redhat.com> |
3302 | ||
3303 | * combine.c (distribute_notes): Move set of need_refresh | |
3304 | for noop_move_p down to catch all cases. | |
3305 | ||
6f862f2f JH |
3306 | Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz> |
3307 | ||
3308 | * recog.c (split_all_insns_noflow): New. | |
3309 | * rtl.h (split_all_insns_noflow): Declare. | |
3310 | * ia64.c (ia64_reorg): Use split_all_insns_noflow. | |
3311 | * m68hc11.c (m68hc11_reorg): Likewise. | |
3312 | * sh.c (machine_dependent_reorg): Likewise. | |
3313 | * toplev.c (rest_of_compilation): Likewise for last split_all_insns | |
3314 | call. | |
3315 | ||
615cd49b AH |
3316 | 2001-07-18 Andrew Haley <aph@cambridge.redhat.com> |
3317 | ||
bb8602be JS |
3318 | * config/sh/sh.md (ashlsi3_std splitter): Split only after reload. |
3319 | (ashlsi3_n splitter): Likewise. | |
3320 | (lshrsi3_n splitter): Likewise. | |
615cd49b | 3321 | |
bb8602be JS |
3322 | (GOTaddr2picreg): Make const SImode. |
3323 | (sym_label2reg): Likewise. | |
3324 | (symGOT2reg): Likewise. | |
3325 | (symGOTOFF2reg) Likewise. | |
615cd49b | 3326 | |
bb8602be | 3327 | (casesi_worker_0): Make unspec SImode. |
615cd49b | 3328 | |
2b9d17c7 AH |
3329 | 2001-07-18 Andrew Haley <aph@cambridge.redhat.com> |
3330 | ||
bb8602be JS |
3331 | * config/sh/sh.c (barrier_align): Check that an operand really is |
3332 | an insn before extracting its INSN_CODE. | |
2b9d17c7 | 3333 | |
cfe1cd40 AH |
3334 | 2001-07-24 Andrew Haley <aph@cambridge.redhat.com> |
3335 | ||
3336 | * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of | |
3337 | dangling else. | |
3338 | ||
3339 | * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands | |
3340 | for SImode to prevent overflow. | |
3341 | ||
46d2e8d7 RO |
3342 | 2001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3343 | ||
3344 | * config/mips/irix6-libc-compat.c: New file. | |
3345 | * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it. | |
3346 | * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure | |
3347 | passing workaround. | |
3348 | ||
cd6e5291 LB |
3349 | 2001-07-24 lars brinkhoff <lars@nocrew.org> |
3350 | ||
3351 | * rtl.texi (REG_POINTER): Document. | |
3352 | (Machine Modes): Document BImode, OImode, PQImode, PHImode, | |
3353 | QFmode, HFmode, TQFmode, QCmode, and HCmode. | |
3354 | ||
8f54d2ff JH |
3355 | Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz> |
3356 | ||
3357 | * flow.c (delete_noop_moves): Do not confuse libcall regions. | |
3358 | ||
6a7ca996 RH |
3359 | 2001-07-23 Richard Henderson <rth@redhat.com> |
3360 | ||
3361 | * flow.c (try_simplify_condjump): Use tidy_fallthru_edge. | |
3362 | ||
ba412630 KH |
3363 | 2001-07-23 Kazu Hirata <kazu@hxi.com> |
3364 | ||
3365 | * config/h8300/h8300-protos.h: Add a prototype for | |
3366 | general_operand_dst_push. | |
1490f392 | 3367 | * config/h8300/h8300.c (general_operand_dst_push): New. |
ba412630 KH |
3368 | * config/h8300/h8300.h (OK_FOR_T): New. |
3369 | (EXTRA_CONSTRAINT): Use it. | |
3370 | * config/h8300/h8300.md (movqi_push): Remove and integrate into | |
3371 | the existing movqi pattern. | |
3372 | (movhi_push): Likewise. | |
3373 | ||
82efa2e5 KH |
3374 | * reload.c: Fix comment typos. |
3375 | ||
21715220 JH |
3376 | Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz> |
3377 | ||
3378 | * gcse.c (cprop_insn): Update call of cprop_cc0_jump. | |
3379 | ||
dd96fbc5 L |
3380 | 2001-07-23 H.J. Lu (hjl@gnu.org) |
3381 | ||
3382 | * doc/extend.texi: Update __builtin_return_address and | |
3383 | __builtin_frame_address. | |
3384 | ||
c50e5bc0 RH |
3385 | 2001-07-23 Richard Henderson <rth@redhat.com> |
3386 | ||
3387 | * config/i386/i386.c (ix86_expand_setcc): Don't use method 0 | |
3388 | before CSE. | |
3389 | * config/i386/i386.md: New setcc+movzbl peephole2. | |
3390 | ||
9099cc4f NB |
3391 | 2001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
3392 | ||
3393 | * objc/Make-lang.in (objc-act.o): Depend on debug.h. | |
3394 | * objc/objc-act.c: Include debug.h. | |
3395 | (synth_module_prologue): Save and restore debug hooks too. | |
3396 | ||
68eb4fb9 LB |
3397 | 2001-07-23 lars brinkhoff <lars@nocrew.org> |
3398 | ||
3399 | * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT | |
3400 | and C4X_FLOAT_FORMAT. | |
3401 | (BOOL_TYPE_SIZE): Document. | |
3402 | ||
57de7530 CP |
3403 | Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com> |
3404 | ||
3405 | * unroll.c (loop_iterations): Fix miscalculation of initial | |
3406 | giv offset. | |
3407 | ||
6e7b03e1 AH |
3408 | 2001-07-13 Andrew Haley <aph@redhat.com> |
3409 | ||
bb8602be JS |
3410 | * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro. |
3411 | * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro. | |
3412 | * config/sh/sh.c (sh_can_redirect_branch): New function. | |
3413 | * config/sh/sh-protos.h (sh_can_redirect_branch): Declare. | |
3414 | * reorg.c (steal_delay_list_from_target): Use | |
3415 | MD_CAN_REDIRECT_BRANCH to see if redirection is possible. | |
6e7b03e1 | 3416 | |
0dd94abd JH |
3417 | Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz> |
3418 | ||
3419 | * flow.c (try_simplify_condjump): Unlink insn chain on | |
3420 | fallthru edge; use can_fallthru. | |
3421 | ||
0005550b JH |
3422 | Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz> |
3423 | ||
3424 | * basic-block.h (find_sub_basic_block): Declare. | |
3425 | * flow.c (make_edges): New arguments MIN and MAX; | |
3426 | (find_sub_basic_blocks): Revamp to use make_edges | |
3427 | and purge_dead_edges. | |
3428 | (find_basic_blocks): Update call of find_sub_basic_block. | |
3429 | ||
3430 | * recog.c (split_all_insns): Always expect CFG to be consistent; | |
3431 | call find_sub_basic_blocks in case something has changed. | |
3432 | * toplev.c (rest_of_compilation): Always call split_all_insns once CFG | |
3433 | has been built. | |
3434 | ||
3435 | * basic-block.h (delete_noop_moves): Declare. | |
3436 | * combine.c (combine_instructions): Call it. | |
3437 | (recog_for_combine): Tolerate noop moves | |
3438 | (distribute_notes): Force refresh when register dies at noop move. | |
3439 | * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns | |
3440 | too. | |
3441 | (life_analysis): Update delete_noop_moves call. | |
3442 | (set_noop_p): Move too ... | |
3443 | * rtlanal.c (noop_move_p): ... here. | |
3444 | * rtl.h (noop_move_p): Declare. | |
3445 | ||
3446 | * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions. | |
3447 | * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges | |
3448 | after combine. | |
3449 | * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block". | |
3450 | (cprop_jump): Likewise; call purge_dead_edges if substitution suceeded. | |
3451 | ||
e0120d6e HPN |
3452 | 2001-07-23 Hans-Peter Nilsson <hp@bitrange.com> |
3453 | ||
3454 | * reload.c (push_reload): Fix typo in comment. | |
3455 | (find_reloads_address): Ditto. | |
3456 | (reg_overlap_mentioned_for_reload_p): Ditto in head comment. | |
3457 | ||
b02eea61 RH |
3458 | 2001-07-22 Richard Henderson <rth@redhat.com> |
3459 | ||
3460 | * flow.c: Grammar check and clarify a lot of comments. | |
3461 | (try_simplify_condjump): Rename variables to be clearer. | |
3462 | (try_forward_edges): Skip complex and fallthru edges. | |
3463 | Rearrange tests to avoid duplicate checks. | |
3464 | (flow_find_cross_jump): Likewise. | |
3465 | (outgoing_edges_match): Allow match if neither branch has | |
3466 | probability data. Loosen probability match to 5%. | |
1490f392 | 3467 | (try_crossjump_to_edge): Hoist repeated indirection into |
b02eea61 RH |
3468 | local variables. |
3469 | (try_crossjump_bb): Don't check complex edges. Eliminate | |
3470 | redundant crossjump tests. | |
3471 | (try_optimize_cfg): Fix use of bool. Reorganize cheaper | |
3472 | checks before more expensive checks. | |
3473 | ||
1f2f8b29 RH |
3474 | 2001-07-22 Richard Henderson <rth@redhat.com> |
3475 | ||
3476 | * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of | |
3477 | INTEGRAL_TYPE_P when folding comparisons with operand_equal_p | |
3478 | arguments. | |
3479 | ||
97660e20 RH |
3480 | 2001-07-22 Richard Henderson <rth@redhat.com> |
3481 | ||
3482 | * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits. | |
3483 | (const_sint32_operand): Likewise. | |
3484 | * m68k.md (anon mulsi pattern): Use const_int_operand not | |
3485 | const_sint32_operand. | |
3486 | (umulsi3_highpart): Zero extend a constant input. | |
3487 | (smulsi3_highpart): Don't bother checking SImode constant. | |
3488 | (const_umulsi3_highpart): Give op3 DImode. | |
3489 | (const_smulsi3_highpart): Likewise. | |
3490 | ||
0b6301ae RH |
3491 | 2001-07-22 Richard Henderson <rth@redhat.com> |
3492 | ||
3493 | * flow.c (split_block): Make sure bb_note is included in the | |
3494 | new block when splitting before a label. | |
3495 | ||
6b24c259 JH |
3496 | Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz> |
3497 | ||
3498 | * basic-block.h (redirect_edge_and_branch_force, | |
3499 | redirect_edge_and_branch, block_label, forwarder_block_p): Declare. | |
3500 | * flow.c (redirect_edge_and_branch_force, | |
3501 | redirect_edge_and_branch, block_label, forwarder_block_p): Make global. | |
3502 | (redirect_edge_and_branch_force): Fix copying of lifeness information. | |
3503 | (block_label): Handle EXIT_BLOCK_PTR by returning NULL. | |
3504 | * ifcvt.c (dead_or_predictable): Take BB as an new destionation | |
3505 | instead of label; update CFG after transformation. | |
3506 | (find_if_case_1): Update call, use redirect_edge_and_branch_force | |
3507 | for finishing the transformation; handle even case where ELSE | |
3508 | does not follow THEN. | |
3509 | (find_if_case_2): Update call of dead_or_predictable; simplify | |
3510 | CFG update. | |
3511 | ||
3512 | * emit-rtl.c (split_branch_probability): New global variable. | |
3513 | (try_split): Take care to set split_branch_probability and | |
3514 | create REG_BR_PROB note for new jump insns. | |
3515 | * md.texi (define_split): Document new feature. | |
3516 | ||
3517 | * i386.c (ix86_split_fp_branch): Redistribute branch probability notes. | |
3518 | ||
544f03b4 NB |
3519 | 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk> |
3520 | ||
3521 | * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h. | |
3522 | (asm_out_file): Remove redundant declaration. | |
3523 | (assemble_asm): Remove old #if 0 block. | |
3524 | (assemble_variable): Remove end of function; debug output is | |
3525 | now handled with global_decl. Remove old #if 0 block. Update. | |
3526 | Remove saved_in_section and associated no-op code. | |
3527 | * Makefile.in (varasm.o): Correct dependencies. | |
3528 | ||
bad1f214 AO |
3529 | Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com> |
3530 | ||
3531 | * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
3532 | the definition in defaults.h. | |
3533 | ||
0045d504 JH |
3534 | Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz> |
3535 | ||
3536 | * jump.c: Update comments. | |
3537 | (delete_barrier_successors, delete_unreferenced_labels, | |
3538 | delete_noop_moves, tension_vector_labels, delete_from_jump_chain, | |
3539 | delete_labelref_insn, redirect_tablejump, jump_optimize_1, | |
3540 | jump_optimize, jump_optimize_minimal): Kill. | |
3541 | (rebuild_jump_labels): Move code from jump_optimize_1. | |
3542 | (purge_line_number_notes): Likewise. | |
3543 | (copy_loop_headers): Likewise. | |
3544 | * reg-stack.c: Update comment. | |
3545 | * stmt.c: Likewise. | |
3546 | * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES, | |
3547 | JUMP_AFTER_REGSCAN): Kill. | |
3548 | * toplev.c (rest_of_compilation): Use cleanup_cfg, call | |
3549 | purge_line_number_notes and copy_loop_headers. | |
3550 | ||
3914abb4 NB |
3551 | 2001-07-22 Neil Booth <neil@daikokuya.demon.co.uk> |
3552 | Richard Henderson <rth@redhat.com> | |
3553 | ||
3554 | * dbxout.c (dbxout_global_decl): New. | |
3555 | (xcoff_debug_hooks, dbx_debug_hooks): Use it. | |
3556 | * sdbout.c (sdbout_finish): New. | |
3557 | (sdbout_debug_hooks): Use it, add comments. | |
3558 | (sdbout_global_decl): Defer initialised public vars to | |
3559 | sdbout_finish. | |
3560 | * varasm.c (assemble_variable): Don't output debug information | |
3561 | for file-scope variables. | |
3562 | ||
be7560ea RH |
3563 | 2001-07-22 Richard Henderson <rth@redhat.com> |
3564 | ||
3565 | * config/alpha/alpha.c (get_trap_mode_suffix): New. | |
3566 | (get_round_mode_suffix): New. | |
3567 | (print_operand): Use them for [/]. Remove support for [&'`()+]. | |
3568 | * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update. | |
3569 | * config/alpha/alpha.md (attr round_suffix): New. | |
3570 | (attr trap_suffix): New. | |
3571 | (all insns): Set them appropriately. Use %/ instead of the | |
3572 | myriad punctuators. | |
3573 | ||
65ecca65 NB |
3574 | 2001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
3575 | ||
3576 | * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch. | |
3577 | ||
4e812700 RH |
3578 | 2001-07-22 Richard Henderson <rth@redhat.com> |
3579 | ||
3580 | * regrename.c (regrename_optimize): Compute nregs for each | |
3581 | potential target register. | |
3582 | ||
f7e10587 NB |
3583 | 2001-07-21 Neil Booth <neil@daikokuya.demon.co.uk> |
3584 | Richard Henderson <rth@redhat.com> | |
3585 | ||
3586 | * dbxout.c (dbxout_global_decl): New. | |
3587 | (xcoff_debug_hooks, dbx_debug_hooks): Use it. | |
3588 | * sdbout.c (sdbout_finish): New. | |
3589 | (sdbout_debug_hooks): Use it, add comments. | |
3590 | (sdbout_global_decl): Defer initialised public vars to | |
3591 | sdbout_finish. | |
3592 | * varasm.c (assemble_variable): Don't output debug information | |
3593 | for file-scope variables. | |
3594 | ||
919b1aec L |
3595 | 2001-07-21 H.J. Lu (hjl@gnu.org) |
3596 | ||
3597 | * config/mips/mips.c (mips_cpu): Moved into ... | |
3598 | (override_options): Here. | |
3599 | ||
3600 | * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with | |
3601 | mips_tune. | |
3602 | (mips_cpu): Removed. | |
3603 | ||
0477256c SC |
3604 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3605 | ||
3606 | * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand. | |
3607 | ("iorqi3"): Likewise. | |
3608 | ("xorqi3"): Likewise. | |
3609 | ("*addhi3"): Fix constraint to avoid reloading in a soft register. | |
3610 | ("*subhi3_sp): Likewise. | |
3611 | ("*subhi3"): Likewise. | |
1490f392 | 3612 | ("extendhisi2"): Accept D, X and Y as source operand to avoid |
0477256c SC |
3613 | reload problems. |
3614 | ||
c4372ef4 NS |
3615 | 2001-07-21 Nathan Sidwell <nathan@codesourcery.com> |
3616 | ||
3617 | * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS. | |
3618 | * config/freebsd.h: Likewise. | |
3619 | * config/linux.h: Likewise. | |
3620 | * config/openbsd.h: Likewise. | |
3621 | * config/alpha/linux-elf.h: Likewise. | |
3622 | * config/arm/linux-elf.h: Likewise. | |
3623 | * config/d30v/d30v.h: Likewise. | |
3624 | * config/fr30/fr30.h: Likewise. | |
3625 | * config/ia64/aix.h: Likewise. | |
3626 | * config/ia64/ia64.h: Likewise. | |
3627 | * config/mips/linux.h: Likewise. | |
3628 | * config/pj/pj.h: Likewise. | |
3629 | * config/rs6000/linux.h: Likewise. | |
3630 | * config/sparc/linux.h: Likewise. | |
3631 | * config/sparc/linux64.h: Likewise. | |
3632 | ||
90376ae2 BK |
3633 | 2001-07-20 Bruce Korb <bkorb@gnu.org> |
3634 | ||
3635 | * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons | |
3636 | because getc() and char* may disagree on signedness. | |
3637 | ||
50b996bf RH |
3638 | 2001-07-20 Richard Henderson <rth@redhat.com> |
3639 | ||
3640 | * doc/rtl.texi (REG_DEAD): Update for current semantics. | |
3641 | ||
e9644cfe RH |
3642 | * flow.c (try_redirect_by_replacing_jump): Correctly compute which |
3643 | insns to delete in the presence of cc0 in a jump insn. | |
3644 | ||
ed6ba1a5 RZ |
3645 | Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org> |
3646 | Jan Hubicka <jh@suse.cz> | |
3647 | ||
3648 | * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead | |
3649 | of doing the change by hand. | |
3650 | ||
371b8fc0 JH |
3651 | Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz> |
3652 | ||
3653 | * rtlanal.c (set_noop_p): Return true for noop jumps. | |
3654 | ||
3655 | * expr.c (emit_single_push_insn): Add call to push expander. | |
3656 | * expr.h (optab_index): Add OTI_push | |
3657 | (push_optab): New constant. | |
3658 | * genopinit.c (optabs): Add push_optab. | |
3659 | * optabs.c (init_optab): Init push optab. | |
3660 | * md.texi (push??1): Document | |
3661 | ||
00d0458c SC |
3662 | 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3663 | ||
3664 | * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an | |
1490f392 | 3665 | expand to emit the pattern; put a REG_INC note for push/pop |
00d0458c SC |
3666 | instructions. |
3667 | ("movdf", "movdf_internal"): Likewise. | |
3668 | ("movsi", "movsi_internal"): Likewise. | |
3669 | ("movsf", "movsf_internal"): Likewise. | |
3670 | ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions. | |
3671 | ||
d74e9142 SC |
3672 | 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3673 | ||
3674 | * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use | |
3675 | gen_highpart. | |
3676 | ||
1c432a87 DB |
3677 | 2001-07-20 Daniel Berlin <dan@cgsoftware.com> |
3678 | ||
3679 | * params.def: Change default max inline insns to 100. | |
3680 | ||
9def18da DN |
3681 | 2001-07-20 Diego Novillo <dnovillo@redhat.com> |
3682 | ||
3683 | * combine.c (combine_simplify_rtx): Generate a new shift operation | |
3684 | when simplifying the first operand of a (neg (ashift)) expression. | |
3685 | ||
d4845339 RH |
3686 | 2001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de> |
3687 | ||
3688 | * regclass.c (N_REG_INTS): Use only 32 bits per element. | |
3689 | ||
3690 | 2001-07-20 Kelley Cook <kelley.cook@home.com> | |
dbd210ef KC |
3691 | |
3692 | * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug | |
3693 | information. Move rest into ... | |
3694 | (*-*-solaris): ... here. Eliminate redundant information and | |
3695 | reword necessary packages section. Delete 4.x assembler bug info. | |
3696 | (sparc-sun-*): Merge into ... | |
3697 | (sparc-sun-sunos*): here. | |
3698 | ||
3a97685a CM |
3699 | 2001-07-20 Catherine Moore <clm@redhat.com> |
3700 | ||
97660e20 RH |
3701 | * config/v850/v850.md (casesi): Generate LABEL_REF |
3702 | with Pmode. | |
3a97685a | 3703 | |
d24b3457 JH |
3704 | Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz> |
3705 | ||
3706 | * i386-protos.h (ix86_zero_extend_to_Pmode): Declare. | |
3707 | * i386.c (ix86_zero_extend_to_Pmode): Make global. | |
3708 | * i386.md (strclrsi expander): Use it. | |
3709 | ||
bc8d3f91 JH |
3710 | Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz> |
3711 | ||
3712 | * integrate.c (copy_insn_list): handle | |
3713 | NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL. | |
3714 | (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL | |
3715 | identically as to CODE_LABEL. | |
3716 | ||
3717 | * fold-const (fold): Convert A/B/C to A/(B*C) and | |
3718 | A/(B/C) to (A/B)*C | |
3719 | ||
3720 | * except.c (connect_post_landing_pads): Delete the RESX insns. | |
3721 | ||
1f28c666 AH |
3722 | 2001-07-20 Aldy Hernandez <aldyh@redhat.com> |
3723 | ||
97660e20 | 3724 | * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro. |
1f28c666 AH |
3725 | |
3726 | * config/mips/mips.md (nmadd/nmsub): Use macro. | |
3727 | ||
002ee64f NS |
3728 | 2001-07-20 Nathan Sidwell <nathan@codesourcery.com> |
3729 | ||
3730 | * cppinit.c (remove_dup_dir): Make static. | |
3731 | (remove_dup_dirs): Make static. Only warn about preempting a | |
3732 | system directory with a non-system directory. | |
3733 | ||
038fb2bc GK |
3734 | 2001-07-19 Geoffrey Keating <geoffk@redhat.com> |
3735 | ||
3736 | * ifcvt.c (noce_try_store_flag_constants): Correct order | |
3737 | of parameters to trunc_int_for_mode. | |
3738 | ||
be672de8 MM |
3739 | 2001-07-19 Mark Mitchell <mark@codesourcery.com> |
3740 | ||
3741 | * reorg.c (fill_simple_delay_slots): If an instruction might throw | |
3742 | an exception that will be caught within this function, do not fill | |
3743 | its delay slot with any subsequent instruction. | |
3744 | ||
6dd12198 SE |
3745 | 2001-07-19 Steve Ellcey <sje@cup.hp.com> |
3746 | ||
3747 | * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition. | |
3748 | * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized | |
3749 | pointer extension instruction. | |
3750 | * combine.c (nonzero_bits,num_sign_bit_copies) Likewise. | |
3751 | * simplify-rtx.c (simplify_unary_operation) Likewise. | |
1490f392 | 3752 | * explow.c (convert_memory_address) Check value of |
6dd12198 SE |
3753 | POINTERS_EXTEND_UNSIGNED to avoid some conversions when |
3754 | less than zero. | |
3755 | * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS, | |
3756 | MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support. | |
3757 | * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES) | |
3758 | Add Multilib Support. | |
3759 | (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support. | |
3760 | * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES) | |
3761 | Add Multilib Support. | |
3762 | (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32 | |
3763 | support. | |
3764 | * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4. | |
3765 | * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle" | |
3766 | a 32 bit HP-UX pointer into a 64 bit HP-UX pointer. | |
3767 | ||
0248ce05 AO |
3768 | 2001-07-19 Alexandre Oliva <aoliva@redhat.com> |
3769 | ||
3770 | * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from | |
3771 | old and new operands in `<', `3' and `b'. | |
3772 | ||
e1772ac0 NB |
3773 | 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> |
3774 | ||
3775 | * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h. | |
3776 | (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h. | |
3777 | (toplev.o): Don't depend on xcoffout.h. | |
3778 | * c-decl.c: Include debug.h | |
3779 | (duplicate_decls): Use debug hook. | |
3780 | * dbxout.c (dbxout_source_file, dbxout_args): Make static. | |
3781 | (dbx_debug_hooks, xcoff_debug_hooks): Update. | |
3782 | (dbxout_types): Remove. | |
3783 | * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove. | |
3784 | * debug.c (do_nothing_debug_hooks): Update. | |
3785 | (debug_true_tree, debug_nothing_rtx): New. | |
3786 | * debug.h (struct rtx_def): New. | |
3787 | (struct gcc_debug_hooks): New hooks ignore_block, | |
3788 | outlining_inline_function and label. | |
3789 | (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init, | |
3790 | dwarf2out_frame_finish): New. | |
3791 | * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function): | |
3792 | Make static, update prototype. | |
3793 | (dwarf2_debug_hooks): Update. | |
3794 | * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function, | |
3795 | dwarf2out_frame_init, dwarf2out_frame_finish): Remove. | |
3796 | * dwarfout.c (dwarf_debug_hooks): Update. | |
3797 | * emit-rtl.c: Include debug.h. | |
3798 | (remove_unnecessary_notes): Use debug hook. | |
3799 | * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h. | |
3800 | (final_scan_insn): Use debug hook. | |
3801 | * integrate.c (output_inline_function): Use debug hook. | |
3802 | * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static. | |
3803 | (sdb_debug_hooks): Update. | |
3804 | * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove. | |
3805 | * toplev.c: Don't include xcoffout.h. | |
3806 | (note_outlining_of_inline_function, debug_ignore_block): Remove. | |
3807 | * toplev.h (note_outlining_of_inline_function, debug_ignore_block): | |
3808 | Remove. | |
3809 | * tree.h (dwarf2out_do_frame): Remove. | |
3810 | ||
77f43519 CM |
3811 | 2001-07-19 Catherine Moore <clm@cygnus.com> |
3812 | ||
1490f392 | 3813 | * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore. |
77f43519 | 3814 | |
d54ef62c GK |
3815 | 2001-07-19 Geoffrey Keating <geoffk@redhat.com> |
3816 | ||
c77fbfbe GK |
3817 | * reload1.c (eliminate_regs_in_insn): When updating a set |
3818 | to the frame pointer to the hardware frame pointer, perform | |
3819 | the update always not just when REPLACE is set. | |
3820 | ||
eb4d554e GK |
3821 | * reload1.c (choose_reload_regs): Don't inherit a reload |
3822 | that crosses multiple registers if registers past the first | |
3823 | don't fit in the desired class. | |
3824 | ||
d54ef62c GK |
3825 | * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode |
3826 | when negating constants. | |
3827 | ||
7d46d516 TM |
3828 | 2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl> |
3829 | ||
3830 | * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument. | |
3831 | * doc/tree.texi: Ditto. | |
3832 | ||
5442cf15 MK |
3833 | 2001-07-19 Mark Kettenis <kettenis@wins.uva.nl> |
3834 | Jakub Jelinek <jakub@redhat.com> | |
3835 | ||
3836 | * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr. | |
3837 | (extract_cie_info): Handle "eh" augmentation properly, | |
3838 | remember eh_ptr. | |
3839 | (struct frame_state, __frame_state_for): New. | |
3840 | ||
432fa9f2 RO |
3841 | 2001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3842 | ||
3843 | * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL, | |
3844 | HANDLE_SYSV_PRAGMA): Define. | |
3845 | * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline | |
3846 | previous args. | |
3847 | (copy_object): Caller changed. | |
3848 | ||
bfabbc3c AS |
3849 | 2001-07-19 Andreas Schwab <schwab@suse.de> |
3850 | ||
3851 | * configure.in (assembler dwarf2 debug_line support): Define nop | |
3852 | insn for m68k. | |
3853 | * configure: Regenerated. | |
3854 | ||
2b85879e NB |
3855 | 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> |
3856 | ||
3857 | * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on | |
3858 | dwarfout.h. | |
3859 | * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move | |
3860 | to conditionally compiled block. | |
3861 | (dbx_debug_hooks, xcoff_debug_hooks): Update. | |
3862 | * dbxout.h (dbxout_function): Remove. | |
3863 | * debug.c (do_nothing_debug_hooks): Update. | |
3864 | * debug.h (struct gcc_debug_hooks): New hooks function_decl, | |
3865 | global_decl, deferred_inline_function. | |
3866 | * dwarf2out.c (dwarf2_debug_hooks): Update. | |
3867 | (dwarf2out_global_decl): New. | |
3868 | * dwarfout.c: Don't include dwarfout.h. | |
3869 | (dwarfout_global_decl, dwarfout_function_decl, | |
3870 | dwarfout_deferred_inline_function): New. | |
3871 | (dwarf_debug_hooks): Update. | |
3872 | * dwarfout.h: Remove. | |
3873 | * final.c: Don't include dwarfout.h. | |
3874 | * sdbout.c (sdbout_global_decl): New. | |
3875 | (sdbout_debug_hooks): Update. | |
3876 | * toplev.c: Don't include dwarfout.h. | |
3877 | (check_global_declarations, rest_of_compilation): Use new debug hooks. | |
3878 | (note_deferral_of_defined_inline_function): Remove. | |
3879 | * toplev.h (note_deferral_of_defined_inline_function): Remove. | |
3880 | * ch/Makefile.in (lex.o): No dependence on dwarfout.h. | |
3881 | * ch/lex.c: Don't include dwarfout.h. | |
3882 | * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h. | |
3883 | (semantics.o, optimize.o): Depend on debug.h not dwarfout.h. | |
3884 | * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h. | |
3885 | * cp/optimize.c: Include debug.h. | |
3886 | (maybe_clone_body): Use debug hook. | |
3887 | * cp/semantics.c: Include debug.h. | |
3888 | (expand_body): Use debug hook. | |
3889 | * po/POTFILES.in: Remove dwarfout.h. | |
3890 | ||
c60e94a7 NB |
3891 | 2001-07-19 Neil Booth <neil@daikokuya.demon.co.uk> |
3892 | ||
3893 | * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases. | |
3894 | * c-parse.in (yyerror, _yylex): Similarly. | |
3895 | * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr): | |
3896 | Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough. | |
3897 | Update comments. | |
3898 | * cpplib.h (CPP_INT, CPP_FLOAT): Remove. | |
3899 | * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases. | |
3900 | ||
8458e954 JS |
3901 | 2001-07-18 Jeff Sturm <jsturm@one-point.com> |
3902 | ||
3903 | * dwarf2out.c (dwarf2out_abstract_function): Don't emit | |
3904 | in-class declaration at -g1. Fixes c++/2814. | |
3905 | ||
d989f648 RH |
3906 | 2001-07-18 Richard Henderson <rth@redhat.com> |
3907 | ||
3908 | * doc/md.texi (reload_in/out): Document restrictions in predicates | |
3909 | and constraints for these patterns. Document empty string matching | |
3910 | ALL_REGS. | |
3911 | ||
20c93f7c RO |
3912 | 2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3913 | ||
3914 | * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL. | |
3915 | ||
dc42616f JH |
3916 | Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz> |
3917 | ||
3918 | * cse.c: Undo my previous patch. | |
3919 | ||
f91abfce TT |
3920 | 2001-07-18 Tom Tromey <tromey@redhat.com> |
3921 | ||
3922 | For PR java/2812: | |
3923 | * configure: Rebuilt. | |
3924 | * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV | |
3925 | instead. | |
3926 | * aclocal.m4 (AM_ICONV): New macro from Bruno Haible. | |
3927 | ||
0728902f RH |
3928 | Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com> |
3929 | Jan Hubicka <jh@suse.cz> | |
3930 | ||
3931 | * flow.c (redirect_edge_and_branch): Bail out on complex edges. | |
3932 | (try_optimize_cfg): Do not remove tail recursive labels before sibcall. | |
3933 | * jump.c (mark_jump_label): Do not forward branches. | |
3934 | ||
f06fbeea JH |
3935 | Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz> |
3936 | ||
3937 | * cse.c (delete_trivially_dead_insns): Delete the libcall block | |
3938 | when return value is unused. | |
3939 | ||
222f7ba9 JH |
3940 | Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz> |
3941 | ||
3942 | * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores. | |
3943 | ||
8b52df45 NP |
3944 | Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it> |
3945 | ||
3946 | * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value | |
3947 | on error. We can't blindly return the result of | |
3948 | pthread_mutex_trylock because it returns a positive number on | |
3949 | error, while we must return -1 on error. | |
3950 | (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar | |
1490f392 | 3951 | fixes. |
8b52df45 NP |
3952 | Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>. |
3953 | ||
895b2cfe AJ |
3954 | 2001-07-18 Andreas Jaeger <aj@suse.de> |
3955 | ||
3956 | * integrate.c (output_inline_function): Correct type of debug_hooks. | |
3957 | ||
493efd37 TM |
3958 | 2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl> |
3959 | ||
3960 | * combine.c (combine_simplify_rtx): DIV can be treated | |
3961 | associatively for floats if unsafe math optimisations are enabled. | |
3962 | ||
a7c07f1e RH |
3963 | 2001-07-17 Richard Henderson <rth@redhat.com> |
3964 | ||
3965 | * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS. | |
3966 | ||
3affaf29 RH |
3967 | 2001-07-17 Richard Henderson <rth@redhat.com> |
3968 | ||
3969 | * calls.c (prepare_call_address): New parameter SIBCALLP. If true, | |
3970 | don't force the function address into a register. | |
3971 | (expand_call, emit_library_call_value_1): Update callers. | |
3972 | * builtins.c (expand_builtin_apply): Likewise. | |
3973 | * expr.h (prepare_call_address): Update decl. | |
3974 | ||
001da62a CC |
3975 | 2001-07-17 Chandrakala Chavva <cchavva@redhat.com> |
3976 | ||
3affaf29 RH |
3977 | * config.gcc: For *-*-chorusos triplet, get chorus.h file from |
3978 | config directory. | |
3979 | * config/i386/chorus.h: Move up. | |
3980 | * config/sparc/chorus.h: Likewise. | |
3981 | * config/rs6000/chorus.h: Likewise. | |
3982 | * config/chorus.h: Moved here. | |
001da62a | 3983 | |
01efb963 | 3984 | 2001-07-17 Andreas Schwab <schwab@suse.de> |
895b2cfe | 3985 | |
2bd2bdd9 CC |
3986 | * configure.in (assembler eh_frame optimization): Handle big |
3987 | endian. | |
3988 | * configure: Regenerated. | |
01efb963 | 3989 | |
b7e9703c JH |
3990 | Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz> |
3991 | ||
3992 | * expr.c (epxand_expr): Convert divisions into multiplications by | |
3993 | reciprocals if -ffast-math. | |
3994 | ||
653e276c NB |
3995 | 2001-07-17 Neil Booth <neil@daikokuya.demon.co.uk> |
3996 | ||
3997 | * dbxout.c (dbxout_really_begin_function): Rename to | |
3998 | dbxout_begin_function. | |
3999 | (dbx_debug_hooks, xcoff_debug_hooks): Update. | |
4000 | (dbxout_begin_function): Remove. | |
4001 | (dbxout_function): Update. | |
4002 | (dbxout_source_line): Update prototype. | |
4003 | * dbxout.h (dbxout_begin_function): Remove. | |
4004 | * debug.c (do_nothing_debug_hooks): Update. | |
4005 | (debug_nothing_tree): Update. | |
4006 | (debug_nothing_charstar_rtx): Remove. | |
4007 | * debug.h (union tree_node): Declare. | |
4008 | (struct rtx_def): Remove. | |
4009 | (gcc_debug_hooks): New hooks begin_prologue, end_prologue, | |
4010 | begin_function. Change source_line prototype. | |
4011 | (debug_nothing_tree): New. | |
4012 | (debug_nothing_charstar_rtx): Delete. | |
4013 | (dwarf2out_begin_prologue): Moved from ... | |
4014 | * tree.h: ... here. | |
4015 | * dwarf2out.c (dwarf2_debug_hooks): Update. | |
4016 | (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2 | |
4017 | debug info, call dwarf2out_source_line. | |
4018 | (dwarf2out_souce_line): Update prototype. | |
4019 | * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue. | |
4020 | Change prototype, make static. | |
4021 | (dwarfout_source_line): Update prototype. | |
4022 | (dwarf_debug_hooks): Update. | |
4023 | * dwarfout.h (dwarfout_begin_function): Remove. | |
4024 | * final.c (final_start_function, final_scan_insn): Use appropriate | |
4025 | debug hooks, update to use notice_source_line. | |
4026 | (output_source_line): Rename notice_source_line. Don't call the | |
4027 | source_line debug hook. | |
4028 | * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue, | |
4029 | make static, update prototype. | |
4030 | (sdbout_mark_begin_function): Rename sdbout_begin_function, update | |
4031 | prototype. | |
4032 | (sdbout_end_prologue): New. | |
4033 | (sdbout_source_line): Update prototype. | |
4034 | (sdbout_debug_hooks): Update. | |
4035 | (sdbout_symbol): Remove unused var. | |
4036 | * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function): | |
4037 | Delete. | |
4038 | * varasm.c: Include debug.h. | |
4039 | (assemble_start_function): Use begin_function debug_hook. | |
4040 | * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function, | |
4041 | update with prototype. | |
4042 | (xcoffout_source_line): Update prototype. | |
4043 | * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function, | |
4044 | update prototype. | |
4045 | (xcoffout_source_line): Update prototype. | |
4046 | ||
91a18fe0 RH |
4047 | 2001-07-17 Richard Henderson <rth@redhat.com> |
4048 | ||
4049 | * c-typeck.c (build_binary_op): Do not shorten unsigned | |
4050 | right shift after sign extension. | |
4051 | ||
4ba5f925 JH |
4052 | Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz> |
4053 | ||
4054 | * combine.c (combine_simplify_rtx): Attempt to simplify | |
4055 | a*(b/c) as (a*b)/c for floats in unsafe_math mode. | |
4056 | ||
4057 | * simplify-rtx.c (avoid_constatn_pool_reference): New static function. | |
4058 | (simplify_binary_operation, simplify_unary_operation, | |
4059 | simplify_relational_operation): Use it. | |
4060 | ||
4061 | * combine.c (combine_simplify_rtx): Don't do associative law | |
4062 | on divisions; allow associative law on floats. | |
4063 | ||
3aa8ab7b L |
4064 | 2001-07-17 H.J. Lu <hjl@gnu.org> |
4065 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
4066 | ||
4067 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and | |
4068 | ASM_OUTPUT_WEAK_ALIAS are defined. | |
4069 | * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible. | |
4070 | * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL): | |
4071 | Moved ... | |
4072 | * config/mips/iris5.h: ... here. | |
4073 | (HANDLE_SYSV_PRAGMA): Defined as 1. | |
4074 | * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS. | |
4075 | * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak | |
4076 | symbol. | |
4077 | ||
4b01f8d8 JM |
4078 | 2001-07-17 Joseph S. Myers <jsm28@cam.ac.uk> |
4079 | ||
4080 | * c-parse.in (all_prefix_attributes): New variable. | |
4081 | (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros. | |
4082 | (maybe_resetattrs): New production. | |
4083 | (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl, | |
4084 | maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl, | |
4085 | notype_initdcl, nested_function, notype_nested_function, | |
4086 | component_decl, components, components_notype, | |
4087 | component_declarator, component_notype_declarator, | |
4088 | absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl, | |
4089 | ivars, mydecl, myparm): Update. Avoid prefix attributes just | |
4090 | after a comma being applied to more than one declarator. | |
4091 | * doc/extend.texi (Attribute Syntax): Update. Remove | |
4092 | documentation of bugs that are no longer present. | |
4093 | ||
7a38df19 EC |
4094 | 2001-07-13 Eric Christopher <echristo@redhat.com> |
4095 | ||
4096 | * config/mips/mips.h: Change TUNE_MIPS* options to use | |
4097 | mips_tune. | |
4098 | (EXTRA_SPECS): Add cc1_cpu_spec. | |
4099 | * config/mips/mips.md (muldf3): Fix typo. | |
4100 | ||
6d5f49b2 RH |
4101 | 2001-07-16 Richard Henderson <rth@redhat.com> |
4102 | ||
4103 | * config/m68k/m68k.c: Include expr.h and reload.h. | |
4104 | (print_operand_address) [16 bit int]: Cast INTVAL to int for %d. | |
4105 | [general int]: Use HOST_WIDE_INT_PRINT_DEC. | |
4106 | ||
0021de69 DB |
4107 | 2001-07-16 Daniel Berlin <dan@cgsoftware.com> |
4108 | Richard Henderson <rth@redhat.com> | |
4109 | ||
4110 | * cse.c (set_live_p): Take INSN argument for cc0; update callers. | |
4111 | (insn_live_p): Fix fall off end of function. | |
4112 | (dead_libcall_p): Remove COUNTS argument; update callers. | |
4113 | (delete_trivially_dead_insns): Remove unused variables. | |
4114 | ||
b3bb6456 AJ |
4115 | 2001-07-17 Andreas Jaeger <aj@suse.de> |
4116 | ||
4117 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for | |
4118 | x86-64 pic support. | |
4119 | ||
4120 | * lcm.c (optimize_mode_switching): Avoid warning for unused | |
51589632 | 4121 | variable if !NORMAL_MODE. |
b3bb6456 AJ |
4122 | |
4123 | * flow.c (try_crossjump_to_edge): Remove unused variable. | |
4124 | ||
55105156 BK |
4125 | 2001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4126 | ||
4127 | * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3 | |
4128 | atexit declaration in stdlib.h. | |
4129 | ||
4130 | 2001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au> | |
4131 | ||
4132 | * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h | |
4133 | ||
4793dca1 JH |
4134 | Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
4135 | ||
4136 | * basic-block.h (CLEANUP_PRE_SIBCALL): New constant. | |
4137 | * except.c (finish_eh_generation): Update call of cleanup_cfg; | |
4138 | do rebuild_jump_labels instead of jump_optimize | |
4139 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise. | |
4140 | * toplev.c (rest_of_compulation): Likewise for -Wreturn_type. | |
4141 | * flow.c (try_optimize_cfg): Remove unneeded code_labels. | |
4142 | ||
4143 | * flow.c: Include timevar.h | |
4144 | (find_basic_block): Push/pop timevar; | |
4145 | (cleanup_cfg): Likewise. | |
4146 | * timevar.def (TV_CFG, TV_CLEANUP_CFG): New. | |
4147 | * Makefile: Add dependencies on timevar.h | |
4148 | ||
4149 | * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes. | |
4150 | (copy_insn_list): Avoid killing of BASIC_BLOCK notes. | |
4151 | ||
4152 | * rtl.h (delete_trivially_dead_insns): Add new parameter. | |
4153 | * toplev.c (rest_of_compilation): Update calls. | |
4154 | * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ... | |
4155 | (delete_trivially_dead_insns): ... here; accept new argument | |
4156 | preserve_basic_blocks; preserve basic blocks if set. | |
4157 | ||
4158 | * reg-stack.c (stack_regs_mentioned): Return 0 if | |
4159 | stack_regs_mentioned_data is not initialized. | |
4160 | (reg_to_stack): Make stack_regs_mentioned survive after the | |
4161 | reg-stack is completted; do not call cleanup_cfg. | |
4162 | * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder; | |
4163 | make cleanup_cfg after bb-reorder to output to debug file. | |
4164 | ||
b85946fc RH |
4165 | 2001-07-16 Richard Henderson <rth@redhat.com> |
4166 | ||
4167 | * regclass.c (init_reg_sets): Use only 32 bits per initializer | |
4168 | from int_reg_class_contents. | |
4169 | ||
4e2db584 RH |
4170 | 2001-07-16 Richard Henderson <rth@redhat.com> |
4171 | ||
4172 | * hard-reg-set.h (regs_invalidated_by_call): Declare. | |
4173 | * regclass.c (regs_invalidated_by_call): Move from cse.c. | |
4174 | (init_reg_sets_1): Move initialization from cse_main. | |
4175 | * cse.c (regs_invalidated_by_call): Move to regclass.c. | |
4176 | (cse_main): Move its initialization also. | |
4177 | * df.c (df_insn_refs_record): Use regs_invalidated_by_call. | |
4178 | * flow.c (propagate_one_insn): Likewise. | |
4179 | * gcse.c (compute_hash_table): Likewise. | |
4180 | (compute_kill_rd, compute_store_table): Likewise. | |
4181 | * sched-deps.c (sched_analyze_1): Likewise. | |
4182 | ||
cccf0ae8 R |
4183 | Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com> |
4184 | ||
4185 | * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of | |
4186 | gen_rtx_SET. | |
4187 | ||
94fc7dea SE |
4188 | 2001-07-16 Steve Ellcey <sje@cup.hp.com> |
4189 | ||
4190 | * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests | |
4191 | in if statement so we don't access undefined memory. | |
4192 | ||
978cf2fc DB |
4193 | 2001-07-16 Daniel Berlin <dan@cgsoftware.com> |
4194 | ||
b3bb6456 | 4195 | * gcse.c: Update comment at top. |
ccef9ef5 DB |
4196 | Update comment on mem handling. |
4197 | mem_last_set, mem_first_set, mem_set_in_block: gone. | |
4198 | Declaration of reg_set_info: gone. | |
4199 | (oprs_unchanged_p): Don't use mem_*set_* anymore. They are | |
4200 | pointless with load_killed_in_block_p (they are *more* | |
4201 | conservative then it, not less, and less accurate). | |
b3bb6456 | 4202 | (oprs_not_set_p): Ditto. |
ccef9ef5 DB |
4203 | (alloc_gcse_mem): Don't allocate mem_set_in_block |
4204 | (free_gcse_mem): Don't free it, either. | |
4205 | (record_last_mem_set_info): Update comment in front, remove | |
4206 | mem_*set_* stuff. Note the reason we don't handle stores directly | |
4207 | here. | |
4208 | (compute_hash_table): Update comments to reflect reality. Remove | |
4209 | mem_*set_* references. | |
4210 | (reset_opr_set_tables): Remove mem_*set_* references. | |
4211 | (mark_call): Ditto. | |
b3bb6456 | 4212 | (mark_set): Ditto. Also remove double sets of bitmaps for REG's. |
ccef9ef5 DB |
4213 | (mark_clobber): Ditto (on both parts, we double set here too). |
4214 | (expr_killed_p): Remove mem_set_in_block test. | |
4215 | (compute_transp): Remove mem_set_in_block test. | |
4216 | ||
978cf2fc | 4217 | * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal |
b3bb6456 | 4218 | of edge, and removal of phi alternative to dump file. |
978cf2fc DB |
4219 | (ssa_ccp_substitute_constants): Add note about register now being |
4220 | constant, and which uses were replaced in what insns to dump file. | |
4221 | ||
23190837 AJ |
4222 | 2001-07-16 Andreas Jaeger <aj@suse.de> |
4223 | ||
4224 | * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output | |
4225 | variables of type HOST_WIDEST_INT. | |
4226 | ||
4227 | * libgcc2.c (__bb_exit_func): Handle gcov_type as long long. | |
4228 | (__bb_exit_func): Correct type of count_max to avoid overflow. | |
4229 | (num_digits): Handle long long argument. | |
4230 | ||
4231 | * combine.c (gen_lowpart_for_combine): Remove unused variable. | |
4232 | ||
f4dc8d96 NB |
4233 | 2001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
4234 | ||
4235 | * output.h (sdb_begin_function_line): Restore as an extern | |
4236 | variable. | |
4237 | * sdbout.c (sdb_begin_function_line): Make extern. | |
4238 | ||
9e9f3ede RH |
4239 | 2001-07-15 Richard Henderson <rth@redhat.com> |
4240 | ||
4241 | * machmode.def (Pmode): Redefine if GENERATOR_FILE. | |
4242 | * genrecog.c (maybe_both_true_mode): New. | |
4243 | (maybe_both_true_2): Use it. | |
4244 | (write_switch): Don't put Pmode in a switch. | |
4245 | * rtl.c (mode arrays): Don't explicitly size them. | |
4246 | ||
22fb740d JH |
4247 | Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz> |
4248 | ||
4249 | * toplev.c (rest_of_compilation): Fix register_life_up_to_date | |
4250 | handling; move unconditional splitting before mode switching. | |
4251 | ||
4252 | * i386.md (type): Add fistp type. | |
4253 | (i387, length_attr, scheduling definitions): Handle this type. | |
4254 | (fix_trunc?f?i2): Revamp to use mode switching. | |
4255 | (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns. | |
4256 | * i386.h (fp_cw_mode): New enum | |
4257 | (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED, | |
4258 | MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros. | |
4259 | ||
135d50f1 RK |
4260 | Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4261 | ||
4262 | * Makefile.in (integrate.o): Add debug.h. | |
4263 | * integrate.c (debug.h): Add. | |
4264 | (output_inline_function): Save, reset, and restore debug_hooks. | |
4265 | ||
b762a0ef RH |
4266 | 2001-07-15 Richard Henderson <rth@redhat.com> |
4267 | ||
4268 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode | |
4269 | instead of COMPARE for the EQUIV expression. | |
4270 | ||
c319629b RH |
4271 | 2001-07-15 Richard Henderson <rth@redhat.com> |
4272 | ||
4273 | * flow.c (redirect_edge_and_branch_force): Initialize | |
4274 | global_live_at_start and global_live_at_end. | |
4275 | (allocate_bb_life_data): Export. | |
4276 | * basic-block.h (allocate_bb_life_data): Declare. | |
4277 | * toplev.c (rest_of_compilation): Call it. | |
4278 | ||
25e21aed RH |
4279 | 2001-07-15 Richard Henderson <rth@redhat.com> |
4280 | ||
4281 | * config/alpha/alpha.c (alpha_tablejump_addr_vec): New. | |
4282 | (alpha_tablejump_best_label): New. | |
4283 | * config/alpha/alpha-protos.h: Declare them. | |
4284 | * config/alpha/alpha.md: Use braced strings for code blocks. | |
4285 | (tablejump_osf): Break out add with r29. | |
4286 | (tablejump_osf_internal): Remove. | |
4287 | (tablejump_osf_nt_internal): Rename from tablejump_nt_internal, | |
4288 | use alpha_tablejump_addr_vec and alpha_tablejump_best_label. | |
4289 | ||
03598dea JH |
4290 | Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz> |
4291 | ||
4292 | * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies | |
4293 | of the movable. | |
4294 | ||
4295 | * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching. | |
4296 | ||
4297 | * i386-protos.h (ix86_split_fp_branch): Update prototype. | |
4298 | (ix86_fp_jump_nontrivial_p): New. | |
4299 | * i386.md (fp_jcc_?): Update call of split_fp_branch; | |
4300 | use ix86_fp_jump_nontrivial_p. | |
4301 | * i386.c (ix86_fp_jump_nontrivial_p): New. | |
4302 | (ix86_split_fp_branch): Accept code instead of rtx. | |
4303 | (ix86_expand_compare): Expand comparison early in case | |
4304 | doing so is resonably cheap. | |
4305 | ||
b8313db6 NC |
4306 | 2001-07-15 Nick Clifton <nickc@cambridge.redhat.com> |
4307 | ||
4308 | * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian' | |
4309 | not 'machine'. | |
4310 | (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'. | |
4311 | (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'. | |
4312 | ||
e2a12aca NB |
4313 | 2001-07-15 Neil Booth <neil@daikokuya.demon.co.uk> |
4314 | ||
4315 | * dbxout.c (dbxout_source_line): Make static, update prototype. | |
4316 | (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks. | |
4317 | (dbxout_init, dbxout_finish, dbxout_source_line, | |
4318 | dbxout_begin_block, dbxout_end_block): Update for new prototypes. | |
4319 | * dbxout.h (dbxout_source_line): Delete. | |
4320 | * debug.c (debug_nothing_file, debug_nothing_file_int, | |
4321 | debug_nothing_file_charstar_rtx): New. | |
4322 | (do_nothing_debug_hooks): Update. | |
4323 | (debug_nothing_void, debug_nothing_charstar_rtx, | |
4324 | dwarf2out_end_epilogue): New. | |
4325 | (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename. | |
4326 | * debug.h (struct rtx_def): Declare. | |
4327 | (gcc_debug_hooks): New hooks source_line, end_epilogue | |
4328 | and end_function. | |
4329 | (debug_nothing_void, debug_nothing_charstar_rtx, | |
4330 | dwarf2out_end_epilogue): New. | |
4331 | (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename. | |
4332 | * dwarf2out.c (dwarf2out_source_line): Make static, update prototype. | |
4333 | (dwarf2_debug_hooks): Update. | |
4334 | (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line, | |
4335 | dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes. | |
4336 | * dwarf2out.h (dwarf2out_source_line): Remove. | |
4337 | * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function): | |
4338 | Make static, update prototype. | |
4339 | (dwarfout_init, dwarfout_finish, dwarfout_source_line, | |
4340 | dwarfout_begin_block, dwarfout_end_block): Update for new prototypes. | |
4341 | (dwarf_debug_hooks): Update. | |
4342 | * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line, | |
4343 | dwarfout_end_function): Remove. | |
4344 | * final.c (profile_function): Use debug hooks for ending functions | |
4345 | and epilogues. | |
4346 | (output_source_line, final_end_function): Update prototype, | |
4347 | use debug hooks. | |
4348 | (final_start_function, final_scan_insn): Update. | |
4349 | * output.h (sdb_begin_function_line): Remove. | |
4350 | (final_end_function): Update prototype. | |
4351 | * sdbout.c (sdb_begin_function_line): Make static. | |
4352 | (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue. | |
4353 | (sdbout_source_line): New. | |
4354 | (sdbout_end_epilogue, sdbout_end_function): Make static, update | |
4355 | prototypes. | |
4356 | (sdb_debug_hooks): Update. | |
4357 | (sdbout_init, sdbout_source_line, | |
4358 | sdbout_begin_block, sdbout_end_block): Update for new prototypes. | |
4359 | * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove. | |
4360 | * toplev.c (compile_file, rest_of_compilation): Update. | |
4361 | * tree.h (dwarf2out_end_epilogue): Move to debug.h. | |
4362 | * xcoffout.c (xcoffout_source_line, xcoffout_begin_block, | |
4363 | xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function): | |
4364 | Update for prototype changes. | |
4365 | * xcoffout.h (xcoffout_source_line, xcoffout_begin_block, | |
4366 | xcoffout_end_block, xcoffout_end_epilogue): Update prototypes. | |
4367 | ||
be7b80f4 RH |
4368 | 2001-07-15 Richard Henderson <rth@redhat.com> |
4369 | ||
4370 | * config/alpha/alpha.h (TARGET_ABI_OSF): New. | |
4371 | (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users. | |
4372 | * config/alpha/alpha-protos.h: Update TARGET_ABI_* users. | |
4373 | * config/alpha/alpha.c: Likewise. | |
4374 | * config/alpha/alpha.md: Likewise. | |
4375 | * config/alpha/alpha32.h: Likewise. | |
4376 | * config/alpha/vms.h: Likewise. | |
4377 | (OPEN_VMS): Remove. | |
4378 | ||
736f566a RH |
4379 | 2001-07-14 Richard Henderson <rth@redhat.com> |
4380 | ||
4381 | * config/alpha/alpha.md: Use define_constants for unspec values. | |
4382 | Substitute throughout. | |
4383 | ||
e6290e74 TJ |
4384 | 2001-07-14 Tim Josling <tej@melbpc.org.au> |
4385 | ||
4386 | * tree.def (EXPON_EXPR) remove. Never supported anyway. | |
4387 | ||
3794967f JDA |
4388 | 2001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4389 | ||
4390 | * pa.md: Remove unused constraints from define_split's. | |
4391 | ||
35cbdf6f RH |
4392 | 2001-04-14 Richard Henderson <rth@redhat.com> |
4393 | ||
4394 | * ifcvt.c (find_cond_trap): Test for exit block. | |
4395 | ||
1e5fd094 JH |
4396 | Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz> |
4397 | ||
4398 | Re-install recently reverted patch. | |
4399 | * emit-rtl.c (try_split): Update mark_jump_label call. | |
4400 | * flow.c (find_sub_basic_blocks): Likewise. | |
4401 | * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump, | |
4402 | jump_back_p): Kill. | |
4403 | (mark_all_labels): Kill second parameter. | |
4404 | (jump_optimize, jump_optimize_1): Kill cross_jump parameter. | |
4405 | (rebuild_jump_labels, jump_optimize_minimal): Update call | |
4406 | of jump_optimize_1. | |
4407 | (jump_optimize_1): Kill crossjumping code. | |
4408 | (mark_jump_label): Kill cross_jump parameter. | |
4409 | * rtl.h (mark_jump_label, jump_optimize): Update prototypes. | |
4410 | (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill. | |
4411 | * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do | |
4412 | splitting. | |
4413 | * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before | |
4414 | DFI_bpro. | |
4415 | (dump_file_info): Likewise. | |
4416 | (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass; | |
4417 | reorganize passes to do reg-stack first, bb-reorder second. | |
4418 | * invoke.texi (-d letters doc): Remove the jump2 pass. | |
4419 | ||
999c0669 RH |
4420 | 2001-07-14 Richard Henderson <rth@redhat.com> |
4421 | ||
4422 | * ifcvt.c (find_cond_trap): New. | |
4423 | (find_if_header): Call it. | |
4424 | (merge_if_block): Relax existing jump sanity check. | |
4425 | * jump.c (jump_optimize_1): Remove conditional trap handling. | |
4426 | ||
7d8b1412 AM |
4427 | 2001-07-14 Alan Modra <amodra@bigpond.net.au> |
4428 | ||
4429 | * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit | |
4430 | millicode. | |
4431 | (insn_refs_are_delayed): Correct comment. | |
4432 | * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise. | |
4433 | * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2 | |
4434 | instead of r31. Make associated insn !TARGET_64BIT, and | |
4435 | provide an additional 64-bit insn that clobbers r2. | |
4436 | (divsi3): Likewise. | |
4437 | (udivsi3): Likewise. | |
4438 | (modsi3): Likewise. | |
4439 | (umodsi3): Likewise. | |
4440 | ||
1ed672dd JH |
4441 | Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz> |
4442 | ||
4443 | * bb-reorder.c (skip_insn_after_block): Get past the line number notes. | |
4444 | ||
4445 | * flow.c (redirect_edge_and_branch_force, split_edge, | |
4446 | try_crossjump_to_edge): Use set_block_for_new_insns. | |
4447 | * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns. | |
4448 | ||
c51f3aa1 L |
4449 | 2001-07-13 H.J. Lu (hjl@gnu.org) |
4450 | ||
4451 | * config/elfos.h (UNIQUE_SECTION): Enable .bss section with | |
4452 | the correct patch. | |
4453 | ||
ca18be57 GK |
4454 | 2001-07-13 Geoffrey Keating <geoffk@redhat.com> |
4455 | ||
4456 | Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13. | |
4457 | ||
59387d2e JM |
4458 | 2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk> |
4459 | ||
4460 | * c-common.c (decl_attributes): Take a pointer to the node to | |
4461 | which attributes are to be attached, and a flags argument. | |
4462 | * c-common.h (enum attribute_flags): New. | |
4463 | (decl_attributes): Update prototype. | |
4464 | * c-decl.c (start_decl, push_parm_decl, finish_struct, | |
4465 | finish_enum, start_function): Update calls to decl_attributes. | |
4466 | * c-parse.in (component_declarator, component_notype_declarator, | |
4467 | label): Update calls to decl_attributes. | |
4468 | ||
48ccfb40 DC |
4469 | Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru> |
4470 | ||
4471 | * config/avr/avr.md (strlenhi): PARALLEL keyword removed. | |
4472 | * config/avr/avr.c (legitimate_address_p): Return value changed | |
4473 | from letter to register classes. For better debugging. | |
4474 | ||
5a4aeb03 KH |
4475 | 2001-07-13 Kazu Hirata <kazu@hxi.com> |
4476 | ||
4477 | * jump.c (reversed_comparison_code_parts): Fix comment typos. | |
4478 | ||
92e78e59 L |
4479 | 2001-07-13 H.J. Lu (hjl@gnu.org) |
4480 | ||
4481 | * config/elfos.h (UNIQUE_SECTION): Enable .bss section. | |
4482 | ||
f1cf4606 ME |
4483 | 2001-07-13 Marc Espie <espie@cvs.openbsd.org> |
4484 | ||
4485 | * config.gcc (*-*-openbsd*): Add fragment to compile libgcc | |
4486 | correctly for shared configurations. | |
4487 | * config/t-libgcc-pic: New. | |
4488 | * config/{i386,m68k,sparc}/t-openbsd: New. | |
4489 | * config/openbsd.h: Include cpu_spec in cpp_spec where needed. | |
4490 | Support -shared. Support debugging libraries with -g. | |
4491 | * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2 | |
4492 | frame information does not emit pointer diffs. | |
4493 | * config/sparc/openbsd.h: Ensure dwarf2 frame information does not | |
4494 | emit pointer diffs. | |
4495 | ||
998d20d2 GK |
4496 | 2001-07-13 Geoffrey Keating <geoffk@redhat.com> |
4497 | ||
4498 | Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001. | |
4499 | ||
1568d79b DE |
4500 | 2001-07-13 David Edelsohn <edelsohn@gnu.org> |
4501 | ||
4502 | * combine.c (try_combine): Ensure const_int pow2 is positive. | |
4503 | ||
9628a767 HP |
4504 | 2001-07-13 Hartmut Penner <hpenner@de.ibm.com> |
4505 | ||
23190837 AJ |
4506 | * config.gcc: Add configuration for s/390. |
4507 | * config/s390/s390.c: New. Subroutines for code generation. | |
9628a767 HP |
4508 | * config/s390/s390.h: New. Definitions for s/390. |
4509 | * config/s390/s390-protos.h: New. Prototypes. | |
4510 | * config/s390/linux.h: New. Definitions for linux for s/390. | |
4511 | * config/s390/linux64.h: New. Definitions for linux for zSeries. | |
23190837 AJ |
4512 | * config/s390/t-linux: New. Makefile fragment. |
4513 | * config/s390/s390.md: New. Machine description for s/390 and zSeries. | |
9628a767 | 4514 | * config/s390/fixdfdi.h: New. Fix L_fix*di. |
23190837 | 4515 | |
f3ba35e4 JH |
4516 | Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz> |
4517 | ||
4518 | * emit-rtl.c (try_split): Update mark_jump_label call. | |
4519 | * flow.c (find_sub_basic_blocks): Likewise. | |
4520 | * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump, | |
4521 | jump_back_p): Kill. | |
4522 | (mark_all_labels): Kill second parameter. | |
4523 | (jump_optimize, jump_optimize_1): Kill cross_jump parameter. | |
4524 | (rebuild_jump_labels, jump_optimize_minimal): Update call | |
4525 | of jump_optimize_1. | |
4526 | (jump_optimize_1): Kill crossjumping code. | |
4527 | (mark_jump_label): Kill cross_jump parameter. | |
4528 | * rtl.h (mark_jump_label, jump_optimize): Update prototypes. | |
4529 | (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill. | |
4530 | * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do | |
4531 | splitting. | |
4532 | * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before | |
4533 | DFI_bpro. | |
4534 | (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass; | |
4535 | reorganize passes to do reg-stack first, bb-reorder second. | |
4536 | * invoke.texi (-d letters doc): Remove the jump2 pass. | |
4537 | ||
448d17f9 SE |
4538 | 2001-07-12 Steve Ellcey <sje@cup.hp.com> |
4539 | ||
4540 | * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef. | |
4541 | ||
6691db8e JH |
4542 | Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz> |
4543 | ||
4544 | * flow.c (try_optimize_cfg): Delete whole chain of trivially dead | |
4545 | basic blocks. | |
4546 | (verify_flow_info): Make diagnostics prettier. | |
4547 | ||
c35e85f9 JH |
4548 | Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz> |
4549 | ||
4550 | * flow.c (find_basic_blocks_1): Do not emit NOP after call. | |
4551 | ||
4552 | * flow.c (outgoing_edges_match): Return early if condition reversal | |
4553 | failed. | |
4554 | ||
51c6b247 RS |
4555 | 2001-07-06 Richard Sandiford <rsandifo@redhat.com> |
4556 | ||
4557 | * config/mips/mips.c (print_operand): Extend '%D' to memory operands. | |
4558 | (mips_move_2words): When splitting a move into two instructions, | |
4559 | prefix the second address operand with '%D'. | |
4560 | ||
a5a42b92 NB |
4561 | 2001-07-12 Neil Booth <neil@daikokuya.demon.co.uk> |
4562 | ||
4563 | * Makefile.in (final.o): Depend on debug.h. | |
4564 | * dbxout.c (dbxout_begin_block, dbxout_end_block): New. | |
4565 | (dbx_debug_hooks): Add new hooks. | |
4566 | (xcoff_debug_hooks): New. | |
4567 | * debug.c (debug_nothing_file_int_int): New. | |
4568 | (do_nothing_debug_hooks): Update. | |
4569 | * debug.h (gcc_debug_hooks): New hooks begin_block and end_block. | |
4570 | (debug_nothing_file_int_int): New. | |
4571 | * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make | |
4572 | static, update prototype. | |
4573 | (dwarf2_debug_hooks): Update. | |
4574 | * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove. | |
4575 | * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make | |
4576 | static, update prototype. | |
4577 | (dwarf_debug_hooks): Update. | |
4578 | * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove. | |
4579 | * final.c: Include debug.h. | |
4580 | (final_scan_insn): Use debug hooks when beginning and ending blocks. | |
4581 | * sdbout.c (sdbout_begin_block, sdbout_end_block): Make | |
4582 | static, update prototype. | |
4583 | (sdb_debug_hooks): Update. | |
4584 | * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove. | |
4585 | * toplev.c: Distinguish between xcoff and dbx. | |
4586 | ||
4587 | * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_): | |
4588 | Call all debug hooks, not just dwarf ones. | |
4589 | ||
c177db4b TW |
4590 | 2001-07-11 Timothy Wall <twall@redhat.com> |
4591 | ||
4e2db584 RH |
4592 | * config.gcc: Add configuration for AIX5/IA64. |
4593 | * config/ia64/aix.h: New. AIX5/IA64-specific configuration. | |
4594 | * config/ia64/crt[in].asm: New. Generic static ctor/dtor | |
c177db4b | 4595 | support prefix/suffix code. |
4e2db584 RH |
4596 | * config/ia64/t-aix: New. Makefile fragment. |
4597 | * config/ia64/unwind-aix.c: New. Unwind table entry lookup. | |
c177db4b | 4598 | |
4d893612 KH |
4599 | 2001-07-11 Kazu Hirata <kazu@hxi.com> |
4600 | ||
4601 | * recog.c (validate_change): Fix a comment typo. | |
4602 | ||
7f905405 NB |
4603 | 2001-07-11 Neil Booth <neil@daikokuya.demon.co.uk> |
4604 | ||
4605 | * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h. | |
4606 | * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug | |
4607 | hooks directly. | |
4608 | * dbxout.c (dbx_debug_hooks): Add new hooks. | |
4609 | (dbxout_start_new_source_file): Rename dbxout_start_source_file, | |
4610 | make static. | |
4611 | (dbxout_resume_previous_source_file): Rename dbxout_end_source_file, | |
4612 | make static. | |
4613 | * dbxout.h (dbxout_start_new_source_file, | |
4614 | dbxout_resume_previous_source_file): Delete. | |
4615 | * debug.c (do_nothing_debug_hooks): Add new hooks. | |
4616 | (debug_nothing_init_finish): Rename debug_nothing_file_charstar. | |
4617 | (debug_nothing_int_charstar, debug_nothing_int): New. | |
4618 | * debug.h (gcc_debug_hooks): New hooks define, undef, | |
4619 | start_source_file and end_source_file. | |
4620 | (debug_nothing_init_finish): Rename debug_nothing_file_charstar. | |
4621 | (debug_nothing_int_charstar, debug_nothing_int): New. | |
4622 | * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into | |
4623 | the conditionally compiled section. | |
4624 | (dwarf2out_start_source_file, dwarf2out_end_source_file, | |
4625 | dwarf2out_define, dwarf2out_undef): Make static. | |
4626 | * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file, | |
4627 | dwarf2out_define, dwarf2out_undef): Remove. | |
4628 | * dwarfout.c (dwarf_debug_hooks): Add new hooks. | |
4629 | (dwarfout_start_source_file, dwarfout_end_source_file, | |
4630 | dwarfout_define, dwarfout_undef): Make static. | |
4631 | (dwarfout_start_source_file_check, | |
4632 | dwarfout_end_source_file_check): New. | |
4633 | (dwarfout_define, dwarfout_finish): Update. | |
4634 | * dwarfout.h (dwarfout_start_new_source_file, | |
4635 | dwarfout_resume_previous_source_file, dwarfout_define, | |
4636 | dwarfout_undef): Remove. | |
4637 | * sdbout.c (sdb_debug_hooks): Add new hooks. | |
4638 | (sdbout_start_new_source_file): Rename sdbout_start_source_file, | |
4639 | make static. | |
4640 | (sdbout_resume_previous_source_file): Rename sdbout_end_source_file, | |
4641 | make static, take an arg. | |
4642 | * sdbout.h (sdbout_start_new_source_file, | |
4643 | sdbout_resume_previous_source_file): Delete. | |
4644 | * toplev.c (debug_start_source_file, debug_end_source_file, | |
4645 | debug_define, debug_undef): Delete. | |
4646 | * toplev.h (debug_start_source_file, debug_end_source_file, | |
4647 | debug_define, debug_undef): Delete. | |
4648 | ||
4649 | * java/jcf-parse.c: Include debug.h. | |
4650 | (parse_class_file): Update to use debug hooks directly. | |
4651 | * java/Make-lang.in (jcf-parse.o): Depend on debug.h. | |
4652 | ||
ba4828e0 RK |
4653 | Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4654 | ||
4655 | * alias.c (set_mem_alias_set): New function. | |
4656 | * rtl.h (set_mem_alias_set): Declare it. | |
4657 | * builtins.c (expand_builtin_return_addr): Call it instead of | |
4658 | using MEM_ALIAS_SET accessor. | |
4659 | (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise. | |
4660 | (get_memory_rtx, expand_builtin_va_arg): Likewise. | |
4661 | (expand_builtin_va_copy):Likewise. | |
4662 | * caller-save.c (setup_save_areas): Likewise. | |
4663 | * calls.c (compute_argument_addresses): Likewise. | |
4664 | * explow.c (set_mem_attributes): Likewise. | |
4665 | * expr.c (emit_single_push_insn, emit_push_insn): Likewise. | |
4666 | (expand_assignment, store_constructor_field, store_field): Likewise. | |
4667 | (expand_expr_unaligned): Likewise. | |
4668 | * function.c (assign_stack_temp_for_type): Likewise. | |
4669 | (put_reg_into_stack, gen_mem_addressof): Likewise. | |
4670 | * ifcvt.c (noce_try_cmove_arith): Likewise. | |
4671 | * reload1.c (reload, alter_reg): Likewise. | |
4672 | * config/alpha/alpha.c (get_aligned_mem): Likewise. | |
4673 | (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise. | |
4674 | (alpha_expand_unaligned_store): Likewise | |
4675 | (alpha_expand_unaligned_load_words): Likewise. | |
4676 | (alpha_expand_unaligned_store_words): Likewise. | |
4677 | (alpha_expand_block_clear, alpha_expand_prologue): Likewise. | |
4678 | (alpha_expand_epilogue): Likewise. | |
4679 | * config/arc/arc.c (arc_setup_incoming_varargs): Likewise. | |
4680 | * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise. | |
4681 | * config/i386/i386.c (legitimize_pic_address): Likewise. | |
4682 | * config/i960/i960.c (setup_incoming_varargs): Likewise. | |
4683 | * config/ia64/ia64.c (spill_restore_mem): Likewise. | |
4684 | * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise. | |
4685 | * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise. | |
4686 | * config/mips/mips.c (mips_va_arg): Likewise. | |
4687 | * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise. | |
4688 | * config/pa/pa.c (hppa_builtin_saveregs): Likewise. | |
4689 | * config/rs6000/rs6000.c (rs6000_emit_move): Likewise. | |
4690 | (setup_incoming_varargs, rs6000_va_arg): Likewise. | |
4691 | (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise. | |
4692 | (rs6000_emit_epilogue): Likewise. | |
4693 | * config/sh/sh.c (sh_builtin_saveregs): Likewise. | |
4694 | * config/sparc/sparc.c (sparc_va_arg): Likewise. | |
4695 | * config/v850/v850.c (v850_va_arg): Likewise. | |
4696 | ||
46fac664 JH |
4697 | Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz> |
4698 | ||
4699 | * flow.c (merge_blocks_move_successor_nojumps): Do not crash | |
4700 | when fallthru edge is present. | |
4701 | (mege_blocks): Handle case where creation of jump insn | |
4702 | is required. | |
4703 | ||
4704 | * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP, | |
4705 | CLEANUP_POST_REGSTACK): New constants. | |
4706 | * except.c (finish_eh_generation): Update call of cleanup_cfg, | |
4707 | * jump.c (rtx_renumbered_equal_p): Handle 't' fields. | |
4708 | * output.h (cleanup_cfg): Update prototype. | |
4709 | * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize | |
23190837 | 4710 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Update |
46fac664 JH |
4711 | cleanup_cfg call; kill missleading comment. |
4712 | * toplev.c (rest_of_compilation): Update all cleanup_cfg calls. | |
4713 | * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode | |
4714 | parameter; control optimizations performed using it. | |
4715 | (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge, | |
4716 | try_crossjump_bb): New functions. | |
4717 | ||
9acc24a5 JDA |
4718 | 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4719 | ||
4720 | * pa.c (pa_output_function_prologue): Delete prototype. Make function | |
4721 | extern. | |
4722 | * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to | |
4723 | pa_output_function_prologue. | |
4724 | * pa-protos.h (pa_output_function_prologue): New prototype. | |
4725 | ||
9312aecc JDA |
4726 | 2001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4727 | ||
4728 | * stmt.c (emit_case_nodes): Widen high and low instead of new_bound | |
4729 | and low to get correct sign extension in low+high test. | |
4730 | ||
dec2b703 JJ |
4731 | 2001-07-11 Janis Johnson <janis@us.ibm.com> |
4732 | ||
4b9664e2 JJ |
4733 | * gcov.c (arcdata): Use gcov_type to fix branch percentage |
4734 | for large hit count. | |
4735 | ||
dec2b703 JJ |
4736 | * profile.c (branch_prob): Fix .bbg info for computed gotos |
4737 | and C++ EH code. | |
4738 | ||
40b18c0a MM |
4739 | 2001-07-11 Mark Mitchell <mark@codesourcery.com> |
4740 | ||
23190837 | 4741 | * stmt.c (parse_output_constraint): New function, split out |
40b18c0a MM |
4742 | from ... |
4743 | (expand_asm_operands): ... here. Use parse_output_constraint. | |
4744 | * tree.h (parse_output_constraint): Declare it. | |
4745 | ||
a615c28a RH |
4746 | 2001-07-11 Richard Henderson <rth@redhat.com> |
4747 | ||
4748 | * bitmap.c: Comment some functions; fiddle whitespace. | |
4749 | (bitmap_free): Don't export. | |
4750 | (bitmap_element_allocate): Use memset. | |
4751 | * bitmap.h (bitmap_free): Don't declare. | |
4752 | ||
5a660bff DB |
4753 | 2001-07-11 Daniel Berlin <dan@cgsoftware.com> |
4754 | ||
4755 | * gcse.c, lcm.c, sched-deps.c: | |
4756 | s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g | |
4757 | ||
4758 | * flow.c (flow_loops_find): Free dom if we found no loops, since | |
4759 | we aren't going to save it. | |
4760 | ||
4761 | * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are | |
4762 | done. | |
4763 | ||
1a9485cf JL |
4764 | Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com) |
4765 | ||
4766 | * ssa-ccp.c (ssa_fast_dce): Free worklist when completed. | |
4767 | ||
c8383050 RK |
4768 | Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4769 | ||
4770 | * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version | |
4771 | #ifndef DWARF2_DEBUGGING_INFO. | |
4772 | ||
bd77ba51 RS |
4773 | 2001-07-11 Richard Sandiford <rsandifo@redhat.com> |
4774 | ||
4775 | * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes. | |
4776 | ||
b5265b32 RS |
4777 | 2001-07-11 Richard Sandiford <rsandifo@redhat.com> |
4778 | ||
4779 | * config/mips/mips.c (gen_int_relational): Tell the caller not to | |
4780 | reverse a branch if a NE comparison is implemented with GTU. | |
4781 | ||
b87c8c8c RS |
4782 | 2001-07-11 Richard Sandiford <rsandifo@redhat.com> |
4783 | H.J. Lu <hjl@gnu.org> | |
4784 | ||
4785 | * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for | |
4786 | constant addresses. | |
4787 | (call_internal2): Likewise. | |
4788 | (call_value_internal1): Likewise. | |
4789 | (call_value_internal2): Likewise. | |
4790 | (call_value_multiple_internal1): Likewise. | |
4791 | (call_value_multiple_internal2): Likewise. | |
4792 | ||
0407c02b KH |
4793 | 2001-07-10 Kazu Hirata <kazu@hxi.com> |
4794 | ||
4795 | * calls.c (emit_library_call_value_1): Fix a comment typo. | |
4796 | * dwarf2out.c (mem_loc_descriptor): Likewise. | |
4797 | * config/i386/i386.c (ix86_expand_aligntest): Likewise. | |
4798 | ||
a1b2ebc0 DB |
4799 | 2001-07-11 David Billinghurst <David.Billinghurst@riotinto.com> |
4800 | ||
608fe35b | 4801 | * simplify-rtx.c (simplify_subreg): Fix typo in comment |
a1b2ebc0 | 4802 | |
07217645 RK |
4803 | Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4804 | ||
4805 | * recog.c (offsettable_address_p): Handle LO_SUM case. | |
4806 | * config/mips/mips.c (double_memory_operand): Use adjust_address_nv | |
4807 | instead of plus_constant. | |
23190837 | 4808 | |
91667711 SC |
4809 | 2001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4810 | ||
4811 | * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge, | |
4812 | fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS. | |
4813 | ||
d7624dc0 RK |
4814 | Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4815 | ||
4816 | * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use | |
4817 | adjust_address_nv instead of plus_constant. | |
4818 | ||
a51d908e NB |
4819 | 2001-07-10 Neil Booth <neil@daikokuya.demon.co.uk> |
4820 | ||
4821 | * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o, | |
4822 | dwarf2out.o): Depend on debug.h, wrap long lines. | |
4823 | * dbxout.c: Include debug.h. | |
4824 | (dbx_debug_hooks): New. | |
4825 | (dbxout_init): Make static, take just 2 args. | |
4826 | (dbxout_finish): Make static. | |
4827 | * dbxout.h (dbxout_init, dbxout_finish): Delete. | |
4828 | * debug.c: New file. | |
4829 | * debug.h: New file. | |
4830 | * dwarf2out.c: Include debug.h. | |
4831 | (dwarf2_debug_hooks): New. | |
4832 | (dwarf2out_init): Make static. | |
4833 | (dwarf2out_finish): Make static, take 2 args. | |
4834 | * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete. | |
4835 | * dwarfout.c: Include debug.h. | |
4836 | (dwarf_debug_hooks): New. | |
4837 | (dwarfout_init): Make static. | |
4838 | (dwarfout_finish): Make static, take 2 args. | |
4839 | * dwarfout.h (dwarfout_init, dwarfout_finish): Delete. | |
4840 | * sdbout.c: Include debug.h. | |
4841 | (sdb_debug_hooks): New. | |
4842 | (sdbout_init): Make static, take 2 args. | |
4843 | * sdbout.h (sdbout_init): Delete. | |
4844 | * toplev.c: Include debug.h. | |
4845 | (debug_hooks): New. | |
4846 | (compile_file): Set deubg_hooks based on command line options. | |
4847 | Use the hooks unconditionally rather than conditional compilation. | |
4848 | ||
af5c573a JL |
4849 | Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com) |
4850 | ||
4851 | * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to | |
4852 | first_insn_after_basic_block_note instead. | |
4853 | ||
4854 | * df.c (df_bb_refs_unlink): #if 0 out for now. | |
4855 | ||
4856 | 2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com | |
4857 | ||
4858 | * ssa.h: Add prototype for ssa_const_prop | |
4859 | * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references | |
4860 | (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison | |
4861 | (ssa_fast_dce): Remove unused variable | |
4862 | ||
64dfaa76 GDR |
4863 | 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
4864 | ||
4865 | * diagnostic.c (finish_diagnostic): Rename to | |
4866 | diagnostic_finish. Make it take an 'output_buffer *'. Adjust | |
4867 | calls thourghout. | |
4868 | ||
84db136d JM |
4869 | 2001-07-10 Jason Merrill <jason_merrill@redhat.com> |
4870 | ||
8aaf55ac JM |
4871 | * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have |
4872 | .loc support. | |
4873 | ||
84db136d | 4874 | * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses. |
23190837 | 4875 | (dump_file): Only pad the demangled name with spaces if the |
84db136d JM |
4876 | mangled name was padded with spaces. |
4877 | ||
fd052ec3 BS |
4878 | 2001-07-10 Bernd Schmidt <bernds@redhat.com> |
4879 | ||
4880 | * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru | |
4881 | edge detection. | |
4882 | ||
62926f0b RK |
4883 | Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4884 | ||
10c2a453 RK |
4885 | * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield |
4886 | extraction if no direct load if either EXPAND_CONST_ADDRESS or | |
4887 | EXPAND_INITIALIZER. | |
4888 | ||
62926f0b RK |
4889 | * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for |
4890 | whether can put offset inside LO_SUM to check mode alignment, not size. | |
4891 | ||
acdcefcc GDR |
4892 | 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
4893 | ||
4894 | * doc/tm.texi (Misc): Fix thinko. | |
4895 | ||
07167a18 JM |
4896 | 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> |
4897 | ||
4898 | * regmove.c (replace_in_call_usage): Fix warnings. | |
4899 | * sched-deps.c (add_dependence): Fix warnings. | |
4900 | * simplify-rtx.c (simplify_subreg): Likewise. | |
4901 | Return NULL_RTX instead of NULL. | |
4902 | ||
4903 | * reg-stack.c (emit_swap_insn): Eliminate warnings. | |
4904 | (subst_asm_stack_regs): Likewise. | |
4905 | ||
4906 | * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid | |
4907 | warnings. | |
4908 | ||
4909 | * dwarf2out.c (output_call_frame_info): Declare i as int. | |
4910 | (build_abbrev_table): Declare n_alloc as int. | |
4911 | (dwarf2out_finish): Initialize die. | |
4912 | * except.c: Declare sjlj_funcdef_number as unsigned. | |
4913 | (connect_post_landing_pads): Declare j as unsigned. | |
4914 | (convert_to_eh_region_ranges): Initialize call_site. | |
4915 | (output_function_exception_table): Initialize tt_format_size. | |
4916 | * expr.c (move_by_pieces_1): Initialize to1. | |
4917 | (store_constructor): Initialize minelt and maxelt. | |
4918 | * flow.c (mark_regs_live_at_end): Declare i as unsigned. | |
4919 | * function.c (instantiate_decls): Avoid signed/unsigned warning. | |
4920 | ||
4921 | * c-decl.c (combine_parm_decls): Unused, remove. | |
4922 | * c-tree.h: Remove prototype for combine_parm_decls. | |
4923 | ||
4924 | * reload.c (push_reload): Fix warning. | |
4925 | (regno_clobbered_p): Likewise. | |
4926 | * reload1.c (replace_pseudos_in_call_usage): Likewise. | |
4927 | (reload_combine): Likewise. | |
4928 | ||
4929 | * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings. | |
4930 | * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix | |
4931 | warnings. | |
4932 | * bitmap.c (bitmap_operation): Change user. | |
4933 | * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise. | |
4934 | ||
4608d36c EC |
4935 | 2001-07-10 Eric Christopher <echristo@redhat.com> |
4936 | ||
4937 | * config/mips/mips.c (override_options): Fix typo. | |
4938 | ||
f6155fda SS |
4939 | 2001-07-09 Stan Shebs <shebs@apple.com> |
4940 | ||
4941 | * target.h (struct gcc_target): New fields init_builtins and | |
4942 | expand_builtin. | |
4943 | * target-def.h (TARGET_INIT_BUILTINS): New macro. | |
4944 | (TARGET_EXPAND_BUILTIN): New macro. | |
4945 | (TARGET_INITIALIZER): Add them. | |
4946 | * builtins.c: Include target.h. | |
4947 | (expand_builtin): Use targetm.expand_builtin. | |
4948 | (default_init_builtins): New function. | |
4949 | (default_expand_builtin): New function. | |
4950 | * expr.h (default_init_builtins): Declare. | |
4951 | (default_expand_builtin): Declare. | |
4952 | * c-common.c (c_common_nodes_and_builtins): Use | |
4953 | targetm.init_builtins. | |
4954 | * defaults.h (MD_INIT_BUILTINS): Remove. | |
4955 | * Makefile.in (builtins.o): Depend on target.h. | |
4956 | ||
4957 | * config/arm/arm.c (TARGET_INIT_BUILTINS): Define. | |
4958 | (TARGET_EXPAND_BUILTIN): Define. | |
4959 | * config/arm/arm.h (MD_INIT_BUILTINS): Remove. | |
4960 | (MD_EXPAND_BUILTIN): Remove. | |
4961 | ||
4962 | * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define. | |
4963 | (TARGET_EXPAND_BUILTIN): Define. | |
4964 | (c4x_init_builtins): Make endlink arg a local. | |
4965 | (c4x_print_operand): Fix typos in adjust_address usages. | |
4966 | * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl. | |
4967 | * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove. | |
4968 | (MD_EXPAND_BUILTIN): Remove. | |
4969 | ||
4970 | * config/i386/i386.c (TARGET_INIT_BUILTINS): Define. | |
4971 | (TARGET_EXPAND_BUILTIN): Define. | |
4972 | (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins. | |
4973 | (ix86_init_builtins): Call new function only if TARGET_MMX. | |
4974 | * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare. | |
4975 | * config/i386/i386.h (MD_INIT_BUILTINS): Remove. | |
4976 | (MD_EXPAND_BUILTIN): Remove. | |
4977 | ||
4978 | * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define. | |
4979 | (TARGET_EXPAND_BUILTIN): Define. | |
4980 | * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove. | |
4981 | (MD_EXPAND_BUILTIN): Remove. | |
4982 | ||
4983 | * doc/tm.texi: Document these changes. | |
4984 | ||
2b1d9dc0 DN |
4985 | 2001-07-09 Diego Novillo <dnovillo@redhat.com> |
4986 | ||
4987 | * basic-block.h (tree_node): Forward declare if needed. | |
4988 | (struct basic_block_def): Add fields 'head_tree' and 'end_tree'. | |
4989 | (BLOCK_HEAD_TREE): Define. | |
4990 | (BLOCK_END_TREE): Define. | |
4991 | (struct loops): Rename field 'tree' to 'tree_root'. | |
4608d36c | 4992 | * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and |
2b1d9dc0 DN |
4993 | 'end_tree'. |
4994 | (flow_loops_tree_build): Rename reference to field 'tree' to | |
4995 | 'tree_root'. | |
4996 | (flow_loops_level_compute): Ditto. | |
4997 | * predict.c (estimate_bb_frequencies): Ditto. | |
4998 | * tree.h (struct tree_common): Add field 'aux'. | |
4999 | ||
70bdc2ff SS |
5000 | 2001-07-09 Stan Shebs <shebs@apple.com> |
5001 | ||
5002 | * config/darwin.c (darwin_encode_section_info): Don't mark any | |
5003 | DECL_EXTERNAL node as defined. | |
5004 | ||
d777856d JDA |
5005 | 2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5006 | ||
5007 | * pa.c (pa_init_machine_status, pa_mark_machine_status, | |
5008 | pa_free_machine_status, hppa_init_pic_save): Delete. | |
5009 | (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val. | |
5010 | (hppa_profile_hook): Use hppa_pic_save_rtx. | |
5011 | * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX, | |
5012 | hppa_init_pic_save): Delete. | |
5013 | (hppa_pic_save_rtx): Declare. | |
5014 | * pa.md (call, call_value, sibcall, sibcall_value, | |
5015 | builtin_setjmp_receiver): Use hppa_pic_save_rtx. | |
5016 | ||
aa3c0d59 KH |
5017 | 2001-07-09 Kazu Hirata <kazu@hxi.com> |
5018 | ||
5019 | * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi. | |
5020 | * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise. | |
5021 | ||
af076e58 AJ |
5022 | 2001-07-09 Andreas Jaeger <aj@suse.de> |
5023 | ||
5024 | * output.h: Add declaration of final_forward_branch_p. | |
5025 | ||
5026 | * config/i386/i386.c (output_fix_trunc): Remove unused variable. | |
5027 | ||
5028 | * varray.c: Include errors.h for internal_error and trim_filename | |
5029 | declarations. | |
5030 | ||
5031 | * Makefile.in (varray.o): Add errors.h. | |
5032 | ||
fb7e77d7 TM |
5033 | 2001-07-09 Toon Moene <toon@moene.indiv.nluug.nl> |
5034 | ||
5035 | * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn. | |
5036 | * optabs.c (have_add2_insn): Check whether the add insn chosen | |
5037 | really accepts the operands. (have_sub2_insn): Ditto for sub insn. | |
5038 | * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn. | |
5039 | ||
0b47e4c1 JL |
5040 | Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com) |
5041 | ||
5042 | * Makefile.in (OBJS): Add ssa-ccp.o | |
5043 | (ssa-ccp.o): Add dependencies. | |
5044 | * toplev.c (DFI_ssa_ccp): New dump file enum. | |
5045 | (dump_file): Add entry for dumping after SSA CCP. | |
5046 | (flag_ssa_ccp): New flag variable. | |
5047 | (f_options): Add -fssa-ccp. | |
5048 | (rest_of_compilation): Run SSA CCP if requested. | |
5049 | * timevar.def (TV_SSA_CCP): New timevar. | |
5050 | * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes. | |
5051 | * doc/gcc.texi (Passes): Add documentation for SSA CCP pass. | |
5052 | Fix minor typo in SSA DCE documentation. | |
5053 | * doc/invoke.texi: Add documentation for new flag -fssa-ccp. | |
5054 | Add documentation for new dump option. Renumber dump files | |
5055 | appropriately. | |
5056 | ||
5222e470 JH |
5057 | Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
5058 | ||
5059 | * emit-rtl.c (gen_highpart_mode): New. | |
5060 | * rtl.h (gen_highpart_mode): Declare. | |
5061 | * sparc.md (insn splitters): Use gen_highpart_mode, whenever the | |
5062 | operand can be VOIDmode constant. | |
5063 | ||
2b2c8b3e JH |
5064 | Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz> |
5065 | ||
5066 | * flow.c (redirect_edge_and_branch_force): New. | |
5067 | (can_fallthru): Ensure that basic blocks are succeeding. | |
5068 | (try_optimize_cfg): Do not delete basic block if it is the last one. | |
5069 | ||
5070 | * flow.c (try_redirect_by_replacing_jump): Do not remove | |
5071 | jumps with side effects, unlink chain on fallthru edge; | |
5072 | set block for new jump instruction; avoid basic block to | |
5073 | over by line number note. | |
5074 | ||
5075 | * flow.c (try_simplify_condjump): Verify that the condjump | |
5076 | is not always falling trought. | |
5077 | ||
5078 | Re-install patch: | |
5079 | * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter. | |
5080 | ||
5081 | * flow.c (forwarder_block_p): Fix for fallthru blocks. | |
5082 | (try_redirect_by_replacing_jump): Update properly the count | |
5083 | and frequency information. | |
5084 | ||
60a97cd4 RK |
5085 | Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5086 | ||
823e3574 RK |
5087 | * emit-rtl.c (adjust_address, adjust_address_nv): Handle an |
5088 | address that is a LO_SUM specially. | |
5089 | * explow.c (plus_constant_wide, case LO_SUM): Deleted. | |
5090 | ||
60a97cd4 RK |
5091 | * c-lang.c (start_cdtor): Remove extra parameter from start_function. |
5092 | ||
5093 | * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns. | |
5094 | (operand_subword): Use them. | |
5095 | (change_address_1): Renamed from change_address; new arg VALIDATE. | |
5096 | * expr.h: Reflect above changes; change_address now macro. | |
5097 | * alias.c (canon_rtx): Use replace_equiv_address_nv instead of | |
5098 | making MEM. | |
5099 | * cselib.c (add_mem_for_addr): Likewise. | |
5100 | * expr.c (protect_from_queue, emit_move_insn_1): Likewise. | |
5101 | * regmove.c (try_apply_stack_adjustment): Likewise. | |
5102 | * reload.c (push_reload, make_memloc): Likewise. | |
5103 | * reload1.c (eliminate_regs): Likewise. | |
5104 | * simplify-rtx.c (simplify_replace_rtx): Likewise. | |
5105 | * caller-save.c (setup_save_areas): Use adjust_address_nv instead of | |
5106 | adjust_addess. | |
5107 | * combine.c (make_extraction, simplify_shift_const): Likewise. | |
5108 | (gen_lowpart_for_combine): Likewise. | |
5109 | * cse.c (gen_lowpart_if_possible): Likewise. | |
5110 | * function.c (fixup_var_refs_1, purge_addressof_1): Likewise. | |
5111 | * expr.c (expand_expr, case COMPONENT_REF): Likewise. | |
5112 | * optabs.c (gen_move_insn): Likewise. | |
5113 | * reload1.c (alter_reg): Likewise. | |
5114 | * simplify-rtx.c (simplify_subreg): Likewise. | |
5115 | * stmt.c (expand_anon_union_decl): Likewise. | |
5116 | * recog.c (validate_replace_rtx_1): Likewise. | |
5117 | (expr.h): Include. | |
5118 | * Makefile.in (recog.o): Add $(EXPR_H). | |
5119 | * explow.c (stabilize): Call replace_equiv_address. | |
5120 | * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise. | |
5121 | * final.c (alter_subreg): OFFSET is HOST_WIDE_INT. | |
5122 | ||
053a35af AH |
5123 | 2001-07-03 Andrew Haley <aph@redhat.com> |
5124 | ||
5125 | * expmed.c (store_fixed_bit_field): Don't use a mode bigger than | |
5126 | the mode of the memory location. | |
5127 | ||
db42058b BT |
5128 | 2001-07-09 Bo Thorsen <bo@suse.co.uk> |
5129 | ||
5130 | * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support. | |
5131 | ||
17b53c33 NB |
5132 | 2001-07-09 Neil Booth <neil@daikokuya.demon.co.uk> |
5133 | ||
5134 | * final.c (output_addr_const): Use target opening and | |
5135 | closing parentheses. | |
5136 | * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN | |
5137 | defaults, add to TARGET_ASM_OUT. | |
5138 | * target.h (struct gcc_target): Add open_paren and close_paren. | |
5139 | * doc/md.texi: Update. | |
5140 | * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE, | |
5141 | TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and | |
5142 | TARGET_ASM_CLOSE_PAREN. | |
60a97cd4 | 5143 | * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN): |
17b53c33 | 5144 | Override. |
60a97cd4 | 5145 | * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN): |
17b53c33 | 5146 | Override. |
60a97cd4 RK |
5147 | * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove. |
5148 | * config/a29k/a29k.h: Similarly. | |
5149 | * config/alpha/alpha.h: Similarly. | |
5150 | * config/arc/arc.h: Similarly. | |
5151 | * config/arm/aof.h: Similarly. | |
5152 | * config/arm/aout.h: Similarly. | |
5153 | * config/avr/avr.h: Similarly. | |
5154 | * config/c4x/c4x.h: Similarly. | |
5155 | * config/clipper/clipper.h: Similarly. | |
5156 | * config/convex/convex.h: Similarly. | |
5157 | * config/d30v/d30v.h: Similarly. | |
5158 | * config/dsp16xx/dsp16xx.h: Similarly. | |
5159 | * config/elxsi/elxsi.h: Similarly. | |
5160 | * config/fr30/fr30.h: Similarly. | |
5161 | * config/h8300/h8300.h: Similarly. | |
5162 | * config/i370/i370.h: Similarly. | |
5163 | * config/i386/i386.h: Similarly. | |
5164 | * config/i860/i860.h: Similarly. | |
5165 | * config/i960/i960.h: Similarly. | |
5166 | * config/ia64/ia64.h: Similarly. | |
5167 | * config/m32r/m32r.h: Similarly. | |
5168 | * config/m68hc11/m68hc11.h: Similarly. | |
5169 | * config/m68k/m68k.h: Similarly. | |
5170 | * config/m88k/m88k.h: Similarly. | |
5171 | * config/mcore/mcore.h: Similarly. | |
5172 | * config/mips/mips.h: Similarly. | |
5173 | * config/mn10200/mn10200.h: Similarly. | |
5174 | * config/mn10300/mn10300.h: Similarly. | |
5175 | * config/ns32k/ns32k.h: Similarly. | |
5176 | * config/pa/pa.h: Similarly. | |
5177 | * config/pdp11/pdp11.h: Similarly. | |
5178 | * config/pj/pj.h: Similarly. | |
5179 | * config/romp/romp.h: Similarly. | |
5180 | * config/rs6000/rs6000.h: Similarly. | |
5181 | * config/sh/sh.h: Similarly. | |
5182 | * config/sparc/sparc.h: Similarly. | |
5183 | * config/v850/v850.h: Similarly. | |
5184 | * config/vax/vax.h: Similarly. | |
5185 | * config/we32k/we32k.h: Similarly. | |
17b53c33 | 5186 | |
b41df7f6 JM |
5187 | 2001-07-09 Joseph S. Myers <jsm28@cam.ac.uk> |
5188 | ||
5189 | * doc/c-tree.texi: Document representation of attributes. | |
5190 | ||
648c546a JM |
5191 | 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk> |
5192 | ||
5193 | * doc/tm.texi: Update some places for the rename of target to | |
5194 | targetm. Fix typo. | |
5195 | ||
12a68f1f JM |
5196 | 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk> |
5197 | ||
5198 | * target.h (struct gcc_target): Add insert_attributes. | |
5199 | * target-def.h (TARGET_INSERT_ATTRIBUTES): Define. | |
5200 | (TARGET_INITIALIZER): Update. | |
5201 | * tree.c, tree.h (default_insert_attributes): New function. | |
5202 | Update comments on other default functions to refer to targetm, | |
5203 | not target. | |
5204 | * doc/tm.texi (INSERT_ATTRIBUTES): Update to document | |
5205 | TARGET_INSERT_ATTRIBUTES. | |
5206 | (SET_DEFAULT_DECL_ATTRIBUTES): Remove. | |
5207 | * c-common.c (decl_attributes): Use targetm.insert_attributes. | |
5208 | Don't use PRAGMA_INSERT_ATTRIBUTES. | |
5209 | * Makefile.in (c-common.o): Depend on $(TARGET_H). | |
5210 | * c-decl.c (start_decl, start_function): Don't call | |
5211 | SET_DEFAULT_DECL_ATTRIBUTES. | |
5212 | * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define. | |
5213 | * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't | |
5214 | declare. | |
5215 | * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define. | |
5216 | (c4x_check_attribute): Avoid modifying attribute list itself. | |
5217 | (c4x_set_default_attributes): Rename to c4x_insert_attributes. | |
5218 | Make static. | |
5219 | * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define. | |
5220 | * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't | |
5221 | declare. | |
5222 | * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define. | |
5223 | (sh_pragma_insert_attributes): Rename to sh_insert_attributes. | |
5224 | Make static. | |
5225 | * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define. | |
5226 | * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't | |
5227 | declare. | |
5228 | * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define. | |
5229 | (v850_set_default_decl_attr): Rename to v850_insert_attributes. | |
5230 | Adjust parameters. Make static. | |
5231 | ||
f7a4cec0 JM |
5232 | 2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk> |
5233 | ||
5234 | * c-common.c (decl_attributes): Only take a single attributes | |
5235 | parameter. | |
5236 | * c-common.h (decl_attributes): Update prototype. | |
5237 | * c-decl.c (start_decl, start_function): Only take a single | |
5238 | attributes parameter. Update calls to decl_attributes. | |
5239 | (finish_struct, finish_enum): Update calls to decl_attributes. | |
5240 | (push_parm_decl): Expect unified list of attributes. Update call | |
5241 | to decl_attributes. | |
5242 | * c-parse.in (fndef, initdcl, notype_initdcl, nested_function, | |
5243 | notype_nested_function, component_declarator, | |
5244 | component_notype_declarator, label): Update calls to | |
5245 | decl_attributes. | |
5246 | (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute | |
5247 | lists that are passed to push_parm_decl. | |
5248 | * c-tree.h (start_function, start_decl): Update prototypes. | |
5249 | * config/sh/sh-protos.h, config/sh/sh.c | |
5250 | (sh_pragma_insert_attributes): Only take a single attributes | |
5251 | parameter. | |
5252 | * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise. | |
5253 | * doc/tm.texi (INSERT_ATTRIBUTES): Update. | |
5254 | * objc/objc-act.c (define_decl, generate_objc_symtab_decl, | |
5255 | build_module_descriptor, generate_static_references, | |
5256 | generate_strings, build_selector_translation_table, | |
5257 | generate_descriptor_table, generate_protocols, | |
5258 | generate_ivars_list, generate_dispatch_table, | |
5259 | generate_protocol_list, generate_category, | |
5260 | generate_shared_structures, really_start_method, add_objc_decls, | |
5261 | generate_classref_translation_entry): Update calls to start_decl | |
5262 | and start_function. | |
5263 | (build_tmp_function_decl, start_method_def): Unify attribute lists | |
5264 | that are passed to push_parm_decl. | |
5265 | ||
b4c25db2 NB |
5266 | 2001-07-08 Neil Booth <neil@daikokuya.demon.co.uk> |
5267 | ||
5268 | * final.c (no_asm_to_stream): New. | |
5269 | (final_scan_insn): Use target structures for prologue ends | |
5270 | and epilogue starts. | |
5271 | * output.h (no_asm_to_stream): New. | |
5272 | * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE, | |
5273 | TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New. | |
5274 | (TARGET_ASM_OUT): Update. | |
5275 | * target.h (struct gcc_target): New members function_end_prologue | |
5276 | and function_begin_epilogue. | |
60a97cd4 RK |
5277 | * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused. |
5278 | * config/alpha/alpha-protos.h (output_end_prologue): Delete. | |
5279 | * config/alpha/alpha.c (output_end_prologue): Rename to | |
b4c25db2 NB |
5280 | alpha_output_function_end_prologue. Use in target struct |
5281 | and make static. | |
60a97cd4 RK |
5282 | * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete. |
5283 | * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete. | |
5284 | * config/ia64/ia64.c (ia64_output_end_prologue): Rename to | |
b4c25db2 NB |
5285 | ia64_output_function_end_prologue. Use in target struct |
5286 | and make static. | |
5287 | (ia64_function_prologue, ia64_funciton_epilogue): Rename | |
5288 | mistyped prototypes. | |
60a97cd4 RK |
5289 | * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete. |
5290 | * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue): | |
5291 | Delete. | |
5292 | * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename | |
b4c25db2 | 5293 | an use in target struct, make static. |
60a97cd4 RK |
5294 | * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE): |
5295 | Delete. | |
b4c25db2 | 5296 | |
45c8268d RH |
5297 | 2001-07-08 Richard Henderson <rth@redhat.com> |
5298 | ||
5299 | * stmt.c (emit_case_nodes): Convert modes properly in low+high test. | |
5300 | ||
d5d6a58b RH |
5301 | 2001-07-08 Richard Henderson <rth@redhat.com> |
5302 | ||
5303 | * config/i386/i386.md: Remove constraints strings from define_split | |
5304 | and define_peephole2 patterns. | |
5305 | (eh_return_si, eh_return_di): Split eh_return_1 for modes. | |
5306 | (eh_return): Use them. | |
5307 | ||
7c16328b RH |
5308 | 2001-07-08 Richard Henderson <rth@redhat.com> |
5309 | ||
5310 | * doc/tm.texi (Exception Handling): New subnode of Stack and Calling. | |
5311 | Document MD_FALLBACK_FRAME_STATE_FOR. | |
5312 | ||
8dd5d49d SC |
5313 | 2001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5314 | ||
5315 | * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): | |
5316 | Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM | |
5317 | elimination. | |
5318 | * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0. | |
5319 | ||
13daf3c1 NC |
5320 | 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com> |
5321 | ||
5322 | * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end | |
5323 | of the label inside NAME as opposed to just the end of NAME. | |
5324 | ||
8289c43b NB |
5325 | 2001-07-07 Neil Booth <neil@daikokuya.demon.co.uk> |
5326 | ||
5327 | * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete. | |
5328 | * config/alpha/alpha.c (alpha_init_machine_status, | |
5329 | alpha_mark_machine_status, alpha_free_machine_status): Delete. | |
5330 | (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS. | |
5331 | (vms_valid_decl_attribute_p): Make static, conditionally compile. | |
5332 | * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete. | |
5333 | ||
f6897b10 SS |
5334 | 2001-07-06 Stan Shebs <shebs@apple.com> |
5335 | ||
5336 | * target.h (targetm): Rename global from "target", so as not to | |
5337 | conflict with local variables. | |
5338 | * c-decl.c: Ditto. | |
5339 | * c-typeck.c: Ditto. | |
5340 | * final.c: Ditto. | |
5341 | * tree.c: Ditto. | |
5342 | * cp/decl.c: Ditto. | |
5343 | * cp/decl2.c: Ditto. | |
5344 | * cp/typeck.c: Ditto. | |
5345 | * 1750a/1750a.c: Ditto. | |
5346 | * a29k/a29k.c: Ditto. | |
5347 | * arc/arc.c: Ditto. | |
5348 | * arm/arm.c: Ditto. | |
5349 | * avr/avr.c: Ditto. | |
5350 | * clipper/clipper.c: Ditto. | |
5351 | * convex/convex.c: Ditto. | |
5352 | * d30v/d30v.c: Ditto. | |
5353 | * dsp16xx/dsp16xx.c: Ditto. | |
5354 | * elxsi/elxsi.c: Ditto. | |
5355 | * fr30/fr30.c: Ditto. | |
5356 | * h8300/h8300.c: Ditto. | |
5357 | * i370/i370.c: Ditto. | |
5358 | * i386/i386.c: Ditto. | |
5359 | * i860/i860.c: Ditto. | |
5360 | * i960/i960.c: Ditto. | |
5361 | * ia64/ia64.c: Ditto. | |
5362 | * m32r/m32r.c: Ditto. | |
5363 | * m68hc11/m68hc11.c: Ditto. | |
5364 | * m68k/m68k.c: Ditto. | |
5365 | * m88k/m88k.c: Ditto. | |
5366 | * mips/mips.c: Ditto. | |
5367 | * ns32k/ns32k.c: Ditto. | |
5368 | * pa/pa.c: Ditto. | |
5369 | * pdp11/pdp11.c: Ditto. | |
5370 | * romp/romp.c: Ditto. | |
5371 | * rs6000/rs6000.c: Ditto. | |
5372 | * sh/sh.c: Ditto. | |
5373 | * sparc/sparc.c: Ditto. | |
5374 | * vax/vax.c: Ditto. | |
5375 | * we32k/we32k.c: Ditto. | |
5376 | * doc/tm.texi: Update the manual to match. | |
5377 | ||
84fc8b47 RH |
5378 | 2001-07-06 Richard Henderson <rth@redhat.com> |
5379 | ||
5380 | * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of | |
5381 | DWARF2_UNWIND_INFO not just whether it is defined. | |
5382 | ||
4531c1c7 DN |
5383 | 2001-07-06 Diego Novillo <dnovillo@redhat.com> |
5384 | ||
5385 | * combine.c (combine_simplify_rtx): Also recompute 'mode' if the | |
5386 | call to simplify_binary_operation returns a new pattern. | |
5387 | ||
39bd2948 RL |
5388 | 2001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de> |
5389 | ||
5390 | * glimits.h (__SHRT_MAX__): New. | |
5391 | (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX. | |
5392 | (SHRT_MAX): Define in terms of __SHRT_MAX__. | |
5393 | ||
8fa2140d JM |
5394 | 2001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl> |
5395 | ||
5396 | * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to | |
5397 | avoid warnings. | |
5398 | ||
87e08c69 RH |
5399 | 2001-07-06 Richard Henderson <rth@redhat.com> |
5400 | ||
5401 | * bitmap.c (bitmap_release_memory): Move adjacent to the | |
5402 | allocation functions. | |
5403 | (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing | |
5404 | the implementation. Binary search for the set bit. | |
5405 | (bitmap_union_of_diff): Allocate the temporary on the stack | |
5406 | instead of using xmalloc. | |
5407 | ||
0dab343a RH |
5408 | 2001-07-06 Richard Henderson <rth@redhat.com> |
5409 | ||
5410 | * genrecog.c (validate_pattern): Warn for constraints in | |
5411 | define_{expand,split,peephole2}. Remove strict_low_part | |
5412 | before looking up match_dup. | |
5413 | ||
15c0d35d DD |
5414 | 2001-07-06 DJ Delorie <dj@redhat.com> |
5415 | ||
5416 | * doc/gcc.texi (Makefile): Rename to be a more general purpose | |
5417 | chapter about various build hints and history. Add section | |
5418 | talking about the various types of native and cross builds. | |
5419 | ||
00478a05 NB |
5420 | 2001-07-06 Neil Booth <neil@daikokuya.demon.co.uk> |
5421 | ||
5422 | * Makefile.in (final.o): Depend on target.h. | |
5423 | * final.c: Include target.h. | |
5424 | (default_function_pro_epilogue): New. | |
5425 | (final_start_function): Use target structure for function prologues. | |
5426 | (final_end_function): Use target structure for function epilogues. | |
5427 | * fold-const.c (real_hex_to_f): Constify s and p. | |
5428 | * output.h (default_function_pro_epilogue): New. | |
5429 | * real.h (real_hex_to_f): Update prototype. | |
5430 | * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE, | |
5431 | TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New. | |
5432 | (TARGET_INITIALIZER): Update. | |
5433 | * target.h (gcc_target): Add struct asm_out. | |
5434 | * doc/tm.texi: Update. | |
5435 | ||
5436 | config: | |
5437 | Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and | |
5438 | TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions | |
5439 | in cpu/cpu.c, or rename old functions consistently. Take | |
5440 | a HOST_WIDE INT not an int as the SIZE parameter. Remove now | |
5441 | redundant macros and prototypes. Make new functions static. | |
5442 | ||
5443 | * 1750a/1750a.c: Similarly. | |
5444 | * 1750a/1750a.h: Similarly. | |
5445 | * a29k/a29k-protos.h: Similarly. | |
5446 | * a29k/a29k.c: Similarly. | |
5447 | * a29k/a29k.h: Similarly. | |
5448 | * arc/arc-protos.h: Similarly. | |
5449 | * arc/arc.c: Similarly. | |
5450 | * arc/arc.h: Similarly. | |
5451 | * arm/arm-protos.h: Similarly. | |
5452 | * arm/arm.c: Similarly. | |
5453 | * arm/arm.h: Similarly. | |
5454 | * avr/avr-protos.h: Similarly. | |
5455 | * avr/avr.c: Similarly. | |
5456 | * avr/avr.h: Similarly. | |
5457 | * clipper/clipper-protos.h: Similarly. | |
5458 | * clipper/clipper.c: Similarly. | |
5459 | * clipper/clipper.h: Similarly. | |
5460 | * convex/convex.c: Similarly. | |
5461 | * convex/convex.h: Similarly. | |
5462 | * d30v/d30v-protos.h: Similarly. | |
5463 | * d30v/d30v.c: Similarly. | |
5464 | * d30v/d30v.h: Similarly. | |
5465 | * d30v/d30v.md: Similarly. | |
5466 | * dsp16xx/dsp16xx-protos.h: Similarly. | |
5467 | * dsp16xx/dsp16xx.c: Similarly. | |
5468 | * dsp16xx/dsp16xx.h: Similarly. | |
5469 | * elxsi/elxsi.c: Similarly. | |
5470 | * elxsi/elxsi.h: Similarly. | |
5471 | * fr30/fr30.c: Similarly. | |
5472 | * fr30/fr30.md: Similarly. | |
5473 | * h8300/h8300-protos.h: Similarly. | |
5474 | * h8300/h8300.c: Similarly. | |
5475 | * h8300/h8300.h: Similarly. | |
5476 | * i370/i370-protos.h: Similarly. | |
5477 | * i370/i370.c: Similarly. | |
5478 | * i370/i370.h: Similarly. | |
5479 | * i386/i386.c: Similarly. | |
5480 | * i386/osf1elf.h: Similarly. | |
5481 | * i386/osfrose.h: Similarly. | |
5482 | * i860/i860-protos.h: Similarly. | |
5483 | * i860/i860.c: Similarly. | |
5484 | * i860/i860.h: Similarly. | |
5485 | * i960/i960-protos.h: Similarly. | |
5486 | * i960/i960.c: Similarly. | |
5487 | * i960/i960.h: Similarly. | |
5488 | * ia64/ia64-protos.h: Similarly. | |
5489 | * ia64/ia64.c: Similarly. | |
5490 | * ia64/ia64.h: Similarly. | |
5491 | * m32r/m32r-protos.h: Similarly. | |
5492 | * m32r/m32r.c: Similarly. | |
5493 | * m32r/m32r.h: Similarly. | |
5494 | * m68hc11/m68hc11-protos.h: Similarly. | |
5495 | * m68hc11/m68hc11.c: Similarly. | |
5496 | * m68hc11/m68hc11.h: Similarly. | |
5497 | * m68k/crds.h: Similarly. | |
5498 | * m68k/dpx2.h: Similarly. | |
5499 | * m68k/m68k-protos.h: Similarly. | |
5500 | * m68k/m68k.c: Similarly. | |
5501 | * m68k/m68k.h: Similarly. | |
5502 | * m68k/news.h: Similarly. | |
5503 | * m88k/m88k-protos.h: Similarly. | |
5504 | * m88k/m88k.c: Similarly. | |
5505 | * m88k/m88k.h: Similarly. | |
5506 | * mips/mips-protos.h: Similarly. | |
5507 | * mips/mips.c: Similarly. | |
5508 | * mips/mips.h: Similarly. | |
5509 | * ns32k/merlin.h: Similarly. | |
5510 | * ns32k/ns32k.c: Similarly. | |
5511 | * ns32k/ns32k.h: Similarly. | |
5512 | * ns32k/tek6000.h: Similarly. | |
5513 | * pa/pa-protos.h: Similarly. | |
5514 | * pa/pa.c: Similarly. | |
5515 | * pa/pa.h: Similarly. | |
5516 | * pdp11/2bsd.h: Similarly. | |
5517 | * pdp11/pdp11-protos.h: Similarly. | |
5518 | * pdp11/pdp11.c: Similarly. | |
5519 | * pdp11/pdp11.h: Similarly. | |
5520 | * romp/romp-protos.h: Similarly. | |
5521 | * romp/romp.c: Similarly. | |
5522 | * romp/romp.h: Similarly. | |
5523 | * rs6000/rs6000-protos.h: Similarly. | |
5524 | * rs6000/rs6000.c: Similarly. | |
5525 | * rs6000/rs6000.h: Similarly. | |
5526 | * rs6000/sysv4.h: Similarly. | |
5527 | * sh/sh-protos.h: Similarly. | |
5528 | * sh/sh.c: Similarly. | |
5529 | * sh/sh.h: Similarly. | |
5530 | * sparc/sparc-protos.h: Similarly. | |
5531 | * sparc/sparc.c: Similarly. | |
5532 | * sparc/sparc.h: Similarly. | |
5533 | * vax/vax.c: Similarly. | |
5534 | * vax/vax.h: Similarly. | |
5535 | * vax/vms.h: Similarly. | |
5536 | * we32k/we32k.c: Similarly. | |
5537 | * we32k/we32k.h: Similarly. | |
5538 | ||
b62c8881 JL |
5539 | Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com) |
5540 | ||
5541 | * basic-block.h (first_insn_after_basic_block_note): Declare. | |
5542 | * flow.c (first_insn_after_basic_block_note): Define. Moved | |
5543 | from... | |
5544 | * ssa.c (first_insn_after_basic_block_note): Remove. | |
5545 | * ssa-dce.c (find_inherently_necessary): Consider BARRIERs | |
5546 | necessary. | |
5547 | (ssa_eliminate_dead_code): Properly update the CFG and PHI | |
5548 | nodes when we find a dead conditional branch. Insert BARRIERs | |
5549 | after any blocks with no successors, but which do not have | |
5550 | any BARRIERs. | |
5551 | ||
9d99ca5b ZW |
5552 | 2001-07-06 Zack Weinberg <zackw@stanford.edu> |
5553 | ||
5554 | * varray.c (varray_check_failed): Use internal_error. | |
5555 | ||
fc6aa0a9 AH |
5556 | 2001-07-05 Andrew Haley <aph@redhat.com> |
5557 | ||
5558 | * Makefile.in (LIB2_DIVMOD_FUNCS): New. | |
5559 | (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS. | |
5560 | * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS. | |
5561 | ||
6331d1c1 JM |
5562 | 2001-07-02 Jason Merrill <jason_merrill@redhat.com> |
5563 | ||
5564 | * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool | |
5565 | reference if the target constant is also a SYMBOL_REF. | |
5566 | ||
7dac2f89 EC |
5567 | 2001-07-05 Eric Christopher <echristo@redhat.com> |
5568 | ||
6331d1c1 JM |
5569 | * config/mips/mips.h (MASK_MIPS3900): Remove. |
5570 | (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV, | |
5571 | MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal. | |
5572 | (TARGET_MIPS3900): Change to use mips_arch. | |
5573 | (TARGET_MIPS4000): New. | |
5574 | (TARGET_MIPS4100): New. | |
5575 | (TARGET_MIPS4300): New. | |
5576 | (TARGET_SWITCHES): Change 3900 and 4650 options to NULL. | |
5577 | (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text | |
5578 | for -mipsX. | |
5579 | (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900. | |
5580 | (ISA_HAS_BRANCHLIKELY): To here. | |
5581 | (CC1_CPU_SPEC): New. | |
5582 | (CC1_SPEC): Use here. Remove 4650 and 3900 options. | |
5583 | (mips_arch_string): Declare. | |
5584 | (mips_arch): Declare. | |
5585 | (TARGET_OPTIONS): Add -march and -mtune. | |
5586 | ||
5587 | * config/mips/mips.c (mips_arch_string): New. | |
5588 | (mips_arch): New. | |
5589 | (override_options): Handle -march for codegen and -mtune | |
5590 | for scheduling. Use mips_arch. Move tx39 target default here. | |
5591 | (mips_parse_cpu): Move error message to override_options. | |
5592 | ||
5593 | * config/mips/r3900.h (TARGET_DEFAULT): Remove. | |
5594 | ||
5595 | * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300. | |
5596 | ||
5597 | * doc/invoke.texi (Option Summary): Add -march and -mtune entries. | |
5598 | (MIPS Options): Ditto. Change mcpu entry to historical text. | |
7dac2f89 EC |
5599 | |
5600 | 2001-07-05 H.J. Lu (hjl@gnu.org) | |
5601 | ||
4e2db584 RH |
5602 | * config/mips/mips.c (mips_parse_cpu): New function to parse |
5603 | -march=*/-mcpu=*. | |
7dac2f89 | 5604 | |
a2497896 JW |
5605 | 2001-07-05 Jim Wilson <wilson@redhat.com> |
5606 | ||
5607 | * config/ia64/lib1funcs.asm: Revert 2001-07-02 change. | |
5608 | * config/ia64/t-ia64: Likewise. | |
5609 | (LIB1ASMFUNCS): Update comment. | |
5610 | ||
9da6e781 DE |
5611 | 2001-07-05 David Edelsohn <edelsohn@gnu.org> |
5612 | ||
5613 | * doc/install.texi (Install GCC: Binaries): Fix typo. | |
5614 | ||
43a72755 SC |
5615 | 2001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5616 | ||
7dac2f89 EC |
5617 | * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory |
5618 | reference using the stack pointer, adjust it since we push Y | |
43a72755 SC |
5619 | temporarily. |
5620 | ("*ashrsi3"): Likewise. | |
5621 | ("*lshrsi3"): Likewise. | |
5622 | ||
35f0a736 SC |
5623 | 2001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5624 | ||
5625 | * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address | |
5626 | when -fomit-frame-pointer is used. | |
5627 | ||
35428bb9 JO |
5628 | 2001-07-05 Jeffrey Oldham <oldham@codesourcery.com> |
5629 | ||
5630 | * flow.c: Reverse Jan Hubicka's patch of 02July2001. | |
5631 | (try_redirect_by_replacing_jump): Reverse updating properly the | |
5632 | count and frequency information. Reverse removing cc0 setter. | |
5633 | (forwarder_block_p): Reverse fixing for fallthru blocks. | |
5634 | ||
0259b07a DD |
5635 | 2001-07-05 DJ Delorie <dj@redhat.com> |
5636 | ||
5637 | * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New. | |
5638 | (translate_options): If the above is defined, use it to map | |
5639 | given options to new options. | |
5640 | * doc/tm.texi: Document it. | |
5641 | ||
081ca317 BL |
5642 | 2001-07-05 Brad Lucier <lucier@math.purdue.edu> |
5643 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
5644 | ||
5645 | * doc/invoke.texi (Optimize Options): Document that -fgcse may | |
5646 | cause programs using computed gotos to run more slowly. | |
5647 | ||
021c4bfd RO |
5648 | 2001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5649 | ||
5650 | * doc/install.texi (Specific): Markup, spelling and typo fixes. | |
5651 | Fixed sorting. | |
5652 | Consistently require binutils 2.11.2, not prereleases. | |
5653 | (Specific, decstation-*): Canonicalize as mips-dec-*. | |
5654 | (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement, | |
5655 | always necessary. | |
5656 | (Specific, m68k-altos): Removed reference to README.altos, deleted. | |
5657 | (Specific, mips-*): Reword MIPS C compiler requirements. | |
5658 | (Specific, powerpc*-*-*): New, mention --with-cpu once. | |
5659 | (Specific, sunv5): Removed, obsolete. | |
5660 | ||
aafdcfcd NS |
5661 | 2001-07-05 Nathan Sidwell <nathan@codesourcery.com> |
5662 | ||
5663 | * dwarf2out.c (output_loc_list): Use an all ones mask for | |
5664 | .text asm output and don't rely on long long | |
5665 | literals. Reformat some long lines. | |
5666 | ||
6c7f693e AJ |
5667 | 2001-07-05 Andreas Jaeger <aj@suse.de> |
5668 | ||
5669 | * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL | |
5670 | section. | |
5671 | ||
cc260610 DB |
5672 | 2001-07-04 Daniel Berlin <dan@cgsoftware.com> |
5673 | ||
5674 | * dwarf2out.c (dwarf2out_define): Update comment. | |
5675 | (dwarf2out_undef): Ditto. | |
5676 | (dwarf2out_start_source_file): Ditto. | |
5677 | (dwarf2out_end_source_file): Ditto. | |
5678 | (dwarf2out_finish): Output DW_MACINFO_end_file for primary file, | |
5679 | since we never call the start/end debug hook for the primary file. | |
5680 | ||
cc32b876 KH |
5681 | 2001-07-04 Kazu Hirata <kazu@hxi.com> |
5682 | ||
5683 | * config/h8300/h8300.c (get_shift_alg): Remove an extra operand | |
5684 | from shll. | |
5685 | ||
dbead49c NS |
5686 | 2001-07-04 Nathan Sidwell <nathan@codesourcery.com> |
5687 | ||
5688 | * cppinit.c (remove_dup_dirs): Inform if a system include | |
4e2db584 | 5689 | directory is being reordered. |
dbead49c NS |
5690 | * doc/invoke.texi (Directory Options): GCC warns if you hide a |
5691 | system include. | |
5692 | * doc/cpp.texi (Search Paths): Likewise. | |
5693 | * doc/gcc.texi (Interoperation): Remove information about | |
5694 | -I/usr/include. | |
5695 | ||
0cf97c8b NS |
5696 | 2001-07-04 Nathan Sidwell <nathan@codesourcery.com> |
5697 | ||
5698 | * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter. | |
5699 | (VARRAY_TOP_CHAR_PTR): Likewise. | |
5700 | ||
bbed13b1 KG |
5701 | 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5702 | ||
5703 | * gcc.c (process_command): Don't assign elements of a const char*. | |
5704 | ||
2b1b6bf9 RK |
5705 | Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5706 | ||
5707 | * emit-rtl.c (change_address): Don't abort if invalid address while | |
5708 | reload is in progress. | |
5709 | ||
84a5b4f8 DB |
5710 | 2001-07-04 Daniel Berlin <dan@cgsoftware.com> |
5711 | ||
5712 | * c-lex.c (cb_file_change): Pass line number to | |
6c7f693e | 5713 | debug_start_source_file. |
84a5b4f8 DB |
5714 | (cb_undefine): Pass correct line number to debug_undef. |
5715 | ||
5716 | * toplev.c (debug_start_source_file): Add line number to | |
5717 | parameters. Pass it along to dwarf2out_start_source_file. | |
5718 | (decode_g_option): Stop resetting debug level back to normal when | |
5719 | we change debug formats, unless the current level is | |
5720 | none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than | |
5721 | 3). | |
6c7f693e | 5722 | |
84a5b4f8 DB |
5723 | * toplev.h (debug_start_source_file): Add line number to |
5724 | parameters. | |
6c7f693e | 5725 | |
2b1b6bf9 RK |
5726 | * dwarf2out.h (dwarf2out_start_source_file): Add line number to |
5727 | parameters. | |
84a5b4f8 DB |
5728 | |
5729 | * dwarf2out.c (dwarf2out_start_source_file): Add line number to | |
5730 | parameters. | |
6c7f693e | 5731 | Output debug_macinfo data for starting file if requested. |
84a5b4f8 DB |
5732 | (dwarf2out_end_source_file): Output debug_macinfo data for ending |
5733 | file if requested. | |
2b1b6bf9 RK |
5734 | (dwarf2out_define): Output debug_macinfo data for defining a macro |
5735 | if requested. | |
84a5b4f8 DB |
5736 | (dwarf2out_undef): Output debug_macinfo data for undefining a |
5737 | macro if requested. | |
5738 | (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name. | |
5739 | (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label. | |
5740 | (macinfo_section_label): New. DWARF2 macro info section label. | |
5741 | (dwarf2out_init): If we want macro info, output the start label | |
5742 | for the section. | |
5743 | (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info | |
5744 | attribute to the compilation unit die pointing to the macro info. | |
5745 | ||
5746 | 2001-07-04 Daniel Berlin <dan@cgsoftware.com> | |
5747 | ||
5748 | * dwarf2out.c (new_loc_list): Move to inside #ifdef | |
5749 | DWARF2_DEBUGGING_INFO. | |
5750 | (add_loc_descr_to_loc_list): Ditto. | |
5751 | (output_loc_list): Ditto. | |
5752 | Also, fix thinko in curr not being initialized. | |
5753 | (gen_internal_sym): Ditto. | |
6c7f693e | 5754 | |
792760b9 RK |
5755 | Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5756 | ||
5757 | * emit-rtl.c (replace_equiv_address): New function. | |
5758 | * expr.h (replace_equiv_address): New declaration. | |
5759 | * explow.c (validize_mem): Call it instead of change_address and | |
5760 | also call if -fforce-addr and address is constant. | |
5761 | * expr.c: Replace more calls to change_address with adjust_address | |
5762 | and/or replace_equiv_address or to validize_mem. | |
5763 | * function.c, regmove.c, config/alpha/alpha.c: Likewise. | |
5764 | * config/arm/arm.md, config/clipper/clipper.md: Likewise. | |
5765 | * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise. | |
5766 | * config/i370/i370.md, config/i860/i860.md: Likewise. | |
5767 | * config/i960/i960.md, config/mips/mips.c: Likewise. | |
5768 | * config/mips/mips.md, config/pa/pa.md: Likewise. | |
5769 | * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise. | |
5770 | * config/rs6000/rs6000.md, config/sh/sh.md: Likewise. | |
5771 | ||
266aae9b KG |
5772 | 2001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5773 | ||
5774 | * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA. | |
5775 | ||
5776 | * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a | |
5777 | function. | |
5778 | ||
0671eaf6 JM |
5779 | 2001-07-04 Joseph S. Myers <jsm28@cam.ac.uk> |
5780 | ||
5781 | * doc/include: New directory. | |
5782 | * doc/fdl.texi: Move to doc/include/fdl.texi. | |
5783 | * doc/texinfo.tex: Move to doc/include/texinfo.tex. | |
5784 | * doc/include/funding.texi, doc/include/gpl.texi: New files. | |
5785 | * doc/gcc.texi: Use funding.texi and gpl.texi. | |
5786 | * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info, | |
5787 | $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi): | |
5788 | Update dependencies and use -I $(docdir)/include. | |
5789 | ||
77b6797a AG |
5790 | 2001-07-04 Anthony Green <green@redhat.com> |
5791 | ||
5792 | * config/v850/t-v850 (v850-c.o): Add missing dependencies. | |
5793 | ||
e9d21442 GP |
5794 | 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5795 | ||
5796 | * doc/install.texi (sparc64-*-*): Remove garbage. | |
5797 | ||
d2037d01 JM |
5798 | Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl> |
5799 | ||
5800 | * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS): | |
5801 | Fix typo in last change to use adjust_address. | |
5802 | ||
37324a54 GP |
5803 | 2001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5804 | ||
5805 | * doc/install.texi (Specific): Update information for *-*-solaris*. | |
5806 | ||
17ab7c59 RK |
5807 | Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5808 | ||
5809 | * explow.c (plus_constant_wide): Reinitialize Y for restart. | |
5810 | ||
70fb5453 SS |
5811 | 2001-07-03 Stan Shebs <shebs@apple.com> |
5812 | ||
0cf97c8b | 5813 | * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove |
70fb5453 SS |
5814 | case for flag_no_mach_text_sections. |
5815 | (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION. | |
0cf97c8b NS |
5816 | * config/darwin.c (flag_no_mach_text_sections): Remove. |
5817 | * config/darwin-protos.h (darwin_init_pragma): Remove decl. | |
70fb5453 | 5818 | |
b72f00af RK |
5819 | Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5820 | ||
5821 | * explow.c (plus_constant_wide, case PLUS): Call find_constant_term | |
5822 | and avoid checking for constant as first operand. | |
5823 | * recog.c (find_constant_term_loc): No longer static. | |
5824 | (adj_offettable_operand): Delete. | |
5825 | * rtl.h (adj_offsettable_operand): Delete declaration. | |
5826 | (find_constant_term): Add declaration. | |
5827 | * caller-save.c: Replace calls to adj_offsettable_operand with calls | |
5828 | to adjust_address. | |
5829 | * config/arm/arm.c, config/c4x/c4x.c: Likewise. | |
5830 | * config/clipper/clipper.md, config/h8300/h8300.c: Likewise. | |
5831 | * config/i386/i386.c, config/i386/i386.md: Likewise. | |
5832 | * config/i860/i860.c, config/i960/i960.c: Likewise. | |
5833 | * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise. | |
5834 | * config/m68k/m68k.c, config/m68k/m68k.md: Likewise. | |
5835 | * config/m88k/m88k.md, config/mcore/mcore.c: Likewise. | |
5836 | * config/mips/mips.c, config/mips/mips.md: Likewise. | |
5837 | * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise. | |
5838 | * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise. | |
5839 | * config/pa/pa.c, config/pdp11/pdp11.c: Likewise. | |
5840 | * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise. | |
5841 | * config/vax/vax.md, config/ns32k/ns32k.c: Likewise. | |
5842 | * config/ns32k/ns32k.md: Likewise. | |
5843 | ||
3b324340 ZW |
5844 | 2001-07-03 Zack Weinberg <zackw@stanford.edu> |
5845 | ||
5846 | * rtl.c (copy_rtx): Handle 'T' format letter. | |
5847 | * gensupport.c (collect_insn_data): Likewise. | |
5848 | * print-rtl.c (print_rtx): Print 'T' slots like 's'. | |
5849 | ||
bf4eebe0 NC |
5850 | 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com> |
5851 | ||
5852 | * doc/invoke.texi (Directory Options): Specifiy range for <N> in | |
5853 | -B option. Use 'dir' not 'foo' as example directory name. | |
5854 | ||
c1911346 RO |
5855 | 2001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5856 | ||
5857 | * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
5858 | Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275. | |
5859 | ||
f89dec57 JM |
5860 | 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk> |
5861 | ||
5862 | * doc/cppinternals.texi: Improve formatting and logical markup. | |
5863 | ||
5b7c7046 AJ |
5864 | 2001-07-03 Andreas Jaeger <aj@suse.de> |
5865 | ||
5866 | * Makefile.in (insn-recog.o): Add dependency on reload.h. | |
5867 | ||
5868 | * genrecog.c (write_header): Include reload.h for prototypes in | |
5869 | insn-recog.c. | |
5870 | ||
f5f4be42 NB |
5871 | 2001-07-03 Neil Booth <neil@daikokuya.demon.co.uk> |
5872 | ||
5873 | config: | |
5874 | * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, | |
5875 | VALID_MACHINE_TYPE_ATTRIBUTE): Remove. | |
5876 | * i386/i386-protos.h (i386_pe_valid_decl_attribute_p, | |
5877 | i386_pe_valid_type_attribute_p): Add. | |
5878 | * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets. | |
5879 | * i386/winnt.c (i386_valid_decl_attribute_p): Return directly. | |
5880 | ||
ed8908e7 RK |
5881 | Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5882 | ||
5883 | * explow.c (plus_constant_wide, case LO_SUM): New case. | |
5884 | (plus_constant_for_output_wide): Delete. | |
5885 | * rtl.h (plus_constant_for_output): Delete. | |
5886 | * alias.c (canon_rtx, init_alias_analysis): Call plus_constant | |
5887 | instead of plus_constant_for_output. | |
5888 | * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise. | |
5889 | * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise. | |
5890 | * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise. | |
5891 | * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise. | |
5892 | * config/sparc/sparc.md: Likewise. | |
5893 | Convert some change_address calls to adjust_address. | |
5894 | ||
aee96fe9 JM |
5895 | 2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk> |
5896 | ||
5897 | * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi, | |
5898 | doc/rtl.texi, doc/tm.texi: Improve formatting. Improve | |
5899 | documentation of -std and -Wwrite-strings. | |
5900 | ||
8bf4dfc2 GK |
5901 | 2001-07-02 Geoffrey Keating <geoffk@redhat.com> |
5902 | ||
5903 | * cse.c (canon_hash): Don't register registers in very small | |
5904 | register classes, as extending their lifetime might cause | |
5905 | reload to fail. | |
5906 | ||
f8d1529b JH |
5907 | Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
5908 | ||
5909 | * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter. | |
5910 | ||
5911 | * flow.c (forwarder_block_p): Fix for fallthru blocks. | |
5912 | (try_redirect_by_replacing_jump): Update properly the count | |
5913 | and frequency information. | |
5914 | ||
0826f1d8 JL |
5915 | Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com) |
5916 | ||
5917 | * toplev.c (dump_file_index): Move SSA dumps just after first | |
5918 | jump dump. | |
5919 | (dump_file): Corresponding changes. | |
5920 | (rest_of_compilation): Move SSA path to just after the first | |
5921 | jump pass. | |
5922 | * doc/gcc.texi (Passes): Update due to movement of SSA path. | |
5923 | * doc/invoke.texi: Update dump file #s as they were completely | |
5924 | out of date with reality. | |
5925 | ||
918a6124 GK |
5926 | 2001-07-02 Geoffrey Keating <geoffk@redhat.com> |
5927 | ||
5928 | * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE. | |
5929 | ||
5930 | * expr.c (emit_move_insn_1): Deal with non-default | |
5931 | STACK_PUSH_CODE. | |
5932 | ||
5933 | * expr.c (emit_single_push_insn): Fix warning. | |
5934 | ||
5935 | 2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> | |
5936 | ||
5937 | * expr.c (emit_move_insn_1): Avoid modifying | |
5938 | cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined. | |
5939 | ||
f4ef873c RK |
5940 | Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5941 | ||
5942 | * emit-rtl.c (adjust_address): New function. | |
5943 | * expr.h (adjust_address): Add declaration. | |
5944 | * builtins.c: Replace some calls to change_address with calls to it | |
5945 | or to validize_mem. | |
5946 | * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise. | |
5947 | * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise. | |
5948 | * config/arm/arm.c, config/convex/convex.c: Likewise. | |
5949 | * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise. | |
5950 | * config/i386/i386.c, config/i386/i386.md: Likewise. | |
5951 | * config/ia64/ia64.c, config/ia64/ia64.md: Likewise. | |
5952 | * config/m32r/m32r.c, config/m68k/m68k.md: Likewise. | |
5953 | * config/m88k/m88k.c, config/mips/mips.md: Likewise. | |
5954 | * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise. | |
5955 | * config/sh/sh.c, config/sparc/sparc.md: Likewise. | |
5956 | ||
becbcf96 JW |
5957 | 2001-07-02 Jim Wilson <wilson@redhat.com> |
5958 | ||
5959 | * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment. | |
5960 | ||
5961 | 2001-07-02 Steve Ellcey <sje@cup.hp.com> | |
5962 | ||
4e2db584 RH |
5963 | * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore. |
5964 | * config/ia64/lib1funcs.asm: Change macro names to match t-ia64. | |
becbcf96 | 5965 | |
a01eb545 ZW |
5966 | 2001-07-02 Zack Weinberg <zackw@stanford.edu> |
5967 | ||
5968 | * cppinit.c (lang_defaults): New table. | |
5969 | (set_lang): Just read from lang_defaults into the live options | |
5970 | structure. | |
5971 | ||
51817b10 ZW |
5972 | 2001-07-02 Zack Weinberg <zackw@stanford.edu> |
5973 | ||
5974 | * Makefile.in (doc): Depend on $(GENERATED_MANPAGES). | |
5975 | * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1. | |
5976 | * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed. | |
5977 | ||
eea81d3e RO |
5978 | 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5979 | ||
5980 | * doc/install.texi: Various spelling and markup fixes. | |
5981 | (Installing GCC): Component specific installation instructions are | |
5982 | gone. | |
5983 | Fix reference. | |
5984 | Warn about removing old install dir in the presence of shared libs. | |
5985 | (Configuration): Invoke with options target to match configure | |
5986 | --help. | |
5987 | Consistently refer to gas, gld pathnames. | |
5988 | Invert --enable-multilib documentation. | |
5989 | Remove references to old compiler versions. | |
5990 | ||
faf041ed RK |
5991 | Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5992 | ||
5993 | * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags. | |
5994 | ||
213ba345 RO |
5995 | 2001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5996 | ||
5997 | * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5 | |
5998 | section. | |
5999 | (Specific, mips*-sgi-irix5): Note IDO download. | |
6000 | Reworded MIPS C hints. | |
6001 | Use GNU as instead of GAS. | |
6002 | Markup fixes. | |
6003 | Removed SGI Freeware reference, IRIX 6 only. | |
6004 | (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete. | |
6005 | Note N64 library requirement/workaround. | |
6006 | Update O32 hints. | |
6007 | Complete list of structure passing bug victims. | |
6008 | ||
b9063b3d GP |
6009 | 2001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
6010 | ||
6011 | * doc/install.texi: Remove CVS Id. | |
6012 | ||
766890e1 AJ |
6013 | 2001-07-02 Andreas Jaeger <aj@suse.de> |
6014 | ||
6015 | * ssa-dce.c (note_inherently_necessary_set): Add unused attribute. | |
6016 | (find_inherently_necessary): Remove unused variable. | |
6017 | ||
6be77748 NS |
6018 | 2001-07-02 Nathan Sidwell <nathan@codesourcery.com> |
6019 | ||
6020 | * c-common.h (TDI_inlined): New ast dump phase. | |
6021 | (dump_flag_name): New function. | |
6022 | * c-dump.c (dump_files): Add inlined phase. | |
6023 | (dump_flag_name): Define. | |
6024 | * doc/invoke.texi (-fdump-ast-inlined): Document. | |
6025 | ||
3aa12a58 RK |
6026 | Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6027 | ||
6028 | * stor-layout.c (layout_decl): Revert change to handling of alignment | |
6029 | in packed types. | |
6030 | ||
21266f81 RK |
6031 | Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6032 | ||
6033 | * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl | |
6034 | for FIELD_DECL. | |
6035 | ||
1cc5e432 GK |
6036 | 2001-07-01 Geoffrey Keating <geoffk@redhat.com> |
6037 | ||
6038 | * doc/tm.texi (FUNCTION_ARG): Document that the last call | |
6039 | is special. | |
6040 | ||
3746c4a2 NS |
6041 | 2001-07-01 Nathan Sidwell <nathan@codesourcery.com> |
6042 | ||
6043 | * tlink.c (recompile_files): Remove COMPILER_PATH and | |
6044 | LIBRARY_PATH from the environment. | |
6045 | ||
b8363a24 ZW |
6046 | 2001-07-01 Zack Weinberg <zackw@stanford.edu> |
6047 | ||
6048 | * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT, | |
6049 | RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST | |
6050 | enumerators. | |
6051 | (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros. | |
6052 | ||
6053 | * c-parse.in (OBJC_STRING): Kill. | |
6054 | (objc_string): Decompose to [objc_string] '@' STRING. | |
6055 | (reswords): Take the leading '@' off all the Objective C keywords. | |
6056 | (objc_rid_sans_at): Kill. | |
6057 | (init_reswords): Don't initialize it. | |
6058 | (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD. | |
6059 | (_yylex): Kill reconsider label. Look ahead one token after | |
6060 | an '@'; if we get an identifier, check whether it's an | |
6061 | Objective C @-keyword. If so, return the keyword. Otherwise, | |
6062 | put back the token and return the '@' as a terminal. | |
6063 | ||
6064 | * cpplib.c (lex_macro_node): Remove unnecessary check for | |
6065 | leading '@' on identifier. Clarify control flow and commentary. | |
6066 | ||
be8ac49a RK |
6067 | Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6068 | ||
6069 | * cse.c (new_label_ref): Variable deleted. | |
6070 | (insert): Remove set of new_label_ref. | |
6071 | (check_for_label_ref): New function. | |
6072 | (cse_basic_block): Don't check new_label_ref; call check_for_label_ref. | |
6073 | ||
528aeb48 | 6074 | See ChangeLog.5 for earlier changes. |