]>
Commit | Line | Data |
---|---|---|
7f2749d4 RK |
1 | Sun May 13 07:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2 | ||
3 | * configure.in: ldopen is never in -lexc, so don't test for it. | |
4 | Add test for exc_resume in -lexc for Ada. | |
5 | * configure: Regenerated. | |
6 | ||
d9c21959 | 7 | 2001-05-12 Richard Henderson <rth@redhat.com> |
b627d6fe RH |
8 | |
9 | * dwarf2asm.c (size_of_encoded_value): New function. | |
10 | * dwarf2asm.h: Declare it. | |
11 | * except.c (output_function_exception_table): Align the TType | |
12 | array only as wide as the encoding. | |
13 | ||
1f730ff7 ZW |
14 | 2001-05-12 Zack Weinberg <zackw@stanford.edu> |
15 | ||
16 | * extend.texi: Document #pragma GCC java_exceptions. | |
17 | ||
a3eaca15 NB |
18 | 2001-05-12 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
19 | ||
20 | * c-parse.in (bison parser, init_reswords): Remove uses of | |
21 | doing_objc_thang. | |
22 | * c-tree.h (doing_objc_thang): Remove. | |
23 | ||
800914c3 NB |
24 | 2001-05-12 Neil Booth <neil@daikokuya.demon.co.uk> |
25 | ||
26 | * cpplex.c (_cpp_lex_token): Ensure we warn at most once | |
27 | about files not ending in newlines. | |
28 | ||
92928d71 AO |
29 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> |
30 | ||
31 | * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta. | |
32 | ||
f3c55c97 AO |
33 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> |
34 | ||
35 | * defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
36 | * tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document. | |
37 | ||
2a1ee410 RH |
38 | 2001-05-11 Richard Henderson <rth@redhat.com> |
39 | ||
40 | * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
41 | * dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1, | |
42 | dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New. | |
43 | * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype. | |
44 | (dw2_output_indirect_constants): Prototype. | |
45 | * dwarf2out.c (dwarf2out_begin_prologue): Generate | |
46 | current_function_func_begin_label if we'll need it for EH. Exit | |
47 | early for IA64_UNWIND_INFO. | |
48 | * except.c: Get DW_EH_PE_* defines from dwarf2.h. | |
49 | (eh_data_format_name): Update for indirect references. | |
50 | (output_function_exception_table): Care for IA64_UNWIND_INFO. | |
51 | Handle ASM_PREFERRED_EH_DATA_FORMAT. | |
52 | * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't | |
53 | define HAVE_eh_return etc. | |
54 | * final.c (final_start_function): Always call dwarf2out_begin_prologue. | |
55 | (final_end_function): Don't call output_function_exception_table. | |
56 | * toplev.c (compile_file): Call dw2_output_indirect_constants. | |
57 | (rest_of_compilation): Invoke output_function_exception_table | |
58 | for ia64 before assemble_end_function. | |
59 | * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document. | |
60 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document. | |
61 | ||
62 | * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New. | |
63 | * unwind.h: Declare them. | |
64 | * libgcc-std.ver: Export them. | |
65 | * unwind-pe.h: New file. | |
66 | ||
67 | * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
68 | ||
69 | * config/ia64/fde-glibc.c: Use "struct unw_table_entry" | |
70 | instead of "fde". | |
71 | (find_fde_for_dso): Extract DT_PLTGOT. | |
72 | (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return | |
73 | the segment and gp as well. | |
74 | * config/ia64/frame-ia64.c: Remove file. | |
75 | * config/ia64/frame-ia64.h: Remove file. | |
76 | * config/ia64/unwind-ia64.c: New file. | |
77 | * config/ia64/unwind-ia64.h: New file. | |
78 | * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove. | |
79 | (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove. | |
80 | (ASM_OUTPUT_EH_DOUBLE_INT): Remove. | |
81 | (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
82 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New. | |
83 | (IA64_UNWIND_INFO): Re-enable. | |
84 | (HANDLER_SECTION): Remove. | |
85 | (EH_RETURN_DATA_REGNO): New. | |
86 | * config/ia64/ia64.md (exception_receiver): Remove. | |
87 | * config/ia64/t-glibc (LIB2ADDEH): Re-enable. | |
88 | * config/ia64/t-ia64 (LIB2ADDEH): Re-enable. | |
89 | ||
f12f25a7 RH |
90 | 2001-05-11 Richard Henderson <rth@redhat.com> |
91 | ||
92 | * config/ia64/ia64.c (group_barrier_needed_p): Don't allow | |
93 | calls and jumps to be bundled together. | |
94 | (ia64_reorg): Emit a break after a noreturn call that ends | |
95 | a function. | |
96 | * config/ia64/ia64.md (break_f): New. | |
97 | ||
c8a96070 NB |
98 | 2001-05-12 Neil Booth <neil@daikokuya.demon.co.uk> |
99 | ||
100 | * c-lex.c (lex_charconst): Convert into a simple wrapper | |
101 | around cpp_interpret_charconst, to which most of the code | |
102 | body is moved. | |
103 | * cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, | |
104 | MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK, | |
105 | MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove. | |
106 | (lex): Use cpp_interpret_charconst. | |
107 | * cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst, | |
108 | hex_digit_value): New functions. | |
109 | (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros. | |
110 | * cpplib.h (cpp_interpret_charconst): New prototype. | |
111 | * Makefile.in: Update. | |
112 | ||
f42974dc DW |
113 | 2001-05-12 Dean Wakerley <dean@wakerley.com> |
114 | ||
115 | * doc/install.texi: New file. Converted to texinfo from the HTML | |
116 | documentation in wwwdocs/htdocs/install. | |
117 | ||
37ff4d28 JL |
118 | Fri May 11 15:50:13 2001 Jeffrey A Law (law@cygnus.com) |
119 | ||
8598a9a2 JL |
120 | * gcse.c (insert_insn_end_bb): Do not search for assignments to |
121 | non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE. | |
122 | ||
37ff4d28 JL |
123 | * toplev.c (compile_file): Move comment for opening output |
124 | file to just before the code that opens the output file. | |
125 | ||
3721581a JJ |
126 | 2001-05-11 Jakub Jelinek <jakub@redhat.com> |
127 | ||
128 | * regmove.c (regmove_optimize): Suppress the optimization for | |
129 | unchanging destination register. Add comment above function. | |
130 | ||
fecd6201 ZW |
131 | 2001-05-11 Zack Weinberg <zackw@stanford.edu> |
132 | ||
133 | * Makefile.in: Exterminate all references to assert.h. | |
134 | * cross-make: Likewise. | |
135 | * assert.h: Delete. | |
136 | * configure.in: Correct commentary. | |
137 | * configure: Regenerate. | |
138 | ||
139 | * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h: | |
140 | Remove __eprintf. | |
141 | ||
142 | * config/t-freebsd, config/t-linux, config/t-linux-aout, | |
143 | config/t-netbsd, config/t-rtems, config/x-linux, | |
144 | config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe: | |
145 | No need to override INSTALL_ASSERT_H. | |
146 | ||
147 | * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx, | |
148 | fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap, | |
149 | fixinc/fixincl.sh: Don't install assert.h into objdir/include. | |
150 | ||
99dc5306 GS |
151 | 2001-05-11 Graham Stott <grahams@redhat.com> |
152 | ||
153 | * combine.c (simplify_comparison): Fix typo. | |
154 | ||
28680540 MM |
155 | 2001-05-11 Mark Mitchell <mark@codesourcery.com> |
156 | ||
157 | * loop.h (struct movables): Remove `num'. | |
158 | * loop.c (scan_loop): Don't set it. Use count_insns_in_loop. | |
159 | Adjust call to strength_reduce. | |
160 | (num_unmoved_movables): New function. | |
161 | (move_movables): Don't set movables->num. | |
162 | (strength_reduce): Compute the number of instructions in the loop | |
163 | here, rather than in the caller. | |
164 | (check_dbra_loop): Always clear reversible_mem_store if there | |
165 | are any memory sets. | |
166 | (loop_regs_scan): Don't count instructions here. | |
167 | (count_insn_in_loop): New function. | |
168 | ||
897aa57f MM |
169 | 2001-05-11 Mark Mitchell <mark@codesourcery.com> |
170 | ||
171 | * optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P. | |
172 | ||
15b732b2 NB |
173 | 2001-05-11 Neil Booth <neil@daikokuya.demon.co.uk> |
174 | ||
175 | * c-common.c (finish_label_expr): New function, lifted from | |
176 | from cp/semantics.c. | |
177 | * c-common.h (finish_label_expr, lookup_label): New prototypes. | |
178 | * c-parse.in: Move 3 blocks of parser code into new functions. | |
179 | * c-typeck.c (simple_asm_stmt, c_cast_expr): New functions. | |
180 | * c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes. | |
181 | (lookup_label): Remove. | |
182 | ||
487dcdb0 AO |
183 | 2001-05-11 Alexandre Oliva <aoliva@redhat.com> |
184 | ||
185 | * config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define | |
186 | FLOAT_BIT_ORDER_MISMATCH. | |
187 | ||
f1eaaf73 DE |
188 | 2001-05-10 David Edelsohn <edelsohn@gnu.org> |
189 | ||
190 | * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to | |
191 | bytes. Reported by Kazu Hirata <kazu@hxi.com>. | |
192 | ||
f3ce87a9 DE |
193 | 2001-05-10 David Edelsohn <edelsohn@gnu.org> |
194 | ||
195 | * expr.c (emit_group_load): extract_bit_field requires a REG or | |
196 | MEM as an argument. | |
197 | ||
7dfd465c JL |
198 | Thu May 10 14:45:44 2001 Jeffrey A Law (law@cygnus.com) |
199 | ||
d466c016 JL |
200 | * cse.c (cse_insn): Mostly remove first hunk of code which collapsed |
201 | a computed jump into an unconditional jump. | |
202 | In second hunk of code for collapsing computed and conditional jumps | |
203 | into unconditional jumps, reemit the jump in additional cases. | |
204 | ||
7dfd465c JL |
205 | * jump.c (jump_optimize_1): Do not wrap the new jump target |
206 | inside a LABEL_REF; gen_jump will do that automatically. | |
207 | ||
79cdfa4b TM |
208 | 2001-05-10 Toon Moene <toon@moene.indiv.nluug.nl> |
209 | ||
210 | * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool | |
211 | contents for a SYMBOL_REF in case of floating point constants. | |
212 | ||
b0089a92 DD |
213 | 2001-05-10 DJ Delorie <dj@redhat.com> |
214 | ||
215 | * c-common.c (combine_strings): Widen strings in a | |
216 | host-endian-independent way. | |
217 | ||
25d78ace JM |
218 | 2001-05-10 Joseph S. Myers <jsm28@cam.ac.uk> |
219 | ||
220 | * c-parse.in: Remove many shift/reduce conflicts. Update | |
221 | %expect values. | |
222 | (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea, | |
223 | declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea, | |
224 | declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea, | |
225 | declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea, | |
226 | declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea, | |
227 | declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea, | |
228 | declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea, | |
229 | declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts, | |
230 | declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa, | |
231 | declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs, | |
232 | maybe_type_quals_setattrs, typespec_nonattr, typespec_attr, | |
233 | typespec_reserved_nonattr, typespec_reserved_attr, | |
234 | typespec_nonreserved_nonattr, maybe_setattrs, structsp_attr, | |
235 | structsp_nonattr, components_notype, component_notype_declarator, | |
236 | absdcl1_ea, absdcl1_noea, direct_absdcl1, absdcl_maybe_attribute, | |
237 | firstparm, setspecs_fp): New | |
238 | (typed_declspecs, reserved_declspecs, typed_typespecs, | |
239 | reserved_typespecquals, declmods, typespec, typespecqual_reserved, | |
240 | typed_declspecs_no_prefix_attr reserved_declspecs_no_prefix_attr | |
241 | declmods_no_prefix_attr, nonempty_type_quals, structsp, | |
242 | type_quals): Remove. Users updated. | |
243 | (initdecls, notype_initdecls, after_type_declarator, | |
244 | parm_declarator, notype_declarator, absdcl1, components, ivars): | |
245 | Don't allow attributes at the start of a declarator; include them | |
246 | in the production containing the declarator instead. Always | |
247 | require type specifiers before trying to redeclare a typedef name. | |
248 | (typename): Allow for attributes but warn that they are ignored. | |
249 | (parmlist, firstparm, setspecs_fp): Include attributes in | |
250 | parmlist; suck them off the parser stack in firstparm using | |
251 | setspecs_fp. | |
252 | ||
f926a256 JL |
253 | Thu May 10 09:17:42 2001 Jeffrey A Law (law@cygnus.com) |
254 | ||
255 | * ifcvt.c (merge_if_block): Use any_uncondjump_p, not simplejump_p | |
256 | to determine if a block has an unconditional jump at its end. | |
257 | ||
258 | * jump.c (jump_optimize_1): When converting a conditional jump | |
259 | to an unconditional jump, build the jump using gen_jump instead | |
260 | of just modify operands in-place. | |
261 | ||
6d4587f7 ZW |
262 | 2001-05-09 Zack Weinberg <zackw@stanford.edu> |
263 | ||
264 | * cppinit.c (cpp_post_options): Shut off macro expansion if | |
265 | -fpreprocessed. | |
266 | * cpplib.c (_cpp_handle_directive): If -fpreprocessed, accept | |
267 | IN_I directives only if the # is in column 1 and the directive | |
268 | name begins in column 2. | |
269 | * cppmain.c (scan_buffer): Insert a space between # and an | |
270 | identifier, when that identifier is a directive name. | |
271 | ||
272 | * tradcpp.c (struct file_buf): Add a pointer to the next entry | |
273 | in the header search path. | |
274 | (enum node_type): Add T_INCLUDE_NEXT. | |
275 | (directive_table): Add entry for include_next. | |
276 | (do_include_next): New function. | |
277 | (process_include): New routine, broken out of do_include. | |
278 | (finclude): Insert 'nhd' argument, to be copied into | |
279 | next_header_dir of the new buffer. | |
280 | (main): Adjust to match. | |
281 | * gsyslimits.h, limity.h: Un-indent #include_next. | |
282 | ||
10c179f3 JM |
283 | 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk> |
284 | ||
285 | * objc.texi: Move from ../libobjc/objc-features.texi. Adjust for | |
286 | inclusion as a chapter of the GCC manual. | |
287 | * gcc.texi: Include objc.texi. | |
288 | * fdl.texi: Use @unnumberedsec for the addendum. | |
289 | * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies. | |
290 | ||
6c12e488 JH |
291 | Wed May 9 16:01:41 CEST 2001 Jan Hubicka <jh@suse.cz> |
292 | ||
293 | * i386.md (DImode move splitters): Use !MMX and !SSE for the condition. | |
294 | ||
d3c7d45e AO |
295 | Wed May 9 10:40:25 2001 Alexandre Oliva <aoliva@redhat.com> |
296 | ||
297 | * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing | |
298 | handling of two-address insns. | |
299 | ||
d08d4a19 AO |
300 | Wed May 9 10:36:18 2001 Alexandre Oliva <aoliva@redhat.com> |
301 | ||
302 | * Makefile.in (NM_FOR_TARGET): Look for ./nm, then | |
303 | ../binutils/nm-new instead of ../binutils/nm. | |
304 | ||
a2bafd20 JH |
305 | Wed May 9 12:15:46 CEST 2001 Jan Hubicka <jh@suse.cz> |
306 | ||
307 | * i386.md (movdi splitter): Fix the splitting condition | |
308 | (float_extenddftf splitter): Fix mode. | |
309 | ||
4ea7a307 JH |
310 | Wed May 9 12:05:39 CEST 2001 Jan Hubicka <jh@suse.cz> |
311 | ||
312 | * genrecog.c (write_switch): Avoid outputting of switch for | |
313 | types wider than int. | |
314 | ||
94bd63e5 AH |
315 | 2001-05-03 Andrew Haley <aph@cambridge.redhat.com> |
316 | ||
317 | * reload1.c (copy_eh_notes): New function. | |
318 | (emit_input_reload_insns): Call it. | |
319 | (emit_output_reload_insns): Call it. | |
320 | ||
7d25bcce ZW |
321 | 2001-05-07 Zack Weinberg <zackw@stanford.edu> |
322 | ||
323 | * config.gcc (i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*): | |
324 | Delete stanzas. | |
325 | * config/i386/sco.h, config/i386/sco4.h, config/i386/scodbx.h, | |
326 | config/i386/sco4dbx.h, config/i386/x-sco4: Delete file. | |
327 | ||
328 | * optabs.c: Delete #ifdef BROKEN_LDEXP block. | |
329 | ||
5c8cfcd6 JDA |
330 | 2001-05-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
331 | ||
332 | * pa.md (interspace_jump): Revise comment. | |
333 | (builtin_longjmp): Block initial setup insns from delay slot of | |
334 | interspace branch. | |
335 | (builtin_setjmp_receiver): New expander to save and restore PIC | |
336 | register. | |
337 | ||
338 | * som.h (NM_FLAGS): Remove `-n' sort option. Revise comment. | |
339 | ||
b73bff7e JL |
340 | Mon May 7 09:30:14 2001 Jeffrey A Law (law@cygnus.com) |
341 | ||
1a02aff4 JL |
342 | * toplev.c (compile_file): Set up the output file before we call |
343 | the various initializers for the compiler. | |
344 | ||
cb0bb87d JL |
345 | * except.c (sjlj_mark_call_sites): Do not search for assignments to |
346 | non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE. | |
347 | ||
b73bff7e JL |
348 | * pa.h (MAX_LONG_TYPE_SIZE): Should be 32, not 64. |
349 | * pa-64.h (*_TYPE_SIZE): Undefine before redefining. | |
350 | ||
37459466 ZW |
351 | 2001-05-06 Zack Weinberg <zackw@stanford.edu> |
352 | ||
353 | * Makefile.in (tradcpp0): Correct typo in dependency list. | |
354 | ||
d5fa86ba GK |
355 | 2001-05-06 Geoff Keating <geoffk@redhat.com> |
356 | ||
357 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't save | |
358 | the link register if we're not going to use it. | |
359 | ||
360 | * config/rs6000/rs6000.c (output_profile_hook): Fix a warning. | |
361 | (output_function_profiler): Likewise. | |
362 | ||
ff5a340a AM |
363 | 2001-05-07 Alan Modra <amodra@one.net.au> |
364 | ||
365 | * pa.c (compute_frame_size): 64-bit frame marker is 16 bytes. | |
366 | ||
024c02b1 AO |
367 | 2001-05-06 Alexandre Oliva <aoliva@redhat.com> |
368 | ||
b8ebd779 AO |
369 | * unroll.c (loop_iterations): Don't sign-extend abs_diff; |
370 | zero-extend it. Make abs_inc unsigned. | |
371 | ||
3c04502e AO |
372 | * optabs.c (expand_binop): Sign-extend xop0 and xop1 from the |
373 | widest mode in narrowing and widening operations. | |
374 | ||
024c02b1 AO |
375 | * config/mips/mips.md: Sign extend CONST_INTs. |
376 | ||
762e166b AJ |
377 | 2001-05-06 Andreas Jaeger <aj@suse.de> |
378 | ||
379 | * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer | |
380 | (i386 Options): Document -momit-leaf-frame-pointer. | |
381 | ||
714a0864 NB |
382 | 2001-05-06 Neil Booth <neil@daikokuya.demon.co.uk> |
383 | ||
384 | * c-typeck.c (internal_build_compound_expr): Check for | |
385 | array to pointer conversion just once. | |
386 | ||
e00c1338 RH |
387 | 2001-05-05 Richard Henderson <rth@redhat.com> |
388 | ||
389 | * integrate.c (copy_insn_list): Substitute NOTE_EXPECTED_VALUE. | |
390 | ||
45053eaf RH |
391 | 2001-05-05 Richard Henderson <rth@redhat.com> |
392 | ||
393 | * except.c (remove_fixup_regions): Adjust REG_EH_REGION notes | |
394 | to the parent of the fixup region. | |
395 | ||
396 | 2001-05-05 Jakub Jelinek <jakub@redhat.com> | |
2a9071bb JJ |
397 | |
398 | * gcc.c (cpp_options): Define __NO_INLINE__ unless we are honoring | |
399 | "inline" keyword. | |
400 | * cpp.texi (__NO_INLINE): Document it. | |
401 | ||
f277b5e0 NB |
402 | 2001-05-05 Neil Booth <neil@daikokuya.demon.co.uk> |
403 | ||
404 | * cppfiles.c (struct include_file): New member err_no. | |
405 | (find_or_create_entry): Set it. | |
406 | (open_file): Don't set fds to -2. Instead, use err_no to | |
407 | remember previous errors, if any. | |
408 | ||
ce8882e6 SC |
409 | 2001-05-05 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
410 | ||
411 | * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Optimize moves | |
412 | between X and Y by using sequences of xgdx and xgdy. | |
413 | ||
a1fdc802 SC |
414 | 2001-05-05 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
415 | ||
416 | * config/m68hc11/m68hc11.md ("*logicalsi3_silshr16"): Use '?' instead | |
417 | of '!' for the 'D' alternative ('!' is too strong). | |
418 | ("*logicalsi3_silshl16"): Likewise. | |
419 | ("movstricthi"): Accept 'A' when 'd' constraint, remove spurious '+'. | |
420 | ("movstrictsi"): Remove spurious '+'. | |
421 | ("movstrictqi"): Don't accept 'A' and remove spurious '+'. | |
422 | ("tstqi_1", "*lshrqi3_const1"): Put 'm' constraint before 'd'. | |
423 | ("subqi3"): Disparage with '!' the 'x' and 'y' registers to avoid | |
424 | a reload to them. | |
425 | ||
4f380204 DE |
426 | 2001-05-04 David Edelsohn <edelsohn@gnu.org> |
427 | ||
428 | * calls.c (store_one_arg): Don't divide align by BITS_PER_UNIT. | |
429 | ||
c52c9a9c LB |
430 | 2001-05-04 Lars Brinkhoff <lars@nocrew.org> |
431 | ||
432 | * simplify-rtx.c (simplify_binary_operation): Simplify ~a + 1 | |
433 | into -a. | |
434 | ||
4264cf59 FS |
435 | 2000-05-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
436 | ||
c52c9a9c LB |
437 | * config/rs6000/rs6000.md (ashldi3 splits): Guard with |
438 | TARGET_POWERPC64. | |
4264cf59 | 439 | |
39cc8df7 SC |
440 | 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
441 | ||
442 | * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of | |
443 | soft register, use ror instead of rol. | |
444 | ||
3c2f4000 SC |
445 | 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
446 | ||
447 | * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take | |
448 | into account pre/post increment decrement for 68HC12. | |
449 | Fix other problems in replacement and fix call to reg_mentioned_p. | |
450 | ||
c5c2ca16 SC |
451 | 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
452 | ||
453 | * config/m68hc11/larith.asm (L_regs_frame): New for _.frame. | |
454 | Put the soft registers in bss for 68HC12. | |
455 | (L_regs_d3_4): New for _.d3 and _.d4. | |
456 | (L_regs_d5_6): Likewise. | |
457 | (L_regs_d1_2): Likewise. | |
762e166b | 458 | * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts. |
c5c2ca16 | 459 | |
3750bc81 SC |
460 | 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
461 | ||
462 | * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__ | |
463 | to the pre-processor when -fshort-double is specified. | |
464 | * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise. | |
465 | ||
3d0746ba SC |
466 | 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
467 | ||
468 | * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12. | |
469 | (__mulsi3): Rewrite for 68HC12. | |
470 | * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12. | |
762e166b | 471 | Mark 'x' constraint with earlyclobber to prevent a |
3d0746ba SC |
472 | RELOAD_FOR_OTHER_ADDRESS to go in it. |
473 | (mulhi3_m68hc12): New pattern. | |
474 | (mulhi3_m68hc11): Rename of mulhi3. | |
475 | (mulhi3): New expand for 68HC12 optimisation. | |
476 | (umulhisi3, mulhisi3): New patterns for 68HC12. | |
477 | ||
dc3c6806 SC |
478 | 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
479 | ||
480 | * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12. | |
481 | (extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12. | |
482 | (uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12. | |
483 | ||
5a62a693 SC |
484 | 2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
485 | ||
486 | * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of | |
487 | constants cheap after reload. | |
488 | * config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32 | |
489 | are cheap. | |
490 | (m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive | |
491 | so that gcc prefers a shift by 16. | |
492 | (m6811_cost, m6812_cost): Make the shift cheap compared to an add. | |
493 | ||
30506ece NC |
494 | 2001-05-04 Nick Clifton <nickc@cambridge.redhat.com> |
495 | ||
496 | * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define. | |
497 | ||
df4ae160 KG |
498 | 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
499 | ||
500 | * alpha.h: NULL_PTR -> NULL. | |
501 | * arm.c: Likewise. | |
502 | * arm.h: Likewise. | |
503 | * avr.h: Likewise. | |
504 | * c4x.c: Likewise. | |
505 | * c4x.h: Likewise. | |
506 | * i386.c: Likewise. | |
507 | * i386.md: Likewise. | |
508 | * i860.c: Likewise. | |
509 | * ia64.c: Likewise. | |
510 | * m68hc11.h: Likewise. | |
511 | * rs6000.h: Likewise. | |
512 | * sh.c: Likewise. | |
513 | * sh.h: Likewise. | |
514 | * sparc.h: Likewise. | |
515 | * v850.c: Likewise. | |
516 | ||
517 | * expr.c: Likewise. | |
518 | * final.c: Likewise. | |
519 | * gcc.c: Likewise. | |
520 | * recog.c: Likewise. | |
521 | ||
37a58036 KG |
522 | 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
523 | ||
524 | * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change | |
525 | `bool' parameter to `int'. | |
526 | ||
527 | * hash.c (hash_lookup): Likewise. | |
762e166b | 528 | |
37a58036 KG |
529 | * hash.h (hash_lookup): Likewise. |
530 | ||
531 | * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise. | |
532 | ||
e7a4892c JH |
533 | Fri May 4 13:10:03 CEST 2001 Jan Hubicka <jh@suse.cz> |
534 | ||
535 | * i386.c (x86_initialize_trampoline): Fix mode of constant. | |
536 | ||
3e18fdf6 GK |
537 | 2001-05-03 Geoff Keating <geoffk@redhat.com> |
538 | ||
539 | * invoke.texi (i386 Options): Delete references to -malign-jumps, | |
540 | -malign-loops, -malign-functions. | |
541 | * i386.c (ix86_align_funcs): Delete. | |
542 | (ix86_align_loops): Delete. | |
543 | (ix86_align_jumps): Delete. | |
544 | (override_options): Mark -malign-* as obsolete. Emulate their | |
545 | behaviour with the -falign-* options. Default -falign-* from | |
546 | the processor table. | |
547 | * i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's | |
548 | patch of Wed May 2 13:09:36 2001. | |
549 | (LOOP_ALIGN): Delete. | |
550 | (LOOP_ALIGN_MAX_SKIP): Delete. | |
551 | (LABEL_ALIGN_AFTER_BARRIER): Delete. | |
552 | (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete. | |
553 | ||
02d208ff AJ |
554 | 2001-05-04 Andreas Jaeger <aj@suse.de> |
555 | ||
556 | * except.h: Add prototype declaration for | |
557 | expand_builtin_init_dwarf_reg_sizes. | |
558 | ||
4091fa5f GK |
559 | 2001-05-03 Geoffrey Keating <geoffk@redhat.com> |
560 | ||
561 | * Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE. | |
562 | ||
c418c5ab SC |
563 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
564 | ||
565 | * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb | |
566 | instruction. | |
567 | ("bitcmpqi2"): New pattern for bit-extract and test. | |
568 | ("bitcmphi"): New pattern for bitb/bita instructions. | |
569 | ||
fa27606c JM |
570 | 2001-05-03 Joseph S. Myers <jsm28@cam.ac.uk> |
571 | ||
572 | * gccbug.in: Use a temporary directory when the mktemp command is | |
573 | not available. | |
574 | ||
7bdf2c65 SC |
575 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
576 | ||
577 | * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register | |
578 | instead of _.d1. | |
579 | (INITIALIZE_TRAMPOLINE): Call it. | |
580 | (TRAMPOLINE_SIZE): Define according to 68HC11/68HC12. | |
581 | (TRAMPOLINE_TEMPLATE): Remove. | |
582 | * config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New. | |
583 | * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline): | |
584 | Declare. | |
585 | ||
df9ab511 DB |
586 | 2001-05-03 David O'Brien <obrien@FreeBSD.org> |
587 | ||
588 | * config/t-freebsd: Don't install "assert.h" in gcc. Compile crtbeginS.o | |
589 | and crtendS.o with PIC. | |
590 | ||
01beec65 SC |
591 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
592 | ||
593 | * config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two | |
594 | negative numbers. | |
595 | (___subdi3, ___adddi3): Use x instead of y as index register. | |
596 | (__init_bss_section, __map_data_section): Optimize for 68HC12. | |
597 | (__memset, __memcpy): Likewise. | |
598 | (regs): Put the soft registers in bss for 68HC12. | |
599 | (abort): Use trap to abort for 68hc12. | |
600 | (__mulhi3, __mulhi32): Use emul for 68hc12. | |
601 | (__mulsi3): Avoid to use the tmp soft register for 68hc12. | |
602 | ||
603 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
604 | ||
605 | * config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define. | |
606 | * config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove. | |
607 | * config/m68hc11/m68hc11.c (limit_reload_class): Remove. | |
608 | (m68hc11_override_options): Remove setting of flag_no_nonansi_builtin. | |
609 | Set 68HC12 min offset to -65536. | |
02d208ff | 610 | (print_operand): Put parenthesis arround the operand if it refers |
01beec65 | 611 | to a symbol having the same name as a register. |
02d208ff | 612 | (m68hc11_z_replacement): When z register is replaced by its |
01beec65 SC |
613 | equivalent soft register, force the insn to be re-recognized. |
614 | (m68hc11_check_z_replacement): Fix the test when destination is | |
615 | the index register and z dies in the insn. | |
616 | (m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them. | |
617 | ||
618 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
619 | ||
620 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize | |
621 | costs according to processor variant. | |
622 | (m68hc11_shift_cost): New function to compute shift costs. | |
623 | (m68hc11_rtx_costs): Define costs according to processor variant. | |
624 | (m6811_cost): Costs for 68HC11. | |
625 | (m6812_cost): Costs for 68HC12. | |
626 | (COSTS_N_INSNS): Remove. | |
627 | ||
628 | * config/m68hc11/m68hc11.h (RTX_COSTS): New. | |
629 | (DEFAULT_RTX_COSTS): Remove. | |
630 | (CONST_COSTS): Define costs according to OUTER_CODE. | |
631 | (processor_costs): New struct to define costs. | |
632 | (m68hc11_cost): Pointer to current costs. | |
633 | ||
634 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
635 | ||
636 | * config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation | |
637 | and use m68hc11_notice_keep_cc when using leax/leay. | |
02d208ff | 638 | (addhi3 split): Reject split if the insn is handled by |
01beec65 SC |
639 | leax/leay above. |
640 | * config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the | |
641 | push must be handled in a special way if the source operand uses | |
642 | sp as index register. | |
643 | (m68hc11_notice_keep_cc): New function. | |
02d208ff | 644 | (m68hc11_gen_movhi): Use it when an insn changes a register but |
01beec65 SC |
645 | not the flags. |
646 | (m68hc11_gen_movqi): Fix move for 68HC12. | |
647 | * config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare. | |
648 | ||
649 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
650 | ||
651 | * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST | |
652 | and don't pass operands[0] to emit_library_call_value. | |
653 | ||
654 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
655 | ||
656 | * config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12. | |
657 | (zero_extendsi split): Simplify and use (zero_extendhi). | |
02d208ff | 658 | (*addhi3): Remove 'w' constraint since stack pointer is handled |
01beec65 SC |
659 | by (addhi3_sp). |
660 | (*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint. | |
661 | (*ashlhi3, *ashrhi3, *lshrhi3): Likewise. | |
662 | (*ashrhi3_const): Fix shift by 7. | |
663 | (*lshrsi3_const16): Fix template. | |
664 | (call, call_value): Fix constraint and predicate. | |
665 | ||
666 | 2001-05-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
667 | ||
668 | * config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant. | |
669 | (Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise. | |
670 | (CC_REGNUM): Likewise. | |
671 | (*unnamed splits): Use above constants instead of hard coded numbers. | |
672 | (*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise. | |
673 | (*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise. | |
674 | (*return_16bit, *unnamed peepholes): Likewise. | |
675 | ||
cb5dda2b DB |
676 | 2001-05-03 David O'Brien <obrien@FreeBSD.org> |
677 | ||
678 | * config.gcc(rs6000-ibm-aix|powerpc-ibm-aix): Do not include | |
679 | rs6000/rs6000.h twice. | |
680 | ||
11fdc4c3 ME |
681 | 2001-05-03 Mark Elbrecht <snowball3@bigfoot.com> |
682 | ||
683 | * config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__. | |
684 | (CPP_SPEC): Conditionally define MSDOS and GO32. | |
685 | (SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210. | |
686 | (SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are | |
687 | ignored. | |
688 | (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove. | |
689 | ||
776716da AO |
690 | 2001-05-03 Alexandre Oliva <aoliva@redhat.com> |
691 | ||
692 | * config/mn10300/mn10300.md: Sign-extend GEN_INT operands. | |
693 | ||
c826ae21 MM |
694 | 2001-05-03 Mark Mitchell <mark@codesourcery.com> |
695 | ||
696 | * integrate.h (struct inline_remap): Add leaf_reg_map table. | |
697 | * integrate.c (expand_inline_function): Use xcalloc to allocate | |
698 | memory. | |
699 | (copy_rtx_and_substitute): Use the leaf_reg_map for leaf | |
700 | registers. | |
701 | ||
c64539a8 MM |
702 | 2001-05-03 Mark Mitchell <mark@codesourcery.com> |
703 | ||
704 | * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME | |
705 | if it is not set. | |
706 | ||
4abe9f62 AO |
707 | 2001-05-03 Alexandre Oliva <aoliva@redhat.com> |
708 | ||
2ea10770 AO |
709 | * config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the |
710 | linker if -mrelax is given. | |
711 | (TARGET_SWITCHES): Document -mrelax. | |
712 | ||
4abe9f62 AO |
713 | Re-installed 2001-01-09's patch: |
714 | * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long | |
715 | if it's wider than long and the target's long is wider than the | |
716 | host's. | |
717 | ||
05de394b DB |
718 | 2001-05-02 David O'Brien <obrien@FreeBSD.org> |
719 | ||
720 | * config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h: Do not | |
721 | directly include rs6000/rs6000.h. Instead do it in tm.h. | |
722 | ||
fa340504 SS |
723 | 2001-05-02 Stan Shebs <shebs@apple.com> |
724 | ||
725 | * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to | |
726 | NSConstantString for NeXT-style runtimes. | |
727 | (STRING_OBJECT_GLOBAL_NAME): New macro. | |
728 | (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and | |
729 | OCTI_STRING_CLASS_DECL. | |
730 | (constant_string_global_id): New macro. | |
731 | (string_class_decl): Ditto. | |
732 | (setup_string_decl): New function. | |
733 | (build_objc_string_object): Use it to build a NeXT runtime | |
734 | compatible string initializer. | |
735 | ||
2d2a86ae JJ |
736 | 2001-05-02 Jakub Jelinek <jakub@redhat.com> |
737 | ||
738 | * tradcpp.c (do_define): Make sure we don't walk past limit. | |
739 | ||
258bfae2 FS |
740 | 2000-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
741 | ||
742 | * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack | |
743 | offsets if not REG_OK_STRICT. | |
744 | ||
745 | * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro. | |
746 | (INT_REG_OK_FOR_INDEX_P): Likewise. | |
747 | (INT_REG_OK_FOR_BASE_P): Likewise. | |
748 | (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P. | |
749 | (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P. | |
750 | (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and | |
6d4587f7 | 751 | INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and |
258bfae2 FS |
752 | REG_OK_FOR_BASE_P. Take an additional parameter. |
753 | (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise. | |
754 | (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise. | |
755 | (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise. | |
756 | (GO_IF_LEGITIMATE_ADDRESS): Move code into new function | |
757 | rs6000_legitimate_address() and use it. | |
758 | * config/rs6000/rs6000.c: Update all callers. | |
759 | (rs6000_legitimate_address): New function. | |
760 | ||
d34c5b80 DE |
761 | 2001-05-02 David Edelsohn <edelsohn@gnu.org> |
762 | ||
763 | * config/rs6000/rs6000.c (rs6000_emit_move): Merge | |
764 | special_constant conditional blocks together. | |
765 | ||
766 | 2001-05-02 Dale Johannesen <dalej@apple.com> | |
767 | ||
768 | * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED | |
769 | parameter. | |
770 | (STRICT_ARGUMENT_NAMING): Define. | |
771 | * config/rs6000/rs6000.c (function_arg_advance, function_arg, | |
772 | function_arg_partial_nregs, setup_incoming_varargs): Remove | |
773 | args logic which depends on "named" now that STRICT_ARGUMENT_NAMING | |
774 | is defined. | |
775 | ||
2be6a7e9 RK |
776 | Wed May 2 13:09:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
777 | ||
f1419b42 RK |
778 | * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned. |
779 | ||
6349ad24 RK |
780 | * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode |
781 | for replacement. | |
782 | ||
2be6a7e9 RK |
783 | * expr.c (store_field): Do nothing except elaborate side-effects if |
784 | zero-bit field. | |
785 | ||
9714cf43 KG |
786 | 2001-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
787 | ||
788 | * c-lex.c: NULL_PTR -> NULL. | |
789 | * cse.c: Likewise. | |
790 | * emit-rtl.c: Likewise. | |
791 | * gcse.c: Likewise. | |
792 | * genpeep.c: Likewise. | |
793 | * jump.c: Likewise. | |
794 | * mips-tdump.c: Likewise. | |
795 | * reload1.c: Likewise. | |
796 | * rtlanal.c: Likewise. | |
797 | * stmt.c: Likewise. | |
798 | * stor-layout.c: Likewise. | |
799 | * toplev.c: Likewise. | |
800 | ||
0a5fee32 PB |
801 | 2001-05-01 Per Bothner <per@bothner.com> |
802 | ||
803 | * expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR, | |
804 | call do_pending_stack_adjust before emiting label. | |
805 | ||
bd78000b MM |
806 | 2001-05-01 Mark Mitchell <mark@codesourcery.com> |
807 | ||
808 | * extend.texi: Fix typo. | |
809 | ||
d54d2a05 SS |
810 | 2001-05-01 Stan Shebs <shebs@apple.com> |
811 | ||
812 | * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT | |
813 | of UOBJC_MODULES_decl. | |
814 | (generate_strings): Clear DECL_CONTEXT of new decl nodes. | |
815 | (generate_descriptor_table): Ditto. | |
816 | (generate_protocols): Ditto. | |
817 | (generate_protocol_list): Ditto. | |
818 | (generate_classref_translation_entry): Ditto. | |
819 | ||
1c4c47db JO |
820 | 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com> |
821 | ||
822 | * invoke.texi (Optimize Options): Add documentation for `--param | |
823 | max-delay-slot-insn-search' and `--param | |
824 | max-delay-slot-live-search' and reorder --param section. | |
825 | * params.def: Modify initial comment. | |
826 | * params.h (param_info): Add `help' member. | |
827 | * toplev.c (lang_independent_params): Include `help' description. | |
828 | (display_help): Print --param parameters. | |
829 | ||
4e70264f ZW |
830 | 2001-05-01 Zack Weinberg <zackw@stanford.edu> |
831 | ||
832 | * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}. | |
833 | Remove references to deleted files. | |
834 | (*-*-openbsd): No need to override xmake_file. | |
835 | (*-*-sysv4): Treat like *-*-sysv. | |
836 | ||
837 | * configure.in: Probe for ldopen in various places, and set up | |
838 | collect2 to be linked with them if found. | |
839 | Don't dink with Windows registry stuff unless $host_os is a | |
840 | Win32 os name. Check to see if we need -ladvapi32. | |
841 | * configure: Regenerate. | |
842 | ||
843 | * Makefile: Get rid of CLIB and HOST_CLIB. | |
844 | Substitute in COLLECT2_LIBS and link collect2 against its contents. | |
845 | * build-make: Get rid of HOST_CLIB. | |
846 | ||
847 | * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix, | |
848 | config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3, | |
849 | config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony, | |
850 | config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41, | |
851 | config/rs6000/x-rs6000: Delete. | |
852 | ||
853 | * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris: | |
854 | Don't set CLIB. | |
855 | ||
856 | 24 x-host fragments remain, 0 x-cpu, 3 top level. | |
857 | ||
858 | 2001-05-01 Zack Weinberg <zackw@stanford.edu> | |
859 | ||
860 | * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program. | |
861 | * configure: Regenerate. | |
862 | ||
16636d35 AMT |
863 | 2001-05-01 Angela Marie Thomas <angela@cygnus.com> |
864 | ||
865 | * Makefile.in (install-headers): Remove redundant dependency. | |
866 | ||
07dd196a NS |
867 | 2001-05-01 Nathan Sidwell <nathan@codesourcery.com> |
868 | ||
869 | * c-tree.texi (USING_STMT): Document. | |
870 | ||
6496a589 KG |
871 | 2001-05-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
872 | ||
873 | * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0". | |
874 | * c-common.c: Likewise. | |
875 | * c-decl.c: Likewise. | |
876 | * combine.c: Likewise. | |
877 | * rs6000.c: Likewise. | |
878 | * except.c: Likewise. | |
879 | * explow.c: Likewise. | |
880 | * expr.c: Likewise. | |
881 | * fold-const.c: Likewise. | |
882 | * function.c: Likewise. | |
883 | * gcc.c: Likewise. | |
884 | * gcse.c: Likewise. | |
885 | * integrate.c: Likewise. | |
886 | * loop.c: Likewise. | |
887 | * objc/objc-act.c: Likewise. | |
888 | * recog.c: Likewise. | |
889 | * reg-stack.c: Likewise. | |
890 | * reload.c: Likewise. | |
891 | * reload1.c: Likewise. | |
892 | * simplify-rtx.c: Likewise. | |
893 | * stmt.c: Likewise. | |
894 | * varasm.c: Likewise. | |
895 | ||
d0e66dbb GDR |
896 | 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com> |
897 | ||
898 | * diagnostic.def: New file. | |
899 | * diagnostic.h (diagnostic_t): New enum. | |
900 | * Makefile.in (diagnostic.o): Depend on diagnostic.def | |
901 | ||
34f4f3a5 ZW |
902 | 2001-04-30 Zack Weinberg <zackw@stanford.edu> |
903 | ||
02d208ff | 904 | * tsystem.h: Test only POSIX for availability of string.h |
34f4f3a5 ZW |
905 | and time.h. |
906 | * config.gcc (all systems): If USG appeared in xm_defines, | |
907 | change it to POSIX. If both USG and POSIX appeared, just | |
908 | delete USG. Remove unnecessary quotes around xm_defines | |
909 | settings. | |
910 | (m68k-crds-unos*): Don't #define unos - tested nowhere. | |
911 | (m68k-apple-aux*): Don't #define AUX - tested nowhere. | |
912 | (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1, | |
913 | powerpc-*-linux*): No need to set xm_defines - handled by | |
914 | global settings for *-*-linux*. | |
915 | ||
7719ffbf ZW |
916 | 2001-04-30 Zack Weinberg <zackw@stanford.edu> |
917 | ||
918 | * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c: | |
919 | Always include gstab.h, not system stab.h. Don't provide | |
920 | default definitions of N_CATCH or N_OPT. Always use the | |
921 | gstab.h variant of STAB_CODE_TYPE. | |
922 | * final.c: Don't include stab.h/gstab.h at all, or provide | |
923 | defaults for N_SLINE and N_SOL. | |
924 | ||
925 | * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL, | |
926 | N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are | |
927 | available. | |
928 | * sdbout.c: Always include gsyms.h instead of system syms.h. | |
929 | ||
930 | * configure.in: No need to check for stab.h. | |
931 | * configure, config.in: Regenerate. | |
932 | * Makefile.in (final.o): Don't depend on gstab.h. | |
933 | ||
e71b34aa | 934 | 2001-04-30 Mark Mitchell <mark@codesourcery.com> |
7719ffbf ZW |
935 | Richard Henderson <rth@redhat.com> |
936 | ||
e71b34aa | 937 | * extend.texi: Improve documentation of volatile asms. |
7719ffbf | 938 | |
e71b34aa MM |
939 | 2001-04-30 Mark Mitchell <mark@codesourcery.com> |
940 | ||
941 | * c-tree.texi: Fix thinko. | |
942 | * gcc.texi: Likewise. | |
943 | ||
d72040f5 RH |
944 | 2001-04-30 Richard Henderson <rth@redhat.com> |
945 | ||
946 | * c-common.c (c_promoting_integer_type_p): New function, from the | |
947 | corpse of old macro. Properly promote too-small enumerations and | |
948 | booleans. Adjust all callers. | |
949 | * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove. | |
950 | (c_promoting_integer_type_p): Declare. | |
951 | * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations. | |
952 | * c-typeck.c: Likewise. | |
953 | (default_conversion): Remove now redundant boolean check. | |
954 | ||
595c2290 | 955 | 2001-04-30 Jan Hubicka <jh@suse.cz> |
7719ffbf | 956 | Richard Henderson <rth@redhat.com> |
595c2290 JH |
957 | |
958 | * regmove.c (try_apply_stack_adjustment): Remove now redundant | |
959 | sanity checks. | |
960 | (combine_stack_adjustments_for_block): Don't combine stack | |
961 | allocation followed by deallocations. Handle grow-up stacks. | |
962 | ||
c3aac512 MM |
963 | 2001-04-30 Mark Mitchell <mark@codesourcery.com> |
964 | ||
965 | * fdl.texi: New file. | |
966 | * c-tree.texi: Use the GFDL. | |
967 | * gcc.texi: Likewise. | |
968 | ||
60de6385 SS |
969 | 2001-04-30 Stan Shebs <shebs@apple.com> |
970 | ||
971 | * invoke.texi: Add a section documenting Objective-C options. | |
972 | ||
d6e95df8 AH |
973 | 2001-04-27 Andrew Haley <aph@cambridge.redhat.com> |
974 | ||
975 | * emit-rtl.c (try_split): Copy EH notes to sequence. | |
976 | ||
d60e5448 MM |
977 | 2001-04-30 Mark Mitchell <mark@codesourcery.com> |
978 | ||
979 | * regmove.c (record_stack_memrefs): Catch all references to the | |
980 | stack pointer. | |
981 | ||
fba3bbe3 TR |
982 | 2001-04-29 Toomas Rosin <toomas at ns dot tklabor dot ee> |
983 | ||
984 | * Makefile.in(stmp-fixinc): quote shell assignment values | |
985 | ||
d4f2852f KG |
986 | 2001-04-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
987 | ||
988 | * c-aux-info.c: NULL_PTR->NULL in calls to `concat'. | |
989 | ||
990 | * gcc.c: Likewise. | |
991 | ||
992 | * prefix.c: Likewise. | |
993 | ||
f37f462a SS |
994 | 2001-04-28 Stan Shebs <shebs@apple.com> |
995 | ||
28df0b5a SS |
996 | * objc/objc-act.c (handle_class_ref): Rewrite to flush target |
997 | specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE. | |
998 | * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define. | |
999 | * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document. | |
1000 | ||
f37f462a SS |
1001 | * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define. |
1002 | (NEXT_OBJC_RUNTIME): Define. | |
7719ffbf | 1003 | |
141e454b JH |
1004 | Sat Apr 28 21:02:58 CEST 2001 Jan Hubicka <jh@suse.cz> |
1005 | ||
1006 | * rtl.h (simplify_gen_relational): Add cmp_mode parameter. | |
1007 | * simplify-rtx.c (simplify_gen_relational): Likewise. | |
1008 | ||
1009 | * simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs. | |
1010 | ||
1011 | * i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2 | |
1012 | * i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves. | |
1013 | ||
1014 | * i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to | |
1015 | registers in SSE case; fix handling of the immediates. | |
1016 | (negsf2_ifs, abssf2_ifs): Tweak constraints; require | |
1017 | operands to be in regsiters before reload. | |
1018 | (negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit | |
1019 | (negdf2_ifs_rex64, absdf2_ifs_rtx64): New. | |
1020 | (abstf,absxf,negtf,negxf splitters): Compute | |
1021 | properly the regnum for x86_64. | |
1022 | (avsdf2_if_rex64): New. | |
1023 | ||
5bb86bf2 JL |
1024 | Sat Apr 28 10:36:23 2001 Jeffrey A Law (law@cygnus.com) |
1025 | ||
1026 | * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC | |
1027 | and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put | |
1028 | into the constant pool. | |
1029 | * jump.c (jump_optimize_1): Remove barrier successors after all | |
1030 | the LABEL_NUSES counds have been computed. | |
1031 | (delete_barrier_successors): When deleting a tablejump insn, also | |
1032 | delete the jump table it uses. | |
1033 | * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a | |
1034 | label into memory. | |
1035 | ||
3a432f1f MK |
1036 | 2001-04-28 Martin Kalen <martin.kalen@todaysystems.com.au> |
1037 | ||
7719ffbf | 1038 | * pa.c (FRP): Remove erroneous white space in macro definition. |
3a432f1f | 1039 | |
02f52e19 AJ |
1040 | 2001-04-28 Andreas Jaeger <aj@suse.de> |
1041 | ||
1042 | * invoke.texi: Use XX-bit instead of XXbit or XX bit where | |
1043 | appropriate. | |
1044 | * extend.texi: Likewise. | |
1045 | * tm.texi: Likewise. | |
1046 | ||
1e5f973d AJ |
1047 | 2001-04-28 Andreas Jaeger <aj@suse.de> |
1048 | ||
7719ffbf ZW |
1049 | * md.texi: Use XX-bit instead of XXbit or XX bit where |
1050 | appropriate. | |
1e5f973d | 1051 | |
4275c4c4 JS |
1052 | 2001-04-28 Jens Schweikhardt <schweikh@schweikhardt.net> |
1053 | ||
1054 | * gcc.c (process_command): Allow -l lib in addition to -llib | |
1055 | for POSIX compliance. This fixes PR c/2347. | |
1056 | ||
1057 | * invoke.texi: Update section on Link Options accordingly. | |
1058 | ||
cc2e8b2d ZW |
1059 | 2001-04-27 Zack Weinberg <zackw@stanford.edu> |
1060 | ||
1061 | * function.c (purge_addressof_1): Remove the duplicate | |
1062 | if (code == SET) block. Fold the two if (code == ADDRESSOF) | |
1063 | blocks together. | |
1064 | ||
16842c15 JM |
1065 | 2001-04-28 Jason Merrill <jason_merrill@redhat.com> |
1066 | ||
1067 | * except.c (expand_eh_region_start): Don't start a new block. | |
1068 | (expand_eh_region_end): Don't end a block. | |
1069 | * stmt.c (expand_end_bindings): Don't end EH blocks. | |
1070 | (expand_decl_cleanup): Starting an EH region won't change the block. | |
1071 | (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose. | |
1072 | (is_eh_region): Lose. | |
1073 | * tree.h: Adjust. | |
1074 | ||
5897739e JO |
1075 | 2001-04-27 Jeffrey Oldham <oldham@codesourcery.com> |
1076 | ||
16842c15 JM |
1077 | * except.c (expand_eh_region_end_cleanup): word_mode, not Pmode. |
1078 | ||
5897739e JO |
1079 | * collect2.c (main): Add `-L' case to remove duplicate entries. |
1080 | (is_in_args): New function to check for a duplicate argument. | |
1081 | * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New macro. | |
1082 | * tm.texi (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): New documentation. | |
1083 | * config/mips/iris6.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): | |
1084 | Define to be nonzero. | |
1085 | ||
994682b9 AJ |
1086 | 2001-04-27 Andreas Jaeger <aj@suse.de> |
1087 | Richard Henderson <rth@redhat.com> | |
1088 | ||
1089 | * md.texi (Machine Constraints): Document additional i386 | |
1090 | constraints and fix description of "A". | |
1091 | ||
58c35fc2 JL |
1092 | Fri Apr 27 10:43:49 2001 Jeffrey A Law (law@cygnus.com) |
1093 | ||
1094 | * tm.texi (TARGET_MEM_FUNCTIONS): Update text. | |
1095 | ||
041c9d5a JM |
1096 | 2001-04-27 Jason Merrill <jason_merrill@redhat.com> |
1097 | ||
1098 | * except.c (get_exception_filter): word_mode, not Pmode. | |
1099 | ||
fbffc70a GK |
1100 | 2001-04-26 Geoffrey Keating <geoffk@redhat.com> |
1101 | ||
fd2c87bd GK |
1102 | * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives |
1103 | common to other movsf patterns. Move up so that in future | |
1104 | people who change the other patterns will change it too. | |
1105 | (movsf_lo_sum): Allow even for soft-float; add appropriate | |
1106 | constraints. | |
1107 | (movsf_high): Likewise. | |
1108 | (movsf_high+1): Allow even for soft-float. | |
1109 | ||
fbffc70a GK |
1110 | * function.c (expand_function_end): Always clobber the |
1111 | return registers, even if there is no return label. | |
1112 | ||
52a661a6 JH |
1113 | Thu Apr 26 20:28:21 CEST 2001 Jan Hubicka <jh@suse.cz> |
1114 | ||
1115 | * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation. | |
1116 | ||
b3298882 JH |
1117 | Thu Apr 26 19:20:28 CEST 2001 Jan Hubicka <jh@suse.cz> |
1118 | ||
1119 | * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes | |
1120 | (pushqi2_rex64, pushhi2_rex64): Add. | |
1121 | ||
c10f3adf AH |
1122 | 2001-04-26 Andrew Haley <aph@cambridge.redhat.com> |
1123 | ||
1124 | * except.c (expand_eh_region_end_cleanup): Force pending stack | |
994682b9 | 1125 | adjust before emitting label that branches around cleanup code. |
c10f3adf | 1126 | |
44404b8b L |
1127 | 2001-04-26 H.J. Lu (hjl@gnu.org) |
1128 | ||
1129 | * config.gcc (mips*-*-linux*): Add elfos.h to tm_file. | |
1130 | ||
1131 | * config/mips/ecoff.h (STARTFILE_SPEC): Undefine before | |
1132 | define. | |
1133 | * config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise. | |
1134 | (ASM_OUTPUT_SECTION_NAME): Likewise. | |
1135 | (ASM_WEAKEN_LABEL): Likewise. | |
1136 | (UNIQUE_SECTION): Likewise. | |
1137 | (ASM_OUTPUT_CONSTRUCTOR): Likewise. | |
1138 | (ASM_OUTPUT_DESTRUCTOR): Likewise. | |
1139 | * config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise. | |
1140 | (ASM_OUTPUT_SECTION_NAME): Likewise. | |
1141 | (ASM_WEAKEN_LABEL): Likewise. | |
1142 | (UNIQUE_SECTION): Likewise. | |
1143 | (ASM_OUTPUT_CONSTRUCTOR): Likewise. | |
1144 | (ASM_OUTPUT_DESTRUCTOR): Likewise. | |
1145 | * config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise. | |
1146 | * config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise. | |
1147 | (ASM_FILE_START): Likewise. | |
1148 | (ASM_OUTPUT_SOURCE_LINE): Likewise. | |
1149 | (ASM_DECLARE_OBJECT_NAME): Likewise. | |
1150 | (ASM_FILE_END): Likewise. | |
1151 | (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
1152 | (ASM_OUTPUT_INTERNAL_LABEL): Likewise. | |
1153 | (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
1154 | (ASM_OUTPUT_CASE_LABEL): Likewise. | |
1155 | (ASM_OUTPUT_SKIP): Likewise. | |
1156 | (ASM_OUTPUT_ASCII): Likewise. | |
1157 | (ASM_OUTPUT_IDENT): Likewise. | |
1158 | (READONLY_DATA_SECTION): Likewise. | |
1159 | (EXTRA_SECTIONS): Likewise. | |
1160 | (EXTRA_SECTION_FUNCTIONS): Likewise. | |
1161 | (SELECT_RTX_SECTION): Likewise. | |
1162 | (SELECT_SECTION): Likewise. | |
1163 | ||
1164 | * config/mips/linux.h (INVOKE__main): Undefine. | |
1165 | (CTOR_LIST_BEGIN): Likewise. | |
1166 | (CTOR_LIST_END): Likewise. | |
1167 | (DTOR_LIST_BEGIN): Likewise. | |
1168 | (DTOR_LIST_END): Likewise. | |
1169 | (SET_ASM_OP): Defined it to ".dummy". | |
1170 | (ASM_OUTPUT_DEF): Defined. | |
1171 | (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined. | |
1172 | ||
fdc2d3b0 NC |
1173 | 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com> |
1174 | ||
1175 | * config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the | |
1176 | assembler supports .p2align. | |
1177 | ||
5677efb0 NS |
1178 | 2001-04-26 Nathan Sidwell <nathan@codesourcery.com> |
1179 | ||
1180 | * c-lex.c (c_lex): Remove # from %o diagnostic formatting. | |
1181 | ||
3b07c79b JJ |
1182 | 2001-04-26 Jakub Jelinek <jakub@redhat.com> |
1183 | ||
1184 | * integrate.c (expand_inline_function): Check for error_mark_node | |
1185 | in actual argument. | |
1186 | ||
e9070e7b JJ |
1187 | 2001-04-26 Jakub Jelinek <jakub@redhat.com> |
1188 | ||
1189 | * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for | |
1190 | -m386 and -m486. | |
1191 | ||
a6687d2b AO |
1192 | 2001-04-26 Alexandre Oliva <aoliva@redhat.com> |
1193 | ||
1194 | * configure.in (configargs.h): Define thread_model. | |
1195 | * configure: Rebuilt. | |
1196 | * gcc.c (main): Print it with -v. | |
1197 | ||
1f0c3120 JM |
1198 | 2001-04-25 Joseph S. Myers <jsm28@cam.ac.uk> |
1199 | ||
1200 | * invoke.texi: Document -Wmissing-braces, -dumpspecs, | |
1201 | -dumpmachine, -dumpversion, -fmem-report and -ftime-report. | |
1202 | * gcc.1: Regenerate. | |
1203 | ||
66cc965c RO |
1204 | 2001-04-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1205 | ||
1206 | * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type, | |
1207 | is_redundant_typedef): Use static inline instead of inline static. | |
1208 | ||
2baa5453 CF |
1209 | Wed Apr 25 18:21:01 2001 Christopher Faylor <cgf@cygnus.com> |
1210 | ||
1211 | * config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that | |
1212 | this directory is always searched. | |
1213 | ||
84e306b4 RH |
1214 | 2001-04-25 Richard Henderson <rth@redhat.com> |
1215 | ||
1216 | * config/i386/i386.c (ix86_expand_epilogue): Properly compute size | |
1217 | of registers to restore along non eh_return path. | |
1218 | ||
b5cd6849 JJ |
1219 | 2001-04-25 Jakub Jelinek <jakub@redhat.com> |
1220 | ||
1221 | * c-format.c (check_format_info_recurse): Handle | |
1222 | PLUS_EXPR for format string. | |
1223 | ||
ad5042df JJ |
1224 | 2001-04-25 Jakub Jelinek <jakub@redhat.com> |
1225 | ||
1226 | * config/ia64/ia64.h (CC1_SPEC): Define. | |
1227 | * config/ia64/linux.h (CC1_SPEC): Define. | |
1228 | ||
73de376f R |
1229 | Wed Apr 25 17:09:50 2001 J"orn Rennecke <amylaar@redhat.com> |
1230 | ||
1231 | * emit-rtl.c (constant_subword): Also do sign extension in | |
1232 | BITS_PER_WORD == 16 case. | |
1233 | ||
0ef52662 JM |
1234 | 2001-04-25 Jason Merrill <jason_merrill@redhat.com> |
1235 | ||
1236 | * loop.c (try_swap_copy_prop): Go back to checking insn. | |
1237 | ||
0607953c JJ |
1238 | 2001-04-25 Jakub Jelinek <jakub@redhat.com> |
1239 | ||
1240 | * emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check | |
1241 | if check_mode is non-zero. | |
1242 | ||
e99af66b JJ |
1243 | 2001-04-25 Jakub Jelinek <jakub@redhat.com> |
1244 | ||
1245 | * config/i386/i386.c (ix86_expand_int_movcc): If overlap between | |
1246 | out and comparison sequence has been detected, put result into | |
1247 | proper temporary pseudo. | |
1248 | ||
0f976b45 ZW |
1249 | 2001-04-24 Zack Weinberg <zackw@stanford.edu> |
1250 | ||
1251 | * Makefile.in (LIB2FUNCS): Remove _varargs and __dummy. | |
1252 | * libgcc-std.ver: Remove __builtin_saveregs, __dummy, and __empty. | |
1253 | * libgcc2.c: Remove __dummy and __builtin_saveregs. | |
1254 | * libgcc2.h: Don't prototype __builtin_saveregs or __dummy. | |
1255 | * config/i860/varargs.asm: New file - preserve i860 __builtin_saveregs | |
1256 | for future reference. | |
1257 | ||
47c84870 JM |
1258 | 2001-04-24 Jason Merrill <jason_merrill@redhat.com> |
1259 | ||
1260 | * except.c (reachable_handlers): Step out one level from a RESX. | |
1261 | ||
1262 | * except.c (struct eh_region): Rename 'last' to 'resume'. | |
1263 | (mark_eh_region, duplicate_eh_region_1): Adjust. | |
1264 | (expand_eh_region_end_cleanup): Remember the jump, not the barrier. | |
1265 | (build_post_landing_pads): Likewise. | |
1266 | (expand_end_catch, expand_eh_region_end_allowed): Don't set it. | |
1267 | (expand_eh_region_end_must_not_throw): Likewise. | |
1268 | (connect_post_landing_pads): Thread (only) regions with non-deleted | |
1269 | resume insns. | |
1270 | ||
1271 | * except.c (expand_eh_region_end_cleanup): Save the EH return data | |
1272 | registers around the cleanup. | |
1273 | (get_exception_filter): New fn. | |
1274 | (finish_eh_generation): Use it. | |
1275 | ||
de8e49f3 NS |
1276 | 2001-04-24 Nathan Sidwell <nathan@codesourcery.com> |
1277 | ||
1278 | * c-semantics.c (add_scope_stmt): Don't call | |
1279 | current_scope_stmt_stack multiple times. | |
1280 | ||
0ba8a114 NS |
1281 | 2001-04-24 Zack Weinberg <zackw@stanford.edu> |
1282 | Nathan Sidwell <nathan@codesourcery.com> | |
1283 | ||
1284 | Lazy __FUNCTION__ generation. | |
1285 | * c-common.h (RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME, | |
1286 | RID_C99_FUNCTION_NAME): New _RIDs. | |
1287 | (CTI_FUNCTION_ID, CTI_PRETTY_FUNCTION_ID, CTI_FUNC_ID): Remove. | |
1288 | (CTI_FUNCTION_NAME_DECL, CTI_PRETTY_FUNCTION_NAME_DECL, | |
1289 | CTI_C99_FUNCTION_NAME_DECL, CTI_SAVED_FUNCTION_NAME_DECLS): New | |
1290 | global tree slots. | |
1291 | (function_id_node, pretty_function_id_node, func_id_node): Remove. | |
1292 | (c99_function_name_decl_node, function_name_decl_node, | |
1293 | pretty_function_name_decl_node, saved_function_name_decls): | |
1294 | Declare. | |
1295 | (struct language_function): Remove x_function_name_declared_p. | |
1296 | (make_fname_decl): Remove a parameter. | |
1297 | (declare_function_names): Remove prototype. | |
1298 | (start_fname_decls, finish_fname_decls): Prototype. | |
1299 | (fname_as_string): Likewise. | |
1300 | (fname_string, fname_decl): Likewise. | |
1301 | * c-common.c (make_fname_decl): Adjust. | |
1302 | (struct fname_var_t): New struct. | |
1303 | (fname_vars): New static array. | |
1304 | (declare_function_name): Remove. | |
1305 | (start_fname_decls, finish_fname_decls): New functions. | |
1306 | (fname_as_string): New function from remnants of | |
1307 | declare_function_name. | |
1308 | (fname_string, fname_decl): New functions. | |
1309 | ||
1310 | * c-decl.c (c_function_name_declared_p): Remove. | |
1311 | (init_decl_processing): Don't generate __FUNCTION__ et al ids, | |
1312 | don't call declare_function_name. Call start_fname_decls. | |
1313 | (c_make_fname_decl): Adjust parameters. Generate the name. Don't | |
1314 | clobber the line number. Call finish_decl. | |
1315 | (start_function): Call start_fname_decls. | |
1316 | (finish_function): Call finish_fname_decls. | |
1317 | Remove c_function_name_declared_p. | |
1318 | (push_c_function_context): Don't push c_function_name_declared_p. | |
1319 | (pop_c_function_context): Don't pop c_function_name_declared_p. | |
1320 | (c_begin_compound_stmt): Don't check c_function_name_declared_p. | |
1321 | * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): New tokens. | |
1322 | (program): Call finish_fname_decls for C. | |
1323 | (primary): Add VAR_FUNC_NAME. | |
1324 | (reswords): Add slots for __FUNCTION__ et al. | |
1325 | (rid_to_yy): Add mappings for __FUNCTION__ et al. | |
1326 | (yylexname): If it's a STRING_FUNC_NAME generate the function name | |
1327 | now. Don't look for VAR_DECLs containing __FUNCTION__ et al. | |
1328 | * c-semantics.c (prune_unused_decls): Remove. | |
1329 | (finish_stmt_tree): Don't call prune_unused_decls. | |
1330 | (genrtl_decl_stmt): Don't prune unused decls here. | |
1331 | ||
b201442f NC |
1332 | 2001-04-24 Nick Clifton <nickc@cambridge.redhat.com> |
1333 | ||
c6f9b9a1 NC |
1334 | * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the |
1335 | constant pool, use the pool's SYMBOL_REF instead. | |
1336 | ||
b201442f NC |
1337 | * config/v850/v850.h (STRICT_ALIGNMENT): Always set, even for the |
1338 | v850e. | |
1339 | ||
c3cd9c8b JM |
1340 | 2001-04-23 Joseph S. Myers <jsm28@cam.ac.uk> |
1341 | ||
1342 | * c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid | |
1343 | passing nested NOP_EXPRs to fold. | |
1344 | ||
35433587 JH |
1345 | Mon Apr 23 14:32:12 CEST 2001 Jan Hubicka <jh@suse.cz> |
1346 | ||
1347 | * reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs. | |
1348 | ||
e6217dcd MM |
1349 | 2001-04-22 Mark Mitchell <mark@codesourcery.com> |
1350 | ||
1351 | * loop.c (loop_delete_insns): Add prototype. | |
1352 | ||
e2584c52 PE |
1353 | 2001-04-23 Phil Edwards <pme@sources.redhat.com> |
1354 | ||
1355 | * configure.in: Remove ENABLE_STD_NAMESPACE. | |
1356 | * config.in: Regenerated. | |
1357 | * configure: Regenerated. | |
1358 | ||
a3b1a352 SS |
1359 | 2001-04-22 Stan Shebs <shebs@apple.com> |
1360 | ||
1361 | * config.gcc (powerpc-*-darwin*): Move the flag in xm-darwin.h | |
1362 | into xm_defines. | |
1363 | * config/rs6000/xm-darwin.h: Remove file. | |
1364 | ||
d4c3ec27 KG |
1365 | 2001-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1366 | ||
1367 | * collect2.c (main): Use concat in lieu of xmalloc/sprintf. | |
1368 | (write_c_file_stat): Likewise. | |
1369 | ||
1370 | * dbxout.c (dbxout_init): Likewise. | |
1371 | ||
1372 | * profile.c (output_func_start_profiler): Likewise. | |
1373 | ||
146ef880 PT |
1374 | 2001-04-22 Philipp Thomas <pthomas@suse.de> |
1375 | ||
1376 | * ABOUT-GCC-NLS: Now that gettext 0.10.37 is out, | |
1377 | require it instead of the CVS version. | |
7719ffbf ZW |
1378 | * cpperror.c (v_message): Put a blank before the macro |
1379 | body to not confuse exgettext. | |
146ef880 | 1380 | |
e8c8470b MM |
1381 | 2001-04-21 Mark Mitchell <mark@codesourcery.com> |
1382 | ||
1383 | * flow.c (proagate_one_insn): Remove useless assignment. | |
1384 | * jump.c (delete_insn): Tidy. | |
1385 | * loop.c (try_copy_prop): When deleting an instruction with a | |
1386 | REG_RETVAL note, delete the entire libcall sequence. | |
1387 | (loop_delete_insns): New function. | |
1388 | * unroll.c (initial_reg_note_copy): Copy INSN_LIST notes, even if | |
1389 | we're not substituting into them yet. | |
994682b9 | 1390 | |
68560db3 KH |
1391 | 2001-04-21 Kazu Hirata <kazu@hxi.com> |
1392 | ||
1393 | * config/h8300/h8300.c (general_operand_src): Fix a comment typo. | |
1394 | ||
51f26c45 KH |
1395 | * config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay): |
1396 | Fix a comment typo. | |
1397 | * config/i960/i960.c (signed_arith_operand): Likewise. | |
1398 | ||
d80d2d2a KH |
1399 | * calls.c (expand_call): Fix a comment typo. |
1400 | ||
c1800ec8 ZW |
1401 | 2001-04-20 Zack Weinberg <zackw@stanford.edu> |
1402 | ||
1403 | * configure.in: Probe for times, clock, struct tms, and clock_t. | |
1404 | * configure, config.in: Regenerate. | |
1405 | * timevar.c: Replace ifdef forest in get_time with (relatively) | |
1406 | straightforward series of checks based on autoconf's probes. | |
1407 | ||
2c2ef4b9 JL |
1408 | Fri Apr 20 12:24:50 2001 Jeffrey A Law (law@cygnus.com) |
1409 | ||
1410 | * config/pa/som.h (NM_FLAGS): Define. | |
1411 | ||
a0a7b566 BS |
1412 | 2001-04-20 Bernd Schmidt <bernds@redhat.com> |
1413 | ||
1414 | * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called | |
1415 | function. | |
1416 | * ia64-protos.h (ia64_sched_reorder): Additional arg for clock. | |
1417 | * ia64.c (nop_cycles_until): New function. | |
1418 | (prev_cycle, prev_first, last_issued): New static variables. | |
1419 | (ia64_sched_reorder): Additional arg for clock. | |
1420 | On final scheduling pass, emit extra NOPs as needed. | |
1421 | Set prev_first and prev_cycle. | |
1422 | (ia64_sched_reorder2): Pass clock arg down to ia64_sched_reorder. | |
1423 | (ia64_variable_issue): Set last_issued. | |
1424 | ||
7471a1f0 AO |
1425 | 2001-04-20 Alexandre Oliva <aoliva@redhat.com> |
1426 | ||
1427 | * config/i386/i386.c (ix86_expand_int_movcc, | |
1428 | ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs. | |
1429 | ||
856a6884 GK |
1430 | 2001-04-20 Geoff Keating <geoffk@redhat.com> |
1431 | ||
1432 | * config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2, | |
1433 | ctrsi_internal3, ctrsi_internal4, ctrsi_internal5, | |
1434 | ctrsi_internal6, ctrdi_internal1, ctrdi_internal2, | |
1435 | ctrdi_internal3, ctrdi_internal4, ctrdi_internal5, | |
1436 | ctrdi_internal6): In the short-branch case, this insn is only 4 | |
1437 | bytes long. Reported by Reza Yazdani <reza@apple.com>. | |
1438 | ||
d40cd80a JJ |
1439 | 2001-04-20 Jakub Jelinek <jakub@redhat.com> |
1440 | ||
1441 | * reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp. | |
1442 | "=u" is used together with "st" resp. "st(1)" clobber. | |
1443 | ||
43e72072 JJ |
1444 | 2001-04-20 Jakub Jelinek <jakub@redhat.com> |
1445 | ||
1446 | * gcse.c (gcse_main): Fix comment typo. | |
1447 | (delete_null_pointer_check): Likewise. | |
1448 | (hash_scan_set): Don't consider sets with REG_EQUIV MEM notes. | |
1449 | * cse.c (cse_insn): Likewise. | |
1450 | * function.c (fixup_var_refs_insns_with_hash): The sequence is | |
1451 | toplevel. | |
1452 | ||
4000fada ZW |
1453 | 2001-04-19 Zack Weinberg <zackw@stanford.edu> |
1454 | ||
1455 | * toplev.c: Excise all code for the undocumented -dm option. | |
1456 | (float_signal): Call signal just once, unconditionally. | |
1457 | ||
dea8be3e GK |
1458 | 2001-04-19 Geoff Keating <geoffk@redhat.com> |
1459 | ||
1460 | * fold-const.c (fold): Use first_rtl_op rather than | |
1461 | TREE_CODE_LENGTH when looping over parameters of a tree. | |
1462 | Correct strange grouping in test for evaluated SAVE_EXPR. | |
1463 | ||
fe6adb3e JL |
1464 | Thu Apr 19 19:15:26 2001 Jeffrey A Law (law@cygnus.com) |
1465 | ||
1466 | * config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine. | |
1467 | * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define. | |
1468 | ||
1469 | * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace | |
1470 | name at 32 total characters. | |
1471 | (ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing | |
1472 | functions in named sections -- data items can still go into unique | |
1473 | sections, but they have normal names (ie $LIT$ and $DATA$). | |
1474 | ||
1475 | * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support | |
1476 | INIT_PRIORITY. | |
1477 | ||
45936a85 DD |
1478 | 2001-04-19 DJ Delorie <dj@redhat.com> |
1479 | ||
1480 | * config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX | |
1481 | to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX. | |
1482 | * config/i386/cygwin.h: Likewise. | |
1483 | * config/i386/mingw32.h: Likewise. | |
1484 | * config/vax/vms.h: Likewise. | |
1485 | * config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX. | |
1486 | ||
1487 | * config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX | |
1488 | to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX. | |
1489 | * config/i386/xm-cygwin.h: Likewise. | |
1490 | * config/i386/xm-djgpp.h: Likewise. | |
1491 | * config/i386/xm-mingw32.h: Likewise. | |
1492 | * config/vax/xm-vms.h: Likewise. | |
1493 | ||
1494 | * mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX | |
1495 | instead of OBJECT_SUFFIX. | |
1496 | * collect2.c (find_a_file): Look for files matching the extension | |
1497 | HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX. | |
994682b9 | 1498 | * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on |
45936a85 DD |
1499 | TARGET_EXECUTABLE_SUFFIX. |
1500 | (find_a_file): Use HOST_EXECUTABLE_SUFFIX. | |
1501 | (make_relative_prefix): Likewise. | |
1502 | (convert_filename): Use TARGET_ suffixes throughout. Remove | |
1503 | NO_AUTO_EXE_SUFFIX. | |
1504 | (process_command): Likewise. | |
1505 | (do_spec_1): Likewise. | |
1506 | * java/lang.c (init_parse): Likewise. | |
1507 | ||
1508 | * gcc.texi : Document four new options matching the pattern | |
1509 | (HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX. Remove documentation | |
1510 | for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX. Remove | |
1511 | documentation for NO_AUTO_EXE_SUFFIX. | |
1512 | ||
3dcaf6e0 MM |
1513 | 2001-04-19 Mark Mitchell <mark@codesourcery.com> |
1514 | ||
57883c53 MM |
1515 | * toplev.h (struct lang_hooks): Allow decode_option to indicate |
1516 | that language-independent processing should not be done. | |
1517 | * toplev.c (main): Adjust accordingly. | |
1518 | ||
13c502cd MM |
1519 | * rtl.texi (jump_insn): Expand on JUMP_LABEL documentation. |
1520 | * loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN. | |
1521 | ||
3dcaf6e0 MM |
1522 | * mips.md (reload_outputdi): Require that operand0 be a |
1523 | general_operand. | |
1524 | ||
d773df5a DB |
1525 | 2001-04-19 Jakub Jelinek <jakub@redhat.com> |
1526 | ||
1527 | * invoke.texi (-Wshadow): Clarify. | |
1528 | ||
17e2b3cb MM |
1529 | 2001-04-18 Mark Mitchell <mark@codesourcery.com> |
1530 | ||
1531 | * loop.c (load_mems): Examine all the instructions in the loop | |
1532 | before concluding that all jumps branch to the first instruction | |
1533 | after the loop. | |
1534 | ||
9e24b950 CF |
1535 | Wed Apr 18 20:32:03 2001 Christopher Faylor <cgf@cygnus.com> |
1536 | ||
1537 | * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo. | |
1538 | ||
0d692355 JJ |
1539 | 2001-04-18 Jakub Jelinek <jakub@redhat.com> |
1540 | ||
1541 | * cpp.texi (-Wwhite-space): Remove. | |
1542 | (-Wall): -Wall does not imply -Wwhite-space. | |
1543 | ||
ad087b92 ZW |
1544 | 2001-04-17 Zack Weinberg <zackw@stanford.edu> |
1545 | ||
1546 | * dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined, | |
1547 | use it instead of blindly generating a .stabs. | |
1548 | * xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type | |
1549 | in the right place. | |
1550 | * xcoffout.c: Don't bother defining default for N_CATCH. | |
1551 | (UNKNOWN_STAB): Use internal_error. | |
1552 | (stab_to_sclass): Remove now-unnecessary aborts. | |
1553 | Remove #if 0'ed case N_BROWS. Add #ifdef N_OPT block. | |
1554 | ||
b9c81bcb JL |
1555 | Tue Apr 17 21:41:11 2001 Jeffrey A Law (law@cygnus.com) |
1556 | ||
1557 | * jump.c (mark_all_labels): Canonicalize the tail recursion | |
1558 | label attached to CALL_PLACEHOLDER insns. | |
1559 | ||
2f4e671d KG |
1560 | 2001-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1561 | ||
1562 | * output.h (dump_flow_info, free_basic_block_vars, | |
1563 | which_alternative): Delete redundant prototypes. | |
1564 | ||
1565 | * rtl.h (bss_section): Likewise. | |
1566 | ||
7848c238 LR |
1567 | 2001-04-17 Loren J. Rittle <ljrittle@acm.org> |
1568 | ||
1569 | * dbxout.c (N_OPT): Define if not available from <stab.h> | |
1570 | ||
5854680c JDA |
1571 | 2001-04-17 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1572 | ||
1573 | * vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system | |
1574 | libraries and native K&R compilers. | |
1575 | ||
3ed56f8a KG |
1576 | 2001-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1577 | ||
1578 | * c-typeck.c (convert_arguments): Don't check for width changes | |
1579 | with -Wtraditional. | |
1580 | ||
1581 | * invoke.texi (-Wtraditional): Update documentation. | |
1582 | ||
acb0db7b ZW |
1583 | 2001-04-16 Zack Weinberg <zackw@stanford.edu> |
1584 | ||
1585 | * toplev.c (output_lang_identify): Delete. | |
1586 | (compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE. | |
1587 | Don't generate gcc2_compiled. label. Don't emit a nop if profiling. | |
1588 | If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>" | |
1589 | after calling ASM_FILE_END. | |
1590 | ||
1591 | * dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE. | |
1592 | Instead, unconditionally emit an N_OPT stab with string equal | |
1593 | to STABS_GCC_MARKER, which defaults to "gcc2_compiled." | |
1594 | ||
1595 | * defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE. | |
1596 | ||
1597 | * config/dbxelf.h, config/freebsd.h, config/nextstep.h, | |
1598 | config/psos.h, config/ptx4.h, config/1750a/1750a.h, | |
1599 | config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h, | |
1600 | config/arm/aof.h, config/arm/coff.h, config/arm/elf.h, | |
1601 | config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h, | |
1602 | config/dsp16xx/dsp16xx.h, config/h8300/h8300.h, | |
1603 | config/i370/i370.h, config/i386/beos-elf.h, | |
1604 | config/i386/osf1elf.h, config/i386/osfrose.h, | |
1605 | config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h, | |
1606 | config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h, | |
1607 | config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h, | |
1608 | config/m68k/tower-as.h, config/mcore/mcore-elf.h, | |
1609 | config/mips/iris6.h, config/mips/osfrose.h, | |
1610 | config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h, | |
1611 | config/sparc/sp64-elf.h: | |
1612 | Delete definitions of any or all of: ASM_IDENTIFY_GCC, | |
1613 | ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE. | |
1614 | ||
1615 | * config/elfos.h, config/freebsd.h, config/linux.h, | |
1616 | config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h, | |
1617 | config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h, | |
1618 | config/sparc/linux.h, config/sparc/linux64.h: Delete definitions | |
1619 | of ASM_FILE_START which merely emit a .version directive. Delete | |
1620 | definitions of ASM_FILE_END which merely emit an .ident directive. | |
1621 | ||
1622 | * config/avr/avr.h, config/vax/vax.h: Delete definition of | |
1623 | ASM_IDENTIFY_GCC and move part of its logic into | |
1624 | ASM_FILE_START. | |
1625 | ||
1626 | * config/i386/att.h, config/i386/gas.h, config/i386/linux.h, | |
1627 | config/sparc/linux-aout.h: Don't emit .version directive in | |
1628 | ASM_FILE_START. | |
1629 | ||
1630 | * config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c | |
1631 | (output_file_start): Correct comment. | |
1632 | ||
1633 | * config/i386/osfrose.h: Don't emit trailing .ident directive. | |
1634 | * config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%" | |
1635 | to match gdb. | |
1636 | * config/pa/lib2funcs.asm: Delete gcc_compiled. label. | |
1637 | * config/rs6000/aix.h: Correct comment. | |
1638 | ||
1639 | * config/i386/i386afe.h: Delete. | |
1640 | * config.gcc: Remove references to i386afe.h. | |
1641 | ||
1642 | * tm.texi: Delete documentation of ASM_IDENTIFY_GCC. The | |
1643 | other macros deleted by this patch were undocumented. | |
1644 | ||
3bcd50fe JL |
1645 | Mon Apr 16 08:03:48 2001 Jeffrey A Law (law@cygnus.com) |
1646 | ||
75d71b2f JL |
1647 | * pa.md (reload_outdi): Operand 0 must be a non hard register. |
1648 | ||
ad087b92 | 1649 | * pa.c (secondary_reload_class): SAR<->FP copies require a |
26ee120d JL |
1650 | secondary register. |
1651 | ||
3bcd50fe JL |
1652 | * install.texi (mips-mips-bsd): Update list of functions |
1653 | required to include memmove. | |
1654 | * tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly | |
1655 | used functions to include memmove. | |
1656 | ||
2406cfed TM |
1657 | 2001-04-15 Toon Moene <toon@moene.indiv.nluug.nl> |
1658 | ||
1659 | * i386.md (sqrtdf2): SFmode should be DFmode. | |
1660 | ||
f54104df AO |
1661 | 2001-04-15 Alexandre Oliva <aoliva@redhat.com> |
1662 | ||
1663 | * gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable. | |
1664 | (find_moveable_store): Likewise. | |
1665 | ||
aa570f54 JW |
1666 | 2001-04-15 Jim Wilson <wilson@redhat.com> |
1667 | ||
1668 | * function.c (expand_function_end): Handle PARALLEL real_decl_rtl. | |
1669 | ||
7c17f553 JH |
1670 | Sat Apr 14 16:24:19 CEST 2001 Jan Hubicka <jh@suse.cz> |
1671 | ||
1672 | * i386.md (ashldi3_1_rex64): Add 'J' to the constraints | |
1673 | (ashrdi3_1_rex64): Change 'n' constraint to 'J'. | |
1674 | ||
81df85c4 AO |
1675 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> |
1676 | ||
1677 | * config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the | |
1678 | first alternative. | |
1679 | ||
6619e96c AM |
1680 | 2001-04-14 Alan Modra <amodra@one.net.au> |
1681 | ||
1682 | * pa.c (force_mode): New function. | |
1683 | (emit_move_sequence): Use it instead of generating new rtx_REGs. | |
1684 | ||
25250265 JW |
1685 | 2001-04-13 Jim Wilson <wilson@redhat.com> |
1686 | ||
1687 | * config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p. | |
1688 | (first_instruction): New static variable. | |
1689 | (rtx_needs_barrier): Return 1 for alloc. | |
1690 | (init_insn_group_barriers): Set first_instruction. | |
1691 | (rws_sum): Delete duplicate definition. | |
1692 | (group_barrier_needed_p): Return 0 when first_instruction true. | |
1693 | (safe_group_barrier_needed_p): Save and restore first_instruction | |
1694 | around group_barrier_needed_p call. | |
1695 | ||
b215b52e LR |
1696 | Fri Apr 13 21:40:28 2001 Loren J. Rittle <ljrittle@acm.org> |
1697 | ||
1698 | * expr.h (enum libfunc_index): Add LTI_memmove. | |
1699 | (memmove_libfunc): Define macro. | |
1700 | * optabs.c (init_optabs): Initialize memmove_libfunc. | |
1701 | * expr.c (expand_assignment): Use memmove_libfunc instead of | |
1702 | memcpy_libfunc. | |
1703 | ||
7eb07bdb AM |
1704 | 2001-04-13 Alan Modra <alan@linuxcare.com.au> |
1705 | ||
ad087b92 ZW |
1706 | * pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM |
1707 | fp mode addresses. | |
7eb07bdb | 1708 | |
2840aebf KG |
1709 | 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1710 | ||
1711 | * Makefile.in (reg-stack.o): Depend on reload.h. | |
1712 | (insn-attrtab.o): Depend on flags.h. | |
1713 | ||
1714 | * genattrtab (main): Include flags.h in insn-attrtab.c. | |
1715 | ||
1716 | * reg-stack.c: Include reload.h. | |
1717 | ||
1718 | * sparc.h (flag_pic): Delete redundant declaration. | |
1719 | ||
1720 | * output.h (flag_pic): Likewise. | |
1721 | ||
1722 | * tree.h (pedantic): Likewise. | |
1723 | ||
8461e984 KG |
1724 | 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1725 | ||
1726 | * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h | |
1727 | ||
1728 | * jump.c, regmove.c, toplev.c: Include reload.h. | |
1729 | ||
1730 | * reload.h (reload_cse_regs): Declare. | |
1731 | ||
1732 | * rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber, | |
1733 | reload_cse_regs, init_reload, mark_home_live, reload, | |
1734 | init_caller_save): Delete redundant prototypes. | |
1735 | ||
0829d244 KG |
1736 | 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1737 | ||
1738 | * Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H). | |
1739 | ||
1740 | * regclass.c, ssa.c: Include expr.h. | |
1741 | ||
1742 | * rtl.h (memory_address, force_reg, emit_queue, emit_move_insn, | |
1743 | gen_move_insn): Delete redundant declarations. | |
1744 | ||
6fa0f379 | 1745 | 2001-04-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
02f52e19 | 1746 | |
6fa0f379 FS |
1747 | * Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch. |
1748 | (stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down | |
1749 | MAKEINFO and MAKEINFOFLAGS too. | |
1750 | (stage4_build): Correctly order -B flags. | |
1751 | ||
38010927 AM |
1752 | 2001-04-13 Alan Modra <amodra@one.net.au> |
1753 | ||
fbdd633b AM |
1754 | * pa.c (hppa_init_pic_save): Set rtx_unchanging for |
1755 | PIC_OFFSET_TABLE_SAVE_RTX. | |
831c1763 AM |
1756 | (zdepi_cint_p): Describe zdepi insn. |
1757 | Formatting and white space fixes throughout file. | |
fbdd633b | 1758 | |
e0c556d3 AM |
1759 | * pa.c (uint32_operand): Don't use long constant >= 2^32. |
1760 | (emit_move_sequence): Use HOST_WIDE_INT constants. Don't worry | |
1761 | about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs. | |
1762 | (compute_movstrsi_length): Make `align' unsigned to avoid warning. | |
1763 | (output_64bit_and): Use plain `int's for shift counts. | |
1764 | (output_64bit_ior): Likewise. | |
1765 | (function_arg_partial_nregs): Use unsigned vars to avoid warnings. | |
1766 | * pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case | |
1767 | `N', and simplify. | |
1768 | ||
8d913d99 AM |
1769 | * pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1. |
1770 | * pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise. | |
1771 | * pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on | |
1772 | NEW_HP_ASSEMBLER into one. Kill warnings. | |
1773 | ||
c21a2372 AM |
1774 | * pa-gas.h: Delete file. |
1775 | * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa. | |
1776 | Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*. Update | |
1777 | hppa*-*-linux*. For all pa targets, remove pa/gas.h from tm_file, | |
1778 | instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2. | |
1779 | ||
48bd7758 AM |
1780 | * config/pa/mill32.S: New file. |
1781 | * config/pa/mill64.S: New file. | |
1782 | * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS, | |
1783 | LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define. | |
1784 | * config/pa/t-linux64: New file. | |
1785 | * config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a | |
1786 | (LIB1ASMFUNCS, LIB1ASMSRC): Define. | |
1787 | (TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1. | |
1788 | ||
e25724d8 AM |
1789 | * elfos.h (SELECT_SECTION): Undef before defining. |
1790 | * pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove. | |
1791 | (LIB_SPEC): Remove -lmilli. | |
1792 | (DBX_REGISTER_NUMBER): Remove. | |
1793 | (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO, | |
1794 | (DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL, | |
1795 | NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX, | |
1796 | DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP, | |
1797 | DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START, | |
1798 | ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, | |
1799 | ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME, | |
1800 | TARGET_GAS): Define. | |
1801 | * pa.c (output_arg_descriptor): Disable for TARGET_ELF32. | |
1802 | (function_arg): If TARGET_ELF32, pass fp args in both general and fp | |
1803 | regs if we don't have a prototype. | |
1804 | * pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32. | |
1805 | * pa.h (TARGET_ELF32): Default to 0 if undefined. | |
1806 | (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX, | |
1807 | EH_RETURN_HANDLER_RTX): Define. | |
1808 | * pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test. | |
1809 | (DWARF_FRAME_REGNUM): Define. | |
1810 | * pa64-regs.h (DWARF_FRAME_REGNUM): Define. | |
1811 | * pa32-linux.h: New file. | |
1812 | * pa64-linux.h: New file. | |
1813 | ||
38010927 AM |
1814 | * pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. |
1815 | (ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while. | |
1816 | (LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX, | |
1817 | NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF, | |
1818 | DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT, | |
1819 | DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP, | |
1820 | CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, | |
1821 | FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, | |
1822 | READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION, | |
1823 | DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY, | |
1824 | UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR, | |
1825 | ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL, | |
1826 | TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to.. | |
1827 | * pa64-hpux.h: New file. | |
1828 | (ASM_FILE_START): Correct typo. | |
1829 | (PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE. | |
1830 | * config.gcc: Modify for above. | |
1831 | ||
35bb0780 JW |
1832 | Fri Apr 13 00:09:22 EDT 2001 John Wehle (john@feith.com) |
1833 | ||
1834 | * jump.c (jump_optimize_1): Don't delete dead stores here. | |
1835 | * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns | |
1836 | prior to running jump optimize before cse2. | |
1837 | ||
754fd218 RH |
1838 | 2001-04-12 Richard Henderson <rth@redhat.com> |
1839 | ||
1840 | * Makefile.in (regmove.o): Depend on except.h. | |
1841 | * regmove.c: Include it. | |
1842 | ||
4bd34c39 SS |
1843 | 2001-04-12 Stan Shebs <shebs@apple.com> |
1844 | ||
1845 | * objc/objc-act.c: Remove all code ifdefed with the never-used | |
1846 | macro OBJC_INT_SELECTORS. | |
1847 | * config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS. | |
1848 | * tm.texi: Remove doc for OBJC_INT_SELECTORS. | |
1849 | ||
3b7da9c5 RB |
1850 | Thu Apr 12 18:13:37 2001 Rodney Brown <RodneyBrown@mynd.com> |
1851 | ||
1852 | * config/pa/quadlib.c: Add prototypes. | |
1853 | ||
44c4c11d KG |
1854 | 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1855 | ||
1856 | * bitmap.h (debug_bitmap): Delete redundant prototype. | |
1857 | ||
1858 | * rtl.h (get_frame_size): Likewise. | |
1859 | ||
640cea5f JW |
1860 | 2001-04-12 Jim Wilson <wilson@redhat.com> |
1861 | ||
1862 | * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify | |
1863 | to just emit an fnorm. | |
1864 | ||
20e50c62 KG |
1865 | 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1866 | ||
1867 | * c-common.h (truthvalue_conversion, type_for_mode, | |
1868 | type_for_size): Delete redundant declarations. | |
1869 | ||
1870 | * c-lex.h (is_class_name): Likewise. | |
1871 | ||
1872 | * c-tree.h (pedantic, convert, getdecls, gettags, | |
1873 | global_bindings_p, init_decl_processing, insert_block, | |
1874 | maybe_build_cleanup, poplevel, print_lang_decl, | |
1875 | print_lang_identifier, print_lang_type, pushdecl, pushlevel, | |
1876 | set_block, incomplete_type_error, build_function_call, | |
1877 | lvalue_or_else, mark_addressable): Likewise. | |
1878 | ||
1879 | * expr.h (expand_tree_builtin): Likewise. | |
1880 | ||
33d3b05b MM |
1881 | 2001-04-12 Mark Mitchell <mark@codesourcery.com> |
1882 | ||
1883 | * invoke.texi: Document --param max-gcse-memory. | |
1884 | ||
6c889b67 KG |
1885 | 2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1886 | ||
1887 | * configure.in (errno): Check for declaration. | |
1888 | * configure, config.in: Regenerated. | |
1889 | ||
1890 | * system.h (errno): Only declare if not already done. | |
1891 | ||
c033e268 AO |
1892 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> |
1893 | ||
1894 | * recog.c (general_operand, immediate_operand, | |
1895 | nonmemory_operand): Require CONST_INTs to be sign-extended | |
1896 | values for their modes. | |
1897 | ||
69107307 AO |
1898 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> |
1899 | ||
1900 | * expmed.c (store_bit_field): Truncate CONST_INTs. | |
1901 | (expand_mult_highpart, expand_divmod): Likewise. | |
1902 | * expr.c (convert_modes, store_field): Likewise. | |
1903 | * integrate.c (expand_inline_function): Use promote_mode() to | |
1904 | determine whether to convert_modes() an argument as signed | |
1905 | or unsigned. | |
1906 | * optabs.c (expand_binop): Get CONST_INT operands | |
1907 | sign-extended for their appropriate modes. | |
1908 | * stmt.c (emit_case_nodes): Convert node values to the | |
1909 | appropriate mode. | |
1910 | (expand_end_case): Convert minval and range to the appropriate | |
1911 | mode. | |
1912 | * unroll.c (loop_iterations): Truncate abs_diff to the mode of | |
1913 | the iteration variable. | |
1914 | * varasm.c (immed_double_const): Don't require words to be | |
1915 | narrower than host wide ints to properly sign-extend | |
1916 | CONST_INTs. | |
1917 | ||
001643af KK |
1918 | 2001-04-12 kaz Kojima <kkojima@rr.iij4u.or.jp> |
1919 | ||
1920 | * sh.md (builtin_setjmp_receiver): New expander. | |
1921 | ||
38886f37 AO |
1922 | 2001-04-12 David Edelsohn <dje@watson.ibm.com> |
1923 | ||
1924 | * config/rs6000/rs6000.c (rs6000_emit_move): Do not | |
1925 | special-case HOST_BITS_PER_WIDE_INT != 32. Use same criteria | |
1926 | for generating CONST_INT and CONST_DOUBLE. | |
1927 | ||
1928 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> | |
1929 | ||
1930 | * config/rs6000/rs6000.c (logical_operand): CONST_INTs are | |
1931 | already sign-extended. | |
1932 | (rs6000_emit_prologue): Make register iterator signed. | |
1933 | (rs6000_emit_epilogue): Likewise. | |
1934 | * config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high | |
1935 | and low. | |
1936 | (movsf split, movdf split): Sign-extend CONST_INTs. | |
1937 | (movdi splits): Likewise. | |
1938 | ||
ccc27eab KC |
1939 | 2001-04-12 Kelley Cook <kelley.cook@home.com> |
1940 | ||
1941 | * config-lang.in (lang_dirs): Add in zlib. | |
1942 | ||
383252a7 AO |
1943 | 2001-04-11 Alexandre Oliva <aoliva@redhat.com> |
1944 | ||
1945 | * config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT | |
1946 | operands that make it to RTL. | |
1947 | ||
ee890fe2 SS |
1948 | 2001-04-11 Stan Shebs <shebs@apple.com> |
1949 | ||
1950 | Add Darwin (Mac OS X kernel) native support. | |
1951 | * config.gcc (powerpc-*-darwin*): Add native bits. | |
1952 | * config/darwin.c: New file, generic Darwin support functions. | |
1953 | * config/darwin.h: New file, generic Darwin definitions. | |
1954 | * config/darwin-protos.h: New file, generic Darwin prototypes. | |
1955 | * rs6000/darwin.h: New file, Darwin for PowerPC. | |
1956 | * rs6000/t-darwin: New file, Darwin makefile fragment. | |
1957 | * rs6000/rs6000.h (OBJECT_MACHO): New macro. | |
1958 | (TARGET_MACHO): Ditto. | |
1959 | (rs6000_abi): Add ABI_DARWIN. | |
1960 | (RS6000_REG_SAVE): Add ABI_DARWIN case. | |
1961 | (RS6000_SAVE_AREA): Ditto. | |
1962 | (FP_ARG_MAX_REG): Ditto. | |
1963 | (RETURN_ADDRESS_OFFSET): Ditto. | |
1964 | * rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO | |
1965 | cases. | |
1966 | (rs6000_emit_move): Add ABI_DARWIN cases. | |
1967 | (print_operand): Ditto. | |
1968 | (first_reg_to_save): Ditto. | |
1969 | (rs6000_stack_info): Ditto, also align stack by 16 instead of 8. | |
1970 | (debug_stack_info): Ditto. | |
1971 | (rs6000_emit_prologue): Ditto. | |
1972 | (rs6000_emit_epilogue): Ditto. | |
1973 | (output_profiler_hook): Ditto. | |
1974 | (output_function_profiler): Ditto. | |
1975 | (rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO. | |
1976 | (output_mi_thunk): Add TARGET_MACHO case. | |
1977 | (add_compiler_stub): Ditto. | |
1978 | (output_compiler_stub): Ditto. | |
1979 | (no_previous_def): Ditto. | |
1980 | (output_call): Ditto. | |
1981 | (machopic_output_stub): Ditto. | |
1982 | (rs6000_machopic_legitimize_pic_address): Ditto. | |
1983 | (toc_section): Ditto. | |
1984 | * rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern. | |
1985 | (macho_high): Ditto. | |
1986 | (macho_low): Ditto. | |
1987 | (movsi_low): Ditto. | |
1988 | (load_macho_picbase): Ditto. | |
1989 | (call): Add TARGET_MACHO case to modify function. | |
1990 | (call_value): Ditto. | |
1991 | (call_nonlocal_sysv): Add ABI_DARWIN case. | |
1992 | (call_value_nonlocal_sysv): Ditto. | |
1993 | * rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address): | |
1994 | Add prototype. | |
1995 | (machopic_output_stub): Ditto. | |
1996 | * ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_. | |
1997 | ||
5101b304 MM |
1998 | 2001-04-11 Mark Mitchell <mark@codesourcery.com> |
1999 | ||
2000 | * dwarf2out.c (modified_type_die): Don't create new types here. | |
2001 | * tree.h (get_qualified_type): New function. | |
2002 | (build_qualified_type): Adjust comment. | |
2003 | * tree.c (get_qualified_type): New function. | |
2004 | (build_qualified_type): Use it. | |
2005 | ||
c8abc684 KG |
2006 | 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2007 | ||
2008 | * cpp.texi (-Wtraditional): Update description. | |
2009 | ||
2010 | * invoke.texi (-Wtraditional): Likewise. | |
2011 | ||
93dd6255 JW |
2012 | 2001-04-11 Jim Wilson <wilson@redhat.com> |
2013 | ||
2014 | * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Return 128 if argument | |
2015 | requires more than 64 bits of alignment. | |
2016 | ||
2f5bf149 NB |
2017 | 2001-04-11 Neil Booth <neil@daikokuya.demon.co.uk> |
2018 | ||
2019 | * cpplib.c (do_line): Sanity check iff enable checking. | |
2020 | ||
04f378ce RH |
2021 | 2001-04-11 Richard Henderson <rth@redhat.com> |
2022 | ||
2023 | * Makefile.in (insn-recog.o): Depend on toplev.h. | |
2024 | (insn-emit.o, doloop.o): Likewise. | |
2025 | * genrecog.c, genemit.c: Include toplev.h in generated file. | |
2026 | * doloop.c: Include toplev.h. | |
2027 | ||
f1fa37ff MM |
2028 | 2001-04-11 Mark Mitchell <mark@codesourcery.com> |
2029 | ||
2030 | * Makefile.in (gcse.o): Depend on params.h. | |
2031 | * gcse.c: Include params.h. | |
2032 | (gcse_main): Don't do GCSE if doing so will take inordinate | |
2033 | amounts of memory. | |
2034 | * params.def (PARAM_MAX_GCSE_MEMORY): New parameter. | |
2035 | * params.h (MAX_GCSE_MEMORY): New macro. | |
2036 | ||
f3a8030a KG |
2037 | 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2038 | ||
2039 | * Makefile.in (insn-output.o): Depend on $(EXPR_H). | |
2040 | ||
2041 | * genoutput.c (output_prologue): Include expr.h in insn-output.c. | |
2042 | ||
2ef56a41 KG |
2043 | 2001-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2044 | ||
68896bf9 KG |
2045 | * output.h (assemble_real): Declare if REAL_VALUE_TYPE is defined. |
2046 | ||
2047 | * real.h (ereal_atof, real_value_truncate, target_isnan, | |
2048 | target_isinf, target_negative, assemble_real, debug_real): Delete | |
2049 | redundant prototypes. | |
2050 | ||
d6684bc8 KG |
2051 | * Makefile.in (ifcvt.o): Depend on toplev.h. |
2052 | ||
2053 | * c-semantics.c: Include expr.h. | |
2054 | ||
2055 | * ifcvt.c: Include toplev.h. | |
2056 | ||
2057 | * expr.h (rtx_equal_p): Delete prototype. | |
2058 | ||
2059 | * rtl.h (exact_log2_wide, floor_log2_wide, permalloc, | |
2060 | protect_from_queue, gen_jump, gen_beq, gen_bge, gen_ble, | |
2061 | eliminate_constant_term, expand_complex_abs, find_single_use, | |
2062 | make_tree, init_expr_once, init_optabs, supports_one_only): | |
2063 | Likewise. | |
ad087b92 | 2064 | |
d6684bc8 KG |
2065 | * tree.h (exact_log2_wide, floor_log2_wide, expand_null_return, |
2066 | rest_of_type_compilation, emit_queue, do_pending_stack_adjust, | |
2067 | expand_assignment, store_expr, emit_line_note_after, | |
2068 | emit_line_note_force, split_specs_attrs, label_rtx): Likewise. | |
ad087b92 | 2069 | |
d6684bc8 KG |
2070 | * toplev.h (exact_log2_wide, floor_log2_wide): Add prototype. |
2071 | ||
2ef56a41 KG |
2072 | * sparc-protos.h: Delete redundant prototypes. |
2073 | ||
550d7942 VM |
2074 | 2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> |
2075 | ||
2076 | * reload.c (push_reload): Add condition missed in SUBREG byte | |
2077 | offset patch. | |
2078 | ||
8fe879c7 RO |
2079 | Wed Apr 4 00:28:23 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2080 | ||
2081 | * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank. | |
2082 | ||
037f20f1 JH |
2083 | Wed Apr 11 14:06:10 CEST 2001 Jan Hubicka <jh@suse.cz> |
2084 | ||
2085 | * i386.md (floatsisf_sse): Fix output template | |
2086 | * i386.c (ix86_expand_fp_movcc) | |
2087 | ||
2088 | * reg-stack.c (emit_pop_insn): Handle complex modes. | |
2089 | (move_for_stack_reg): Emit proper move mode. | |
2090 | (subst_stack_regs_pat): Handle complex modes. | |
2091 | ||
01ef6563 JJ |
2092 | 2001-04-11 Jakub Jelinek <jakub@redhat.com> |
2093 | ||
2094 | * cpplex.c (_cpp_lex_token): Only warn if -Wcomment. | |
2095 | ||
706701af RH |
2096 | 2001-04-10 Richard Henderson <rth@redhat.com> |
2097 | ||
2098 | * libgcc2.h (__terminate_func_ptr): Remove typedef. | |
2099 | (__pure_virtual, __terminate, __terminate_set_func, | |
2100 | __default_terminate, __throw_type_match, __empty, | |
2101 | __get_eh_context, __get_eh_info, __get_dynamic_handler_chain, | |
2102 | __eh_rtime_match, __unwinding_cleanup, __rethrow, | |
2103 | __sjthrow, __sjpopnthrow, __eh_alloc, __eh_free): | |
2104 | Remove prototypes of deleted functions. | |
2105 | ||
03829ad2 KG |
2106 | 2001-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2107 | ||
2108 | * c-typeck.c (convert_arguments): -Wtraditional now activates | |
2109 | -Wconversion warnings, except for changes in signed-ness. | |
2110 | Detect complex<->int & int<->complex conversions as well. | |
2111 | ||
2112 | * invoke.texi (-Wtraditional): Document it. | |
2113 | ||
c57718d3 RK |
2114 | Tue Apr 10 17:45:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2115 | ||
2116 | * gcse.c (update_ld_motion_stores): Don't use variable I for an insn. | |
2117 | * flow.c (set_block_for_new_insns): Remove needless cast and | |
2118 | properly check for unset block number. | |
2119 | ||
55107ee3 AM |
2120 | 2001-04-10 Andrew MacLeod <amacleod@redhat.com> |
2121 | ||
ad087b92 | 2122 | * function.c (purge_single_hard_subreg_set): Only check REGNO if |
55107ee3 AM |
2123 | the subreg was a hard register. Pseudos are left as subregs. |
2124 | ||
6fa0f379 | 2125 | 2001-04-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
fa9518de FS |
2126 | |
2127 | * Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro. | |
2128 | (LIB2ADD_ST): New macro, pass it to mklibgcc. | |
2129 | * mklibgcc.in (libgcc2_st_objs): New variable, set it from LIB2ADD_ST. | |
ad087b92 | 2130 | (libgcc_st_objs): New, set from libgcc2_st_objs. Use it for libgcc.a. |
fa9518de FS |
2131 | * config/rs6000/t-ppccomm (LIB2FUNCS_STATIC_EXTRA): New macro. |
2132 | ||
d4f33f6c BT |
2133 | 2001-04-09 Bo Thorsen <bo@suse.co.uk> |
2134 | ||
2135 | * config/i386/i386.md: "TARGET_64BIT && TARGET_64BIT": Removed one. | |
2136 | ||
5b3ad99f AM |
2137 | 2001-04-09 Andrew MacLeod <amacleod@redhat.com> |
2138 | ||
ad087b92 | 2139 | * output.h (set_block_num): Missed it earlier, remove deprecated |
5b3ad99f AM |
2140 | prototype. |
2141 | ||
e2d2ed72 AM |
2142 | 2001-04-09 Andrew MacLeod <amacleod@redhat.com> |
2143 | ||
2144 | * gcse.c (oprs_unchanged_p): Pass basic_block to load_killed_in_block_p. | |
2145 | (load_killed_in_block_p): Change bb parameter from int to basic_block. | |
2146 | (oprs_not_set_p): Pass basic_blocks instead of ints as parameters. | |
2147 | (handle_rd_kill_set): Change bb parameter from int to basic_block. | |
2148 | (compute_kill_rd): Pass basic_blocks instead of ints as parameters. | |
ad087b92 | 2149 | (expr_killed_p): Change bb parameter from int to basic_block, pass |
e2d2ed72 AM |
2150 | basic_blocks instead of ints as parameters. |
2151 | (compute_ae_kill): Pass basic_blocks instead of ints as parameters. | |
ad087b92 | 2152 | (expr_reaches_here_p_work, expr_reaches_here_p): Change bb parameter |
e2d2ed72 | 2153 | from int to basic_block, pass basic_blocks instead of ints as parms. |
ad087b92 | 2154 | (pre_expr_reaches_here_p_work, pre_expr_reaches_here_p): Change bb |
e2d2ed72 AM |
2155 | parameter from int to basic_block, pass basic_blocks instead of ints. |
2156 | (process_insert_insn): Pass basic_blocks instead of ints as parameters. | |
ad087b92 | 2157 | (insert_insn_end_bb): Change bb parameter from int to basic_block, |
e2d2ed72 | 2158 | pass basic_blocks instead of ints. |
ad087b92 | 2159 | (pre_edge_insert, pre_insert_copy_insn, pre_insert_copies): Pass |
e2d2ed72 AM |
2160 | basic_blocks instead of ints as parameters. |
2161 | (pre_delete): Pass basic_blocks instead of ints as parameters. | |
ad087b92 | 2162 | (hoist_expr_reaches_here_p): Change bb parameter from int to |
e2d2ed72 AM |
2163 | basic_block, pass basic_blocks instead of ints. |
2164 | (hoist_code): Pass basic_blocks instead of ints as parameters. | |
ad087b92 | 2165 | (reg_set_info, store_ops_ok, store_killed_after, store_killed_before): |
e2d2ed72 AM |
2166 | Change bb parameter from int to basic_block. |
2167 | (build_store_vectors): Pass basic_blocks instead of ints as parameters. | |
ad087b92 | 2168 | (insert_insn_start_bb): Change bb parameter from int to basic_block, |
e2d2ed72 AM |
2169 | pass basic_blocks instead of ints. |
2170 | (insert_store): Pass basic_blocks instead of ints as parameters. | |
ad087b92 | 2171 | (replace_store_insn, delete_store): Change bb parameter from int to |
e2d2ed72 AM |
2172 | basic_block, pass basic_blocks instead of ints. |
2173 | (store_motion): Pass basic_blocks instead of ints as parameters. | |
2174 | ||
ccbaf064 AM |
2175 | 2001-04-09 Andrew MacLeod <amacleod@redhat.com> |
2176 | ||
2177 | * basic-block.h (set_new_block_for_insns): New Prototype. | |
2178 | (set_block_num): Delete prototype. | |
2179 | * flow.c (set_block_num): Remove obsolete function. | |
2180 | (set_block_for_new_insns): Set BB for single or multiple insns. | |
2181 | * gcse.c (handle_avail_expr): Use set_block_for_new_insns. | |
ad087b92 | 2182 | (process_insn_end_bb): Use set_block_for_new_insns or |
ccbaf064 AM |
2183 | set_block_for_insn instead of set_block_num. |
2184 | (pre_insert_copy_insn): Use set_block_for_new_insns. | |
2185 | (update_ld_motion_stores): Use set_block_for_new_insns. | |
2186 | (insert_insn_start_bb): Use set_block_for_new_insns. | |
2187 | (replace_store_insn): Use set_block_for_new_insns. | |
2188 | ||
a13d4ebf AM |
2189 | 2001-04-09 Andrew MacLeod <amacleod@redhat.com> |
2190 | Jeff Law <law@redhat.com> | |
2191 | ||
2192 | * alias.c (get_addr): Externalize. | |
2193 | (canon_true_dependence): New function. Behaves like true_dependance | |
2194 | except it already assumes a MEM has been canonicalized. | |
2195 | * flags.h (flag_gcse_lm, flag_gcse_sm): New optimization flags. | |
2196 | * gcse.c (struct ls_expr): Add load/store expressions structure. | |
2197 | (modify_mem_list, canon_modify_mem_list): New variable. | |
ad087b92 | 2198 | (gcse_main): Initialize & finalize alias analysis. Use enhanced |
a13d4ebf AM |
2199 | load motion and store motion if requested. |
2200 | (alloc_gcse_mem): Allocate space for modify_mem_list array. | |
2201 | (free_gcse_mem): Free the modify_mem_list array. | |
2202 | (oprs_unchanged_p): Use load_killed_in_block_p. | |
2203 | (gcse_mems_conflict_p, gcse_mem_operand): New variables. | |
ad087b92 | 2204 | (mems_conflict_for_gcse_p): New function. Don't kill loads |
a13d4ebf AM |
2205 | with stores to themselves if its in the load/store expression list. |
2206 | (load_killed_in_block_p): New function. | |
2207 | (canon_list_insert): New Function. | |
2208 | (record_last_mem_set_info): Keep a list of all instructions which | |
2209 | can modify memory for each basic block. | |
2210 | (compute_hash_table, reset_opr_set_tables): Clear modify_mem_list. | |
2211 | (oprs_not_set_p): Use load_killed_in_block_p. | |
2212 | (mark_call, mark_set, mark_clobber): Use record_last_mem_set_info. | |
2213 | (expr_killed_p): Use load_killed_in_block_p. | |
2214 | (compute_transp): Do not pessimize memory references. | |
2215 | (pre_edge_insert): Update stores for a load motion expression. | |
2216 | (one_pre_gcse_pass): Check loads/stores for extra load motion. | |
2217 | (ldst_entry): Find or create a ldst_expr structure. | |
2218 | (free_ldst_entry): Free memory for an individual item. | |
2219 | (free_ldst_mems): Free entire load/store expression list. | |
2220 | (print_ldst_list): Print debug info. | |
2221 | (find_rtx_in_ldst): Try to find an rtx expression in the ldst list. | |
2222 | (enumerate_ldsts): Assign integer values to each entry in list. | |
2223 | (first_ls_expr): First expression in the list. | |
2224 | (next_ls_expr): Next expression in the list. | |
2225 | (simple_mem): Check if expression qualifies for ld/st expression list. | |
2226 | (invalidate_any_buried_refs): Remove from expression list if its | |
2227 | used in some other way we dont understand. | |
2228 | (compute_ld_motion_mems): Find all potential enhanced load motion | |
2229 | expression. | |
2230 | (trim_ld_motion_mems): Remove any expressions which are invalid. | |
2231 | (update_ld_motion_stores): Copy store values to registers for loads | |
2232 | which have been moved. | |
2233 | (regvec, st_antloc, num_store): New global statics. | |
2234 | (reg_set_info): Marks registers as set. | |
2235 | (store_ops_ok): Verfies registers expressions are valid in a block. | |
2236 | (find_moveable_store): Look for moveable stores in a pattern. | |
2237 | (compute_store_table): Find stores in a function worth moving, maybe. | |
2238 | (load_kills_store): Check dependance of a load and store. | |
2239 | (find_loads): Find any loads in a pattern. | |
2240 | (store_killed_in_insn): Check if a store is killed in an insn. | |
2241 | (store_killed_after): Check is store killed after an insn in a block. | |
2242 | (store_killed_before): Check is store killed before an insn in a block. | |
2243 | (build_store_vectors): Generate the antic and avail vectors. | |
2244 | (insert_insn_start_bb): Insert at the start of a BB, update BLOCK_HEAD. | |
2245 | (insert_store): Add a store to an edge. | |
2246 | (replace_store_insn): Replace a store with a SET insn. | |
2247 | (delete_store): Delete a store insn. | |
2248 | (free_store_memory): Free memory. | |
2249 | (store_motion): Perform store motion. | |
2250 | * invoke.texi: Add documentation for -fcse-lm and -fgcse-sm. | |
2251 | * rtl.h (get_addr, canon_true_dependence): Add prototypes. | |
2252 | * toplev.c (flag_gcse_lm, flag_gcse_sm): New Variables. | |
2253 | (f_options): Add gcse-lm and gcse-sm. | |
2254 | ||
92d0fb09 JH |
2255 | Mon Apr 9 16:18:03 CEST 2001 Jan Hubicka <jh@suse.cz> |
2256 | ||
2257 | * i386.c (expand_fp_movcc): Fix condition reversal code. | |
2258 | ||
2259 | * i386.c (ix86_register_move_cost): Fix handling of reformating penalty | |
2260 | * i386.h (INTEGER_CLASS_P, MAYBE_INTEGER_CLASS_P): New. | |
2261 | (CLASS_MAX_NREGS): Use it. | |
2262 | ||
2263 | * i386.h (HARD_REGNO_NREGS): Handle properly TF and TCmodes on 64bit; | |
2264 | handle properly complex values. | |
2265 | (CLASS_MAX_NREGS): Likewise; update comment. | |
2266 | ||
68340ae9 BS |
2267 | 2001-04-05 Bernd Schmidt <bernds@redhat.com> |
2268 | ||
2269 | * ia64.c (ia64_flag_schedule_insns2): New variable. | |
2270 | (ia64_override_options): Initialize it. Clear | |
2271 | flag_schedule_insns_after_reload. | |
2272 | (ia64_reorg): Only do scheduling if ia64_flag_schedule_insns2. | |
2273 | ||
46ed7963 JH |
2274 | Mon Apr 9 15:09:13 CEST 2001 Jan Hubicka <jh@suse.cz> |
2275 | ||
2276 | * i386.md (truncdfsf2_*): Add i387->int/sse reg alternatives; | |
2277 | Do not require source to match destination anymore; | |
2278 | Add abort to the nontrivial cases that should be handled by split. | |
2279 | (fix_trunc?fdi): Add SSE case for x86_64. | |
2280 | (floatdi?f): Likewise. | |
2281 | (floatdi?f_sse): New. | |
2282 | (fix_trunc?fdi_sse): New. | |
2283 | ||
04448128 RS |
2284 | 2001-04-09 Richard Sandiford <rsandifo@redhat.com> |
2285 | ||
2286 | * dwarfout.c (DEBUG_ARANGES_BEGIN_LABEL): New label. | |
2287 | (DEBUG_ARANGES_END_LABEL): Ditto. | |
2288 | (dwarfout_init): Generate length and version fields at the start | |
2289 | of the .debug_aranges info. Insert DEBUG_ARANGES_BEGIN_LABEL | |
2290 | after the length field. | |
2291 | (dwarfout_finish): Insert DEBUG_ARANGED_END_LABEL at the end of | |
2292 | the .debug_aranges info. | |
2293 | ||
39d04363 JH |
2294 | Sun Apr 8 00:43:27 CEST 2001 Jan Hubicka <jh@suse.cz> |
2295 | ||
2296 | * i386.c (call, call_value): Make sure that resulting call_insn | |
2297 | does have proper second operand. | |
2298 | ||
ab762be5 CF |
2299 | Sun Apr 8 22:50:49 2001 Christopher Faylor <cgf@cygnus.com> |
2300 | ||
2301 | * config/i386/xm-cygwin.h (GET_ENV_PATH_LIST): Eliminate obsolete | |
2302 | function. Remove include of sys/cygwin.h. | |
2303 | ||
9a33d505 CF |
2304 | Sun Apr 8 22:20:27 2001 Christopher Faylor <cgf@cygnus.com> |
2305 | ||
2306 | * config/i386/cygwin.h (STARTFILE_SPEC): search */lib/w32api by default. | |
2307 | (CPP_SPEC): Always search */include/w32api for header files. | |
2308 | (ASM_OUTPUT_SECTION_NAME): Avoid testing NULL DECL. | |
2309 | (LINK_SPEC): Add "cyg" to the library search prefixes. | |
2310 | ||
d4206a10 PB |
2311 | 2001-04-08 Philip Blundell <philb@gnu.org> |
2312 | ||
2313 | * config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf. | |
2314 | ||
2f878973 NB |
2315 | 2001-04-08 Neil Booth <neil@daikokuya.demon.co.uk> |
2316 | ||
2317 | * cpperror.c (print_location): Don't special case <stdin>. | |
2318 | (_cpp_begin_message): Handle WARNING_SYSHDR the same as | |
2319 | WARNING, but we don't check if we're in system headers. | |
2320 | * cpplib.h (enum error_type): WARNING_SYSHDR: New. | |
2321 | * cpplib.c (do_warning): Warn in system headers. | |
2322 | ||
f0225099 MK |
2323 | 2001-04-07 Mumit Khan <khan@NanoTech.Wisc.EDU> |
2324 | ||
2325 | * mbchar.c: Include config.h first. | |
2326 | ||
b6d7afec ZW |
2327 | 2001-04-07 Zack Weinberg <zackw@stanford.edu> |
2328 | ||
2329 | * config.gcc: Set default for xmake_file at top, not bottom. | |
2330 | Change places that set xmake_file to "none" to set to the | |
2331 | empty string instead, or remove them entirely if there is no | |
2332 | default xmake_file for this cpu_type. Remove references to | |
2333 | deleted files. | |
2334 | ||
2335 | * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi, | |
2336 | config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000, | |
2337 | config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3, | |
2338 | config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix, | |
2339 | config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds, | |
2340 | config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas, | |
2341 | config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1, | |
2342 | config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach, | |
2343 | config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx, | |
2344 | config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4: | |
2345 | Delete. | |
2346 | ||
2347 | * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf, | |
2348 | config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3, | |
2349 | config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony, | |
2350 | config/mips/x-sysv, config/rs6000/x-aix31: | |
2351 | Just set CLIB to -lld or -lmld, as appropriate. | |
2352 | ||
2353 | * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux, | |
2354 | config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320, | |
2355 | config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux, | |
2356 | config/mips/x-iris, config/pa/x-pa: | |
2357 | Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO, | |
2358 | OTHER_FIXINCLUDES_DIRS. | |
2359 | ||
2360 | * config/i386/x-djgpp: Don't set LN or LN_S. | |
2361 | * config/m88k/x-dolph: Don't define __m88k__. | |
2362 | * config/m88k/x-tekXD88: Don't set AR_FLAGS. | |
2363 | * config/pa/x-pa-mpeix: Just set up quadlib.asm. | |
2364 | * config/i860/fx2800.h: No need to #undef SVR4. | |
2365 | ||
2366 | 38 x-host fragments remain, 2 x-cpu. | |
2367 | ||
d0550d07 HB |
2368 | 2001-04-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
2369 | ||
2370 | * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4. | |
2371 | ||
62fce11f NB |
2372 | 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk> |
2373 | ||
2374 | * cpplib.c (cpp_push_buffer): Give stdin buffers the name <stdin>. | |
2375 | ||
f9200da2 NB |
2376 | 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk> |
2377 | ||
2378 | * configure.in: Add check for lstat. | |
2379 | * configure, config.in: Regenerate. | |
2380 | * cppinit.c (append_include_chain): Make empty path ".". | |
b6d7afec ZW |
2381 | * cpplib.c (do_line): Don't simplify #line paths. |
2382 | * cppfiles.c (remove_component_p): New function. | |
f9200da2 NB |
2383 | (find_or_create_entry): Acknowledge stat () errors during |
2384 | path simplification. | |
2385 | (handle_missing_header): Don't simplify paths. | |
b6d7afec ZW |
2386 | (_cpp_simplify_pathname): Don't simplify VMS paths. Return |
2387 | the empty path untouched. Don't leave a trailing '/'. | |
f9200da2 | 2388 | |
98c2359b | 2389 | 2001-04-06 Benjamin Kosnik <bkoz@redhat.com> |
b6d7afec | 2390 | |
98c2359b BK |
2391 | * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add. |
2392 | * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add. | |
2393 | ||
7c092714 NB |
2394 | 2001-04-06 Neil Booth <neil@daikokuya.demon.co.uk> |
2395 | ||
2396 | * cppfiles.c (open_file): Fail directories silently, but | |
2397 | with an errno of NOENT set. | |
2398 | (read_include_file): Move the common exit code to the sole | |
2399 | caller. Return an int indicating success or failure. Let | |
2400 | open_file handle directories. | |
2401 | (stack_include_file): If read_include_file fails, | |
2402 | push a "null" buffer. | |
2403 | ||
c39ada04 DD |
2404 | 2001-04-05 DJ Delorie <dj@redhat.com> |
2405 | ||
2406 | * function.h (virtuals_instantiated): Declare. | |
2407 | * function.c: (virtuals_instantiated): Make global. | |
2408 | * calls.c (emit_library_call_value_1): Use | |
2409 | virtual_outgoing_args_rtx only if it hasn't been instantiated. | |
2410 | Otherwise, use the stack pointer directly. | |
2411 | ||
0ed08620 JH |
2412 | Thu Apr 5 19:13:33 CEST 2001 Jan Hubicka <jh@suse.cz> |
2413 | ||
2414 | * i386.c (x86_initialize_trampoline): New global function. | |
2415 | * i386.h (TRAMPOLINE_SIZE): Size is 23 for x86_64. | |
2416 | (INITIALIZE_TRAMPOLINE): Move offline. | |
2417 | * i386-protos.h (x86_initialize_trampoline): Declare. | |
2418 | ||
ac62a60e JH |
2419 | Thu Apr 5 19:02:15 CEST 2001 Jan Hubicka <jh@suse.cz> |
2420 | ||
2421 | * i386.md (movdi_1_rex64): Allow SSE->SSE reg move. | |
2422 | (lea_0): Rename to lea_1. | |
2423 | (lea_1_zext, lea_1_rex64, lea_2_rex64): New patterns. | |
2424 | (lea_general_?): Allow SImodes on TARGET_64BIT | |
2425 | (lea_general_?_zext): New patterns. | |
2426 | (call_1, call_1_rex64): Fix. | |
2427 | ||
b47b4f21 JH |
2428 | Thu Apr 5 19:00:15 CEST 2001 Jan Hubicka <jh@suse.cz> |
2429 | ||
2430 | * i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address. | |
2431 | ||
32ee7d1d JH |
2432 | Thu Apr 5 18:25:56 CEST 2001 Jan Hubicka <jh@suse.cz> |
2433 | ||
2434 | * i386.c (function_arg): Return constm1_rtx for last argument. | |
2435 | (ix86_expand_prologue): Update gen_call calls. | |
2436 | * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Likewise. | |
2437 | * i386.md (call_pop): Likewise. | |
2438 | (call): Second operand is VOIDmode. | |
2439 | (call_0): Likewise; Support 64bits. | |
2440 | (call_exp): New expander. | |
2441 | (call_1): Get to the sync. | |
2442 | (call_1_exp): New pattern. | |
2443 | (call_value): Support 64bit. | |
2444 | (call_value_exp): New pattern. | |
2445 | (untyped_call): Update gen_call call. | |
2446 | (call_value_pop): Disable for 64bit. | |
2447 | (call_value_0_rex64): New pattern. | |
2448 | (call_value_1_rex64): Likewise. | |
2449 | ||
60e589ef BT |
2450 | 2001-04-05 Bo Thorsen <bo@suse.de> |
2451 | ||
2452 | * i386.md: Don't allow "builtin_setjmp_receiver" for TARGET_64BIT. | |
2453 | ||
93b23859 R |
2454 | Thu Apr 5 13:44:17 2001 J"orn Rennecke <amylaar@redhat.com> |
2455 | ||
b6d7afec | 2456 | * i386.md (*andsi_1+3): If used after reload, make sure the operand |
93b23859 R |
2457 | satisfies ANY_QI_REG_P. |
2458 | ||
0c23cca3 BS |
2459 | 2001-04-05 Bernd Schmidt <bernds@redhat.com> |
2460 | ||
1032c357 BS |
2461 | * config/ia64/ia64.c (rtx_needs_barrier): A PARALLEL can contain |
2462 | ASM_OPERAND. | |
2463 | ||
0c23cca3 BS |
2464 | * sched-deps.c (sched_analyze_insn): Revert more of the March 27 |
2465 | change. | |
2466 | ||
4dc0535b ZW |
2467 | 2001-04-04 Zack Weinberg <zackw@stanford.edu> |
2468 | ||
2469 | * config.gcc: Remove default for xm_file. Clean up local | |
2470 | machine type handling. Remove settings of xm_file to | |
2471 | something that doesn't exist. In the big switch, set xm_file, | |
2472 | don't append to it (the value before the big switch is always | |
2473 | null). Don't force build_xm_file or host_xm_file to have a value. | |
60e589ef BT |
2474 | * configure.in: Remove default for xm_file. Do not special |
2475 | case $cpu/xm-$cpu.h not existing. | |
4dc0535b ZW |
2476 | * configure: Regenerate. |
2477 | ||
b0835578 DN |
2478 | 2001-04-04 Diego Novillo <dnovillo@redhat.com> |
2479 | ||
2480 | * simplify-rtx.c (simplify_binary_operation): Check for overflow | |
2481 | when folding integer division and modulo operations. | |
2482 | ||
12f0b96b AM |
2483 | 2001-04-04 Andrew MacLeod <amacleod@redhat.com> |
2484 | ||
60e589ef | 2485 | * dwarf2out.c (output_cfi): Add 'for_eh' parameter, use PTR_SIZE |
12f0b96b | 2486 | instead of DWARF2_ADDR_SIZE for EH addresses. |
60e589ef | 2487 | (output_call_frame_info): Use PTR_SIZE instead of DWARF2_ADDR_SIZE for |
12f0b96b AM |
2488 | EH addresses. |
2489 | ||
1b4356ed RH |
2490 | 2001-04-04 Richard Henderson <rth@redhat.com> |
2491 | ||
2492 | * config/ia64/ia64.h (IA64_UNWIND_INFO): Disable. | |
2493 | * config/ia64/t-glibc (LIB2ADDEH): Disable. | |
2494 | * config/ia64/t-ia64 (LIB2ADDEH): Disable. | |
2495 | ||
3d399d67 RH |
2496 | 2001-04-04 Richard Henderson <rth@redhat.com> |
2497 | ||
2498 | * configure.in (gcc_cv_as_leb128): Escape "." in regexp. | |
2499 | * configure: Rebuilt. | |
2500 | ||
8e184d9c JJ |
2501 | 2001-04-04 Jakub Jelinek <jakub@redhat.com> |
2502 | ||
2503 | * gcse.c (delete_null_pointer_checks_1): Add delete_list argument, | |
2504 | push insns to delete to it instead of deleting them. | |
2505 | (delete_null_pointer_checks): Delete insns from delete_list after | |
2506 | all delete_null_pointer_checks_1 passes are done. | |
2507 | ||
dd7fc59c RH |
2508 | 2001-04-04 Richard Henderson <rth@redhat.com> |
2509 | ||
2510 | * configure.in (gcc_cv_as_leb128): Tweek minor number extraction. | |
2511 | * configure: Rebuilt. | |
2512 | ||
c3fa1afd ZW |
2513 | 2001-04-04 Zack Weinberg <zackw@stanford.edu> |
2514 | ||
2515 | * expr.h: Remove #ifdef FUNCTION_CONVERSION_BUG logic. | |
2516 | * config/romp/xm-romp.h: Delete. | |
2517 | ||
79ba58ef BS |
2518 | 2001-04-04 Bernd Schmidt <bernds@redhat.com> |
2519 | ||
2520 | * sched-deps.c (sched_analyze_insn): Partially revert March 27 | |
2521 | change. | |
2522 | ||
e5bef2e4 HB |
2523 | 2001-04-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
2524 | ||
2525 | * emit-rtl.c (mark_label_nuses) Increment the label uses for | |
2526 | all labels present in rtx. | |
2527 | (try_split) Call new function for all split insns. | |
2528 | ||
347f3440 JJ |
2529 | 2001-04-04 Jakub Jelinek <jakub@redhat.com> |
2530 | ||
2531 | * recog.c (validate_replace_rtx_1): Instead of aborting just make | |
2532 | sure the change won't be validated. | |
2533 | ||
7142e318 JW |
2534 | Wed Apr 4 00:45:38 EDT 2001 John Wehle (john@feith.com) |
2535 | ||
2536 | * rtl.h (set_noop_p): Declare. | |
2537 | * flow.c (set_noop_p): Move from here ... | |
2538 | * rtlanal.c (set_noop_p): ... to here and enhance. | |
2539 | * cse.c (delete_trivially_dead_insns): Use it. | |
2540 | * gcse.c (hash_scan_set): Likewise. | |
2541 | * jump.c (delete_noop_moves): Likewise. | |
2542 | * recog.c (split_all_insns): Likewise. | |
2543 | ||
19ec6a36 AM |
2544 | 2001-04-04 Alan Modra <alan@linuxcare.com.au> |
2545 | ||
2546 | * dwarf2out.c (dwarf2out_frame_debug_expr): Support adjusting | |
2547 | stack pointer via a LO_SUM. Ditto for setting a temp register | |
2548 | used to save to the stack. Set cfa_temp when setting fp, and | |
2549 | allow matches to cfa_temp in addition to cfa_store when saving | |
2550 | regs. Handle POST_INC and LO_SUM register stores. Document the | |
2551 | changes and errors in rule 12 doco. | |
2552 | ||
2553 | * pa.c (set_reg_plus_d, store_reg, load_reg): Return last insn. | |
2554 | (actual_fsize, local_fsize, save_fregs): Move for store_reg to see. | |
2555 | (load_reg): Move closer to epilogue code. | |
2556 | (DO_FRAME_NOTES): Define to control the following.. | |
2557 | (FRP): Define to set RTX_FRAME_RELATED_P on insns. | |
2558 | (hppa_expand_prologue): Use FRP and REG_FRAME_RELATED_EXPR | |
2559 | notes as necessary. | |
2560 | (hppa_expand_epilogue): Likewise. | |
2561 | ||
78e766a0 RH |
2562 | 2001-04-03 Richard Henderson <rth@redhat.com> |
2563 | ||
2564 | * configure.in (gcc_cv_as_leb128): Reject gas before 2.11. | |
2565 | * configure: Rebuild. | |
2566 | ||
9555a122 RH |
2567 | 2001-04-03 Richard Henderson <rth@redhat.com> |
2568 | ||
2569 | * rtl.h (LCT_THROW): New. | |
2570 | * calls.c (emit_library_call_value_1): Handle it. | |
2571 | * except.c (connect_post_landing_pads): Use it. | |
2572 | ||
d02af173 ZW |
2573 | 2001-04-03 Zack Weinberg <zackw@stanford.edu> |
2574 | ||
2575 | * gansidecl.h: Delete file. | |
2576 | * configure.in: Change all refs to gansidecl.h to use | |
2577 | ansidecl.h. Adjust *_file_list so they know where ansidecl.h | |
2578 | lives. | |
2579 | * configure: Regenerate. | |
2580 | ||
2581 | * Makefile.in (intl.o): Don't depend on gansidecl.h. | |
2582 | * defaults.h: s/gansidecl.h/ansidecl.h/ in comment. | |
2583 | * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c: | |
2584 | Don't include gansidecl.h. | |
2585 | * intl.c, main.c, version.c, fixinc/fixlib.h, | |
2586 | fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not | |
2587 | gansidecl.h. | |
2588 | ||
898d374d JH |
2589 | Tue Apr 3 19:41:21 CEST 2001 Jan Hubicka <jh@suse.cz> |
2590 | ||
2591 | * i386.c (ix86_force_to_memory, ix86_free_from_memory): | |
2592 | Update for 64bit. | |
2593 | ||
547a559d ZW |
2594 | 2001-04-03 Zack Weinberg <zackw@stanford.edu> |
2595 | ||
2596 | * config/i386/xm-beos.h, config/i386/xm-isc.h, | |
2597 | config/i386/xm-next.h, config/i386/xm-sco.h, | |
2598 | config/i386/xm-sco5.h, config/m68k/xm-plexus.h, | |
2599 | config/m88k/xm-m88k.h: Delete. | |
2600 | ||
2601 | * config/i386/xm-djgpp.h: Don't define __MSDOS__. | |
2602 | * config/romp/xm-romp.h: Don't define bcopy. | |
2603 | * config/rs6000/xm-beos.h: Don't define bcopy, HAVE_VPRINTF, | |
2604 | HAVE_PUTENV, HAVE_RENAME, or USE_C_ALLOCA. | |
2605 | ||
2606 | * config.gcc: Remove references to deleted files. | |
2607 | ||
2608 | 14 xm-host.h remain, 1 xm-cpu.h. | |
2609 | ||
ddef6bc7 JJ |
2610 | 2001-04-03 Jakub Jelinek <jakub@redhat.com> |
2611 | David S. Miller <davem@pierdol.cobaltmicro.com> | |
d02af173 | 2612 | Andrew MacLeod <amacleod@redhat.com> |
ddef6bc7 JJ |
2613 | |
2614 | Use byte offsets in SUBREGs instead of words. | |
2615 | ||
2616 | * alias.c (nonlocal_mentioned_p): Use subreg_regno function. | |
2617 | * caller-save.c (mark_set_regs): Change callers of subreg_hard_regno | |
2618 | to pass new argument. | |
2619 | (add_stored_regs): Use subreg_regno_offset function. | |
2620 | * calls.c (expand_call): For non-paradoxical SUBREG take endianess | |
2621 | into account. | |
2622 | (precompute_arguments): Use gen_lowpart_SUBREG. | |
2623 | * combine.c (try_combine): Replace explicit XEXP with SUBREG_REG. | |
2624 | (combine_simplify_rtx): Rework to use SUBREG_BYTE. | |
2625 | (simplify_set): Rework to use SUBREG_BYTE. | |
2626 | (expand_field_assignment): Use SUBREG_BYTE. | |
2627 | (make_extraction): Use SUBREG_BYTE. | |
2628 | (if_then_else_cond): Use SUBREG_BYTE. | |
2629 | (apply_distributive_law): Use SUBREG_BYTE and fixup subreg comments. | |
2630 | (gen_lowpart_for_combine): Compute full byte offset. | |
2631 | * cse.c (mention_regs): Use SUBREG_BYTE. | |
2632 | (remove_invalid_subreg_refs): Rework to use SUBREG_BYTE. | |
2633 | (canon_hash): Use SUBREG_BYTE. | |
2634 | (fold_rtx): Pass SUBREG_BYTE div UNITS_PER_WORD to operand_subword. | |
2635 | (gen_lowpart_if_possible): Formatting. | |
2636 | * dbxout.c (dbxout_symbol_location): Compute SUBREG hard regnos | |
2637 | correctly. | |
2638 | * dwarf2out.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG | |
2639 | (mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG | |
2640 | (loc_descriptor): Fixup explicit XEXP into SUBREG_REG | |
2641 | * dwarfout.c (is_pseudo_reg): Fixup explicit XEXP into SUBREG_REG | |
2642 | (output_mem_loc_descriptor): Fixup explicit XEXP into SUBREG_REG | |
2643 | (output_loc_descriptor): Fixup explicit XEXP into SUBREG_REG | |
2644 | * emit-rtl.c (gen_rtx_SUBREG): New function, used to verify | |
2645 | certain invariants about SUBREGs the compiler creates. | |
2646 | (gen_lowpart_SUBREG): New function. | |
2647 | (subreg_hard_regno): New function to get the final register number. | |
2648 | (gen_lowpart_common): Use SUBREG_BYTE. | |
2649 | (gen_imagpart): Spacing nits. | |
2650 | (subreg_realpart_p): Use SUBREG_BYTE. | |
2651 | (gen_highpart): Use SUBREG_BYTE. | |
2652 | (subreg_lowpart_p): Always compute endian corrected goal offset, | |
2653 | even at the byte level, then compare against that. | |
2654 | (constant_subword): New function, pulled out all constant cases | |
2655 | from operand_subword and changed second argument name to offset. | |
2656 | (operand_subword): Detect non REG/SUBREG/CONCAT/MEM cases early | |
d02af173 | 2657 | and call constant_subword to do the work. Return const0_rtx if |
ddef6bc7 JJ |
2658 | looking for a word outside of OP. |
2659 | (operand_subword_force): Change second arg name to offset. | |
2660 | * expmed.c (store_bit_field): Use SUBREG_BYTE. | |
2661 | (store_split_bit_field): Use SUBREG_BYTE. | |
2662 | (extract_bit_field): Use SUBREG_BYTE. | |
2663 | (extract_split_bit_field): Use SUBREG_BYTE. | |
2664 | (expand_shift): Use SUBREG_BYTE. | |
d02af173 | 2665 | * expr.c (store_expr, expand_expr): Use gen_lowpart_SUBREG. |
ddef6bc7 JJ |
2666 | * final.c (alter_subreg) Use subreg_hard_regno and SUBREG_BYTE. |
2667 | * flow.c (set_noop_p): Use SUBREG_BYTE. | |
2668 | (mark_set_1): Remove ALTER_HARD_SUBREG. Use subreg_regno_offset instead. | |
2669 | * function.c (fixup_var_refs_1): Fixup explicit XEXP into a SUBREG_REG. | |
2670 | (fixup_memory_subreg): Use SUBREG_BYTE and remove byte endian | |
2671 | correction code. | |
2672 | (optimize_bit_field): Use SUBREG_BYTE. | |
2673 | (purge_addressof_1): Use SUBREG_BYTE. | |
2674 | (purge_single_hard_subreg_set): Use subreg_regno_offset function. | |
d02af173 | 2675 | (assign_params): Mark arguments SUBREG_PROMOTED_VAR_P if they are |
ddef6bc7 JJ |
2676 | actually promoted by the caller and PROMOTE_FOR_CALLS_ONLY is true. |
2677 | * gengenrtl.c (special_rtx): Add SUBREG. | |
2678 | * global.c (mark_reg_store): Use SUBREG_BYTE. | |
2679 | (set_preference): Rework to use subreg_regno_offset and SUBREG_BYTE. | |
2680 | * ifcvt (noce_emit_move_insn): Use SUBREG_BYTE. | |
2681 | * integrate.c (copy_rtx_and_substitute): Use SUBREG_BYTE and make sure | |
2682 | final byte offset is congruent to subreg's mode size. | |
2683 | (subst_constants): Use SUBREG_BYTE. | |
2684 | (mark_stores): Use subreg_regno_offset function. | |
2685 | * jump.c (rtx_renumbered_equal_p, true_regnum): Use subreg_regno_offset | |
2686 | function and SUBREG_BYTE. | |
2687 | * local-alloc.c (combine_regs): Use subreg_regno_offset function. | |
2688 | (reg_is_born): Use subreg_hard_regno. | |
2689 | * recog.c (valid_replace_rtx_1): Use SUBREG_BYTE and remove byte | |
d02af173 | 2690 | endian correction code. Don't combine subregs unless resulting |
ddef6bc7 JJ |
2691 | offset aligns with type. Fix subreg constant extraction for DImode. |
2692 | Simplify SUBREG of VOIDmode CONST_DOUBLE. | |
2693 | (general_operand): Remove dead mode_altering_drug code. | |
2694 | (indirect_operand): Use SUBREG_BYTE. | |
2695 | (constrain_operands): Use subreg_regno_offset function. | |
2696 | * reg-stack.c (get_true_reg): Use subreg_regno_offset function. | |
2697 | * regmove.c (regmove_optimize): Use SUBREG_BYTE. | |
2698 | (optimize_reg_copy_3): Use gen_lowpart_SUBREG. | |
2699 | * regs.h (REG_SIZE): Allow target to override. | |
2700 | (REGMODE_NATURAL_SIZE): New macro which target can override. | |
d02af173 | 2701 | * reload.c (reload_inner_reg_of_subreg): subreg_regno should be used |
ddef6bc7 JJ |
2702 | on the entire subreg rtx. |
2703 | (push_reload): Use SUBREG_BYTE in comments and code. | |
2704 | (find_dummy_reload): Use subreg_regno_offset. Only adjust offsets | |
2705 | for hard registers inside subregs. | |
2706 | (operands_match_p): Use subreg_regno_offset. | |
d02af173 | 2707 | (find_reloads): Use SUBREG_BYTE and only advance offset for subregs |
ddef6bc7 JJ |
2708 | containing hard regs. |
2709 | (find_reload_toplev): Use SUBREG_BYTE. Remove byte endian | |
2710 | corrections when fixing up MEM subregs. | |
2711 | (find_reloads_address_1): Use SUBREG_BYTE, subreg_regno, and | |
2712 | subreg_regno_offset where appropriate. | |
2713 | (find_reloads_subreg_address): Use SUBREG_BYTE. Remove | |
2714 | byte endian corrections when fixing up MEM subregs. | |
2715 | (subst_reloads): When combining two subregs, make sure final | |
2716 | offset is congruent to subreg's mode size. | |
2717 | (find_replacement): Use SUBREG_BYTE and subreg_regno_offset. | |
2718 | (refers_to_regno_for_reload_p): Use subreg_regno. | |
2719 | (reg_overlap_mentioned_for_reload_p): Use subreg_regno_offset. | |
2720 | * reload1.c (eliminate_regs) Use SUBREG_BYTE. Remove byte endian | |
2721 | correction code for memory subreg fixups. | |
2722 | (forget_old_reload_1): Use subreg_regno_offset. | |
2723 | (choose_reload_regs): Use subreg_regno. | |
2724 | (emit_input_reload_insns): Use SUBREG_BYTE. | |
2725 | (reload_combine_note_store): Use subreg_regno_offset. | |
2726 | (move2add_note_store): Use subreg_regno_offset. | |
d02af173 | 2727 | * resource.c (update_live_status, mark_referenced_resources): Use |
ddef6bc7 JJ |
2728 | subreg_regno function. |
2729 | (mark_set_resources): Use subreg_regno function. | |
2730 | * rtl.h (SUBREG_WORD): Rename to SUBREG_BYTE. | |
2731 | (subreg_regno_offset, subreg_regno): Define prototypes. | |
2732 | (subreg_hard_regno, constant_subword, gen_rtx_SUBREG): Newi functions. | |
2733 | (gen_lowpart_SUBREG): Add prototype. | |
2734 | * rtl.texi (subreg): Update to reflect new byte offset representation. | |
2735 | Add mentioning of the effect that BYTES_BIG_ENDIAN has on subregs now. | |
2736 | * rtlanal.c (refers_to_regno_p): Use subreg_regno. | |
2737 | (reg_overlap_mentioned_p): Use subreg_regno. | |
2738 | (replace_regs); Make sure final offset of combined subreg is | |
2739 | congruent to size of subreg's mode. | |
2740 | (subreg_regno_offset): New function. | |
2741 | (subreg_regno): New function. | |
2742 | * sched-vis.c (print_value): Change SUBREG_WORD to SUBREG_BYTE. | |
2743 | * sdbout.c (sdbout_symbol): Compute offset using alter_subreg. | |
2744 | * stmt.c (expand_anon_union_decl): Use gen_lowpart_SUBREG. | |
2745 | * tm.texi (ALTER_HARD_SUBREG): Remove, it is now dead. | |
2746 | (SUBREG_REGNO_OFFSET): Describe SUBREG_REGNO_OFFSET overrides. | |
2747 | * config/a29k/a29k.c (gpc_reg_operand): Use subreg_regno. | |
2748 | (a29k_get_reloaded_address): Use SUBREG_BYTE. | |
2749 | (print_operand): Use SUBREG_BYTE. | |
2750 | * config/alpha/alpha.c (print_operand_address): Use SUBREG_BYTE. | |
2751 | * config/arm/arm.c (arm_reload_in_hi): Use SUBREG_BYTE. | |
2752 | (arm_reload_out_hi): Use SUBREG_BYTE. | |
2753 | * config/d30v/d30v.c (d30v_split_double): Use subreg_regno_offset | |
2754 | instead of SUBREG_WORD. | |
2755 | (d30v_print_operand_memory_reference): Use subreg_regno_offset. | |
2756 | * config/dsp16xx/dsp16xx.md (extendqihi2, zero_extendqihi2): Fix | |
2757 | SUBREG creation to use byte offset. | |
2758 | * config/h8300/h8300.md (Unnamed HImode zero extraction and 16bit | |
2759 | inverted load insns): Fix explicit rtl subregs to use byte | |
2760 | offsets. | |
2761 | * config/i370/i370.md (cmpstrsi, movstrsi, mulsi3, divsi3, | |
2762 | udivsi3, umodsi3): Generate SUBREGs with byte offsets. | |
2763 | * config/i860/i860.c (single_insn_src_p): Use SUBREG_BYTE. | |
2764 | * config/i860/i860.md (mulsi3_big): Fixup explicit SUBREGs in rtl | |
2765 | to use byte offsets. | |
2766 | (unnamed fmlow.dd insn): Fixup SUBREGS to use byte offsets. | |
2767 | * config/i960/i960.md (extendhisi2): Generate SUBREGs with byte | |
2768 | offsets, also make sure it is congruent to SUBREG's mode size. | |
2769 | (extendqisi2, extendqihi2, zero_extendhisi2, zero_extendqisi2, | |
2770 | unnamed ldob insn): Generate SUBREGs with byte offset. | |
2771 | (zero_extendqihi2): SUBREG's are byte offsets. | |
2772 | * config/m68hc11/m68hc11.c (m68hc11_gen_lowpart): Use SUBREG_BYTE. | |
2773 | (m68hc11_gen_highpart): Use SUBREG_BYTE. | |
2774 | * config/m68k/m68k.md (zero_extendhisi2, zero_extendqihi2, | |
2775 | zero-extendqisi2): Generate SUBREGs with byte offset. | |
2776 | (umulsidi3, mulsidi3, subreghi1ashrdi_const32, | |
2777 | subregsi1ashrdi_const32, subreg1lshrdi_const32): Fixup explicit | |
2778 | subregs in rtl to use byte offsets. | |
2779 | * config/m88k/m88k.md (extendsidi2): fixup subregs to use byte offset. | |
2780 | * config/mips/mips.c (mips_move_1word): Use subreg_regno_offset. | |
2781 | (mips_move_2words): Use subreg_regno_offset. | |
2782 | (mips_secondary_reload_class): Use subreg_regno_offset. | |
2783 | * config/mips/mips.md (DImode plus, minus, move, and logical op | |
2784 | splits): Fixup explicit subregs in rtl to use byte offsets. | |
2785 | * config/mn10200/mn10200.c (print_operand): Use subreg_regno function. | |
2786 | * config/mn10300/mn10300.c (print_operand): Use subreg_regno function. | |
2787 | * config/ns32k/ns32k.md (udivmoddisi4): Fix explicit subregs in | |
2788 | rtl to use byte offsets. | |
2789 | * config/pa/pa.c (emit_move_sequence): Use SUBREG_BYTE. | |
2790 | * config/pa/pa.md (floatunssisf2, floatunssidf2, mulsi3): fix explicit | |
2791 | subregs to use byte offsets. | |
2792 | * config/pdp11/pdp11.md (zero_extendhisi2, modhi3, modhi3+1): | |
2793 | Fixup explicit subregs in rtl to use byte offsets. | |
2794 | * config/romp/romp.c (memory_offset_in_range_p): Use SUBREG_BYTE | |
2795 | and remove byte endian correction code. | |
2796 | * config/sh/sh.c (output_movedouble): Use subreg_regno. | |
2797 | (gen_ashift_hi): Use SUBREG_BYTE. | |
2798 | (regs_used): Use subreg_regno_offset. | |
2799 | (machine_dependent_reorg): Use subreg_regno_offset. | |
2800 | * config/sh/sh.h (INDEX_REGISTER_RTX_P): Use SUBREG_BYTE. | |
2801 | * config/sh/sh.md (DImode and DFmode move splits): Use subreg_regno. | |
2802 | (movdf_i4): Subregs are byte offsets now. | |
2803 | * config/sparc/sparc.c (ultra_find_type): Use SUBREG_BYTE. | |
2804 | * config/sparc/sparc.h (ALTER_HARD_SUBREG): Removed. | |
2805 | (REGMODE_NATURAL_SIZE): Override. | |
2806 | (REG_SIZE): For SUBREG check float mode on SUBREG_REG's mode. | |
2807 | * config/sparc/sparc.md (TFmode move splits): Generate SUBREGs | |
2808 | with byte offsets. | |
2809 | (zero_extendhisi2, zero_extendqidi2_insn, extendhisi2, | |
2810 | extendqihi2, sign_extendqihi2_insn, sign_extendqisi2_insn, | |
2811 | extendqidi2): Generate SUBREGs with byte offsets, also make sure | |
2812 | it is congruent to SUBREG's mode size. | |
2813 | (smulsi3_highpart_v8plus): Fix explicit subregs in rtl to use byte | |
2814 | offsets. | |
d02af173 ZW |
2815 | (cmp_siqi_trunc, cmp_siqi_trunc_set, cmp_diqi_trunc, |
2816 | cmp_diqi_trunc_set, lshrdi3_v8plus+1, lshrdi3_v8plus+2, | |
ddef6bc7 JJ |
2817 | lshrdi3_v8plus+3, lshrdi3_v8plus+4): Use proper |
2818 | SUBREG_BYTE offset for non-paradoxical subregs in patterns. | |
d02af173 | 2819 | * config/v850/v850.c (print_operand, output_move_double): Use |
ddef6bc7 JJ |
2820 | subreg_regno function. |
2821 | ||
ef14c259 AO |
2822 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> |
2823 | ||
924c96eb AO |
2824 | * configure.in (target_subdir): Use target_alias, not target. |
2825 | * configure: Rebuilt. | |
2826 | ||
ef14c259 AO |
2827 | * config/sh/crtn.asm (init, fini): Restore r15 from r14, not the |
2828 | other way round. | |
2829 | * config/sh/crti.asm: Fix typos in comments. | |
2830 | ||
a7721dc0 AM |
2831 | 2001-04-03 Alan Modra <alan@linuxcare.com.au> |
2832 | ||
2833 | * pa.h: Revise comments for TARGET_NO_SPACE_REGS and | |
2834 | TARGET_FAST_INDIRECT_CALLS. | |
2835 | * pa.c (override_options): TARGET_NO_SPACE_REGS is now OK with | |
2836 | -fPIC. Don't warn. | |
2837 | (return_addr_rtx): Short circuit export stub matching when | |
2838 | TARGET_NO_SPACE_REGS. | |
2839 | (output_millicode_call): For out of range calls, make -fPIC | |
2840 | take precedence, then TARGET_PORTABLE_RUNTIME, then ble. Don't | |
2841 | return before delay slot checks when TARGET_PORTABLE_RUNTIME. | |
2842 | * pa.md: Modify length attr calculation of all millicode insns to | |
2843 | match above. | |
2844 | ||
fbe42b1b GK |
2845 | 2001-04-02 Geoffrey Keating <geoffk@redhat.com> |
2846 | ||
2847 | * configure.in (gcc_cv_as_leb128): Correct name of cache variable. | |
2848 | Require at least 2.11 in the version test. Specifically check | |
2849 | for and reject GAS version 2.10.90. | |
2850 | * configure: regenerate. | |
2851 | ||
1c7a8112 AM |
2852 | 2001-04-03 Alan Modra <alan@linuxcare.com.au> |
2853 | ||
a7721dc0 | 2854 | * pa.c (override_options): Remove PIC profiling warning. |
1c7a8112 AM |
2855 | (hp_profile_labelno): Delete. |
2856 | (hp_profile_label_rtx): Delete. | |
2857 | (hp_profile_label_name): Delete. | |
2858 | (pa_add_gc_roots): Remove reference to hp_profile_label_rtx. | |
2859 | (output_function_prologue): Remove profiling code and all tests on | |
2860 | profile_flag. Move store of PIC_OFFSET_TABLE_REGNUM now that | |
2861 | merge_sp_adjust_with_store can work for PIC and profiling. | |
2862 | (hppa_expand_epilogue): Remove profile_flag test. | |
2863 | (hppa_can_use_return_insn_p): Likewise. | |
2864 | (hppa_init_pic_save): Emit before tail_recursion_reentry, and | |
2865 | cater for PROFILE_HOOK. | |
2866 | (hppa_profile_hook): New function. | |
a7721dc0 | 2867 | * pa.h (FUNCTION_PROFILER): Now does nothing. |
1c7a8112 AM |
2868 | (PROFILE_HOOK): Define. |
2869 | (hppa_profile_hook): Declare. | |
2870 | (PROFILE_BEFORE_PROLOGUE): Delete. | |
2871 | (ASM_OUTPUT_REG_PUSH): Delete. | |
2872 | (ASM_OUTPUT_REG_POP): Delete. | |
a7721dc0 AM |
2873 | * pa.md (call_profiler): Turn it into a call insn, and don't `use' |
2874 | r24. Accept function name operand, and use this and a locally | |
2875 | generated label to calculate pc-rel offset to func start. | |
1c7a8112 | 2876 | |
2a3e8203 KG |
2877 | 2001-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2878 | ||
2879 | * $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o, | |
2880 | ggc-common.o, ggc-simple.o, ggc-page.o, ggc-none.o: Depend on | |
2881 | $(SYSTEM_H). | |
2882 | ||
9ae21d2a AM |
2883 | 2001-04-03 Alan Modra <alan@linuxcare.com.au> |
2884 | ||
2885 | * dwarf2out.c (dwarf2out_frame_debug_expr): Move errant HIGH and | |
2886 | LO_SUM cases to where they belong. | |
2887 | ||
847abd1f RH |
2888 | 2001-04-02 Richard Henderson <rth@redhat.com> |
2889 | ||
2890 | * except.h (lang_eh_type_covers): Mark extern. | |
2891 | (lang_eh_runtime_type): Likewise. | |
2892 | ||
0313e85b ZW |
2893 | 2001-04-02 Zack Weinberg <zackw@stanford.edu> |
2894 | ||
2895 | * genattr.c, gencheck.c, gencodes.c, genconfig.c, genflags.c, | |
2896 | gengenrtl.c: Wrap generated header in multiple-include guard. | |
2897 | Improve error checking. | |
2898 | ||
79cb7361 KG |
2899 | 2001-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2900 | ||
2901 | * configure.in: Don't check for putenv. | |
2902 | * configure: Regenerate. | |
2903 | * gcc.c (putenv): Don't define. | |
2904 | * vax/xm-vms.h: Handle putenv. | |
2905 | ||
32ff70d2 JJ |
2906 | 2001-04-02 Jakub Jelinek <jakub@redhat.com> |
2907 | ||
2908 | * ifcvt.c (noce_emit_move_insn): New. | |
2909 | (noce_try_store_flag, noce_try_store_flag_constants, | |
2910 | noce_try_store_flag_inc, noce_try_store_flag_mask, | |
2911 | noce_try_cmove, noce_try_cmove_arith, noce_try_minmax, | |
2912 | noce_try_abs): Use it. | |
2913 | (noce_process_if_block): Likewise. | |
2914 | For STRICT_LOW_PART, take mode from its SUBREG. | |
2915 | ||
d791ea1e JJ |
2916 | 2001-04-02 Jakub Jelinek <jakub@redhat.com> |
2917 | ||
2918 | * fold-const.c (fold): Before optimizing unsigned comparison with | |
2919 | 0x7fffffffU, make sure arg0 is integral type. | |
2920 | ||
c6955d85 JM |
2921 | 2001-04-02 Joseph S. Myers <jsm28@cam.ac.uk> |
2922 | ||
2923 | * c-tree.texi: Document representation of wide strings. | |
2924 | ||
efc45658 RH |
2925 | 2001-04-01 Richard Henderson <rth@redhat.com> |
2926 | ||
2927 | * except.h (expand_builtin_dwarf_fp_regnum): Declare. | |
2928 | ||
e74061a9 JH |
2929 | Sun Apr 1 11:49:05 CEST 2001 Jan Hubicka <jH@suse.cz> |
2930 | ||
2931 | * i386.md: remove obsoleted comments. | |
2932 | (adddi_?): Rename to adddi_?_rex64; disable for 32bit. | |
2933 | (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64; | |
2934 | fix output template. | |
2935 | ||
7656d28a MM |
2936 | 2001-03-31 Marek Michalkiewicz <marekm@linux.org.pl> |
2937 | ||
2938 | * config/avr/libgcc.S (__mulhi3): Optimize previous change. | |
2939 | ||
1757e774 BS |
2940 | 2001-03-30 Bernd Schmidt <bernds@redhat.com> |
2941 | ||
2942 | * loop.c (load_mems): When generating a load from a pseudo, update | |
2943 | REGNO_LAST_UID. | |
2944 | ||
886cbb88 JH |
2945 | Fri Mar 30 17:36:43 CEST 2001 Jan Hubicka <jh@suse.cz> |
2946 | ||
2947 | * i386.c (ix86_split_long_move): Use change address to compensate | |
2948 | stack pointer change in push instruction. | |
2949 | ||
f021d6fc JH |
2950 | Fri Mar 30 00:31:00 CEST 2001 Jan Hubicka <jh@suse.cz> |
2951 | ||
2952 | * i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p | |
2953 | instead of rtx_equal_p; fix the output template. | |
2954 | ||
885a70fd JH |
2955 | Fri Mar 30 00:21:41 CEST 2001 Jan Hubicka <jh@suse.cz> |
2956 | ||
2957 | * i386.c (ix86_expand_setcc): Support 64bit. | |
2958 | (ix86_expand_int_movcc): Likewise. | |
2959 | * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64): | |
2960 | New patterns. | |
2961 | ||
2962 | * i386.md (allocate_stack_worker): Turn to expander. | |
2963 | (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns. | |
2964 | ||
2965 | * i386.c (print_reg): Do not print x86_64 style regs on IA-32 | |
2966 | ||
e4b776a6 RH |
2967 | 2001-03-29 Richard Henderson <rth@redhat.com> |
2968 | ||
2969 | * libgcc2.c [L__main]: Include unwind-dw2-fde.h instead of frame.h. | |
2970 | ||
498cf3d0 MH |
2971 | 2001-03-28 Matthew Hiller <hiller@redhat.com> |
2972 | ||
2973 | * config/mn10300/mn10300.md (cmpsi): Fix first alternative's | |
2974 | output template. | |
2975 | ||
2976 | * MAINTAINERS: Added self. | |
d02af173 | 2977 | |
2bb9b75d RH |
2978 | 2001-03-28 Richard Henderson <rth@redhat.com> |
2979 | ||
2980 | * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H. | |
2981 | Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection. | |
2982 | ||
2bf47a10 JW |
2983 | 2001-03-28 Jim Wilson <wilson@redhat.com> |
2984 | ||
2985 | * config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to | |
2986 | operand_subword. | |
2987 | ||
3fdefbcc KG |
2988 | 2001-03-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2989 | ||
2990 | * toplev.h (fatal_error): Add ATTRIBUTE_NORETURN. | |
2991 | ||
2992 | * tradcif.y (yyerror): Likewise. Add format specifier in call to | |
2993 | `error'. | |
d02af173 | 2994 | |
3fdefbcc KG |
2995 | * tradcpp.c (macroexpand): Likewise for call to `error_with_line'. |
2996 | ||
0ac19cfa DD |
2997 | 2001-03-28 DJ Delorie <dj@redhat.com> |
2998 | ||
2999 | * Makefile.in (stage1_build): Revert CFLAGS patch. | |
3000 | ||
500164d2 MM |
3001 | 2001-03-28 Marek Michalkiewicz <marekm@linux.org.pl> |
3002 | ||
3003 | * config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop | |
3004 | when multiplier or multiplicand is zero. | |
3005 | ||
669ff14e BS |
3006 | 2001-03-28 Bernd Schmidt <bernds@redhat.com> |
3007 | ||
3008 | * cselib.c (hash_rtx): Don't do tail recursion elimination by hand. | |
3009 | ||
112333d3 BS |
3010 | * config/ia64/ia64.c (update_set_flags): New function, broken out of |
3011 | rtx_needs_barrier. | |
3012 | (set_src_needs_barrier): Likewise. | |
3013 | (rtx_needs_barrier): For SET case, use these two functions. Rework | |
3014 | PARALLEL case to handle all inputs before all outputs. | |
3015 | (emit_insn_group_barriers): Call init_insn_group_barriers only if we | |
3016 | saw a label and no stop bit since then. | |
3017 | (maybe_rotate, process_epilogue): Add prototypes. | |
3018 | ||
3553b09d RH |
3019 | 2001-03-28 Richard Henderson <rth@redhat.com> |
3020 | ||
3021 | * config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX, | |
3022 | not TARGET_TOC for special toc restore handling. | |
3023 | * config/rs6000/rs6000.md (eh_return): Likewise. | |
3024 | ||
4573b4de RH |
3025 | 2001-03-28 Richard Henderson <rth@redhat.com> |
3026 | ||
1150a841 RH |
3027 | * config/sparc/sparc.c (eligible_for_epilogue_delay): False if |
3028 | current_function_calls_eh_return. | |
3029 | (output_function_epilogue): Handle eh_return. | |
3030 | * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove. | |
3031 | (EH_RETURN_DATA_REGNO): New. | |
3032 | (EH_RETURN_STACKADJ_RTX): New. | |
3033 | (EH_RETURN_HANDLER_RTX): New. | |
3034 | * config/sparc/sparc.md (call/short branch peepholes): Check | |
3035 | can_throw_internal instead of in_same_eh_region. | |
3036 | ||
83720594 RH |
3037 | * config/rs6000/rs6000.c (rs6000_stack_info): Allocate space |
3038 | for eh_return data registers. | |
3039 | (rs6000_emit_prologue): Save eh_return data registers. | |
3040 | (rs6000_emit_epilogue): Force inline restores if eh_return. | |
3041 | Restore eh_return data registers. Mind EH_RETURN_STACKADJ_RTX. | |
3042 | * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset. | |
3043 | (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New. | |
3044 | (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and | |
3045 | the target uses one. | |
3046 | * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove. | |
3047 | (return_eh_si, return_eh_di): Remove. | |
3048 | (eh_return): New, from corpse of eh_epilogue. | |
3049 | (eh_set_lr_si, eh_set_lr_di): New. | |
3050 | ||
1020a5ab RH |
3051 | * config/i386/i386.c (general_no_elim_operand): Disallow virtual regs. |
3052 | (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs. | |
3053 | True for pic register if current_function_calls_eh_return. | |
3054 | (ix86_expand_epilogue): Change "emit_return" argument into "style". | |
3055 | Handle eh_return requirements. | |
3056 | * config/i386/i386.h (EH_RETURN_DATA_REGNO): New. | |
3057 | (EH_RETURN_STACKADJ_RTX): New. | |
3058 | * config/i386/i386.md (exception_receiver): Remove. | |
3059 | (eh_return, eh_return_1): New. | |
3060 | * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. | |
3061 | ||
3062 | * config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs. | |
3063 | (alpha_mark_machine_status): No eh_epilogue_sp_ofs ... | |
3064 | (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead. | |
3065 | * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs. | |
3066 | (EH_RETURN_DATA_REGNO): New. | |
3067 | (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New. | |
3068 | * config/alpha/alpha.md (eh_epilogue): Remove. | |
3069 | (exception_receiver): Use $26 for ldgp input. | |
4573b4de RH |
3070 | * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. |
3071 | ||
52a11cbf RH |
3072 | 2001-03-28 Richard Henderson <rth@redhat.com> |
3073 | ||
3074 | * except.c: Rewrite entirely for IA-64 ABI exception handling. | |
3075 | * except.h: Likewise. | |
3076 | ||
3077 | * Makefile.in (LIB2ADDEH): Mention unwind-dw2*.c | |
3078 | (LIB2ADDEHDEP): New. | |
3079 | (LIB2FUNCS_EH): Remove. | |
3080 | (LIB2ADD): Remove LIB2ADDEH. | |
3081 | (libgcc.mk): Pass LIB2ADDEHDEP, don't pass LIB2FUNCS_EH. | |
3082 | (LIBGCC_DEPS): Use LIB2ADDEHDEP. | |
3083 | (crt{begin,end}[S].o): Likewise. | |
3084 | (except.o): Update includes. | |
3085 | * mklibgcc.in: Remove LIB2FUNCS_EH, add LIB2ADDEH, LIB2ADDEHDEP. | |
3086 | (libgcc2_c_dep): Use LIB2ADDEHDEP. | |
3087 | ||
3088 | * basic-block.h (struct basic_block_def): Remove eh_beg, eh_end. | |
3089 | * bb-reorder.c (reorder_basic_blocks): Don't disable for EH. | |
3090 | * builtins.def (BUILT_IN_EH_RETURN_DATA_REGNO): New. | |
3091 | * builtins.c (expand_builtin): Implement it. | |
3092 | [BUILT_IN_EH_RETURN]: Update for nr arguments change. | |
3093 | * c-common.c (c_common_nodes_and_builtins): Declare it. | |
3094 | * c-decl.c (init_decl_processing): Update __builtin_eh_return. | |
3095 | * calls.c (libfunc_nothrow): Remove. | |
3096 | (emit_library_call_value_1): Don't call it. | |
3097 | * crtstuff.c: Include unwind-dw2-fde.h instead of frame.h. | |
3098 | * dwarf2.h (dwarf_call_frame_info): Add dwarf2.1 elements. | |
3099 | (DW_EH_PE_*): New defines for pointer encoding in .eh_frame. | |
3100 | * dwarf2out.c (struct dw_fde_struct): Add uses_eh_lsda, funcdef_number. | |
3101 | (current_funcdef_number): Globalize. | |
3102 | (output_call_frame_info): Emit frame data if an lsda is needed. | |
3103 | Generate augmentation for personality routine. Don't play with | |
3104 | difference symbols. | |
3105 | (dwarf2out_begin_prologue): Record funcdef_number. | |
3106 | * dwarf2out.h (current_funcdef_number): Declare. | |
3107 | * expr.c (expand_expr): Update for except.h name changes. | |
3108 | Remove POPDCC_EXPR, POPDHC_EXPR. Add EXC_PTR_EXPR. | |
3109 | * expr.h (LTI_throw, LTI_rethrow): Remove. | |
3110 | (LTI_sjthrow, LTI_sjpopnthrow, LTI_terminate): Remove. | |
3111 | (LTI_eh_rtime_match): Remove. | |
3112 | (LTI_unwind_resume, LTI_eh_personality): Add. | |
3113 | (LTI_unwind_sjlj_register, LTI_unwind_sjlj_unregister): Add. | |
3114 | * final.c (final): Don't call check_exception_handler_labels, | |
3115 | init_insn_eh_region, or free_insn_eh_region. | |
d02af173 | 3116 | (final_scan_insn): Always emit debug labels for |
52a11cbf RH |
3117 | NOTE_INSN_EH_REGION notes. |
3118 | * flags.h (flag_new_exceptions): Remove. | |
3119 | * flow.c (entry_exit_blocks): Remove eh_beg, eh_end. | |
3120 | (record_active_eh_regions): Remove. | |
3121 | (count_basic_blocks): Check all instructions for REG_EH_REGION. | |
3122 | Use can_throw_internal. | |
3123 | (find_basic_blocks_1): Likewise. | |
3124 | (move_stray_eh_region_notes): Remove. | |
3125 | (find_label_refs): No eh_return_stub_label. | |
3126 | (make_edges): Likewise. No init/free_eh_nesting_info. Handle RESX. | |
3127 | (make_eh_edge): No eh_nest_info. Update for reachable_handlers | |
3128 | changes. | |
3129 | (delete_unreachable_blocks): Don't track deleted handlers. | |
3130 | (flow_delete_block): Use maybe_remove_eh_handler. | |
3131 | (delete_eh_regions): Remove. | |
3132 | (merge_blocks): Don't check for eh region match. | |
d02af173 | 3133 | (mark_regs_live_at_end): Handle EH_RETURN_DATA_REGNO, |
52a11cbf RH |
3134 | EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX. |
3135 | (init_propagate_block_info): Disable dead frame store optimization | |
3136 | when current_function_calls_eh_return. | |
3137 | (dump_bb): Don't print eh_beg, eh_end. | |
3138 | * function.c (fixup_var_refs): No catch_clauses. | |
3139 | (expand_function_end): Likewise. Call expand_eh_return before | |
3140 | the return register use. Call sjlj_emit_function_exit_after. | |
3141 | (expand_function_start): Force pseudo DECL_RESULT if sjlj exceptions. | |
3142 | * function.h (struct function): Add calls_eh_return, uses_eh_lsda. | |
3143 | * ifcvt.c (dead_or_predicable): Remove eh region check. | |
3144 | * integrate.c (function_cannot_inline_p): Disallow __builtin_eh_return. | |
3145 | Don't check for EH vs parameters. | |
3146 | (expand_inline_function_eh_labelmap, eif_eh_map): Remove. | |
3147 | (expand_inline_function): Call duplicate_eh_regions. | |
3148 | (copy_insn_list): Don't handle NOTE_INSN_EH_REGION_BEG/END. | |
3149 | (copy_insn_notes): Remap REG_EH_REGION notes. | |
3150 | (copy_rtx_and_substitute): Remove SYMBOL_REF_NEED_ADJUST check. | |
3151 | * integrate.h (struct inline_remap): Add local_return_label. | |
3152 | * jump.c (jump_optimize_1): Don't init/free_insn_eh_region, nor | |
3153 | check_exception_handler_labels, nor exception_optimize. | |
3154 | (find_cross_jump): No EH region check. | |
3155 | * optabs.c (init_optabs): Update for changed eh libfuncs. | |
3156 | * rtl.def (RESX): New. | |
3157 | * rtl.h (SYMBOL_REF_NEED_ADJUST): Remove. | |
3158 | * stmt.c (expand_decl_cleanup): Simplify using_eh_for_cleanups_p | |
3159 | checks. Update for except.h name changes. | |
3160 | (expand_cleanups): Likewise. | |
3161 | (expand_dcc_cleanup, expand_dhc_cleanup): Remove. | |
3162 | * toplev.c (dump_file_index, dump_file): Add .02.eh dump. | |
3163 | (compile_file): Call init_eh before init_optabs. Don't | |
3164 | output_exception_table here. | |
3165 | (rest_of_compilation): Call convert_from_eh_region_ranges, | |
3166 | convert_to_eh_region_ranges, output_function_exception_table. | |
3167 | Don't emit_eh_context. | |
3168 | * tree.def (POPDHC_EXPR, POPDCC_EXPR): Remove. | |
3169 | (EXC_PTR_EXPR): New. | |
3170 | ||
3171 | * md.texi (eh_epilogue): Remove. | |
3172 | (eh_return): Document. | |
3173 | * tm.texi (EH_RETURN_DATA_REGNO): Document. | |
3174 | (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): Document. | |
3175 | ||
3176 | * eh-common.h: Remove file. | |
3177 | * frame-dwarf2.c, frame.c, frame.h: Remove files. | |
3178 | * libgcc2.c (L_eh): Remove. | |
3179 | ||
3180 | * unwind-dw2-fde.c: New file, largely copied from frame.c. | |
3181 | * unwind-dw2-fde.h: New file. | |
3182 | * unwind-dw2.c: New file, largely cribbed from frame-dwarf2.c. | |
3183 | * unwind-sjlj.c, unwind.h, unwind.inc: New files. | |
3184 | * libgcc-std.ver: Update for eh symbols. | |
3185 | ||
c1e9f663 RH |
3186 | 2001-03-27 Richard Henderson <rth@redhat.com> |
3187 | ||
a614d82e RH |
3188 | * regmove.c (perhaps_ends_bb_p): Use can_throw_internal to |
3189 | reduce false positives. | |
3190 | (regmove_optimize): Disable if flag_non_call_exceptions. | |
3191 | ||
7cc8342c RH |
3192 | * stmt.c (expand_return): Remove always true predicate. |
3193 | (expand_decl_cleanup_no_eh): Remove dead code. | |
3194 | ||
ca3c1028 RH |
3195 | * sched-deps.c (sched_analyze_insn): Consolidate scheduling |
3196 | barrier code. Add a scheduling barrier if a non-call insn | |
3197 | can throw internally. | |
3198 | ||
4f73495e RH |
3199 | * rtlanal.c (rtx_addr_can_trap_p): Virtual registers cannot trap. |
3200 | Auto-inc addresses trap only if their base register does. | |
3201 | ||
54590688 RH |
3202 | * except.c (can_throw_internal): Rename from can_throw. |
3203 | * except.h, resource.c: Update references. | |
3204 | ||
8cd44271 RH |
3205 | * integrate.c (copy_insn_list): Use returnjump_p. |
3206 | (copy_insn_notes): Recurse for CALL_PLACEHOLDER. | |
3207 | ||
89996b6e RH |
3208 | * function.h (struct function): Move all boolean valued fields |
3209 | to single bit fields at the end of the struct. | |
3210 | ||
c1e9f663 RH |
3211 | * bb-reorder.c, dwarf2out.c, except.c, except.h, flow.c, |
3212 | jump.c, toplev.c: | |
3213 | Rename asynchronous_exceptions to flag_non_call_exceptions. | |
3214 | ||
d02af173 | 3215 | * gthr-single.h (UNUSED): New. Distinguish between how C |
e64a6541 RH |
3216 | and C++ mark unused function arguments. Use throughout. |
3217 | ||
531073e7 RH |
3218 | * Makefile.in (cs-tconfig.h): Copy USING_SJLJ_EXCEPTIONS |
3219 | value to target configuration header. | |
3220 | * configure.in (CONFIG_SJLJ_EXCEPTIONS): New. | |
3221 | * config.in, configure: Rebuild. | |
3222 | * except.h (USING_SJLJ_EXCEPTIONS): New. Define based on | |
3223 | configuration and target defines. | |
3224 | (exceptions_via_longjmp): Remove. | |
3225 | * dwarf2out.c, except.c, final.c, toplev.c, config/ia64/ia64.c: | |
3226 | Use USING_SJLJ_EXCEPTIONS instead of exceptions_via_longjmp. | |
3227 | ||
894d0e39 RH |
3228 | * except.h (flag_non_call_exceptions): Move ... |
3229 | * flags.h: ... here. | |
3230 | ||
662795a8 RH |
3231 | * combine.c (distribute_notes) [REG_EH_REGION]: If non-call |
3232 | exceptions, put the note on the trapping instruction. | |
3233 | ||
461fc4de RH |
3234 | * flags.h (flag_new_exceptions): Remove. |
3235 | * toplev.c: Don't set it. | |
3236 | * final.c: Don't check it. | |
3237 | * except.c: Provide stub definition. | |
3238 | ||
ad73b558 RH |
3239 | * flow.c (tidy_fallthru_edges): Don't combine complex edges. |
3240 | (calculate_global_regs_live): Kill call-clobbered registers | |
3241 | across exception edges. | |
3242 | * reg-stack.c (convert_regs_1): Kill the entire target stack | |
3243 | across non-call exception edges. | |
3244 | ||
2f2ee4bb RH |
3245 | * flow.c (cleanup_cfg): Take no argument. |
3246 | * output.h, sibcall.c, toplev.c: Update all calls. | |
3247 | ||
8e944909 KG |
3248 | 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3249 | ||
3250 | * configure.in: Don't check for bcopy. | |
3251 | * configure, config.in: Regenerate. | |
3252 | ||
3253 | * system.h: Don't define or prototype bcopy, instead poison it. | |
3254 | ||
3d74dad8 RH |
3255 | 2001-03-27 Richard Henderson <rth@redhat.com> |
3256 | ||
3257 | * function.c (expand_function_start): Set DECL_REGISTER on | |
3258 | a pseudo used for DECL_RESULT. | |
3259 | ||
695ee791 RH |
3260 | * rtl.h (LCT_NORETURN): New. |
3261 | * calls.c (emit_library_call_value_1): Handle it. | |
3262 | ||
e804281e SS |
3263 | 2001-03-27 Stan Shebs <shebs@apple.com> |
3264 | ||
3265 | * objc/objc-act.c (objc_init): Use dump_base_name. | |
3266 | (gen_declaration): Clear the buffer arg. | |
3267 | (gen_declaration_1): New function, body of gen_declaration. | |
3268 | (adorn_decl): Call gen_declaration_1 instead of gen_declaration. | |
3269 | (gen_method_decl): Ditto, plus always clear buffer arg. | |
3270 | (error_with_ivar): Simplify. | |
3271 | (warn_with_method): Ditto. | |
3272 | (build_message_expr): Don't clear buffers. | |
3273 | (dump_interface): Ditto. | |
3274 | (objc_debug): Ditto. | |
3275 | (build_keyword_selector): Clear the buffer by only zeroing | |
3276 | the first element. | |
3277 | (objc_implementation_context): Declare. | |
3278 | (start_class): Warn about missing @end. | |
3279 | (finish_objc): Ditto. | |
3280 | ||
055c7759 JDA |
3281 | 2001-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3282 | ||
3283 | * reload1.c (eliminate_regs): Don't abort on MEM USEs. | |
3284 | ||
911e6107 KG |
3285 | 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3286 | ||
3287 | * Makefile.in (SYSTEM_H): Define. | |
3288 | Depend on $(SYSTEM_H), not system.h. | |
3289 | ||
3290 | * objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h. | |
3291 | ||
685af3af JW |
3292 | 2001-03-27 Jim Wilson <wilson@redhat.com> |
3293 | ||
ad0fc698 JW |
3294 | * final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call |
3295 | IA64_UNWIND_EMIT. | |
3296 | * config/ia64/ia64.c (block_num, need_copy_state): New static vars. | |
3297 | (process_epilogue): New static function. | |
3298 | (process_set): Call process_epilogue instead of emitting .restore | |
3299 | directly. | |
3300 | (process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK. | |
3301 | ||
685af3af JW |
3302 | * flow.c (struct reg_cond_life_info): New fields orig_condition |
3303 | and stores. | |
3304 | (init_propagate_block_info): Set new fields. | |
3305 | (mark_regno_cond_dead): Set and use new fields. | |
3306 | (flush_reg_cond_reg_1): Likewise. | |
3307 | (and_reg_cond, case AND): Check for redundant AND conditions. | |
3308 | (mark_used_reg): Delete unnecessary clears before freeing splay trees. | |
3309 | Set new fields. | |
3310 | ||
b044e9d5 NB |
3311 | 2001-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
3312 | ||
3313 | * cppmacro.c (stringify_arg): Null terminate strings. | |
3314 | ||
0b29309a ZW |
3315 | 2001-03-27 Zack Weinberg <zackw@stanford.edu> |
3316 | ||
3317 | * config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h | |
3318 | inclusion style. xm-m68hc11.h no longer exists. | |
3319 | * config/m68hc11/xm-m68hc11.h: Delete file. | |
3320 | * config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style. | |
3321 | ||
3322 | * config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style. | |
3323 | Don't define GCC_VERSION, N_, or PARAMS; don't include | |
3324 | gansidecl.h or stdio.h. Define inhibit_libc here. | |
3325 | Make code conditioned on #if GCC_VERSION > 2095 unconditional. | |
3326 | Delete code conditioned on #if GCC_VERSION == 2095. | |
3327 | ||
3328 | * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c: | |
3329 | Make code conditioned on #if GCC_VERSION > 2095 unconditional. | |
3330 | Delete code conditioned on #if GCC_VERSION == 2095. | |
3331 | ||
4bc5fbd4 KG |
3332 | 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3333 | ||
3334 | * system.h: Include symcat.h. | |
3335 | (STRINGIFY): Don't define. | |
3336 | ||
3337 | * configure.in: Adjust comment. | |
3338 | ||
3339 | * builtins.c: Use STRINGX, not STRINGIFY. | |
3340 | * gencheck.c: Likewise. | |
3341 | * gengenrtl.c: Likewise. | |
3342 | * protoize.c: Likewise. | |
3343 | ||
3344 | * cpplex.c: Don't include symcat.h. | |
3345 | * cpplib.c: Likewise. | |
3346 | ||
3347 | * gansidecl.h (HAVE_STRINGIZE): Don't define. | |
3348 | ||
b13aca19 AM |
3349 | 2001-03-27 Alan Modra <alan@linuxcare.com.au> |
3350 | ||
3351 | * c-typeck.c (digest_init): Fold init expression. | |
3352 | ||
7c5b92c4 KG |
3353 | 2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3354 | ||
3355 | * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy. | |
3356 | ||
5b5c2734 AM |
3357 | 2001-03-27 Alan Modra <alan@linuxcare.com.au> |
3358 | ||
3359 | * except.c (eh_regs): Save results of build_pointer_type to a temp | |
3360 | as FUNCTION_VALUE macro may evaluate its args multiple times. | |
3361 | ||
b850de4f MM |
3362 | 2001-03-26 Mark Mitchell <mark@codesourcery.com> |
3363 | ||
3364 | * c-common.h (DECL_NUM_STMTS): New macro. | |
3365 | * c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not | |
3366 | DECL_FRAME_SIZE. | |
3367 | (pushdecl): Likewise. | |
3368 | * c-semantics.c (add_stmt): Update DECL_NUM_STMTS. | |
3369 | * integrate.c (expand_inline_function): Don't check | |
3370 | DECL_FRAME_SIZE. | |
3371 | * print-tree.c (print_node): Don't print it. | |
3372 | * toplev.c (rest_of_compilation): Don't try to inline when | |
3373 | flag_no_inline is on. | |
3374 | * tree.h (DECL_FRAME_SIZE): Remove. | |
3375 | (tree_decl): Adjust accordingly. | |
0b29309a | 3376 | |
d38a30c9 KG |
3377 | 2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3378 | ||
3379 | * combine.c (try_combine): Use memcpy, not bcopy. | |
3380 | ||
3381 | * genattrtab.c (expand_units): Likewise. | |
3382 | ||
cc2e591b JH |
3383 | Mon Mar 26 15:55:08 CEST 2001 Jan Hubicka <jh@suse.cz> |
3384 | ||
3385 | * i386.md (push mem DI peep2): New. | |
3386 | (mov 0, mov -1 peep2): Handle 64bit. | |
3387 | (lea to arithmetics peep2): Handle 64bit leas. | |
3388 | (rsp arithmetics to push/pop peep2s): New. | |
3389 | ||
3390 | * i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand. | |
3391 | ||
8362f420 JH |
3392 | Mon Mar 26 14:35:18 CEST 2001 Jan Hubicka <jh@suse.cz> |
3393 | ||
3394 | * i386.c (struct machine_function): Add save_varrargs_registers. | |
3395 | (ix86_save_varrargs_registers): New macro. | |
3396 | (ix86_frame_layout): Support 64bit; support red zones and varrargs area. | |
3397 | (ix86_expand_prologue): Likewise. | |
3398 | (ix86_emit_epilogue_esp_adjustement): Likewise. | |
3399 | (ix86_expand_epilogue): Likewise. | |
3400 | * i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit. | |
3401 | (pro_epilogue_adjust_stack_1): New insn. | |
3402 | (pro_epilogue_adjust_stack_rex64): Likewise. | |
3403 | * i386.h (MASK_NO_RED_ZONE): New constant. | |
3404 | (TARGET_RED_ZONE): New macro. | |
3405 | (TARGET_OPTIONS): Add "red-zone" and "no-red-zone" | |
3406 | (RED_ZONE_SIZE): New constant. | |
3407 | (RED_ZONE_RESERVE): New constant. | |
3408 | ||
56b89084 KG |
3409 | 2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3410 | ||
3411 | * toplev.c (set_float_handler): Use memcpy, not bcopy. | |
3412 | ||
273c3244 KH |
3413 | 2001-03-25 Kazu Hirata <kazu@hxi.com> |
3414 | ||
3415 | * config/h8300/h8300.md (umodqi3): Output a tab instead of a | |
3416 | space. | |
3417 | (modqi3): Likewise. | |
3418 | (umodhi3): Likewise. | |
3419 | (modhi3): Likewise. | |
3420 | ||
d2a2648c KG |
3421 | 2001-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3422 | ||
3423 | * mkconfig.sh (DEFINES): Handle entries with '='. | |
3424 | ||
3425 | * config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h. | |
3426 | Set xm_defines to MACRO=value instead. | |
3427 | ||
3428 | * i370/xm-mvs.h: Delete. | |
0b29309a | 3429 | |
d2a2648c KG |
3430 | * ns32k/xm-pc532-min.h: Likewise. |
3431 | ||
371bc54b JH |
3432 | Sun Mar 25 15:01:40 CEST 2001 Jan Hubicka <jh@suse.cz> |
3433 | ||
3434 | * i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to | |
3435 | shiftdi_operand; | |
3436 | use ix86_expand_binary_operator | |
3437 | (?sh??i_?): Disable for 64bit. | |
3438 | * i386.h (PREDICATE_CODES): Add shiftdi_operand. | |
3439 | * i386.c (shiftdi_operand): New predicate. | |
3440 | ||
3441 | * (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext, | |
3442 | ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64, | |
3443 | ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext, | |
3444 | ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext, | |
3445 | ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64, | |
3446 | lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext, | |
3447 | lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext, | |
3448 | rotlsi3_1_one_bit_rex64, rotldi3_1_rex64, | |
3449 | rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64, | |
3450 | rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns. | |
3451 | (rotldi3, rotrdi3): New expanders. | |
3452 | ||
0945b39d JH |
3453 | Sun Mar 25 14:25:33 CEST 2001 Jan Hubicka <jh@suse.cz> |
3454 | ||
3455 | * i386.md (movstrsi): Move offline. | |
3456 | (movstrdi): New. | |
3457 | (strmovdi_rex64): New. | |
3458 | (strmov?i): Accept 64bit. | |
3459 | (strmov?i_rex64): New. | |
3460 | (strmov?i_rex_1): New. | |
3461 | (strmov?i_1): Disable for 64bit. | |
3462 | (rep_mov?i_rex64): New. | |
3463 | (rep_mov?i): Disable for 64bit. | |
3464 | (clrstrsi): Move offline. | |
3465 | (strset?i_rex64): New. | |
3466 | (strset?i: Accept 64bit. | |
3467 | (rep_stos?i): Disable for 64bit. | |
3468 | (rep_stos?i_rex64): New. | |
3469 | (strset?i_rex_1): New. | |
3470 | (strset?i_1): Disable for 64bit. | |
3471 | (cmpstrsi): Accept 64bit. | |
3472 | (cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit. | |
3473 | (cmpstrqi_nz_rex_1): New. | |
3474 | (cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit. | |
3475 | (strlensi): Move offline. | |
3476 | (strlendi): New. | |
3477 | (strlenqi_1): Disable for 64bit; fix constraints. | |
3478 | (strlenqi_rex_1): New. | |
3479 | * i386.c (ix86_adjust_counter): New static function. | |
3480 | (ix86_zero_extend_to_Pmode): Likewise. | |
3481 | (ix86_expand_aligntest): Likweise. | |
3482 | (ix86_expand_strlensi_unroll_1): Make static; update for 64bit. | |
3483 | (ix86_expand_movstr): New global function. | |
3484 | (ix86_expand_clrstr): New global function. | |
3485 | (ix86_expand_strlen): New global function. | |
3486 | * i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr, | |
3487 | ix86_expand_strlen): Declare. | |
3488 | (ix86_expand_strlensi_unroll_1): Delete. | |
3489 | ||
9b70259d JH |
3490 | Sat Mar 24 23:15:19 CET 2001 Jan Hubicka <jh@suse.cz> |
3491 | ||
3492 | * i386.md (cmpdi): Fix operand predicates. | |
3493 | (cmpdi_ccno_1_rex64, cmpdi_minus_1_rex64, cmpdi_1_rex64, | |
3494 | cmpdi_1_insn_rex64): New patterns. | |
3495 | (adddi3): Turn to expander. | |
3496 | (adddi3_1, adddi3_carry_rex64, adddi3_cc_rex64): New patterns. | |
3497 | (addsi3_carry_zext): New pattern. | |
3498 | (adddi_?_rex64): New patterns and splitters. | |
3499 | (addsi_?_zext): New patterns. | |
3500 | (subsi3_carry_zext): New pattern. | |
3501 | (subdi_?_rex64): New patterns and splitters. | |
3502 | (iorsi_?_zext): New patterns. | |
3503 | (iordi_?_rex64): New patterns and splitters. | |
3504 | (iorsi_?_zext): New patterns. | |
3505 | (iorsi_?_zext_imm): New patterns. | |
3506 | (xorsi_?_zext): New patterns. | |
3507 | (xordi_?_rex64): New patterns and splitters. | |
3508 | (xorsi_?_zext): New patterns. | |
3509 | (negdi*): New patterns. | |
3510 | (one_cmpldi*): Likewise. | |
3511 | (one_cmplsi*_zext, negsi*_zext): Likewise. | |
3512 | (testqi_ext_3_rex64): New pattern. | |
3513 | ||
26e5b205 JH |
3514 | Sat Mar 24 21:13:28 CET 2001 Jan Hubicka <jh@suse.cz> |
3515 | ||
3516 | * i386-protos.h (ix86_split_long_move): Return void. | |
3517 | * i386.c (ix86_split_to_parts): Handle 64bit target. | |
3518 | (ix86_split_long_move): Likewise. | |
3519 | * i386.md (all calls to ix86_split_long_move): Update. | |
3520 | ||
75e0407e RH |
3521 | 2001-03-23 Richard Henderson <rth@redhat.com> |
3522 | ||
3523 | * config/mips/iris4.h (ASM_OUTPUT_ASCII): Rename local variables | |
3524 | to avoid shadowing arguments. | |
3525 | ||
60080880 JJ |
3526 | 2001-03-23 Jakub Jelinek <jakub@redhat.com> |
3527 | ||
3528 | * varasm.c (make_decl_rtl): Don't append var_labelno discriminator | |
3529 | to variable names where DECL_NAME is different from | |
3530 | DECL_ASSEMBLER_NAME. | |
3531 | ||
9ea07fd0 JW |
3532 | 2001-03-23 Jim Wilson <wilson@redhat.com> |
3533 | ||
3534 | * varasm.c (make_decl_rtl): Add TREE_PUBLIC check to abort test. | |
3535 | (assemble_alias): Call make_decl_rtl. | |
0b29309a | 3536 | |
25caaba8 R |
3537 | Fri Mar 23 16:59:08 2001 J"orn Rennecke <amylaar@redhat.com> |
3538 | ||
3539 | * stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type. | |
3540 | ||
60c87482 BM |
3541 | 2001-03-23 Bryce McKinlay <bryce@albatross.co.nz> |
3542 | ||
3543 | * extend.texi: Document the "java_interface" attribute. | |
3544 | ||
1b0ae0f9 ZW |
3545 | 2001-03-22 Zack Weinberg <zackw@stanford.edu> |
3546 | ||
3547 | * mkconfig.sh: Use a subshell with redirected stdout, | |
3548 | instead of closing stdout and confusing commands that run | |
3549 | afterward. Throw away output of cmp. | |
3550 | ||
b937498e GS |
3551 | 2001-03-22 Gordon Sadler <gbsadler1@lcisp.com> |
3552 | ||
3553 | * Makefile.in (stage1_build): Pass CFLAGS to stage1_build. | |
3554 | ||
123bf9e3 JH |
3555 | Thu Mar 22 22:15:59 CET 2001 Jan Hubicka <jh@suse.cz> |
3556 | ||
3557 | * i386.md (zero_extendsidi2_32): Break out from ... | |
3558 | (zero_extendsidi2): ... here ; turn to expander. | |
3559 | (zero_extendsidi2_rex64): New. | |
3560 | (extendsidi2_32): Break out from ... | |
3561 | (extendsidi2): ... here ; turn to expander. | |
3562 | (extendsidi2_rex64): New. | |
3563 | (zero_extendhidi2, zero_extendqidi2, extendhidi2, extendqidi2): New. | |
3564 | (trunc?f?f splitters): Add 64bit versions. | |
3565 | ||
0ec259ed JH |
3566 | Thu Mar 22 21:41:16 CET 2001 Jan Hubicka <jh@suse.cz> |
3567 | ||
3568 | * i386.md (pushsi, pushsi2_prologue): Disable. | |
3569 | (pushsi2_rex64): New. | |
3570 | (movabs?i_1_rex64, movabs?i_2_rex64): New. | |
3571 | (movqi_ext_1): Disable for 64bit. | |
3572 | (movqi_ext_1_rex64): New. | |
3573 | (pushdi2_rex64): New pattern, peep2s and splitter. | |
3574 | (pushdi2_prologue_rex64): New pattern. | |
3575 | (popdi1_epilogue_rex64, popdi1, movdi_xor_rex64, movdi_or_rex64): | |
3576 | Likewise. | |
3577 | (movdi splitters): Disable for 64bit. | |
3578 | (movdi_1_rex64): New pattern, peep2s and splitters. | |
3579 | (swapdi): New pattern. | |
3580 | (pushsf): Disable for 64bit. | |
3581 | (pushsf_rex64): New pattern and splitter. | |
3582 | (pushdf_nointeger): Disable for 64bit. | |
3583 | (pushdf_integer): Handle the 64bit case. | |
3584 | (pushtf): Likewise; update splitters. | |
3585 | ||
5e7f4a4a RH |
3586 | 2001-03-22 Richard Henderson <rth@redhat.com> |
3587 | ||
3588 | * mkconfig.sh: Include insn-flags.h. | |
3589 | * Makefile.in (CONFIG_H): Include insn-flags.h. | |
3590 | (lots of objects): Remove insn-codes.h and insn-flags.h. | |
3591 | ||
3592 | * alias.c, bb-reorder.c, calls.c, do-loop.c, flow.c, haifa-sched.c, | |
3593 | integrate.c, jump.c, loop.c, predict.c, profile.c, reg-stack.c, | |
3594 | regmove.c, reorg.c, a29k/a29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c, | |
3595 | avr/avr.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c, | |
3596 | dsp16xx/dsp16xx.c, fr30/fr30.c, h8300/h8300.c, i370/i370.c, | |
3597 | i386/i386.c, i860/i860.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c, | |
3598 | m68k/m68k.c, m88k/m88k.c, mcore/mcore.c, mn10200/mn10200.c, | |
3599 | mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c, | |
3600 | pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c, | |
3601 | v850/v850.c, vax/vax.c: | |
3602 | Don't include insn-flags.h. | |
3603 | ||
3604 | * diagnostic.c, expr.h, reload.c, toplev.c: | |
3605 | Don't include insn-codes.h. | |
3606 | ||
3607 | * builtins.c, combine.c, except.c, explow.c, expmed.c, expr.c, | |
3608 | final.c, function.c, optabs.c, recog.c, reload1.c, stmt.c, | |
3609 | c4x/c4x.c, i960/i960.c, mips/mips.c: | |
3610 | Don't include insn-codes.h or insn-flags.h. | |
3611 | ||
3612 | * genemit.c, genopinit.c, genoutput.c: Don't include insn-codes.h | |
3613 | or insn-flags.h in the generated code. | |
3614 | * genflags.c (gen_proto): Use "struct rtx_def *" instead of "rtx". | |
3615 | (main): Forward declare struct rtx_def. | |
3616 | ||
52a11d15 JM |
3617 | 2001-03-22 Joseph S. Myers <jsm28@cam.ac.uk> |
3618 | ||
8b87acb8 JM |
3619 | * invoke.texi (-ffast-math): Remove duplicate line about |
3620 | __FAST_MATH__. | |
3621 | ||
52a11d15 JM |
3622 | * gcc.texi: Remove more obsolete documentation of bugs and |
3623 | installation problems. | |
3624 | ||
b5f1747c KH |
3625 | 2001-03-21 Kazu Hirata <kazu@hxi.com> |
3626 | ||
3627 | * config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative | |
3628 | into two parts. | |
3629 | ||
64d9c3fe JM |
3630 | 2001-03-20 Jason Merrill <jason@redhat.com> |
3631 | ||
3632 | * collect2.c (is_ctor_dtor): Always use '_' in the file fn names, | |
3633 | not '.' or '$'. | |
3634 | * tree.c (FILE_FUNCTION_FORMAT): Likewise. | |
3635 | * varasm.c (CHKR_PREFIX): Likewise. | |
3636 | ||
4eadbbd5 RK |
3637 | Wed Mar 21 14:27:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3638 | ||
52d76e11 RK |
3639 | * gcse.c (hash_scan_set): An expression is not anticipatible if it |
3640 | is part of a multi-SET insn. | |
3641 | ||
bca05d20 RK |
3642 | * cse.c (find_comparison_args): Remove previous change. |
3643 | * ifcvt.c (noce_process_if_block): When moving an insn, remove any | |
3644 | REG_EQUAL notes. | |
3645 | ||
37c7da7b RK |
3646 | * config/i386/i386.md (conditional_trap): Remove warning. |
3647 | ||
a8d19608 RK |
3648 | * recog.c (push_operand): Fix error in last change that caused |
3649 | undefined symbol on many targets. | |
3650 | ||
4eadbbd5 | 3651 | * sdbout.c: #include ggc.h. |
60e589ef | 3652 | (sdbout_init): Move to end of file. |
4eadbbd5 RK |
3653 | Call ggc_add_tree_root for anonymous_types. |
3654 | (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME. | |
3655 | (sdbout_one_type): Use DECL_NAME for field name. | |
3656 | * Makefile.in (sdbout.o): Show includes ggc.h. | |
3657 | ||
0d7d98ee JH |
3658 | Wed Mar 21 20:33:26 CET 2001 Jan Hubicka <jh@suse.cz> |
3659 | ||
3660 | * i386.c (override_options): Default ix86_regparm to REGPARM_MAX. | |
3661 | (override_options): Use properlimits for preferred_stack_boundary. | |
3662 | (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes | |
3663 | on x86_64. | |
3664 | (ext_register_operand): Accept DImode. | |
3665 | (load_pic_register): Abort on 64bit. | |
3666 | (gen_push): Use Pmode instead of SImode. | |
3667 | (ix86_save_reg): Pic reg is never used on 64bit. | |
3668 | (ix86_expand_prologue): Likewise. | |
3669 | (ix86_emit_save_regs): Use Pmode instead of SImode. | |
3670 | (legitimate_address_p): Check displacement for 64bit. | |
3671 | (print_operand): Avoid outputting of (%rip) on 64bit. | |
3672 | (print_operand_address): Output (%rip) where possible. | |
3673 | (split_di): Abort on 64bit registers. | |
3674 | (ix86_expand_branch): DImode comparison is simple for x86_64. | |
4eadbbd5 RK |
3675 | (memory_address_length): Recognize memory addresses formed using |
3676 | PRE/POST modify. | |
0b29309a | 3677 | (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes |
4eadbbd5 | 3678 | for x86_64. |
0d7d98ee JH |
3679 | * i386.h (TARGET_USE_SAHF): Disable for 64bit. |
3680 | ||
70a32495 JH |
3681 | Wed Mar 21 18:51:19 CET 2001 Jan Hubicka <jh@suse.cz> |
3682 | ||
3683 | * recog.c (push_operand): Recognize new format of push instructions. | |
3684 | ||
7dd4b4a3 JH |
3685 | Wed Mar 21 10:53:57 CET 2001 Jan Hubicka <jh@suse.cz> |
3686 | ||
3687 | * i386.md (pushqi1): New. | |
3688 | * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand, | |
3689 | x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand, | |
3690 | x86_64_immediate_operand, x86_64_immediate_operand, | |
3691 | x86_64_zext_immediate_operand): Declare. | |
3692 | * i386.c (x86_64_general_operand, x86_64_szext_general_operand, | |
3693 | x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand, | |
3694 | x86_64_immediate_operand, x86_64_immediate_operand, | |
3695 | x86_64_zext_immediate_operand): define. | |
3696 | * i386.h (PREDICATE_CODES): Add new predicates. | |
3697 | ||
3698 | Wed Mar 21 10:25:13 CET 2001 Jan Hubicka <jh@suse.cz> | |
566aa174 JH |
3699 | |
3700 | * i386.md (pophi1, popqi1, pushqi1): Remove. | |
3701 | ||
3702 | * expr.c (emit_single_push_insn): New function. | |
3703 | (move_by_pieces): Accept NULL as destination for push instructions. | |
3704 | (gen_push_operand): Kill. | |
3705 | (emit_push_insn): Pass NULL when pushing; avoid updating of | |
3706 | stack_pointer_delta. | |
3707 | * expr.h (gen_push_operand): Kill. | |
3708 | ||
e26b8996 RK |
3709 | Tue Mar 20 20:15:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3710 | ||
3711 | * rtl.texi (COMPARE): Clarify documentation and reference section | |
3712 | on comparisons. | |
3713 | ||
e44949e9 SS |
3714 | 2001-03-20 Stan Shebs <shebs@apple.com> |
3715 | ||
3716 | * objc/objc-act.c (get_static_reference): Use NULL_TREE. | |
3717 | (get_object_reference): Ditto. | |
3718 | (error_with_ivar): Use error_with_file_and_line. | |
3719 | (warn_with_method): Use warning_with_file_and_line. | |
3720 | ||
2ba5f9b1 TT |
3721 | 2001-03-20 Tom Tromey <tromey@redhat.com> |
3722 | ||
3723 | * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi. | |
3724 | ||
116b39e0 MM |
3725 | 2001-03-20 Mark Mitchell <mark@codesourcery.com> |
3726 | ||
3727 | * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for | |
3728 | variables that are TREE_PUBLIC, even if not TREE_STATIC. | |
3729 | ||
17da603c | 3730 | 2001-03-20 DJ Delorie <dj@redhat.com> |
67680154 DD |
3731 | |
3732 | * Makefile.in (install-libgcc): Pass complete list of variables. | |
3733 | (install-multilib): Ditto. | |
3734 | ||
79f96374 DB |
3735 | 2001-03-20 David Billinghurst <David.Billinghurst@riotinto.com> |
3736 | ||
3737 | * config/i386/cygwin.h: Declare ctor_section, dtor_section | |
3738 | drectve_section, switch_to_section. | |
3739 | ||
3740 | * winnt.c: Declare functions associated_type, gen_stdcall_suffix, | |
3741 | i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport, | |
3742 | i386_pe_mark_dllimport. | |
3743 | ||
3744 | 2001-03-20 David Billinghurst <David.Billinghurst@riotinto.com> | |
0b29309a | 3745 | |
79f96374 DB |
3746 | * config/i386/cygwin.h: Include <stdio.h> Declare and constify |
3747 | functions i386_pe_*. | |
3748 | ||
3749 | * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify | |
3750 | i386_pe_* functions with char * arguments. | |
3751 | ||
a92facbb AO |
3752 | 2001-03-20 Alexandre Oliva <aoliva@redhat.com> |
3753 | ||
3754 | * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load | |
3755 | and store. | |
3756 | (movsi_ie): Introduce fpul store. | |
3757 | ||
78f8fa86 AM |
3758 | 2001-03-20 Alan Modra <alan@linuxcare.com.au> |
3759 | ||
3760 | * Makefile.in (OBJS): Remove hashtab.o. | |
3761 | ||
ced5bce7 SS |
3762 | 2001-03-19 Stan Shebs <shebs@apple.com> |
3763 | ||
3764 | * objc/objc-act.c (maybe_objc_method_name): Remove, never called. | |
3765 | * c-lang.c (maybe_objc_method_name): Ditto. | |
3766 | * c-tree.h (maybe_objc_method_name): Remove decl. | |
3767 | ||
d60726da TT |
3768 | 2001-03-19 Tom Tromey <tromey@redhat.com> |
3769 | ||
3770 | * gcc.c (init_gcc_specs): Fix comment. | |
3771 | ||
68e568c2 MM |
3772 | 2001-03-19 Mark Mitchell <mark@codesourcery.com> |
3773 | ||
92643fea MM |
3774 | Compute DECL_ASSEMBLER_NAME lazily. |
3775 | * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily. | |
3776 | (DECL_ASSEMBLER_NAME_SET_P): New macro. | |
3777 | (SET_DECL_ASSEMBLER_NAME): Likewise. | |
3778 | (COPY_DECL_ASSEMBLER_NAME): Likewise. | |
3779 | (set_decl_assembler_name): Declare. | |
3780 | (lang_set_decl_assembler_name): Likewise. | |
3781 | * tree.c (lang_set_decl_assembler_name): New variab.e | |
3782 | (set_decl_assembler_name): New function. | |
3783 | (init_obstacks): Set lang_set_decl_assembler_name. | |
3784 | (build_decl): Don't set DECL_ASSEMBLER_NAME. | |
3785 | * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME, | |
3786 | COPY_DECL_ASSEMBLER_NAME, etc. Don't set DECL_ASSEMBLER_NAME | |
3787 | where it's not necessary. | |
3788 | (builtin_function): Likewise. | |
3789 | (finish_decl): Likewise. | |
3790 | * dbxout.c (dbxout_type_methods): Likewise. | |
3791 | * ggc-common.c (ggc_mark_trees): Likewise. | |
3792 | * profile.c (output_func_start_profiler): Likewise. | |
3793 | * varasm.c (make_decl_rtl): Likewise. | |
3794 | ||
68e568c2 MM |
3795 | * cse.c (find_comparison_args): Update documentation. Fix |
3796 | mishandling of COMPARE operations. | |
3797 | ||
3798 | * tree.def (ABS_EXPR): Add documentation. | |
3799 | * fold-const.c (fold): Improve folding of ABS_EXPRs. | |
3800 | ||
d4b6faf6 ZW |
3801 | 2001-03-19 Zack Weinberg <zackw@stanford.edu> |
3802 | ||
3803 | * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H). | |
3804 | ||
373368fd JJ |
3805 | 2001-03-19 Jakub Jelinek <jakub@redhat.com> |
3806 | ||
3807 | * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined. | |
3808 | Remove ia32 linux PIC kludge and move it... | |
3809 | * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here. | |
3810 | ||
7343a5a9 JH |
3811 | Mon Mar 19 18:53:54 CET 2001 Jan Hubicka <jh@suse.cz> |
3812 | ||
3813 | * i386.md (absdf2 expander): Fix 64bit case. | |
3814 | ||
a8e5b5d9 BL |
3815 | 2001-03-19 Brad Lucier <lucier@math.purdue.edu> |
3816 | ||
3817 | * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H). | |
3818 | ||
e7aadbbb AH |
3819 | 2001-03-16 Andrew Haley <aph@cambridge.redhat.com> |
3820 | ||
0b29309a | 3821 | * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace. |
e7aadbbb | 3822 | |
5df3dc23 GP |
3823 | 2001-03-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3824 | ||
3825 | * README.X11: Remove obsolete file. | |
3826 | ||
ff9b0a49 AG |
3827 | 2001-03-18 Anthony Green <green@redhat.com> |
3828 | ||
3829 | * config/pj/pj.h: Remove some trailing commas. | |
3830 | (ASM_SPEC): Use -EB and -EL, not -mb and -ml. | |
3831 | ||
bf501a65 RH |
3832 | 2001-03-18 Richard Henderson <rth@redhat.com> |
3833 | ||
3834 | * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ... | |
3835 | * calls.c: ... here. | |
3836 | * combine.c, expr.c, final.c, function.c toplev.c: Don't provide | |
3837 | defaults for them here. | |
3838 | ||
488744fa AG |
3839 | 2001-03-17 Anthony Green <green@redhat.com> |
3840 | ||
3841 | * config/pj/lib1funcs.S: Fix broken comment. | |
3842 | * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal | |
3843 | labels with '.'. | |
3844 | ||
1f618c58 JM |
3845 | 2001-03-18 Joseph S. Myers <jsm28@cam.ac.uk> |
3846 | ||
3847 | * gcc.texi: Remove obsolete information relating to build and | |
3848 | installation problems with enquire or the Pyramid C compiler. | |
3849 | ||
fbfa55b0 RH |
3850 | 2001-03-17 Richard Henderson <rth@redhat.com> |
3851 | ||
3852 | * dwarf2out.c (queue_reg_save): New. | |
3853 | (flush_queued_reg_saves, clobbers_queued_reg_save): New. | |
3854 | (dwarf2out_frame_debug_expr): Call queue_reg_save instead of | |
3855 | dwarf2out_reg_save. | |
3856 | (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed. | |
3857 | (cfa, cfa_store, cfa_temp): Make static. | |
3858 | * final.c (final_scan_insn): Always call dwarf2out_frame_debug. | |
3859 | ||
464186fb RH |
3860 | 2001-03-17 Richard Henderson <rth@redhat.com> |
3861 | ||
3862 | * integrate.h (struct inline_remap): Add local_return_label. | |
3863 | * integrate.c (expand_inline_function): Initialize it and emit | |
3864 | it after copy_insn_notes. | |
3865 | (copy_insn_list): Don't store local_return_label here. | |
3866 | (copy_insn_notes): New function split out from copy_insn_list. | |
3867 | ||
acc187f5 RH |
3868 | 2001-03-17 Richard Henderson <rth@redhat.com> |
3869 | ||
3870 | * dwarf2out.c (lookup_filename): Emit .file if the assembler | |
3871 | is generating .debug_line. | |
3872 | (dwarf2out_init): Add main_input_filename to the file table first. | |
3873 | * configure.in (as_dwarf2_debug_line): Test with file number 1 | |
3874 | instead of file number 0. | |
3875 | ||
6732576c RK |
3876 | Sat Mar 17 11:52:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3877 | ||
f1c6ba8b RK |
3878 | * combine.c (undobuf): Remove field previous_undos; all refs deleted. |
3879 | (gen_rtx_combine): Deleted; all references changed as appropriate. | |
3880 | (gen_unary): Deleted; all refs changed to call simplify_gen_unary. | |
3881 | ||
6732576c RK |
3882 | * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P. |
3883 | ||
3b92de06 DB |
3884 | 2001-03-17 David Billinghurst <David.Billinghurst@riotinto.com> |
3885 | ||
3886 | * config/i386/xm-cygwin.h: Include <sys/cygwin.h. Remove unused | |
3887 | variable. | |
3888 | ||
0c35f902 JW |
3889 | 2001-03-16 Jim Wilson <wilson@redhat.com> |
3890 | ||
3891 | * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero, | |
3892 | then set it to LOC_REG (79) instead of aborting. | |
3893 | ||
cf440c3c PE |
3894 | 2001-03-16 Phil Edwards <pme@sources.redhat.com> |
3895 | ||
3896 | * gccbug.in: Remove high priority. | |
3897 | ||
e48cd290 RH |
3898 | 2001-03-16 Richard Henerson <rth@redhat.com> |
3899 | ||
3900 | * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od | |
3901 | output with a space instead of deleting it. | |
3902 | * configure: Regenerate. | |
3903 | ||
2d6eb5bf ZW |
3904 | 2001-03-16 Zack Weinberg <zackw@stanford.edu> |
3905 | ||
3906 | * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which | |
3907 | handles the gory details of converting an object file into | |
3908 | something that's safe to grep. | |
3909 | (gcc_AC_C_COMPILE_BIGENDIAN): Rename to | |
3910 | gcc_AC_C_COMPILE_ENDIAN. Use gcc_AC_EXAMINE_OBJECT. Put | |
3911 | newlines at either end of the string we're looking for. | |
3912 | Make 'checking ...' message less stilted. | |
3913 | (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT. Handle | |
3914 | ARM in-memory layout and its hypothetical converse. Don't | |
3915 | define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from | |
3916 | HOST_WORDS_BIG_ENDIAN. | |
3917 | ||
3918 | * configure.in: Adjust for renamed macro. Move | |
3919 | gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN. | |
3920 | * configure, config.in: Regenerate. | |
3921 | ||
d577781c LB |
3922 | 2001-03-16 Laurynas Biveinis <lauras@softhome.net> |
3923 | ||
3924 | * fixinc/Makefile.in: Set SHELL. | |
3925 | ||
3926 | 2001-03-16 Laurynas Biveinis <lauras@softhome.net> | |
3927 | ||
3928 | * fixinc/fixincl.c (fix_with_system): Quote file names before | |
3929 | passing them to shell. | |
2d6eb5bf | 3930 | |
d577781c LB |
3931 | 2001-03-16 Laurynas Biveinis <lauras@softhome.net> |
3932 | ||
3933 | * Makefile.in: Use fix-header$(build_exeext) instead | |
3934 | of fix-header. | |
2d6eb5bf | 3935 | |
981975b6 RH |
3936 | 2001-03-16 Richard Henderson <rth@redhat.com> |
3937 | ||
3938 | * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes. | |
3939 | (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New. | |
3940 | (size_of_line_prolog): Remove. | |
3941 | (output_line_info): Compute prologue size via label difference. | |
3942 | (lookup_filename): Return "unspecified" for <internal> and <built-in>. | |
3943 | ||
3944 | * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the | |
3945 | assembler error when redefining file numbers. | |
3946 | * config.in, configure: Rebuild. | |
3947 | ||
da6af203 RH |
3948 | * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size. |
3949 | (dw2_asm_output_data_uleb128): Use space not tab after .uleb128. | |
3950 | (dw2_asm_output_delta_uleb128): Likewise. | |
3951 | (dw2_asm_output_delta_sleb128): Similarly. | |
3952 | (dw2_asm_output_data_sleb128): Similarly. Print number in decimal. | |
3953 | ||
3a6ee9f4 MM |
3954 | 2001-03-16 Michael Meissner <meissner@redhat.com> |
3955 | ||
3956 | * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids | |
3957 | warnings. | |
3958 | (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids | |
3959 | warnings. | |
3960 | (BITMASK_LOWER16): Replacement for 0x0000ffff. | |
3961 | ||
3962 | * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16 | |
3963 | instead of 0xffff0000/0x0000ffff to avoid warnings about constants | |
3964 | being unsigned in ISO C and signed in traditional. | |
3965 | (expand_prologue): Ditto. | |
3966 | (RA_MASK): Use BITMASK_HIGH to avoid warnings. | |
3967 | ||
3968 | * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid | |
3969 | warnings. | |
3970 | (divsi3,divdi3): Ditto. | |
3971 | (modsi3,moddi3): Ditto. | |
3972 | (fix_truncdfsi2,fix_truncdfdi2): Ditto. | |
3973 | (fix_truncsfsi2,fix_truncsfdi2): Ditto. | |
3974 | (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid | |
3975 | warnings. | |
3976 | ||
fa9f36a1 JH |
3977 | Fri Mar 16 14:47:57 CET 2001 Jan Hubicka <jh@suse.cz> |
3978 | ||
3979 | * i386.c (ix86_expand_fp_movcc): Do not attempt to construct | |
3980 | SSE based conditional moves on LTGT/UNEQ conditions; | |
3981 | Canonicalize EQ to NE. | |
3982 | * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode. | |
3983 | (sse_mov?fcc_ne): New. | |
3984 | ||
3985 | * i386-protos.h (sign_extended_value, zero_extended_value): Declare. | |
3986 | ||
fd969c7c AO |
3987 | 2001-03-16 Alexandre Oliva <aoliva@redhat.com> |
3988 | ||
3989 | * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC | |
3990 | register may be dead. | |
3991 | ||
91c251fd BL |
3992 | 2001-03-16 Brad Lucier <lucier@math.purdue.edu> |
3993 | ||
3994 | * Makefile.in (hash.o): Depend on CONFIG_H. | |
3995 | ||
110c3568 MM |
3996 | 2001-03-15 Mark Mitchell <mark@codesourcery.com> |
3997 | ||
3998 | * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET. | |
3999 | ||
7426e9a2 RH |
4000 | 2001-03-15 Richard Henderson <rth@redhat.com> |
4001 | ||
4002 | * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New. | |
4003 | (ASM_OUTPUT_DWARF_PCREL): New. | |
4004 | * config/ia64/hpux.h (ASM_OUTPUT_DWARF_OFFSET): Remove. | |
4005 | ||
11bca309 AO |
4006 | 2001-03-16 Alexandre Oliva <aoliva@redhat.com> |
4007 | ||
4008 | * cppfiles.c (stack_include_file): Use MAX of sysp. | |
4009 | ||
7e5b9908 SE |
4010 | 2001-03-15 Steve Ellcey <sje@cup.hp.com> |
4011 | ||
2d6eb5bf ZW |
4012 | * config.gcc (ia64*-*-hpux*): New case. |
4013 | * config/ia64/hpux.h: New file for HP-UX support. | |
4014 | * config/ia64/t-hpux: New file for HP-UX support. | |
7e5b9908 | 4015 | |
3b3a1054 BK |
4016 | 2001-03-16 Bruce Korb <bkorb@gnu.org>, Alexandre Oliva <aoliva@redhat.com> |
4017 | ||
4018 | * fixinc/inclhack.def (irix_stdio_va_list): New. | |
4019 | * fixinc/fixincl.x: Rebuilt. | |
4020 | ||
8e7fa2c8 RH |
4021 | 2001-03-15 Richard Henderson <rth@redhat.com> |
4022 | ||
4023 | * dwarf2asm.c (dw2_asm_output_offset): Use ASM_OUTPUT_DWARF_OFFSET | |
4024 | if provided by the target. | |
4025 | (dw2_asm_output_pcrel): Likewise with ASM_OUTPUT_DWARF_PCREL. | |
4026 | (dw2_asm_output_addr): New. | |
4027 | * dwarf2asm.h (dw2_asm_output_addr): Declare. | |
4028 | * dwarf2out.c (output_cfi): Use it for program addresses. | |
4029 | (output_call_frame_info, output_die): Likewise. | |
4030 | (output_aranges, output_line_info): Likewise. | |
4031 | ||
798bdf70 BK |
4032 | 2001-03-15 Bruce Korb <bkorb@gnu.org> |
4033 | ||
4034 | * gcc.c(main): make more rigorous | |
4035 | * collect2.c(main): guard against ignoring SIGCHLD | |
4036 | * protoize.c(main): ditto | |
4037 | * gcc/fixinc/fixincl.c(initialize): ditto | |
4038 | ||
d975d8c3 MM |
4039 | 2001-03-15 Mark Mitchell <mark@codesourcery.com> |
4040 | ||
4041 | * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL. | |
4042 | (sdbout_parms): Likewise. | |
4043 | ||
b216e516 JL |
4044 | Thu Mar 15 12:57:14 2001 Jeffrey A Law (law@cygnus.com) |
4045 | ||
4046 | * reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not | |
4047 | "widen" a destination that is already wider than a word. Also do | |
4048 | not widen if LOAD_EXTEND_OP is NIL for the given mode. | |
4049 | ||
e06736f4 BS |
4050 | 2001-03-15 Bernd Schmidt <bernds@redhat.com> |
4051 | ||
4052 | * config/ia64/ia64.c (ia64_sched_reorder): Remove debugging aids. | |
4053 | ||
42edbfa1 JW |
4054 | Thu Mar 15 11:30:31 EST 2001 John Wehle (john@feith.com) |
4055 | ||
4056 | * i960.h (ROUND_TYPE_SIZE_UNIT): Fix typo. | |
4057 | ||
43fabf7d JW |
4058 | Thu Mar 15 11:24:29 EST 2001 John Wehle (john@feith.com) |
4059 | ||
4060 | * i960.h (i960_maxbitalignment, | |
4061 | i960_last_maxbitalignment): Declare. | |
4062 | * i960.c (i960_maxbitalignment, | |
4063 | i960_last_maxbitalignment): Make global. | |
4064 | (process_pragma): Delete. | |
4065 | (i960_pr_align, i960_pr_noalign): Move from here ... | |
4066 | * i960-c.c: ... to this new file. | |
4067 | * t-960bare (i960-c.o): New rule. | |
4068 | * t-vxworks960 (i960-c.o): Likewise. | |
4069 | * config.gcc (i960-*-*): Define c_target_objs and | |
4070 | cxx_target_objs. | |
4071 | ||
e4027dab BS |
4072 | 2001-03-15 Bernd Schmidt <bernds@redhat.com> |
4073 | ||
a4f4333a BS |
4074 | * cselib.c (hash_rtx): For REG and MEM, just use value of expression |
4075 | without adding in rtx code and mode. | |
4076 | ||
bb2cf916 BS |
4077 | * alias.c (init_alias_analysis): Don't use any rtx whose value |
4078 | varies as a known value. | |
4079 | Delete a superfluous test. | |
4080 | ||
e4027dab BS |
4081 | * config/ia64/ia64.c (maybe_rotate): New function, broken out of |
4082 | ia64_sched_reorder. | |
4083 | (ia64_sched_reorder): Call maybe_rotate; also rotate after | |
4084 | scheduling a stop bit. | |
4085 | (ia64_emit_nops): Correctly handle ASMs. | |
4086 | ||
d1d61788 MM |
4087 | 2001-03-15 Mark Mitchell <mark@codesourcery.com> |
4088 | ||
4089 | * varasm.c (assemble_variable): Use DECL_RTL_SET_P. | |
4090 | ||
ba133c96 NB |
4091 | 2001-03-15 Neil Booth <neil@daikokuya.demon.co.uk> |
4092 | ||
4093 | * cpp.texi: Update documentation for -include and -imacros. | |
4094 | * cppfiles.c (struct include_file): Remove "defined" memeber. | |
4095 | (find_or_create_entry): Make a copy of the file name, and | |
4096 | simplify it. | |
4097 | (open_file): Update to ensure we use the simplified filename. | |
4098 | (stack_include_file): Don't set search_from. | |
4099 | (cpp_included): Don't simplify the path name here. | |
4100 | (find_include_file): New prototype. Call search_from to | |
4101 | get the start of the "" include chain. Don't simplify the | |
4102 | filenames here. | |
4103 | (_cpp_execute_include): New prototype. Move diagnostics to | |
4104 | do_include_common. Update. | |
4105 | (_cpp_pop_file_buffer): Don't set defined. | |
4106 | (search_from): New prototype. Use the preprocessor's cwd | |
4107 | for files included from the command line. | |
4108 | (read_name_map): Don't simplify the pathname here. | |
4109 | * cpphash.h (enum include_type): New. | |
4110 | (struct buffer): Delete search from. New search_cached. | |
4111 | (_cpp_execute_include): Update prototype. | |
4112 | * cppinit.c (do_includes): Use _cpp_execute_include. | |
4113 | * cpplib.c (do_include_common): New function. | |
4114 | (do_include, do_include_next, do_import): Use it. | |
4115 | ||
19e7881c MM |
4116 | 2001-03-14 Mark Mitchell <mark@codesourcery.com> |
4117 | ||
4118 | * varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the | |
4119 | contents of the RTL, to determine the name of the object. | |
4120 | ||
4121 | 2001-03-14 Mark Mitchell <mark@codesourcery.com> | |
4122 | ||
4123 | * tree.h (DECL_RTL): Allocate RTL lazily. | |
4124 | (SET_DECL_RTL): New macro. | |
4125 | (DECL_RTL_SET_P): Likewise. | |
4126 | (COPY_DECL_RTL): Likewise. | |
4127 | (DECL_RTL_IF_SET): Likewise. | |
4128 | * varasm.c (make_decl_rtl): Add assertions about the kind of | |
4129 | declaration we are processing. | |
4130 | * c-decl.c (duplicate_decls): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. | |
4131 | (start_decl): Likewise. | |
4132 | (finish_decl): Likewise. | |
4133 | * c-semantics.c (emit_local_var): Likewise. | |
4134 | * calls.c (expand_call): Likewise. | |
4135 | * dbxout.c (dbxout_symbol): Likewise. | |
4136 | * emit-rtl.c (unshare_all_rtl): Likewise. | |
4137 | (unshare_all_decls): Likewise. | |
4138 | (reset_used_decls): Likewise. | |
4139 | * expr.c (store_constructor): Likewise. | |
4140 | (safe_from_p): Likewise. | |
4141 | (expand_expr): Likewise. | |
4142 | * function.c (put_var_into_stack): Likewise. | |
4143 | (instantiate_decls_1): Likewise. | |
4144 | (assign_parms): Likewise. | |
4145 | (expand_function_start): Likewise. | |
4146 | (expand_function_end): Likewise. | |
4147 | * ggc-common.c (gcc_mark_trees): Likewise. | |
4148 | * integrate.c (function_cannot_inline_p): Likewise. | |
4149 | (copy_decl_for_inlining): Likewise. | |
4150 | (expand_inline_function): Likewise. | |
4151 | (integrate_parm_decls): Likewise. | |
4152 | (integrate_decl_tree): Likewise. | |
4153 | * print-tree.c (print_node): Likewise. | |
4154 | * reg-stack.c (stack_result): Likewise. | |
4155 | * stmt.c (label_rtx): Likewise. | |
4156 | (expand_return): Likewise. | |
4157 | (expand_decl): Likewise. | |
4158 | (expand_decl_cleanup): Likewise. | |
4159 | (expand_anon_union_decl): Likewise. | |
4160 | * toplev.c (check_global_declarations): Likewise. | |
4161 | (rest_of_decl_compilation): Likewise. | |
4162 | * tree.c (simple_cst_equal): Likewise. | |
4163 | * objc/objc-act.c (generate_static_references): Likewise. | |
2d6eb5bf | 4164 | |
84c041a1 ZW |
4165 | 2001-03-14 Zack Weinberg <zackw@stanford.edu> |
4166 | ||
4167 | * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN, | |
4168 | gcc_AC_C_FLOAT_FORMAT): New macros. | |
4169 | * configure.in: Add AC_PROG_CPP after CC tests; | |
4170 | gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof | |
4171 | tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT. | |
4172 | * configure, config.in: Regenerate. | |
4173 | ||
4174 | * config/a29k/xm-a29k.h, config/arc/xm-arc.h, | |
4175 | config/arm/xm-arm.h, config/c4x/xm-c4x.h, | |
4176 | config/convex/xm-convex.h, config/d30v/xm-d30v.h, | |
4177 | config/i370/xm-linux.h, config/i370/xm-oe.h, | |
4178 | config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, | |
4179 | config/m68k/xm-m68k.h, config/mips/xm-mips.h, | |
4180 | config/pa/xm-linux.h, config/pa/xm-pa.h, | |
4181 | config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h, | |
4182 | config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, | |
4183 | config/sparc/xm-sparc.h, config/vax/xm-vax.h, | |
4184 | config/we32k/xm-we32k.h: Delete. | |
4185 | ||
4186 | * config/i370/xm-mvs.h, config/m88k/m88k.h, | |
4187 | config/romp/xm-romp.h, config/rs6000/xm-beos.h, | |
4188 | config/vax/xm-vms.h: Don't define any of: | |
4189 | HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN | |
4190 | ||
4191 | * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here. | |
4192 | ||
4193 | * config.gcc: Remove references to deleted files. | |
4194 | (i370-*-opened*): Use i370/xm-mvs.h (which now defines only | |
4195 | FATAL_EXIT_CODE, which is the same between oe and mvs). | |
4196 | ||
fca097e7 DD |
4197 | 2001-03-14 DJ Delorie <dj@redhat.com> |
4198 | Vladimir Makarov <vmakarov@redhat.com> | |
4199 | ||
4200 | * config/i960/i960.c (i960_function_prologue): Compute size of | |
4201 | frame according to number of registers actually saved there. | |
4202 | ||
e9c0bd54 RH |
4203 | 2001-03-14 Richard Henderson <rth@redhat.com> |
4204 | ||
4205 | * expr.c (emit_move_insn_1): Fix else if around #endif. | |
4206 | ||
0c56474e JH |
4207 | Wed Mar 14 22:39:12 CET 2001 Jan Hubicka <jh@suse.cz> |
4208 | Vojtech Pavlik | |
4209 | ||
4210 | * md.texi (machine constraints): Document 'Q', 'R', 'e' and 'Z' | |
4211 | constraints. | |
4212 | ||
6189a572 JH |
4213 | Wed Mar 14 22:26:10 CET 2001 Jan Hubicka <jh@suse.cz> |
4214 | ||
4215 | * i386.c (ix86_cmodel_string, ix86_cmodel): Define. | |
4216 | (override_options): Parse cmodel string. | |
4217 | (x86_64_sign_extended_value, x86_64_zero_extended_value): New. | |
4218 | * i386.h (TARGET_OPTIONS): Add "cmodel". | |
4219 | (EXTRA_CONSTRAINT): Recognize 'e' and 'Z'. | |
4220 | (enum cmodel): New. | |
4221 | (ix86_cmodel_string, ix86_cmodel): Declare. | |
4222 | ||
4223 | Wed Mar 14 22:26:54 CET 2001 Jan Hubicka <jh@suse.cz> | |
4224 | ||
4225 | Spot by Matt Kraai: | |
4226 | * i386.h (GENERAL_REG_P): Add missing REG_P. | |
4227 | ||
16a0fe50 LB |
4228 | 2001-03-14 Laurynas Biveinis <lauras@softhome.net> |
4229 | ||
4230 | * configure.in: Use $gcc_cv_as instead of $as. | |
4231 | * configure: Regenerated. | |
4232 | ||
e7182666 NB |
4233 | 2001-03-14 Neil Booth <neil@daikokuya.demon.co.uk> |
4234 | ||
84c041a1 | 4235 | * cppfiles.c (stack_include_file): Only increase the include |
e7182666 NB |
4236 | count if we actually process the file properly, as opposed |
4237 | to treating it as length zero. Only call read_include_file | |
4238 | if not DO_NOT_REREAD. Handle the -H include file output | |
4239 | here. | |
4240 | (read_include_file): Remove now redundant DO_NOT_REREAD check. | |
4241 | (cpp_included, find_include_file): Simplify pathnames after | |
4242 | remapping them. If remapping, don't use the remapped file | |
4243 | name's buffer as our scratch buffer. | |
4244 | (cpp_pop_file_buffer): Replace the multiple include macro | |
4245 | only if it isn't yet set. | |
4246 | (read_name_map): Simplify remapped names when reading in. | |
4247 | (remap_filename): Move code to code path that uses it. | |
4248 | (_cpp_simplify_pathname): Return the input pointer. | |
4249 | * cpphash.h (_cpp_simplify_pathname): Update prototype. | |
4250 | ||
f80022ff MM |
4251 | 2001-03-14 Mark Mitchell <mark@codesourcery.com> |
4252 | ||
4253 | * expr.c (expand_expr): Revove bogus conditional. | |
4254 | ||
79ce92d7 JH |
4255 | Wed Mar 14 19:29:50 CET 2001 Jan Hubicka <jh@suse.cz> |
4256 | ||
4257 | * expr.c (emit_move_insn_1): Guard PUSH_ROUNDING use by ifdef. | |
4258 | ||
9cf218a3 JJ |
4259 | 2001-03-14 Jakub Jelinek <jakub@redhat.com> |
4260 | ||
4261 | * reg-stack.c (stack_result): Unconditionally use | |
4262 | FUNCTION_OUTGOING_VALUE resp. FUNCTION_VALUE. | |
4263 | ||
1a06f5fe JH |
4264 | Wed Mar 14 16:36:25 CET 2001 Jan Hubicka <jh@suse.cz> |
4265 | ||
4266 | * expr.c (emit_move_insn_1): Split push of complex value when | |
4267 | no suitable push instruction exist. | |
4268 | ||
4269 | * i386.md (QImode move/add/shift patterns): Use ANY_QI_REG_P | |
4270 | instead of QI_REG_P. | |
4271 | ||
6e24b709 RK |
4272 | Tue Mar 13 22:22:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4273 | ||
4274 | * alias.c (handled_component_p, can_address_p): New functions. | |
4275 | (get_alias_set): Use them. | |
4276 | ||
9502c558 JW |
4277 | 2001-03-13 Jim Wilson <wilson@redhat.com> |
4278 | ||
4279 | * config/ia64/ia64.c (find_gr_spill): Subtract frame_pointer_needed | |
4280 | from 80 in try_locals code. | |
4281 | (ia64_expand_prologue): Add comment pointing to find_gr_spill change. | |
4282 | ||
75e93faa ZW |
4283 | 2001-03-13 Zack Weinberg <zackw@stanford.edu> |
4284 | ||
4285 | * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT, | |
4286 | gcc_AC_C_LONG_LONG): New. | |
4287 | * configure.in: Use them. Probe the size of short, int, long, | |
4288 | and long long/__int64 if we have them. Move all the AC_C_* | |
4289 | checks together, except gcc_AC_C_CHAR_BIT which has to go | |
4290 | after AC_CHECK_HEADERS(limits.h). | |
4291 | Take hwint.h out of host_xm_file and build_xm_file. | |
4292 | ||
4293 | * hwint.h: Unconditionally define HOST_BITS_PER_CHAR, | |
4294 | HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG, | |
4295 | and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT. | |
4296 | Move the HOST_WIDEST_INT setup logic here from system.h. | |
4297 | Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not | |
4298 | defined. | |
4299 | * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT | |
4300 | is now handled by hwint.h. | |
4301 | ||
4302 | * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h, | |
4303 | config/c4x/xm-c4x.h, config/i370/xm-oe.h, | |
4304 | config/ia64/xm-ia64.h: Don't define any of: | |
4305 | HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, | |
4306 | HOST_BITS_PER_LONGLONG. | |
4307 | ||
4308 | * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h, | |
4309 | config/h8300/xm-h8300.h, config/mips/iris6.h, | |
4310 | config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h, | |
4311 | config/sparc/xm-sp64.h: Delete. | |
4312 | * config.gcc: Remove references to deleted files. | |
4313 | ||
4314 | * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define | |
4315 | HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT. | |
4316 | * config/i370/xm-linux.h: Clarify floating-point situation in | |
4317 | a comment. | |
4318 | ||
41947a54 NB |
4319 | 2001-03-13 Neil Booth <neil@daikokuya.demon.co.uk> |
4320 | ||
4321 | * cppfiles.c (NO_INCLUDE_PATH): New macro. | |
4322 | (find_include_file): Decide here which part of the include | |
4323 | chain to start the search. Complain about an empty include | |
4324 | chain in all cases apart from an abolsute file name. | |
4325 | (_cpp_execute_include): Don't choose the search chain here. | |
4326 | Don't call handle_missing_include in the case of an empty | |
4327 | include chain. | |
4328 | (_cpp_compare_file_date): Don't choose the search chain here. | |
4329 | * cpplib.c (do_include_next): Move the in-main-file diagnostic | |
4330 | here from _cpp_execute_include. Behave like #include if | |
4331 | we're in the main file. | |
4332 | ||
77b84559 KG |
4333 | 2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4334 | ||
4335 | * system.h (malloc, realloc, calloc, strdup): Only poison these | |
4336 | tokens when IN_GCC is defined. | |
4337 | ||
ca29d1dc JH |
4338 | Tue Mar 13 14:38:44 CET 2001 Jan Hubicka <jh@suse.cz> |
4339 | ||
4340 | * i386.md (abs?f expander): Support SSE case. | |
4341 | (abd?f_if): Add new "USE"; add splitters. | |
4342 | ||
bf4ab281 KG |
4343 | 2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4344 | ||
4345 | * cpp.texi (poison): Explain the macro expansion exception. | |
4346 | ||
e5408e52 JJ |
4347 | 2001-03-13 Jakub Jelinek <jakub@redhat.com> |
4348 | ||
4349 | * expr.c (store_expr): Add dont_store_target. If temp is already in | |
4350 | target before copying to reg, don't store it into target again. | |
4351 | ||
1198142b NB |
4352 | 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
4353 | ||
4354 | * cppinternals.texi: Update for file handling. | |
4355 | ||
a84efb51 JO |
4356 | 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com> |
4357 | ||
4358 | * emit-rtl.c (remove_unnecessary_notes): Reverse Richard Kenner's | |
4359 | 2001-02-24 which broke building the Java library. | |
4360 | * function.c (identify_blocks): Likewise. | |
4361 | (all_blocks): Likewise. | |
4362 | * integrate.c (integrate_decl_tree): Likewise. | |
4363 | * print-tree.c (print_node): Likewise. | |
4364 | * tree.h (BLOCK_NUMBER): Likewise. | |
4365 | (struct tree_block): Likewise. | |
4366 | ||
ba8afff6 DE |
4367 | 2001-03-12 David Edelsohn <edelsohn@gnu.org> |
4368 | ||
4369 | * rs6000/aix51.h (CPP_SPEC, CPLUSPLUS_CPP_SPEC): Fix typo in | |
4370 | __WCHAR_TYPE__ definition. | |
4371 | (WCHAR_TYPE_SIZE): #undef before #define. | |
4372 | ||
a36c54fa NB |
4373 | 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
4374 | ||
75e93faa | 4375 | * cppfiles.c: Update comments. |
a36c54fa NB |
4376 | (destroy_include_file_node): Rename destroy_node. |
4377 | (find_or_create_entry): New function. | |
4378 | (open_file, _cpp_fake_include): Use it. | |
4379 | (handle_missing_header): New function, broken out of | |
4380 | _cpp_execute include. Don't segfault if there is no | |
4381 | system or quoted path. | |
4382 | (_cpp_execute_include): Use handle_missing_header. | |
4383 | ||
23712c11 JO |
4384 | 2001-03-12 Jeffrey Oldham <oldham@codesourcery.com> |
4385 | ||
4386 | * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's | |
4387 | 2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5. | |
4388 | ||
e8ea2809 RK |
4389 | Mon Mar 12 14:05:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4390 | ||
4391 | * flow.c (insn_dead_p): Don't consider two memrefs equivalent | |
4392 | unless anti_dependence says they are. | |
4393 | * alias.c (objects_must_conflict): If neither has a type specified, | |
4394 | they must conflict. | |
4395 | ||
89c9653e NB |
4396 | 2001-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
4397 | David Billinghurst <David.Billinghurst@riotinto.com> | |
4398 | ||
4399 | * config/mips/iris5.h: Change WCHAR_TYPE to int. | |
4400 | ||
99560e26 JH |
4401 | Mon Mar 12 16:32:21 CET 2001 Jan Hubicka <jh@suse.cz> |
4402 | ||
4403 | * i386.md (trunctfdf2_2): Rename missnamed pattern. | |
4404 | (*_one_bit): Remove type on the match_operand in attributes. | |
4405 | ||
3d117b30 JH |
4406 | Mon Mar 12 16:27:56 CET 2001 Jan Hubicka <jh@suse.cz> |
4407 | ||
4408 | * i386.c: Commit forgotten hunk in previous patch. | |
4409 | (regclass_map): Add extended registers. | |
4410 | (dbx_register_map): Add missing frame register. | |
4411 | ||
1e07edd3 JH |
4412 | Mon Mar 12 15:41:08 CET 2001 Jan Hubicka <jh@suse.cz> |
4413 | ||
4414 | * i386.md (all XFmode patterns except swapxf): Disable for 64bit. | |
4415 | ||
4416 | * i386.md (x86_sahf_1): Disable for 64bit. | |
4417 | (popsi*, pophi*): Likewise. | |
4418 | (pushqi, pushhi): Likewise. | |
4419 | (movdi, pushdi): Likewise. | |
4420 | (zero extend DImode splitter): Likewise. | |
4421 | (adddi, minusdi splitter): Likewise. | |
4422 | (umulsidi): Likewise. | |
4423 | (umulsi): New. | |
4424 | (mulsidi): Disable for 64bit | |
4425 | (lshift:DI/ashift:DI): Disable for 64bit. | |
4426 | (loop patterns): Likewise. | |
4427 | (call_pop, call_value_pop expanders and patterns): Likewise. | |
4428 | (prologue_get_pc): Likewise. | |
4429 | (leave): Likewise. | |
4430 | (fcmovDI pattern and splitter): Likewise. | |
4431 | (movdfcc_1_rex64): New. | |
4432 | ||
d2836273 JH |
4433 | Mon Mar 12 15:16:36 CET 2001 Jan Hubicka <jh@suse.cz> |
4434 | ||
4435 | * i386.h (VALID_FP_MODE_P): XFmode is invalid on x86_64. | |
4436 | (MODES_TIEABLE_P): QImodes and DImodes are tiable on x86_64. | |
4437 | (HARD_REGNO_CALLER_SAVE_MODE): Save QImodes as QImodes for x86_64. | |
4438 | (STATIC_CHAIN_REGNUM): Set to r10 for x86_64. | |
4439 | (PIC_OFFSET_TABLE_REGNUM): Set to INVALID_REGNUM for x86_64. | |
4440 | (LIMIT_RELOAD_CLASS): Avoid limiting of QImodes on x86_64. | |
4441 | (SECONDARY_OUTPUT_RELOAD_CLASS): No need to QImodes. | |
4442 | (PUSH_ROUNDING): x86_64 rounds to 64bits. | |
4443 | (CONSTANT_ADDRESS_P): Accept CONST_DOUBLE. | |
4444 | (REGPARM_MAX): Set to 6 for x86_64. | |
4445 | (SSE_REGPARM_MAX): Set to 16 for x86_64. | |
4446 | * i386.c (hard_regno_mode_ok): QImodes can be in all general purpose | |
4447 | registers. | |
4448 | ||
4449 | * (patterns that does use upper halves): Update constraints | |
4450 | 'q' to 'Q' and 'r' to 'R'. | |
4451 | (cmpqi_ext_1): Disable for 64bit. | |
4452 | (cmpqi_ext_3_insn): Likewise. | |
4453 | (movqi_extzv_1): Likewsie. | |
4454 | (addqi_ext_1): Liekwsie | |
4455 | (testqi_ext_1): Liekwsie | |
4456 | (andqi_ext_1): Liekwsie | |
4457 | (xorqi_ext_1): Liekwsie | |
4458 | (cmpqi_ext_1_rex64): New. | |
4459 | (cmpqi_ext_3_insn_rex64): Likewise. | |
4460 | (movqi_extzv_1_rex64): Likewsie. | |
4461 | (addqi_ext_1_rex64): Liekwsie | |
4462 | (testqi_ext_1_rex64): Liekwsie | |
4463 | (andqi_ext_1_rex64): Liekwsie | |
4464 | (xorqi_ext_1_rex64): Liekwsie | |
4465 | ||
9612ab65 ZW |
4466 | 2001-03-11 Zack Weinberg <zackw@stanford.edu> |
4467 | ||
75e93faa | 4468 | * configure.in: Move check for unsigned enumerated bitfields |
9612ab65 ZW |
4469 | to macro in aclocal.m4. Disable it for now. |
4470 | * configure, config.in: Regenerate. | |
4471 | * system.h: Don't do anything with ONLY_INT_FIELDS. Use the | |
4472 | unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC. | |
4473 | * varasm.c (struct rtx_const): Use ENUM_BITFIELD(). Move enum | |
4474 | kind above its first use. | |
4475 | ||
4476 | * config/xm-interix.h, config/alpha/xm-alpha.h, | |
4477 | config/i370/xm-linux.h, config/i386/xm-beos.h, | |
4478 | config/i386/xm-mingw32.h, config/mips/xm-mips.h, | |
4479 | config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, | |
75e93faa | 4480 | config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h, |
9612ab65 ZW |
4481 | Don't define ONLY_INT_FIELDS under any circumstances. |
4482 | ||
4483 | * config/pa/xm-pa.h: Don't define __BSD_NET2__. | |
4484 | ||
4485 | * config/pa/xm-pahpux.h, config/pa/xm-papro.h, | |
4486 | config/sparc/xm-sysv4.h: Delete - now identical with some | |
4487 | other xm header. | |
4488 | * config.gcc (hppa targets): Replace xm-pahpux.h and | |
4489 | xm-papro.h with implicit xm-pa.h. | |
4490 | (sparc targets): Replace xm-sysv4.h with implicit or explicit | |
75e93faa | 4491 | xm-sparc.h. |
9612ab65 | 4492 | |
d5ae21aa AH |
4493 | 2001-03-12 Aldy Hernandez <aldyh@redhat.com> |
4494 | ||
75e93faa ZW |
4495 | * reload1.c (reload_cse_simplify): Call reload_cse_simplify_set |
4496 | before reload_cse_noop_set_p. | |
d5ae21aa | 4497 | |
190c4cb4 ZW |
4498 | 2001-03-11 Zack Weinberg <zackw@stanford.edu> |
4499 | ||
4500 | * config.gcc: Where xm-host.h used to include another | |
4501 | xm-host.h, list the nested header directly in xm_file. Remove | |
4502 | references to deleted files. Can now use sparc/xm-sp64.h for | |
4503 | sparcv9-*-solaris*. | |
4504 | ||
4505 | * config/xm-linux.h, config/arm/xm-linux.h, | |
4506 | config/i386/xm-dos.h, config/i386/xm-gnu.h, | |
4507 | config/i386/xm-linux.h, config/i386/xm-openbsd.h, | |
4508 | config/i860/xm-fx2800.h, config/m68k/xm-atari.h, | |
4509 | config/m68k/xm-linux.h, config/m68k/xm-sun3.h, | |
4510 | config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h: | |
4511 | Delete. | |
4512 | ||
4513 | * config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h. | |
4514 | * config/mips/xm-iris5.h: Don't include mips/xm-mips.h. Don't | |
4515 | bother to wrap #undef in #ifdef. | |
4516 | * config/pa/xm-linux.h, config/rs6000/xm-sysv4.h: | |
4517 | Don't include xm-linux.h. | |
4518 | * config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h. | |
4519 | ||
4520 | * configure.in: Wrap regexps using [] in changequote block. | |
4521 | Use expr : not echo | grep. Simplify regexps. | |
4522 | * configure: Regenerate. | |
4523 | ||
4524 | 56 xm-files remain, 22 xm-arch. | |
4525 | ||
45a647be KG |
4526 | 2001-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4527 | ||
4528 | * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF. | |
4529 | (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead. | |
4530 | (local_index, local_rindex): Delete, use strchr/strrchr instead. | |
4531 | (copy_object): Fix format specifier vs argument mismatch. | |
4532 | ||
4533 | * mips-tdump.c: Make local functions static. | |
4534 | (rindex): Don't #undef. | |
4535 | (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead. | |
4536 | (fatal, fancy_abort): Delete. | |
4537 | (read_seek): Avoid signed/unsigned compare. | |
4538 | ||
c7ca5912 RK |
4539 | Sun Mar 11 17:01:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4540 | ||
4541 | * combine.c (try_combine): Fix error in change to try original | |
4542 | register. | |
4543 | (gen_rtx_combine): Do same as gen_rtx for now. | |
4544 | ||
3d9d2476 ZW |
4545 | 2001-03-11 Zack Weinberg <zackw@stanford.edu> |
4546 | ||
4547 | * configure.in: AC_SUBST xm_defines. | |
4548 | * configure: Regenerate. | |
4549 | * Makefile.in: Set DEFINES=$(xm_defines) when building | |
4550 | tconfig.h. | |
4551 | ||
b6464a73 NB |
4552 | 2001-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
4553 | ||
75e93faa | 4554 | * cppfiles.c (INCLUDE_LEN_FUDGE, ENOMEM): Delete. |
b6464a73 NB |
4555 | (cpp_included, find_include_file): Update. |
4556 | (_cpp_compare_file_date): Make else unconditional. | |
4557 | ||
2cef831c KK |
4558 | 2001-03-10 kaz Kojima <kkojima@rr.iij4u.or.jp> |
4559 | ||
4560 | * config/sh/sh.h (LEGITIMATE_PIC_OPERAND_P): Defined. | |
4561 | ||
e9a9e960 TM |
4562 | 2001-03-10 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
4563 | ||
75e93faa | 4564 | * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics. |
e9a9e960 TM |
4565 | * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w. |
4566 | ||
066c84df AO |
4567 | Sat Mar 10 22:42:05 2001 Alexandre Oliva <aoliva@redhat.com> |
4568 | ||
4569 | * tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node | |
4570 | if it's a record type. | |
4571 | ||
936ee790 CF |
4572 | Sat Mar 10 17:52:54 2001 Christopher Faylor <cgf@cygnus.com> |
4573 | ||
4574 | * config/i386/cygwin.h: Make ../w32api a system directory. Reorganize | |
4575 | mingw includes slightly. | |
4576 | ||
8a0e5115 KG |
4577 | 2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4578 | ||
4579 | * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): | |
4580 | #undef token before poisoning it. | |
4581 | ||
6439a1f2 KG |
4582 | 2001-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4583 | ||
4584 | * alpha.c (check_float_value): Use memcpy, not bcopy. | |
4585 | ||
4586 | * m32r.c (m32r_sched_reorder): Likewise. | |
4587 | ||
4588 | * vax.c (check_float_value): Likewise. | |
4589 | ||
b3e68a79 NB |
4590 | 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
4591 | ||
4592 | * toplev.c (file_name_nondirectory): Remove. | |
4593 | * toplev.h: Similarly. | |
4594 | * dwarf2out.c (compute_section_prefix): Use lbasename instead | |
4595 | of file_name_nondirectory. | |
4596 | ||
ea23d540 RK |
4597 | Sat Mar 10 10:36:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4598 | ||
4599 | * mips-tdump.c (read_seek): Call xmalloc, not malloc. | |
4600 | * mips-tfile.c: Don't #undef rindex; not used. | |
4601 | ||
0f7fa3d0 JH |
4602 | Sat Mar 10 14:34:59 CET 2001 Jan Hubicka <jh@suse.cz> |
4603 | ||
4604 | * i386.h (DBX_REGISTER_NUMBER): Return proper values for 64bits. | |
4605 | (dbx64_register_map): Declare. | |
4606 | (RETURN_ADDR_RTX): Fix for 64bit. | |
4607 | (DWARF_FRAME_RETURN_COLUMN): Set to 16 for 64bit. | |
4608 | (INCOMING_FRAME_SP_OFFSET): Set to 8. | |
4609 | * i386.c (dbx64_register_map): New global array. | |
4610 | * beos-elf.h, freebsd.h, i386-interix.h, i386elf.h, | |
4611 | linux.h (DBX_REGISTER_REGNUMBER): Use dbx64_register_map | |
4612 | for 64bits. | |
4613 | ||
2251fd78 NB |
4614 | 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
4615 | ||
4616 | * cppfiles.c (search_from): Use lbasename. | |
4617 | * mkdeps.c (deps_add_default_target): Use lbasename. | |
4618 | ||
f4ce9d90 KG |
4619 | 2001-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4620 | ||
4621 | * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc & | |
4622 | xcalloc in lieu of malloc, realloc & calloc. | |
190c4cb4 | 4623 | |
f4ce9d90 KG |
4624 | * gencheck.c (xmalloc): Use really_call_malloc, not malloc. |
4625 | ||
4626 | * gengenrtl.c (xmalloc): Likewise. | |
4627 | ||
4628 | * gensupport.c (xcalloc, xrealloc, xmalloc): Use the | |
4629 | really_call_* memory allocation routines. | |
4630 | ||
4631 | * stmt.c (check_for_full_enumeration_handling): Use | |
4632 | really_call_calloc, not calloc. | |
4633 | ||
4634 | * system.h (really_call_malloc, really_call_calloc, | |
4635 | really_call_realloc): Define. | |
4636 | (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison. | |
4637 | ||
0eac2984 JL |
4638 | Fri Mar 9 18:39:19 2001 Jeffrey A Law (law@cygnus.com) |
4639 | ||
4640 | * pa.md (builtin_longjmp): Rework slightly to work for PA64 too. | |
4641 | ||
1bf17cc4 NP |
4642 | 2001-03-09 Nicola Pero <n.pero@mi.flashnet.it> |
4643 | ||
4644 | * configure: Rebuilt. | |
4645 | * configure.in: Only use `lang_requires' for languages athat are | |
4646 | actually enabled. | |
4647 | ||
6ca3ad1b JM |
4648 | 2001-03-09 Joseph S. Myers <jsm28@cam.ac.uk> |
4649 | ||
4650 | * invoke.texi: Fix typo. | |
4651 | * gcc.1: Regenerate. | |
4652 | ||
11642c3a ZW |
4653 | 2001-03-09 Zack Weinberg <zackw@stanford.edu> |
4654 | ||
4655 | * configure.in: Prune nonexistent files from build_xm_file, | |
4656 | xm_file, and host_xm_file lists. Warn unless they're | |
4657 | $cpu/xm-$cpu.h. | |
4658 | Don't generate *config.h here. | |
4659 | AC_SUBST all variables needed to generate *config.h. | |
4660 | * configure: Regenerate. | |
4661 | * mkconfig.sh: New helper script, from code removed from | |
4662 | configure.in. | |
4663 | * Makefile.in: Zap all MALLOC variables - no longer used | |
4664 | anywhere, and malloc.c doesn't exist. | |
4665 | Substitute in variables needed to generate *config.h. | |
4666 | Stop lying about the dependencies contained in CONFIG_H and | |
4667 | GCONFIG_H. | |
4668 | (HCONFIG_H, TCONFIG_H, TM_P_H): New variables. | |
4669 | (config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h, | |
4670 | cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules. | |
4671 | (all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H), | |
4672 | $(TM_P_H), etc. as appropriate. | |
4673 | ||
4674 | * config.gcc: Zap references to deleted files. | |
4675 | * ggc-none.c: Don't include rtl.h or tm_p.h. | |
4676 | ||
4677 | * config/i386/xm-beos.h, config/i386/xm-dgux.h, | |
4678 | config/i386/xm-djgpp.h, config/i386/xm-dos.h, | |
4679 | config/i386/xm-gnu.h, config/i386/xm-i386-interix.h, | |
4680 | config/i386/xm-linux.h, config/i386/xm-linux.h, | |
4681 | config/i386/xm-next.h, config/i386/xm-openbsd.h, | |
4682 | config/i386/xm-sun.h, config/i386/xm-sysv3.h: | |
4683 | Don't include i386/xm-i386.h. | |
4684 | ||
4685 | * config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h, | |
4686 | config/i386/xm-i386.h, config/i860/xm-i860.h, | |
4687 | config/i960/xm-i960.h, config/mcore/xm-mcore.h, | |
4688 | config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h, | |
4689 | config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h: | |
4690 | Delete (empty except comments, #includes of other deleted | |
4691 | files, and macros used nowhere). | |
4692 | ||
2faf6b96 JH |
4693 | Fri Mar 9 20:05:27 CET 2001 Jan Hubicka <jh@suse.cz> |
4694 | ||
4695 | * i386.h (MAX_WCHAR_TYPE_SIZE): New constant to keep tradcpp | |
4696 | independent on TARGET_FLAGS. | |
4697 | ||
3f3f2124 JH |
4698 | Fri Mar 9 19:52:52 CET 2001 Jan Hubicka <jh@suse.cz> |
4699 | ||
4700 | * i386.h (FIRST_PSEUDO_REGISTER): Set to 53. | |
11642c3a ZW |
4701 | |
4702 | (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ONES): Add | |
4703 | extended ones. | |
4704 | (CONDITIONAL_REGISTER_USAGE): Set proper values according to | |
4705 | TARGET_64BIT. | |
4706 | (FIRST_REX_INT_REG, LAST_REX_INT_REG, FIRST_REX_SSE_REG, | |
4707 | LAST_REX_SSE_REG): define. | |
3f3f2124 JH |
4708 | (enum reg_class): Add 'LEGACY_REGS' |
4709 | (REG_CLASS_CONTENTS): Likewise; add extended registers. | |
4710 | (SSE_REGNO_P): Recognize extended registers. | |
4711 | (ANY_QI_REG_P, REX_INT_REGNO_P, REX_INT_REG_P): New. | |
4712 | (REG_CLASS_FROM_LETTER): Add 'R' and 'Q'. | |
11642c3a ZW |
4713 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, |
4714 | REG_OK_FOR_BASE_NONSTRICT_P): Recognize REX registers. | |
3f3f2124 JH |
4715 | (REG_OK_FOR_STRREG_NONSTRICT_P, REG_OK_FOR_STRREG_STRICT_P, |
4716 | REG_OK_FOR_STRREG_P): Remove. | |
4717 | (HI_REGISTER_NAMES): Add extended registers. | |
4718 | (ADDITIONAL_REGISTER_NAMES): Likewise. | |
4719 | (QI_REGISTER_NAMES): Add 8bit extended registers. | |
4720 | (DEBUG_REG): Support extended registers. | |
4721 | * i386.c (regclass_map): Add extended registers. | |
4722 | (dbx_register-map): Likewise. | |
4723 | (svr4_dbx_register_map): Likewise. | |
4724 | (print_reg): Support extended registers. | |
4725 | (print_operand): Support 64bit operands. | |
4726 | ||
65d9c0ab JH |
4727 | Fri Mar 9 19:37:46 CET 2001 Jan Hubicka <jh@suse.cz> |
4728 | ||
4729 | * i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Set to 128bit for x86_64 | |
4730 | (BOOL_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE, | |
4731 | FLOAT_TYPE_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE, | |
4732 | DOUBLE_TYPE_SIZE, LONG_LONG_TYPE_SIZE): New constants. | |
4733 | (BITS_PER_WORD, UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY, | |
4734 | STACK_BOUNDARY): Set properly for 64bits. | |
4735 | (MAX_BITS_PER_WORD, MIN_UNITS_PER_WORD): New constants. | |
4736 | (EMPTY_FIELD_BOUNDARY): Define using BITS_PER_WORD. | |
4737 | (BIGGEST_FIELD_ALIGNMENT): Set to 128 for 64bits. | |
4738 | (MOVE_MAX): Set to 16. | |
4739 | (MOVE_MAX_PIECES): 8 for 64bit. | |
4740 | (Pmode): Set to SImode. | |
4741 | ||
dc647e99 MS |
4742 | Fri Mar 9 09:00:36 2001 Mike Stump <mrs@wrs.com> |
4743 | ||
4744 | * cselib.c (hash_rtx): Ensure that hash isn't zero upon return. | |
4745 | ||
25f94bb5 JH |
4746 | Fri Mar 9 17:38:08 CET 2001 Jan Hubicka <jh@suse.cz> |
4747 | ||
4748 | * i386.h (mask_64bit): New constant. | |
4749 | (target_64bit): New macro. | |
4750 | (target_options): Add '64'/'32' | |
4751 | (target_default): Define. | |
4752 | * cygwin.h freebsd-aout.h i386-interix.h i386.h i386elf.h isc.h | |
4753 | isccoff.h netbsd.h next.h openbsd.h p sco.h sco5.h scodbx.h sequent.h | |
4754 | unix.h win32.h (TARGET_DEFAULT): Rename to TARGET_SUBTARGET_DEFAULT. | |
4755 | ||
8b737c83 JL |
4756 | Thu Mar 8 23:36:56 2001 Jeffrey A Law (law@cygnus.com) |
4757 | ||
4758 | * config/pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Disable. | |
4759 | ||
e7d96a83 JW |
4760 | Thu Mar 8 23:29:37 2001 John Wehle (john@feith.com) |
4761 | ||
4762 | * rtlanal.c (rtx_varies_p): Check operand 0 of a | |
4763 | LO_SUM unless for_alias is set. | |
4764 | ||
4ce693cd SS |
4765 | 2001-03-08 Stan Shebs <shebs@apple.com> |
4766 | ||
4767 | * objc/objc-act.c: Fix old typos in comments, add comments for | |
4768 | various functions. | |
4769 | (hash_init): Fix file name in error message. | |
4770 | (hash_enter): Ditto. | |
4771 | (hash_add_attr): Ditto. | |
4772 | (continue_class): Ditto. | |
4773 | ||
0bf679a3 BK |
4774 | 2001-03-08 Bruce Korb <bkorb@gnu.org> |
4775 | ||
4776 | gcc.c(main): ensure SIGCHLD handling is set to SIG_DFL so that | |
11642c3a | 4777 | wait4() can receive the signal. |
0bf679a3 | 4778 | |
786b0d35 RO |
4779 | Thu Mar 8 21:09:10 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4780 | ||
4781 | * fixinc/inclhack.def (AAB_dgux_int_varargs): Don't use HTML | |
4782 | entities. | |
4783 | * fixinc/fixincl.x: Regenerate. | |
4784 | ||
4785 | Thu Mar 8 21:09:10 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
4786 | ||
4787 | * fixinc/inclhack.def (AAA_standards): Undo <standards.h> breakage | |
4788 | on Tru64 UNIX. | |
4789 | * fixinc/fixincl.x: Regenerate. | |
4790 | ||
b7460f24 RH |
4791 | 2001-03-08 Richard Henderson <rth@redhat.com> |
4792 | ||
4793 | * configure.in (HAVE_AS_LEB128): New assembler check. | |
4794 | * configure, config.in: Rebuilt. | |
4795 | ||
cadcffb3 JH |
4796 | Thu Mar 8 19:54:04 CET 2001 Jan Hubicka <jh@suse.cz> |
4797 | ||
4798 | * reg-stack.c (move_for_stack_reg): Avoid non-poping fst for | |
4799 | TFmode too. | |
4800 | ||
b19a539e KG |
4801 | 2001-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4802 | ||
4803 | * config/ns32k/xm-pc532-min.h, config/we32k/xm-we32k.h: Delete | |
4804 | references to the MAXPATHLEN macro. | |
4805 | ||
4806 | * config/alpha/xm-alpha.h, config/arm/xm-arm.h, | |
4807 | config/i386/xm-cygwin.h, config/xm-linux.h: Delete references to | |
4808 | the POSIX macro. | |
4809 | ||
4810 | * config/i386/xm-gnu.h, config/xm-gnu.h, | |
4811 | config/alpha/xm-openbsd.h, config/i386/xm-openbsd.h, | |
4812 | config/m68k/xm-openbsd.h, config/mips/xm-openbsd.h, | |
4813 | config/sparc/xm-openbsd.h, config/xm-openbsd.h: Delete empty | |
4814 | and/or unused files. | |
4815 | ||
4816 | * config.gcc: Define POSIX in xm_defines as appropriate in lieu of | |
4817 | doing so in various xm-*.h files. | |
4818 | ||
4082ab0f RK |
4819 | Thu Mar 8 06:32:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4820 | ||
4821 | * config/i386/i386.md (clrstrsi): Call ix86_set_move_mem_attrs. | |
4822 | ||
c785e0fa AO |
4823 | 2001-03-08 Alexandre Oliva <aoliva@redhat.com> |
4824 | ||
4825 | * configure.in (enable_shared): Support per-package shared-library | |
4826 | enabling. | |
4827 | * configure: Rebuilt. | |
4828 | ||
251b3667 DE |
4829 | 2001-03-07 David Edelsohn <edelsohn@gnu.org> |
4830 | ||
4831 | * rs6000.md (cr logic): Add original POWER mnemonic alternative | |
4832 | for crnot. Set operands[5] in splitter. | |
4833 | ||
cf30ef80 KG |
4834 | 2001-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4835 | ||
4836 | * config/i370/xm-mvs.h, config/i370/xm-oe.h, | |
4837 | config/i386/xm-beos.h, config/i386/xm-mingw32.h, | |
4838 | config/m88k/xm-m88k.h, config/mips/xm-iris6.h, | |
4839 | config/mips/xm-openbsd.h, config/pa/xm-pa64hpux.h, | |
4840 | config/pa/xm-pahpux.h, config/rs6000/xm-beos.h, | |
4841 | config/rs6000/xm-darwin.h, config/rs6000/xm-mach.h, | |
4842 | config/rs6000/xm-rs6000.h, config/xm-interix.h: Delete references | |
4843 | to the USG macro. | |
4844 | ||
4845 | * config/vax/xm-vaxv.h, config/a29k/xm-unix.h, | |
4846 | config/i370/xm-i370.h, config/i386/xm-dgux.h, | |
4847 | config/i386/xm-sun.h, config/i386/xm-sysv3.h, | |
4848 | config/m68k/xm-tower.h, config/m68k/xm-aux.h, | |
4849 | config/m68k/xm-hp320.h, config/m68k/xm-amix.h, | |
4850 | config/m68k/xm-altos3068.h, config/m68k/xm-mot3300.h, | |
4851 | config/m68k/xm-m68kv.h, config/m88k/xm-openbsd.h, | |
4852 | config/mips/xm-nws3250v4.h, config/mips/xm-sysv.h, | |
4853 | config/mips/xm-iris3.h, config/mips/xm-iris4.h, config/xm-svr3.h, | |
4854 | config/xm-svr4.h, config/sparc/xm-pbd.h, config/clipper/xm-clix.h: | |
4855 | Delete unused and/or empty files. | |
4856 | ||
4857 | * config.gcc: Define USG in xm_defines as appropriate. Define | |
4858 | POSIX in lieu of xm-svr4.h. Delete all references to the SVR3 | |
4859 | macro. Remove deleted xm-* files from $xm_files variable. | |
4860 | ||
75382c6d TT |
4861 | 2001-03-07 Tom Tromey <tromey@redhat.com> |
4862 | ||
4863 | * configure: Rebuilt. | |
4864 | * configure.in: Allow config-lang.in to set `lang_requires' to list | |
4865 | of other required languages. | |
4866 | ||
c874ab11 AM |
4867 | 2001-03-07 Andrew MacLeod <amacleod@redhat.com> |
4868 | ||
4869 | * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn | |
4870 | after its emitted. | |
4871 | (output_prologue): Use xmalloc not oballoc. | |
4872 | (output_epilog): Free a29k_first_epilogue_insn when finished. | |
4873 | * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand. | |
4874 | ||
de6c5979 BL |
4875 | 2001-03-07 Brad Lucier <lucier@math.purdue.edu> |
4876 | ||
4877 | * builtins.c (expand_builtin_mathfn): Check | |
4878 | flag_unsafe_math_optimizations, not flag_fast_math. | |
4879 | (expand_builtin): Likewise | |
4880 | * combine.c (combine_simplify_rtx): Likewise. | |
4881 | (simplify_if_then_else): Likewise. | |
4882 | * cse.c (fold_rtx): Likewise. | |
11642c3a | 4883 | * flags.h: Remove flag_fast_math. Add |
de6c5979 BL |
4884 | flag_unsafe_math_optimizations and flag_trapping_math. |
4885 | * fold-const.c (negate_expr): Check | |
4886 | flag_unsafe_math_optimizations, not flag_fast_math. | |
4887 | (invert_truthvalue): Likewise. | |
4888 | (fold): Likewise. Before associating operands, check that | |
4889 | code == MULT_EXPR, not code != MULT_EXPR. | |
4890 | * ifcvt.c (noce_try_minmax): Check | |
4891 | flag_unsafe_math_optimizations, not flag_fast_math. | |
4892 | (noce_operand_ok): Check flag_trapping_math, not flag_fast_math. | |
4893 | * invoke.texi: Document -funsafe-math-optimizations and | |
4894 | -fno-trapping-math. Change documentation for -ffast-math. | |
4895 | * jump.c (reversed_comparison_code_parts): Likewise. | |
4896 | (rtx_equal_for_thread_p): Likewise. | |
4897 | * optabs.c (emit_conditional_move): Likewise. | |
4898 | * simplify-rtx.c (simplify_binary_operation): Likewise. | |
4899 | (simplify_relational_operation): Likewise. | |
4900 | (simplify_ternary_operation): Likewise. | |
4901 | * toplev.c: Remove flag_fast_math. Add flag_trapping_math and | |
4902 | flag_unsafe_math_optimizations. Remove fast-math entry from f_options. | |
4903 | Add trapping-math and unsafe-math-optimizations entries to f_options. | |
4904 | (set_fast_math_flags): New, sets flags for -ffast-math. | |
4905 | (set_no_fast_math_flags): New, sets flags for -fno-fast-math. | |
4906 | (decode_f_option): Add code to handle -ffast-math and -fno-fast-math. | |
4907 | * toplev.h: Declare set_fast_math_flags and set_no_fast_math_flags. | |
4908 | ||
4909 | * config/alpha/alpha.c (alpha_emit_conditional_branch): Likewise. | |
4910 | (alpha_emit_conditional_move): Initialize local_fast_math to | |
4911 | flag_unsafe_math_optimizations, not flat_fast_math. | |
4912 | * config/c4x/c4x.c (c4x_override_options): Call set_fast_math_flags | |
4913 | instead of setting flag_fast_math to 1. | |
4914 | * config/convex/convex.md: Check flag_unsafe_math_optimizations, | |
4915 | not flag_fast_math. | |
4916 | * config/i386/i386.c (override_options): Likewise | |
4917 | * config/i386/i386.md: Likewise. | |
4918 | * config/m68k/m68k.md: Likewise. | |
4919 | * config/mips/mips.md: Likewise. | |
4920 | * config/rs6000/rs6000.c (validate_condition_mode): Likewise. | |
4921 | (rs6000_generate_compare): Likewise. | |
4922 | ||
6822468a LB |
4923 | 2001-03-07 Laurynas Biveinis <lauras@softhome.net> |
4924 | ||
11642c3a ZW |
4925 | * Makefile.in: Set RANLIB to @RANLIB@. |
4926 | Remove RANLIB_TEST. | |
6822468a LB |
4927 | |
4928 | 2001-03-07 Laurynas Biveinis <lauras@softhome.net> | |
11642c3a | 4929 | |
6822468a LB |
4930 | * fixinc/inclhack.def (djgpp_wchar_h): New test. |
4931 | * fixinc/fixincl.x: Regenerated. | |
4932 | ||
6e487492 RH |
4933 | 2001-03-07 Richard Henderson <rth@redhat.com> |
4934 | ||
4935 | * config/alpha/alpha.md (call_osf_1_noreturn): New pattern. | |
4936 | ||
542d73ae RH |
4937 | 2001-03-07 Richard Henderson <rth@redhat.com> |
4938 | ||
4939 | * emit-rtl.c (remove_unnecessary_notes): Verify proper nesting | |
4940 | of block notes and exception handling notes. | |
4941 | ||
232f749b RH |
4942 | * lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized. |
4943 | * toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ... | |
4944 | (compile_file): ... here. | |
4945 | ||
ed173cc9 KG |
4946 | 2001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4947 | ||
4948 | * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H. | |
4949 | ||
4950 | * fixinc/gnu-regex.c: Don't include auto-host.h since we get | |
4951 | config.h now. Include libiberty.h to handle alloca. | |
4952 | ||
cc937581 ZW |
4953 | 2001-03-06 Zack Weinberg <zackw@stanford.edu> |
4954 | ||
4955 | * c-parse.in (yylexname): New function, split out of _yylex. | |
4956 | (objc_rid_sans_at): New table. | |
4957 | (init_reswords): Initialize it. | |
4958 | (_yylex): Give labels clearer names. Handle CPP_ATSIGN by | |
4959 | retrieving the next token and checking it for significance as | |
4960 | an ObjC keyword or string constant. | |
4961 | ||
4962 | * cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'. | |
4963 | * cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING. | |
4964 | ||
4965 | * c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references | |
4966 | to CPP_OSTRING. | |
4967 | ||
07ed7ecf SM |
4968 | 2001-03-06 Stephen L Moshier <moshier@mediaone.net> |
4969 | ||
4970 | * config/m68k/m68k.c (const_uint32_operand): Accept any | |
4971 | const_int on a 32-bit host. | |
4972 | ||
805c6c57 NP |
4973 | 2001-03-06 Nicola Pero <n.pero@mi.flashnet.it> |
4974 | ||
4975 | * objc/objc-act.c (init_objc): Set save_lang_status, | |
4976 | restore_lang_status, and mark_lang_status. | |
4977 | ||
d2f65b7b KW |
4978 | 2001-03-06 Krister Walfridsson <cato@df.lth.se> |
4979 | ||
4980 | * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call. | |
4981 | ||
a867b80c NB |
4982 | 2001-03-06 Neil Booth <neil@daikokuya.demon.co.uk> |
4983 | ||
4984 | * cppinternals.texi: Update. | |
4985 | ||
68527d81 KG |
4986 | 2001-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4987 | ||
4988 | * config/a29k/xm-a29k.h, config/a29k/xm-unix.h, | |
4989 | config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h, | |
4990 | config/c4x/xm-c4x.h, config/clipper/xm-clix.h, | |
4991 | config/convex/xm-convex.h, config/d30v/xm-d30v.h, | |
4992 | config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h, | |
4993 | config/h8300/xm-h8300.h, config/i370/xm-i370.h, | |
4994 | config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h, | |
4995 | config/i386/xm-i386.h, config/i860/xm-i860.h, | |
4996 | config/i960/xm-i960.h, config/ia64/xm-ia64.h, | |
4997 | config/m32r/xm-m32r.h, config/m68k/xm-m68k.h, | |
4998 | config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, | |
4999 | config/mips/xm-mips.h, config/mn10200/xm-mn10200.h, | |
5000 | config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h, | |
5001 | config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, | |
5002 | config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h, | |
5003 | config/romp/xm-romp.h, config/rs6000/xm-beos.h, | |
5004 | config/rs6000/xm-lynx.h, config/rs6000/xm-rs6000.h, | |
5005 | config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, | |
5006 | config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h, | |
5007 | config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h, | |
5008 | config/we32k/xm-we32k.h: Delete HOST_BITS_PER_* definitions which | |
5009 | match the defaults provided in hwint.h. | |
5010 | ||
5011 | * config/i386/xm-lynx.h, config/m68k/xm-lynx.h, | |
5012 | config/sparc/xm-lynx.h, config/xm-std32.h: Delete files. | |
5013 | ||
5014 | * config.gcc (xm_file): Don't set to files which are deleted. | |
5015 | ||
5016 | * hwint.h: Provide default values for HOST_BITS_PER_*. No longer | |
5017 | guard this file against these macros being undefined. | |
5018 | ||
69f8cbfa ZW |
5019 | 2001-03-06 Zack Weinberg <zackw@stanford.edu> |
5020 | ||
5021 | * objc/objc-act.c (objc_add_static_instance): Set DECL_INITIAL | |
5022 | and DECL_DEFER_OUTPUT on the decl we create, before calling | |
5023 | rest_of_decl_compilation. | |
5024 | ||
1f50aafb ZW |
5025 | 2001-03-06 Zack Weinberg <zackw@stanford.edu> |
5026 | ||
5027 | * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE | |
5028 | AC_FUNC_ALLOCA. | |
5029 | * configure, config.in: Regenerate. | |
5030 | * config.gcc: Remove references to deleted files. | |
5031 | ||
5032 | * genattr.c, genattrtab.c, genextract.c, genoutput.c, | |
5033 | genrecog.c, rtl.c: Do not use alloca anywhere. | |
5034 | ||
5035 | * Makefile.in, build-make, system.h, config/x-interix, | |
5036 | config/x-svr4, config/xm-interix.h, config/xm-openbsd.h, | |
5037 | config/alpha/xm-alpha.h, config/alpha/xm-vms.h, | |
5038 | config/arc/xm-arc.h, config/arm/xm-arm.h, | |
5039 | config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, | |
5040 | config/h8300/xm-h8300.h, config/i370/x-oe, | |
5041 | config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos, | |
5042 | config/i386/x-ncr3000, config/i386/x-sco5, | |
5043 | config/i386/xm-dgux.h, config/i860/x-sysv4, | |
5044 | config/i960/xm-i960.h, config/m32r/xm-m32r.h, | |
5045 | config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320, | |
5046 | config/m68k/x-hp320g, config/m69k/x-mot3300, | |
5047 | config/m68k/x-mot3300-gas, config/m68k/xm-amix.h, | |
5048 | config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h, | |
5049 | config/m68k/xm-mot3300.h, config/m88k/x-dolph, | |
5050 | config/m88k/x-sysv4, config/m88k/x-tekXD88, | |
5051 | config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, | |
5052 | config/mips/x-iris, config/mips/x-iris3, | |
5053 | config/mips/x-sni-svr4, config/mips/x-sysv, | |
5054 | config/mips/xm-iris6.h, config/mips/xm-mips.h, | |
5055 | config/mips/xm-nws3250v4.h, config/pa/x-hpux, | |
5056 | config/pa/x-pa-mpeix, config/pa/xm-pa.h, | |
5057 | config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, | |
5058 | config/pa/xm-papro.h, config/romp/xm-romp.h, | |
5059 | config/rs6000/x-aix31, config/rs6000/x-aix41, | |
5060 | config/rs6000/x-beos, config/rs6000/x-lynx, | |
5061 | config/rs6000/x-mach, config/rs6000/x-rs6000, | |
5062 | config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h, | |
5063 | config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, | |
5064 | config/sparc/x-sysv4, config/sparc/xm-linux.h, | |
5065 | config/sparc/xm-pbd.h, config/sparc/xm-sparc.h, | |
5066 | config/vax/xm-vms.h: Eradicate all references to alloca and | |
5067 | related stuff. | |
5068 | ||
5069 | * config/xm-alloca.h, config/clipper/x-clix, | |
5070 | config/i386/xm-sysv4.h, config/i860/x-fx2800, | |
5071 | config/i860/x-sysv3, config/m88k/x-sysv3, | |
5072 | config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete | |
5073 | (contained only alloca related hacks). | |
5074 | ||
5075 | * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define | |
5076 | USE_C_ALLOCA. | |
5077 | ||
d97b75be BL |
5078 | 2001-03-05 Brad Lucier <lucier@math.purdue.edu> |
5079 | ||
5080 | * invoke.texi: Document __FAST_MATH__. | |
5081 | ||
1b5640cd KG |
5082 | 2001-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5083 | ||
5084 | * crtstuff.c: Restore include of auto-host.h. | |
5085 | ||
aa5b94de FH |
5086 | 2001-03-05 Fergus Henderson <fjh@cs.mu.oz.au> |
5087 | ||
5088 | Put main() in a separate file, so that the language | |
5089 | front-end can use a different main(). | |
5090 | ||
5091 | * main.c: New. | |
5092 | * toplev.c: (main): Rename as toplev_main. | |
5093 | * toplev.h: Declare toplev_main. | |
5094 | * Makefile.in (OBJS): add toplev.o. | |
5095 | (BACKEND): remove toplev.o, add main.o. | |
5096 | ||
04c8d9b9 NB |
5097 | 2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk> |
5098 | ||
5099 | * cppfiles.c (search_from): Special case the empty string. | |
5100 | ||
7868b4a2 NB |
5101 | 2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk> |
5102 | ||
5103 | * cppfiles.c (_cpp_execute_include): Don't make a null-terminated | |
5104 | copy of the filename. Don't use CPP_PREV_BUFFER. Don't call | |
5105 | strlen or strcpy; we already know the length. | |
5106 | (_cpp_compare_file_date): Similarly. | |
5107 | * cpphash.h (struct cpp_reader): Delete done_initialising. | |
5108 | (CPP_PREV_BUFFER): Delete. | |
5109 | * cppinit.c (cpp_start_read): Don't set done_initialising. | |
5110 | * cpplex.c (parse_string): Guarantee null-termination. | |
5111 | (_cpp_equiv_toklists): Remove. | |
5112 | * cpplib.c (glue_header_name): Null-terminate. | |
5113 | (do_line): Don't leak memory. | |
5114 | * cpplib.h (BT_WEAK): Delete. | |
5115 | * cppmain.c (cb_ident): Strings are now null-terminated. | |
5116 | ||
5117 | 2001-03-04 Laurynas Biveinis <lauras@softhome.net> | |
5118 | ||
5119 | * gcc.c (convert_filename): Append executable suffix | |
5120 | if NO_AUTO_EXE_SUFFIX is not defined. | |
5121 | * gcc.texi: Document NO_AUTO_EXE_SUFFIX. | |
5122 | * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX. | |
91c704c4 | 5123 | |
7e7be827 | 5124 | 2001-03-03 David O'Brien <obrien@FreeBSD.org> |
1f50aafb | 5125 | |
7e7be827 DB |
5126 | from 2000-09-06 Zack Weinberg <zack@wolery.cumb.org> |
5127 | * c-parse.gperf, c-gperf.h: Delete. | |
69f8cbfa ZW |
5128 | (c-gperf.h was accidently re-added to the CVS repo in the rev |
5129 | 1.16 commit by tromey) | |
7e7be827 | 5130 | |
e8408f25 NB |
5131 | 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk> |
5132 | ||
5133 | * cpplex.c (_cpp_lex_token): Don't warn about directives in | |
5134 | macro arguments when looking for the '('. | |
5135 | * cppmacro.c (funlike_invocation_p): Set parsing_args to | |
5136 | 2 when really parsing arguments; 1 when looking for '('. | |
5137 | Always restore the lexer position. | |
5138 | ||
1d67c69a NB |
5139 | 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk> |
5140 | ||
5141 | * longlong.h (umul_ppmm): Don't use a multiline string. | |
5142 | ||
f6242907 JDA |
5143 | 2001-03-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5144 | ||
5145 | * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef. | |
5146 | * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of | |
5147 | t_bool in declaration because pcc can't combine volatile with typedef | |
5148 | types. | |
5149 | ||
bf71a4f8 JH |
5150 | Sat Mar 3 19:47:13 CET 2001 Jan Hubicka <jh@suse.cz> |
5151 | ||
5152 | * i386.c (ix86_expand_fp_compare): Delay creating of scratch register | |
5153 | until when it is really needed. | |
5154 | (ix86_expand_compare): Update call of ix86_expand_fp_compare. | |
5155 | * i386.h (PREDICATE_CODES): Add all codes for sse_comparison_operator | |
5156 | * i386.md (float?i?f splitter): Don't force source operand to memory | |
5157 | for SSE. | |
5158 | (sse_movdfcc): Fix constraint. | |
5159 | (sse_movdfcc splitter): Handle properly the second alternative. | |
5160 | ||
795a25f4 NB |
5161 | 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk> |
5162 | ||
20f9202d | 5163 | * cpplex.c (parse_string): Unconditionally pedwarn. |
795a25f4 | 5164 | |
c691145a NB |
5165 | 2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk> |
5166 | ||
20f9202d | 5167 | * cpp.texi: Update. |
1f50aafb | 5168 | * cppexp.c (parse_number): Update. |
20f9202d DB |
5169 | * cpplex.c (parse_string): Pedwarn if multiline string does not |
5170 | result from a system header's macro. | |
5171 | * cpplib.h (sys_objmacro_p): Rename sys_macro_p. | |
5172 | * cppmacro.c (sys_objmacro_p): Rename sys_macro_p. Return true | |
5173 | for function-like macros too. | |
c691145a NB |
5174 | * c-lex.c (lex_number): Update. |
5175 | ||
e7f4d38a RH |
5176 | 2001-03-03 Richard Henderson <rth@redhat.com> |
5177 | ||
5178 | * dwarf2out.c (output_call_frame_info): Fix augmentation length. | |
5179 | ||
5dd3e650 R |
5180 | Sat Mar 3 04:17:17 2001 J"orn Rennecke <amylaar@redhat.com> |
5181 | ||
5182 | * combine.c (try_combine): If split with mode-changed scratch | |
5183 | register didn't work, try the original mode. | |
5184 | ||
31a02448 R |
5185 | Sat Mar 3 03:46:47 2001 J"orn Rennecke <amylaar@redhat.com> |
5186 | ||
5187 | * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK. | |
5188 | * config/c4x/c4x.h: Likewise. | |
5189 | * stor-layout.c (compute_record_mode): Likewise. | |
5190 | (layout_type, case ARRAY_TYPE): Use MEMBER_TYPE_FORCES_BLK. | |
5191 | ||
eaf4e618 ZW |
5192 | 2001-03-02 Zack Weinberg <zackw@stanford.edu> |
5193 | ||
5194 | * configure.in: Kill tm.h. Include the files in the $tm_file | |
5195 | list in all three of config.h, hconfig.h, tconfig.h, after the | |
5196 | relevant set of xm_files. Put TARGET_CPU_DEFAULT in all | |
5197 | three, include insn-codes.h in all three (#ifndef GENERATOR_FILE). | |
5198 | * configure: Regenerate. | |
5199 | * Makefile.in (clean): Don't delete tm.h. | |
5200 | ||
5201 | * system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not | |
5202 | defined, set them from EXIT_SUCCESS and EXIT_FAILURE. If | |
5203 | those are not defined, set SEC and FEC to 0 and 1. | |
5204 | * gcc.texi: Update to match. | |
5205 | ||
5206 | * crtstuff.c: Include tconfig.h, not auto-host.h and tm.h. | |
5207 | * config/fp-bit.c, config/m68k/aux-crt2.asm, | |
5208 | config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c: | |
5209 | Include tconfig.h, not tm.h. | |
5210 | ||
5211 | * config/xm-lynx.h, config/xm-std32.h, | |
5212 | config/a29k/xm-a29k.h, config/a29k/xm-unix.h, | |
5213 | config/alpha/xm-alpha.h, config/arc/xm-arc.h, | |
5214 | config/avr/xm-avr.h, config/c4x/xm-c4x.h, | |
5215 | config/clipper/xm-clix.h, config/convex/xm-convex.h, | |
5216 | config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, | |
5217 | config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h, | |
5218 | config/h8300/xm-h8300.h, config/i370/xm-linux.h, | |
5219 | config/i386/xm-i386.h, config/i860/xm-i860.h, | |
5220 | config/i960/xm-i960.h, config/ia64/xm-ia64.h, | |
5221 | config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h, | |
5222 | config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, | |
5223 | config/mips/xm-mips.h, config/mn10200/xm-mn10200.h, | |
5224 | config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h, | |
5225 | config/pa/xm-linux.h, config/pa/xm-pa.h, | |
5226 | config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, | |
5227 | config/pa/xm-papro.h, config/pdp11/xm-pdp11.h, | |
5228 | config/pj/xm-pj.h, config/romp/xm-romp.h, | |
5229 | config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h, | |
5230 | config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, | |
5231 | config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h, | |
5232 | config/v850/xm-v850.h, config/vax/xm-vax.h, | |
5233 | config/we32k/xm-we32k.h: | |
5234 | Don't include tm.h. | |
5235 | Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE. | |
5236 | ||
5237 | * config/i370/xm-i370.h, config/i370/xm-mvs.h, | |
5238 | config/i370/xm-oe.h: Don't include tm.h. Don't define | |
5239 | SUCCESS_EXIT_CODE. | |
5240 | * config/vax/xm-vms.h: Don't include tm.h. | |
5241 | ||
5242 | * config/xm-lynx.h, config/avr/xm-avr.h, | |
5243 | config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h, | |
5244 | Delete; made empty by above changes. | |
5245 | * config/i386/xm-lynx.h, config/m68k/xm-lynx.h, | |
5246 | config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h: | |
5247 | Don't include config/xm-lynx.h or tm.h. | |
5248 | ||
5249 | * config/xm-gnu.h: Don't include fcntl.h. | |
5250 | * config/sparc/xm-lynx.h: Don't include sys/types.h and | |
5251 | sys/wait.h. | |
5252 | * config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf. | |
5253 | ||
1a7519ff RH |
5254 | 2001-03-02 Richard Henderson <rth@redhat.com> |
5255 | ||
5256 | * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP, | |
5257 | UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP. | |
5258 | ||
2e4b9b8c RH |
5259 | 2001-03-02 Richard Henderson <rth@redhat.com> |
5260 | ||
5261 | * Makefile.in (OBJS): Add dwarf2asm.o. | |
5262 | * dwarf2asm.c, dwarf2asm.h: New files. | |
5263 | * dwarf2out.c (*): Use them. | |
5264 | (size_of_uleb128, size_of_sleb128): Remove. | |
5265 | (output_uleb128, output_sleb128): Remove. | |
5266 | (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove. | |
5267 | (UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove. | |
5268 | (UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove. | |
5269 | (FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New. | |
5270 | (ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove. | |
5271 | (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove. | |
5272 | (ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove. | |
5273 | (ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove. | |
5274 | (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove. | |
5275 | (ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove. | |
5276 | (ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove. | |
5277 | (ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove. | |
5278 | (ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove. | |
5279 | (dwarf2out_frame_debug): Remove unused variables. | |
5280 | (output_loc_operands): Don't abort on 8 byte constants if | |
5281 | host integers are wide enough. | |
5282 | (output_symbolic_ref): Remove. | |
5283 | (size_of_die): Don't assume 4 byte host integers. | |
5284 | (output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin | |
5285 | and end labels. | |
5286 | (add_const_value_attribute) [CONST_INT]: Verify we're not doing | |
5287 | something stupid with HOST_WIDE_INT to long truncation. | |
5288 | [CONST_DOUBLE]: Likewise. | |
5289 | ||
5290 | * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove. | |
5291 | (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove. | |
5292 | * config/arm/unknown-elf.h: Likewise. | |
5293 | * config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New. | |
5294 | (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
5295 | (ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove. | |
5296 | (ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove. | |
5297 | (ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove. | |
5298 | (ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove. | |
5299 | (ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove. | |
5300 | (ASM_OUTPUT_DWARF_OFFSET): Remove. | |
5301 | * config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove. | |
5302 | * config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
5303 | (UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove. | |
5304 | (ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove. | |
5305 | ||
dc76f41c JDA |
5306 | 2001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5307 | ||
5308 | * cselib.c (hash_rtx): Cast enums to unsigned int. | |
5309 | ||
dbbbbf3b JDA |
5310 | 2001-03-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5311 | ||
5312 | * print-rtl.c (print_rtx): Cast enums to int for comparison. | |
5313 | * c-decl.c (grokdeclarator): Cast enums to int for comparison and | |
5314 | shifts. | |
5315 | * c-format.c (C_STD_VER): Cast to int for comparisons. | |
5316 | (check_function_format): Cast various enums to int for &. | |
5317 | (maybe_read_dollar_number): Likewise. | |
5318 | (check_format_info): Likewise. | |
5319 | (check_format_info_main): Likewise. | |
5320 | * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison. | |
5321 | (safe_from_p): Likewise. | |
5322 | * varasm.c (const_hash): Cast enum to int for %. | |
5323 | * emit-rtl.c (init_emit_once): Use int loop variable to work around | |
5324 | pcc enum problems with < and ++ operators. | |
5325 | * regclass.c (init_reg_sets_1): Cast enums for comparison. | |
5326 | (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes. | |
5327 | (regclass_init): Change enum class to int to iterate over reg_classes. | |
5328 | * genrecog.c (merge_trees): Cast enums for comparison. | |
5329 | * rtl.h (GET_CODE): Cast to enum rtx_code. | |
5330 | (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code). | |
5331 | (GET_MODE): Cast to enum machine_mode. | |
5332 | (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode). | |
5333 | (GET_NOTE_INSN_NAME): Cast enum to int. | |
5334 | * tree.h (TREE_CODE): Cast to enum tree_code. | |
5335 | (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code). | |
eaf4e618 | 5336 | * timevar.c (timevar_print): Change loop variable id from enum to |
dbbbbf3b JDA |
5337 | unsigned int. |
5338 | * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int. | |
5339 | * config/i386/i386.md: Use PUT_MODE for mode assignment. | |
5340 | * toplev.c (compile_file): Cast enum DFI to int. | |
5341 | (decode_d_option): Likewise. | |
5342 | ||
4737b274 CF |
5343 | Fri Mar 2 12:18:13 2001 Christopher Faylor <cgf@cygnus.com> |
5344 | ||
5345 | * cppinit.c (append_include_chain): Mark "after" include file name list | |
5346 | as a system directory. | |
5347 | * cpp.texi: Document new behavior. | |
5348 | ||
68af29ce JH |
5349 | Fri Mar 2 11:59:43 CET 2001 Jan Hubicka <jh@suse.cz> |
5350 | ||
5351 | * ifcvt.c (noce_operand_ok): Handle properly unarry operations. | |
5352 | ||
591e15a1 NB |
5353 | 2001-03-02 Neil Booth <neil@daikokuya.demon.co.uk> |
5354 | ||
eaf4e618 ZW |
5355 | * cppfiles.c (struct include_file): Update. |
5356 | (stack_include_file): Use search_from. | |
5357 | (cpp_included, find_include_file): Update. | |
5358 | (cpp_execute_include): Update. ptr->name may not be | |
5359 | null terminated. Use the new search_from member variable | |
5360 | of cpp_buffer. | |
5361 | (_cpp_compare_file_date): Similarly. | |
5362 | (search_from): New function, similiar to actual_directory. | |
5363 | (actual_directory): Delete. | |
5364 | (remap_filename): Update. loc->name may not be null terminated. | |
5365 | (struct file_name_list): Rename search_path. Update. | |
5366 | * cpphash.h (struct cpp_buffer): Delete actual_dir. New members | |
5367 | search_from and dir. | |
5368 | (struct cpp_reader): Remove actual_dirs. | |
5369 | * cppinit.c (struct cpp_pending): Update for renamed objects. | |
5370 | (append_include_chain, remove_dup_dir, remove_dup_dirs, | |
5371 | merge_include_chains, cpp_destroy, cpp_start_read): Similarly. | |
5372 | * cpplib.h (struct cpp_options): Similarly. | |
591e15a1 | 5373 | |
d6edb99e ZW |
5374 | 2001-03-01 Zack Weinberg <zackw@stanford.edu> |
5375 | ||
5376 | * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h, | |
5377 | config/a29k/xm-unix.h, config/alpha/xm-alpha.h, | |
5378 | config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h, | |
5379 | config/clipper/xm-clix.h, config/convex/xm-convex.h, | |
5380 | config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, | |
5381 | config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h, | |
5382 | config/h8300/xm-h8300.h, config/i370/xm-i370.h, | |
5383 | config/i370/xm-linux.h, config/i370/xm-mvs.h, | |
5384 | config/i370/xm-oe.h, config/i386/xm-aix.h, | |
5385 | config/i386/xm-i386.h, config/i386/xm-osf.h, | |
5386 | config/i860/xm-i860.h, config/i960/xm-i960.h, | |
5387 | config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, | |
5388 | config/m68k/xm-m68k.h, config/m88k/xm-m88k.h, | |
5389 | config/mcore/xm-mcore.h, config/mips/xm-mips.h, | |
5390 | config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h, | |
5391 | config/ns32k/xm-ns32k.h, config/pa/xm-linux.h, | |
5392 | config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, | |
5393 | config/pa/xm-pahpux.h, config/pa/xm-papro.h, | |
5394 | config/pj/xm-pj.h, config/romp/xm-romp.h, | |
5395 | config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h, | |
5396 | config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, | |
5397 | config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h, | |
5398 | config/v850/xm-v850.h, config/vax/xm-vax.h, | |
5399 | config/vax/xm-vms.h, config/we32k/xm-we32k.h: | |
5400 | Do not define TRUE or FALSE. | |
5401 | ||
5402 | * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made | |
5403 | empty by above change. | |
5404 | * config.gcc: Remove references to these files. | |
5405 | ||
5406 | * configure.in: Detect stdbool.h. | |
5407 | * configure, config.in: Regenerate. | |
eaf4e618 | 5408 | * system.h: Include stddef.h here if available. |
d6edb99e ZW |
5409 | Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__. |
5410 | Then set up a sensible boolean type at the very end. | |
5411 | ||
5412 | * combine.c, cse.c, expr.c, fold-const.c, gensupport.c, | |
5413 | config/mcore/mcore.c: Rename variables named 'true' and/or 'false'. | |
5414 | ||
5415 | * hash.h: Delete 'boolean' typedef and related #undefs. | |
5416 | ||
5417 | * function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace | |
5418 | all uses of 'boolean' with 'bool'. | |
5419 | ||
37b8524c JDA |
5420 | 2001-03-01 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5421 | ||
5422 | * cpplib.c (_cpp_init_stacks): Cast enum for comparison. | |
5423 | * cppexp.c (lex): Cast enums for comparison. | |
5424 | * cppinit.c (parse_option): Cast enum for comparison. | |
5425 | * cpplex.c (cpp_spell_token): Cast enums to int for minus. | |
5426 | (cpp_output_token): Likewise. | |
5427 | (cpp_can_paste): Cast enums for comparsion and plus/minus. | |
5428 | (cpp_avoid_paste): Cast enums for minus and comparison. | |
5429 | ||
f7143427 ZW |
5430 | 2001-03-01 Zack Weinberg <zackw@stanford.edu> |
5431 | ||
5432 | * gcc.c, objc/lang-specs.h: Add zero initializer for cpp_spec | |
5433 | field to all array elements. | |
5434 | ||
cb773845 ZW |
5435 | 2001-03-01 Zack Weinberg <zackw@stanford.edu> |
5436 | ||
5437 | * cpphash.h (struct cpp_reader): Add print_version field. | |
5438 | * cppinit.c (cpp_handle_option): For -v, -version, and --version, | |
5439 | just set print_version and other flags as appropriate. | |
5440 | (cpp_post_options): Print version here if print_version is set. | |
5441 | ||
5442 | * toplev.c (exit_after_options): New flag. | |
5443 | (independent_decode_option): Don't exit here; just set | |
5444 | exit_after_options. | |
5445 | (main): Exit after calling lang_hooks.post_options if | |
5446 | exit_after_options is true. | |
5447 | ||
5448 | * cppinit.c (append_include_chain): Drop never-used case QUOTE. | |
5449 | (merge_include_chains): Adjust comment to match code. | |
5450 | ||
71b7be38 ZW |
5451 | 2001-03-01 Zack Weinberg <zackw@stanford.edu> |
5452 | ||
5453 | * stringpool.c (set_identifier): New function. | |
5454 | * tree.h: Prototype it. | |
5455 | ||
5456 | * c-parse.in: Kill D_YES. If compiled for objc, call | |
5457 | save_and_forget_protocol_qualifiers from init_reswords. | |
5458 | * objc/objc-act.c (remember_protocol_qualifiers, | |
5459 | forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD. | |
5460 | Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or | |
5461 | vice versa. | |
5462 | (save_and_forget_protocol_qualifiers): New function. | |
5463 | * c-lex.h: Prototype save_and_forget_protocol_qualifiers. | |
5464 | ||
5aa709ad DN |
5465 | 2001-03-01 Diego Novillo <dnovillo@redhat.com> |
5466 | ||
5467 | * c-semantics.c (prune_unused_decls): Return error_mark_node | |
5468 | instead of (tree) 1 to stop traversing the tree chain. | |
5469 | ||
791f5e8d BS |
5470 | 2001-03-01 Bernd Schmidt <bernds@redhat.com> |
5471 | ||
5472 | Fix a problem introduced by Kenner's Feb 18 change. | |
5473 | * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and | |
5474 | flag_cse_skip_blocks only temporarily, not for ever. | |
5475 | ||
9c1eed37 JL |
5476 | Thu Mar 1 09:49:58 2001 Jeffrey A Law (law@cygnus.com) |
5477 | ||
913553ce JL |
5478 | * config/pa/som.h (ASM_IDENTIFY_GCC): Define. |
5479 | (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise. | |
5480 | ||
9c1eed37 JL |
5481 | * pa.c (emit_move_sequence): Verify operand0 is a hard register |
5482 | before determining its register class. | |
5483 | ||
21e4c9a8 BS |
5484 | 2001-03-01 Bernd Schmidt <bernds@redhat.com> |
5485 | ||
8cb71435 BS |
5486 | * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming |
5487 | from reg 4 if current_function_calls_setjmp. | |
7a87c39c BS |
5488 | (gen_nop_type): New function. |
5489 | (ia64_emit_nops): New function. | |
5490 | (ia64_reorg): Call it. | |
2d1b811d | 5491 | (ia64_sched_reorder): Move code that rotates bundles up a bit. |
8cb71435 | 5492 | |
1abdf5e7 BS |
5493 | * reload1.c (eliminate_regs_in_insn): Restrict the special case |
5494 | code not to try to optimize adds with anything but a REG destination. | |
5495 | ||
21e4c9a8 BS |
5496 | * sched-int.h (struct haifa_insn_data): Add new member priority_known. |
5497 | (INSN_PRIORITY_KNOWN): New accessor macro. | |
5498 | * haifa-sched.c (priority): Use it instead of testing priority against | |
5499 | zero. | |
5500 | ||
d676911f DD |
5501 | 2001-02-28 DJ Delorie <dj@redhat.com> |
5502 | ||
5503 | * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes, | |
5504 | since that doesn't work the way gcc wants on a generic m68k. | |
5505 | ||
d448e3e9 RH |
5506 | 2001-02-28 Richard Henderson <rth@redhat.com> |
5507 | ||
5508 | * caller-save.c (save_call_clobbered_regs): Fix typo in | |
5509 | comparison last change. | |
5510 | ||
b4e89e2d JH |
5511 | Wed Feb 28 19:31:42 CET 2001 Jan Hubicka <jh@suse.cz> |
5512 | ||
5513 | * i386.c (pentium4_cost): New. | |
5514 | (m_PENT4): New macro. | |
5515 | (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf | |
5516 | x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8 | |
5517 | x86_integer_DFmode_moves, x86_partial_reg_dependency, | |
5518 | x86_memory_mismatch_stall): Add Pentium4 | |
5519 | (x86_use_q_reg, x86_use_any_reg): Kill. | |
5520 | (override_options): Add pentium4. | |
5521 | (incdec_operand): Return 0 for pentium4. | |
5522 | (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON. | |
5523 | * i386.h (x86_use_q_reg, x86_use_any_reg): Kill. | |
5524 | (TARGET_PENTIUM4): Define. | |
5525 | (enum processor_type): Add PROCESSOR_PENTIUM4. | |
5526 | (CPP_CPU_DEFAULT_SPEC): Add pentium4 support. | |
5527 | * i386.md (attribute "cpu"): Add pentium4. | |
5528 | * invoke.texi (march): Add pentium4. | |
5529 | ||
0073023d JH |
5530 | Wed Feb 28 19:28:06 CET 2001 Jan Hubicka <jh@suse.cz> |
5531 | ||
5532 | * i386.md (sse_mov?fcc*): New patterns and splitters. | |
5533 | * i386.c (ix86_expand_movcc): Work post-reload; recognize | |
5534 | the SSE based conditional moves. | |
5535 | ||
2b04e52b JH |
5536 | Wed Feb 28 19:18:23 CET 2001 Jan Hubicka <jh@suse.cz> |
5537 | ||
5538 | * i386.md (attribute mode): Add "TI". | |
5539 | (movsf_1): Add pxor support; remove constant propagation splitter. | |
5540 | (movdf_integer): Likewise. | |
5541 | (movdf_nointeger): Likewise. | |
5542 | (movxf constant prop splitter): Handle all modes; update for SSE. | |
5543 | * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants. | |
5544 | * i386.c (standard_80387_constant_p): Rewrite. | |
5545 | (standard_sse_constant_p): New. | |
5546 | * i386-protos.h (standard_sse_constant_p): New. | |
5547 | ||
a46d1d38 JH |
5548 | Wed Feb 28 19:05:37 CET 2001 Jan Hubicka <jh@suse.cz> |
5549 | ||
5550 | * i386.md (sse_setccsf, sse_setccdf): New. | |
5551 | (sse_cmp* patterns): Use '%D' instead of outputtting condition | |
5552 | flag directly. | |
5553 | * i386.c (sse_comparison_operator): Accept the supported unordered | |
5554 | comparses; be ready for fast_math. | |
5555 | (print_operand): Support 'D'. | |
5556 | ||
91afe941 JH |
5557 | Wed Feb 28 18:54:51 CET 2001 Jan Hubicka <jh@suse.cz> |
5558 | ||
5559 | * jump.c (reversed_comparison_code): Kill. | |
5560 | ||
6f45f005 JH |
5561 | Wed Feb 28 18:50:15 CET 2001 Jan Hubicka <jh@suse.cz> |
5562 | ||
5563 | * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally | |
5564 | for STACK_REGS | |
5565 | ||
c679d048 JH |
5566 | Wed Feb 28 18:47:37 CET 2001 Jan Hubicka <jh@suse.cz> |
5567 | ||
5568 | * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions; | |
5569 | add missing '%' in constraints. | |
5570 | ||
4ae31003 JH |
5571 | Wed Feb 28 17:24:24 CET 2001 Jan Hubicka <jh@suse.cz> |
5572 | ||
5573 | * c-common.c (build_common_tree_nodes): Build intTI_type_nodes | |
5574 | for HOST_BITS_PER_WIDE_INT == 32 too. | |
5575 | ||
787dc842 JH |
5576 | Wed Feb 28 17:22:35 CET 2001 Jan Hubicka <jh@suse.cz> |
5577 | ||
5578 | * caller-save.c (reg_save_code, reg_restore_code): Index by mode, not | |
5579 | NREGS. | |
5580 | (insert_save, insert_restore): New parameter save_mode. | |
5581 | (init_caller_save): Update initialization of reg_save_code | |
5582 | and reg_restore_code. | |
5583 | (save_call_clobbered_regs): Compute save_modes and update calls to | |
5584 | reg_save_code and reg_restore_code. | |
5585 | (insert_restore): Unsignetize numbers; use save_modes to choose mode | |
5586 | of spill; update use of reg_restore_code. | |
5587 | (insert_save): Likewise. | |
5588 | * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update. | |
5589 | * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update. | |
5590 | * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise. | |
5591 | ||
5592 | Wed Feb 28 17:19:28 CET 2001 Jan Hubicka <jh@suse.cz> | |
dc2698bc JH |
5593 | |
5594 | * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants, | |
5595 | noce_try_store_flag_inc, noce_try_store_flag_mask, | |
5596 | noce_try_cmove_arith): | |
5597 | Use reversed_comparison_code instead of reverse_comparison and | |
5598 | can_reverse_comparison_p. | |
5599 | ||
2450703c JH |
5600 | Wed Feb 28 17:17:29 CET 2001 Jan Hubicka <jh@suse.cz> |
5601 | ||
5602 | * jump.c (reversed_comparison_code_parts): Allow reversal of | |
5603 | unordered compares in -ffast-math mode; reverse ordered compares | |
5604 | for FP even w/o -ffast-math. | |
5605 | ||
25cff714 RH |
5606 | 2001-02-27 Richard Henderson <rth@redhat.com> |
5607 | ||
5608 | * print-rtl.c (print_rtx) [i]: Don't print field five on | |
5609 | NOTEs other than NOTE_INSN_DELETED_LABEL. | |
5610 | ||
26029fe2 ZW |
5611 | 2001-02-27 Zack Weinberg <zackw@stanford.edu> |
5612 | ||
5613 | * mips/xm-iris4.h: Delete #if 0 block (there since before 1997). | |
5614 | * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno. | |
5615 | ||
87aee676 DN |
5616 | 2001-02-27 Diego Novillo <dnovillo@redhat.com> |
5617 | ||
5618 | * c-common.c (walk_stmt_tree): Visit the chain of the current tree | |
5619 | even if walk_subtrees is 0. | |
5620 | * c-semantics.c (prune_unused_decls): Return a non-null value to | |
5621 | stop traversing the tree chain. | |
5622 | ||
67935d3f DD |
5623 | 2001-02-27 DJ Delorie <dj@redhat.com> |
5624 | ||
5625 | * config/m68k/m68k.c (output_function_prologue): Save the new CFA | |
5626 | register, *then* define it as the new CFA. | |
5627 | ||
7ee72796 JL |
5628 | Tue Feb 27 16:49:13 2001 Jeffrey A Law (law@cygnus.com) |
5629 | ||
5630 | * pa.c (override_options): Promote -fpic to -fPIC. | |
5631 | (legitimize_pic_address): Simplify due to removal of | |
5632 | small PIC as a code generation option. | |
5633 | (secondary_reload_class): Similarly. | |
5634 | * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly. | |
5635 | (PRINT_OPERAND_ADDRESS): Similarly. | |
5636 | * pa.md (various patterns): Similarly. | |
5637 | (small pic lo_sum pattern): Remove. | |
5638 | ||
b71b019a JH |
5639 | Tue Feb 27 16:01:13 CET 2001 Jan Hubicka <jh@suse.cz> |
5640 | Fergus Henderson | |
5641 | ||
5642 | * md.texi (min, max): Document | |
d6edb99e | 5643 | |
79005df5 JH |
5644 | Tue Feb 27 15:51:35 CET 2001 Jan Hubicka <jh@suse.cz> |
5645 | ||
5646 | * i386.md (movsf, movdf): Use movaps for reg-reg moves if | |
5647 | TARGET_PARTIAL_REG_DEPENDENCY. | |
5648 | (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case. | |
5649 | ||
7ada6625 JH |
5650 | Tue Feb 27 15:36:48 CET 2001 Jan Hubicka <jh@suse.cz> |
5651 | ||
5652 | * i386.md (mins*, maxs*): New patterns, expanders and splitters. | |
5653 | ||
8bb3dc77 JO |
5654 | 2001-02-26 Jeffrey Oldham <oldham@codesourcery.com> |
5655 | ||
5656 | * mips.c (mips_make_temp_file): Fix thinko in last change. | |
5657 | ||
ac4cdf40 JE |
5658 | 2001-02-26 Jason Eckhardt <jle@redhat.com> |
5659 | ||
5660 | * combine.c (known_cond): Do not reverse the condition when | |
d6edb99e | 5661 | SMAX/UMAX is being considered and the condition is for equality |
ac4cdf40 JE |
5662 | or inequality. |
5663 | ||
5664 | * testsuite/gcc.c-torture/execute/20010221-1.c: New test. | |
5665 | ||
14879e76 PB |
5666 | 2001-02-26 Philip Blundell <philb@gnu.org> |
5667 | ||
5668 | * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and | |
5669 | "armv2-*-linux". | |
5670 | * config/arm/linux-elf.h: Remove historical relics related to | |
5671 | above configurations. | |
5672 | * config/arm/linux-oldld.h: Delete. | |
5673 | * config/arm/linux-elf26.h: Delete. | |
5674 | ||
8cf8d8a2 JM |
5675 | 2001-02-26 Jason Merrill <jason@redhat.com> |
5676 | ||
5677 | * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope | |
5678 | definitions. | |
5679 | * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to | |
5680 | recognize a tentative definition. Lose obsolete code. | |
5681 | ||
5682 | * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT | |
5683 | variables unless necessary, either. | |
5684 | ||
05cc23e8 RH |
5685 | 2001-02-25 Richard Henderson <rth@redhat.com> |
5686 | ||
5687 | * ifcvt.c (struct noce_if_info): Add test_bb. | |
5688 | (noce_get_alt_condition): New. | |
5689 | (noce_try_minmax, noce_try_abs): New. | |
5690 | (noce_operand_ok): New. | |
5691 | (noce_process_if_block): Use them. | |
5692 | * rtlanal.c (may_trap_p): NEG and ABS can never trap. | |
5693 | ||
052d4b6c CF |
5694 | Sun Feb 25 14:26:17 2001 Christopher Faylor <cgf@cygnus.com> |
5695 | ||
5696 | * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api | |
5697 | include. | |
5698 | ||
e1b71de9 ZW |
5699 | 2001-02-25 Zack Weinberg <zackw@stanford.edu> |
5700 | ||
5701 | * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd. | |
5702 | * config/mips/mips.c (mips_make_temp_file): Set temp_filename | |
5703 | properly. | |
5704 | (mips_asm_file_end): Free temp_filename here. | |
5705 | ||
4ddb47b3 RK |
5706 | Sun Feb 25 08:34:23 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5707 | ||
397be6cf RK |
5708 | * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl. |
5709 | * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo. | |
5710 | ||
4ddb47b3 RK |
5711 | * config/i386/i386.md (movstrsi): Handle FAIL case. |
5712 | ||
618cdda7 NB |
5713 | 2001-02-25 Neil Booth <neil@daikokuya.demon.co.uk> |
5714 | ||
05cc23e8 RH |
5715 | * cppinit.c (builtin_array): Update. |
5716 | (init_builtins): Flag builtins to warn if redefined or | |
5717 | undefined. Define __GXX_WEAK as a normal macro. | |
5718 | * cpplib.c (do_undef): Warn if flagged NODE_WARN. | |
5719 | * cpplib.h (NODE_WARN): New flag. | |
5720 | * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__. | |
5721 | Handle __STDC__ as a builtin only on Solaris. | |
5722 | (warn_of_redefinition): Renamed from check_macro_definition. | |
5723 | Reverse sense of test. Always warn if NODE_WARN. | |
5724 | (_cpp_create_definition): Use warn_of_redefinition. Flag | |
5725 | any macro beginning with "__STDC_" to require a mandatory | |
5726 | warning if redefined or undefined. | |
618cdda7 | 5727 | |
000b5f54 ZW |
5728 | 2001-02-24 Zack Weinberg <zackw@stanford.edu> |
5729 | ||
5730 | * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h, | |
5731 | i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h, | |
5732 | i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h, | |
5733 | i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h, | |
5734 | m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h, | |
5735 | mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h: | |
5736 | Don't define any of: | |
5737 | USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H, | |
5738 | P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS, | |
5739 | NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex, | |
5740 | index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK, | |
5741 | STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN. | |
5742 | ||
5743 | * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h, | |
5744 | fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro | |
5745 | definitions. | |
5746 | ||
5747 | * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h: | |
5748 | Delete now-empty file. | |
5749 | ||
5750 | * alpha/vms.h: Define NEED_ATEXIT here... | |
5751 | * alpha/xm-vms.h: ...not here. | |
5752 | ||
5753 | * i386/cygwin.h: Don't define PARAMS. | |
5754 | * mips/mips.c: Don't prototype mktemp. Don't define | |
5755 | P_tmpdir. Use make_temp_file to create temporary files. | |
5756 | Don't be clever and delete temporary files early. | |
5757 | * config.gcc: Drop references to deleted files. Don't define | |
5758 | FULL_PROTOTYPES. | |
5759 | * gcc.texi: Don't mention USE_PROTOTYPES. | |
5760 | ||
0e4970d7 RK |
5761 | Sat Feb 24 20:25:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5762 | ||
5763 | * config/i386/i386.c (ix86_set_move_mem_attrs): New function. | |
5764 | (ix86_set_move_mem_attrs_1): Likewise. | |
5765 | * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration. | |
5766 | * config/i386/i386.md (movstrsi): Call it. | |
5767 | ||
a59b81be ZW |
5768 | 2001-02-24 Zack Weinberg <zackw@stanford.edu> |
5769 | ||
5770 | * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd, | |
5771 | x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv, | |
5772 | ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas, | |
5773 | rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete. | |
5774 | ||
5775 | (i750a-*-*): Error here if hosting on i750a. | |
5776 | (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely. | |
5777 | ||
5778 | * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h: | |
5779 | Remove (empty modulo comments). | |
5780 | ||
5781 | * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h, | |
5782 | alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h, | |
5783 | i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h, | |
5784 | i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs, | |
5785 | mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas, | |
5786 | rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete) | |
5787 | ||
5788 | * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h: | |
5789 | Remove reference to winnt.h in comment. | |
5790 | * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null. | |
5791 | ||
c7b30677 FS |
5792 | 2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
5793 | ||
5794 | * loop.c (check_dbra_loop): A biv has uses besides counting if it is | |
5795 | used to set another biv. | |
5796 | ||
f900ecd8 RK |
5797 | Sat Feb 24 06:45:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5798 | ||
bd015d37 RK |
5799 | * tree.h (BLOCK_DEAD): New macro. |
5800 | (struct tree_block): New flag, dead_flag. | |
5801 | * print-tree.c (print_node, case 'b'): Print missing fields. | |
5802 | * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD. | |
5803 | * function.c (identify_blocks): Enable test for misplaced notes. | |
5804 | (all_blocks): Skip BLOCK_DEAD blocks. | |
5805 | * integrate.c (integrate_decl_tree): Likewise. | |
5806 | ||
f900ecd8 RK |
5807 | * errors.c (internal_error, trim_filename): New functions. |
5808 | (fancy_abort): Call internal_error. | |
5809 | * errors.h (internal_error, trim_filename): New declarations. | |
5810 | ||
0651fbc0 AO |
5811 | 2001-02-24 Alexandre Oliva <aoliva@redhat.com> |
5812 | ||
5813 | * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted | |
5814 | 2000-08-26's patch. | |
5815 | (EXTRA_CONSTRAINT): Formatting changes. | |
5816 | ||
5ea1bc0e KG |
5817 | 2001-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5818 | ||
5819 | * rtl.c (rtl_check_failed_code2): Fix typo in last change. | |
5820 | ||
1aed31b6 PB |
5821 | 2001-02-23 Per Bothner <per@bothner.com> |
5822 | ||
5823 | * gcc.c (record_temp_file, pfatal_with_name, error): Make non-static, | |
5824 | so they can be called from java/jvspec.c. | |
5825 | * gcc.h (record_temp_file, pfatal_with_name, error): Declare. | |
5826 | ||
4dd2ac2c JH |
5827 | Sat Feb 24 03:32:50 CET 2001 Jan Hubicka <jh@suse.cz> |
5828 | ||
5829 | * i386.c (ix86_frame): New structure. | |
5830 | (ix86_compute_frame_size): Kill. | |
5831 | (ix86_compute_frame_layout): New. | |
5832 | (ix86_save_reg): New. | |
5833 | (ix86_can_use_return_insn_p): Use frame layout stuff. | |
5834 | (ix86_expand_prologue): Likewise. | |
5835 | (ix86_expand_epilogue): Likewise. | |
5836 | (ix86_initial_elimination_offset): Likewise. | |
5837 | (ix86_nsaved_regs): Use ix86_save_reg. | |
5838 | (ix86_emit_save_regs): Likewise. | |
5839 | ||
a686dbf8 JH |
5840 | Sat Feb 24 03:30:38 CET 2001 Jan Hubicka <jh@suse.cz> |
5841 | ||
5842 | * flow.c (find_sub_basic_blocks): New function. | |
5843 | (split_block): Be ready for basic block introduced by CODE_LABEL. | |
5844 | (commit_one_edge_insertion): Call find_sub_basic_block. | |
5845 | ||
5846 | * flow.c (make_edges): Add edge from entry for blocks starting with | |
5847 | label having ALTERNATE_NAME | |
5848 | ||
016030fe JH |
5849 | Sat Feb 24 03:19:42 CET 2001 Jan Hubicka <jh@suse.cz> |
5850 | ||
5851 | * function.c (epilogue_done): Be ready for first basic block not | |
5852 | containing PROLOGUE_END note. | |
5853 | (reposition_prologue_and_epilogue_notes): Avoid placing | |
5854 | PROLOGUE_END note between BASIC_BLOCK. | |
5855 | ||
c9212f33 JH |
5856 | Sat Feb 24 03:17:09 CET 2001 Jan Hubicka <jh@suse.cz> |
5857 | ||
5858 | * loop.c (canonicalize_condition): Move to reversed_comparison_code. | |
5859 | ||
4f0a3098 DD |
5860 | 2001-02-21 DJ Delorie <dj@redhat.com> |
5861 | ||
5862 | * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of | |
5863 | check for current_function_has_nonlocal_goto from 1999-11-12. | |
5864 | ||
e82a84c4 RK |
5865 | Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5866 | ||
fce687f8 RK |
5867 | * diagnostic.c (trim_filename): No longer static. |
5868 | * toplev.h (trim_filename): Declare. | |
5869 | * rtl.c (rtl_check_failed_bounds): Call internal_error. | |
5870 | (rtl_check_failed_type1, rtl_check_failed_type2): Likewise. | |
5871 | (rtl_check_failed_code1, rtl_check_failed_code2): Likewise. | |
5872 | (rtvec_check_failed_bounds): Likewise. | |
5873 | * tree.c (tree_check_failed, tree_class_check_failed): Likewise. | |
5874 | ||
3cc247a8 RK |
5875 | * convert.c (convert_to_integer): Don't do unsigned unless result or |
5876 | both inputs are unsigned. | |
5877 | ||
ac50176d RK |
5878 | * fold-const.c (fold_convert): Don't call size_int_type_wide if |
5879 | input overflows. | |
5880 | ||
9b58f739 RK |
5881 | * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK. |
5882 | ||
e82a84c4 RK |
5883 | * varasm.c (output_constant): Recompute CODE after lang-specific fn. |
5884 | ||
d5d063d7 JO |
5885 | 2001-02-23 Jeffrey Oldham <oldham@codesourcery.com> |
5886 | ||
5887 | * Makefile.in (resource.o): Add params.h dependence. | |
5888 | * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter. | |
5889 | * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise. | |
5890 | * resource.c: Add dependence on params.h. | |
5891 | (current_live_regs): Fix explanatory comment. | |
5892 | (find_basic_block): Add new parameter to permit limiting search | |
5893 | for a BARRIER. | |
5894 | (mark_target_live_regs): Add new argument to find_basic_block call. | |
5895 | (incr_ticks_for_insn): Likewise. | |
5896 | ||
3d7c9b7e GDR |
5897 | 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
5898 | ||
5899 | * diagnostic.c (output_to_stream): Rename to | |
5900 | output_buffer_to_stream. Loses the stream parameter. | |
5901 | (init_output_buffer): Set diagnosic_buffer's stream. | |
5902 | (flush_diagnostic_buffer): Adjust. | |
5903 | (default_print_error_function): Likewise. | |
5904 | (finish_diagnostic): Likewise. | |
5905 | (verbatim): Likewise. | |
5906 | ||
5907 | * diagnostic.h (struct output_buffer): Add `stream' field. | |
5908 | (output_buffer_attached_stream): New macro. | |
5909 | ||
fba2c0cd JJ |
5910 | 2001-02-23 Jakub Jelinek <jakub@redhat.com> |
5911 | ||
5912 | * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR, | |
5913 | check if either operand is divisible by C. | |
5914 | (multiple_of_p): Handle LSHIFT_EXPR with small constant shift. | |
5915 | If type is signed, consider negative numbers as well. | |
5916 | ||
515edc9b RH |
5917 | 2001-02-22 Richard Henderson <rth@redhat.com> |
5918 | ||
5919 | * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to | |
5920 | reach .text instead of gp-relative relocs. | |
5921 | * config/ia64/crtend.asm (.init): Likewise. | |
5922 | ||
3844cd2e AJ |
5923 | 2001-02-22 Andreas Jaeger <aj@suse.de> |
5924 | ||
5925 | * extend.texi (C++ Attributes): Fix typo. | |
5926 | ||
3f67ac08 DM |
5927 | 2001-02-21 David Mosberger <davidm@hpl.hp.com> |
5928 | ||
5929 | * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage | |
5930 | functions, drop current_function_args_info.words test. | |
5931 | (ia64_compute_frame_size): Mark syscall_linkage functions as | |
5932 | using eight input registers. | |
5933 | ||
89647e8a LR |
5934 | 2001-02-21 Loren J. Rittle <ljrittle@acm.org> |
5935 | Bruce Korb <bkorb@gnu.org> | |
5936 | ||
5937 | * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix | |
5938 | * fixinc/README: Document how to convert sed substitutions | |
5939 | to format style c_fix-es. | |
5940 | * fixinc/fixincl.x: regen | |
5941 | ||
e889f41a JO |
5942 | 2001-02-21 Jeffrey D. Oldham <oldham@codesourcery.com> |
5943 | ||
5944 | * gcc.c: Add comment explaining how to add a command-line option. | |
5945 | Add title to specs language comment. | |
5946 | ||
7521b913 JO |
5947 | 2001-02-21 Jeffrey Oldham <oldham@codesourcery.com> |
5948 | ||
5949 | * gcc.c (cc1_options): Add "-param". | |
5950 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise. | |
5951 | (option_map): Likewise. | |
5952 | * toplev.c (display_help): Add entry for "--param". | |
5953 | (independent_decode_option): Fix typographical error. | |
5954 | ||
82a127a9 CM |
5955 | Wed Feb 21 18:57:28 CET 2001 Catherine Moore <clm@redhat.com> |
5956 | Bernd Schmidt <bernds@redhat.com> | |
5957 | Jan Hubicka <jh@suse.cz> | |
5958 | ||
a59b81be | 5959 | * i386.c (function_arg_advance): Pass SSE arguments in registers. |
82a127a9 CM |
5960 | (function_arg): Likewise. |
5961 | ||
2b71bf37 JH |
5962 | Wed Feb 21 18:12:41 CET 2001 Jan Hubicka <jh@suse.cz> |
5963 | ||
5964 | * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec. | |
5965 | ||
eb57ffec KH |
5966 | 2001-02-21 Kazu Hirata <kazu@hxi.com> |
5967 | ||
5968 | * config/h8300/h8300.md (iorsi3): Do not output an extra newline | |
5969 | character. | |
5970 | (xorsi3): Likewise. | |
5971 | ||
ccfce8d2 JH |
5972 | Wed Feb 21 17:35:24 CET 2001 Jan Hubicka <jh@suse.cz> |
5973 | ||
5974 | * flow.c (init_propagate_block_info): Canon address and use single_set | |
5975 | for killing dead memory stores. | |
5976 | ||
0443f602 JO |
5977 | 2001-02-21 Jeffrey Oldham <oldham@codesourcery.com> |
5978 | ||
5979 | * Makefile.in (reorg.o): Add params.h dependence. | |
5980 | * params.def: Fix typographical error in comment. | |
5981 | (MAX_DELAY_SLOT_INSN_SEARCH): New parameter. | |
5982 | * params.h: Modify introductory comment. | |
5983 | (MAX_DELAY_SLOT_INSN_SEARCH): New parameter. | |
5984 | * reorg.c: Add dependence on params.h. | |
5985 | (redundant_insn): Add parameterized throttle for search. | |
5986 | (fill_simple_delay_slots): Add a comment explaining a variable. | |
5987 | Move conditional out of loop, simplifying code. | |
5988 | (fill_eager_delay_slots): Fix typographical error in comment. | |
5989 | ||
7e6d8ba1 AH |
5990 | 2001-02-20 Aldy Hernandez <aldyh@redhat.com> |
5991 | ||
a59b81be | 5992 | * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation. |
7e6d8ba1 | 5993 | |
a59b81be ZW |
5994 | * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro. |
5995 | (REVERSE_CONDEXEC_PREDICATES_P): Define macro. | |
7e6d8ba1 | 5996 | |
5daf7c0a JM |
5997 | 2001-02-21 Jason Merrill <jason@redhat.com> |
5998 | ||
5999 | * tree.h (DECL_UNINLINABLE): Move from C++ frontend. | |
6000 | (struct tree_decl): Add uninlinable bitfield. | |
6001 | * c-decl.c (duplicate_decls): Set it. | |
6002 | * integrate.c (function_cannot_inline_p): Check it. | |
6003 | ||
3844cd2e | 6004 | * dwarf2out.c (add_name_and_src_coords_attributes): Don't add |
5daf7c0a JM |
6005 | DW_AT_MIPS_linkage_name to abstract methods. |
6006 | (dwarf2out_abstract_function): Emit class context before calling | |
6007 | set_decl_abstract_flags. Don't clear DECL_ABSTRACT. | |
6008 | (gen_subprogram_die): Remove obsolete code. | |
6009 | (gen_member_die): Don't include clones in the member list. | |
6010 | (gen_decl_die): Emit abstract info for clone origin. | |
6011 | * dwarfout.c (output_type): Don't include clones in the member list. | |
6012 | * dbxout.c (dbxout_type_methods): Ignore abstract methods. | |
6013 | * toplev.c (note_deferral_of_defined_inline_function): Don't clear | |
6014 | DECL_ABSTRACT on a function that already has it set. | |
6015 | ||
6016 | * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL. | |
6017 | (get_subprogram_die): Pass it in. | |
6018 | ||
3c88f366 RE |
6019 | 2001-02-21 Richard Earnshaw <rearnsha@arm.com> |
6020 | ||
6021 | * flow.c (mark_set_1): Make not_dead unsigned long. For | |
3844cd2e | 6022 | non-pseudos, use it as a bitmask of the hard regs that |
3c88f366 RE |
6023 | don't die. |
6024 | ||
373e2177 NB |
6025 | 2001-02-21 Neil Booth <neil@daikokuya.demon.co.uk> |
6026 | ||
a59b81be ZW |
6027 | * cppfiles.c: Update comments. |
6028 | (_cpp_read_file): Don't check for NULL filenames any more. | |
6029 | * cppinit.c (cpp_start_read): Don't do canonicalization of | |
6030 | in_fname and out_fname. Use the passed file name exclusively. | |
6031 | (_cpp_handle_options): Don't treat "-" as a command line option, | |
6032 | but as a normal filename. | |
6033 | (_cpp_post_options): Canonicalize in_fname and out_fname. | |
6034 | * cppmain.c (printer_init): Don't check out_fname for NULL. | |
6035 | * c-lex.c (orig_filename): Rename cpp_filename for clarity. | |
6036 | (init_c_lex): Update, and use "" to represent stdin to CPP. | |
6037 | (yyparse): Update. | |
373e2177 | 6038 | |
75beacf8 | 6039 | 2001-02-20 Will Cohen <wcohen@redhat.com> |
3844cd2e | 6040 | |
75beacf8 WC |
6041 | * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function. |
6042 | * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added. | |
6043 | (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for | |
6044 | fixunstfsi_libfunc. | |
6045 | ||
33011c35 SS |
6046 | 2001-02-20 Stan Shebs <shebs@apple.com> |
6047 | ||
6048 | * config/rs6000/rs6000.c (output_cbranch): Output branches | |
6049 | on separate lines instead of using ';' to separate. | |
6050 | ||
c740cee2 NB |
6051 | 2001-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
6052 | ||
a59b81be | 6053 | * cppinit.c (set_lang): Move builtin handling to... |
c740cee2 NB |
6054 | (init_builtins): ...here. |
6055 | (_cpp_create_reader): Move call to set_lang. | |
6056 | ||
c9407e4c MM |
6057 | 2001-02-20 Mark Mitchell <mark@codesourcery.com> |
6058 | ||
6059 | * stmt.c (expand_return): If an attempt is made to return the | |
6060 | error_mar_node, treat the return like a return without a value. | |
6061 | ||
cd5a58e5 ZW |
6062 | 2001-02-19 Zack Weinberg <zackw@stanford.edu> |
6063 | ||
6064 | * sibcall.c (skip_copy_to_return_value): Call | |
6065 | identify_call_return_value here, and return orig_insn if it | |
6066 | returns zero. Hardret and softret arguments now unnecessary. | |
6067 | (call_ends_block_p): Don't call identify_call_return_value here. | |
6068 | ||
6069 | * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or | |
6070 | 's' slots in RTXen. | |
6071 | * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function. | |
6072 | * ggc.h (ggc_mark_if_gcable): Delete prototype. | |
6073 | ||
f8eb41cc JL |
6074 | Mon Feb 19 20:30:16 2001 Jeffrey A Law (law@cygnus.com) |
6075 | ||
6076 | * pa.c (move_operand): Accept code to load the address of a | |
6077 | symbol out of the DLT as a valid move operand. | |
6078 | (print_operand, case 'A'): New to handle generating a DLT | |
6079 | reference for a LO_SUM expression. | |
6080 | * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references. | |
6081 | * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references. | |
6082 | ||
75393169 JM |
6083 | 2001-02-19 Joseph S. Myers <jsm28@cam.ac.uk> |
6084 | ||
6085 | * README, cpp.texi, gcc.texi, version.c: Update version number to | |
6086 | 3.1. | |
6087 | * cpp.1, gcov.1, gcc.1: Regenerate. | |
6088 | ||
51d0f328 NB |
6089 | 2001-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
6090 | ||
a59b81be ZW |
6091 | * cppfiles.c (stack_include_file): Generate dependencies |
6092 | here, and manage include_count here too. | |
6093 | (PRINT_THIS_DEP): Delete. | |
6094 | (_cpp_execute_include): Do not generate dependencies here, | |
6095 | apart from the case of a missing header. Do not manage | |
6096 | include_count. | |
6097 | (_cpp_read_file): Leave dependency generation to | |
6098 | stack_include_file. | |
51d0f328 | 6099 | |
c81460e4 JL |
6100 | Mon Feb 19 10:17:47 2001 Jeffrey A Law (law@cygnus.com) |
6101 | ||
6102 | * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to | |
6103 | target_cpu_default. Remove dead assignment to | |
6104 | target_cpu_default. | |
6105 | ||
6df26b8f JH |
6106 | Mon Feb 19 16:47:39 CET 2001 Jan Hubicka <jh@suse.cz> |
6107 | ||
6108 | * regclass.c (contains_reg_of_mode): Make global. | |
6109 | (init_reg_sets): Remove contains_reg_of_mode; take into account | |
6110 | CLASS_MAX_NREGS when looking for the proper mode. | |
6111 | (dump_regclass): Dump only classes considered for the pseudo. | |
6112 | (regclass): Use contains_reg_of_mode. | |
6113 | ||
4a88a060 JH |
6114 | Mon Feb 19 16:45:42 CET 2001 Jan Hubicka <jh@suse.cz> |
6115 | ||
6116 | * gcc.c (do_spec_1): 'n' for printing notices. | |
6117 | * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated. | |
6118 | ||
0eac0e81 JH |
6119 | Mon Feb 19 15:51:30 CET 2001 Jan Hubicka <jh@suse.cz> |
6120 | ||
6121 | * reg-stack.c (next_flags_user): Use current_block->end | |
6122 | (swap_rtx_condition): Look for next user if flags don't die; | |
6123 | give up on CALL_INSNs; use current_block->end. | |
6124 | ||
e5c617ff RK |
6125 | Mon Feb 19 08:27:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6126 | ||
6127 | * sibcall.c (call_ends_block_p): New function. | |
6128 | (optimize_sibling_and_tail_recursive_call): Use it. | |
6129 | ||
55de49e3 KH |
6130 | 2001-02-18 Kazu Hirata <kazu@hxi.com> |
6131 | ||
63a262f1 KH |
6132 | * config/h8300/h8300.md: Update copyright. |
6133 | (andsi3): Do not output an extra newline character. | |
55de49e3 | 6134 | |
48aba75b RK |
6135 | Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6136 | ||
6137 | * toplev.c (note_deferral_of_defined_inlined_function): Argument | |
6138 | FNDECL may be unused. | |
6139 | ||
6140 | * toplev.c (rest_of_compilation): Don't have CSE skip blocks or | |
6141 | follow jumps after first run. | |
6142 | If -fexpensive-optimizations rerun CSE after GCSE and iterate until | |
6143 | it doesn't change any jumps. | |
6144 | ||
3335f1d9 JL |
6145 | Sun Feb 18 17:05:50 2001 Jeffrey A Law (law@cygnus.com) |
6146 | ||
6147 | * Makefile.in (rtlanal.o): Depend on hard-reg-set.h. | |
6148 | ($HOST_PREFIX_1)rtlanal.o: Remove rules for building | |
6149 | (mostlyclean): Corresponding changes. | |
6150 | * rtlanal.c (hard-reg-set.h): Include. | |
6151 | (rtx_unstable_p): Do not treat the argument pointer specially | |
6152 | if it is not a fixed register. | |
6153 | (rtx_varies_p, rtx_addr_can_trap_p): Similarly. | |
6154 | ||
651a788e RK |
6155 | Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6156 | ||
021921d0 RK |
6157 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare |
6158 | against last real insn in basic block. | |
6159 | Rework to avoid gotos. | |
6160 | ||
fb0c0a12 RK |
6161 | * Makefile.in (gcse.o): Now includes ggc.h. |
6162 | * gcse.c: Include ggc.h. | |
6163 | (want_to_gcse_p): Verify expression can be in SET as valid insn. | |
6164 | (try_replace_reg): Remove warning of uninitialize variable. | |
6165 | (process_insert_insn): Call invalid_insn_p to validate insn. | |
6166 | * recog.c (insn_invalid_p): Now global. | |
6167 | See if can make valid by adding CLOBBERs of SCRATCH only and do if so. | |
6168 | * recog.h (insn_invalid_p): New declaration. | |
6169 | ||
d659de97 RK |
6170 | * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap. |
6171 | ||
3ec6f1a9 | 6172 | * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put |
20636516 | 6173 | assignments from FP constants since 'Y' output code can't handle it. |
3ec6f1a9 RK |
6174 | (eligible_for_sibcall_delay): Likewise. |
6175 | ||
63c499dc RK |
6176 | * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort. |
6177 | Call fancy_abort directly, passing args. | |
6178 | (print_rtl_and_abort): Now a macro, like fancy_abort. | |
6179 | ||
651a788e RK |
6180 | * final.c (output_operand_lossage): Use internal_error, not error. |
6181 | ||
71641c15 RH |
6182 | 2001-02-18 Shane Nay <shane@agendacomputing.com> |
6183 | ||
3844cd2e | 6184 | * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to |
71641c15 RH |
6185 | structure shift insns. |
6186 | ||
6187 | 2001-02-18 Mark Mitchell <mark@codesourcery.com> | |
8fa33dfa MM |
6188 | |
6189 | * invoke.texi (-fsquangle): Remove documentation. | |
6190 | (-fname-mangling-version): Likewise. | |
6191 | ||
e1078cfc LB |
6192 | 2001-02-18 Lars Brinkhoff <lars@nocrew.org> |
6193 | ||
6194 | * optabs.c (expand_abs): Remove reference to | |
6195 | HAVE_contitional_arithmetic. | |
6196 | * combine.c (simplify_set): Likewise. | |
6197 | ||
3bd24117 RH |
6198 | 2001-02-18 Richard Henderson <rth@redhat.com> |
6199 | ||
6200 | * ifcvt.c (dead_or_predicable): Don't move code if eh regions | |
6201 | would be disrupted. | |
6202 | ||
5cada064 RH |
6203 | 2001-02-18 Richard Henderson <rth@redhat.com> |
6204 | ||
31189758 RH |
6205 | * config/ns32k/ns32k.h (ADJSP): Upcase arguments. |
6206 | ||
e491fe9a RH |
6207 | * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name. |
6208 | ||
5cada064 RH |
6209 | * reload1.c (reload_cse_simplify_set): Fix typo. |
6210 | ||
751aa7cc RK |
6211 | Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6212 | ||
e28a09a4 RK |
6213 | * diagnostic.c (_fatal_insn): Decrement errorcount. |
6214 | ||
d0a5eb32 RK |
6215 | * invoke.texi (-I): Add note avoiding use for system header files. |
6216 | ||
751aa7cc RK |
6217 | * rtl.h (add_clobbers): Remove duplicate declaration. |
6218 | * recog.h (added_clobbers_hard_reg_p): New declaration. | |
6219 | * genemit.c (struct clobber_pat): New field has_hard_reg. | |
6220 | (gen_insn): Record if added clobbers clobber hard reg. | |
6221 | (gen_split): Avoid unused warning if number of operands is 0. | |
6222 | (output_added_clobbers_hard_reg_p): New function. | |
6223 | (main): Call it. | |
6224 | ||
4096479e AM |
6225 | 2001-02-18 Alan Modra <alan@linuxcare.com.au> |
6226 | ||
3844cd2e AJ |
6227 | * pa.c (hppa_expand_prologue): Simplify code storing return |
6228 | pointer. For large (>=8k) frames with a post_store, adjust stack | |
6229 | pointer by 8k-64 first rather than by 64. When testing with | |
6230 | VAL_14_BITS_P, always use the actual value rather than the value | |
6231 | negated. Add blockage to prevent scheduling of spills before | |
6232 | stack frame has been created. | |
6233 | (hppa_expand_epilogue): Simplify code loading return pointer. | |
6234 | Allow a slightly larger range for merge_sp_adjust_with_load case. | |
6235 | When testing with VAL_14_BITS_P, always use the actual value. | |
31d68947 | 6236 | |
4096479e AM |
6237 | * pa.c (pa_adjust_insn_length): Check that block move |
6238 | pattern is a set before looking at operands. | |
6239 | ||
9c2c54dc MM |
6240 | 2001-02-17 Mark Mitchell <mark@codesourcery.com> |
6241 | ||
68626d4f MM |
6242 | * fold-const.c (fold_binary_op_with_conditional_arg): New |
6243 | function, split out from ... | |
6244 | (fold): ... here. | |
6245 | * tree.def (COND_EXPR): Document the use of VOID_TYPE for | |
6246 | conditional arms that throw exceptions. | |
6247 | ||
9c2c54dc MM |
6248 | * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not |
6249 | looking at a BLOCK. | |
6250 | ||
7afe8c41 KG |
6251 | 2001-02-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6252 | ||
6253 | * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test, | |
6254 | define HAVE_DECL_* to 1 to mask potential backup declarations. | |
6255 | * configure: Regenerated. | |
6256 | ||
3747f3dc MM |
6257 | 2001-02-17 Mark Mitchell <mark@codesourcery.com> |
6258 | ||
6259 | * invoke.texi (-Woverloaded-virtual): Clarify documentation. | |
6260 | ||
78adc5a0 RH |
6261 | 2001-02-17 Richard Henderson <rth@redhat.com> |
6262 | ||
6263 | * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP | |
6264 | when replacing a memory load with a register. | |
6265 | ||
e2373f95 RK |
6266 | Sat Feb 17 14:48:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6267 | Jan Hubicka <jh@suse.cz> | |
6268 | ||
6269 | * recog.c (validate_replace_src_1): New. | |
6270 | (validate_replace_src_data): Likewise. | |
6271 | (validate_replace_src): Use note_uses. | |
6272 | * rtl.h (note_uses): Declare. | |
6273 | * rtlanal.c (note_uses): New. | |
6274 | ||
b00b2cc2 JH |
6275 | Sat Feb 17 10:52:34 CET 2001 Jan Hubicka <jh@suse.cz> |
6276 | ||
6277 | * reg-stack.c (stack_def): Make field reg unsigned. | |
6278 | (remove_regno_note): Unsignetize parameter. | |
6279 | ||
f5bbdc0c JS |
6280 | 2001-02-16 Jes Sorensen <jes@linuxcare.com> |
6281 | ||
6282 | * ia64.c (errata_emit_nops): Add VOIDmode as second argument to | |
6283 | shladd_operand() call. | |
6284 | ||
6ee71e49 | 6285 | 2001-02-16 Bruce Korb <bkorb@gnu.org> |
a59b81be | 6286 | Rodney Brown <RodneyBrown@mynd.com> |
6ee71e49 BK |
6287 | |
6288 | * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7. | |
6289 | * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching | |
6290 | machine restrictions | |
6291 | * fixinc/fixincl.x: regen | |
6292 | ||
f85cc4cb RK |
6293 | Fri Feb 16 12:41:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6294 | ||
172890a2 RK |
6295 | * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV. |
6296 | Don't CSE a nop. | |
6297 | (hash_scan_insn): Clean up calls to hash_scan_set. | |
6298 | (compute_kill_rd): REGNO now unsigned. | |
6299 | (try_replace_reg): Rework to use simplify_replace_rtx. | |
6300 | (cprop_jump, cprop_cc0_jump): Likewise. | |
6301 | (cprop_insn): Call find_reg_equal_equiv_note. | |
6302 | Reflect changes to cprop_jump and cprop_cc0_jump. | |
6303 | ||
d6447708 | 6304 | * recog.c (validate_replace_src): Replace in operands of |
b71e8e84 RK |
6305 | ZERO_EXTRACT in SET_DEST. |
6306 | ||
f85cc4cb RK |
6307 | * cse.c (new_label_ref): New variable. |
6308 | (insert): Set it instead of recorded_label_ref. | |
6309 | (cse_basic_block): Set recorded_label_ref if new_label_ref use, has | |
6310 | CODE_LABEL for this function, and not already in REG_LABEL note. | |
6311 | ||
f5df2e8c JO |
6312 | 2001-02-16 Jeffrey Oldham <oldham@codesourcery.com> |
6313 | ||
6314 | * resource.c (mark_referenced_resources): Fix typo in introductory | |
6315 | comment. | |
6316 | * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in | |
6317 | string constant. | |
6318 | ||
a901fa64 JM |
6319 | 2001-02-16 Jason Merrill <jason@redhat.com> |
6320 | ||
1edf43d6 JM |
6321 | * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is |
6322 | NULL. | |
3844cd2e | 6323 | (gen_subprogram_die): Don't abort on seeing a second definition if |
1edf43d6 JM |
6324 | the previous one was abstract. Don't replace an abstract instance |
6325 | in the lookup table. | |
6326 | ||
6327 | * dwarf2out.c (dwarf2out_abstract_function): Rename from | |
6328 | gen_abstract_function. | |
6329 | * dwarf2out.h: Declare it. | |
6330 | * toplev.c (note_outlining_of_inline_function): New fn. | |
6331 | * toplev.h: Declare it. | |
6332 | * integrate.c (output_inline_function): Call it. | |
6333 | * c-decl.c (duplicate_decls): Call it when redefining an extern | |
6334 | inline. Don't inline the new defn. | |
6335 | ||
a901fa64 JM |
6336 | * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK. |
6337 | ||
cc06d68c GP |
6338 | 2001-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
6339 | ||
6340 | * .gdbinit: Rename to gdbinit.in. | |
3844cd2e | 6341 | * gdbinit.in: New file, |
cc06d68c GP |
6342 | * configure.in: Generate .gdbinit from gdbinit.in. |
6343 | * configure: Regenerated. | |
6344 | * Makefile.in (distclean): Always remove .gdbinit. | |
6345 | ||
4f6bcad0 JJ |
6346 | 2001-02-16 Jakub Jelinek <jakub@redhat.com> |
6347 | ||
6348 | * objc/objc-act.c (start_class): Register implemented_classes with | |
6349 | GC. | |
6350 | ||
e4a345f8 NB |
6351 | 2001-02-16 Neil Booth <neil@daikokuya.demon.co.uk> |
6352 | ||
a59b81be ZW |
6353 | * cppfiles.c (_cpp_make_system_header): Generate a file |
6354 | change callback. | |
e4a345f8 | 6355 | |
fd48c9b5 | 6356 | 2001-02-15 Jim Meyering <meyering@lucent.com> |
e658449e | 6357 | |
fd48c9b5 DD |
6358 | * Makefile.in (install-common): Don't depend on installdirs here. |
6359 | Instead, make each of the lang.install-common targets (e.g., | |
6360 | c++.install-common in cp/Make-lang.in) depend on it. | |
e658449e JM |
6361 | (install-driver): Depend on installdirs. |
6362 | ||
d64236b4 RK |
6363 | Thu Feb 15 21:30:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6364 | ||
a8b94b40 RK |
6365 | * flow.c (tidy_fallthru_edge): Never end block on line number NOTE. |
6366 | ||
d64236b4 RK |
6367 | * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we |
6368 | do in memory. | |
6369 | ||
3af64fd6 MM |
6370 | 2001-02-15 Mark Mitchell <mark@codesourcery.com> |
6371 | ||
6372 | * invoke.texi (--param): Document. | |
6373 | ||
ba21a8a8 AO |
6374 | Thu Feb 15 15:16:38 2001 Alexandre Oliva <aoliva@redhat.com> |
6375 | ||
6376 | * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define. | |
6377 | ||
ff78d082 JH |
6378 | Thu Feb 15 10:52:31 CET 2001 Jan Hubicka <jh@suse.cz> |
6379 | ||
6380 | * i386.md (extendsfdf2_2): Fix constraints. | |
6381 | ||
2b66da3c JH |
6382 | Thu Feb 15 09:46:21 CET 2001 Jan Hubicka <jh@suse.cz> |
6383 | ||
6384 | * i386.md (fop_df_3 splitter): Fix operand number. | |
6385 | ||
266da7a2 JH |
6386 | Wed Feb 14 12:37:37 CET 2001 Jan Hubicka <jh@suse.cz> |
6387 | ||
6388 | * invoke.texi (-mreg-alloc): Nuke. | |
6389 | * i386.c (ix86_reg_alloc_order, regs_allocated, | |
6390 | order_regs_for_local_alloc): Nuke. | |
6391 | (override_options): Kill reg_alloc code. | |
6392 | * i386.h (TARGET_OPTIONS): Kill reg-alloc. | |
6393 | (REG_ALLOC_ORDER): SSE goes before I387. | |
6394 | (ORDER_REGS_FOR_LOCAL_ALLOC): Kill. | |
6395 | (ix86_reg_alloc_order): Likewise. | |
6396 | * i386-protos.h (ix86_reg_alloc_order): Kill. | |
6397 | ||
121bc96b RH |
6398 | 2001-02-14 Richard Henderson <rth@redhat.com> |
6399 | ||
6400 | * toplev.c (f_options): Clarify -fschedule-insns2 documentation. | |
6401 | ||
04b1a223 JH |
6402 | Wed Feb 14 11:59:58 CET 2001 Jan Hubicka <jh@suse.cz> |
6403 | ||
6404 | * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes | |
6405 | ||
fa79946e JH |
6406 | Wed Feb 14 11:12:38 CET 2001 Jan Hubicka <jh@suse.cz> |
6407 | ||
6408 | * i386-protos.h (ix86_memory_move_cost): Move offline. | |
6409 | * i386.c (ix86_register_move_cost): Compute properly cost of | |
6410 | SSE, MMX and i387 instructions. | |
6411 | (*_cost): Add costs of SSE/MMX moves. | |
6412 | (ix86_memory_move_cost): Move offline from ....; Likewise. | |
6413 | * i386.h (MEMORY_MOVE_COST): .... here; | |
6414 | (struct processor costs): Add new fields to represent costs | |
6415 | of SSE/MMX moves. | |
6416 | ||
6836e024 JH |
6417 | Wed Feb 14 10:08:26 CET 2001 Jan Hubicka <jh@suse.cz> |
6418 | ||
6419 | * regclass.c (init_reg_sets_1): Reinstall the optimization of | |
6420 | move_cost together with Matt Kraai's fix. | |
6421 | ||
d3fb92b8 JO |
6422 | 2001-02-14 Jeffrey Oldham <oldham@codesourcery.com> |
6423 | ||
6424 | * Makefile.in (OBJS): Add params.o. | |
6425 | ||
8e0b124e RH |
6426 | 2001-02-14 Richard Henderson <rth@redhat.com> |
6427 | DJ Delorie <dj@redhat.com> | |
6428 | ||
6429 | * jump.c (jump_optimize_1): When we delete a conditional jump | |
6430 | preceeding a non-conditional jump to effectively the same place, | |
6431 | make sure that the combined jump skips any clobber insns between | |
6432 | the two labels. | |
6433 | ||
55bd9f24 JO |
6434 | 2001-02-14 Jeffrey Oldham <oldham@codesourcery.com> |
6435 | ||
6436 | * gcc.c (do_spec_1): Fix off-by-one error for '%M' case. | |
6437 | ||
c6d9a88c MM |
6438 | 2001-02-14 Mark Mitchell <mark@codesourcery.com> |
6439 | ||
6440 | * Makefile.in (toplev.o): Depend on params.h. | |
6441 | (intergate.o): Likewise. | |
6442 | (params.o): New target. | |
6443 | * flags.h (inline_max_insns): Remove. | |
6444 | * integrate.c: Include params.h. | |
6445 | Use MAX_INLINE_INSNS instead of inline_max_insns. | |
6446 | * params.c: New file. | |
6447 | * params.h: Likewise. | |
6448 | * params.def: Likewise. | |
6449 | * toplev.c: Include params.h. | |
6450 | (lang_independent_params): New variable. | |
3844cd2e | 6451 | (decode_f_option): Use the param machinery instead of setting |
c6d9a88c MM |
6452 | max_inline_insns. |
6453 | (independent_decode_option): Handle "--param name=value". | |
6454 | (main): Register language-independent parameters. | |
6455 | ||
c6e95f34 JH |
6456 | Wed Feb 14 11:13:45 CET 2001 Jan Hubicka <jh@suse.cz> |
6457 | ||
6458 | * i386.md (pushsf, pushdf_nointeger): Fix constraint. | |
6459 | ||
c7c0ae3d RH |
6460 | 2001-02-14 Richard Henderson <rth@redhat.com> |
6461 | ||
6462 | * regclass.c (init_reg_sets_1): Revert last two changes. | |
6463 | ||
fe375cf1 JJ |
6464 | 2001-02-14 Jakub Jelinek <jakub@redhat.com> |
6465 | ||
6466 | * stor-layout.c (is_pending_size, put_pending_size): New functions. | |
6467 | (variable_size): Call put_pending_size. | |
6468 | * tree.h (is_pending_size, put_pending_size): Add prototypes. | |
6469 | * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending | |
6470 | sizes list, put newly created SAVE_EXPR there as well. | |
6471 | ||
6472 | 2001-02-14 Jakub Jelinek <jakub@redhat.com> | |
6473 | ||
6474 | * config/ia64/ia64.c (last_group): Only 2 entries are needed. | |
6475 | (errata_find_address_regs): load_group has only 2 entries. | |
6476 | (errata_emit_nops): Likewise. shladd is not problematic. | |
6477 | Clear last_group if nop was emitted. | |
6478 | (fixup_errata): load_group has only 2 entries. | |
6479 | Optimize. | |
6480 | ||
7065e130 NB |
6481 | 2001-02-14 Neil Booth <neil@daikokuya.demon.co.uk> |
6482 | ||
fe375cf1 JJ |
6483 | * c-lex.c (lex_number): Only warn traditionally for U suffix |
6484 | outside system macros. | |
6485 | * cppexp.c (parse_number): Similarly. | |
6486 | * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New. | |
6487 | * cppmacro.c (struct cpp_macro): New member node. | |
6488 | (parse_args): Only warn about missing rest args if not | |
6489 | a system macro. | |
6490 | (funlike_invocation_p): Similarly for uninvoked funlike macros. | |
6491 | (cpp_sys_objmacro_p): New. | |
6492 | (_cpp_create_definition): Store the node with the macro defn. | |
6493 | Remember if the macro is defined in a system header. | |
7065e130 | 6494 | |
cbc59f01 DD |
6495 | 2001-02-13 DJ Delorie <dj@redhat.com> |
6496 | ||
6497 | * configure.in (check_languages): determine languages to check | |
6498 | * Makefile.in (check-c++): alias for check-g++ | |
6499 | (check-f77): alias for check-g77 | |
6500 | (CHECK_TARGETS): depend on configured languages | |
6501 | ||
ca9a9b12 JH |
6502 | Wed Feb 14 01:13:59 CET 2001 Jan Hubicka <jh@suse.cz> |
6503 | ||
6504 | * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again. | |
6505 | (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2) | |
6506 | (sqrtsf2 patterns): Use 'x' instead of 'Y'. | |
6507 | (sqrtextendsfdf2): Disable for SSE2. | |
6508 | ||
6509 | Wed Feb 14 00:19:28 CET 2001 Jan Hubicka <jh@suse.cz> | |
6510 | ||
6511 | * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again. | |
6512 | (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2) | |
6513 | (sqrtsf2 patterns): Use 'x' instead of 'Y'. | |
6514 | (sqrtextendsfdf2): Disable for SSE2. | |
6515 | ||
7093c9ea JH |
6516 | Wed Feb 14 00:11:20 CET 2001 Jan Hubicka <jh@suse.cz> |
6517 | ||
6518 | * i386.md (movsfcc_1): Support integer cmove instruction. | |
6519 | (movdfcc_1): Likewise; new splitter. | |
6520 | ||
0644b628 JH |
6521 | Tue Feb 13 23:19:27 CET 2001 Jan Hubicka <jh@suse.cz> |
6522 | ||
6523 | * i386.c (output_fp_compare): Support SSE. | |
6524 | (prepare_fp_compare_args): SSE comparisons always support memory. | |
6525 | * i386.h (TARGET_CMOVE): SSE imply cmove. | |
6526 | * i386.md (cmp?f2): Enable for SSE too. | |
6527 | (cmpfp_i*): Support SSE. | |
6528 | (cmpfp_i_sse): New. | |
6529 | (cmpfp_i_sse_only): New. | |
6530 | (s*, b* fp expanters): Enable for SSE too. | |
6531 | (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only): | |
6532 | New patterns. | |
6533 | ||
1464632b JH |
6534 | Tue Feb 13 23:05:42 CET 2001 Jan Hubicka <jh@suse.cz> |
6535 | ||
a901fa64 | 6536 | * regclass.c (init_reg_sets_1): Silence warning. |
1464632b | 6537 | |
a8083431 JH |
6538 | Tue Feb 13 22:03:07 CET 2001 Jan Hubicka <jh@suse.cz> |
6539 | ||
6540 | * i386.md (sqrt?f2): Change to expander. | |
6541 | (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New. | |
6542 | ||
d9c695ff RK |
6543 | Tue Feb 13 15:42:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6544 | ||
6545 | * rtlanal.c (find_reg_equal_equiv_note): New function. | |
6546 | * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns. | |
6547 | (simplify_gen_relational, simplify_replace_rtx): Likewise. | |
6548 | * rtl.h: Add declarations for above functions. | |
6549 | ||
848e0190 JH |
6550 | Tue Feb 13 21:09:11 CET 2001 Jan Hubicka <jh@suse.cz> |
6551 | ||
6552 | * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to | |
6553 | conditionals. | |
6554 | * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM. | |
6555 | * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals. | |
6556 | * flow.c (mark_regs_live_at_end): Likewise. | |
6557 | (calculate_global_regs_live): Likewise. | |
6558 | * gcse.c (compute_hash_table): Likewise. | |
6559 | (compute_kill_rd): Likewise. | |
6560 | * resource.c (mark_target_live_regs): Likewise. | |
6561 | * rtl.h (INVALID_REGNUM): New macro. | |
6562 | ||
b1675dbd JH |
6563 | Tue Feb 13 20:59:22 CET 2001 Jan Hubicka <jh@suse.cz> |
6564 | ||
6565 | * i386.md (fixsfsi2, fixdfdi2): Fix previous patch. | |
6566 | ||
1698bba1 JH |
6567 | Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz> |
6568 | ||
6569 | * i386.md (fixsfsi2, fixdfdi2): Force operand to register | |
6570 | for SSE. | |
6571 | ||
1deaa899 JH |
6572 | Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz> |
6573 | ||
6574 | * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2) | |
6575 | too. | |
6576 | (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE. | |
6577 | (fop_sf_comm_sse, fop_df_comm_sse): New patterns. | |
6578 | (fop_sf_1_sse, fop_df_1_sse): New patterns | |
6579 | (fop_*): Disable float_extend and float patterns for SSE compilation. | |
6580 | * i386.c (output_387_binary_op): Support SSE. | |
6581 | ||
42a0aa6f JH |
6582 | Tue Feb 13 14:16:34 CET 2001 Jan Hubicka <jh@suse.cz> |
6583 | ||
6584 | * i386.md (dummy_extendsfdf2): Support SSE2 | |
6585 | (extendsfdf2): Enable if 80387 or SSE2. | |
6586 | (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble | |
6587 | and no MIX_I387_SSE2 | |
6588 | (extendsfdf2_1_sse_only): New pattern. | |
6589 | (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version | |
6590 | of SSE. | |
6591 | (truncdfsf2_1): Support SSE. | |
6592 | (truncdfsf2_2): Support SSE. | |
6593 | (truncdfsf2_2_1_sse): New pattern. | |
6594 | (fixtruncsfsi2): Always use SSE if available. | |
6595 | (fix_truncsfsi_sse): New pattern. | |
6596 | (fix_truncdfsi_sse): New pattern. | |
6597 | (floatsis?f2): Support SSE. | |
6598 | (floatsidf2_i387): New pattern. | |
6599 | (floatsidf2_sse): Likewise. | |
6600 | ||
8a7199ad RK |
6601 | Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6602 | ||
1ffc5c6e RK |
6603 | * configure.in: Use "have_gnat" variable, not "gnat". |
6604 | * configure: Regenerated. | |
6605 | ||
8a7199ad RK |
6606 | * config/sparc/sparc.c (function_value): Treat all non-record |
6607 | aggregate types like used to treat UNION_TYPE. | |
6608 | ||
446988df JH |
6609 | Tue Feb 13 13:31:33 CET 2001 Jan Hubicka <jh@suse.cz> |
6610 | ||
6611 | * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG | |
6612 | * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber | |
6613 | (MASK_SSE2): New. | |
6614 | (MASK_MIX_SSE_I387): New. | |
6615 | (TARGET_SSE): SSE2 imply SSE. | |
6616 | (TARGET_SSE2, TARGET_MIX_SSE_I387): New. | |
6617 | (TARGET_SWITCHES): Add "sse2", "mix-sse-i387". | |
6618 | (enum reg_class): Add new classes. | |
6619 | (REG_CLASS_NAMES): Likewise. | |
6620 | (REG_CLASS_CONTENTS): Likewise. | |
6621 | (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros. | |
6622 | (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is | |
6623 | supported. Add 'Y' to be SSE_REGS when SSE2 is supported. | |
6624 | (CLASS_MAX_NREGS): Use new macros. | |
6625 | (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED. | |
6626 | * i386.md (pushsf, movsf): Support SSE. | |
6627 | (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update | |
6628 | splitters to use ANY_FP_REGNO_P. | |
6629 | (movdf_nointeger, movdf_integer): Likewise. | |
6630 | ||
42a6ff51 AO |
6631 | 2001-02-13 Alexandre Oliva <aoliva@redhat.com> |
6632 | ||
6633 | * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro. | |
6634 | (try_combine): Use it. | |
6635 | ||
f84aa48a JH |
6636 | Tue Feb 13 11:37:06 CET 2001 Jan Hubicka <jh@suse.cz> |
6637 | ||
6638 | * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P, | |
6639 | MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros. | |
6640 | (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline. | |
6641 | (REGISTER_MOVE_COST): Likewise. | |
6642 | * i386-protos.h (ix86_secondary_memory_needed, | |
6643 | ix86_preferred_reload_class, ix86_register_move_cost): Declare. | |
6644 | * i386.c (ix86_secondary_memory_needed, | |
6645 | ix86_preferred_reload_class, ix86_register_move_cost): New function. | |
6646 | ||
a946dd00 JH |
6647 | Die Feb 13 11:04:25 CET 2001 Jan Hubicka <jh@suse.cz> |
6648 | ||
6649 | * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New. | |
6650 | (HARD_REGNO_MODE_OK): Move offline to .... | |
6651 | * i386.c (ix86_hard_regno_mode_ok) ... here; | |
6652 | refuse all incorrect modes. | |
6653 | * i386-protos.h (ix86_hard_regno_mode_ok): Declare. | |
6654 | ||
1b9ea8eb RH |
6655 | 2001-02-13 Richard Henderson <rth@redhat.com> |
6656 | ||
6657 | * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the | |
6658 | entire operator; replicate that and match_dup the operands. | |
6659 | (cmp_ccx_arith_op_set): Likewise. | |
6660 | (cmp_cc_arith_op_not_set): Likewise. | |
6661 | (cmp_ccx_arith_op_not_set): Likewise. | |
6662 | ||
5b0d91c3 AO |
6663 | 2001-02-13 Alexandre Oliva <aoliva@redhat.com> |
6664 | ||
6665 | * explow.c (trunc_int_for_mode): Sign-extend value to mode. | |
6666 | ||
9a155f91 GK |
6667 | 2001-02-12 Geoffrey Keating <geoffk@redhat.com> |
6668 | ||
6669 | * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro. | |
6670 | (TARGET_NO_BITFIELD_WORD): New macro. | |
6671 | (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options. | |
6672 | (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD. | |
6673 | ||
fa49fd0f RK |
6674 | Mon Feb 12 18:13:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6675 | ||
6676 | * cselib.c: New file, from simplify-rtx.c. | |
6677 | * simplify-rtx.c: Remove cselib parts. | |
6678 | * Makefile.in: Add cselib.o. | |
6679 | ||
c36ae96c GK |
6680 | 2001-02-12 Geoffrey Keating <geoffk@redhat.com> |
6681 | ||
ca5adc63 GK |
6682 | * config/rs6000/rs6000.c (rs6000_float_const): Remove warning. |
6683 | (setup_incoming_varargs): Remove warning. | |
6684 | ||
6685 | * config/rs6000/rs6000.c (validate_condition_mode): When | |
6686 | flag_fast_math, allow floating-point conditionals to be reversed. | |
6687 | (rs6000_generate_compare): When flag_fast_math, don't generate | |
6688 | cror operations for FP conditionals. | |
6689 | ||
c36ae96c GK |
6690 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle |
6691 | -mcall-i960. | |
6692 | (ASM_SPEC): Likewise. | |
6693 | (CC1_ENDIAN_LITTLE_SPEC): Likewise. | |
6694 | (CC1_SPEC): Likewise. | |
6695 | (LINK_TARGET_SPEC): Likewise. | |
6696 | (CPP_ENDIAN_SPEC): Likewise. | |
6697 | * Makefile.in (check-consistency): New target. | |
6698 | ||
f43b2795 JM |
6699 | 2001-02-12 Joseph S. Myers <jsm28@cam.ac.uk> |
6700 | ||
6701 | * c-decl.c (grokdeclarator): In C99 mode, give the more specific | |
6702 | "return type defaults" warning for functions with return type | |
6703 | defaulting to int. | |
6704 | * c-lang.c (c_init): In C99 mode, enable warnings for implicit | |
6705 | function declarations by default rather than only when pedantic. | |
6706 | ||
7004b11b JH |
6707 | Mon Feb 12 17:28:48 CET 2001 Jan Hubicka <jh@suse.cz> |
6708 | ||
6709 | * regclass.c (init_reg_sets_1): Optimize calculation of move_cost | |
6710 | arrays. | |
6711 | ||
82c18d5c NS |
6712 | 2001-02-12 Nathan Sidwell <nathan@codesourcery.com> |
6713 | ||
6714 | * extend.texi (Deprecated): Deprecate new initializer lists. | |
6715 | ||
48ce6bbb NS |
6716 | 2001-02-12 Nathan Sidwell <nathan@codesourcery.com> |
6717 | ||
6718 | * mkdeps.c (deps_add_default_target): Robustify. Add | |
6719 | basename component only. | |
6720 | * cpp.texi (-M): Describe how default target is generated. | |
6721 | * invoke.texi (-M): Likewise. | |
6722 | ||
823a9919 KH |
6723 | 2001-02-12 Kazu Hirata <kazu@hxi.com> |
6724 | ||
6725 | * toplev.c (push_float_handler): Remove. | |
6726 | (pop_float_handler): Remove. | |
6727 | * toplev.h: Remove prototypes for the above functions. | |
6728 | ||
d02b54f6 JJ |
6729 | 2001-02-12 Jakub Jelinek <jakub@redhat.com> |
6730 | ||
6731 | * c-common.c (constant_fits_type_p): New function. | |
6732 | (convert_and_check): Use it. | |
6733 | ||
b1012f1b MM |
6734 | 2001-02-11 Mark Mitchell <mark@codesourcery.com> |
6735 | ||
6736 | * Makefile.in (GXX_ABI_FLAG): Don't define. | |
6737 | * configure.in (--enable-new-gxx-abi): Remove option. | |
6738 | * config.in: Regenerated. | |
6739 | * configure: Likewise. | |
6740 | ||
e8eacc3f AO |
6741 | 2001-02-12 Alexandre Oliva <aoliva@redhat.com> |
6742 | ||
6743 | * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular | |
6744 | basic block. | |
6745 | (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a | |
6746 | regular basic block, and arrange for all edges into it to switch | |
6747 | to normal mode. | |
6748 | ||
e065341b GP |
6749 | 2001-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
6750 | ||
6751 | * Makefile.in (distclean): Do not remove .gdbinit. | |
6752 | ||
8c310e3f MM |
6753 | 2001-02-11 Mark Mitchell <mark@codesourcery.com> |
6754 | ||
6755 | * Makefile.in (gcc.o): Fix typos. | |
6756 | (protize.o): Likewise. | |
6757 | (unprotoize.o): Likewise. | |
6758 | ||
258835c7 RH |
6759 | 2001-02-11 Richard Henderson <rth@redhat.com> |
6760 | ||
6761 | * tree.c (build1): Check for null operand in last change. | |
6762 | ||
1796dff4 RH |
6763 | 2001-02-11 Richard Henderson <rth@redhat.com> |
6764 | ||
6765 | * fold-const.c (split_tree): Don't assume a constant isn't splittable. | |
6766 | (fold): Don't assume a constant isn't foldable. | |
6767 | * tree.c (build): Set TREE_CONSTANT for an expression with no | |
6768 | side-effects and constant operands. | |
6769 | (build1): Likewise. | |
6770 | ||
7f437481 RH |
6771 | 2001-02-10 Richard Henderson <rth@redhat.com> |
6772 | ||
6773 | * jump.c (squeeze_notes): Revert 2000-05-12 change. | |
6774 | ||
3220116f AG |
6775 | 2001-02-10 Anthony Green <green@redhat.com> |
6776 | ||
6777 | * cpp.texi (Standard Predefined): Add documentation for | |
6778 | __OPTIMIZE_SIZE__. | |
6779 | ||
6780 | * c-common.c (combine_strings): Improve warning message. | |
6781 | ||
36b8ffbe GK |
6782 | 2001-02-10 Geoffrey Keating <geoffk@redhat.com> |
6783 | ||
6784 | * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for | |
6785 | --oformat. | |
6786 | * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise. | |
6787 | ||
ce675456 CF |
6788 | Fri Feb 9 15:05:27 2001 Christopher Faylor <cgf@cygnus.com> |
6789 | ||
6790 | * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for | |
6791 | CYGWIN_CROSS_DIR. | |
6792 | ||
cc0744d1 AO |
6793 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> |
6794 | ||
6795 | * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set | |
6796 | fp_mode attribute. | |
6797 | ||
ab51eb25 NC |
6798 | 2001-02-09 Nick Clifton <nickc@redhat.com> |
6799 | ||
6800 | * config/arm/arm.md: Change output contraint on post inc | |
6801 | load/store multiple patterns to be a read/write contraint. | |
6802 | ||
58e31b83 NB |
6803 | 2001-02-09 Neil Booth <neil@daikokuya.demon.co.uk> |
6804 | ||
1b9ea8eb RH |
6805 | * gcc.c (cpp_options): Delete .d files on error. Don't delete |
6806 | .o files when using the -M options. | |
58e31b83 | 6807 | |
db9473af | 6808 | 2001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
02a4ec28 FS |
6809 | David Edelsohn <edelsohn@gnu.org> |
6810 | ||
6811 | * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to | |
6812 | handle DImode constants. Use one TOC entry for SImode and smaller | |
6813 | constants, aligned properly. | |
6814 | ||
34ce3d7b JM |
6815 | 2001-02-08 Jason Merrill <jason@redhat.com> |
6816 | ||
6817 | * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend | |
6818 | about the SP adjustment for saving the static chain pointer. | |
6819 | * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified | |
6820 | offset when setting a temporary CFA register. | |
6821 | ||
8da6d80e CC |
6822 | 2001-02-08 Chandrakala Chavva <cchavva@redhat.com> |
6823 | ||
6824 | * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*, | |
6825 | powerpc-*-chorusos* . | |
6826 | * config/rs6000/chorus.h : New file. | |
6827 | * config/i386/chorus.h : New file. | |
6828 | * config/sparc/chorus.h : New file. | |
6829 | * config/sparc/t-chorus-elf : New file. | |
6830 | ||
7841642f DE |
6831 | 2001-02-08 David Edelsohn <edelsohn@gnu.org> |
6832 | ||
6833 | * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ... | |
6834 | * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here. | |
6835 | * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it. | |
6836 | (__WCHAR_TYPE__): Correct macro name. | |
3844cd2e | 6837 | |
6fca22eb RH |
6838 | 2001-02-08 Richard Henderson <rth@redhat.com> |
6839 | ||
6840 | * config/i386/i386.c (ix86_frame_pointer_required): New. | |
6841 | (ix86_setup_frame_addresses): New. | |
6842 | (struct machine_funciton): Add accesses_prev_frame. | |
6843 | * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call | |
6844 | ix86_frame_pointer_required. | |
6845 | (SUBTARGET_FRAME_POINTER_REQUIRED): New. | |
6846 | (SETUP_FRAME_ADDRESSES): New. | |
6847 | * config/i386/i386-protos.h: Update. | |
6848 | * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename | |
6849 | from FRAME_POINTER_REQUIRED. | |
6850 | * config/i386/svr3gas.h: Likewise. | |
6851 | * config/i386/sysv3.h: Likewise. | |
6852 | * config/i386/v3gas.h: Likewise. | |
6853 | ||
0020b823 RH |
6854 | 2001-02-08 Richard Henderson <rth@redhat.com> |
6855 | ||
6856 | * config/sparc/sparc.c (function_arg_record_value_3): Fix | |
6857 | calculation of the number of integer registers required. | |
6858 | (function_arg_record_value): Likewise. | |
6859 | ||
00a42e21 JM |
6860 | 2001-02-08 Jason Merrill <jason@redhat.com> |
6861 | ||
33c4f174 JM |
6862 | * diagnostic.c (internal_error): Say "confused" after 1 error, not |
6863 | two. Print file and line with "confused" message. | |
6864 | ||
00a42e21 JM |
6865 | * dwarf2out.c (dwarf2out_line): Include filename in -dA output. |
6866 | ||
dd248abd RK |
6867 | Thu Feb 8 11:21:28 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6868 | ||
6869 | * rtlanal.c (remove_node_from_expr_list): Correctly update PREV. | |
6870 | ||
04337620 BS |
6871 | 2001-02-08 Bernd Schmidt <bernds@redhat.com> |
6872 | ||
6873 | * final.c (cleanup_subreg_operands): The address of a MEM can | |
6874 | contain SUBREGs. | |
6875 | ||
0c1cf241 BS |
6876 | * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p |
6877 | for asms, too. | |
6878 | ||
14baf6b5 JM |
6879 | 2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk> |
6880 | ||
6881 | * gcc.texi (Incompatibilities): Update documentation of | |
6882 | preprocessing numbers. | |
6883 | ||
1ada4cd0 JJ |
6884 | 2001-02-07 Jakub Jelinek <jakub@redhat.com> |
6885 | ||
6886 | * c-decl.c (finish_enum): Revert part of 2000-01-05 change. | |
6887 | ||
a9374841 MM |
6888 | 2001-02-07 Mark Mitchell <mark@codesourcery.com> |
6889 | ||
830a95f8 MM |
6890 | * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it. |
6891 | ||
a9374841 MM |
6892 | * defaults.h (CPLUSPLUS_CPP_SPEC): New macro. |
6893 | * gcc.c (struct compiler): Add cpp_spec field. | |
6894 | (input_file_compiler): New variable. | |
3844cd2e | 6895 | (do_spec_1): Allow a particular compiler to handle `%C' |
a9374841 MM |
6896 | specially. |
6897 | (main): Store the current compiler in input_file_compiler. | |
6898 | * tm.texi (CPLUSPLUS_CPP_SPEC): Document. | |
3844cd2e | 6899 | |
7d4918a2 ZW |
6900 | 2001-02-07 Zack Weinberg <zack@wolery.stanford.edu> |
6901 | ||
6902 | * cpphash.h (struct spec_nodes): Add n_true and n_false. | |
6903 | * cppinit.c (cpp_create_reader): Initialize them. | |
6904 | (append_include_chain): cxx_aware arg might be unused. | |
6905 | * cppexp.c (lex): In C++ mode, recognize 'true' and 'false' | |
6906 | keywords and give them their phase 7 meaning. Pedwarn about | |
6907 | this unless '__bool_true_false_are_defined' is defined. | |
6908 | ||
09d84e04 AO |
6909 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> |
6910 | ||
6911 | * lcm.c (optimize_mode_switching): Emit mode_set before the | |
6912 | JUMP_INSN of an abnormal edge. | |
6913 | ||
bcd7edfe BS |
6914 | 2001-02-07 Bernd Schmidt <bernds@redhat.com> |
6915 | ||
6916 | * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as | |
6917 | a scheduling barrier at the end. | |
6918 | ||
4a1d48f6 BS |
6919 | * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document. |
6920 | ||
3dbd1134 AO |
6921 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> |
6922 | ||
c2d10707 AO |
6923 | * config/sh/sh.md (reload_outsf): Removed. |
6924 | (movsf_ie): Introduce constraints for FPUL loads and stores. | |
6925 | (reload_insf): Broaden the output constraint. | |
6926 | ||
3dbd1134 AO |
6927 | * config/elfos.h (INT_ASM_OP): Don't define it if it's already |
6928 | defined. | |
6929 | * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR, | |
6930 | ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h. | |
6931 | ||
8480e480 CC |
6932 | 2001-02-06 Chandrakala Chavva <cchavva@redhat.com> |
6933 | ||
8da6d80e | 6934 | * final.c: Revert my previous changes. |
8480e480 CC |
6935 | * output.h: Make profile_label_no extern. |
6936 | * config/rs6000/rs6000.c (output_profile_hook): Use standard functions | |
6937 | for generating label. | |
6938 | ||
df447210 LB |
6939 | 2001-02-06 Laurynas Biveinis <lauras@softhome.net> |
6940 | ||
6941 | * config/i386/djgpp.h: Add comments about standard paths. | |
6942 | (MD_EXEC_PREFIX): Undefine before defining. | |
6943 | (MD_STARTFILE_PREFIX): New. | |
6944 | ||
ca21b4a5 BK |
6945 | 2001-01-30 Bruce Korb <bkorb@gnu.org> |
6946 | ||
6fca22eb RH |
6947 | fixinc/fixincl.c(process): Emit error message only if appropriate :) |
6948 | (load_file): do not rely on load_file_data() to close file pointer | |
6949 | fixinc/fixlib.c(load_file_data): do not close passed in file pointer | |
ca21b4a5 BK |
6950 | fixinc/inclhack.def(irix_limits_const): add test_text |
6951 | ||
3c8465d0 NB |
6952 | 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk> |
6953 | ||
6fca22eb RH |
6954 | * cppexp.c (parse_defined): Improve diagnostics for invalid |
6955 | syntax. | |
3c8465d0 | 6956 | |
b7a0a5fa NB |
6957 | 2001-02-06 Neil Booth <neil@daikokuya.demon.co.uk> |
6958 | ||
6fca22eb | 6959 | * cppmacro.c (cpp_get_token): Avoid pasting after a builtin. |
b7a0a5fa | 6960 | |
28e510bd MM |
6961 | 2001-02-06 Mark Mitchell <mark@codesourcery.com> |
6962 | ||
6963 | * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define. | |
6964 | * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare. | |
6965 | * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro. | |
6966 | (rs6000_output_symbol_ref): New function. | |
6967 | (output_toc): Use VTABLE_NAME_P. | |
3844cd2e | 6968 | |
05bd3d41 RK |
6969 | Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6970 | ||
df10e9ec RK |
6971 | * print-tree.c (print_node, case PARM_DECL): |
6972 | Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN. | |
6973 | ||
b5d6a2ff RK |
6974 | * stor-layout.c (reference_types_internal): New variable. |
6975 | (internal_reference_types): New function. | |
6976 | (layout_type, case REFERENCE_TYPE): Make Pmode if internal. | |
6977 | * tree.h (internal_reference_types): New declaration. | |
6978 | ||
05bd3d41 RK |
6979 | * cse.c (find_best_addr): Fix typo in computing cost. |
6980 | ||
d1405722 RK |
6981 | Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6982 | ||
6983 | * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned | |
6984 | and this is the sum of a pointer and a constant, we know the result | |
6985 | did not overflow. | |
6986 | (num_sign_bit_copies, case PLUS): Likewise. | |
6987 | * explow.c (convert_memory_address): Remove opposite SUBREG. | |
6988 | * function.c (instantiate_new_reg): New function (from common code). | |
6989 | (instantiate_virtual_regs_1): Call it. | |
6990 | For PLUS, handle if (plus (subreg (virt-reg) (const_int)) | |
6991 | if pointers sign- or zero-extend. | |
6992 | * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND): | |
6993 | If pointers extend unsigned, use inside of SUBREG. | |
6994 | (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend. | |
6995 | ||
3e897b66 BK |
6996 | 2001-02-05 Benjamin Kosnik <bkoz@redhat.com> |
6997 | ||
6998 | * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target | |
6999 | subdir of gcc_gxx_include_dir. | |
7000 | (gcc_gxx_target_include_dir): Remove. | |
7001 | ||
a401107d JO |
7002 | 2001-02-05 Jeffrey Oldham <oldham@codesourcery.com> |
7003 | ||
7004 | * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments. | |
7005 | (dwarf2out_frame_debug_expr): Revise introductory comments to add | |
7006 | a high-level description. | |
7007 | ||
411707f4 CC |
7008 | 2001-02-05 Chandrakala Chavva <cchavva@redhat.com> |
7009 | ||
d6706c51 | 7010 | * final.c: Move the declaration of profile_label_no to ... |
6fca22eb RH |
7011 | * output.h: ... here. |
7012 | * function.c (expand_function_start): Call PROFILE_HOOK. | |
7013 | * config/rs6000/aix.h: Define PROFILE_HOOK. | |
7014 | * config/rs6000/rs6000-protos.h: output_profile_hook new. | |
7015 | * config/rs6000/rs6000.c (output_profile_hook): Define. | |
7016 | (output_prolog): Do nothing for ABI_AIX as it is taken care by | |
7017 | output_profile_hook. | |
411707f4 CC |
7018 | tm.texi : Explain new macro PROFILE_HOOK. |
7019 | ||
8720914b HPN |
7020 | 2001-02-06 Hans-Peter Nilsson <hp@axis.com> |
7021 | ||
7022 | * extend.texi (Extended Asm): Do not say that semicolon is always | |
7023 | a valid line-breaking character for GNU assemblers. Use | |
7024 | newline-tab as the most commonly supported syntax. Use | |
7025 | newline-tab rather than semicolon in multi-insn examples. | |
7026 | ||
56cf87e7 FS |
7027 | 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
7028 | ||
7029 | * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias). | |
7030 | ||
9638617e | 7031 | 2001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6fca22eb | 7032 | David Edelsohn <edelsohn@gnu.org> |
9638617e | 7033 | |
3844cd2e | 7034 | * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC |
9638617e FS |
7035 | code for AIX, even without flag_pic. |
7036 | ||
2f4e8f2b JJ |
7037 | 2001-02-05 Jakub Jelinek <jakub@redhat.com> |
7038 | ||
7039 | * c-typeck.c (common_type): push and pop binding level around | |
7040 | calling common_type on function parameters. | |
7041 | ||
45677496 CF |
7042 | Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com> |
7043 | ||
7044 | * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter. | |
7045 | ||
789c026d RK |
7046 | Mon Feb 5 11:23:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7047 | ||
7048 | * config/mips/mips.c (override_options): Fix typo in last change. | |
e2bbb660 RK |
7049 | (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name. |
7050 | (mips_asm_file_end): Likewise; also pass more args to fatal_io_error. | |
789c026d | 7051 | |
9965d119 NS |
7052 | 2001-02-05 Nathan Sidwell <nathan@codesourcery.com> |
7053 | ||
7054 | * invoke.texi (-fdump-class-layout): Document. | |
7055 | (-fdump-translation-unit): Use `=' as filename separator. | |
7056 | ||
39d6f2e8 MM |
7057 | 2001-02-05 Mark Mitchell <mark@codesourcery.com> |
7058 | ||
7059 | * Makefile.in (s-mlib): Don't build multilibs if | |
7060 | --disable-multilib. | |
7061 | (DRIVER_DEFINES): Adjust accordingly. | |
7062 | (gcc.o): Likewise. | |
7063 | (protoize.o): Likewise. | |
7064 | (unprotoize.o): Likewise. | |
7065 | * configure.in: Recognize --enable-multilib. | |
3844cd2e | 7066 | |
22fdd65e MM |
7067 | 2001-02-04 Mark Mitchell <mark@codesourcery.com> |
7068 | ||
9f8bf073 MM |
7069 | * Makefile.in (DRIVER_DEFINES): Fix quoting. |
7070 | ||
22fdd65e MM |
7071 | * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3. |
7072 | * configure.in: Remove --enable-libstdcxx_v3 support. | |
7073 | * configure: Regenerated. | |
7074 | ||
400500c4 RK |
7075 | Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7076 | ||
c4636dd1 RK |
7077 | * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): |
7078 | Call abort instead of fatal. | |
7079 | (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal. | |
7080 | * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise. | |
7081 | (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise. | |
7082 | (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise. | |
7083 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise. | |
7084 | * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise. | |
7085 | ||
400500c4 RK |
7086 | * diagnostic.h (set_internal_error_function): Renamed. |
7087 | * toplev.h (internal_error): Renamed from fatal. | |
7088 | (pfatal_with_name): Deleted. | |
7089 | (fatal_io_error): Now has printf-style arguments. | |
7090 | * diagnostic.c (pfatal_with_name): Deleted. | |
7091 | (fatal_io_error): Rework to have args in printf-style. | |
7092 | (set_internal_error_function): Renamed from set_fatal_function. | |
7093 | (internal_error): Renamed from fatal. | |
7094 | (error_recursion, fancy_abort): Call internal_error instead of fatal. | |
7095 | * dwarf2out.c (get_cfa_from_loc_descr): Likewise. | |
7096 | * emit-rtl.c (gen_realpart, gen_imagpart): Likewise. | |
7097 | * expr.c (check_max_integer_computation_mode, expand_expr): Likewise. | |
7098 | * flow.c (verify_flow_info): Likewise. | |
7099 | * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise. | |
7100 | * config/mips/mips.c (save_restore_insns): Likewise. | |
7101 | ||
7102 | * except.c (duplicate_eh_handlers): Call abort instead of fatal. | |
3844cd2e | 7103 | * flow.c (verify_flow_info): Likewise. |
400500c4 RK |
7104 | * config/arm/arm.c (thumb_load_double_from_address): Likewise. |
7105 | * config/avr/avr.c (pttreg_to_str, unique_section): Likewise. | |
7106 | (avr_normalize_condition): Likewise. | |
7107 | * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise. | |
7108 | * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise. | |
7109 | (limit_reload_class, double_reg_to_memory): Likewise. | |
7110 | (print_operand_address, emit_1600_code_shift): Likewise. | |
7111 | (gen_tst_reg, gen_compare_reg): Likewise. | |
7112 | * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise. | |
7113 | * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare): | |
7114 | Deleted. | |
7115 | * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it. | |
7116 | ||
7117 | * c-parse.in (methoddef): Call fatal_error instead of fatal. | |
7118 | * objc/objc-act.c (build_ivar_chain): Likewise. | |
7119 | * dwarfout.c (dwarfout_init): Call fatal_io_error instead of | |
7120 | pfatal_with_name. | |
7121 | * graph.c (clean_graph_dump_file): Likewise. | |
7122 | * profile.c (init_branch_prob): Likewise. | |
7123 | * objc/objc-act.c (objc_init): Likewise. | |
3844cd2e | 7124 | |
400500c4 | 7125 | * config/arm/arm.c (arm_override_options): Make errors non-fatal. |
3844cd2e | 7126 | * config/avr/avr.c (avr_override_options): Likewise. |
400500c4 RK |
7127 | * config/c4x/c4x.c (c4x_expand_prologue): Likewise. |
7128 | * config/dsp16xx/dsp16xx.c (function_prologue): Likewise. | |
7129 | * config/h8300/h8300.c (h8300_init_once): Likewise. | |
7130 | * config/mips/mips.c (override_options): Likewise. | |
7131 | * config/i386/i386.c (override_options): Likewise, rework. | |
7132 | * config/m68k/m68k.c (override_options): Likewise. | |
7133 | ||
7134 | * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage | |
7135 | instead of fatal. | |
7136 | * config/mips/mips.c (print_operand): Likewise. | |
7137 | * hash.c (hash_allocate): Don't check for failure returns from | |
7138 | obstack functions that can't fail. | |
7139 | (hash_table_init_n, hash_table_init): Likewise; also now return void. | |
7140 | * hash.h (hash_table_init_n, hash_table_init): Now return void. | |
7141 | * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call. | |
7142 | (get_object_reference): Likewise. | |
7143 | ||
eab4abeb NC |
7144 | 2001-02-04 Nick Clifton <nickc@redhat.com> |
7145 | ||
7146 | * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e, | |
7147 | StrongARM1110, 10TDMI, and 1020T. | |
7148 | ||
7ce2fcb9 KG |
7149 | 2001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7150 | ||
7151 | * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif. | |
7152 | ||
b6c02328 AO |
7153 | 2001-02-04 Alexandre Oliva <aoliva@redhat.com> |
7154 | ||
7155 | * config/sh/sh.md (movdf load split): Pass register number to | |
7156 | FP_OR_XD_REGISTER_P. | |
7157 | ||
1ca894a0 MM |
7158 | 2001-02-04 Mark Mitchell <mark@codesourcery.com> |
7159 | ||
7160 | * cppinit.c (BC): New macro. | |
7161 | (builtin_array): Add __GXX_WEAK__. | |
7162 | * cpplib.h (builtin_type): Add BT_WEAK. | |
7163 | * cppmacro.c (builtin_macro): Handle BT_WEAK. | |
7164 | * defaults.h (SUPPORTS_ONE_ONLY): Define. | |
7165 | * varasm.c (SUPPORTS_ONE_ONLY): Do not define. | |
7166 | ||
52b357ea JJ |
7167 | 2001-02-03 Jakub Jelinek <jakub@redhat.com> |
7168 | ||
7169 | * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C. | |
7170 | ||
269592a8 NB |
7171 | 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk> |
7172 | ||
6fca22eb | 7173 | * cpphash.h: Rename _ALIGN POOL_ALIGN. |
3844cd2e | 7174 | * cpplex.c (new_chunk, _cpp_pool_reserve): Update. |
269592a8 | 7175 | |
2da6090f NB |
7176 | 2001-02-03 Neil Booth <neil@daikokuya.demon.co.uk> |
7177 | ||
6fca22eb | 7178 | * cpphash.h: Rename ALIGN _ALIGN. |
3844cd2e | 7179 | * cpplex.c (new_chunk, _cpp_pool_reserve): Update. |
2da6090f | 7180 | |
4e190cf3 CF |
7181 | Fri Feb 2 23:15:29 2001 Christopher Faylor <cgf@cygnus.com> |
7182 | ||
7183 | * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross | |
7184 | compilation environment. | |
7185 | * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow | |
7186 | control over location of cygwin includes and libs. | |
7187 | ||
c98f0cdb MH |
7188 | 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz) |
7189 | ||
7190 | * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo. | |
7191 | ||
39ed8974 LB |
7192 | 2001-02-02 lars brinkhoff <lars@nocrew.org> |
7193 | ||
7194 | * md.texi (Standard Names): remove reference to spur.md. | |
7195 | ||
0b53f039 MH |
7196 | 2001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz) |
7197 | ||
7198 | * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define. | |
7199 | (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG. | |
7200 | (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise. | |
7201 | * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG. | |
7202 | (c4x_expand_prologue, c4x_expand_epilogue): Likewise. | |
7203 | ||
d001969e HB |
7204 | 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7205 | ||
7206 | * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand, | |
7207 | c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register | |
7208 | number before reload. | |
7209 | (c4x_adjust_cost): Return zero before reload. | |
7210 | * c4x.md (load_immed_address+1, load_immed_address+2): Do not | |
7211 | split before reload. | |
7212 | ||
40eef757 HB |
7213 | 2001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7214 | ||
7215 | * c4x.c (c4x_hard_regno_rename_ok): New. | |
7216 | * c4x-protos.h (c4x_hard_regno_rename_ok): New. | |
7217 | * c4x.h (HARD_REGNO_RENAME_OK): Define. | |
7218 | ||
0d6882a0 RK |
7219 | Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7220 | ||
7221 | * diagnostic.h: Add missing "extern" in all declarations. | |
7222 | ||
362f2295 AS |
7223 | 2001-02-02 Alex Samuel <samuel@codesourcery.com> |
7224 | ||
7225 | * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically | |
7226 | as for gcc_gxx_include_dir. | |
7227 | ||
da312b55 NB |
7228 | 2001-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
7229 | ||
7230 | * cpp.texi, invoke.texi: Update -Wtraditional documentation. | |
7231 | ||
38df95a4 AO |
7232 | 2001-02-02 Alexandre Oliva <aoliva@redhat.com> |
7233 | ||
e6dfd05f AO |
7234 | * config/sh/sh.c (output_far_jump): Don't use braf on SH1. Emit |
7235 | label before alignment to be used as the braf base address. | |
7236 | * config/sh/sh.md (length): Use longer lengths for SH1 PIC far | |
7237 | branches. | |
7238 | (casesi_jump_2): Require at least TARGET_SH2. | |
7239 | ||
38df95a4 AO |
7240 | * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent |
7241 | truncation to 32-bit doubles on -m3e and -m4-single-only. | |
7242 | ||
049f6ec9 MM |
7243 | 2001-02-02 Mark Mitchell <mark@codesourcery.com> |
7244 | ||
3844cd2e | 7245 | * gcc.c (init_gcc_specs): New function. Make -shared-libgcc |
049f6ec9 MM |
7246 | the default when building a shared object. |
7247 | (init_spec): Use it. | |
7248 | * testsuite/lib/g++.exp: Include the directory where libgcc | |
7249 | is located to the LD_LIBRARY_PATH list. | |
1ca894a0 | 7250 | * invoke.texi (-shared-libgcc): Document the cases in which |
049f6ec9 | 7251 | GCC defaults to using the shared libgcc. |
3844cd2e | 7252 | |
483b9fd0 AO |
7253 | 2001-02-02 Alexandre Oliva <aoliva@redhat.com> |
7254 | ||
7255 | * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume | |
7256 | unsigned is wide enough. | |
7257 | (BITS_PER_SI): New. | |
7258 | * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI. | |
7259 | (si_to_float): Likewise. | |
7260 | (float_to_si, float_to_usi): Use BITS_PER_SI. | |
7261 | ||
770ca8c6 JO |
7262 | 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com> |
7263 | ||
7264 | * dwarf2out.c: Added explanation of abbreviations. | |
7265 | (def_cfa_1): Added comments listing DWARF2 instructions. | |
7266 | (cfa_temp_reg): Removed in favor of cfa_temp. | |
7267 | (cfa_temp_value): Removed in favor of cfa_temp. | |
7268 | (cfa_temp): New global variable. | |
7269 | (dwarf2out_frame_debug_expr): Added extensive introductory | |
7270 | comments explaining the function's transformations. Revised to | |
7271 | use cfa_temp. Added some rtx checking. Generalize IOR case. | |
7272 | (dwarf2out_frame_debug): Revised to use cfa_temp. | |
7273 | (output_aranges): Cast as "unsigned" to avoid warning. | |
7274 | * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better | |
7275 | explain which instructions must be marked. | |
7276 | ||
cad33336 RH |
7277 | 2001-02-01 Richard Henderson <rth@redhat.com> |
7278 | ||
7279 | * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the | |
7280 | new instruction. | |
7281 | ||
8a5d897f AO |
7282 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> |
7283 | ||
7284 | * config/sh/crt1.asm (main_k): Modified so that start calls | |
7285 | ___setup_argv_and_call_main. | |
7286 | ||
bd969772 NB |
7287 | 2001-02-01 Neil Booth <neil@daikokuya.demon.co.uk> |
7288 | ||
6fca22eb RH |
7289 | * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader. |
7290 | * cpplex.c (_cpp_lex_token): New token picks up the saved flags, | |
7291 | and AVOID_LPASTE is cleared on meeting an unescaped newline. | |
7292 | * cppmacro.c (builtin_macro): Set builtin flags here. | |
7293 | (paste_all_tokens): Preserve AVOID_LPASTE on pasted token. | |
7294 | (replace_args): Clarify intent. | |
7295 | (cpp_get_token): Macro expansion tokens get the saved flags. | |
7296 | Update. | |
7297 | * cppmain.c (scan_buffer): Remove now-redundant print.printed | |
7298 | check. | |
bd969772 | 7299 | |
8c0abc88 JO |
7300 | 2001-02-01 Jeffrey Oldham <oldham@codesourcery.com> |
7301 | ||
7302 | * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of | |
7303 | 2001-Jan-29. | |
7304 | ||
fcbfaa65 RK |
7305 | Thu Feb 1 07:22:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7306 | ||
d5457140 RK |
7307 | * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space |
7308 | returns Pmode pseudo, but we need ptr_mode. | |
7309 | * explow.c (allocate_dynamic_stack_space): Use plus_constant. | |
7310 | Remove bogus conversions; use HOST_WIDE_INT for size. | |
7311 | Don't use TARGET if wrong mode. | |
7312 | ||
fcbfaa65 RK |
7313 | * config/i386/i386.c (ix86_compute_frame_size): Allow |
7314 | stack_alignment_needed to be non-default even if size is zero. | |
7315 | ||
10d17cb7 AM |
7316 | 2001-01-31 Alan Modra <alan@linuxcare.com.au> |
7317 | ||
824e7605 AM |
7318 | * pa.c (hppa_init_pic_save): New function. |
7319 | * pa.h (hppa_init_pic_save): Declare. | |
7320 | * pa.md (call, call_value, sibcall, sibcall_value): Use | |
7321 | the above instead of duplicated code. | |
7322 | ||
10d17cb7 AM |
7323 | * pa.c (hppa_encode_label): Correct size of alloca buffer |
7324 | so we don't overrun it. Correct leading `*' case. | |
7325 | * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't | |
7326 | need to handle `*@'. | |
7327 | (FUNCTION_NAME_P): Likewise. | |
7328 | ||
b9e6ebe9 RH |
7329 | 2001-01-31 Richard Henderson <rth@redhat.com> |
7330 | ||
c3e5f9fa RH |
7331 | * config.gcc (alpha-osf5): Use float-i128.h. |
7332 | ||
b9e6ebe9 RH |
7333 | * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define. |
7334 | * config/float-i32.h: Likewise. | |
7335 | * config/float-i64.h: Likewise. | |
7336 | * config/float-sh.h: Likewise. | |
7337 | * config/float-sparc.h: Likewise. | |
7338 | ||
dbac5d0d | 7339 | 2001-01-31 DJ Delorie <dj@redhat.com> |
aac280fb DD |
7340 | |
7341 | * expmed.c (extract_bit_field): allow non-integral modes if we | |
7342 | want to extract a whole register from itself. | |
7343 | ||
ce662d4c JJ |
7344 | 2001-01-31 Jakub Jelinek <jakub@redhat.com> |
7345 | ||
7346 | * c-typeck.c (set_init_index): If first is equal to last, assume as | |
7347 | if it was not a range at all. | |
7348 | ||
8b1065f1 AO |
7349 | 2001-01-31 Alexandre Oliva <aoliva@redhat.com> |
7350 | ||
3cb95a7d | 7351 | * config/fp-bit.c: Include tm.h. |
8b1065f1 AO |
7352 | (float_to_si): Don't assume SImode is 32-bits wide. |
7353 | (float_to_usi): Likewise. | |
7354 | ||
0aca1a4f JM |
7355 | 2001-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
7356 | ||
7357 | * c-parse.in (structsp): Pedwarn when "enum foo" refers to an | |
7358 | incomplete type. | |
7359 | (typename): Call pending_xref_error after parsing typed_typespecs. | |
7360 | * c-decl.c (lookup_tag): Give error immediately rather than | |
7361 | leaving it pending if the tag of the wrong type is in the same | |
7362 | binding level. | |
7363 | (xref_tag): Don't pedwarn for forward declarations of enum types | |
7364 | here. | |
7365 | * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union | |
7366 | and enum tags. | |
7367 | ||
92fa350a AO |
7368 | 2001-01-31 Alexandre Oliva <aoliva@redhat.com> |
7369 | ||
7370 | * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo. | |
7371 | ||
f000294d NB |
7372 | 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk> |
7373 | ||
6fca22eb RH |
7374 | * cpplib.c (T_ELIF): Move to STDC89, not that it matters. |
7375 | (_cpp_handle_directive): Suggest not using #elif with -Wtraditional. | |
f000294d | 7376 | |
ec1a23e6 NB |
7377 | 2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk> |
7378 | ||
6fca22eb RH |
7379 | * cpphash.h (struct cpp_reader): New saved_flags. |
7380 | * cppmacro.c (cpp_get_token): Use saved_flags to remember | |
7381 | to avoid a paste after a pasted token. | |
3844cd2e | 7382 | |
5d0e6486 AO |
7383 | 2001-01-31 Alexandre Oliva <aoliva@redhat.com> |
7384 | ||
7385 | * libgcc2.h (Wtype_MAX, Wtype_MIN): Define. | |
7386 | * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use | |
7387 | Wtype_MIN instead of LONG_MIN. | |
7388 | ||
b2321b26 JO |
7389 | 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com> |
7390 | ||
7391 | * fixinc/fixincl.tpl: Add 2001 to copyright. Change name of | |
7392 | README file. | |
7393 | * fixinc/fixincl.x: Regenerated. | |
7394 | * fixinc/inclhack.def (irix_limits_const): New definition to | |
7395 | convert "const" to "__const" in limits.h. | |
7396 | ||
4989b020 JO |
7397 | 2001-01-30 Jeffrey Oldham <oldham@codesourcery.com> |
7398 | ||
7399 | * fixinc/genfixes (AG): Fix "autogen4" thinko. | |
7400 | ||
2f33c635 HB |
7401 | 2001-01-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7402 | ||
7403 | * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED | |
7404 | when register dies in the insn. | |
7405 | ||
bdda3325 NB |
7406 | 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk> |
7407 | ||
7408 | * diagnostic.c (fatal): Fix word wrap. | |
7409 | ||
48b4d901 AO |
7410 | 2001-01-30 Alexandre Oliva <aoliva@redhat.com> |
7411 | ||
7412 | * combine.c (try_combine): Fix SUBREG setting for | |
7413 | HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD. | |
7414 | ||
1e738f74 FS |
7415 | 2001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
7416 | ||
7417 | * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN | |
7418 | comparison codes. | |
7419 | ||
e9770d51 NB |
7420 | 2001-01-30 Neil Booth <neil@daikokuya.demon.co.uk> |
7421 | ||
6fca22eb RH |
7422 | * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type) |
7423 | is not NULL. | |
7424 | * toplev.c (decode_W_option): Update warn_larger_than | |
7425 | unconditionally for each processed switch. | |
e9770d51 | 7426 | |
d966ae60 JDA |
7427 | 2001-01-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7428 | ||
7429 | * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx | |
7430 | to NULL_RTX. | |
7431 | (hppa_expand_prologue): Delete code to save pic offset table register | |
7432 | in the function prologue. | |
7433 | * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment. | |
7434 | * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset | |
7435 | table register at the beginning of the function after the prologue. | |
7436 | ||
f25561bb LB |
7437 | 2001-01-29 lars brinkhoff <lars@nocrew.org> |
7438 | ||
6fca22eb | 7439 | * tm.texi (PUSH_ROUNDING): Remove duplicate lines. |
f25561bb | 7440 | |
7ea9fcc6 JDA |
7441 | 2001-01-29 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7442 | Jeff Law <law@redhat.com> | |
7443 | ||
7444 | * pa.md (return): Revise comment for trivial return. | |
7445 | (return_internal): Non-trivial return pattern for non-PIC code. | |
7446 | (return_internal_pic): Non-trivial return pattern for PIC code. | |
7447 | It uses the PIC register to ensure it is restored after | |
7448 | function calls. | |
7449 | (epilogue): Generate appropriate return for PIC and non-PIC code. | |
7450 | ||
05d9f8b0 CF |
7451 | Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com> |
7452 | ||
7453 | * config/i386/cygwin.h: Fix -mno-cygwin search path for link. | |
7454 | ||
80c8b1aa DD |
7455 | 2001-01-29 DJ Delorie <dj@redhat.com> |
7456 | ||
7457 | * combine.c (if_then_else_cond): Pass the correct mode to | |
7458 | operand_subword() for constants. | |
7459 | ||
f6fc3552 CF |
7460 | Mon Jan 29 20:38:19 2001 Christopher Faylor <cgf@cygnus.com> |
7461 | ||
7462 | * config/i386/cygwin.h: Add w32api to include search. Search different | |
7463 | directories in a cross-build environment. | |
7464 | ||
2b5f2501 RH |
7465 | 2001-11-29 Tim Josling <tej@melbpc.org.au> |
7466 | ||
7467 | * tree.h (TYPE_STUB_DECL): Add documentation. | |
7468 | ||
7469 | 2001-11-29 Laurynas Biveinis <lauras@softhome.net> | |
1270a9b3 LB |
7470 | |
7471 | * sdbout.c (sdbout_one_type): Skip types with indeterminate size. | |
7472 | (sdbout_field_types): Likwise. Fix use of host_integerp. | |
7473 | ||
9c7c6e6c TP |
7474 | 2001-01-29 Thomas Pfaff <tpfaff@gmx.net> |
7475 | ||
7476 | * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in | |
7477 | cygwin.h. | |
7478 | ||
f1e9980a JO |
7479 | 2001-01-29 Jeffrey Oldham <oldham@codesourcery.com> |
7480 | ||
7481 | * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition | |
7482 | to use flag_gnu_linker. | |
7483 | ||
766ee681 NB |
7484 | 2001-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
7485 | ||
6fca22eb RH |
7486 | * cpplib.c (T_BAD_DIRECTIVE): Remove. |
7487 | (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1. | |
766ee681 | 7488 | |
718b8ea5 JM |
7489 | 2001-01-29 Joseph S. Myers <jsm28@cam.ac.uk> |
7490 | ||
7491 | * tree.c, tree.h (build_parse_node): Remove; was identical to | |
7492 | build_nt. | |
7493 | * c-lang.c (start_cdtor), objc/objc-act.c | |
7494 | (build_module_descriptor): Use build_nt instead of | |
7495 | build_parse_node. | |
7496 | ||
adc88131 JJ |
7497 | 2001-01-29 Jakub Jelinek <jakub@redhat.com> |
7498 | ||
7499 | * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI). | |
7500 | (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does | |
7501 | not have any upper bits set. | |
7502 | ||
42c0c80a PE |
7503 | 2001-01-29 Phil Edwards <pme@sources.redhat.com> |
7504 | ||
7505 | * COPYING.LIB: Update to LGPL 2.1 from the FSF. | |
7506 | ||
f2d1f0ba KG |
7507 | 2001-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7508 | ||
7509 | * stmt.c (estimate_case_costs): Use integer_minus_one_node. | |
7510 | ||
7511 | * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node. | |
7512 | ||
7513 | * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE. | |
7514 | (integer_minus_one_node): Define. | |
7515 | ||
4f92461a AO |
7516 | 2001-01-28 Alexandre Oliva <aoliva@redhat.com> |
7517 | ||
7518 | * Makefile.in (bootstrap2-lean): Fix typo. | |
7519 | ||
26ec42ee NB |
7520 | 2001-01-28 Neil Booth <neil@daikokuya.demon.co.uk> |
7521 | ||
6fca22eb RH |
7522 | * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash) |
7523 | : Don't set fe_value. | |
3844cd2e | 7524 | * cpplib.h (AVOID_LPASTE): New flag. |
6fca22eb RH |
7525 | (struct cpp_hashnode): Remove fe_value. |
7526 | * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number. | |
7527 | * cppmacro.c (builtin_macro): Don't set flags here. | |
7528 | (replace_args): Set AVOID_LPASTE flag on first token of an | |
7529 | argument, and the token following it. | |
7530 | (cpp_get_token): Set AVOID_LPASTE flag on first token of a | |
7531 | macro expansion, and on the token following it. Do it for | |
7532 | builtins too. | |
7533 | * cppmain.c (scan_buffer): Avoid pasting only flagged tokens. | |
26ec42ee | 7534 | |
0be25992 RH |
7535 | 2001-01-27 Richard Henderson <rth@redhat.com> |
7536 | ||
7537 | * config/alpha/t-ieee: Remove multilibbing. | |
7538 | (TARGET_LIBGCC2_CFLAGS): Add -mieee. | |
7539 | ||
c913b6f1 KG |
7540 | 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7541 | ||
7542 | * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h. | |
7543 | ||
7544 | * Makefile.in: Remove all dependencies on defaults.h. | |
7545 | * builtins.c: Don't include defaults.h. | |
7546 | * c-common.c: Likewise. | |
7547 | * c-decl.c: Likewise. | |
7548 | * c-pragma.c: Likewise. | |
7549 | * c-typeck.c: Likewise. | |
7550 | * combine.c: Likewise. | |
7551 | * i386.c: Likewise. | |
7552 | * frame-ia64.c: Likewise. | |
7553 | * cppexp.c: Likewise. | |
7554 | * crtstuff.c: Likewise. | |
7555 | * dbxout.c: Likewise. | |
7556 | * dwarf2out.c: Likewise. | |
7557 | * dwarfout.c: Likewise. | |
7558 | * emit-rtl.c: Likewise. | |
7559 | * except.c: Likewise. | |
7560 | * expr.c: Likewise. | |
7561 | * final.c: Likewise. | |
7562 | * frame-dwarf2.c: Likewise. | |
7563 | * libgcc2.c: Likewise. | |
7564 | * optabs.c: Likewise. | |
7565 | * profile.c: Likewise. | |
7566 | * sdbout.c: Likewise. | |
7567 | * toplev.c: Likewise. | |
7568 | * tradcif.y: Likewise. | |
7569 | * tree.c: Likewise. | |
7570 | * varasm.c: Likewise. | |
7571 | ||
013dea40 KG |
7572 | 2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7573 | ||
7574 | * builtins.c (expand_builtin_fputs): Use size_one_node when | |
7575 | transforming into fwrite. | |
7576 | ||
2c5e91d2 JM |
7577 | 2001-01-27 Joseph S. Myers <jsm28@cam.ac.uk> |
7578 | ||
7579 | * extend.texi (Attribute Syntax): New section. | |
7580 | ||
825ac704 MS |
7581 | 2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
7582 | ||
7583 | * fixproto: Correctly install synthesised unistd.h and stdlib.h when | |
7584 | they didn't need fixing. | |
7585 | ||
70305f2b RH |
7586 | 2001-01-27 Janis Johnson <janis@us.ibm.com> |
7587 | ||
7588 | * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h | |
7589 | if appropriate. | |
7590 | * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and | |
7591 | to remove macro definitions that are duplicated from elfos.h. | |
7592 | ||
7593 | 2001-01-27 Richard Henderson <rth@redhat.com> | |
7594 | ||
7595 | * config/i386/sco5gas.h: Move ... | |
7596 | * config/usegas.h: ... here. | |
7597 | * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update. | |
7598 | ||
940ff66d JJ |
7599 | 2001-01-27 Jakub Jelinek <jakub@redhat.com> |
7600 | ||
7601 | * c-typeck.c (struct constructor_stack): Add range_stack member. | |
7602 | (really_start_incremental_init): Clear it. | |
7603 | (push_init_level): Save constructor_range_stack and clear it if | |
7604 | pushing explicit braces. | |
7605 | (pop_init_level): abort if constructor_range_stack is non-zero at | |
7606 | explicit closing brace. Restore saved constructor_range_stack if | |
7607 | not implicit. | |
7608 | ||
de1b33dd AO |
7609 | 2001-01-27 Alexandre Oliva <aoliva@redhat.com> |
7610 | ||
7611 | * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded | |
7612 | into register was forced into memory. | |
7613 | ||
3d84f80f AO |
7614 | 2001-01-27 Alexandre Oliva <aoliva@redhat.com> |
7615 | ||
7616 | * Makefile.in: Remove uses of + before $(MAKE). | |
7617 | ||
2a2137c4 RH |
7618 | 2001-01-26 Richard Henderson <rth@redhat.com> |
7619 | ||
7620 | * stmt.c (cost_table): Remove. | |
7621 | (COST_TABLE, cost_table_initialized): New. | |
7622 | (estimate_case_costs): Use the later instead of the former. | |
7623 | (balance_case_nodes): Likewise. | |
7624 | ||
66cce54d RH |
7625 | 2001-01-26 Richard Henderson <rth@redhat.com> |
7626 | ||
7627 | * alias.c (objects_must_conflict_p): Read-only slots may not | |
7628 | conflict despite having the same type. | |
7629 | ||
616fde53 MH |
7630 | 2001-01-27 Michael Hayes <mhayes@redhat.com> |
7631 | ||
7632 | * loop.c (loop_giv_reduce_benefit): Copy mode size into | |
7633 | int variable. | |
7634 | (check_ext_dependant_givs): Initialise u_start_val and | |
7635 | u_end_val. | |
7636 | (load_mems): Make last_max_reg unsigned. | |
7637 | (try_swap_copy_prop): Use INSN_P and initialise set. | |
7638 | ||
b63471e9 DC |
7639 | Fri Jan 26 23:22:58 2001 Denis Chertykov <denisc@overta.ru> |
7640 | ||
7641 | * README.AVR : Removed. | |
7642 | ||
d1ebd58d JL |
7643 | Fri Jan 26 11:37:26 2001 Jeffrey A Law (law@cygnus.com) |
7644 | ||
7645 | * pa-64.h (text_section): Remove declaration. | |
7646 | ||
7647 | * pa.md (return_internal): Remove mode on PIC register use. | |
7648 | ||
a8d1550a LB |
7649 | 2001-01-25 lars brinkhoff <lars@nocrew.org> |
7650 | ||
7651 | * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN, | |
7652 | ASM_CLOSE_PAREN): fix typos. | |
7653 | ||
78e0ba39 MM |
7654 | 2001-01-25 Mark Mitchell <mark@codesourcery.com> |
7655 | ||
7656 | * acconfig.h: Define `const' to the empty string if neither | |
7657 | __STDC__ nor __cplusplus is defined. | |
7658 | * config.in: Regenerated. | |
7659 | ||
05dba9ee DE |
7660 | 2001-01-25 David Edelsohn <edelsohn@gnu.org> |
7661 | ||
7662 | * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h. | |
7663 | * collect2.c (main): Delete importf. Add ".obj" file extension. | |
7664 | (GCC_CHECK_HDR): Handle AIX V5 new magic number. | |
7665 | (aix_std_libs): Add additional AIX libraries to skip. | |
7666 | * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number. | |
7667 | * config/rs6000/aix51.h: New file. | |
7668 | ||
86e21212 MH |
7669 | 2001-01-25 Michael Hayes <mhayes@redhat.com> |
7670 | ||
7671 | * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New. | |
7672 | (loop_insn_emit_before): No longer static. | |
7673 | (move_movables): Replace emit_insn_after with loop_insn_emit_after. | |
7674 | (loop_givs_rescan, load_mems): Likewise. | |
7675 | (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before. | |
7676 | (maybe_eliminate_biv_1): | |
7677 | (move_movables): Replace emit_call_insn_before with | |
7678 | loop_call_insn_hoist. | |
7679 | * loop.h (loop_insn_emit_before): Add. | |
3844cd2e | 7680 | * unroll.c (copy_loop_body): Replace emit_insn_before with |
86e21212 MH |
7681 | loop_insn_emit_before. |
7682 | ||
7fa531a6 NB |
7683 | 2001-01-25 Neil Booth <neil@daikokuya.demon.co.uk> |
7684 | ||
70305f2b | 7685 | * diagnostic.c (fatal): Request preprocessed source. |
7fa531a6 | 7686 | |
91239b93 R |
7687 | Thu Jan 25 02:01:16 2001 J"orn Rennecke <amylaar@redhat.com> |
7688 | ||
7689 | * c-decl.c (duplicate_decls): If different_binding_level is nonzero, | |
7690 | olddecl has argument types and newdecl has none, use the argument | |
7691 | types from olddecl. | |
7692 | ||
e57cabac UD |
7693 | 2001-01-24 Ulrich Drepper <drepper@redhat.com> |
7694 | ||
7695 | * dwarf2out.c (prefix_of): New function. Determine longest common | |
7696 | prefix of the two arguments. The units are whole path components. | |
7697 | (output_file_names): When adding a new directory find the one entry | |
7698 | with the longest common prefix already in the list. Artificially | |
7699 | generate entry if there is none for this prefix. | |
7700 | Fix test to check whether the zeroth directory entry is used. | |
7701 | ||
304a22dd R |
7702 | Wed Jan 24 23:51:55 2001 J"orn Rennecke <amylaar@redhat.com> |
7703 | ||
7704 | * reload1.c (reload_reg_free_for_value_p): New parameter start_regno. | |
7705 | Changed all callers. Take it into account when deciding if a | |
7706 | previously loaded value matches. | |
7707 | ||
0a28aef9 RH |
7708 | 2001-01-24 Richard Henderson <rth@redhat.com> |
7709 | ||
7710 | * reload.c (find_reloads_subreg_address): Fail the substitution | |
7711 | if the resulting address is insufficiently aligned. | |
7712 | ||
1cac8785 DD |
7713 | 2001-01-24 DJ Delorie <dj@redhat.com> |
7714 | ||
7715 | * combine.c (combine_simplify_rtx): If the modes are all VOIDmode, | |
7716 | check the original operand's mode also. | |
7717 | * simplify-rtx.c (simplify_ternary_operation): Ditto. | |
7718 | ||
cedd825f JM |
7719 | 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk> |
7720 | ||
7721 | * c-parse.in (cast_expr): Move compound literals from here ... | |
7722 | (primary): ... to here. Use standard terminology "compound | |
7723 | literal" instead of "constructor expression". | |
7724 | ||
445c435a JM |
7725 | 2001-01-24 Joseph S. Myers <jsm28@cam.ac.uk> |
7726 | ||
7727 | * gcc.1, cpp.1: Regenerate. | |
7728 | ||
4cfc6042 AO |
7729 | 2001-01-24 Alexandre Oliva <aoliva@redhat.com> |
7730 | ||
7731 | * calls.c (emit_library_call_value_1): Memory slot for | |
7732 | pass-by-reference argument should have the mode of the argument, | |
7733 | not of the pointer to it. | |
7734 | ||
597dba19 TT |
7735 | 2001-01-24 Tom Tromey <tromey@redhat.com> |
7736 | ||
7737 | * gcc.texi (G++ and GCC): Mention gcj manual. | |
7738 | (Standards): Link to section of manual mentioning gcj/Java | |
7739 | compatibility. | |
7740 | ||
7855db7c JJ |
7741 | 2001-01-24 Jakub Jelinek <jakub@redhat.com> |
7742 | ||
7743 | * cppfiles.c (_cpp_read_file): Add to dependencies if requested. | |
7744 | * cppinit.c (cpp_start_read): Remove deps_add_dep call. | |
7745 | * tradcpp.c (main): Add -imacros or -include'd dependencies | |
7746 | for -M*. | |
7747 | * cpp.texi (-M, -MM): Document -M -include behaviour. | |
7748 | ||
6a40fc2b | 7749 | 2001-01-24 Roger Collins <roger@ProProject.com> |
e57cabac | 7750 | |
70305f2b | 7751 | * config/i386/xm-i386.h: Make __i386__ a boolean macro. |
6a40fc2b | 7752 | |
2f3fdc52 WC |
7753 | 2001-01-24 Will Cohen <wcohen@redhat.com> |
7754 | ||
7755 | * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account | |
7756 | whether registers are 32 bits or 64 bits in size. | |
7757 | ||
a941b588 BE |
7758 | 2001-01-24 Ben Elliston <bje@redhat.com> |
7759 | ||
7760 | * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg. | |
7761 | ||
64b4ab5a RH |
7762 | 2001-01-24 Richard Henderson <rth@redhat.com> |
7763 | ||
7764 | * config/alpha/alpha.md (builtin_longjmp_internal): New. | |
7765 | (builtin_longjmp): Use it instead of emit_indirect_jump. | |
7766 | ||
b0cc7919 JDA |
7767 | 2001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7768 | ||
7769 | * bb-reorder.c (make_reorder_chain_1): Handle case where | |
7770 | jump edge goes to the same block as the fallthru edge. | |
e57cabac | 7771 | |
0024a804 JW |
7772 | 2001-01-23 Jim Wilson <wilson@redhat.com> |
7773 | ||
7774 | * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned. | |
7775 | * frame.h (__ia64_personality_v1): Add prototype. | |
7776 | * libgcc2.c (ia64_throw_helper): Change personality declaration to | |
7777 | prototype form. Add void * cast to first argument to personality | |
7778 | call. | |
7779 | * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs. | |
7780 | (asctoe113): Likewise. | |
7781 | * config/ia64/frame-ia64.c: Include eh-common.h. | |
7782 | * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add | |
7783 | prototypes. | |
7784 | * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED | |
7785 | to dump parameter. | |
7786 | (itanium_split_issue): Add prototype. | |
7787 | (gen_nop_type): Ifdef out. | |
7788 | (find_best_packet): Initialize best_packet. | |
7789 | (ia64_encode_section_info): New local string. Use for ggc_alloc_string | |
7790 | result. | |
7791 | * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0. | |
7792 | * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start. | |
7793 | (flushrs): Add explicit stop bit at end. | |
7794 | * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change | |
7795 | trailing \ to >. | |
e57cabac | 7796 | |
8a1894ac CD |
7797 | 2001-01-23 Chris Demetriou <cgd@broadcom.com> |
7798 | ||
7799 | * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list | |
7800 | of EH symbols. | |
7801 | * libgcc2.c (__terminate_func): Make variable static. | |
7802 | (__terminate_set_func): New function to set __terminate_func. | |
7803 | * libgcc2.h (__terminate_func_ptr): New typedef. | |
7804 | (__terminate_set_func): New function. | |
7805 | ||
240f9c2b RH |
7806 | 2001-01-23 Richard Henderson <rth@redhat.com> |
7807 | ||
7808 | * flow.c (init_propagate_block_info): Don't consider unchanging | |
7809 | memories for dead frame store elimination. | |
7810 | ||
fc9f395a RH |
7811 | 2001-01-23 Richard Henderson <rth@redhat.com> |
7812 | ||
7813 | * varasm.c (UNIQUE_SECTION): Move default implementation ... | |
7814 | * defaults.h: ... here. | |
7815 | ||
860b3499 MH |
7816 | 2001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
7817 | ||
7818 | * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define. | |
7819 | ||
955dc84a NB |
7820 | 2001-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
7821 | ||
70305f2b | 7822 | * c-lex.c (lex_charconst): Fix typo: s/p/str. |
955dc84a | 7823 | |
608ab802 FS |
7824 | 2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
7825 | ||
7826 | * rs6000.h (rs6000_return_addr): Move prototype from here... | |
7827 | * rs6000-protos.h (rs6000_return_addr): ...to here. | |
7828 | (rs6000_init_expanders): Delete prototype. | |
7829 | ||
371e300b NC |
7830 | 2001-01-23 Nick Clifton <nickc@redhat.com> |
7831 | ||
7832 | * invoke.texi: Replace , with \, inside @gccoptlist macros. | |
7833 | (Spec Files): Document %B and %j and %. and %v3 and %M and | |
7834 | %{S*&T} spec switches. | |
7835 | ||
4a1f52a8 HB |
7836 | 2001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7837 | ||
7838 | * c4x.c (c4x_r11_set_p): Calculate rtx code correctly. | |
7839 | ||
c933c209 CD |
7840 | 2001-01-23 Chris Demetriou <cgd@sibyte.com> |
7841 | Neil Booth <neil@daikokuya.demon.co.uk> | |
7842 | ||
70305f2b RH |
7843 | * cpperror.c: Merge handlers of PEDWARN and WARNING. |
7844 | Have -Werror make pedantic warnings errors, like the | |
7845 | rest of GCC. | |
c933c209 | 7846 | |
3fb74b82 PE |
7847 | 2001-01-23 Phil Edwards <pme@sources.redhat.com> |
7848 | ||
7849 | * c-tree.texi (IDENTIFIER_LENGTH): Fix typo. | |
7850 | ||
96e60f0c JJ |
7851 | 2001-01-23 Jakub Jelinek <jakub@redhat.com> |
7852 | ||
7853 | * integrate.h (struct inline_remap): Add compare_src, compare_mode. | |
7854 | * integrate.c (expand_inline_function): Initialize them. | |
7855 | (subst_constants): If changing COMPARE so that both its arguments | |
7856 | will be VOIDmode and the comparison mode will be lost, note | |
7857 | compare_mode. Use the recorded compare_mode to optimize | |
7858 | IF_THEN_ELSE. | |
7859 | ||
3f4907a6 JM |
7860 | 2001-01-23 Jason Merrill <jason@redhat.com> |
7861 | ||
7862 | * dwarf2out.c (new_die): Use xcalloc. | |
7863 | (output_die): Abort rather than emit a local reference to offset 0. | |
7864 | ||
44f715c8 AH |
7865 | 2001-01-17 Andrew Haley <aph@redhat.com> |
7866 | ||
7867 | * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy | |
7868 | of a saved register; return NULL instead. | |
7869 | (copy_reg): Take a pointer to a source register rather than a | |
7870 | frame_state. | |
7871 | (next_stack_level): Remember the address in the stack frame of all | |
7872 | saved registers. | |
7873 | Use the saved register pointer array as the source of the CFA. | |
7874 | (throw_helper): Rewrite. Unwind once rather than twice and keep | |
7875 | track of saved registers as we go. | |
e57cabac | 7876 | |
eb253d90 HB |
7877 | 2001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7878 | ||
7879 | * c4x-protos.h (c4x_legitimize_reload_address): Remove. | |
7880 | * c4x.c (c4x_legitimize_reload_address): Remove. | |
7881 | * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct | |
7882 | reload address for ldp(k) insn. | |
7883 | ||
2caa0ddf JL |
7884 | Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com) |
7885 | ||
7886 | * pa.md (return_internal): Add a USE of the PIC register to ensure | |
7887 | it is restored after each call. | |
7888 | (return expander): Corresponding changes. | |
7889 | ||
71f123ca FS |
7890 | 2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
7891 | ||
7892 | * rs6000.h (INIT_EXPANDERS): Delete. | |
7893 | (RETURN_ADDR_RTX): Call rs6000_return_addr(). | |
7894 | * rs6000.c (rs6000_override_options): Call *_machine_status from | |
7895 | here... | |
7896 | (rs6000_init_expanders): ...instead of here. Delete. | |
7897 | (rs6000_mark_machine_status): New function. | |
7898 | (rs6000_init_machine_status): Use xcalloc. | |
7899 | (rs6000_return_addr): Generate RTX for the return address. | |
7900 | (rs6000_ra_ever_killed): New, check if LR was ever destroyed. | |
7901 | (rs6000_stack_info): Use it. | |
7902 | ||
5dab7f92 TP |
7903 | 2001-01-22 Thomas Pfaff <tpfaff@gmx.net> |
7904 | ||
7905 | * gthr-win32.h: Include errno.h to get a declaration for | |
7906 | EINVAL and _mingw.h if the target is mingw32. | |
7907 | ||
586964a7 AFV |
7908 | 2001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co> |
7909 | ||
7910 | * cpp.texi: Correct typos. | |
7911 | ||
f5f5363f RK |
7912 | Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7913 | ||
7914 | * explow.c (probe_stack_range): Ensure value passed to | |
7915 | stack_check_libfunc is ptr_mode, not Pmode. | |
7916 | ||
44e4159d R |
7917 | Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com> |
7918 | ||
7919 | * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND | |
7920 | case, don't use operand_subword to calculate a SUBREG that is | |
7921 | wider than a word. | |
7922 | ||
7923 | * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE. | |
7924 | ||
0bbcfbaf HB |
7925 | 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7926 | ||
7927 | * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions. | |
7928 | (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is | |
7929 | valid. If not replace it by equivalent insns. | |
7930 | ||
5078f5eb HB |
7931 | 2001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
7932 | ||
7933 | * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST | |
7934 | contains SYMBOL_REF, LABEL_REF and CONST_INT. | |
7935 | (c4x_U_constraint, symbolic_address_operand): Likewise. | |
7936 | (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in | |
7937 | memory. | |
7938 | (c4x_r11_set_p, c4x_check_laj_p): New functions. | |
7939 | * c4x-protos.h (c4x_check_laj_p): Add prototype. | |
e57cabac | 7940 | * c4x.md (in_annul_slot_3): Do not allow auto-increment in last |
5078f5eb HB |
7941 | anulling slot because of silicon bug. |
7942 | (laj, lajv): Call c4x_check_laj_p to check for silicon bug. | |
7943 | ||
6dc0d164 AM |
7944 | 2001-01-22 Alan Modra <alan@linuxcare.com.au> |
7945 | ||
70305f2b RH |
7946 | * cppexp.c (parse_charconst): Change `mask' type to agree |
7947 | with parse_escape. | |
6dc0d164 | 7948 | |
c7f0da1d RH |
7949 | 2001-01-21 Richard Henderson <rth@redhat.com> |
7950 | ||
7951 | * config/i386/i386.c (ix86_asm_file_end): Disable putting | |
7952 | pic_label_name in a linkonce section. | |
7953 | ||
380a627a PT |
7954 | 2001-01-17 Philipp Thomas <pthomas@suse.de> |
7955 | ||
7956 | * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was | |
7957 | found in libintl. | |
7958 | * configure: Regenerate. | |
7959 | ||
02a65aef R |
7960 | Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com> |
7961 | ||
7962 | * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard | |
7963 | uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks. | |
7964 | ||
56b871c1 DC |
7965 | Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru> |
7966 | ||
7967 | * config/avr/avr.c (ret_cond_branch): New argument (reverse) added. | |
7968 | If REVERSE nonzero then condition code in X must be reversed. | |
7969 | (encode_section_info): Optimise if/else. | |
7970 | (avr_function_value): Fix formatting. | |
7971 | ||
7972 | * config/avr/avr.md (branch): Call to ret_cond_branch changed. | |
7973 | (difficult_branch): Likewise. | |
7974 | (rvbranch): Likewise. | |
7975 | (difficult_rvbranch): Likewise. | |
7976 | ||
7977 | * config/avr/avr-protos.h (ret_cond_branch): Prototype changed. | |
7978 | ||
7979 | * config/avr/libgcc.S: Fix comment. | |
7980 | ||
04e91ffb MS |
7981 | 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
7982 | ||
7983 | * sdbout.c (PUT_SDB_DEF): Fix after last bogus change. | |
7984 | ||
3943e756 MS |
7985 | 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
7986 | ||
7987 | * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting. | |
7988 | ||
b3e1e64f MS |
7989 | 2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
7990 | ||
7991 | * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro. | |
7992 | * configure.in (gcc_AC_FUNC_STRSTR): Add invokation. | |
7993 | * configure, config.in: Regenerate. | |
7994 | * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables. | |
7995 | (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling. | |
7996 | (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules. | |
7997 | (doprint.o): New rule. | |
7998 | ||
47f8b473 JM |
7999 | 2001-01-20 Joseph S. Myers <jsm28@cam.ac.uk> |
8000 | ||
8001 | * c-typeck.c (digest_init): Handle boolean types as scalars. | |
8002 | ||
2954d7db RK |
8003 | Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8004 | ||
8005 | * stmt.c (expand_return): Don't return anything if size is zero. | |
8006 | Delete redundant assignment to BYTES. | |
8007 | * expr.c (move_block_from_reg): Do nothing if NREGS is zero. | |
8008 | ||
1d26ac96 MM |
8009 | 2001-01-20 Marek Michalkiewicz <marekm@linux.org.pl> |
8010 | ||
8011 | * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was | |
8012 | the same as the default library function names. | |
8013 | * config/avr/avr.md: Document special characters after '%'. | |
8014 | (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves, | |
8015 | knowing which of the call-used registers are really clobbered. | |
8016 | (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4): | |
8017 | New. Both quotient and remainder from one libgcc.S call. | |
8018 | * config/avr/libgcc.S: Optimize mul/divmod for the new insns above, | |
8019 | clobber as few registers as possible. | |
8020 | * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes. | |
8021 | ||
673b13e2 NB |
8022 | 2001-01-20 Neil Booth <neil@daikokuya.demon.co.uk> |
8023 | ||
70305f2b RH |
8024 | * cppmacro.c (funlike_invocation_p): Don't move back up to the |
8025 | context of the top of the stack. | |
673b13e2 | 8026 | |
a42a5f59 ZW |
8027 | 2001-01-20 Jakub Jelinek <jakub@redhat.com> |
8028 | ||
8029 | * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling... | |
8030 | (fixup_var_refs_insns): ...here. | |
8031 | ||
a42a5f59 ZW |
8032 | 2001-01-20 Zack Weinberg <zack@wolery.stanford.edu> |
8033 | ||
8034 | * function.c (fixup_var_refs_insns): Break up into | |
8035 | fixup_var_refs_insn [body of loop], fixup_var_refs_insns | |
8036 | [loop over entire insn list], and fixup_var_refs_insns_with_hash | |
8037 | [loop over hash table entries]. | |
8038 | (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or | |
8039 | fixup_var_refs_insns_with_hash, to match above changes. | |
8040 | ||
03bbd83f JDA |
8041 | 2001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8042 | ||
8043 | * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable. | |
8044 | (libgcc.a): Likewise. | |
8045 | (stmp-multilib): Likewise. | |
8046 | (STAGE2_FLAGS_TO_PASS): Likewise. | |
8047 | ||
68c37dc9 AO |
8048 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> |
8049 | ||
8050 | * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as | |
8051 | temporary if no_new_pseudos. | |
8052 | ||
111e0469 NB |
8053 | 2001-01-19 Neil Booth <neil@daikokuya.demon.co.uk> |
8054 | ||
a42a5f59 | 8055 | * cppinternals.texi: Update. |
111e0469 | 8056 | |
55cf7bb9 RE |
8057 | 2001-01-19 Richard Earnshaw <rearnsha@arm.com> |
8058 | ||
8059 | * arm.c (arm_init_builtins): Re-enable builtins. | |
8060 | ||
831ecbd4 RK |
8061 | Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8062 | ||
7193d1dc RK |
8063 | * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility. |
8064 | * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow | |
8065 | element to be null, and always expect an EXPR_LIST. | |
8066 | * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise. | |
8067 | * sched-deps.c (sched_analyze_1): Likewise. | |
8068 | * sched-rgn.c (check_live_1, update_live_1): Likewise. | |
8069 | ||
79b9ec0d RK |
8070 | * regclass.c (max_set_parallel): New variable. |
8071 | (reg_scan): Take it into account in computation of max_parallel. | |
8072 | (reg_scan_mark_refs, case SET): Compute it. | |
8073 | ||
831ecbd4 RK |
8074 | * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume |
8075 | args are REG. | |
8076 | * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM. | |
8077 | * function.c (assign_parms): Use INTVAL for a CONST_INT. | |
8078 | ||
cb9e9d8d JM |
8079 | 2001-01-19 Jason Merrill <jason@redhat.com> |
8080 | ||
8081 | * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl | |
8082 | for the abstract instance of an inline function. | |
8083 | ||
831ecbd4 RK |
8084 | Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com> |
8085 | J"orn Rennecke <amylaar@redhat.com> | |
61f5625b | 8086 | |
20342a6b AO |
8087 | * reload1.c (move2add_note_store): Treat all registers directly or |
8088 | indirectly derived from a base register as members of the same set | |
8089 | of values. | |
8090 | (reload_cse_move2add): Adjust accordingly. Take mode and offset | |
8091 | of base register into account. | |
61f5625b | 8092 | |
61f0131c R |
8093 | Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com> |
8094 | ||
8095 | * alias.c (find_base_value): Recognize TRUNCATE. | |
8096 | (record_set): In PLUS case, invalidate if other summand is also a | |
8097 | base value. | |
8098 | ||
8eeb855e RK |
8099 | Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8100 | ||
831ecbd4 | 8101 | * flow.c (mark_set_1, case PARALLEL): New case; rework to allow |
90d036a0 RK |
8102 | entry to be EXPR_LIST. |
8103 | * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to | |
8104 | be an EXPR_LIST (but not null, which other code doesn't allow). | |
8105 | (note_stores): Properly handle PARALLEL in SET. | |
8106 | Recursively call for top-level PARALLEL. | |
8107 | * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET. | |
8108 | * sched-rgn.c (check_live_1, update_live_1): Likewise. | |
8109 | ||
8eeb855e RK |
8110 | * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h. |
8111 | ||
6fe349a9 NB |
8112 | 2001-01-18 Neil Booth <neil@daikokuya.demon.co.uk> |
8113 | ||
a42a5f59 ZW |
8114 | * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, |
8115 | not pfile->skipping (== 0). | |
6fe349a9 | 8116 | |
988144ce NC |
8117 | 2001-01-17 Nick Clifton <nickc@redhat.com> |
8118 | ||
8119 | * config/rs6000/rs6000.c: Add prototypes for {init|free}_ | |
8120 | machine_status. | |
8121 | ||
15d3a111 JW |
8122 | 2001-01-17 Jim Wilson <wilson@redhat.com> |
8123 | ||
8124 | * invoke.texi (IA-64 options): Improve. | |
8125 | ||
2bab2366 TT |
8126 | 2001-01-17 Tom Tromey <tromey@redhat.com> |
8127 | ||
8128 | * invoke.texi (Optimize Options): Use `{}' to around @samp | |
8129 | argument. | |
8130 | ||
454d0cc7 AH |
8131 | 2001-01-17 Aldy Hernandez <aldyh@redhat.com> |
8132 | ||
a42a5f59 | 8133 | * invoke.texi (-fno-guess-branch-probability): New option. |
454d0cc7 | 8134 | |
c7be4f66 RK |
8135 | Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8136 | ||
8137 | * combine.c (try_combine): Don't set i3_subst_into_i2 for | |
8138 | case of making new double-word constant. | |
8139 | Revert last change: instead just test i3_subst_into_i2. | |
8140 | ||
5efdd890 JJ |
8141 | 2001-01-17 Jakub Jelinek <jakub@redhat.com> |
8142 | ||
8143 | * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation. | |
d70401eb | 8144 | Use q constraints instead of r. |
5efdd890 | 8145 | |
5dfcd8e1 AM |
8146 | Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au) |
8147 | ||
8148 | * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove. | |
8149 | (machine_function): Define. | |
8150 | (PIC_OFFSET_TABLE_SAVE_RTX) : Define. | |
8151 | * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status, | |
8152 | pa_free_machine_status): New functions. | |
8153 | (override_options): Set {init,mark,free}_machine_status to above. | |
8154 | (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of | |
8155 | PIC_OFFSET_TABLE_REGNUM_SAVED. | |
8156 | * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of | |
8157 | PIC_OFFSET_TABLE_REGNUM_SAVED throughout. | |
8158 | * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove | |
8159 | references to PIC_OFFSET_TABLE_REGNUM_SAVED. | |
8160 | * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise. | |
8161 | ||
ce3b8848 DD |
8162 | 2001-01-15 DJ Delorie <dj@redhat.com> |
8163 | ||
8164 | * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing. | |
8165 | (cpp.1): Ditto. | |
8166 | (gcc.1): Ditto. | |
8167 | ||
6953fdb4 RK |
8168 | Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8169 | ||
50e9b3f1 RK |
8170 | * flow.c (propagate_on_insn): Make trying to delete a prologue |
8171 | or epilogue insn an ICE, not a warning. Allow doing this if | |
8172 | the current function returns with stack pointer depressed. | |
8173 | ||
6953fdb4 RK |
8174 | * combine.c (try_combine): If i3_subst_into_i2, properly check for |
8175 | I3 having more than one SET. | |
8176 | ||
aebf2462 JW |
8177 | 2001-01-16 Jim Wilson <wilson@redhat.com> |
8178 | ||
df6194d4 JW |
8179 | * invoke.texi: Document IA-64 options. |
8180 | ||
aebf2462 JW |
8181 | * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support. |
8182 | (fixup_errata): Delete TARGET_A_STEP use. | |
8183 | * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete. | |
8184 | (TARGET_SWITCHES): Delete -ma-step option. | |
8185 | * config/ia64/ia64.md (all FP patterns): Delete %B0. | |
8186 | (movqicc_astep, movqi_internal_astep, movhicc_astep, | |
8187 | movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1, | |
8188 | movdi_internal_astep, movsfcc_astep, movsf_internal_astep, | |
8189 | movdfcc_astep, movdf_internal_astep, movtfcc_astep, | |
8190 | movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep): | |
8191 | Delete. | |
8192 | (movqi_internal, movhi_internal, movsi_internal, movdi_internal, | |
8193 | movsf_internal, movdf_internal, movtf_internal, cmovdi_internal, | |
8194 | cmovsi_internal): Delete ! TARGET_A_STEP check. | |
a42a5f59 | 8195 | |
aebb127a GP |
8196 | 2001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
8197 | ||
8198 | * gcc.texi (Bug Lists): Do not mention newsgroups nor the | |
8199 | possibility to report bugs via postal mail. Change a URL and | |
8200 | merge in a nearly duplicate statement... | |
8201 | (Bug Reporting): ...from here. | |
8202 | (Service): Refer to the Bug Reporting section instead of | |
8203 | duplicating an URL. | |
8204 | (Contributing): Remove trivial explanations concerning snapshots. | |
8205 | ||
95f4ac8b AM |
8206 | 2001-01-16 Alan Modra <alan@linuxcare.com.au> |
8207 | ||
a42a5f59 | 8208 | * cppmain.c (general_init): Don't use ANSI prototype. |
95f4ac8b | 8209 | |
c32ee81e TT |
8210 | 2001-01-16 Tom Tromey <tromey@redhat.com> |
8211 | ||
8212 | * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT. | |
8213 | ||
2c873473 RH |
8214 | 2001-01-16 Richard Henderson <rth@redhat.com> |
8215 | ||
8216 | * config/i386/i386.h: Fix comment typo. | |
8217 | * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/ | |
8218 | (ashr+compare patterns): Match CCGOCmode not CCNOmode. | |
8219 | ||
76e5b312 PE |
8220 | 2001-01-16 Phil Edwards <pme@sources.redhat.com> |
8221 | ||
8222 | * gcc.c: Revert previous -fsyntax-only-related change; move | |
20f9202d | 8223 | to cp/g++spec.c. |
76e5b312 | 8224 | |
b62d22a2 JJ |
8225 | 2001-01-16 Jakub Jelinek <jakub@redhat.com> |
8226 | ||
8227 | * config/i386/i386.c (fcmov_comparison_operator): Only initialize | |
8228 | inmode after checking GET_CODE (op). | |
8229 | ||
0875baa0 RH |
8230 | 2001-01-16 Richard Henderson <rth@redhat.com> |
8231 | ||
8232 | * flow.c (struct propagate_block_info): Add mem_set_list_len. | |
8233 | (MAX_MEM_SET_LIST_LEN): New. | |
8234 | (propagate_one_insn): Update mem_set_list_len. | |
8235 | (invalidate_mems_from_autoinc): Likewise. | |
8236 | (invalidate_mems_from_set): Likewise. | |
8237 | (mark_used_regs): Likewise. | |
8238 | (init_propagate_block_info): Likewise. Stop collecting memories | |
8239 | when we reach MAX_MEM_SET_LIST_LEN. | |
8240 | (mark_set_1): Likewise. | |
8241 | ||
c55fa4d6 RH |
8242 | 2001-01-16 Richard Henderson <rth@redhat.com> |
8243 | ||
8244 | * unroll.c (precondition_loop_p): Fail if no iteration | |
8245 | variable found. | |
8246 | ||
6488ac06 PE |
8247 | 2001-01-16 Phil Edwards <pme@sources.redhat.com> |
8248 | ||
8249 | * gcc.c: When -fsyntax-only is given, do not complain about | |
20f9202d | 8250 | unused libraries. |
6488ac06 | 8251 | |
4cf12e7e RH |
8252 | 2001-01-15 Richard Henderson <rth@redhat.com> |
8253 | ||
8254 | * config/i386/i386.c (asm_output_function_prefix): Remove. | |
8255 | (ix86_asm_file_end): New. | |
8256 | (load_pic_register): Generate pic_label_name into a | |
8257 | staticly allocated buffer. | |
8258 | * config/i386/i386-protos.h: Update. | |
8259 | * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove. | |
8260 | (ASM_FILE_END): New. | |
8261 | * config/i386/i386afe.h: New file. | |
8262 | * config.gcc (i?86-*-elf) [tm_file]: Use it. | |
8263 | (i?86-*-{freebsd,linux*,moss*}): Likewise. | |
8264 | * config/elfos.h (ASM_FILE_END): Undef before redefinition. | |
8265 | * config/i386/cygwin.h (ASM_FILE_END): Likewise. | |
8266 | * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end. | |
8267 | * config/i386/sco5.h (ASM_FILE_END): Likewise. | |
8268 | * config/i386/winnt.c (i386_pe_asm_file_end): Likewise. | |
8269 | ||
3f896fc2 JM |
8270 | 2001-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
8271 | ||
ad3b5aff JM |
8272 | * Makefile.in (install-man): Remove explicit dependency on |
8273 | $(srcdir)/gcc.1. | |
8274 | ||
3f896fc2 JM |
8275 | * configure.in, configure: Revert previous patch requiring perl |
8276 | 5.6.0. | |
8277 | ||
3ff51205 AH |
8278 | 2001-01-12 Aldy Hernandez <aldyh@redhat.com> |
8279 | ||
8280 | * toplev.c (flag_guess_branch_prob): New. | |
8281 | (f_options): Add guess-branch-probability option. | |
8282 | (rest_of_decl_compilation): Only estimate branch probability if | |
8283 | flag set. | |
8284 | (main): set flag_guess_branch_prob. | |
8285 | ||
8286 | * flags.h (flag_guess_branch_prob): New. | |
8287 | ||
b8dea7e0 DD |
8288 | 2001-01-15 DJ Delorie <dj@redhat.com> |
8289 | ||
8290 | * gcc.texi (Makefile): Add documentation for Makefile targets. | |
8291 | ||
c1163e75 PB |
8292 | 2001-01-15 Philip Blundell <philb@gnu.org> |
8293 | ||
8294 | * config/arm/arm.c (arm_finalize_pic): New arg "prologue". | |
8295 | (is_pic): Delete. | |
8296 | * config/arm/arm-protos.h (arm_finalize_pic): Update prototype. | |
8297 | (is_pic): Delete declaration. | |
3cf96b52 | 8298 | * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic. |
c1163e75 | 8299 | (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address. |
3cf96b52 | 8300 | * config/arm/arm.md (builtin_setjmp_receiver): New. |
c1163e75 | 8301 | |
9b598fa0 RE |
8302 | 2001-01-15 Richard Earnshaw <rearnsha@arm.com> |
8303 | ||
8304 | * arm.c (use_return_insn): Don't try to determine the function type | |
8305 | until after reload has completed. | |
8306 | (arm_output_epilogue): Don't adjust the sp value recovered from the | |
8307 | stack. | |
8308 | (emit_multi_reg_push): Don't record dwarf information for the pc. | |
8309 | * arm.md (eh_epilogue): The function type may have changed, so it | |
8310 | needs to be recalculated. | |
a42a5f59 | 8311 | * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2 |
9b598fa0 RE |
8312 | unwind tables on arm/netbsd. |
8313 | ||
6c98269c RE |
8314 | 2001-01-15 Richard Earnshaw <rearnsha@arm.com> |
8315 | ||
8316 | * arm.md (cbranchsi4): Correct calculation of branch ranges. | |
8317 | (negated_cbranchsi4): Likewise. | |
8318 | ||
fa13446b RE |
8319 | 2001-01-15 Richard Earnshaw <rearnsha@arm.com> |
8320 | ||
8321 | * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define. | |
8322 | (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string. | |
b3c5b2be RE |
8323 | (ASM_SPEC): Call subtarget_extra_asm_spec. Don't |
8324 | pass -mapcs-* options to assembler. | |
fa13446b RE |
8325 | * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define. |
8326 | (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string. | |
8327 | (ASM_SPEC): Call subtarget_extra_asm_spec. | |
8328 | ||
77ebd435 AJ |
8329 | 2001-01-15 Andreas Jaeger <aj@suse.de> |
8330 | ||
a42a5f59 | 8331 | * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove |
fa13446b | 8332 | warnings. |
77ebd435 AJ |
8333 | (ix86_expand_builtin): Likewise. |
8334 | ||
8335 | * gencodes.c (output_predicate_decls): Make i size_t to avoid | |
8336 | warning about comparison between signed and unsigned. | |
8337 | ||
998a298e GK |
8338 | 2001-01-14 Geoffrey Keating <geoffk@redhat.com> |
8339 | ||
8340 | * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs. | |
8341 | ||
1b26cad7 RB |
8342 | 2001-01-14 Ralf Baechle <ralf@gnu.org> |
8343 | ||
a42a5f59 ZW |
8344 | * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change |
8345 | SUBTARGET_CPP_SPEC apropriatly. | |
1b26cad7 | 8346 | |
e3406b2a MM |
8347 | 2001-01-12 Mark Mitchell <mark@codesourcery.com> |
8348 | ||
8349 | * varasm.c (make_decl_rtl): Fix typo in last change. | |
8350 | ||
ea4f1fce JO |
8351 | 2001-01-14 Jeffrey Oldham <oldham@codesourcery.com> |
8352 | ||
8353 | * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the | |
8354 | linker supports the init_priority C++ attribute. | |
8355 | * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro. | |
8356 | * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix | |
8357 | linker does not support init_priority C++ attribute. | |
8358 | ||
3e854cf7 R |
8359 | Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com> |
8360 | ||
8361 | * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs. | |
8362 | ||
400023a3 NB |
8363 | 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk> |
8364 | ||
a42a5f59 ZW |
8365 | * c-parse.in (finish_parse): Add comment about cpp_destroy. |
8366 | * cp/lex.c (finish_parse): Similarly. | |
8367 | * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity. | |
8368 | Return the number of errors encountered. | |
8369 | * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int. | |
8370 | * cppmain.c (main): Don't call cpp_destroy. | |
400023a3 | 8371 | |
150d3c00 JM |
8372 | 2001-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
8373 | ||
8374 | * configure.in: Require at least perl 5.6.0 to regenerate | |
8375 | manpages. | |
8376 | * configure: Regenerate. | |
8377 | ||
521b9224 RH |
8378 | 2001-01-14 Richard Henderson <rth@redhat.com> |
8379 | ||
8380 | * genrecog.c (DT_veclen_ge): New. | |
8381 | (add_to_sequence) [MATCH_PARALLEL]: Generate one. | |
8382 | (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge. | |
8383 | (nodes_identical_1): Handle DT_veclen_ge. | |
8384 | (write_cond, debug_decision_2): Likewise. | |
8385 | ||
d6c5a763 RE |
8386 | 2001-01-14 Richard Earnshaw <rearnsha@arm.com> |
8387 | ||
8388 | * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace | |
8389 | with ... | |
8390 | (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New. | |
8391 | ||
6de8f7fc NB |
8392 | 2001-01-14 Neil Booth <neil@daikokuya.demon.co.uk> |
8393 | ||
a42a5f59 ZW |
8394 | * cppmain.c (do_preprocessing): New function; most of the old |
8395 | main. | |
8396 | (main): Call it to do most of the work. | |
8397 | (cb): Move from global scope to set_callbacks (). | |
8398 | (setup_callbacks): Get the callback pointer. | |
8399 | (general_init, printer_init): Clean up code and comments. | |
6de8f7fc | 8400 | |
17879734 RE |
8401 | 2001-01-14 Richard Earnshaw <rearnsha@arm.com> |
8402 | ||
1b26cad7 | 8403 | * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when |
17879734 RE |
8404 | compiling PIC. |
8405 | ||
c009a745 KH |
8406 | 2001-01-14 Kazu Hirata <kazu@hxi.com> |
8407 | ||
8408 | * config/h8300/h8300.c (get_shift_alg): Update comments. | |
8409 | ||
bd0f0717 RK |
8410 | Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8411 | ||
8412 | * ggc-page.c (alloc_annon): Call perror and correctly call exit. | |
8413 | (alloc_page, ggc_alloc): Add casts to remove warnings. | |
8414 | ||
aa6683f7 GK |
8415 | 2001-01-14 Geoffrey Keating <geoffk@redhat.com> |
8416 | ||
8417 | * combine.c (simplify_comparison): Don't change `code' when | |
8418 | can't reverse comparison. | |
8419 | ||
fce7e199 RH |
8420 | 2001-01-14 Richard Henderson <rth@redhat.com> |
8421 | ||
8422 | * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem; | |
8423 | update all call sites. Return true for all non-label constants. | |
8424 | ||
a1b8572c JH |
8425 | Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz> |
8426 | ||
8427 | * i386.c (ix86_expand_compare): Add bypass_test and second_test | |
8428 | parameters. | |
8429 | (ix86_expand_branch): Update. | |
8430 | (ix86_expand_setcc): Update to handle multiple test conditions. | |
8431 | (expand_int_movcc): Likewise. | |
8432 | (expand_fp_movcc): Likewise. | |
8433 | * i386-protos.h (ix86_expand_compare): New. | |
8434 | * i386.md (andqi_?_slp, orqi_?_slp): New. | |
8435 | (conditional trap expander): Update call to ix86_expand_compare. | |
8436 | ||
17ad4377 RH |
8437 | 2001-01-14 Richard Henderson <rth@redhat.com> |
8438 | ||
8439 | * config/vax/vax.md: Use nonimmediate_operand instead of | |
8440 | general_operand in destinations. | |
8441 | ||
5b9b177a RH |
8442 | * config/vax/vax.md (indirect_jump): Use register_operand. |
8443 | ||
264ddbaa RH |
8444 | * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments. |
8445 | * config/vax/vax.md (call_pop): Turn into an expander. | |
8446 | (call_value_pop): Likewise. | |
8447 | (call, call_value): New. | |
8448 | ||
8752c357 AJ |
8449 | 2001-01-14 Andreas Jaeger <aj@suse.de> |
8450 | ||
8451 | * config/i386/i386.c (ix86_split_fp_branch): Remove unused | |
8452 | variables. | |
8453 | (ix86_fp_compare_mode): Add unused attribute. | |
8454 | (ix86_expand_fp_movcc): Remove unused variable. | |
8455 | (ix86_expand_builtin): Make fcode unsigned. | |
8456 | ||
8457 | * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned. | |
8458 | (expand_expr): Add cast to avoid signed warning. | |
8459 | (store_field): Likewise. | |
8460 | (store_constructor_field): Likewise. | |
8461 | (store_constructor): Likewise. | |
8462 | (store_expr): Likewise. | |
8463 | (clear_storage): Likewise. | |
8464 | (emit_group_store): Likewise. | |
8465 | (emit_group_load): Likewise. | |
8466 | ||
1312c143 JM |
8467 | 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk> |
8468 | ||
8469 | * c-common.c: Move format checking code to ... | |
8470 | * c-format.c: ... here. New file. Reorder some functions and | |
8471 | declarations. | |
8472 | (decl_handle_format_attribute, decl_handle_format_arg_attribute): | |
8473 | New functions. | |
8474 | * c-common.h (decl_handle_format_attribute, | |
8475 | decl_handle_format_arg_attribute): Declare. | |
8476 | * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o. | |
8477 | (c-common.o): Adjust dependencies. | |
8478 | (c-format.o): New list of dependencies. | |
8479 | ||
9e2adb2a JJ |
8480 | 2001-01-13 Jakub Jelinek <jakub@redhat.com> |
8481 | ||
8482 | * unroll.c (loop_iterations): If we cannot prove iteration variable | |
8483 | is set once in each iteration, punt. | |
8484 | ||
63eaee71 DC |
8485 | Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru> |
8486 | ||
8487 | * config/avr/avr.md ("strlenhi"): Remove clobber of input address. | |
8488 | (*strlenhi): Remove clobber (which was buggy) of output address. | |
8489 | ||
4bc1997b JM |
8490 | 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk> |
8491 | ||
8492 | * Makefile.in (generated-manpages): Add gcc.1 | |
8493 | ($(srcdir)/gcc.1): New target. | |
8494 | (maintainer-clean): Delete $(srcdir)/gcc.1. | |
8495 | * gcc.texi: Add macros @gccoptlist and @gol. | |
8496 | * invoke.texi: Include option summary in manpage. Mark up option | |
8497 | summary with @gccoptlist and @gol. Use @r in one place where | |
8498 | appropriate. | |
8499 | * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org. | |
8500 | * gcc.1: Generate from invoke.texi. | |
8501 | ||
130fadbb RH |
8502 | 2001-01-13 Richard Henderson <rth@redhat.com> |
8503 | ||
8504 | * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap. | |
8505 | (struct page_entry): Add group member. | |
8506 | (struct page_group): New. | |
8507 | (struct globals): Add page_groups member. | |
8508 | (alloc_anon): Only define for using mmap; remove valloc call. | |
8509 | (page_group_index): New. | |
8510 | (set_page_group_in_use): New. | |
8511 | (clear_page_group_in_use): New. | |
8512 | (alloc_page): Implement USING_MALLOC_PAGE_GROUPS. | |
8513 | (free_page, release_pages): Likewise. | |
8514 | * configure.in (with-gc): Default to ggc-page always. | |
8515 | ||
086fef9e AO |
8516 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> |
8517 | ||
8518 | * reload1.c (replace_pseudos_in_call_usage): Use | |
8519 | reg_equiv_constant and reg_equiv_address, and don't try | |
8520 | regno_reg_rtx first. | |
8521 | ||
ca79429a RH |
8522 | 2001-01-13 Richard Henderson <rth@redhat.com> |
8523 | ||
8524 | * ggc-page.c (alloc_page): Round up allocation size to one page. | |
8525 | Set e->order on extra pages. | |
8526 | ||
2cec75a1 RH |
8527 | 2001-01-13 Richard Henderson <rth@redhat.com> |
8528 | ||
8529 | * genrecog.c (nodes_identical): Expand commentary. | |
8530 | (write_switch): Watch out for identical nodes. | |
8531 | ||
d6d52dd6 NB |
8532 | 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8533 | ||
a42a5f59 ZW |
8534 | * cppfiles.c (_cpp_fake_include): New function. |
8535 | * cpphash.h (_cpp_fake_include): New. | |
8536 | * cpplib.c (do_line): Call _cpp_fake_include when entering | |
8537 | header files in preprocessed input. | |
8538 | * cppmain.c (cb_pragma_implementation): Remove handling. | |
d6d52dd6 NB |
8539 | (setup_callbacks): Don't register pragmas. |
8540 | ||
ccd96f0a NB |
8541 | 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8542 | ||
8543 | * extend.texi: Udate for CPP. | |
8544 | ||
174fa2c4 AJ |
8545 | 2001-01-13 Andreas Jaeger <aj@suse.de> |
8546 | ||
8547 | * reload1.c: Add prototype for replace_pseudos_in_call_usage. | |
8548 | ||
8549 | * regmove.c: Add prototype for replace_in_call_usage. | |
8550 | ||
8121d2c3 NB |
8551 | 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8552 | ||
a42a5f59 ZW |
8553 | * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro, |
8554 | struct cpp_chunk, struct htab, struct toklist, | |
8555 | struct cpp_context, CPP_STACK_MAX, struct lexer_state, | |
8556 | struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER, | |
8557 | CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp, | |
8558 | ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h. | |
8559 | (struct macro_args): Delete. | |
8560 | * cpphash.h: See above. | |
8121d2c3 | 8561 | |
620ef26c NB |
8562 | 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8563 | ||
a42a5f59 ZW |
8564 | * cppmain.c (struct printer): Remove no_line_dirs. |
8565 | (options, cb): New. | |
8566 | (main, setup_callbacks, scan_buffer, printer_init, cb_define) | |
8567 | : Use options rather than CPP_OPTION. | |
8568 | (setup_callbacks): Use cb rather than pfile->cb. | |
8569 | (main): No need to check for a buffer. Use cpp_errors. | |
8570 | (printer_init): Don't set no_line_dirs. | |
8571 | (maybe_print_line): Use options not no_line_dirs. | |
8572 | (cb_file_change): Don't call print_line if -P. | |
620ef26c | 8573 | |
b61c5ed0 NB |
8574 | 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8575 | ||
a42a5f59 ZW |
8576 | * c-lex.c (init_c_lex): Use cpp_get_callbacks to set |
8577 | callbacks. | |
8578 | * c-parse.in (finish_parse): Use cpp_errors. | |
8579 | (__yylex): Use return value of cpp_pop_buffer. | |
8580 | * cp/lex.c (finish_parse): Use cpp_errors. | |
8581 | * cp/spew.c (read_token): Use return value of cpp_pop_buffer. | |
b61c5ed0 | 8582 | |
f14269a0 DC |
8583 | Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru> |
8584 | ||
8585 | * README.AVR: URLs corrected. | |
8586 | ||
757e6639 RK |
8587 | Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8588 | ||
8589 | * c-decl.c (start_function): Don't warn if old prototype is builtin | |
8590 | that's not in C's namespace. | |
8591 | * libgcc2.c (_varargs): Update definition of __builtin_saveregs. | |
8592 | (_bb): Add prototype for ctime. | |
8593 | * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos. | |
8594 | ||
9e7adcb3 JH |
8595 | Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz> |
8596 | ||
8597 | * i386.c (ix86_fp_comparison_arithmetics_cost, | |
8598 | ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost, | |
8599 | ix86_fp_comparison_cost): New functions. | |
8600 | (ix86_expand_fp_compare): Use the costs to choose best bethod; add | |
8601 | two new parameters SECOND_TEST and BYPASS_TEST; allow generating | |
8602 | two-branch sequences; make static. | |
8603 | (ix86_use_fcomi_compare): Do decision according to the costs. | |
8604 | (split_fp_branch): New. | |
8605 | * i386.md (compare-and-branch patterns): Use split_fp_branch. | |
8606 | * i386-protos.h (ix86_expand_fp_compare): Remove | |
8607 | (ix86_split_fp_branch): Declare. | |
8608 | ||
8609 | * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand | |
8610 | and ix86_comparison_operator. | |
8611 | ||
8612 | * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison | |
8613 | to make it cheaper. | |
8614 | ||
8615 | * i386.c (put_condition_code): Output properly the unordered/ordered | |
8616 | compares in fp case. | |
8617 | (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure. | |
8618 | ||
8619 | * tm.texi (REVERSE_CONDITION): Document. | |
8620 | * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode | |
8621 | in -ffast-math mode. | |
8622 | * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro. | |
8623 | ||
35ef2880 AO |
8624 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> |
8625 | ||
89d4bc35 AO |
8626 | * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly. |
8627 | ||
b90dbca6 AO |
8628 | * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be |
8629 | optimized away. | |
8630 | ||
35ef2880 AO |
8631 | * config/sh/sh.c (mova_p): Fix test for mova_const. |
8632 | ||
f85c14ee NB |
8633 | 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8634 | ||
a42a5f59 ZW |
8635 | * fix-header.c (read_scan_file): Use cpp_get_callbacks and |
8636 | cpp_get_options rather than dereferencing pfile and using | |
8637 | CPP_OPTION. | |
8638 | * scan-decls.c (scan_decls): Use return value of | |
8639 | cpp_pop_buffer rather than CPP_BUFFER. | |
174fa2c4 | 8640 | |
7e96d768 NB |
8641 | 2001-01-13 Neil Booth <neil@daikokuya.demon.co.uk> |
8642 | ||
a42a5f59 ZW |
8643 | * cppinit.c (cpp_handle_option): help_only is now part of the |
8644 | cpp_options structure. | |
8645 | * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks, | |
8646 | cpp_set_callbacks): New functions. | |
8647 | * cpplib.h (cpp_callbacks): Break out as a named structure. | |
8648 | (cpp_options): Move help_only here from cpp_reader. | |
8649 | (CPP_FATAL_ERRORS): Update to use cpp_errors. | |
8650 | (cpp_errors, cpp_get_options, cpp_get_callbacks, | |
8651 | cpp_set_callbacks): New prototypes. | |
8652 | * cppmain.c (main): Update for help_only. | |
7e96d768 | 8653 | |
23de1fbf JM |
8654 | 2001-01-13 Joseph S. Myers <jsm28@cam.ac.uk> |
8655 | ||
8656 | * Makefile.in (info, maintainer-clean, install-info, uninstall): | |
8657 | Also build and remove and install and uninstall c-tree.info and | |
8658 | cppinternals.info. | |
8659 | ($(srcdir)/gcc.info): Add dependency on contrib.texi. | |
8660 | ($(srcdir)/cppinternals.info): New target. | |
8661 | * c-tree.texi: Change file name used when makeinfo used without -o | |
8662 | from ir.info to c-tree.info. Add info directory entry. | |
8663 | * cppinternals.texi: Add info directory entry. | |
8664 | * .cvsignore: Update. | |
8665 | ||
8b6a5902 JJ |
8666 | 2001-01-12 Jakub Jelinek <jakub@redhat.com> |
8667 | ||
8668 | * c-typeck.c (store_init_value): Don't require constant initializer | |
8669 | elements with -pedantic -std=c99. | |
8670 | (digest_init): Change error about non-constant initializer elements | |
8671 | into pedwarn. | |
8672 | (constructor_range_end): Remove. | |
8673 | (constructor_incremental, designator_depth, | |
8674 | designator_errorneous): New variables. | |
8675 | (struct constructor_stack): Remove range_end, add incremental. | |
8676 | (struct constructor_range_stack, constructor_range_stack): New. | |
8677 | (struct initializer_stack): Add constructor_range_stack. | |
8678 | (finish_init): Set it. | |
8679 | (start_init): Likewise. require_constant_elements for non-static | |
8680 | trees only if not flag_isoc99. | |
8681 | (really_start_incremental_init): Remove constructor_range_end, add | |
8682 | constructor_incremental. | |
8683 | (pop_init_level): Likewise. | |
8684 | (push_init_level): Likewise. If implicit and the subobject had some | |
8685 | value set already, preinitialize the level with it. | |
8686 | Warn about missing braces only if not pushing due to designators. | |
8687 | (set_designator, push_range_stack): New functions. | |
8688 | (set_init_label): Use them. | |
8689 | (set_init_index): Likewise. Remove constructor_range_end. | |
8690 | Error if designator index is outside of array bounds. | |
8691 | (add_pending_init): Compare values of purpose index trees, not the | |
8692 | trees themselves. Allow overwriting of already initialized element. | |
8693 | Issue a warning if it had side-effects. | |
8694 | (set_nonincremental_init, set_nonincremental_init_from_string): New | |
8695 | functions. | |
8696 | (pending_init_member): Rename to... | |
8697 | (find_init_member): ...this function. Call set_nonincremental_init | |
8698 | if necessary. Compare values of purpose index trees, not the trees | |
8699 | themselves. Return the actual value, not just non-zero if something | |
8700 | is found. | |
8701 | (output_init_element): Remove checks for duplicates. | |
8702 | If field has zero size, only check the initializer for correctness. | |
8703 | Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL | |
8704 | if constructor_incremental is zero. Change error about initializers | |
8705 | not computable at load time into pedwarn. | |
8706 | (output_pending_init_elements): Compare bit positions, not | |
8707 | FIELD_DECLs to take into account zero-sized fields. | |
8708 | (process_init_element): Use constructor_range_stack to fill all | |
8709 | ranges in the designator lists from current level up. | |
8710 | * extend.texi: Update documentation for labeled elements. | |
8711 | ||
7dd232a8 AO |
8712 | 2001-01-12 Alexandre Oliva <aoliva@redhat.com> |
8713 | ||
f474c6f8 AO |
8714 | * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs |
8715 | to function usage for arguments passed by reference. Optimize | |
8716 | callee-copied arguments. | |
ec7c0481 | 8717 | * regmove.c (replace_in_call_usage): New function. |
f474c6f8 AO |
8718 | (fixup_match_1): Call it. |
8719 | * cse.c (cse_insn): Canonicalize registers in function usage. | |
8720 | * reload1.c (replace_pseudos_in_call_usage): New function. | |
8721 | (reload): Call it. | |
8722 | ||
7dd232a8 AO |
8723 | * Makefile.in: Reverted yesterday's wrong patch. Installed the |
8724 | right version. | |
8725 | ||
d0285326 JJ |
8726 | 2001-01-12 Jakub Jelinek <jakub@redhat.com> |
8727 | ||
8728 | * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp, | |
8729 | not XEXP (tmp, 0). | |
8730 | ||
770861f3 DD |
8731 | 2001-01-12 DJ Delorie <dj@redhat.com> |
8732 | ||
8733 | * Makefile.in (bootstrap): rename stages to be mnemonic. Add | |
8734 | restageN, unstageN, bubblestrap, quickstrap, and cleanstrap | |
8735 | targets. | |
8736 | ||
5490d604 JM |
8737 | 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk> |
8738 | ||
8739 | * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi, | |
8740 | tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to | |
8741 | -std options alongside references to -ansi. Update some | |
8742 | documentation for C99. | |
8743 | * cpp.1: Regenerate. | |
8744 | ||
d24b8f53 AJ |
8745 | 2001-01-12 Andreas Jaeger <aj@suse.de> |
8746 | ||
14052b68 AJ |
8747 | * haifa-sched.c (restore_line_notes): Remove argument block B |
8748 | since it's unused. | |
8749 | * sched-ebb.c (schedule_ebb): Change caller. | |
8750 | * sched-rgn.c (schedule_region): Likewise. | |
8751 | * sched-int.h (restore_line_notes): Adjust prototype. | |
8752 | ||
d24b8f53 AJ |
8753 | * loop.h: Remove wrong declaration of doloop_condition_get. |
8754 | ||
e6f3b89d PE |
8755 | 2001-01-12 Phil Edwards <pme@sources.redhat.com> |
8756 | ||
8757 | * extend.texi: Move C++-extension-related node from the C section | |
20f9202d | 8758 | into the C++ section. |
e6f3b89d | 8759 | |
89aed483 JM |
8760 | 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk> |
8761 | ||
8762 | * extend.texi: Refer to an array of pointers to functions instead | |
8763 | of one of functions. | |
8764 | ||
c3ffea50 AJ |
8765 | Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de> |
8766 | Jan Hubicka <jh@suse.cz> | |
8767 | ||
d24b8f53 | 8768 | * combine.c (reversed_comparison): Fix typo in last patch. |
c3ffea50 | 8769 | Check X for NULL. |
d24b8f53 AJ |
8770 | (combine_reversed_comparison_code): Make static to follow |
8771 | prototype declaration. | |
c3ffea50 | 8772 | |
159227d5 PE |
8773 | 2001-01-12 Phil Edwards <pme@sources.redhat.com> |
8774 | ||
8775 | * install.texi: Remove misplaced duplicate entry. | |
8776 | ||
ac70ce21 UD |
8777 | 2001-01-11 Ulrich Drepper <drepper@redhat.com> |
8778 | ||
8779 | * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99. | |
8780 | ||
b660f82f JW |
8781 | Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com) |
8782 | ||
8783 | * final.c: (leaf_function_p): Fix typo. | |
8784 | ||
825b6926 ZW |
8785 | 2001-01-11 Zack Weinberg <zack@wolery.stanford.edu> |
8786 | ||
8787 | * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten. | |
8788 | Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending | |
8789 | which you have. | |
8790 | (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE. | |
8791 | * configure.in: Set GGC to ggc-page if any of mmap_dev_zero, | |
8792 | mmap_anon, and valloc is available. | |
8793 | * ggc-page.c: Restructure ifdef logic to match new autoconf | |
8794 | spec. Don't throw away the test page in init_ggc. | |
8795 | ||
8796 | * configure, config.in: Regenerate. | |
8797 | ||
099f0f3f MH |
8798 | 2001-01-12 Michael Hayes <mhayes@redhat.com> |
8799 | ||
8800 | * loop.h (total_biv_increment): Constify iv_class pointer. | |
8801 | (struct induction): Replace `mem_mode' with `mem' rtx. | |
8802 | * unroll.c (total_biv_increment): Constify iv_class pointer. | |
8803 | * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx. | |
8804 | (find_mem_givs, combine_givs_p): Likewise. | |
8805 | (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New. | |
8806 | ||
69e905c8 TP |
8807 | 2001-01-10 Thomas Pfaff <tpfaff@gmx.net> |
8808 | ||
8809 | * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32 | |
8810 | LastError. | |
8811 | (__gthread_getspecific): Ditto. | |
8812 | ||
9a915772 JH |
8813 | Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz> |
8814 | ||
8815 | * i386.c (ix86_comparison_operator, fcmov_comparison_operator, | |
8816 | put_condition_code): Convert fp comparison codes to integer | |
8817 | before handling. | |
8818 | (ix86_expand_fp_compare): Postnote the fp comparison code converison | |
8819 | to final. | |
8820 | ||
8821 | * i386.c (unsigned_comparison, no_comparison_operator): Kill. | |
8822 | * i386-protos.h (no_comparison_operator): Kill. | |
8823 | ||
8824 | * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion. | |
8825 | ||
8826 | * combine.c (REVERSIBLE_CC_MODE): Remove. | |
8827 | (reversible_comparison_p): Remove. | |
8828 | (combine_reversed_comparison_code): New. | |
8829 | (reversed_comparison): New. | |
8830 | (combine_simplify_rtx): Use | |
8831 | combine_reversed_comparison_code/reversed_comparison instead | |
8832 | of reversible_comparison_p. | |
8833 | (simplify_if_then_else): Likewise. | |
8834 | (simplify_set): Likewise. | |
8835 | (simplify_logical): Likewise. | |
8836 | (if_then_else_cond): Likewise. | |
8837 | (known_cond): Likewise. | |
8838 | (simplify_comparison): Likewise. | |
8839 | ||
bbc7fda9 AL |
8840 | 2001-01-11 Alan Lehotsky <lehotsky@tiac.net> |
8841 | ||
8842 | * builtins.c (std_expand_builtin_va_start): Handle varargs when | |
8843 | sizeof (int) is larger than sizeof(__word__). | |
825b6926 | 8844 | |
a4299d07 NB |
8845 | 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk> |
8846 | ||
825b6926 | 8847 | * cppinit.c (do_includes): Fix typo. |
a4299d07 | 8848 | |
76028b1f SC |
8849 | 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8850 | ||
8851 | * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading | |
8852 | in S_REGS does not occur because not all sources are possible | |
8853 | when a S_REGS is a destination (sometimes needs a clobber). | |
8854 | (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise. | |
8855 | (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise. | |
8856 | (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise. | |
8857 | (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise. | |
8858 | (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise. | |
8859 | (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise. | |
8860 | (lshrdi_const1, lshrsi3_const16): Likewise. | |
8861 | (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise. | |
8862 | (*movhi_68hc12, *movqi_68hc12): Likewise. | |
825b6926 | 8863 | (movstrictqi): Make sure reloading in D_REGS as a destination |
76028b1f SC |
8864 | does not happen. |
8865 | ||
d3956766 NB |
8866 | 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk> |
8867 | ||
825b6926 | 8868 | * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ. |
d3956766 | 8869 | |
05e81724 NB |
8870 | 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk> |
8871 | ||
825b6926 ZW |
8872 | * cppinit.c (cpp_start_read): If -fpreprocessed, ignore |
8873 | -D, -U and -A, and don't initialize the builtins. | |
a4299d07 | 8874 | (do_includes): Error if -include or -imacros with -fpreprocessed. |
825b6926 ZW |
8875 | * cppmain.c (cb_define, cb_undef): Unconditionally process |
8876 | the callback. | |
8877 | * tradcpp.c (main): Fix typo. | |
05e81724 NB |
8878 | |
8879 | 2000-01-11 Mark Elbrecht <snowball3@bigfoot.com> | |
825b6926 | 8880 | |
20f9202d DB |
8881 | * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include) |
8882 | (read_name_map): Use IS_ABSOLUTE_PATH. | |
8883 | * tradcpp.c (get_filename): Likewise. | |
05e81724 | 8884 | |
76d06edc SC |
8885 | 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
8886 | ||
8887 | * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers. | |
8888 | (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise. | |
8889 | (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise. | |
8890 | (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise. | |
8891 | (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise. | |
8892 | (cmphi_z_used): Don't use '@' for the output. | |
8893 | (tstqi_z_used): Likewise. | |
8894 | (cmpqi_z_used): Likewise. | |
8895 | (one_cmplsi2): Likewise. | |
8896 | ||
1594c6bc AO |
8897 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> |
8898 | ||
8899 | * config/sh/sh.c (barrier_align): Recognize branch around far | |
8900 | branch and redundant insn. | |
8901 | ||
7da723ef NB |
8902 | 2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk> |
8903 | ||
825b6926 | 8904 | * invoke.texi: Restore documentation of the drivers' switches -MD |
7da723ef NB |
8905 | and -MMD. |
8906 | ||
a738a85c AO |
8907 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> |
8908 | ||
f6f1dc95 AO |
8909 | * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1. |
8910 | ||
a738a85c AO |
8911 | * Makefile.in (check-gcc//%, check-g++//%, check-g77//%, |
8912 | check-objc//%): Support parallel testing of multilibs. | |
8913 | (TESTSUITEDIR): Set to testsuite by default, but override for | |
8914 | parallel testing. | |
8915 | (check-gcc, check-g++, check-g77, check-objc): Enter | |
8916 | $(TESTSUITEDIR). | |
8917 | ||
fb6754f0 BS |
8918 | 2001-01-11 Bernd Schmidt <bernds@redhat.com> |
8919 | ||
8920 | * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO. | |
8921 | * sched-deps.c (deps_may_trap_p): Likewise. | |
8922 | * basic-block.h: Remove a comment. | |
8923 | * flow.c (PROP_POSTRELOAD): Remove. | |
8924 | (update_life_info): Don't add it to prop_flags. | |
8925 | (mark_set_1): Lose the code that was enabled by it. | |
8926 | ||
0ab409ed MH |
8927 | 2001-01-11 Michael Hayes <mhayes@redhat.com> |
8928 | ||
8929 | * flow.c (flow_call_edges_add): New. | |
8930 | * basic_block.h (flow_call_edges_add): New. | |
8931 | ||
ada6635f R |
8932 | 2001-01-11 J"orn Rennecke <amylaar@redhat.com> |
8933 | ||
8934 | * reload1.c (move2add_note_store): Update reg_set_luid even if | |
8935 | base reg remains the same. | |
8936 | ||
73d771f0 NC |
8937 | 2001-01-10 Nick Clifton <nickc@redhat.com> |
8938 | ||
8939 | * config/d30v/d30v.c (d30v_init_machine_status): Initialise | |
8940 | machine_function structure to zero. | |
8941 | Add prototypes for machine_status functions. | |
8942 | ||
cbd5937a MM |
8943 | 2001-01-10 Mark Mitchell <mark@codesourcery.com> |
8944 | ||
8945 | * c-common.h (CTI_VOID_LIST): Remove. | |
8946 | (void_list_node): Likewise. | |
8947 | * tree.h (TI_VOID_LIST_NODE): New enumeral. | |
8948 | (void_list_node): New macro. | |
8949 | * config/arm/arm.c (arm_init_builtins): Use void_list_node. | |
8950 | * config/i386/i386.c (ix86_init_builtins): Likewise. | |
8951 | * config/ia64a/ia64.c (ia64_init_builtins): Likewise. | |
8952 | ||
2f638f96 NB |
8953 | 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk> |
8954 | ||
825b6926 ZW |
8955 | * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o |
8956 | * cppinit.c (cpp_start_read): Update comment, remove unneeded | |
8957 | if statement. | |
8958 | * tradcpp.c: Include mkdeps.h. | |
8959 | (deps, print_deps_phony_targets, deps_append, output_deps, | |
8960 | init_dependency_output, output_deps): New. | |
8961 | (deps_buffer, deps_allocated_size, deps_size, deps_column, | |
8962 | deps_output): Delete. | |
8963 | (print_deps_missing_files): Rename deps_missing_files. | |
8964 | (inhibit_output): Make global. | |
8965 | (main): Delete inhibit_output, deps_stream, deps_target. | |
8966 | Use mkdeps functionality in the same way as cpplib. Remove | |
8967 | -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of | |
8968 | -M and -MM. Remove old handling of deps via deps_out, and | |
8969 | old reading of environment variables. | |
8970 | (get_filename): Update to use deps_add_dep. | |
2f638f96 | 8971 | |
6c418184 MM |
8972 | 2001-01-10 Mark Mitchell <mark@codesourcery.com> |
8973 | ||
8974 | * output.h (make_function_rtl): Remove prototype. | |
8975 | (make_decl_rtl): Likewise. | |
8976 | * varasm.c (make_function_rtl): Remove. | |
8977 | (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather | |
8978 | than from a third parameter. | |
8979 | * tree.h (make_decl_rtl): Remove last parameter. | |
8980 | * c-decl.c (builtin_function): Remove last argument in call to | |
8981 | make_decl_rtl; use make_function_rtl instead of make_decl_rtl. | |
8982 | (start_function): Likewise. | |
8983 | * except.c (call_get_eh_context): Likewise. | |
8984 | * expr.c (emit_block_move): Likewise. | |
8985 | (clear_storage): Likewise. | |
8986 | * profile.c (output_func_start_profiler): Likewise. | |
8987 | * toplev.c (rest_of_decl_compilation): Likewise. | |
8988 | * objc/objc-act.c (create_builtin_decl): Likewise. | |
8989 | (synth_module_prologue): Likewise. | |
8990 | (generate_static_reference): Likewise. | |
8991 | (build_selector_reference_decl): Likewise. | |
8992 | (build_class_reference_decl): Likewise. | |
8993 | (build_objc_string_decl): Likewise. | |
8994 | (build_protocol_reference): Likewise. | |
8995 | ||
4621c640 RH |
8996 | 2001-01-10 Richard Henderson <rth@redhat.com> |
8997 | ||
8998 | * hwint.h: Revert yesterday's change. | |
8999 | ||
414c4dc4 NC |
9000 | 2001-01-10 Nick Clifton <nickc@redhat.com> |
9001 | ||
9002 | * function.h (save_machine_status): Delete. | |
9003 | (restore_machine_status): Delete. | |
9004 | Amend comment describing {init|mark|free}_machine_status. | |
9005 | ||
9006 | * function.c (save_machine_status): Delete. | |
9007 | (restore_machine_status): Delete. | |
9008 | Amend comment describing {init|mark|free}_machine_status. | |
9009 | (push_function_context_to): Remove invocation of | |
9010 | save_machine_status. | |
9011 | (pop_function_context_from): Remove invocation of | |
9012 | restore_machine_status. | |
9013 | ||
9014 | * emit-rtl.c (init_emit_once): Amend comment describing | |
825b6926 | 9015 | {init|mark|free}_machine_status. |
414c4dc4 NC |
9016 | |
9017 | * tm.texi (Per-Function Data): New node. Describe the | |
9018 | INIT_EXPANDERS macro and the {init|mark|free}_machine_status | |
9019 | function pointers. | |
9020 | ||
5c5d1ea0 NB |
9021 | 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk> |
9022 | ||
825b6926 ZW |
9023 | * cppinit.c (OPT_g): Remove. |
9024 | (cpp_handle_option): Update for removed -g3. | |
9025 | (print_help): Update. | |
9026 | * cpplib.h (struct cpp_options): Remove debug_output. | |
9027 | * cppmain.c (setup_callbacks, cb_define): Update. | |
9028 | * gcc.c (cpp_options): Translate -g3 to -dD. | |
5c5d1ea0 | 9029 | |
d9271ccc AH |
9030 | 2001-01-10 Aldy Hernandez <aldyh@redhat.com> |
9031 | ||
9032 | * config/i960/i960.md: Change modifier to + on the zero_extract | |
825b6926 | 9033 | pattern after the (rotate -2 reg) canonicalization pattern. |
d9271ccc | 9034 | |
37b15744 RH |
9035 | 2001-01-10 Richard Henderson <rth@redhat.com> |
9036 | ||
9037 | * config/alpha/alpha.c (alpha_free_machine_status): New. | |
9038 | (override_options): Install it. | |
9039 | (alpha_mark_machine_status): Verify machine non-null. | |
9040 | * config/i386/i386.c (ix86_free_machine_status): New. | |
9041 | (override_options): Install it. | |
9042 | (ix86_init_machine_status): Use xcalloc. | |
9043 | (ix86_mark_machine_status): Verify machine non-null. | |
9044 | * config/ia64/ia64.c (ia64_free_machine_status): New. | |
9045 | (ia64_override_options): Install it. | |
9046 | (ia64_mark_machine_status): Verify machine non-null. | |
9047 | ||
87c61e2d JL |
9048 | Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com) |
9049 | ||
9050 | * function.c (instantiate_virtual_regs): Instantiate virtual | |
9051 | registers found in CALL_INSN_FUNCTION_USAGE. | |
9052 | ||
930bbdd2 JM |
9053 | 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
9054 | ||
9055 | * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as | |
9056 | equivalent to -ansi in disabling -Di386. | |
9057 | ||
c0c102a9 JH |
9058 | Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz> |
9059 | ||
9060 | * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes): | |
9061 | new functions. | |
9062 | (ix86_expand_fp_compare): Make trivial use of new infrastructure. | |
9063 | ||
78053907 RE |
9064 | 2001-01-10 Richard Earnshaw <rearnsha@arm.com> |
9065 | ||
9066 | * arm.c (arm_init_builtins): Temporarily disable xscale builtins. | |
9067 | ||
a7537031 JM |
9068 | 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
9069 | ||
9070 | * invoke.texi: Document that -fcond-mismatch isn't supported for | |
9071 | C++. | |
9072 | ||
2642624b JM |
9073 | 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
9074 | ||
9075 | * gcc.texi: Define macro gcctabopt. | |
9076 | * invoke.texi: Add manpage sections BUGS and AUTHOR. Use | |
9077 | @command, @env and @option in some places where appropriate. Use | |
9078 | @gcctabopt where appropriate. Put URLs and email addresses inside | |
9079 | @w. | |
9080 | ||
11972f66 | 9081 | 2001-01-10 Nathan Sidwell <nathan@codesourcery.com> |
825b6926 ZW |
9082 | |
9083 | * gcc.c (cpp_options): Set MD file name from output | |
9084 | filename, if specified. | |
9085 | (suffix_subst): New static variable. | |
9086 | (do_spec): Clear it. | |
9087 | (do_spec_1, case '.'): Handle new `%.suffix' spec. | |
9088 | Clear it. | |
9089 | (give_switch): Handle suffix_subst. | |
11972f66 | 9090 | |
0a75e5c3 PE |
9091 | 2001-01-10 Phil Edwards <pme@sources.redhat.com> |
9092 | ||
9093 | * invoke.texi: Fix another typo. | |
9094 | ||
9169269f PE |
9095 | 2001-01-10 Phil Edwards <pme@sources.redhat.com> |
9096 | ||
9097 | * invoke.texi: Fix typo. | |
9098 | ||
ee811cfd NB |
9099 | 2001-01-10 Neil Booth <neil@daikokuya.demon.co.uk> |
9100 | ||
825b6926 ZW |
9101 | * c-lang.c (lang_hooks): Update. |
9102 | (lang_decode_option): Remove. | |
9103 | (lang_init_options): Rename c_init_options. | |
9104 | * toplev.c (main): Use lang_hooks for lang_init_options | |
9105 | and lang_decode_option. | |
9106 | * toplev.h (lang_hooks): Add 2 new hooks. | |
9107 | * tree.h: Remove lang_init_options and lang_decode_option. | |
9108 | * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option. | |
9109 | * cp/decl2.c: Similarly. | |
9110 | * cp/lex.c (lang_init_options): Rename cxx_init_options. | |
9111 | (lang_hooks): Update. | |
9112 | * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish | |
9113 | for consistency. | |
9114 | (lang_init_options): Rename ffe_init_options. | |
9115 | (lang_hooks): Update. | |
9116 | (lang_decode_option): Remove. | |
9117 | * java/lang.c (lang_init_options): Rename java_init_options. | |
9118 | (lang_decode_option): Rename java_decode_option. | |
9119 | (lang_hooks): Update. | |
9120 | * objc/objc-act.c (lang_init_options): Rename objc_init_options. | |
9121 | (lang_decode_option): Rename objc_decode_option. | |
9122 | (lang_hooks): Update. | |
ee811cfd | 9123 | |
8541c24b NC |
9124 | 2001-01-09 Nick Clifton <nickc@redhat.com> |
9125 | ||
9126 | * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete. | |
9127 | (d30v_return_addr_rtx): Delete. | |
9128 | (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the | |
9129 | cfun->machine structure. | |
9130 | (struct machine_function): Move to d30v.h | |
9131 | (d30v_save_machine_status): Delete. | |
9132 | (d30v_restore_machine_status): Delete. | |
9133 | (d30v_init_machine_status): New Function. | |
9134 | (d30v_mark_machine_status): New Function. | |
9135 | (d30v_free_machine_status): New Function. | |
9136 | (d30v_init_expanders): Use new functions. | |
9137 | (d30v_return_addr): Use ra_rtx field in cfun->machine. | |
9138 | (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and | |
9139 | d30v_return_addr_rtx. | |
9140 | ||
9141 | * config/d30v/d30v.h (struct_machine): Move here. | |
9142 | Add eh_epilogue_sp_ofs field. | |
9143 | ||
9144 | *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs | |
9145 | field in cfun->machine structure. | |
9146 | ||
4d5a6f78 JDA |
9147 | Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9148 | ||
9149 | * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code, | |
9150 | PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register. | |
9151 | * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise. | |
9152 | ||
ecb7e784 JL |
9153 | Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com) |
9154 | ||
9155 | * objc/lang-options.h: Remove bogus reference to | |
9156 | Java trademark. | |
9157 | ||
35fb3d1f KH |
9158 | 2001-01-09 Kazu Hirata <kazu@hxi.com> |
9159 | ||
9160 | * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to | |
9161 | return the result. | |
9162 | ||
4971426b AL |
9163 | 2001-01-09 Alan Lehotsky <lehotsky@tiac.net> |
9164 | ||
9165 | * reload.c (find_reloads_address): Check for eliminable registers | |
20f9202d | 9166 | when substituting a constant expression for a pseudo. |
825b6926 | 9167 | |
10a4c7ac JM |
9168 | 2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk> |
9169 | ||
9170 | * c-common.c (enum format_type): Add format_type_error. | |
9171 | (decode_format_type): New function. | |
9172 | (decl_attributes): Use it. | |
9173 | (format_kind_info): Adjust comment. | |
9174 | ||
f6e0c56c DB |
9175 | 2001-01-09 David O'Brien <obrien@BSDi.com> |
9176 | ||
9177 | * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1, | |
9178 | i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific | |
9179 | files in tm_file. | |
9180 | * config/i386/gnu.h: Don't include required platform specific .h files, | |
9181 | tm.h will do it instead. | |
9182 | * config/i386/i386elf.h: Likewise. | |
9183 | * config/i386/linux.h: Likewise. | |
9184 | * config/i386/moss.h: Likewise. | |
9185 | * config/mips/gnu.h: Likewise. | |
9186 | ||
e556ad19 FS |
9187 | 2001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
9188 | ||
9189 | * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h. | |
9190 | (rs6000-ibm-aix3.[01]*): Likewise. | |
9191 | (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise. | |
9192 | (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise. | |
9193 | (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise. | |
9194 | (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise. | |
9195 | (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h. | |
9196 | (powerpc-*-eabiaix*): Likewise. | |
9197 | (powerpc-*-eabisim*): Likewise. | |
9198 | (powerpc-*-elf*): Likewise. | |
9199 | (powerpc-*-eabi*): Likewise. | |
9200 | (powerpc-*-rtems*): Likewise. | |
9201 | (powerpc-*-linux*libc1): Likewise. | |
9202 | (powerpc-*-linux*): Likewise. | |
9203 | (powerpc-wrs-vxworks*): Likewise. | |
9204 | (powerpcle-wrs-vxworks*): Likewise. | |
9205 | (powerpcle-*-sysv*): Likewise. | |
9206 | (powerpcle-*-elf*): Likewise. | |
9207 | (powerpcle-*-eabisim*): Likewise. | |
9208 | (powerpcle-*-eabi*): Likewise. | |
9209 | (powerpcle-*-solaris2*): Likewise. | |
9210 | * config/rs6000/aix31.h: Delete includes. | |
9211 | * config/rs6000/aix3newas.h: Likewise. | |
9212 | * config/rs6000/aix41.h: Likewise. | |
9213 | * config/rs6000/aix43.h: Likewise. | |
9214 | * config/rs6000/beos.h: Likewise. | |
9215 | * config/rs6000/rtems.h: Likewise. | |
9216 | * config/rs6000/sysv4.h: Likewise. | |
9217 | ||
9789584b KH |
9218 | 2001-01-09 Kazu Hirata <kazu@hxi.com> |
9219 | ||
9220 | * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu. | |
9221 | Change an argument mode of machine_mode to shift_mode of | |
9222 | shift_mode. Remove an extra error check. | |
9223 | (emit_a_shift): Adopt to the new calling prototype of | |
9224 | get_shift_alg. | |
46d00fef KH |
9225 | (function_prologue): Fix code for a monitor |
9226 | function. Support H8/S. | |
9227 | (function_epilogue): Do not output pop for a monitor function. | |
9789584b | 9228 | |
a2e11fd9 NC |
9229 | 2001-01-09 Nick Clifton <nickc@redhat.com> |
9230 | ||
9231 | * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete. | |
9232 | (setup_incoming_varargs): Use sysv_varargs_p field of the | |
9233 | cfun->machine structure. | |
9234 | (struct machine_function): Move to rs6000.h | |
9235 | (rs6000_save_machine_status): Delete. | |
9236 | (rs6000_restore_machine_status): Delete. | |
9237 | (rs6000_init_machine_status): New Function. | |
9238 | (rs6000_free_machine_status): New Function. | |
9239 | (rs6000_init_expanders): Use new functions. | |
9240 | ||
9241 | * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete | |
9242 | export. | |
9243 | (struct machine_function): Move here. | |
9244 | ||
9245 | * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use | |
9246 | sysv_varargs_p field of the cfun->machine structure. | |
9247 | ||
9248 | * config/rs6000/rs6000-protos.h (rs6000_save_machine_status): | |
9249 | Remove prototype. | |
9250 | (rs6000_restore_machine_status): Remove prototype. | |
9251 | ||
4ba478b8 RH |
9252 | 2001-01-09 Richard Henderson <rth@redhat.com> |
9253 | ||
9254 | * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge | |
9255 | reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg. | |
9256 | * sched-deps.c (sched_analyze_1): Update uses of struct deps. | |
9257 | (sched_analyze_2, sched_analyze_insn): Likewise. | |
9258 | (sched_analyze, init_deps): Likewise. | |
9259 | (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET. | |
9260 | * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument. | |
9261 | (compute_block_backward_dependences): Update propagate_deps call. | |
9262 | ||
9c1fcbfb ME |
9263 | 2001-01-09 Mark Elbrecht <snowball3@bigfoot.com> |
9264 | ||
9265 | * gcc.c (process_command): Set switches[n_switches].ordering to 0. | |
9266 | ||
e582248c NB |
9267 | 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk> |
9268 | ||
825b6926 ZW |
9269 | * cppinit.c (OPT_MD, OPT_MMD): Restore. |
9270 | (cpp_handle_option): Handle them. | |
9271 | (cpp_post_options): Ensure one of -M or -MM is specified with | |
9272 | any other -M? option. | |
9273 | (init_dependency_output): Suppress output with -MG. | |
e582248c NB |
9274 | |
9275 | 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk> | |
9276 | ||
825b6926 ZW |
9277 | * cpp.texi: Update. |
9278 | * invoke.texi: Update. | |
e582248c | 9279 | |
7894cb27 BS |
9280 | 2001-01-09 Bernd Schmidt <bernds@redhat.com> |
9281 | ||
9282 | * sh.md (reload_outsf): Generate recognizable patterns for | |
9283 | TARGET_SH3E. | |
9284 | ||
9f56ed15 NB |
9285 | 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk> |
9286 | ||
9287 | * c-lang.c (lang_hooks): Update. | |
825b6926 ZW |
9288 | (lang_init): Rename c_init. |
9289 | (lang_finish): Remove. | |
9290 | * toplev.c (compile_file): Use lang_hooks for lang_init () | |
9291 | and lang_finish (). | |
9292 | * toplev.h (lang_hooks): Add init () and finish (). | |
9293 | * tree.h (lang_init, lang_finish): Remove. | |
9294 | * cp/tree.h (lang_init, lang_finish): Remove. | |
9295 | * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c. | |
9296 | * cp/lex.c (cxx_init, cxx_finish, cxx_post_options, | |
9297 | lang_hooks): New. | |
9298 | (lang_init, lang_finish): Remove. | |
9299 | * f/com.c (lang_init, lang_finish): Rename f_init, f_finish. | |
9300 | (lang_hooks): Update. | |
9301 | * java/lang.c (lang_init): Rename java_init. | |
9302 | (lang_finish): Remove. | |
9303 | (lang_hooks): Update. | |
9304 | * objc/objc-act.c (lang_init): Rename objc_init. | |
9305 | (lang_finish): Remove. | |
9306 | (lang_hoooks): Update. | |
9f56ed15 | 9307 | |
fb83deef GS |
9308 | 20001-01-09 Graham Stott <grahams@redhat.com> |
9309 | ||
9310 | * cppfiles.c (_cpp_execute_include): Move `len` initialisation | |
9311 | after `ptr` is initialised. | |
9312 | ||
ec4ad0f9 AO |
9313 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> |
9314 | ||
9315 | * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3. | |
9316 | (INITIALIZE_TRAMPOLINE): Adjust accordingly. | |
9317 | * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for | |
9318 | stack adjusts, instead of r3. | |
9319 | ||
eab02feb MH |
9320 | 2001-01-09 Michael Hayes <mhayes@redhat.com> |
9321 | ||
9322 | * flow.c (flow_loop_scan): Break out of ... | |
9323 | (flow_loops_find) ... here. | |
9324 | * basic-block.h (flow_loop_scan): New. | |
9325 | (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add. | |
9326 | (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine. | |
9327 | ||
bad48d7e AO |
9328 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> |
9329 | ||
4b49c365 AO |
9330 | * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero |
9331 | macro_buffer_len. | |
9332 | * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when | |
9333 | realloc()ing macro_buffer. | |
9334 | ||
bad48d7e AO |
9335 | * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long |
9336 | if it's wider than long and the target's long is wider than the | |
9337 | host's. | |
9338 | ||
34fa3e7d MM |
9339 | 2001-01-09 Mark Mitchell <mark@codesourcery.com> |
9340 | ||
9341 | Remove support for using UWIN as a host machine. | |
9342 | * configure.in: Issue an error message. | |
9343 | * configure: Regenerated. | |
9344 | * config.gcc: Remove xm_* UWIN configury. | |
9345 | * config/i386/xm-uwin.h: Remove. | |
9346 | ||
61db4608 NC |
9347 | 2001-01-08 Nick Clifton <nickc@redhat.com> |
9348 | ||
9349 | * config/v850/v850.c (ra_rtx): Delete. | |
825b6926 | 9350 | (v850_save_machine_status): Delete. |
61db4608 NC |
9351 | (v850_restore_machine_status): Delete. |
9352 | (v850_init_machine_status): New function. | |
9353 | (v850_mark_machine_status): New function. | |
9354 | (v850_free_machine_status): New function. | |
9355 | (v850_return_addr): Use ra_rtx field in machine structure. | |
9356 | (v850_init_expanders): Use new functions. | |
9357 | ||
9358 | * config/v850/v850-protos.h: Fix prototypes for v850_output_* | |
9359 | * config/v850/v850.c: Change arguments to v850_output+* functions | |
9360 | to take a const char *, to avoid compile time warning. | |
9361 | * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed. | |
9362 | (USER_LABEL_PREFIX): Redefine. | |
825b6926 | 9363 | |
9c8fad33 JW |
9364 | 2000-01-08 Jim Wilson <wilson@redhat.com> |
9365 | ||
9366 | * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast | |
9367 | 1 to unsigned HOST_WIDE_INT before left shift. | |
9368 | ||
f7a80099 NC |
9369 | 2001-01-08 Nick Clifton <nickc@redhat.com> |
9370 | ||
9371 | * config/arm/arm.c (arm_mark_machine_status): Check to see if | |
9372 | the machine structure has been allocated. | |
9373 | (arm_free_machine_status): New function: Free the machine | |
9374 | specific function structure. | |
9375 | ||
3c74f8f9 RH |
9376 | 2001-01-08 Richard Henderson <rth@redhat.com> |
9377 | ||
9378 | * jump.c (simplejump_p): Revert last change. | |
9379 | ||
674c3b40 NB |
9380 | 2001-01-08 Neil Booth <neil@daikokuya.demon.co.uk> |
9381 | ||
825b6926 ZW |
9382 | * cppinit.c (init): Rename init_library. |
9383 | (cpp_create_reader): Update. | |
9384 | * gcc.c (cpp_options): If -o given, use it as the target of | |
9385 | any -M options. | |
674c3b40 | 9386 | |
b15bca31 RE |
9387 | 2001-01-08 Richard Earnshaw <rearnsha@arm.com> |
9388 | ||
9389 | * arm.c (arm_arch5e): New variable. | |
9390 | (all_cores): XScale is a 5TE device. | |
9391 | (arm_override_options): Set arm_arch5e. | |
9392 | (arm_init_builtins): __builtin_prefetch is in arch5e. | |
9393 | * arm.h (arm_arch5e): Declare it. | |
9394 | ||
9395 | * arm.h (PREDICATE_CODES): Add arm_hard_register_operand. | |
9396 | ||
9397 | * arm.md (define_constants): Add defines for UNSPEC and | |
9398 | UNSPEC_VOLATILE insns. Update all users. | |
9399 | (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM. | |
9400 | * arm.c (multi_register_push, note_invalid_constants) | |
9401 | (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants. | |
9402 | * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines. | |
9403 | (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM. | |
825b6926 | 9404 | |
261efdef JH |
9405 | Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz> |
9406 | ||
9407 | * jump.c (jump_optimize_1): Use reversed_comparison_code | |
9408 | instead of can_reverse_comparison_p. | |
9409 | (jump_back_p): Likewise. | |
9410 | (invert_exp_1): Likewise. | |
9411 | (thread_jumps): Likewise. | |
9412 | * simplify-rtx.c (simplify_unary_operation): Likewise. | |
9413 | (simplify_ternary_operation): Likewise. | |
9414 | * cse.c (find_comparison_args): Convert to use | |
9415 | can_reverse_comparison_p. | |
9416 | (record_jump_equiv): Likewise. | |
9417 | ||
c7861455 RE |
9418 | 2001-01-08 Richard Earnshaw <rearnsha@arm.com> |
9419 | ||
9420 | * arm.h (HARD_REGNO_RENAME_OK): Delete. | |
9421 | (EPILOGUE_USES): Define. | |
825b6926 | 9422 | (INITIAL_ELIMINATION_OFFSET): Current prologue code does not |
c7861455 RE |
9423 | automatically stack the LR if it isn't live. |
9424 | ||
734dba19 JH |
9425 | Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz> |
9426 | ||
9427 | * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions | |
9428 | properly. | |
9429 | ||
b1095f9c MM |
9430 | Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com> |
9431 | ||
9432 | * ggc-page.c (max_alignment): New structure. | |
9433 | (MAX_ALIGNMENT): New macro. | |
9434 | (init_ggc): Use it to round up the sizes in the | |
9435 | extra_order_size_table. | |
9436 | ||
a701949a FS |
9437 | 2001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
9438 | ||
9439 | * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register | |
9440 | after reload. | |
9441 | ||
18f988a0 KG |
9442 | 2001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9443 | ||
9444 | * builtins.def (BUILT_IN_FPRINTF): New entry. | |
9445 | ||
9446 | * c-common.c (c_expand_builtin_fprintf): New function. | |
9447 | (init_function_format_info): Handle __builtin_fprintf. | |
9448 | (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf. | |
9449 | (c_expand_builtin): Handle BUILT_IN_FPRINTF. | |
9450 | ||
9451 | * c-decl.c (duplicate_decls): Adjust comment. | |
9452 | ||
9453 | * extend.texi (fprintf): Document new builtin. | |
9454 | ||
8cd0792f RH |
9455 | 2001-01-07 Richard Henderson <rth@redhat.com> |
9456 | ||
9457 | * jump.c (simplejump_p): Recognize any single_set jump | |
9458 | of the proper form. | |
9459 | ||
5b15f277 RH |
9460 | 2001-01-07 Richard Henderson <rth@redhat.com> |
9461 | ||
9462 | * configure.in (slibdir): Accept an --with-slibdir option. | |
9463 | Use "test" not "[" in configure. Default to $(libdir). | |
9464 | ||
9c2e06d9 RH |
9465 | * config/t-linux (SHLIB_INSTALL): Double quote slibdir; |
9466 | fix typo in rm -f. | |
9467 | * config/t-aix43 (SHLIB_INSTALL): Likewise. | |
9468 | * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise. | |
9469 | (SHLIB_LINK): Create links for the soname. | |
9470 | * config/mips/t-iris6: Likewise. | |
9471 | * config/sparc/t-slibgcc: Likewise. | |
9472 | * config/sparc/t-slibgcc-sld: Likewise. | |
9473 | ||
eaf19aba JJ |
9474 | 2001-01-07 Jakub Jelinek <jakub@redhat.com> |
9475 | ||
9476 | * config/i386/i386.c (constant_call_address_operand): Accept | |
9477 | (const (plus (symbol_ref) (const_int))). | |
9478 | * config/i386/i386.h (PREDICATE_CODES): Add CONST for | |
9479 | constant_call_address_operand. | |
9480 | ||
a8b462be MH |
9481 | 2001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
9482 | ||
9483 | * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1 | |
9484 | and LONG_LONG_TYPE_SIZE > 32. | |
9485 | ||
3799607a GP |
9486 | 2001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
9487 | ||
9488 | * jump.c (reversed_comparison_code_parts): Fix typo introduced by | |
9489 | the previous change. | |
9490 | ||
ab94bc48 JH |
9491 | Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz> |
9492 | ||
9493 | * jump.c (reversed_comparison_code_parts, reversed_comparison_code): | |
9494 | New. | |
9495 | (can_reverse_comparison_p): Rewrite to use reversed_comparison_code. | |
9496 | (reverse_condition_maybe_unordered): Abort on unsigned comparisons. | |
9497 | * rtl.h (reversed_comparison_code_parts, reversed_comparison_code): | |
9498 | Declare. | |
9499 | ||
f6a13bff NB |
9500 | 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk> |
9501 | ||
825b6926 | 9502 | * fix-header.c (read_scan_file): s/pfile/scan_in/. |
f6a13bff | 9503 | |
96302433 NB |
9504 | 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk> |
9505 | ||
825b6926 | 9506 | * c-lang.c (c_post_options): Call cpp_post_options. |
96302433 NB |
9507 | * objc/objc-act.c (objc_post_options): Similarly. |
9508 | * cppmain.c (main): Similarly. | |
825b6926 ZW |
9509 | * fix-header.c (read_scan_file): Similarly. |
9510 | * cppinit.c (cpp_start_read): Move option consistency checks | |
9511 | to cpp_post_options. Don't call init_dependency_output. | |
9512 | If needed, add default target and main file dependency. | |
9513 | (OPT_MD, OPT_MMD): Remove. | |
9514 | (OPT_MF): New. | |
9515 | (cpp_handle_option): Update for OPT_* changes. | |
9516 | (cpp_post_options): New. | |
9517 | (init_dependency_output): Command line -MF overrides environment | |
9518 | variables. Don't set default target etc. Suppress output | |
9519 | if dependencies are going to stdout. | |
9520 | (print_help): Update. | |
9521 | * cpplib.h (cpp_post_options): New. | |
9522 | * gcc.c (cpp_options): Update for -MD, -MMD, -MF. | |
9523 | ||
b34878a3 JH |
9524 | Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz> |
9525 | ||
9526 | * jump.c (comparison_dominates_p): Support unordered compares. | |
9527 | ||
1f36a2dd JH |
9528 | Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz> |
9529 | ||
9530 | * simplify-rtx.c (simplify_relational_operation): Always simplify | |
9531 | ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE | |
9532 | and UNGE. | |
9533 | ||
69bc0a1f JH |
9534 | Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz> |
9535 | ||
9536 | * combine.c (combine_simplify_rtx): Recognize the unordered compares. | |
9537 | (nonzero_bits): Likewise. | |
9538 | (simplify_comparison): Likewise. | |
9539 | (num_sign_bit_copies): Likewise; return more sane value depending | |
9540 | on STORE_FLAG_VALUE. | |
9541 | (known_cond): Do not assume EQ to be always true for equivalent | |
9542 | operands. | |
9543 | ||
fd13313f JH |
9544 | Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz> |
9545 | ||
9546 | * cse.c (fold_rtx): Handle unordered comparisons. | |
9547 | ||
91b2d119 JH |
9548 | Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz> |
9549 | ||
9550 | * rtlanal.c (set_of_1): New static function. | |
9551 | (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag, | |
9552 | reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno, | |
9553 | reg_set_last_last_regno): Remove. | |
9554 | (set_of): New global function. | |
9555 | (set_of_data): New structure. | |
9556 | (reg_set_p, reg_set_last): Revamp for set_of. | |
9557 | * rtl.h (set_of): New. | |
9558 | ||
796cdb65 JM |
9559 | 2001-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
9560 | ||
9561 | * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin. | |
9562 | * extend.texi: Document _Exit builtin. | |
9563 | ||
7ca3d2b1 NB |
9564 | 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk> |
9565 | ||
825b6926 ZW |
9566 | * (initialize, initialize_builtins, |
9567 | initialize_dependency_output, initialize_standard_includes): | |
9568 | Rename s/initialize/init. Update. | |
9569 | (init_dependency_output): Move to after | |
9570 | cpp_handle_options, the correct location temporally at least. | |
9571 | (opt_comp): Move next to init (), its caller. Fix prototype. | |
9572 | (init): Make "initialized" local scope. | |
9573 | (cpp_create_reader): Always call init (). | |
9574 | (cpp_start_read): Update. | |
9575 | (output_deps): New function, broken out of cpp_finish. | |
9576 | (cpp_finish): Break out output_deps. | |
7ca3d2b1 | 9577 | |
34445094 RH |
9578 | 2001-01-07 Richard Henderson <rth@redhat.com> |
9579 | ||
9580 | * collect2.c (COFF specific stuff): Revert 12-06 patch | |
9581 | to prototype system functions. | |
9582 | ||
96a45535 MH |
9583 | 2001-01-07 Michael Hayes <mhayes@redhat.com> |
9584 | ||
9585 | * hard-reg-set.h: Add multiple include guard. | |
9586 | * basic-block.h (struct loop): Add `sink' field. | |
9587 | * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h. | |
9588 | (emit_iv_add_mult): Delete. | |
9589 | (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define. | |
9590 | (loop_iv_add_mult_emit_before, loop_insn_sink): Define. | |
9591 | (unroll_loop): Remove end_insert_before argument. | |
9592 | * loop.c (loop_givs_rescan): Remove end_insert_before argument. | |
9593 | (maybe_eliminate_biv_1): Likewise. | |
9594 | (emit_iv_add_mult): Delete. | |
9595 | (gen_add_mult, loop_regs_update): New. | |
9596 | (loop_insn_emit_after, loop_insn_emit_before): New. | |
9597 | (loop_insn_sink, loop_insn_sink_or_swim): New. | |
9598 | (emit_iv_add_mult): Delete. | |
9599 | (scan_loop): Set loop->sink. | |
9600 | (loop_givs_reduce): Use loop_insn_sink and its ilk. | |
9601 | (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise. | |
9602 | (maybe_eliminate_biv_1): Likewise. | |
9603 | (maybe_eliminate_biv_1): Add basic block argument. | |
9604 | * unroll.c (unroll_loop): Remove end_insert_before argument. | |
9605 | (find_splittable_regs): Likewise. | |
9606 | (find_splittable_regs): Use loop_insn_sink and its ilk. | |
9607 | (find_splittable_givs, final_biv_value, final_giv_value): Likewise. | |
9608 | ||
804a718a MH |
9609 | 2001-01-07 Michael Hayes <mhayes@redhat.com> |
9610 | ||
9611 | * loop.h (loop_insn_hoist): New prototype. | |
9612 | * loop.c (loop_insn_hoist, loop_insn_emit_before): New. | |
9613 | (move_movables, loop_givs_rescan): Use loop_insn_hoist. | |
9614 | (check_dbra_loop, load_mems): Likewise. | |
9615 | * unroll.c (unroll_loop, find_splittable_regs): Likewise. | |
9616 | (find_splittable_givs): Likewise. | |
9617 | ||
30a1181a MH |
9618 | 2001-01-07 Michael Hayes <mhayes@redhat.com> |
9619 | ||
9620 | * loop.c (emit_iv_add_mult): Use single_set to examine new insn. | |
9621 | ||
cabf3891 RH |
9622 | 2001-01-07 Richard Henderson <rth@redhat.com> |
9623 | ||
9624 | * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change. | |
9625 | ||
9db0819e RH |
9626 | 2001-01-07 Richard Henderson <rth@redhat.com> |
9627 | ||
9628 | * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and | |
9629 | NO_SHARED_LIBGCC_MULTILIB as required for the target. | |
9630 | * gcc.c (init_spec): Massage the existing libgcc_spec into a | |
9631 | variant that handles a shared libgcc. | |
9632 | (process_command): Always validate -{static,shared}-libgcc. | |
9633 | (do_spec_1): New 'M' case. | |
9634 | * invoke.text (Link Options): Document -{static,shared}-libgcc. | |
9635 | ||
2bbea3a6 RH |
9636 | 2001-01-07 Richard Henderson <rth@redhat.com> |
9637 | ||
9638 | * Makefile.in (slibdir): New variable. | |
9639 | (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc. | |
9640 | (installdirs): Create slibdir. | |
9641 | (install-libgcc, install-multilib): Defer to libgcc.mk. | |
9642 | * configure.in (slibdir): Substitute. | |
9643 | * mklibgcc.in (install): New target. | |
9644 | ||
9645 | * config/t-linux (SHLIB_LINK): Create links for the soname. | |
9646 | (SHLIB_INSTALL): New. | |
9647 | * config/alpha/t-osf4 (SHLIB_INSTALL): New. | |
9648 | * config/mips/t-iris6 (SHLIB_INSTALL): New. | |
9649 | * config/rs6000/t-aix43 (SHLIB_INSTALL): New. | |
9650 | * config/sparc/t-slibgcc (SHLIB_INSTALL): New. | |
9651 | * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New. | |
9652 | ||
fc51424c RH |
9653 | 2001-01-07 Richard Henderson <rth@redhat.com> |
9654 | ||
9655 | * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New. | |
9656 | * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove. | |
9657 | * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove. | |
9658 | ||
1d7ae250 MH |
9659 | 2001-01-07 Michael Hayes <mhayes@redhat.com> |
9660 | ||
9661 | * loop.c (count_loop_regs_set): Delete. | |
9662 | (load_mems_and_recount_loop_regs_set): Delete. | |
9663 | (loop_regs_scan): Merge common code from count_loop_regs_set, | |
9664 | scan_loop, and load_mems_and_recount_loop_regs_set. | |
9665 | (scan_loop): Call load_mems directly and loop_regs_scan | |
9666 | again if new registers created. | |
9667 | ||
cd2a3ba2 NB |
9668 | 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk> |
9669 | ||
825b6926 ZW |
9670 | * toplev.c (main): Call the front-end specific post_options |
9671 | hook if one is given. | |
9672 | * toplev.h (struct_lang_hooks, lang_hooks): New. | |
9673 | * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks | |
9674 | for the C front end. | |
9675 | * cp/decl2.c (cxx_post_options, lang_hooks): Implement | |
9676 | lang_hooks for the C++ front end. | |
9677 | * objc/objc-act.c (objc_post_options, lang_hooks): Implement | |
9678 | lang_hooks for the ObjC front end. | |
9679 | * f/com.c (lang_hooks): Hooks for the Fortran front end. | |
9680 | * java/lang.c (lang_hooks): Hooks for the Java front end. | |
cd2a3ba2 | 9681 | |
65289a3a NB |
9682 | 2001-01-07 Neil Booth <neil@daikokuya.demon.co.uk> |
9683 | ||
825b6926 ZW |
9684 | * c-lex.c (init_c_lex): Request #define / #undef callbacks |
9685 | for verbose DWARF[2] debugging. | |
9686 | (cb_define, cb_undef): The new callbacks. | |
9687 | * toplev.h (debug_define, debug_undef): Make const correct. | |
9688 | * toplev.c (debug_define, debug_undef): Similarly. Do not | |
9689 | perform the verbosity tests here anymore. | |
65289a3a | 9690 | |
f759eb8b AO |
9691 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com> |
9692 | ||
9693 | * reload.c (subst_reloads): Take INSN argument. When | |
9694 | replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note. | |
9695 | * reload.h (subst_reloads): Adjust prototype. | |
9696 | * reload1.c (reload_as_needed): Pass INSN to subst_reloads. | |
9697 | * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes | |
9698 | present in JUMP_INSNs and copy them to JUMP_LABEL. | |
9699 | * flow.c (find_label_refs, find_basic_blocks_1): Skip | |
9700 | JUMP_INSNs and insns with REG_LABELs that are followed by | |
9701 | JUMP_INSNs with the same REG_LABEL. | |
9702 | * sched-rgn.c (is_cfg_nonregular): Likewise. | |
9703 | * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL | |
9704 | note is available. | |
9705 | * unroll.c (unroll_loop): Look for REG_LABEL notes in | |
9706 | JUMP_INSNs too. | |
9707 | * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs. | |
9708 | ||
587f56c2 RH |
9709 | 2001-01-06 Richard Henderson <rth@redhat.com> |
9710 | ||
9711 | * loop.c (scan_loop): Use xcalloc for the regs array. | |
9712 | (load_mems_and_recount_loop_regs_set): Zero the new memory | |
9713 | received from xrealloc. | |
9714 | ||
fa6f74f6 NB |
9715 | 2001-01-06 Neil Booth <neil@daikokuya.demon.co.uk> |
9716 | ||
9717 | * mkdeps.c (deps_add_dep): Fix vector re-allocation. | |
9718 | ||
ea55fa7a R |
9719 | Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com> |
9720 | ||
9721 | * integrate.c (copy_rtx_and_substitute): When copying | |
9722 | an ignored return value, strip REG_FUNCTION_VALUE_P. | |
9723 | ||
c804f3f8 MH |
9724 | 2001-01-06 Michael Hayes <mhayes@redhat.com> |
9725 | ||
9726 | * loop.c (debug_biv, debug_giv): New. | |
9727 | (loop_biv_dump): Break out from ... | |
9728 | (record_biv): ... here. | |
9729 | (loop_giv_dump): Break out from ... | |
9730 | (record_giv): ... here. | |
9731 | (loop_bivs_check): Use print_simple_rtl. | |
9732 | * unroll.c (loop_iterations): Use print_simple_rtl. | |
9733 | ||
d492b096 JDA |
9734 | 2000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9735 | ||
9736 | * pa.md (return, return_internal): Modify patterns to prevent regrename | |
9737 | mucking with the return pointer. | |
9738 | ||
f7d2b0ed RH |
9739 | 2001-01-05 Richard Henderson <rth@redhat.com> |
9740 | ||
9741 | * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change. | |
9742 | ||
0426e049 NC |
9743 | Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com> |
9744 | ||
9745 | * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster | |
9746 | version supplied by Matteo Frigo. | |
9747 | ||
f7114e17 NB |
9748 | 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
9749 | ||
825b6926 ZW |
9750 | * cpp.texi: Update for -MQ. |
9751 | * cppinit.c (cpp_create_reader): Always create pfile->deps. | |
9752 | (cpp_cleanup): Always free pfile->deps. | |
9753 | (initialize_dependency_output): Don't create pfile->deps. | |
9754 | (cpp_handle_option): Similarly. | |
9755 | (OPT_MQ): New. | |
9756 | * gcc.c (cpp_options): Handle -MQ. | |
9757 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ. | |
9758 | * mkdeps.c (base_name): Remove. | |
9759 | (deps_init): Don't allocate vector space until it's needed. | |
9760 | (deps_free): Only free vectors if allocated. | |
9761 | (deps_add_target, deps_add_dep): Update for initial allocation. | |
9762 | (deps_add_default_target): Don't strip to the base_name. | |
f7114e17 | 9763 | |
a64761a3 DD |
9764 | 2001-01-05 DJ Delorie <dj@redhat.com> |
9765 | ||
9766 | * config/v850/v850.h (RETURN_ADDR_RTX): Define. | |
9767 | (INIT_EXPANDERS): Define. | |
9768 | ||
9769 | * config/v850/v850.c (struct machine_function): Define. | |
9770 | (v850_save_machine_status): New function. | |
9771 | (v850_restore_machine_status): New function. | |
9772 | (v850_return_addr): New function. | |
9773 | (v850_init_expanders): New function. | |
9774 | ||
9775 | * config/v850/v850-protos.h: Add prototypes for v850_return_addr | |
9776 | and v850_init_expanders. | |
825b6926 | 9777 | |
f4cdc368 ZW |
9778 | 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu> |
9779 | ||
9780 | * cpplib.h (struct cpp_reader): Add help_only field. | |
9781 | * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version. | |
9782 | (cpp_handle_option): Set pfile->help_only if we see -h, | |
9783 | --help, -target-help, or --version. Print version string but | |
9784 | do not set help_only if we see -v or -version. Make text | |
9785 | printed by -v match that printed by (-)-version. | |
9786 | ||
9787 | * cppmain.c (main): Exit after option parsing if | |
9788 | pfile->help_only is true. | |
9789 | ||
9790 | * toplev.c (independent_decode_option): Call print_version, | |
9791 | then exit, if we see --version (but not -version). | |
9792 | (print_version): Split lengthy message into two lines. | |
9793 | ||
3326b760 NC |
9794 | 2001-01-05 Nick Clifton <nickc@redhat.com> |
9795 | ||
9796 | * config/v850/v850.c (v850_encode_data_area): Use alloca to create | |
9797 | temporary string for initialisation before calling ggc_alloc_string. | |
9798 | ||
75b7557d MH |
9799 | 2001-01-06 Michael Hayes <mhayes@redhat.com> |
9800 | ||
9801 | * rtl.h (print_simple_rtl): New. | |
9802 | * print-rtl.c (print_simple_rtl): New. | |
9803 | (flag_simple): New. | |
9804 | (print_rtx): Disable printing of flags and modes, etc., | |
825b6926 | 9805 | if `flag_simple` nonzero. |
75b7557d | 9806 | |
b05467dc ZW |
9807 | 2001-01-05 Zack Weinberg <zack@wolery.stanford.edu> |
9808 | ||
9809 | * function.c (fixup_var_refs): Use push_to_full_sequence where | |
9810 | possible. | |
9811 | ||
b883f801 MM |
9812 | 2001-01-05 Michael Meissner <meissner@redhat.com> |
9813 | ||
9814 | * flags.h (flag_reorder_blocks): Add declaration. | |
9815 | (flag_rename_block): Ditto. | |
9816 | ||
cc1fe44f DD |
9817 | 2001-01-05 DJ Delorie <dj@redhat.com> |
9818 | ||
9819 | * function.c (reorder_blocks): Make sure the flags are all reset | |
9820 | before using them to mark blocks, else a second invocation will | |
9821 | corrupt the block chain. | |
9822 | (reorder_blocks_0): New, resets the flags. | |
9823 | ||
8b03b984 R |
9824 | Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com> |
9825 | ||
9826 | * cse.c (find_comparison_args): Stop if the argument is known to | |
9827 | be constant. | |
9828 | ||
18a7c2a7 AO |
9829 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> |
9830 | ||
9831 | * config/sh/sh.md (movdf): When splitting load into pair of | |
9832 | registers, don't clobber the register used in the address too | |
9833 | early. | |
9834 | ||
fcbd8ef2 JO |
9835 | 2001-01-05 Jeffrey Oldham <oldham@codesourcery.com> |
9836 | ||
9837 | * varasm.c (mark_constant_pool): Improve initial comments. | |
9838 | (mark_constants): Move marking of constants to mark_constant. | |
9839 | (mark_constant): New function to recursively mark all constants | |
9840 | referred to by a constant. | |
9841 | ||
ebb0cdf3 CM |
9842 | 2001-01-05 Catherine Moore <clm@redhat.com> |
9843 | ||
9844 | * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG. | |
9845 | ||
3b4e6a16 PE |
9846 | 2001-01-05 Phil Edwards <pme@sources.redhat.com> |
9847 | ||
9848 | * cp/lang-options.h: Bring comment in line with reality. | |
9849 | * f/lang-options.h: Likewise. | |
9850 | * java/lang-options.h: Likewise. | |
9851 | * objc/lang-options.h: Likewise. | |
9852 | * ch/lang-options.h: Likewise. | |
9853 | * f/g77.texi: And update the manual. | |
9854 | ||
dcfb1a36 MM |
9855 | 2001-01-05 Marek Michalkiewicz <marekm@linux.org.pl> |
9856 | Denis Chertykov <denisc@overta.ru> | |
9857 | ||
9858 | * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype. | |
9859 | * config/avr/avr.c (avr_peep2_scratch_safe): New function. | |
9860 | * config/avr/avr.md (all peepholes that request a scratch register): | |
9861 | Call it, FAIL the peephole if not safe (in interrupt functions). | |
9862 | ||
cef3d50c MM |
9863 | 2001-01-05 Mark Mitchell <mark@codesourcery.com> |
9864 | ||
9865 | * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now. | |
9866 | ||
341e3d11 JM |
9867 | 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk> |
9868 | ||
9869 | * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG): | |
9870 | Define. | |
9871 | * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ, | |
9872 | BUILT_IN_CREAL and BUILT_IN_CIMAG. | |
9873 | * c-common.c (c_common_nodes_and_builtins): Create builtin conjf, | |
9874 | conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl. | |
9875 | (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and | |
9876 | BUILT_IN_CIMAG. | |
9877 | * extend.texi: Document these builtins. | |
9878 | ||
604bb87d DB |
9879 | 2001-01-05 Daniel Berlin <dberlin@redhat.com> |
9880 | ||
9881 | * c-common.c (lang_get_alias_set): Say we know nothing of | |
825b6926 | 9882 | VECTOR_TYPE aliasing. |
604bb87d DB |
9883 | |
9884 | * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly. | |
9885 | ||
15fe1a7e BK |
9886 | 2001-01-05 Bruce Korb <bkorb@gnu.org> |
9887 | ||
9888 | * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to | |
9889 | their x* equivalent versions for atexit-less systems | |
9890 | * fixinc/fixincl.c(main): do not return from main() on atexit-less | |
9891 | systems (or any other system any more). | |
9892 | ||
b0888988 RE |
9893 | 2001-01-05 Richard Earnshaw <rearnsha@arm.com> |
9894 | ||
9895 | * arm.md (ldmsi_postinc): Avoid use of match_dup between input and | |
9896 | output operands. Use arm_hard_register_operand for operand 4. | |
9897 | (stmsi_postinc): Similarly. | |
9898 | (ldmsi): Use arm_hard_register_operand for opernand 2. | |
9899 | (stmsi): Similarly. | |
9900 | * arm.c (arm_hard_register_operand): New function. | |
9901 | * arm-protos.h (arm_hard_register_operand): Prototype it. | |
9902 | ||
9903 | * arm.h (HARD_REGNO_RENAME_OK): Define. | |
9904 | ||
90a74703 JH |
9905 | Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz> |
9906 | ||
9907 | * simplify-rtx.c (cfc_args): add "unordered" field. | |
9908 | (check_fold_consts): Set unordered field. | |
9909 | (simplify_relational_operation): Simplify the unordered | |
9910 | comparisons. | |
9911 | ||
9912 | * reg-stack.c (swap_rtx_condition): Ensure that the transformation | |
9913 | is valid. | |
9914 | ||
9915 | * emit-rtl.c (try_split): Fix code to mark labels. | |
9916 | * jump.c (mark_jump_label): Make global. | |
9917 | * rtl.h (mark_jump_label): Declare. | |
9918 | ||
9919 | * predict.c (estimate_probability): Handle unordred comparisons. | |
9920 | ||
a5a4ce3c NB |
9921 | 2001-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
9922 | ||
825b6926 ZW |
9923 | * cpp.texi: Update for -MP. Clarify behaviour of -MT. |
9924 | * cppinit.c (initialize_dependency_output): Update. | |
9925 | (cpp_finish): Output dummy targets for -MP. | |
9926 | (OPT_MP): New. | |
9927 | (cpp_handle_option): Handle -MP. Don't quote -MT options. | |
9928 | * cpplib.h (struct cpp_options): Add deps_phony_targets. | |
9929 | * gcc.c (cpp_options): Update to handle -MP. | |
9930 | * mkdeps.c (deps_add_target, deps_add_default_target): Update | |
9931 | to quote only the default target. | |
9932 | (deps_phony_targets): Insert a preceding newline. Rename from | |
9933 | deps_dummy_targets for consistency. | |
9934 | * mkdeps.h: Update | |
a5a4ce3c | 9935 | |
97fc4caf AO |
9936 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> |
9937 | ||
9938 | * calls.c (emit_library_call_value_1): Support | |
9939 | INIT_CUMULATIVE_LIBCALL_ARGS. | |
9940 | * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it. | |
9941 | ||
ffc5c6a9 RH |
9942 | 2001-01-04 Richard Henderson <rth@redhat.com> |
9943 | ||
9944 | * c-decl.c (finish_struct): Detect flexible array members | |
9945 | used in an inappropriate context. | |
9946 | * c-typeck.c (really_start_incremental_init): Special case | |
9947 | constructor_max_index for zero length arrays. | |
9948 | (pop_init_level): Allow initialization of flexible array | |
9949 | members. Deprecate initialization of zero length arrays. | |
9950 | Don't issue missing initializer warning for flexible array | |
9951 | members or zero length arrays. | |
9952 | (process_init_element): Don't dereference null DECL_SIZE. | |
9953 | * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT. | |
9954 | Don't abort for empty constructors. Use size_binop | |
825b6926 | 9955 | (output_constructor): Add commentary regarding zero length |
ffc5c6a9 RH |
9956 | array futures. Abort if we try to initialize an array of |
9957 | unspecified length with a non-empty constructor in the middle | |
9958 | of a structure. | |
9959 | ||
9960 | * extend.texi (Zero Length): Update and clarify documentation | |
9961 | on static initialization. | |
9962 | ||
69f6e760 MH |
9963 | 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
9964 | ||
9965 | * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR | |
9966 | with more than 32767 words of local storage. | |
9967 | ||
06dd70c6 MH |
9968 | 2001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
9969 | ||
9970 | * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support | |
9971 | for 'abs', 'labs', and 'fabs'. | |
9972 | (c4x_expand_builtin): Likewise. | |
9973 | * config/c4x/c4x.h (enum c4x_builtins): Likewise. | |
9974 | ||
99e87c10 AO |
9975 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> |
9976 | ||
9977 | * config/sh/sh.md (prget, prset): New insn types. | |
9978 | (return delay slot): Dont' allow prset. | |
9979 | (call, sfunc delay slot): Don't allow prget. | |
9980 | (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives | |
9981 | for prset and prget. | |
9982 | ||
576d0b54 | 9983 | 2001-01-05 Michael Hayes <mhayes@redhat.com> |
825b6926 | 9984 | |
f1d4ac80 MH |
9985 | * loop.h (struct loop_reg): New. |
9986 | (struct loop_regs): Change to use array of `struct loop_reg'. | |
9987 | * loop.c: Replace assortment of varrays with single regs array. | |
9988 | (count_one_set): Delete may_not_move array argument | |
9989 | and use regs array instead. All caller's changed. | |
9990 | (count_loop_regs_set): Delete may_not_move and single_usage | |
9991 | arguments and use regs array instead. All caller's changed. | |
9992 | (find_single_use_in_loop): Replace usage array argument with pointer | |
9993 | to regs structure. All caller's changed. | |
9994 | (loop_optimize): Delete `moved_once' array. | |
9995 | ||
9996 | 2001-01-05 Michael Hayes <mhayes@redhat.com> | |
825b6926 | 9997 | |
576d0b54 MH |
9998 | * loop.c (prescan_loop): Set loop_info->has_nonconst_call. |
9999 | Use it instead of loop_info->has_call for scanning loop mems. | |
10000 | (check_dbra_loop): Replace loop_info->has_call test with | |
10001 | loop_info->has_nonconst_call. | |
10002 | ||
616af7ee MH |
10003 | 2000-01-04 Matthew Hiller <hiller@redhat.com> |
10004 | ||
10005 | * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used | |
10006 | for TARGET_SH3E. | |
10007 | ||
32812a40 JM |
10008 | 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk> |
10009 | ||
10010 | * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST, | |
10011 | use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND. | |
10012 | ||
eaa7c03f JM |
10013 | 2001-01-04 Joseph S. Myers <jsm28@cam.ac.uk> |
10014 | ||
10015 | * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define. | |
10016 | (flag_short_double, flag_short_wchar): Define. | |
10017 | (c_common_nodes_and_builtins): Create many tree nodes shared | |
10018 | between C and C++ here instead of in cp/decl.c and ... | |
10019 | * c-decl.c (init_decl_processing): ... here. | |
10020 | (SIZE_TYPE, WCHAR_TYPE): Don't define. | |
10021 | (flag_short_double, flag_short_wchar): Don't define. | |
10022 | (record_builtin_type): New function. | |
10023 | (build_void_list_node): New function. | |
10024 | * c-common.h (flag_short_double, flag_short_wchar, | |
10025 | record_builtin_type, build_void_list_node): Declare. | |
10026 | ||
e2a5f96b R |
10027 | Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com> |
10028 | ||
10029 | * integrate.c (expand_inline_function): Don't put a virtual | |
10030 | register into the reg map. | |
10031 | ||
10032 | * function.c (fixup_var_refs_1): If force_operand didn't put | |
10033 | the address into the target, move it there. | |
10034 | ||
2be510b8 MM |
10035 | 2001-01-04 Mark Mitchell <mark@codesourcery.com> |
10036 | ||
10037 | Special-case tree_decl/tree_list allocations. | |
10038 | * ggc-page.c (OBJECT_PER_PAGE): Reimplement. | |
10039 | (OBJECT_SIZE): New macro. | |
10040 | (NUM_EXTRA_ORDER): Likewise. | |
10041 | (extra_order_size_table): New variable. | |
10042 | (NUM_ORDERS): New macro. | |
10043 | (objects_per_page_table): New variable. | |
10044 | (object_size_table): New variable. | |
10045 | (G.pages): Use NUM_ORDERS to bound the array. | |
10046 | (G.page_tails): Likewise. | |
10047 | (DIV_ROUND_UP): Remove. | |
10048 | (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP. | |
10049 | (alloc_page): Use OBJECT_SIZE. | |
10050 | (size_lookup): Don't make it const. | |
10051 | (ggc_alloc): Use OBJECT_SIZE. | |
10052 | (ggc_set_mark): Likewise. | |
10053 | (ggc_get_size): Likewise. | |
10054 | (init_ggc): Set up the object_size_table, objects_per_page_table, | |
10055 | and adjust size_lookup. | |
10056 | (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP. | |
10057 | (ggc_pop_context): Use NUM_ORDERS. | |
10058 | (clear_marks): Likewise. | |
10059 | (sweep_pages): Likewise. | |
10060 | (poison_pages): Likewise. | |
10061 | (ggc_print_statistics): Use OBJECT_SIZE. | |
10062 | ||
bf1aaf0a RK |
10063 | Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10064 | ||
10065 | * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes. | |
10066 | Only call array_size_for_constructor if last field and array type | |
10067 | with no upper bound. | |
10068 | ||
ceebdb09 PB |
10069 | 2001-01-04 Philip Blundell <philb@gnu.org> |
10070 | ||
10071 | * config/arm/arm.c (arm_gen_constant): Prefer to emit constants | |
10072 | from bit 31 downwards, if this requires no more insns. | |
10073 | (count_insns_for_constant): New helper function for above. | |
10074 | ||
1fd4f141 AO |
10075 | 2001-01-04 Alexandre Oliva <aoliva@redhat.com> |
10076 | ||
10077 | * gencodes.c (output_predicate_decls): Remove empty initializer. | |
10078 | ||
3af4c257 MM |
10079 | 2001-01-04 Mark Mitchell <mark@codesourcery.com> |
10080 | ||
10081 | * tree.c (copy_node): Remove documentation about obstacks. | |
10082 | (buidl1): Check that nobody tries to build 2-argument nodes this | |
10083 | way. | |
10084 | ||
30472f46 KG |
10085 | 2001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10086 | ||
a41d0855 KG |
10087 | * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and |
10088 | fp_high_losum_p. | |
10089 | ||
30472f46 KG |
10090 | * gencodes.c (output_predicate_decls): Fill empty initializer |
10091 | braces. | |
10092 | ||
c3843cea JJ |
10093 | 2001-01-04 Jakub Jelinek <jakub@redhat.com> |
10094 | ||
10095 | * tradcpp.c (deps_file, print_deps_missing_files): New variables. | |
10096 | (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M | |
10097 | or -MM. | |
10098 | (do_include): Handle missing headers like cpp0. | |
10099 | * cppfiles.c (_cpp_execute_include): Don't prefix absolute header | |
10100 | paths with first include pathname. Don't strcat to uninitialized | |
10101 | string. | |
10102 | ||
f4d578da BS |
10103 | 2001-01-04 Bernd Schmidt <bernds@redhat.com> |
10104 | ||
10105 | * regrename.c (regrename_optimize): Don't rename from frame pointer | |
10106 | if frame_pointer_needed. | |
10107 | (do_replace): Don't set ORIGINAL_REGNO to a hard register number. | |
10108 | * config/ia64/ia64.c (emit_all_group_insn_barriers): New function. | |
10109 | (ia64_reorg): Use it instead of scheduling if ! optimize. | |
10110 | (errata_emit_nops): Properly call asm_noperands. | |
10111 | (ia64_sched_reorder): Finish cycle if we see an asm. | |
10112 | (ia64_variable_issue): Clear scheduling state after asms. | |
10113 | ||
03b9ab42 NB |
10114 | 2001-01-04 Neil Booth <neil@daikokuya.demon.co.uk> |
10115 | ||
825b6926 ZW |
10116 | * cpp.texi: Update for -MT. |
10117 | * cppinit.c (initialize_dependency_output): Add a default | |
10118 | target if none has been given already. | |
10119 | (no_tgt, OPT_MT): New. | |
10120 | (cpp_handle_option): Handle -MT. Update -M etc. | |
10121 | * cpplib.h (struct cpp_options): Remove deps_target. | |
10122 | * gcc.c (cpp_options): Handle -MT. | |
10123 | * mkdeps.c (struct deps): Move from mkdeps.h. | |
10124 | (deps_calc_target): Rename deps_add_default_target. Add a | |
10125 | default target if none has been specified already. | |
10126 | * mkdeps.h (struct deps): Move to mkdeps.c. | |
10127 | (deps_calc_target): Rename deps_add_default_target. | |
03b9ab42 | 10128 | |
584ef5fe RH |
10129 | 2000-01-03 Richard Henderson <rth@redhat.com> |
10130 | ||
10131 | * c-decl.c (grokdeclarator): Give zero-length arrays size zero. | |
10132 | Remove dead code. | |
10133 | * c-typeck.c (push_init_level): Move checks for flexible array | |
10134 | members and zero length arrays ... | |
10135 | (pop_init_level): ... here. Silently discard empty initializations. | |
10136 | Remove dead code. | |
10137 | * varasm.c (output_constructor): Update for sizeof change to | |
10138 | zero-length arrays. | |
10139 | ||
10140 | * extend.texi (Zero Length): Clarify semantics. | |
10141 | ||
04d430b8 AO |
10142 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> |
10143 | ||
10144 | * configure.in (tm.h): Include isns-codes.h last. | |
10145 | * configure: Rebuilt. | |
10146 | ||
e55a9a6e RH |
10147 | 2001-01-03 Richard Henderson <rth@redhat.com> |
10148 | ||
10149 | * config/alpha/alpha.md (addvsi3, addvdi3): New. | |
10150 | (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New. | |
825b6926 | 10151 | |
fa5db828 FS |
10152 | 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
10153 | ||
10154 | * tradcpp.c (main): Make sure finclude() is called with a valid | |
10155 | indepth value while handling -include. | |
10156 | ||
975d393a AO |
10157 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> |
10158 | ||
10159 | * gencodes.c (output_predicate_decls): New function. | |
10160 | (main): Call it. | |
10161 | * machmode.h (GET_MODE_MASK): Arrange for it to be defined | |
10162 | even if it is not the first time machmode.h is #included. | |
10163 | * config/sh/sh.c (fpul_operand): Declare MODE argument. | |
10164 | * tm.texi (PREDICATE_CODES): Document predicate declarations. | |
10165 | * gcc.texi (Copyright): Added 2001. | |
10166 | ||
03dc0325 JM |
10167 | 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk> |
10168 | ||
10169 | * c-common.c (c_common_lang_init): New function. Warn if format | |
10170 | warning options which only have effects when used with -Wformat | |
10171 | are used without -Wformat. | |
10172 | * c-common.h (c_common_lang_init): Declare. | |
10173 | * c-lang.c (lang_init): Call c_common_lang_init. | |
10174 | * objc/objc-act.c (lang_init): Call c_common_lang_init. | |
10175 | ||
955be633 JM |
10176 | 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk> |
10177 | ||
10178 | * configure.in: Check for the mktemp command. | |
10179 | * configure: Regenerate. | |
10180 | * gccbug.in: Use a separate temporary file $TEMP0 for one use of | |
10181 | $TEMP. Create temporary files with mktemp, if available at | |
10182 | configure time; otherwise use set -C. Remove temporary files | |
10183 | before exit. | |
10184 | ||
fd939e46 JM |
10185 | 2001-01-03 Joseph S. Myers <jsm28@cam.ac.uk> |
10186 | ||
10187 | * configure.in: Require at least texinfo 4.0. Check for whether | |
10188 | Pod::Man is sufficiently recent to regenerate GCC manpages. | |
10189 | * configure: Regenerate. | |
10190 | * Makefile.in (TEXI2POD): Call perl explicitly rather than relying | |
10191 | on #!. | |
10192 | (GENERATED_MANPAGES): Define. | |
10193 | (generated-manpages): New target. Depend on cpp.1 as well as | |
10194 | gcov.1. | |
10195 | (install-man): Depend on $(GENERATED_MANPAGES) (defined by | |
10196 | configure to generated-manpages or empty) rather than on the | |
10197 | manpages directly. Remove execute permission from installed | |
10198 | gcov.1 as well as cpp.1. | |
10199 | * cpp.1, gcov.1: Regenerate. | |
10200 | ||
819c1488 KG |
10201 | 2001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10202 | ||
10203 | * builtins.c (expand_builtin_strncmp): Use host_integerp and | |
10204 | tree_low_cst. Allow using cmpstrsi in more cases. | |
10205 | ||
f07d22aa RK |
10206 | Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10207 | ||
10208 | * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable | |
10209 | sized types. | |
10210 | ||
7ccb4206 AO |
10211 | Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com> |
10212 | ||
10213 | * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'. | |
10214 | * Makefile.in (HOST_CFLAGS): Mention build-make. | |
10215 | ||
a338321e RK |
10216 | Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10217 | ||
10218 | * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore | |
10219 | as JUMP_INSN. | |
10220 | ||
432fd734 BS |
10221 | 2001-01-01 Bernd Schmidt <bernds@redhat.com> |
10222 | ||
10223 | * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on | |
10224 | a REG rtx. | |
10225 | ||
2be28ee2 BS |
10226 | * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All |
10227 | callers changed. | |
10228 | ||
713f41f9 BS |
10229 | * alias.c (throughout): Use ORIGINAL_REGNO when accessing |
10230 | reg_base_value and reg_known_value arrays. | |
10231 | (init_alias_analysis): Add more cases to detect known values. | |
10232 | * sched-deps.c (deps_may_trap_p): New function. | |
10233 | (sched_analyze_2): Use it. | |
10234 | ||
8f8d8d6e AO |
10235 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> |
10236 | ||
10237 | * combine.c (simplify_shift_const): Even if we're sign-extracting, | |
10238 | don't discard an ASHIFTRT if we're shifting in a wider mode. | |
10239 | ||
232a132f JDA |
10240 | 2000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10241 | ||
10242 | * toplev.c (rest_of_compilation): Don't print basic block information | |
10243 | when CFG isn't up to date. | |
10244 | ||
19723541 ME |
10245 | 2001-01-02 Mark Elbrecht <snowball3@bigfoot.com> |
10246 | ||
10247 | * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define. | |
10248 | (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define. | |
10249 | (UNALIGNED_SHORT_ASM_OP): Define. | |
10250 | (CPP_PREDEFINES): Remove defines for GO32 and DJGPP. | |
10251 | ||
55560b9d MM |
10252 | 2001-01-02 Mark Mitchell <mark@codesourcery.com> |
10253 | ||
10254 | * fold-const.c (fold_convert): Fix typo. | |
10255 | ||
4f78b9a8 RH |
10256 | 2001-01-02 Richard Henderson <rth@redhat.com> |
10257 | ||
10258 | * c-common.h (ASM_INPUT_P): New. | |
10259 | * c-parse.in (asm): Set it when needed. | |
825b6926 | 10260 | * c-semantics.c (genrtl_asm_stmt): Test it instead of the |
4f78b9a8 RH |
10261 | existance of an operand. |
10262 | ||
e2134eea JH |
10263 | Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz> |
10264 | ||
10265 | * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY. | |
10266 | (dwarf2out_frame_debug_expr): Likewise. | |
10267 | (mem_loc_descriptor): Handle PRE and POST_MODIFY. | |
10268 | ||
2b589241 JH |
10269 | Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz> |
10270 | ||
10271 | * i386.c (ix86_split_to_parts): Return number of part required; | |
10272 | handle TFmodes. | |
10273 | (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle | |
10274 | TFmodes. | |
10275 | (ix86_split_long_move): Use number of part returned | |
10276 | by ix86_split_to_parts | |
10277 | * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE): | |
10278 | New macros. | |
10279 | (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double | |
10280 | (LONG_DOUBLE_TYPE_SIZE): Change from constant. | |
10281 | (MAX_LONG_DOUBLE_TYPE_SIZE): New macro. | |
10282 | (INTEL_EXTENDED_IEEE_FORMAT): Likewise. | |
10283 | (ALIGN_MODE_128): Add TFmode. | |
10284 | (IS_STACK_MODE): Likewise. | |
10285 | (HARD_REGNO_NREGS): TFmode needs 3 registers. | |
10286 | (HARD_REGNO_OK): Support TFmodes. | |
10287 | (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes. | |
10288 | * i386.md (scheduler definitions): Use memory operand to determine | |
10289 | fst/fld instructions; use mode attribute to determine real mode of | |
10290 | the instruction. | |
10291 | (*tf): New patterns, expanders and splitters; based on XFmode patterns. | |
10292 | * invoke.texi (128bit-long-double, 96bit-long-double): Document. | |
10293 | ||
330aa9a3 MM |
10294 | 2001-01-02 Mark Mitchell <mark@codesourcery.com> |
10295 | ||
10296 | * tree.def (TRUTH_NOT_EXPR): Improve documentation. | |
10297 | ||
e0339ef7 RK |
10298 | Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu. |
10299 | ||
10300 | * expr.c (store_constructor_field): Update ALIGN before calling | |
10301 | store_constructor. | |
10302 | ||
d07bec95 JO |
10303 | 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com> |
10304 | ||
10305 | * config/mips/mips.c (function_arg): Don't pass NULL_TREE to | |
10306 | host_integerp. | |
10307 | ||
3719d27b JO |
10308 | 2001-01-02 Jeffrey Oldham <oldham@codesourcery.com> |
10309 | ||
10310 | * tm.texi (FUNCTION_ARG): Document that @var{type} can be an | |
10311 | incomplete type. | |
10312 | ||
6d1c15cc RK |
10313 | Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu. |
10314 | ||
10315 | * c-decl.c (start_function): Don't warn on third parameter to main. | |
10316 | ||
16b97540 KG |
10317 | 2001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10318 | ||
10319 | * tsystem.h: Define HAVE_DECL_GETOPT. | |
10320 | ||
8515dc81 PB |
10321 | 2001-01-02 Philip Blundell <pb@futuretv.com> |
10322 | ||
825b6926 | 10323 | * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber |
8515dc81 PB |
10324 | of input operand. |
10325 | ||
6f85e02b RH |
10326 | 2001-01-02 Richard Henderson <rth@redhat.com> |
10327 | ||
10328 | * alpha.md (*ze_and_ne): Duplicate insn condition to split. | |
10329 | ||
21c7361e AJ |
10330 | 2001-01-02 Andreas Jaeger <aj@suse.de> |
10331 | ||
10332 | * c-decl.c (c_decode_option): Remove support of | |
10333 | -Wmissing-noreturn. | |
10334 | ||
10335 | * toplev.c (documented_lang_options): Remove -Wmissing-noreturn. | |
10336 | (W_options): Add -Wmissing-noreturn here. | |
10337 | ||
10338 | * flow.c: Define lang_missing_noreturn_ok_p. | |
10339 | (check_function_return_warnings): Use it. | |
10340 | ||
10341 | * c-common.h: Declare lang_missing_noreturn_ok_p. | |
10342 | ||
10343 | * c-lang.c (c_missing_noreturn_ok_p): New function. | |
10344 | (lang_init): Set lang_missing_noreturn_ok_p. | |
10345 | ||
10346 | * invoke.texi (Warning Options): Document this. | |
10347 | ||
5c25e11d PE |
10348 | 2000-12-27 Phil Edwards <pme@sources.redhat.com> |
10349 | ||
10350 | * extend.texi (C++ Extensions): New node for C++ attributes; | |
20f9202d | 10351 | describe init_priority and com_interface. |
5c25e11d PE |
10352 | * invoke.texi: Remove -finit-priority as it now has zero effect. |
10353 | * install.texi: Fix xref syntax. | |
10354 | * md.texi: Likewise. | |
10355 | ||
d1608933 RK |
10356 | Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10357 | ||
e428b937 RK |
10358 | * config.gcc (sparc64-wrs-vxworks*): New case. |
10359 | * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files. | |
10360 | ||
3276910d RK |
10361 | * config/sparc/sparc.c (sparc_override_options): Do support different |
10362 | pointer and architecture size. | |
10363 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4. | |
10364 | (POINTERS_EXTEND_UNSIGNED): Define. | |
10365 | (Pmode): Test TARGET_ARCH64, not TARGET_PTR64. | |
10366 | (FUNCTION_MODE): Define to be Pmode. | |
10367 | * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI. | |
10368 | ||
d1608933 RK |
10369 | * function.c (expand_function_end): Properly handle DECL_RESULT |
10370 | and copy when ptr_mode != Pmode. | |
10371 | * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed. | |
10372 | ||
c2e42aab KG |
10373 | 2001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10374 | ||
10375 | * c-common.c (c_common_nodes_and_builtins): Set prototype | |
10376 | parameters for __builtin_fputs, __builtin_fputc and | |
10377 | __builtin_fwrite. Don't declare plain fputc as a builtin. | |
10378 | ||
5b1ef594 JDA |
10379 | 2001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10380 | ||
825b6926 ZW |
10381 | * loop.c (add_label_notes): Increment the label usage count when |
10382 | a note is added to an insn which refers to a CODE_LABEL. | |
10383 | * gcse.c (add_label_notes): Likewise. | |
5b1ef594 | 10384 | |
021d7b26 AJ |
10385 | 2001-01-01 Andreas Jaeger <aj@suse.de> |
10386 | ||
10387 | * loop.c (scan_loop): Use xmalloc to allocate movables. | |
10388 | ||
cf011243 AO |
10389 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> |
10390 | ||
10391 | * tm.texi (REGISTER_MOVE_COST): Add a mode argument. | |
10392 | * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers. | |
10393 | * reload1.c (REGISTER_MOVE_COST): Likewise. | |
10394 | * regclass.c (REGISTER_MOVE_COST): Likewise. | |
10395 | (move_cost, may_move_in_cost, may_move_out_cost): Add mode | |
10396 | dimension. Adjust all users. | |
10397 | (init_reg_sets_1): Iterate on all modes. | |
10398 | * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust. | |
10399 | * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust. | |
10400 | * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust. | |
10401 | * config/arc/arc.h (REGISTER_MOVE_COST): Adjust. | |
10402 | * config/arm/arm.h (REGISTER_MOVE_COST): Adjust. | |
10403 | * config/avr/avr.h (REGISTER_MOVE_COST): Adjust. | |
10404 | * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust. | |
10405 | * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust. | |
10406 | * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust. | |
10407 | * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust. | |
10408 | * config/i386/i386.h (REGISTER_MOVE_COST): Adjust. | |
10409 | * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust. | |
10410 | * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust. | |
10411 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust. | |
10412 | * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust. | |
10413 | * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust. | |
10414 | * config/mips/mips.h (REGISTER_MOVE_COST): Adjust. | |
10415 | * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust. | |
10416 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust. | |
10417 | * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust. | |
10418 | * config/pa/pa.h (REGISTER_MOVE_COST): Adjust. | |
10419 | * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust. | |
10420 | * config/pj/pj.h (REGISTER_MOVE_COST): Adjust. | |
10421 | * config/romp/romp.h (REGISTER_MOVE_COST): Adjust. | |
10422 | * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust. | |
10423 | * config/sh/sh.h (REGISTER_MOVE_COST): Adjust. | |
10424 | * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust. | |
10425 | ||
e38fe8e0 BS |
10426 | 2001-01-01 Bernd Schmidt <bernds@redhat.com> |
10427 | ||
10428 | * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of | |
10429 | arg VARIES_P. Call it with extra arg. | |
10430 | (true_dependence): Likewise. | |
10431 | * rtl.h (rtx_addr_can_trap_p): Declare. | |
10432 | (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update | |
10433 | prototypes. | |
10434 | * rtlanal.c (rtx_addr_can_trap_p): No longer static. | |
10435 | (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow | |
10436 | pic offset table register if it's zero. All callers changed. | |
10437 | (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed. | |
10438 | ||
7a2bf7af RK |
10439 | Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10440 | ||
7d797311 RK |
10441 | * explow.c (convert_memory_address, case SYMBOL_REF): Copy |
10442 | STRING_POOL_ADDRESS_P. | |
10443 | ||
4746e0fe RK |
10444 | * config/sparc/sparc.c (input_operand): Properly test for short op. |
10445 | ||
fbd68e5d RK |
10446 | * config.gcc (sparc-*-elf): Include sparc/sol2.h. |
10447 | (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h. | |
10448 | (sparclite-*-elf*, sparc86x-*-elf*): Likewise. | |
10449 | * config/sparc/elf.h: No longer include sol2.h. | |
10450 | * config/sparc/lifeelf.h: No longer include sparc/elf.h. | |
10451 | * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise. | |
10452 | ||
7a2bf7af RK |
10453 | * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64. |
10454 | ||
14be28e5 MH |
10455 | 2001-01-01 Michael Hayes <mhayes@redhat.com> |
10456 | ||
86fee241 MH |
10457 | * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds. |
10458 | (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise. | |
10459 | (record_initial): Likewise. | |
10460 | * unroll.c (copy_loop_body, loop_iterations): Likewise. | |
10461 | (remap_split_bivs): Likewise. | |
10462 | ||
21c7361e | 10463 | 2001-01-01 Michael Hayes <mhayes@redhat.com> |
86fee241 | 10464 | |
b2735d9a MH |
10465 | * loop.c (loop_ivs_free): New function. |
10466 | (strength_reduce): Break out from... | |
10467 | ||
10468 | 2001-01-01 Michael Hayes <mhayes@redhat.com> | |
21c7361e | 10469 | |
14be28e5 MH |
10470 | * loop.h (struct iv): New. |
10471 | (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'. | |
10472 | (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info', | |
10473 | 'reg_biv_class' fields with 'regs' and 'n_regs'. | |
10474 | (struct ivs): Rename 'loop_iv_list' field to 'list'. | |
10475 | * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array. | |
10476 | * unroll.c (loop_iterations): Check array bounds with ivs->n_regs. | |
10477 | ||
1d2215fe AO |
10478 | 2000-12-31 Alexandre Oliva <aoliva@redhat.com> |
10479 | ||
10480 | * resource.c (mark_referenced_resources): Abort() before | |
10481 | attempting to mark a pseudo register. | |
10482 | (mark_set_resources): Likewise. | |
10483 | ||
8b634749 MH |
10484 | 2001-01-01 Michael Hayes <mhayes@redhat.com> |
10485 | ||
10486 | * loop.h (REG_IV_CLASS): New accessor macro. | |
10487 | * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array. | |
10488 | * unroll.c (REG_IV_CLASS): Likewise. | |
21c7361e | 10489 | |
38fd12ea | 10490 | See ChangeLog.4 for earlier changes. |