]>
Commit | Line | Data |
---|---|---|
7a31a340 DM |
1 | 2002-04-08 David S. Miller <davem@redhat.com> |
2 | ||
3 | PR target/6082 | |
4 | * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW | |
5 | ||
6 | Make init_priority work on Sparc when using GNU ld. | |
7 | * config/sparc/linux.h, config/sparc/linux64.h, | |
8 | config/sparc/netbsd-elf.h, config/sparc/freebsd.h | |
9 | (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. | |
10 | * config/sparc/sol2-gld.h: New file to do the same. | |
11 | * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add | |
12 | sparc/sol2-gld.h to tm_file. | |
13 | ||
14 | PR optimization/4328 | |
15 | * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. | |
16 | * doc/md.texi: Document it. | |
17 | * config/sparc/sparc.md (movdi_insn_sp64_novis, | |
18 | movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, | |
19 | movdf_insn_v9only_vis, movdf_insn_sp64_novis, | |
20 | movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. | |
21 | * config/sparc/sparc.c (mem_min_alignment): Fix comment. | |
22 | ||
11579f33 AJ |
23 | 2002-04-08 Andreas Jaeger <aj@suse.de> |
24 | ||
25 | * stmt.c (expand_asm_operands): Revert last patch from Richard | |
26 | Henderson. | |
27 | ||
b57215d9 GP |
28 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
29 | ||
30 | * doc/contrib.texi (Contributors): Add John David Anglin and Loren | |
31 | J. Rittle (the latter also to Testers). Update David O'Brien's entry. | |
32 | ||
33 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
34 | ||
35 | * doc/contrib.texi (Contributors): Add David O'Brien. | |
36 | ||
534d0cc0 AM |
37 | 2002-04-08 Alan Modra <amodra@bigpond.net.au> |
38 | ||
39 | * configure.in (auto-build.h): Use target_alias and build_alias | |
40 | when running configure. | |
41 | (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too. | |
42 | (gcc_cv_nm, gcc_cv_objdump): Set for build != host too. | |
43 | * configure: Regenerate. | |
44 | ||
19fe522a DM |
45 | 2002-04-07 David S. Miller <davem@redhat.com> |
46 | ||
47 | * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file. | |
48 | ||
bf2d0b8e JDA |
49 | 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
50 | ||
51 | PR 5933 | |
52 | * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when | |
53 | generating 32-bit pic code. | |
54 | ||
477cdac7 JT |
55 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
56 | ||
57 | * cppinit.c (cpp_create_reader): Initialize | |
58 | discard_comments_in_macro_exp. | |
59 | (COMMAND_LINE_OPTIONS): Add "-CC" option. | |
60 | (cpp_handle_option): Handle "-CC" option. | |
61 | * cpplex.c (save_comment): If saving a C++ comment in | |
62 | a directive, convert it to a C comment. | |
63 | (_cpp_lex_direct): Pass second comment start character to | |
64 | save_comment to indicate comment type. | |
65 | * cpplib.c (_cpp_handle_directive): If processing | |
66 | a "#define" directive and discard_comments_in_macro_exp | |
67 | is false, re-enable saving of comments. | |
68 | (lex_macro_node): If discard_comments_in_macro_exp is false, | |
69 | discard any comments before the macro identifier. | |
70 | * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp | |
71 | member. | |
72 | * cppmacro.c (cpp_get_token): If expanding a macro while | |
73 | processing a directive, discard any comments we might encounter. | |
74 | (parse_params): If discard_comments_in_macro_exp is false, | |
75 | ignore comments in the macro parameter list. | |
76 | * gcc.c (cpp_unique_options): Add "-CC" option. | |
77 | (option_map): Map "--comments-in-macros" to "-CC". | |
78 | * doc/cppopts.texi: Document "-CC" option. | |
79 | * f/lang-specs.h: Add "-CC" option. | |
80 | * testsuite/gcc.dg/cpp/maccom1.c: New test. | |
81 | * testsuite/gcc.dg/cpp/maccom2.c: New test. | |
82 | * testsuite/gcc.dg/cpp/maccom3.c: New test. | |
83 | * testsuite/gcc.dg/cpp/maccom4.c: New test. | |
84 | * testsuite/gcc.dg/cpp/maccom5.c: New test. | |
85 | * testsuite/gcc.dg/cpp/maccom6.c: New test. | |
86 | ||
f1526122 JDA |
87 | 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
88 | ||
89 | PR middle-end/6180 | |
90 | * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes. | |
91 | ||
b1896e61 MM |
92 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> |
93 | ||
0154eaa8 MM |
94 | PR c++/5571 |
95 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
96 | ||
b1896e61 MM |
97 | PR opt/5120 |
98 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear | |
99 | RTX_UNCHANGING_P for the functions arguments when a tail call | |
100 | is made. | |
101 | ||
b0148884 JM |
102 | 2002-04-06 Jason Merrill <jason@redhat.com> |
103 | ||
104 | * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2. | |
105 | (parse_options_and_default_flags): Set them appropriately. | |
106 | * c-common.c (c_common_post_options): Don't set flag_really_no_inline. | |
107 | ||
392fc5b0 HPN |
108 | 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com> |
109 | ||
110 | * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc | |
111 | here. | |
112 | ||
113 | * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious | |
114 | semicolon. | |
115 | ||
116 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size | |
117 | types come in by-reference. Fix typo in comment. | |
118 | ||
2d69e3cb DM |
119 | 2002-04-05 David S. Miller <davem@redhat.com> |
120 | ||
121 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits. | |
122 | * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos, | |
123 | sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*, | |
124 | {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file. | |
125 | ||
126 | 2002-04-05 David S. Miller <davem@redhat.com> | |
127 | ||
128 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we | |
129 | are not going to emit return instructions, emit at least a nop | |
130 | for the sake of sane backtraces. | |
131 | ||
5f9fb0e3 RH |
132 | 2002-04-05 Richard Henderson <rth@redhat.com> |
133 | ||
134 | * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)). | |
135 | ||
49f37a0d JJ |
136 | 2002-04-05 Jakub Jeilnek <jakub@redhat.com> |
137 | ||
138 | * mklibgcc.in: Use $tmpmapfile, not tmp-$@. | |
139 | ||
974a3101 AO |
140 | 2002-04-05 Alexandre Oliva <aoliva@redhat.com> |
141 | ||
142 | * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, | |
143 | ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, | |
144 | ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16. | |
145 | ||
2e04a694 AS |
146 | 2002-04-05 Andreas Schwab <schwab@suse.de> |
147 | ||
a40179bd | 148 | * c-convert.c: Include c-common.h. |
2e04a694 AS |
149 | * Makefile.in (c-convert.o): Updated. |
150 | ||
1f785b7c JJ |
151 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
152 | ||
153 | * mklibgcc.in: Use separate libgcc.map for each multilib. | |
154 | * Makefile.in (distclean): Don't remove libgcc.map here. | |
155 | ||
4d2fb38b JJ |
156 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
157 | ||
158 | * Makefile.in (s-mlib): Handle --disable-multilib by separate | |
159 | genmultilib invocation. | |
160 | ||
bb63e5a0 RS |
161 | 2002-04-04 Richard Sandiford <rsandifo@redhat.com> |
162 | ||
163 | * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs | |
164 | to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs | |
165 | to num_gprs for symmetry. | |
166 | * config/mips/mips.c: Adjust accordingly. | |
167 | ||
8ab80eaa NB |
168 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
169 | ||
170 | * c-common.c (truthvalue_conversion): Rename, update. | |
171 | * c-common.h (c_common_truthvalue_conversion): New. | |
172 | * c-convert.c (convert): Update. | |
173 | * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
174 | * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update. | |
175 | * c-typeck.c (build_binary_op, build_unary_op, | |
176 | build_conditional_expr): Update. | |
177 | * fold-const.c (constant_boolean_node, fold): Use langhook. | |
178 | * langhooks-def.h (LANGHOOK_INITIALIZER): Update. | |
179 | * langhooks.h (struct lang_hooks): New hook. | |
180 | * stmt.c (expand_decl_cleanup): Use langhook. | |
181 | * tree.h (truthvalue_conversion): Remove. | |
182 | objc: | |
183 | * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
184 | ||
a2e9374a AM |
185 | 2002-04-05 Alan Modra <amodra@bigpond.net.au> |
186 | ||
187 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o | |
188 | Add rules to make null object file. | |
189 | ||
64d08263 JB |
190 | 2002-04-04 Jim Blandy <jimb@redhat.com> |
191 | ||
192 | * cppmacro.c (cpp_macro_definition): Do not emit spaces after | |
193 | macro formal parameter names. | |
194 | ||
aa7634dd DM |
195 | 2002-04-04 David S. Miller <davem@redhat.com> |
196 | ||
197 | * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg. | |
198 | ||
ecc114f7 RH |
199 | 2002-04-04 Richard Henderson <rth@redhat.com> |
200 | ||
201 | PR middle-end/5099 | |
202 | * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok. | |
203 | Support copies into and out of memory. Don't accept allows_reg | |
204 | and allows_mem as gospel. | |
205 | ||
c4484b8f RH |
206 | 2002-04-04 Richard Henderson <rth@redhat.com> |
207 | ||
208 | PR opt/6165 | |
209 | * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict. | |
210 | (write_dependence_p): Likewise. | |
211 | ||
39002160 RH |
212 | 2002-04-04 Richard Henderson <rth@redhat.com> |
213 | ||
214 | * predict.c (estimate_bb_frequencies): Do frequency calculation | |
215 | with a volatile temporary. | |
216 | ||
f53ebe71 UW |
217 | 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com> |
218 | ||
219 | * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define. | |
220 | ||
15e0ecab JJ |
221 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
222 | ||
223 | PR c++/6119 | |
224 | * final.c (final_start_function): Don't bump profile_label_no here... | |
225 | (final_end_function): ...but here. | |
226 | ||
ffd386b0 JJ |
227 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
228 | ||
229 | * config/sparc/sparc.md (pic): New attribute. | |
230 | (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9 | |
231 | into stack slots. | |
232 | (split after do_builtin_setjmp_setup): New. | |
233 | ||
8b156b3e JJ |
234 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
235 | ||
236 | PR fortran/6106 | |
237 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01 | |
238 | change. | |
239 | ||
014c0998 JJ |
240 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
241 | ||
242 | * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by | |
243 | UNITS_PER_WORD for zero sized aggregates. | |
244 | ||
4d8611d9 DM |
245 | 2002-04-03 David S. Miller <davem@redhat.com> |
246 | ||
247 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new | |
248 | one-character spec for this, just use %(link_gcc_c_sequence). | |
249 | ||
b03ad99d DM |
250 | 2002-04-03 David S. Miller <davem@redhat.com> |
251 | ||
252 | * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian | |
253 | handling. | |
254 | ||
823fbbce JDA |
255 | 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
256 | ||
257 | * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move. | |
258 | (DWARF_FRAME_RETURN_COLUMN): Move. | |
259 | (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
260 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define. | |
261 | * pa.c (except.h, predict.h): Include. | |
262 | (FRP): Delete. | |
263 | (store_reg_modify, set_reg_plus_d): Revise prototypes. | |
264 | (output_ascii): Add cast. | |
265 | (store_reg_modify): Revise to add frame notes. | |
266 | (set_reg_plus_d): Likewise. | |
267 | (compute_frame_size): Include space for eh data registers in frame if | |
268 | the current function calls eh_return. | |
269 | (hppa_expand_prologue): Ensure register %r2 is saved if the current | |
270 | function calls eh_return. Save eh data registers if the current | |
271 | function calls eh_return. Fix code to add frame notes. Emit | |
272 | blockage to prevent insns with frame notes being scheduled in the | |
273 | delay slot of calls. | |
274 | (hppa_expand_epilogue): Restore eh data registers and do final stack | |
275 | adjustment if the current function calls eh_return. Don't add frame | |
276 | notes. | |
277 | (output_call): Revise for change in length of call insn. Don't do | |
278 | return pointer adjustment for an unconditional jump in the delay slot | |
279 | of a call when using frame notes. | |
280 | * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility. | |
281 | (EH_RETURN_HANDLER_RTX): Use saved value on stack. | |
282 | (ARG_POINTER_CFA_OFFSET): Define. | |
283 | * pa.md (return_external_pic): New pattern. | |
284 | (prologue): Correct formatting. Use return_external_pic if current | |
285 | function calls eh_return. | |
286 | (call_internal_symref, call_value_internal_symref, | |
287 | sibcall_internal_symref, sibcall_value_internal_symref): Change default | |
288 | lengths of short, long non-pic, and long pic calls to 8, 68, and 84, | |
289 | respectively. | |
290 | (exception_receiver): Use hppa_pic_save_rtx () to restore pic register. | |
291 | ||
292 | * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to | |
293 | list of targets to check using "nop" insn. | |
294 | * configure: Rebuilt. | |
295 | ||
4078e224 AM |
296 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
297 | ||
298 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define. | |
299 | ||
bbd7687d DM |
300 | 2002-04-03 David S. Miller <davem@redhat.com> |
301 | ||
302 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c | |
303 | library sequence passed to the linker. | |
304 | (LINK_COMMAND_SPEC): Use it. | |
305 | * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as | |
306 | a macro a target can use to avoid overriding LINK_COMMAND_SPEC. | |
307 | * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
308 | ||
659e5a7a JM |
309 | 2002-04-03 Jason Merrill <jason@redhat.com> |
310 | ||
311 | * except.c (struct eh_status): Remove protect_list. | |
312 | (begin_protect_partials, end_protect_partials): Remove. | |
313 | (add_partial_entry): Remove. | |
314 | * except.h: Remove prototypes. | |
315 | ||
316 | * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use | |
317 | expand_decl_cleanup_eh. | |
318 | ||
319 | PR c++/5636 | |
320 | * tree.h (CLEANUP_EH_ONLY): New macro. | |
321 | * stmt.c (expand_decl_cleanup_eh): New fn. | |
322 | (expand_cleanups): Check CLEANUP_EH_ONLY. | |
323 | * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT. | |
324 | Use expand_decl_cleanup_eh. | |
325 | (expand_stmt): Adjust. | |
326 | * c-common.h: Adjust prototype. | |
327 | ||
053d3344 HPN |
328 | 2002-04-04 Hans-Peter Nilsson <hp@axis.com> |
329 | ||
330 | * config/cris/cris.c (cris_target_asm_function_prologue): Cast | |
331 | uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings. | |
332 | (cris_target_asm_function_epilogue): Ditto. | |
333 | (cris_initial_frame_pointer_offset): Ditto. | |
334 | (cris_simple_epilogue): Ditto. | |
335 | (cris_expand_builtin_va_arg): Variable-size types come in | |
336 | by-reference. | |
337 | ||
61ab5260 DM |
338 | 2002-04-03 David S. Miller <davem@redhat.com> |
339 | ||
340 | * config/sparc/crtfastmath.c (FPRS_NS): Get it right for | |
341 | little-endian. | |
342 | (set_fast_math): Correct 'fsr' type. | |
343 | ||
ef4f94ac RH |
344 | 2002-04-03 Richard Henderson <rth@redhat.com> |
345 | ||
36c2272c | 346 | PR opt/3569 |
ef4f94ac RH |
347 | * langhooks.h (lang_hooks.decls.warn_unused_global): New. |
348 | * toplev.c (check_global_declarations): Use it. | |
349 | * langhooks-def.h (lhd_warn_unused_global_decl): Declare. | |
350 | (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
351 | (LANG_HOOKS_DECLS): Add it. | |
352 | * langhooks.c (lhd_warn_unused_global_decl): New. | |
353 | * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
354 | * c-objc-common.c (c_warn_unused_global_decl): New. | |
355 | * c-tree.h (c_warn_unused_global_decl): Declare. | |
356 | * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
357 | ||
599bba86 NB |
358 | 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk> |
359 | ||
360 | * langhooks-def.h (lhd_set_decl_assembler_name, | |
361 | LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New. | |
362 | (LANG_HOOKS_INITIALIZER): Update. | |
363 | * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c | |
364 | * langhooks.h (struct lang_hooks): New hook. | |
365 | * tree.c (set_decl_assembler_name): Move to langhooks.c. | |
366 | (lang_set_decl_assembler_name): Remove. | |
367 | (init_obstacks): Don't set hook. | |
368 | (decl_assembler_name): New function. | |
369 | * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call. | |
370 | (decl_assembler_name): New. | |
371 | (lang_set_decl_assembler_name): Remove. | |
372 | ||
cf7b8b0d JJ |
373 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
374 | ||
375 | * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() | |
376 | works properly with .hidden symbols. | |
377 | * configure: Rebuilt. | |
378 | * config.in: Rebuilt. | |
379 | * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
380 | DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work | |
381 | properly with .hidden symbols. | |
382 | ||
faf6db38 JJ |
383 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
384 | ||
385 | PR middle-end/6102 | |
386 | * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access | |
387 | USE argument. | |
388 | ||
68c17f30 RH |
389 | 2002-04-03 Richard Henderson <rth@redhat.com> |
390 | ||
391 | PR opt/4120 | |
392 | * sched-rgn.c (sets_likely_spilled): New. | |
393 | (sets_likely_spilled_1): New. | |
394 | (add_branch_dependences): Use it. | |
395 | ||
6584b4aa RH |
396 | 2002-04-02 Richard Henderson <rth@redhat.com> |
397 | ||
398 | PR opt/4311 | |
399 | * loop.h (LOOP_FIRST_PASS): New. | |
400 | * loop.c (strength_reduce): Mind it when deciding to unroll. | |
401 | * toplev.c (rest_of_compilation): Set it. | |
402 | ||
0acf409f DM |
403 | 2002-04-02 David S. Miller <davem@redhat.com> |
404 | ||
405 | * config/sparc/sparc.md (ldd peephole2s): Fix final arg to | |
406 | mems_ok_for_ldd_peep when the order of the loads being examined | |
407 | is reversed. | |
408 | * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon | |
409 | existing comment to increase comprehension of this situation. | |
410 | ||
85654444 ZW |
411 | 2002-04-02 Zack Weinberg <zack@codesourcery.com> |
412 | ||
413 | * config/sh/sh.md: Don't use union real_extract. | |
414 | ||
543828ca RH |
415 | 2002-04-02 Richard Henderson <rth@redhat.com> |
416 | ||
417 | * libgcc2.c (__bb_exit_func): Revert 03-31 change. | |
418 | ||
39ed301b DB |
419 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
420 | ||
421 | * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems, | |
422 | i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-, | |
423 | i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1, | |
424 | i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos, | |
425 | i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd, | |
426 | i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf, | |
427 | i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix, | |
428 | i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout, | |
429 | i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32, | |
430 | i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd, | |
431 | i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems, | |
432 | i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv, | |
433 | i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta, | |
434 | i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd): | |
435 | Include as many configury headers via tm_file as possible. This | |
436 | includes among others i386/unix.h, i386/bsd.h, i386/gas.h. | |
437 | * config/openbsd-oldgas.h: New file. | |
438 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h, | |
439 | config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h, | |
440 | config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h, | |
441 | config/i386/i386-coff.h, config/i386/i386-interix.h, | |
442 | config/i386/iscdbx.h, config/i386/linux-aout.h, | |
443 | config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h, | |
444 | config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h, | |
445 | config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h, | |
446 | config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h, | |
447 | config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h, | |
448 | config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h, | |
449 | config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h, | |
450 | config/i386/vxi386.h: Do not directly include configury headers. | |
451 | * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h: | |
452 | Directly include configury headers that are no longer automatically | |
453 | included by the above headers. | |
454 | * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define. | |
455 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h, | |
456 | config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h, | |
457 | config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h, | |
458 | config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h, | |
459 | config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h, | |
460 | config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h | |
461 | (TARGET_VERSION): Define. | |
462 | * config/i386/beos-elf.h, config/i386/freebsd.h, | |
463 | config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, | |
464 | config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h, | |
465 | config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h, | |
466 | config/i386/sco5.h, config/i386/sysv4.h | |
467 | (TARGET_VERSION): Do not need to protect. | |
468 | * config/i386/freebsd64.h (TARGET_VERSION): Fix style. | |
469 | * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h, | |
470 | config/i386/freebsd-aout.h, config/i386/i386-aout.h, | |
471 | config/i386/i386-interix.h, config/i386/linux-aout.h, | |
472 | config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h, | |
473 | config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h | |
474 | (YES_UNDERSCORES): Do not define - not needed. | |
475 | * config/i386/bsd.h, config/i386/gas.h (LPREFIX, | |
476 | ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
477 | USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case. | |
478 | * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h | |
479 | (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
480 | USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case) | |
481 | * config/i386/isc.h: Preserve comment from config/i386/isccoff.h. | |
482 | * config/i386/isccoff.h, config/i386/v3gas.h: Remove. | |
483 | ||
9432c136 EB |
484 | 2002-04-02 Eric Botcazou <ebotcazou@multimania.com> |
485 | Richard Henderson <rth@redhat.com> | |
486 | ||
487 | PR c/5484 | |
488 | * function.c (assign_temp): Accept either type or decl argument. | |
489 | Detect variables whose size is too large to fit into an integer. | |
490 | * stmt.c (expand_decl): Pass the decl, not the type. | |
491 | ||
058b1275 DB |
492 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
493 | ||
494 | * protoize.c: Match include directory usage with cppdefault.c. | |
495 | ||
5add6d1a JL |
496 | 2002-04-03 Jeffrey A Law (law@redhat.com) |
497 | Hans-Peter Nilsson <hp@bitrange.com> | |
498 | ||
499 | * combine.c (simplify_comparison): Avoid narrowing a comparison | |
500 | with a paradoxical subreg when doing so would drop signficant bits. | |
501 | ||
1e533e4b SE |
502 | 2002-04-02 Steve Ellcey <sje@cup.hp.com> |
503 | ||
504 | * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode | |
505 | if POINTERS_EXTEND_UNSIGNED is defined. | |
506 | ||
7a145e92 RH |
507 | 2002-04-02 Richard Henderson <rth@redhat.com> |
508 | ||
509 | PR opt/3967 | |
510 | * local-alloc.c (contains_replace_regs): LO_SUM may contain | |
511 | replace regs. | |
512 | ||
3a079822 RH |
513 | 2002-04-02 Richard Henderson <rth@redhat.com> |
514 | ||
515 | * doc/standards.texi: Document required freestanding libc entry points. | |
516 | ||
c94ccb87 AM |
517 | 2002-04-02 Alan Modra <amodra@bigpond.net.au> |
518 | ||
519 | * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and | |
520 | associated splitter. Remove MQ constraint. | |
521 | (ctrdi_internal4): Correct CCmode clobber. | |
522 | ||
fe660a1a JDA |
523 | 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
524 | ||
525 | * milli64.S ($$dyncall): New function. | |
526 | * t-linux (LIB1ASMFUNCS): Revise module list. | |
527 | (LIB1ASMSRC): Use pa/milli64.S. | |
528 | ||
eadc0202 RH |
529 | 2002-04-02 Richard Henderson <rth@redhat.com> |
530 | ||
531 | * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and | |
532 | rename solaris_sys_varargs_h. | |
533 | ||
a1471322 RK |
534 | Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
535 | ||
536 | * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array | |
537 | the same mode as its component. | |
538 | ||
c8b94768 RH |
539 | 2002-04-02 Richard Henderson <rth@redhat.com> |
540 | ||
541 | PR opt/190 | |
542 | * final.c (this_is_asm_operands): Export. | |
543 | * output.h (this_is_asm_operands): Declare. | |
544 | * config/i386/i386.c (print_operand): Error odd asm operands. | |
545 | ||
161eb4fc RH |
546 | 2002-04-02 Richard Henderson <rth@redhat.com> |
547 | ||
548 | PR opt/420 | |
549 | * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra. | |
550 | ||
b88a94c6 RH |
551 | 2002-04-01 Richard Henderson <rth@redhat.com> |
552 | ||
553 | PR target/1538 | |
554 | * fixinc/inclhack.def (solaris_sys_varargs_h): New. | |
555 | * fixinc/fixincl.x: Rebuild. | |
556 | ||
72e32876 RH |
557 | 2002-04-01 Richard Henderson <rth@redhat.com> |
558 | ||
559 | * config/ia64/unwind-ia64.c: Include ia64intrin.h. | |
560 | (atomic_alloc, atomic_free): New. | |
561 | (SIZE, MASK_FOR, PTR_IN): New. | |
562 | (emergency_reg_state, emergency_reg_state_free): New. | |
563 | (emergency_labeled_state, emergency_labeled_state_free): New. | |
564 | (reg_state_alloced, labeled_state_alloced): New. | |
565 | (alloc_reg_state, free_reg_state): New. | |
566 | (alloc_label_state, free_label_state, free_label_states): New. | |
567 | (push, pop, dup_state_stack, free_state_stack): Use them. | |
568 | (desc_label_state): Likewise. | |
569 | (uw_frame_state_for): Free label states and state stack. | |
570 | (uw_update_reg_address): Eliminate warnings. | |
571 | ||
84d76074 VM |
572 | 2002-04-01 Vladimir Makarov <vmakarov@redhat.com> |
573 | ||
574 | * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, | |
575 | ASM_OUTPUT_ALIGNED_LOCAL): Redefine them. | |
576 | ||
dffd7eb6 NB |
577 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
578 | ||
579 | * c-decl.c (grokdeclarator): Update. | |
580 | * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
581 | * c-tree.h (c_mark_addressable): New. | |
582 | * c-typeck.c (default_function_array_conversion, build_unary_op, | |
583 | build_array_ref, convert_for_assignment): Update. | |
584 | (mark_addressable): Rename. | |
585 | * calls.c (try_to_integrate, expand_call): Use langhook. | |
586 | * expr.c (expand_expr): Use langhook. | |
587 | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update. | |
588 | * langhooks.h (struct lang_hooks): New hook. | |
589 | * stmt.c (expand_asm_operands): Use langhook. | |
590 | * tree.h (mark_addressable): Remove. | |
591 | objc: | |
592 | * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
593 | ||
544ef5b5 BW |
594 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
595 | ||
596 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning | |
597 | in previous change. | |
598 | ||
bcf88f9b BW |
599 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
600 | ||
601 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments | |
602 | for which MUST_PASS_IN_STACK is true (e.g., variable-sized types). | |
603 | ||
ceef8ce4 NB |
604 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
605 | ||
606 | * c-common.c (unsigned_conversion_warning, convert_and_check, | |
607 | unsigned_type, signed_type, shorten_compare, | |
608 | c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks. | |
609 | (unsigned_type, signed_type, signed_or_unsigned_type): Rename. | |
610 | * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
611 | New. | |
612 | * c-decl.c (grokdeclarator): Update. | |
613 | * c-format.c (check_format_types): Update. | |
614 | * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
615 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
616 | * c-typeck.c (build_binary_op, convert_for_assignment): Update. | |
617 | * convert.c (convert_to_integer): Use new hooks. | |
618 | * expmed.c (make_tree): Use new hooks. | |
619 | * expr.c (store_expr): Use new hooks. | |
620 | * fold-const.c (operand_equal_for_comparison_p, build_range_check, | |
621 | all_ones_mask_p, unextend, fold): Use new hooks. | |
622 | * langhooks.h (struct lang_hooks_for_types): New hooks. | |
623 | * tree.h (signed_or_unsigned_type, signed_type, | |
624 | unsigned_type): Remove. | |
625 | objc: | |
626 | * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
627 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
628 | ||
1d9ad0e0 RH |
629 | 2002-03-31 Richard Henderson <rth@redhat.com> |
630 | ||
631 | * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset. | |
632 | (desc_frgr_mem): Fix reference to f16-f31. | |
633 | ||
d544bc39 KG |
634 | 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
635 | ||
636 | * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2, | |
637 | RTVEC_ELT): Const-ify. | |
d8750784 KG |
638 | * varray.h (VARRAY_CHECK): Const-ify. |
639 | * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree, | |
640 | ggc_mark_rtvec, ggc_mark): Const-ify. | |
d544bc39 | 641 | |
b18101c7 NB |
642 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
643 | ||
644 | * diagnostic.c: Include langhooks-def.h. | |
645 | * Makefile.in (diagnostic.o): Update. | |
646 | ||
48a7a235 NB |
647 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
648 | ||
649 | * c-common.c (c_unsafe_for_reeval): Rename. | |
650 | * c-common.h (c_unsafe_for_reeval): Rename. | |
651 | * c-decl.c (finish_incomplete_decl): Rename. | |
652 | (c_init_decl_processing): Don't set langhook. | |
653 | * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
654 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
655 | * c-objc-common.c (c_objc_common_init): Don't set langhook. | |
656 | * c-tree.h (finish_incomplete_decl): Rename. | |
657 | * langhooks-def.h (lhd_unsafe_for_reeval): New. | |
658 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New. | |
659 | (LANG_HOOKS_INITIALIZER): Update. | |
660 | * langhooks.c (lhd_unsafe_For_reeval): New. | |
661 | * langhooks.h (struct langhooks): New hooks. | |
662 | * toplev.c (incomplete_decl_finalize_hook): Remove. | |
663 | (wrapup_global_declarations): Update. | |
664 | * tree.c (lang_unsafe_for_reeval): Remove. | |
665 | (unsafe_for_reeval): Update. | |
666 | * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook): | |
667 | Remove. | |
668 | objc: | |
669 | * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
670 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
671 | ||
7cb32822 NB |
672 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
673 | ||
674 | * diagnostic.c (print_error_function): Remove. | |
675 | (default_print_error_function): Rename. | |
676 | (report_error_function): Update. | |
677 | * diagnostic.h (print_error_function): Remove. | |
678 | (default_print_error_function): Remove. | |
679 | * langhooks-def.h (struct diagnostic_context): Predeclare. | |
680 | (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New. | |
681 | (LANG_HOOKS_INITIALIZER): Update. | |
682 | * langhooks.h (struct diagnostic context): Predeclare. | |
683 | (struct lang_hooks): New hook. | |
684 | ||
1db02437 FS |
685 | 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
686 | ||
687 | * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New. | |
688 | (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if | |
689 | !flag_pic. | |
690 | (CONDITIONAL_REGISTER_USAGE): Adjust accordingly. | |
691 | * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead | |
692 | of PIC_OFFSET_TABLE_REGNUM thruout. | |
693 | * config/rs6000/rs6000.md: Likewise. | |
694 | * config/rs6000/darwin.h: Likewise. | |
695 | ||
3bf1e984 RK |
696 | Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
697 | ||
698 | * emit-rtl.c (adjust_address_1, offset_address): Cast value to | |
699 | unsigned HOST_WIDE_INT, not unsigned int. | |
700 | ||
0864c526 JJ |
701 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
702 | ||
703 | PR middle-end/6096, middle-end/6098, middle-end/6099 | |
704 | * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for | |
705 | CODE_LABELs. | |
706 | (fill_slots_from_thread): Likewise. | |
707 | ||
105b2084 JJ |
708 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
709 | ||
710 | * config/sparc/sparc.c (function_arg_record_value_1): Pass complex | |
711 | floating fields in float regs. | |
712 | (function_arg_record_value_2): Likewise. | |
713 | ||
db08fddf HPN |
714 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
715 | ||
716 | * config/mmix/mmix.md (define_constants): Remove misleading | |
717 | FIXME. Add MMIX_fp_rO_OFFSET. | |
718 | ("nonlocal_goto_receiver"): Don't have stack-frame address of | |
719 | saved rO as part of the pattern. Remove FIXME. | |
720 | ("*nonlocal_goto_receiver_expanded"): Similar. Generate address | |
721 | here, at output-time. | |
722 | ||
4f31cce8 JJ |
723 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
724 | ||
725 | PR middle-end/6100 | |
726 | * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not | |
727 | REG_BR_PRED. | |
728 | (output_v9branch): Likewise. | |
729 | ||
ba2b7435 AO |
730 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
731 | ||
732 | * gcc.c: Revert previous patch for now. | |
733 | * config/i386/djgpp.h: Likewise. | |
734 | ||
aa66aa5f | 735 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
8f840f57 HPN |
736 | |
737 | * config/mmix/crti.asm (_init): Register _fini with atexit. | |
738 | * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0". | |
739 | ||
41ba8a20 RH |
740 | 2002-03-31 Richard Henderson <rth@redhat.com> |
741 | ||
742 | PR target/3997 | |
743 | * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy. | |
744 | (ASM_OUTPUT_DEF_FROM_DECLS): New. | |
745 | ||
adc186ef RH |
746 | 2002-03-31 Richard Henderson <rth@redhat.com> |
747 | ||
748 | * libgcc2.c (__bb_exit_func): Make static. | |
749 | ||
a7648399 RH |
750 | * config/alpha/alpha.md (trap): New. |
751 | ||
9602f5a0 RH |
752 | 2002-03-31 Richard Henderson <rth@redhat.com> |
753 | ||
754 | * builtins.c (expand_builtin_va_arg): Give warnings not errors for | |
755 | promoted argument types; build trap. | |
756 | (expand_builtin_trap): New. | |
757 | (expand_builtin): Use it. | |
758 | * stmt.c (expand_nl_goto_receivers): Likewise. | |
759 | * expr.h (expand_builtin_trap): Declare. | |
760 | * libfuncs.h (LTI_abort, abort_libfunc): New. | |
761 | * optabs.c (init_optabs): Init abort_libfunc. | |
762 | ||
1a0a7539 AO |
763 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
764 | ||
765 | * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here... | |
766 | (LINK_COMMAND_SPEC): ... from here. | |
767 | (init_gcc_specs): Duplicate it here too, omitting | |
768 | shared_name in the second copy. | |
769 | (init_spec): Test for duplicate | |
770 | * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'. | |
771 | ||
b5de1a27 DM |
772 | 2002-03-30 David S. Miller <davem@redhat.com> |
773 | ||
774 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
775 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise. | |
776 | ||
78414d74 RS |
777 | 2002-03-30 Roger Sayle <roger@eyesopen.com> |
778 | Richard Henderson <rth@redhat.com> | |
779 | ||
780 | * regmove.c (combine_stack_adjustments_for_block): Avoid | |
781 | emitting a stack adjustment of zero bytes. Let delete_insn | |
782 | update bb->head. | |
783 | ||
33074e5f RH |
784 | 2002-03-30 Richard Henderson <rth@redhat.com> |
785 | ||
786 | * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE. | |
787 | (sparc_emitting_epilogue): New. | |
788 | (leaf_label, output_return, sparc_return_peephole_ok): Remove. | |
789 | * config/sparc/sparc-protos.h: Update. | |
790 | * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove. | |
791 | (TARGET_SWITCHES): Update. | |
792 | * config/sparc/sparc.md (return): Remove. | |
793 | (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE. | |
794 | * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h, | |
795 | config/sparc/liteelf.h, config/sparc/netbsd-elf.h, | |
796 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
797 | config/sparc/sp64-aout.h, config/sparc/sp64-elf.h, | |
798 | config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h, | |
799 | config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT): | |
800 | Remove MASK_EPILOGUE. | |
801 | * doc/invoke.texi: Update. | |
802 | ||
606cc056 DB |
803 | 2002-03-30 Daniel Berlin <dan@dberlin.org> |
804 | ||
805 | * dwarf2out.c (dwarf2out_define): Remove start_source_file call, | |
806 | CPP will start the file for us. | |
807 | ||
bdbe5b8d RH |
808 | 2002-03-30 Richard Henderson <rth@redhat.com> |
809 | ||
810 | PR target/5446 | |
811 | * config/ia64/ia64.c (group_barrier_needed_p): Special case | |
812 | prologue_allocate_stack. | |
813 | (ia64_single_set): Use insn codes for recognition of special | |
814 | cases, not rtl matching. | |
815 | * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out. | |
816 | ||
4ab95d82 JH |
817 | Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz> |
818 | ||
819 | * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks. | |
820 | ||
89a8b315 RH |
821 | 2002-03-30 Richard Henderson <rth@redhat.com> |
822 | ||
823 | PR target/6032 | |
824 | * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic | |
825 | or -fomit-frame-pointer with profiling. | |
826 | (SUBTARGET_OVERRIDE_OPTIONS): Remove. | |
827 | (FUNCTION_PROFILER): Do nothing. | |
828 | (PROFILE_HOOK): New. | |
829 | * config/sparc/sparc.c (sparc_override_options): Don't check | |
830 | code models for profiling. | |
831 | (sparc_function_profiler): Remove. | |
832 | (sparc_profile_hook): New. | |
833 | * config/sparc/sparc-protos.h: Update. | |
834 | ||
30984c57 JJ |
835 | 2002-03-30 Jakub Jelinek <jakub@redhat.com> |
836 | ||
837 | PR optimization/6086 | |
838 | * combine.c (combine_simplify_rtx): If simplify_rtx failed because | |
839 | of SUBREG of volatile MEM or because the MEM was mode dependent, | |
840 | return CLOBBER instead of unmodified SUBREG. | |
841 | ||
1540f9eb JH |
842 | Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> |
843 | ||
89a8b315 RH |
844 | * local-alloc.c (local_alloc): Avoid call of update_equiv_regs |
845 | when not optimizing. | |
1540f9eb JH |
846 | |
847 | * toplev.c (rest_of_compilation): Cann mark_constant_function | |
848 | only when optimizing. | |
849 | ||
89a8b315 RH |
850 | * flow.c (calculate_global_regs_live): Ensure that all AUX fields |
851 | are NULL. | |
1540f9eb JH |
852 | |
853 | * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK. | |
854 | (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it. | |
855 | (try_optimize_cfg): clear all AUX fields. | |
856 | ||
857 | * i386.c (aligned_operand): Be prepared for SUBREGed registers. | |
858 | (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. | |
859 | (ix86_address_cost): Be prepared for SUBREGed registers. | |
860 | (legitimate_address_p): Accept SUBREGed registers. | |
861 | ||
70d95bac RH |
862 | 2002-03-29 Richard Henderson <rth@redhat.com> |
863 | ||
864 | PR target/5672 | |
865 | * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place. | |
866 | ||
d3294cd9 FS |
867 | 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
868 | ||
869 | * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count | |
870 | for aggregate and TFmode types. | |
871 | ||
a106c875 HPN |
872 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
873 | ||
874 | * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i]. | |
875 | ||
7d7a5d6f RH |
876 | 2002-03-29 Richard Henderson <rth@redhat.com> |
877 | ||
6e2d670b | 878 | PR target/5886 |
7d7a5d6f RH |
879 | * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. |
880 | * config/ia64/hpux.h, config/ia64/linux.h: Likewise. | |
881 | ||
30c99a84 RH |
882 | 2002-03-29 Richard Henderson <rth@redhat.com> |
883 | ||
6e2d670b | 884 | PR target/6041 |
30c99a84 RH |
885 | * config/i386/i386.c (x86_arch_always_fancy_math_387): New. |
886 | (override_options): Disable NO_FANCY_MATH_387 if the arch allows. | |
887 | * config/i386/i386.h (x86_arch_always_fancy_math_387): New. | |
888 | * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix | |
889 | conditional. | |
890 | * docs/invoke.texi: Update -mno-fancy-math-387 docs. | |
891 | ||
02a566dc DJ |
892 | 2002-03-29 Dale Johannesen <dalej@apple.com> |
893 | ||
894 | * loop.c (combine_movables): Do allow combination of pseudos. | |
895 | ||
bc3a44db LR |
896 | 2002-03-29 Loren J. Rittle <ljrittle@acm.org> |
897 | ||
898 | * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. | |
899 | * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it. | |
900 | No functional change except ... | |
901 | * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file. | |
902 | * doc/install.texi (*-*-freebsd*): Document port configuration. | |
903 | ||
b0c48229 NB |
904 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
905 | ||
906 | * Makefile.in (convert.o, calls.o, expmed.o): Update. | |
907 | * attribs.c (handle_mode_attribute, handle_vector_size_attribute): | |
908 | Use new hooks. | |
909 | * builtin-types.def (BT_PTRMODE): Update. | |
910 | * c-common.c (type_for_size): Rename c_common_type_for_size. | |
911 | (type_for_mode): Similarly. | |
912 | (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins): | |
913 | Use new hook. | |
914 | * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New. | |
915 | * c-decl.c (finish_enum, build_enumerator): Use new hooks. | |
916 | * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE): | |
917 | Redefine. | |
918 | * c-typeck.c (common_type, comptypes, default_conversion): | |
919 | Use new hooks. | |
920 | * calls.c: Include langhooks.h. | |
921 | (emit_library_call_value_1): Use new hooks. Avoid redundant | |
922 | calls. | |
923 | * convert.c: Include langhooks.h | |
924 | (convert_to_pointer, convert_to_integer): Use new hooks. | |
925 | * except.c (init_eh): Similarly. | |
926 | * expmed.c: Include langhooks.h. | |
927 | (expand_mult_add): Use new hooks. | |
928 | * expr.c (store_expr, store_constructor, expand_expr, do_jump, | |
929 | try_casesi): Similarly. | |
930 | * fold-const.c (optimize_bit_field_compare, make_range, | |
931 | decode_field_reference, fold_truthop, fold): Similarly. | |
932 | * function.c (assign_stack_local_1, assign_stack_temp_for_type, | |
933 | put_var_into_stack): Similarly. | |
934 | * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE, | |
935 | LANG_HOOKS_TYPE_FOR_SIZE): New. | |
936 | (LANG_HOOKS_TYPES_INITIALIZER): Update. | |
937 | * langhooks.h (lang_hooks_for_types): New hooks. | |
938 | * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks. | |
939 | * tree.c (get_unwidened, get_narrower): Similarly. | |
940 | * tree.h (type_for_mode, type_for_size): Remove. | |
941 | * varasm.c (force_const_mem): Use new hooks. | |
942 | * utils2.c (nonbinary_modular_operation): Update. | |
943 | objc: | |
944 | * objc-act.c (handle_impent): Update. | |
945 | * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE): | |
946 | Redefine. | |
947 | ||
e206a74f SE |
948 | 2002-03-29 Steve Ellcey <sje@cup.hp.com> |
949 | ||
950 | * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New. | |
951 | * config/ia64/ia64.c (basereg_operand): New. | |
952 | * config/ia64/ia64-protos.h (basereg_operand): Declare. | |
953 | * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand. | |
954 | ||
7d9b6378 HPN |
955 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
956 | ||
957 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct | |
958 | unwind information when frame_pointer_needed. | |
959 | (mmix_assemble_integer): Tweak wording in comment. | |
960 | ||
f1e639b1 NB |
961 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
962 | ||
963 | * Makefile.in (except.o): Update. | |
964 | * except.c: Include langhooks.h. | |
965 | (init_eh): Use langhook. | |
966 | * langhooks-def.h (LANG_HOOKS_MAKE_TYPE, | |
967 | LANG_HOOKS_FOR_TYPES_INITIALIZER): New. | |
968 | (LANG_HOOKS_INITIALIZER): Update. | |
969 | * langhooks.h (lang_hooks_for_types): New. | |
970 | (struct lang_hooks): Add it. | |
971 | * tree.c (make_lang_type_fn, make_lang_type): Remove. | |
972 | * tree.h (make_lang_type_fn, make_lang_type): Remove. | |
973 | config: | |
974 | * alpha/alpha.c: Include langhooks.h. | |
975 | (alpha_build_va_list): Use langhook. | |
976 | * d30v/d30v.c: Include langhooks.h. | |
977 | (d30v_build_va_list): Use langhook. | |
978 | * i386/i386.c: Include langhooks.h. | |
979 | (ix86_build_va_list): Use langhook. | |
980 | * rs6000/rs6000.c (rs6000_build_va_list): Use langhook. | |
981 | * s390/s390.c: Include langhooks.h. | |
982 | (s390_build_va_list): Use langhook. | |
983 | * stormy16/stormy16.c: Include langhooks.h. | |
984 | (stormy16_build_va_list): Use langhook. | |
985 | ||
f17f9332 JJ |
986 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
987 | ||
988 | PR c++/5964 | |
989 | * config/sparc/sparc.md (empty_delay_slot, branch_type): New | |
990 | attributes. | |
991 | (length): Compute variable length for branches/calls/jumps here. | |
992 | (branch, inverted_branch, normal_fp_branch, inverted_fp_branch, | |
993 | normal_fpe_branch, inverted_fpe_branch): Remove length attribute, | |
994 | define branch_type attribute. | |
995 | (divsi3_sp32): Maximum length is 6 not 7. | |
996 | (call_address_struct_value_sp32, call_symbolic_struct_value_sp32, | |
997 | call_address_untyped_struct_value_sp32, | |
998 | call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2. | |
999 | * config/sparc/sparc.c (empty_delay_slot): New function. | |
1000 | * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove. | |
1001 | * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype. | |
1002 | ||
0a0440c9 JJ |
1003 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
1004 | ||
1005 | * combine.c (set_nonzero_bits_and_sign_copies): Don't call | |
1006 | nonzero_bits if not needed. | |
1007 | (nonzero_bits) [XOR]: Likewise. | |
1008 | (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if | |
1009 | reg_last_set_mode and mode are both MODE_INT, but not equal. | |
1010 | (record_value_for_reg): Compute reg_last_set_nonzero_bits | |
1011 | in nonzero_bits_mode for MODE_INT modes. | |
1012 | ||
c9045f47 RH |
1013 | 2002-03-28 Richard Henderson <rth@redhat.com> |
1014 | ||
1015 | PR target/5715 | |
1016 | * config/alpha/osf.h (ASM_SPEC): Don't pass any special options | |
1017 | to GAS. Correct drift between alternatives. | |
1018 | ||
f8ed1958 RH |
1019 | 2002-03-28 Richard Henderson <rth@redhat.com> |
1020 | ||
1021 | PR target/6087 | |
1022 | * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence. | |
1023 | ||
54e20385 LR |
1024 | 2002-03-28 Alexandre Oliva <aoliva@redhat.com> |
1025 | ||
1026 | * config/i386/freebsd.h (LINK_SPEC): Don't pass default | |
1027 | emulation to the linker. | |
1028 | ||
1029 | 2002-03-28 Loren J. Rittle <ljrittle@acm.org> | |
1030 | ||
1031 | * config/alpha/freebsd.h (LINK_SPEC): Likewise. | |
1032 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
1033 | ||
8bc52806 JL |
1034 | Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com) |
1035 | ||
1036 | * combine.c (simplify_and_const_int): Make sure to apply mask | |
1037 | when force_to_mode returns a constant integer. PR3311. | |
1038 | ||
279dccc5 JDA |
1039 | 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1040 | ||
1041 | * pa-linux.h (LOCAL_LABEL_PREFIX): Define. | |
1042 | ||
62aaa62c GP |
1043 | 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1044 | ||
1045 | * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options | |
1046 | and Objective-C Dialect Options. | |
1047 | ||
b8de5050 RH |
1048 | 2002-03-28 Richard Henderson <rth@redhat.com> |
1049 | ||
1050 | * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE | |
1051 | comparison should be done vs !=0 not >0 return code. Tidy cases. | |
1052 | ||
619708cc RH |
1053 | 2002-03-28 Richard Henderson <rth@redhat.com> |
1054 | ||
1055 | * c-decl.c (finish_function): New arg can_defer_p. Pass it | |
1056 | on to c_expand_body. | |
1057 | * c-tree.h (finish_function): Update decl. | |
1058 | * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls. | |
1059 | ||
b1d874d7 JH |
1060 | Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz> |
1061 | ||
1062 | * ifcvt.c (if_convert): Clear aux_for_blocks early enought. | |
1063 | ||
f5eb5fd0 JH |
1064 | Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz> |
1065 | ||
1066 | * rtlanal.c: Include flags.h | |
1067 | (may_trap_p): Do not mark FP operations if trapping | |
1068 | if !flag_trapping_math | |
1069 | * Makefile.in (rtlanal.o): Add dependency on flag.h | |
1070 | * ifcvt.c (noce_operand_ok): Avoid the lameness. | |
1071 | ||
81b4c798 ZW |
1072 | 2002-03-27 Zack Weinberg <zack@codesourcery.com> |
1073 | ||
1074 | * mips.md: Use dconst1, not 1.0, as first argument of | |
1075 | REAL_VALUE_LDEXP. Don't use union real_extract. | |
1076 | ||
55a2ea2a AM |
1077 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
1078 | ||
1079 | * configure.in (gcc_cv_as): Use $target_alias in directory searchs | |
1080 | rather than $target. Heed program_prefix and | |
1081 | program_transform_name. Search for gas in cross-compiler case too. | |
1082 | "test -x" rather than "test -f". | |
1083 | (gcc_cv_ld): Likewise. | |
1084 | (gcc_cv_nm): Heed program_prefix and program_transform_name. | |
1085 | (gcc_cv_objdump): Likewise. | |
1086 | * configure: Regenerate. | |
1087 | ||
7ffb4fd2 NB |
1088 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
1089 | ||
1090 | * Makefile.in (attribs.o): Update. | |
1091 | * attribs.c: Include langhooks.h. | |
1092 | (decl_attributes): Use langhook. | |
1093 | * c-decl.c (insert_default_attributes): Rename. | |
1094 | * c-tree.h (c_insert_default_attributes): New. | |
1095 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. | |
1096 | (LANG_HOOKS_INITIALIZER): Update. | |
1097 | * langhooks.h (struct lang_hooks): New hook. | |
1098 | * tree.h (insert_default_attributes): Remove. | |
1099 | objc: | |
1100 | * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. | |
1101 | ||
e4dbaed5 AS |
1102 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
1103 | ||
1104 | * config/i386/i386.c (classify_argument): Also check for | |
1105 | QUAL_UNION_TYPE. | |
1106 | ||
18b467f1 RO |
1107 | 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1108 | ||
1109 | * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj | |
1110 | any more. | |
1111 | ||
d337d653 JH |
1112 | Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz> |
1113 | ||
1114 | * i960.md (ret): Set PC. | |
1115 | (nonlocal_goto): Fix expander. | |
1116 | * builtins.c (epxand_builin_longjmp): Check that we've emitted | |
1117 | some jump or call. | |
1118 | ||
218aa620 JH |
1119 | Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz> |
1120 | ||
1121 | * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting | |
1122 | of libcall regions. | |
1123 | ||
e27a4eaf ZD |
1124 | Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1125 | ||
1126 | * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of | |
1127 | assigning to BLOCK_FOR_INSN directly. | |
1128 | ||
8a12f34c JH |
1129 | Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz> |
1130 | ||
1131 | * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround. | |
1132 | ||
c9d892a8 NB |
1133 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
1134 | ||
1135 | * c-common.c (c_expand_expr): Fix prototype. | |
1136 | * c-common.h (c_expand_expr): Always declare, update. | |
1137 | * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
1138 | * c-objc-common.c (c_objc_common_init): No global hook. | |
1139 | * expr.c (expand_expr): Use langhook. | |
1140 | * expr.h (enum expand_modifier): Conditionally declare. | |
1141 | * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New. | |
1142 | (LANG_HOOKS_INITIALIZER): Update. | |
1143 | * langhooks.c (lhd_expand_expr): New. | |
1144 | * langhooks.h (struct lang_hooks): New hook. | |
1145 | * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete. | |
1146 | (lang_independent_init): Don't default hook. | |
1147 | objc: | |
1148 | * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
1149 | ||
6dad5a56 RH |
1150 | 2002-03-27 Richard Henderson <rth@redhat.com> |
1151 | ||
1152 | PR target/6054 | |
1153 | * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for | |
1154 | TARGET_CONST_GP. Simplify conditions. | |
1155 | ||
59f96879 RH |
1156 | 2002-03-27 Richard Henderson <rth@redhat.com> |
1157 | ||
1158 | * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
1159 | config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h, | |
1160 | config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define. | |
1161 | ||
f3f1190d DS |
1162 | 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net> |
1163 | ||
1164 | * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, | |
1165 | TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches. | |
1166 | (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS): | |
1167 | Remove unnecessary masks. | |
1168 | (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit. | |
1169 | (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin, | |
1170 | -mwindows, -mdll switches and their negations. | |
1171 | ||
31c816cf NB |
1172 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
1173 | ||
1174 | * gcc-common.c (lang_mark_false_label_stack): Remove. | |
1175 | * ggc.h (lang_mark_false_label_stack): Similarly. | |
1176 | ||
aee8f532 VM |
1177 | 2002-03-26 Vladimir Makarov <vmakarov@redhat.com> |
1178 | ||
1179 | * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__. | |
1180 | ||
1181 | * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__ | |
1182 | or __rtems_ is defined. | |
1183 | ||
1ef9531b RH |
1184 | 2002-03-26 Richard Henderson <rth@redhat.com> |
1185 | ||
1186 | * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note | |
1187 | if a non-trivial load was emitted. | |
1188 | (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko | |
1189 | in high+extra+low case. | |
1190 | ||
300d4093 RH |
1191 | 2002-03-26 Richard Henderson <rth@redhat.com> |
1192 | ||
1193 | * config.gcc (sparc*-solaris): Use float_format=sparc. | |
1194 | ||
b3689904 RH |
1195 | 2002-03-26 Richard Henderson <rth@redhat.com> |
1196 | ||
1197 | * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
1198 | * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef. | |
1199 | * config/sparc/linux.h, config/sparc/linux64.h: Likewise. | |
1200 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine. | |
1201 | (WINT_TYPE_SIZE): Fix at 32. | |
1202 | ||
1eefb6c1 RH |
1203 | 2002-03-26 Richard Henderson <rth@redhat.com> |
1204 | ||
1205 | * toplev.c (rest_of_compilation): Delay emit_initial_value_sets | |
1206 | until after eh landing pad generation. | |
1207 | * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. | |
1208 | * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs. | |
1209 | ||
361ea006 RH |
1210 | 2002-03-26 Richard Henderson <rth@redhat.com> |
1211 | ||
1212 | * expr.h (ADD_PARM_SIZE): One more convert for INC. | |
1213 | ||
1de38a88 PE |
1214 | 2002-03-26 Phil Edwards <pme@gcc.gnu.org> |
1215 | ||
1216 | * gcc.c (cpp_options): Preserve relative ordering of -pedantic | |
1217 | and warning switches. | |
1218 | (cc1_options): Likewise. | |
1219 | ||
d7e60e95 | 1220 | 2002-03-26 Hans Boehm <Hans_Boehm@hp.com> |
361ea006 | 1221 | |
d7e60e95 HB |
1222 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): |
1223 | Restore more of the signal context. Set no_reg_stack_frame. | |
1224 | * config/ia64/unwind-ia64.c (unw_state_record): | |
1225 | Add no_reg_stack_frame, comments. | |
1226 | (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER. | |
1227 | (uw_update_context): Adjust bsp when unwinding from leaf, | |
1228 | but not signal frame. | |
1229 | ||
7032923b DE |
1230 | 2002-03-26 David Edelsohn <edelsohn@gnu.org> |
1231 | ||
1232 | * config/rs6000/aix51.h (WCHAR_TYPE): Define. | |
1233 | ||
8be56275 BW |
1234 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
1235 | ||
1236 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types. | |
1237 | ||
56fbb855 RE |
1238 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
1239 | ||
1240 | PR target/5621 | |
1241 | * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999: | |
1242 | "Add a pool_range attribute", which was lost during the ARM/Thumb | |
1243 | merge. | |
1244 | ||
3437320b BW |
1245 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
1246 | ||
1247 | * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from | |
1248 | a register into the MAC16 accumulator. | |
1249 | ||
173028e5 AC |
1250 | 2002-03-26 Andrew Cagney <ac131313@redhat.com> |
1251 | ||
1252 | * doc/invoke.texi (Option Summary): Mention -Wswitch-enum. | |
1253 | (Warning Options): Document -Wswitch-enum. | |
1254 | * toplev.c (W_options): Add -Wswitch-enum. Update comment on | |
1255 | -Wswitch. | |
1256 | (warn_switch_enum): Define variables. | |
1257 | * flags.h (warn_switch_enum): Declare variables. | |
1258 | * stmt.c (expand_end_case_type): When warn_switch_enum / | |
1259 | -Wswitch-enum, perform switch checks. | |
1260 | Fix PR c/5044. | |
1261 | ||
e14365a7 RE |
1262 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
1263 | ||
1264 | * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi) | |
1265 | (reload_mulsi_compare0_scratch, reload_muladdsi_compare0) | |
1266 | (reload_muladdsi_compare0_scratch): Delete. | |
1267 | ||
46fc709d LR |
1268 | 2002-03-26 Loren J. Rittle <ljrittle@acm.org> |
1269 | ||
1270 | * doc/install.texi (*-*-freebsd*): Update. | |
1271 | ||
f36dea3c RH |
1272 | 2002-03-26 Richard Henderson <rth@redhat.com> |
1273 | ||
8e5fe23f RH |
1274 | * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype. |
1275 | (SUB_PARM_SIZE): Cast DEC to ssizetype. | |
1276 | ||
1277 | * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK | |
1278 | types from the normal argument frame. | |
1279 | ||
f36dea3c RH |
1280 | * config/sparc/sparc.c (function_arg_pass_by_reference): Pass |
1281 | variable sized objects by reference. | |
1282 | (sparc_va_arg): Receive them by reference too. | |
1283 | ||
1447dc69 HP |
1284 | 2002-03-26 Hartmut Penner <hpenner@de.ibm.com> |
1285 | ||
1286 | * config/s390/s390.c (s390_emit_epilogue): Change epilogue | |
1287 | code to not restoring global registers. | |
1288 | ||
4f0ade92 NB |
1289 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
1290 | ||
1291 | * Makefile.in (ggc-common.o): Update. | |
1292 | * c-decl.c (lang_mark_tree): Rename c_mark_tree. | |
1293 | * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
1294 | * c-tree.h (c_mark_tree): New. | |
1295 | * ggc-common.c: Include langhooks.h. | |
1296 | (gcc_mark_trees): Use new langhook. | |
1297 | * ggc-callbacks.c: Delete file. | |
1298 | * ggc.h (lang_mark_tree): Remove. | |
1299 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): New. | |
1300 | (LANG_HOOKS_INITIALIZER): Update. | |
1301 | * langhooks.h (struct lang_hooks): New hook. | |
1302 | objc: | |
1303 | * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
1304 | ||
caba570b ZW |
1305 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
1306 | ||
1307 | * doc/cpp.texi: Exclude entire Top node from printed manual. | |
1308 | Move option index after directive index. Insert page breaks | |
1309 | before GFDL and concept index. Index environment variables | |
1310 | with command line options. | |
1311 | * doc/cppenv.texi: Use @vtable for environment variable list. | |
1312 | Add paragraph explaining semantics of empty elements in path | |
1313 | variables. Exclude a cross-reference to Fishkill from the | |
1314 | manpage. Remove an unnecessary cross-reference of the entry | |
1315 | right above the referer. Don't use @anchor in text that goes | |
1316 | into manpage. | |
1317 | * doc/cppopts.texi: Cross-reference the environment variables | |
1318 | section, not the specific environment variable, for consistency. | |
1319 | ||
6b2e80b7 RH |
1320 | 2002-03-25 Richard Henderson <rth@redhat.com> |
1321 | ||
1322 | * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes | |
1323 | anywhere in the block. Don't refer to insns that have been | |
1324 | removed from the chain. Iterate backward through the new insns. | |
1325 | Don't refer to edges that have been removed. | |
1326 | ||
67e469d7 AM |
1327 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
1328 | ||
1329 | * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct | |
1330 | test for overflow of constant. | |
1331 | ||
f2356393 RE |
1332 | 2002-03-25 Richard Earnshaw <rearnsha@arm.com> |
1333 | ||
1334 | PR target/2623 | |
1335 | * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc) | |
1336 | (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use | |
1337 | these patterns on arm_archv4. | |
1338 | ||
355426ab DS |
1339 | 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net> |
1340 | ||
1341 | * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned | |
1342 | int". | |
1343 | ||
15e5ad76 ZW |
1344 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
1345 | ||
1346 | * toplev.c: Don't include setjmp.h. Kill float_handler_set, | |
1347 | float_handled, float_handler, float_signal, set_float_handler, | |
1348 | and do_float_handler. Set handler for SIGFPE to crash_signal. | |
1349 | * toplev.h: Don't prototype do_float_handler. | |
1350 | ||
1351 | * c-lex.c: Fold parse_float into lex_number. Make warning | |
1352 | about portability of hex float constants more informative, and | |
1353 | don't issue it on top of a syntax error. | |
1354 | * fold-const.c: Fold const_binop_1 and fold_convert_1 into | |
1355 | their callers. | |
1356 | * real.h: Define REAL_VALUE_ABS here... | |
1357 | * simplify-rtx.c: ... not here. Fold check_fold_consts, | |
1358 | simplify_unary_real, simplify_binary_real, and | |
1359 | simplify_binary_is2orm1 into their callers. | |
1360 | * tree.c: Fold build_real_from_int_cst_1 into caller. | |
1361 | ||
1362 | * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. | |
1363 | ||
1364 | * tsystem.h: Include float.h here... | |
1365 | * libgcc2.c: ... not here. | |
1366 | ||
56ae9405 NC |
1367 | 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com> |
1368 | ||
1369 | Fixes for: PR bootstrap/3591, target/5676 | |
1370 | * config/mcore/mcore.h (CC1_SPEC): Define only if not already | |
1371 | defined. Do not disable exceptions or rtti. | |
1372 | * config/mcore/mcore-pe.h (CC1_SPEC): Define before including | |
1373 | mcore.h. Disable exceptions and rtti, since they are not | |
1374 | supported by EPOC. | |
1375 | ||
c88770e9 NB |
1376 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
1377 | ||
1378 | * c-decl.c (maybe_build_cleanup): Remove. | |
1379 | * expr.c (expand_expr): Use langhook. | |
1380 | * langhooks-def.h (lhd_return_null_tree, | |
1381 | LANG_HOOKS_MAYBE_BUILD_CLEANUP): New. | |
1382 | (LANGHOOKS_INITIALIZER): Update. | |
1383 | * langhooks.c (lhd_return_null_tree): New. | |
1384 | * langhooks.h (struct lang_hooks): New hook. | |
1385 | * tree-inline.c (initialize_inlined_parameters): Use langhook. | |
1386 | * tree.h (maybe_build_cleanup): Remove. | |
1387 | ||
2ed1f154 JJ |
1388 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
1389 | ||
1390 | * regrename.c (build_def_use): Move recog_memoized | |
1391 | before extract_insn. | |
1392 | ||
6ddae612 JJ |
1393 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
1394 | ||
1395 | PR target/6043 | |
1396 | * expr.c (emit_group_store): Handle storing into CONCAT. | |
1397 | ||
ea475b23 JJ |
1398 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
1399 | ||
1400 | * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and | |
1401 | corresponding MATCH_DUP. | |
1402 | ||
e7d482b9 RH |
1403 | 2002-03-24 Richard Henderson <rth@redhat.com> |
1404 | ||
cd39fc13 RH |
1405 | * unroll.c (unroll_loop): Zero label_map. |
1406 | ||
e7d482b9 RH |
1407 | * gcse.c: Include except.h. |
1408 | * Makefile.in (gcse.o): Update. | |
1409 | ||
1bd6476f RH |
1410 | 2002-03-24 Richard Henderson <rth@redhat.com> |
1411 | ||
1412 | * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change. | |
1413 | Do resolve_unique_section before shared data clause. | |
1414 | ||
2e6c150a RH |
1415 | 2002-03-24 Richard Henderson <rth@redhat.com> |
1416 | ||
1417 | * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static. | |
1418 | ||
b29afcf8 RH |
1419 | 2002-03-24 Richard Henderson <rth@redhat.com> |
1420 | ||
15e5ad76 | 1421 | * recog.c (peephole2_optimize): Split blocks when EH insns are |
b29afcf8 RH |
1422 | generated in the middle of a block. Do global life update if |
1423 | zapped EH edges. | |
1424 | ||
05ed1296 RH |
1425 | 2002-03-24 Richard Henderson <rth@redhat.com> |
1426 | ||
1427 | * mips.c (mips_function_value): Only promote_mode for non-libcalls. | |
1428 | ||
3ddbb8a9 NB |
1429 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
1430 | ||
1431 | preprocessor/3951 | |
15e5ad76 | 1432 | * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF. |
3ddbb8a9 NB |
1433 | * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD. |
1434 | (init_dependency_output): Don't make no_output decision here. | |
1435 | ||
740b77b6 AC |
1436 | 2002-03-24 Andrew Cagney <ac131313@redhat.com> |
1437 | ||
1438 | * stmt.c (check_for_full_enumeration_handling): Remove tests of | |
1439 | warn_switch. Update description. | |
1440 | (expand_end_case_type): Call check_for_full_enumeration_handling | |
1441 | when warn_switch. | |
1442 | ||
7590cfd0 SC |
1443 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1444 | ||
1445 | * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function. | |
1446 | (m68hc11_split_move): Call it to see if the source and destination | |
1447 | operands use the same direction auto inc/dec mode, otherwise make the | |
c61f581f | 1448 | source an offsetable memory operand and generate an add. |
7590cfd0 | 1449 | |
2e3d3481 SC |
1450 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
1451 | ||
1452 | * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address | |
1453 | register for operand 2. | |
1454 | ("*subsi3_zero_extendqi"): Likewise. | |
1455 | ("*iorhi3_gen"): Do the operation on the upper bits and then lower | |
1456 | bits so that it is compatible with a pop. | |
1457 | ("*andhi3_gen"): Likewise. | |
1458 | ("xorhi3"): Likewise. | |
1459 | ||
2784528c NB |
1460 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
1461 | ||
1462 | * cppinit.c (cpp_handle_option): Set warn_endif_labels if | |
1463 | -pedantic here... | |
1464 | (cpp_post_options): ... not here. | |
1465 | ||
aaf93206 NB |
1466 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
1467 | Aldy Hernandez <aldyh@redhat.com> | |
1468 | ||
1469 | Removal of separate preprocessor cpp0. | |
1470 | ||
1471 | * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS, | |
1472 | cpp0, install-common): Update. | |
1473 | * c-common.c (flag_preprocess_only): New. | |
1474 | (c_common_init): Preprocess for -E. | |
1475 | * c-common.h (flag_preprocess_only): New. | |
1476 | * c-decl.c (c_decode_option): Handle -E and -std=c++98. | |
1477 | * c-objc-common.c (c_init_decl_processing): Exit quickly | |
1478 | for NULL return from c_common_init. | |
1479 | * cpplib.h (cpp_preprocess_file): New. | |
1480 | * cppmain.c (main, general_init, pfile, progname): Remove. | |
1481 | (do_preprocessing): Rename cpp_preprocess_file, don't call | |
1482 | cpp_finish. Don't close stdout here. | |
1483 | (setup_callbacks): Update prototype. | |
1484 | * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers): | |
1485 | Update. | |
1486 | * tradcpp.c (main): Ignore -quiet. | |
1487 | objc: | |
1488 | * lang-specs.h (default_compilers): Preprocess with cc1obj. | |
1489 | ||
c6e6f5c1 RH |
1490 | 2002-03-24 Richard Henderson <rth@redhat.com> |
1491 | ||
1492 | PR optimization/5742 | |
1493 | * machmode.def: Add inner mode field to complex modes. | |
1494 | * config/mips/mips.c (mips_function_value): Always define. Add | |
1495 | new argument to handle libcalls. | |
1496 | * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value. | |
1497 | (FUNCTION_VALUE): Likewise. | |
1498 | * config/mips/abi64.h (FUNCTION_VALUE): Remove. | |
1499 | * config/mips/mips-protos.h: Update. | |
1500 | ||
d88e57d1 RH |
1501 | 2002-03-23 Richard Henderson <rth@redhat.com> |
1502 | ||
1503 | * config/sparc/sparc.c (sparc_emit_floatunsdi): New. | |
1504 | * config/sparc/sparc-protos.h: Update. | |
1505 | * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New. | |
1506 | ||
6dfaf9ba RH |
1507 | 2002-03-23 Richard Henderson <rth@redhat.com> |
1508 | ||
1509 | * config/sparc/gmon-sol2.c (internal_mcount): Assume either | |
1510 | _start or _init begins the text segment. | |
1511 | ||
0c769cf8 DE |
1512 | 2002-03-23 David Edelsohn <edelsohn@gnu.org> |
1513 | ||
1514 | * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT | |
1515 | not HOST_WIDEST_INT. | |
1516 | (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes. | |
1517 | ||
64e92a26 RE |
1518 | 2002-03-23 Richard Earnshaw <rearnsha@arm.com> |
1519 | ||
1520 | PR java/5489 | |
1521 | * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the | |
1522 | operand argument to output_return_instruction. | |
15e5ad76 | 1523 | * arm.c (arm_print_operand, case 'd'): If the operand is |
64e92a26 RE |
1524 | const_true_rtx then just return. |
1525 | (arm_print_operand, case 'D'): If the operand is const_true_rtx | |
1526 | then abort. | |
1527 | ||
d6961341 AC |
1528 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
1529 | ||
1530 | * doc/invoke.texi (Option Summary): Mention -Wswitch-default. | |
1531 | (Warning Options): Document -Wswitch-default. | |
1532 | * toplev.c (W_options): Add -Wswitch-default. Update comment on | |
1533 | -Wswitch. | |
1534 | (warn_switch_default): Define variable. | |
1535 | (warn_switch): Update comment. | |
1536 | * flags.h (warn_switch_default): Declare variable. | |
1537 | (warn_switch): Update comment. | |
1538 | * stmt.c (expand_end_case): Check for and, when | |
1539 | warn_switch_no_default, warn of a missing default case. | |
15e5ad76 | 1540 | |
d4c5ac1f AM |
1541 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
1542 | ||
bbaa9790 AM |
1543 | * real.h (N): Special case 128 bit doubles. |
1544 | ||
d4c5ac1f AM |
1545 | * combine.c (simplify_comparison): When widening modes, ignore |
1546 | sign extension on CONST_INTs. | |
1547 | ||
84bf8c2c BW |
1548 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
1549 | ||
1550 | * config/xtensa/xtensa.c (print_operand): Fix incorrect mode | |
1551 | passed to adjust_address. Fix comment formatting. | |
1552 | ||
1553 | ||
b216cd4a ZW |
1554 | 2002-03-22 Zack Weinberg <zack@codesourcery.com> |
1555 | ||
1556 | * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. | |
1557 | Always make REAL_VALUE_TYPE a struct containing an array of | |
1558 | HOST_WIDE_INT, not a double. Tidy up the code deciding how | |
1559 | big it is. Don't declare or use union real_extract. | |
1560 | ||
1561 | * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1, | |
1562 | decode_rtx_const, output_constant_pool), config/a29k/a29k.c | |
1563 | (print_operand), config/arm/arm.c (output_move_double), | |
1564 | config/arm/arm.md (consttable_4, consttable_8), | |
1565 | config/romp/romp.c (output_fpops), config/s390/s390.h | |
1566 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c | |
1567 | (xtensa_output_literal): Don't use union real_extract. | |
1568 | ||
1569 | * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c | |
1570 | (sfmode_constant_to_ulong), config/ns32k/merlin.h | |
1571 | (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand), | |
1572 | config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h | |
1573 | (PRINT_OPERAND): Don't use local version of union | |
1574 | real_extract. | |
1575 | ||
1576 | * config/convex/convex.c (check_float_value), config/vax/vax.c | |
1577 | (vax_float_literal), config/m88k/m88k.md (divdf3), | |
1578 | config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2), | |
1579 | config/pdp11/pdp11.c (output_move_quad): Don't do host | |
1580 | arithmetic on target floating point quantities. | |
1581 | ||
1582 | * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c | |
1583 | (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT. | |
1584 | ||
1585 | * fold-const.c (fold), simplify-rtx.c (simplify_binary_real): | |
1586 | Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY. | |
1587 | ||
1588 | * real.c (earith): Test INFINITY rather than REAL_INFINITY; | |
1589 | NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef | |
1590 | INFINITY. | |
1591 | * print-rtl.c (print_rtx): Disable code which needs | |
1592 | floating-point emulator. | |
1593 | * libgcc2.c: Include float.h and use DBL_MANT_DIG, | |
1594 | FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than | |
1595 | depending on HOST_FLOAT_FORMAT to be defined properly. | |
1596 | ||
1597 | * config/1750a/1750a.c (get_double, float_label): Delete. | |
1598 | (print_operand): Delete huge commented-out chunk. Use | |
1599 | REAL_VALUE_TO_DECIMAL. | |
1600 | * config/1750a/1750a-protos.h: Delete prototypes of deleted | |
1601 | functions. | |
1602 | * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to | |
1603 | IEEE_FLOAT_FORMAT. | |
1604 | * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]): | |
1605 | Use REAL_VALUE_TO_DECIMAL as ELF version does. | |
1606 | * config/m88k/m88k.c (real_power_of_2_operand, | |
1607 | legitimize_operand): Take the REAL_VALUE_TYPE and/or union | |
1608 | real_extract out of the union; run the input through | |
1609 | REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords | |
1610 | from that into the union. | |
1611 | * config/pdp11/pdp11.c (output_move_double): Rearrange | |
1612 | parentheses to make automatic indenter happy. | |
1613 | ||
1614 | * doc/tm.texi (Cross-compilation): Rename node to "Floating | |
1615 | Point" and rewrite to describe current situation. Also adjust | |
1616 | documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to | |
1617 | match code. | |
1618 | * doc/rtl.texi: Adjust cross reference. | |
1619 | ||
a8cacfd2 BW |
1620 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
1621 | ||
1622 | * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove. | |
1623 | (xtensa_valid_move, xtensa_preferred_reload_class): Define. | |
1624 | * config/xtensa/xtensa.c (non_acc_reg_operand): Remove. | |
1625 | (xtensa_valid_move, xtensa_preferred_reload_class): Define to | |
1626 | prevent use of sp as a reload register. | |
1627 | (xtensa_emit_move_sequence): Use xtensa_valid_move instead of | |
1628 | non_acc_reg_operand. | |
1629 | * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand. | |
1630 | (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class. | |
1631 | * config/xtensa/xtensa.md (movsi_internal, movhi_internal, | |
1632 | movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand. | |
1633 | ||
d4e6133f NB |
1634 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
1635 | ||
b216cd4a ZW |
1636 | * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. |
1637 | * cpplex.c (unterminated): Delete. | |
1638 | (parse_string): No string literal may extend over multiple | |
1639 | lines. Suppress the error when preprocessing assembly. | |
d4e6133f NB |
1640 | * cppmain.c (scan_translation_unit): Strings are single-line. |
1641 | ||
b216cd4a | 1642 | * doc/cpp.texi: Update to match. |
d4e6133f | 1643 | |
65e6c005 JJ |
1644 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
1645 | ||
1646 | PR optimization/5854 | |
1647 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0. | |
1648 | Shut up warnings. | |
1649 | (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0. | |
1650 | (EXTRA_CONSTRAINT): Use S for non-push memory operand. | |
1651 | * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from | |
1652 | const0 if scratch register was not allocated. | |
1653 | (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart, | |
1654 | m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
1655 | with GEN_INT (...). | |
1656 | (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs. | |
1657 | * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
1658 | with GEN_INT (...) everywhere. Remove constraints in define_split | |
1659 | patterns. | |
1660 | (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't | |
1661 | require scratch register for setting 0 into regs/non-pushable memory. | |
1662 | ||
7f48c9e1 AO |
1663 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
1664 | ||
1665 | * config/mips/mips.h (MASK_RETURN_ADDR): Define. | |
1666 | (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
1667 | ||
909de5da PE |
1668 | 2002-03-22 Phil Edwards <pme@gcc.gnu.org> |
1669 | ||
1670 | * cpplib.h (struct cpp_options): New member, warn_endif_labels. | |
1671 | * cppinit.c (cpp_create_reader): On by default. | |
1672 | (cpp_handle_option): Handle -W[no-]endif-labels. | |
1673 | (cpp_post_options): Also enable if -pedantic. | |
1674 | * cpplib.c (do_else): Use it. | |
1675 | (do_endif): Likewise. | |
1676 | * doc/cppopts.texi: Document new option. | |
1677 | * doc/invoke.texi: Document new option. | |
1678 | ||
d8bf17f9 LB |
1679 | 2002-03-22 Lars Brinkhoff <lars@nocrew.org> |
1680 | ||
1681 | * config/i386/i386.c, config/i386/i386.md: Change all occurences | |
1682 | of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). | |
1683 | ||
70e0ccd0 AO |
1684 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
1685 | ||
1686 | * flow.c (calculate_global_regs_live): Clear aux fields of | |
1687 | ENTRY and EXIT. | |
1688 | ||
68882f0f JJ |
1689 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
1690 | ||
1691 | * config/v850/v850.c (v850_reorg): Only call alter_subreg on | |
1692 | REG or MEM subregs, pass rtx * instead of rtx to it. | |
1693 | * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass | |
1694 | rtx * instead of rtx to alter_subreg. | |
1695 | * config/m32r/m32r.c (gen_split_move_double): Likewise. | |
1696 | * config/pj/pj.c (pj_output_rval): Likewise. | |
1697 | ||
648fe28b RH |
1698 | 2002-03-22 Richard Henderson <rth@redhat.com> |
1699 | ||
1700 | PR target/3177 | |
1701 | * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs. | |
1702 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update. | |
1703 | * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs. | |
1704 | (ia64_expand_prologue): Look at int_regs, not words, for number | |
1705 | of incomming int regs. | |
1706 | ||
e8dcd824 AM |
1707 | 2002-03-22 Andrew MacLeod <amacleod@redhat.com> |
1708 | ||
1709 | * expr.c (expand_expr): A RESULT_DECL is part of a call. | |
1710 | ||
96327cdc JH |
1711 | Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz> |
1712 | ||
1713 | * toplev.c (flag_loop_optimize, flag_crossjumping): | |
1714 | New static variables. | |
1715 | (rest_of_compilation): Conditionalize crossjumping and | |
1716 | loop optimizer. | |
1717 | (parse_options_and_default_flags): Default loop_optimize and | |
1718 | crossjumping. | |
1719 | (lang_independent_options): Add -fcrossjumping and -floop-optimize | |
1720 | * invoke.texi (crossjumping, loop-optimize): Document. | |
1721 | ||
bc185257 RS |
1722 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
1723 | ||
1724 | * real.c (eiisneg): Move outside #ifdef NANS. | |
1725 | ||
0a2ed1f1 JH |
1726 | Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz> |
1727 | ||
1728 | * cfgcleanup.c (outgoing_edges_math): Fix condition; relax | |
1729 | frequencies match; avoid match on different loop depths. | |
1730 | (try_crossjump_to_bb): Kill tests that no longer brings time | |
1731 | savings. | |
1732 | * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth | |
1733 | updating code. | |
1734 | (split_edge): Likewise. | |
1735 | ||
1736 | * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized | |
1737 | variable. | |
1738 | ||
1739 | * Makefile.in (cfgrtl): Add insn-config.h depenendency. | |
1740 | * cfgrtl.c: Include insn-config.h | |
1741 | (split_block) Dirtify block in presence of conditional execution | |
1742 | ||
4d72536e RS |
1743 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
1744 | ||
1745 | * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine. | |
1746 | * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare. | |
1747 | (function_arg): Constify CUMULATIVE_ARGS. | |
1748 | (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise. | |
1749 | * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT. | |
1750 | (UNITS_PER_DOUBLE): New macro. | |
1751 | (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs. | |
1752 | (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and | |
1753 | last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs, | |
1754 | fp_regs and stack_words. | |
1755 | (EABI_FLOAT_VARARGS_P): New macro. | |
1756 | * config/mips/mips.c (struct mips_arg_info): New. | |
1757 | (mips_arg_info): New function. | |
1758 | (function_arg_advance): Use it. Add adjustment instructions here | |
1759 | rather than in function_arg. | |
1760 | (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check | |
1761 | for VOIDmode at the beginning of the function. | |
1762 | (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info. | |
1763 | (function_arg_pass_by_reference): Likewise. | |
1764 | (mips_setup_incoming_varags): New, largely based on old abi64.h code. | |
1765 | (mips_build_va_list): Test EABI_FLOAT_VARARGS_P. | |
1766 | (mips_va_start): Likewise. Use the new stack_words field of | |
1767 | CUMULATIVE_ARGS to set up overflow area. Reformat. | |
1768 | (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of | |
1769 | doubles and other types, aligning the overflow pointer for non-doubles | |
1770 | too. Remove some code duplication. Replace hard-coded constants. | |
1771 | ||
e6f884cd RS |
1772 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
1773 | ||
1774 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify. | |
1775 | (CLASS_UNITS): Undefine. | |
1776 | (CLASS_MAX_NREGS): Use FP_INC. | |
1777 | * config/mips/mips.c (compute_frame_size): Likewise. | |
1778 | (override_options): Use FP_INC and UNITS_PER_FPVALUE. | |
1779 | ||
10cf9bde NB |
1780 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
1781 | ||
1782 | * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust | |
1783 | prototype, and handle lexing numbers and identifiers. | |
1784 | (parse_identifier): Update to new form of parse_slow. | |
1785 | (parse_number): Fast path only, use parse_slow otherwise. | |
1786 | (_cpp_lex_direct): Update calls to parse_number. | |
1787 | ||
fbc2782e DD |
1788 | 2002-03-21 DJ Delorie <dj@redhat.com> |
1789 | ||
1790 | * bb-reorder.c (make_reorder_chain_1): Protect against | |
1791 | when redundant edges are omitted. | |
1792 | * predict.c (dump_prediction): Likewise. | |
1793 | ||
fba39eaf RH |
1794 | 2002-03-21 Richard Henderson <rth@redhat.com> |
1795 | ||
1796 | PR target/5996 | |
1797 | * fixinc/inclhack.def (solaris_stdio_tag): New. | |
1798 | * fixinc/fixincl.x: Regenerate. | |
1799 | ||
eba80994 EB |
1800 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
1801 | ||
1802 | PR c/5597 | |
1803 | * c-typeck.c (process_init_element): Flag non-static | |
1804 | initialization of a flexible array member as illegal. | |
1805 | ||
2a78758b AM |
1806 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
1807 | ||
1808 | * config/rs6000/t-linux64: New. | |
1809 | * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and | |
1810 | t-ppccomm. Use t-rs6000 and t-linux64. | |
1811 | (powerpc64-*-gnu* <tmake_file>): Likewise. | |
bac015e7 AM |
1812 | * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable. |
1813 | * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo. | |
1814 | * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc. | |
2a78758b | 1815 | |
2cb921f4 AH |
1816 | 2002-03-21 Aldy Hernandez <aldyh@redhat.com> |
1817 | ||
eba80994 EB |
1818 | * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check |
1819 | flag_really_no_inline instead of optimize == 0. | |
2cb921f4 | 1820 | |
eba80994 | 1821 | * c-objc-common.c (c_cannot_inline_tree_fn): Same. |
2cb921f4 | 1822 | |
eba80994 | 1823 | * cp/tree.c (cp_cannot_inline_tree_fn): Same. |
2cb921f4 | 1824 | |
eba80994 | 1825 | * flags.h (flag_really_no_inline): New. |
2cb921f4 | 1826 | |
659e5a7a | 1827 | * c-common.c (c_common_post_options): Initialize |
eba80994 | 1828 | flag_really_no_inline. |
2cb921f4 | 1829 | |
eba80994 | 1830 | * toplev.c (flag_really_no_inline): New. |
2cb921f4 | 1831 | |
239b8b9d JJ |
1832 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
1833 | ||
1834 | * config/avr/avr.md (length): Fix length computation for | |
1835 | conditional branches. | |
1836 | ||
43577e6b NB |
1837 | 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk> |
1838 | ||
1839 | * Makefile.in (fold-const.o, stor-layout.o, stmt.o, | |
1840 | sdbout.o, profile.o): Update. | |
1841 | * c-common.c (c_common_nodes_and_builtins): Use pushdecl | |
1842 | langhook. | |
1843 | * c-common.h (gettags): Move here from tree.h. | |
1844 | * c-tree.h (pushdecl, pushlevel, poplevel, set_block, | |
1845 | insert_block, getdecls, kept_level_p, global_bindings_p): New. | |
1846 | * dbxout.c (dbxout_init): Use getdecls langhook. | |
1847 | * expr.c (expand_expr): Use insert_block langhook. | |
1848 | * fold-const.c: Include langhooks.h. | |
1849 | (fold_range_test, fold_binary_op_with_conditional_arg, | |
1850 | fold): Use global_bindings_p langhook. | |
1851 | * integrate.c (expand_inline_function): Use insert_block langhook. | |
1852 | * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL, | |
1853 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P, | |
1854 | LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL, | |
1855 | LANG_HOOKS_GETDECLS): New. | |
1856 | (LANG_HOOKS_INITIALIZER): Update. | |
1857 | * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p | |
1858 | langhook. | |
1859 | * langhooks.h (struct lang_hooks_for_decls): New. | |
1860 | (struct lang_hooks): Update. | |
1861 | * profile.c: Include langhooks.h. | |
1862 | (output_func_start_profiler): Use new langhooks. | |
1863 | * sdbout.c: Include langhooks.h. | |
1864 | (sdbout_init, sdbout_finish): Use getdecls langhook. | |
1865 | * stmt.c: Include langhooks.h. | |
1866 | (expand_fixup, fixup_gotos): Use new langhooks. | |
1867 | * stor-layout.c: Include langhooks.h. | |
1868 | (variable_size): Use global_bindings_p langhook. | |
1869 | * toplev.c (compile_file): Use getdecls langhook. | |
1870 | * tree-inline.c (remap_block): Use insert_block langhook. | |
1871 | * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags, | |
1872 | insert_block, getdecls, kept_level_p, global_bindings_p): Remove. | |
1873 | ||
5b19b10c RH |
1874 | 2002-03-21 Richard Henderson <rth@redhat.com> |
1875 | ||
1876 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic | |
1877 | constants in .data when -fpic. | |
1878 | ||
e05af335 GP |
1879 | 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1880 | ||
1881 | * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux | |
1882 | where appropriate. | |
1883 | ||
60ffc997 TT |
1884 | 2002-03-21 Tom Tromey <tromey@redhat.com> |
1885 | ||
1886 | * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948. | |
1887 | ||
75897075 RK |
1888 | Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1889 | ||
a73afd69 | 1890 | * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse. |
46399021 | 1891 | |
75897075 RK |
1892 | * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT. |
1893 | ||
312687cf EB |
1894 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
1895 | Richard Henderson <rth@redhat.com> | |
1896 | ||
1897 | PR c/5354 | |
1898 | * c-common.c (c_expand_expr): Preserve result of a statement | |
1899 | expression if needed. | |
1900 | ||
f0e1f482 JJ |
1901 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
1902 | ||
1903 | PR bootstrap/4195 | |
1904 | * genrecog.c (maybe_both_true_mode): Remove. | |
1905 | (maybe_both_true_2, write_switch): Revert 2001-07-17 changes. | |
1906 | * machmode.def (Pmode): Likewise. | |
1907 | ||
c14b9960 JW |
1908 | Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com) |
1909 | ||
1910 | * alias.c: (nonlocal_mentioned_p): Use for_each_rtx. | |
1911 | (nonlocal_mentioned_p_1): New function. | |
1912 | (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise. | |
1913 | (nonlocal_set_p, nonlocal_set_p_1): Likewise. | |
1914 | (mark_constant_function): Recognize pure functions. | |
1915 | * rtl.h (global_reg_mentioned_p): New prototype. | |
1916 | * rtlanal.c (global_reg_mentioned_p, | |
1917 | global_reg_mentioned_p_1): New function. | |
1918 | ||
aaa4d130 RO |
1919 | 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1920 | ||
1921 | * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64 | |
1922 | UNIX assert.h. | |
1923 | * fixinc/fixincl.x: Regenerate. | |
1924 | ||
e5c4bd1b JM |
1925 | 2002-03-20 Jason Merrill <jason@redhat.com> |
1926 | ||
1927 | * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0. | |
1928 | ||
852b81bb MM |
1929 | 2002-03-20 Michael Meissner <meissner@redhat.com> |
1930 | ||
1931 | * doc/invoke.texi (Optimize Options): Document that -O2 sets | |
1932 | -fstrict-aliasing. | |
1933 | ||
86d8c251 BW |
1934 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
1935 | ||
1936 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a | |
1937 | ".literal_position" directive before the constant pool. | |
1938 | ||
0a39c350 GP |
1939 | 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1940 | ||
1941 | * doc/contrib.texi (Contributors): Update Geoffrey Keating. | |
1942 | Add Craig Rodrigues. | |
1943 | Add Brad Lucier to testers. | |
1944 | ||
71a83373 JJ |
1945 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
1946 | ||
1947 | PR target/4792 | |
1948 | * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode | |
1949 | to if_then_else. | |
1950 | (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise. | |
1951 | * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached | |
1952 | instead of insn_extract. | |
1953 | ||
a29b099d JJ |
1954 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
1955 | ||
1956 | PR bootstrap/4192 | |
71a83373 | 1957 | * config/fr30/fr30.md (jump): Remove clobber of fixed register. |
a29b099d JJ |
1958 | |
1959 | * genemit.c (output_added_clobbers_hard_reg_p): Only output return | |
1960 | stmt if some case has been output. | |
1961 | ||
048b1c95 JJ |
1962 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
1963 | ||
1964 | PR c/5972 | |
1965 | * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc, | |
1966 | movsfcc_1, movdfcc_1): Add %O2. | |
1967 | * config/i386/i386.c (print_operand): Handle %ON. | |
1968 | Print . before float condition codes in Sun as cmov syntax. | |
1969 | * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as. | |
1970 | * config.gcc (i[34567]86-*-solaris2*): Remove comment which is | |
1971 | no longer true. | |
1972 | ||
f4864588 PB |
1973 | 2002-03-20 Philip Blundell <pb@nexus.co.uk> |
1974 | ||
1975 | * config/arm/arm.c (arm_output_epilogue): Don't generate separate | |
1976 | return instruction if PC was popped. | |
1977 | ||
3a307de4 BW |
1978 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
1979 | ||
1980 | * config/xtensa/xtensa.md: Remove unused type attributes. | |
1981 | (adddi_carry, subddi_carry): Change type attribute to "multi". | |
1982 | ||
048b1c95 | 1983 | 2002-03-19 Dale Johannesen <dalej@apple.com> |
ed7d44bc DJ |
1984 | |
1985 | PR optimization/5999, middle-end/5731 | |
1986 | * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into | |
1987 | multiplications by reciprocals. | |
1988 | ||
7afff7cf NB |
1989 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
1990 | ||
1991 | * Makefile.in: Update. | |
1992 | * c-common.c: Include langhooks.h. | |
1993 | (inline_forbidden_p): Use new hook. | |
1994 | * diagnostic.c: Include langhooks.h. | |
1995 | (format_with_decl, announce_function, | |
1996 | default_print_error_function): Use new hook. | |
1997 | * dwarf2out.c (dwarf2_name): Use new hook. | |
1998 | * function.c: Include langhooks.h. | |
1999 | (init_function_start): Use new hook. | |
2000 | * langhooks-def.h (lhd_decl_printable_name): New. | |
2001 | (LANGHOOKS_DECL_PRINTABLE_NAME): New. | |
2002 | (LANGHOOKS_INITIALIZER): Update. | |
2003 | * langhooks.c (lhd_decl_printable_name): New. | |
2004 | * langhooks.h (struct lang_hooks): New hook. | |
2005 | * toplev.c (decl_name, decl_printable_name): Remove. | |
2006 | (open_dump_file): Use new hook. | |
2007 | (process_options): Remove old hook. | |
2008 | * tree.h (decl_printable_name): Remove. | |
2009 | objc: | |
2010 | * objc-act.c (objc_init): Remove old hook. | |
2011 | (objc_printable_name): Export. | |
2012 | * objc-act.h (objc_printable_name): New. | |
2013 | * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
2014 | ||
f78ce0b7 JB |
2015 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
2016 | ||
2017 | * c-lex.c (cb_file_change): Pass the #inclusion's line number to | |
2018 | the start_source_file debug hook, not the current line number. | |
2019 | ||
15b5aef3 RH |
2020 | 2002-03-19 Richard Henderson <rth@redhat.com> |
2021 | ||
2022 | * flow.c (EH_USES): Provide default. | |
2023 | (calculate_global_regs_live): Use it for EH edges and noreturn calls. | |
2024 | * doc/tm.texi (EH_USES): New. | |
2025 | ||
2026 | * config/ia64/ia64.c (ia64_eh_uses): New. | |
2027 | * config/ia64/ia64-protos.h: Update. | |
2028 | * config/ia64/ia64.h (EH_USES): New. | |
2029 | ||
02a7a3fd RH |
2030 | 2002-03-19 Richard Henderson <rth@redhat.com> |
2031 | ||
2032 | * varasm.c (output_constant_def): Fix stupid typo. | |
2033 | ||
93f82d60 RH |
2034 | 2002-03-19 Richard Henderson <rth@redhat.com> |
2035 | ||
2842be05 | 2036 | PR 5879 |
93f82d60 RH |
2037 | * except.c (current_function_has_exception_handlers): New. |
2038 | * except.h: Declare it. | |
2039 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it. | |
2040 | Combine tests that disable all sibcalls for the function. | |
2041 | ||
ed4fbfa0 OH |
2042 | 2002-03-19 Olivier Hainque <hainque@act-europe.fr> |
2043 | ||
2044 | * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO | |
2045 | for INTEGER_CST. | |
2046 | ||
ebf0e888 RH |
2047 | 2002-03-19 Richard Henderson <rth@redhat.com> |
2048 | ||
1e82682b | 2049 | PR 5977, 5991 |
ebf0e888 RH |
2050 | * config/ia64/ia64.c: Revert 2002-03-01 patch. |
2051 | * config/ia64/ia64.h (INIT_EXPANDERS): New. | |
2052 | ||
e37b38d7 JB |
2053 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
2054 | ||
2055 | * cppmacro.c (cpp_macro_definition): Emit a space after the macro | |
2056 | name, even if the replacement list contains no tokens, as required | |
2057 | by Dwarf. | |
2058 | ||
2a4ea326 JM |
2059 | 2002-03-19 Jason Merrill <jason@redhat.com> |
2060 | ||
f9d09ae5 JM |
2061 | * varasm.c (globalize_decl): Get the name from the RTL, not |
2062 | DECL_ASSEMBLER_NAME. | |
2063 | ||
2a4ea326 JM |
2064 | * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g. |
2065 | ||
99b96edb BW |
2066 | 2002-03-19 Bob Wilson <bob.wilson@acm.org> |
2067 | ||
2068 | * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3, | |
2069 | subdi_carry): Define. | |
2070 | ||
3774b567 DE |
2071 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
2072 | ||
2073 | * config/rs6000/rs6000.c (rs6000_override_options): Only warn | |
2074 | about -fpic/-fPIC if extra_warnings set. | |
2075 | ||
21ef78aa DE |
2076 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
2077 | ||
2078 | * expr.c (expand_expr): Sign-extend CONST_INT generated from | |
2079 | TREE_STRING_POINTER. | |
0c2fdcdf | 2080 | * fold-const.c (fold): Delete #if 0 ARRAY_REF case. |
21ef78aa | 2081 | |
91d4b3fd RK |
2082 | Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2083 | ||
2084 | * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP | |
2085 | in favor of SP if FRAME_POINTER_REQUIRED is false. | |
2086 | ||
2496c7bd LB |
2087 | 2002-03-19 Lars Brinkhoff <lars@nocrew.org> |
2088 | ||
2089 | * emit-rtl.c (gen_int_mode): New function. | |
2090 | * rtl.h: Prototype for it. | |
2091 | * combine.c (make_extraction, simplify_comparison), expmed.c | |
2092 | (store_bit_field, expand_mult_highpart, expand_divmod), expr.c | |
2093 | (convert_modes, store_field), optabs.c (expand_fix), | |
2094 | simplify-rtx.c (neg_const_int, simplify_unary_real), | |
2095 | ||
2096 | * config/rs6000/rs6000.c, config/rs6000/rs6000.md: | |
2097 | Use it instead of GEN_INT (trunc_int_for_mode (...)). | |
2098 | ||
f735a153 JJ |
2099 | 2002-03-19 Jakub Jelinek <jakub@redhat.com> |
2100 | ||
2101 | PR c/5656 | |
2102 | * langhooks.h (struct lang_hooks_for_tree_inlining): Add | |
2103 | convert_parm_for_inlining. | |
2104 | * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
2105 | Define. | |
2106 | * langhooks-def.h: Likewise. | |
2107 | * objc/objc-lang.c: Likewise. | |
2108 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New | |
2109 | function. | |
2110 | * tree-inline.c (initialize_inlined_parameters): | |
2111 | Call convert_parm_for_inlining lang hook if needed. | |
2112 | * c-typeck.c (c_convert_parm_for_inlining): New function. | |
2113 | * c-tree.h (c_convert_parm_for_inlining): Add prototype. | |
2114 | ||
1929c971 MM |
2115 | 2002-03-18 Mark Mitchell <mark@codesourcery.com> |
2116 | ||
b216cd4a | 2117 | * calls.c (precompute_arguments): Do not assume that temporaries |
1929c971 MM |
2118 | can be destroyed after expanding the argument. |
2119 | (expand_call): Likewise. | |
2120 | ||
c79ca0ac EC |
2121 | 2002-03-15 Eric Christopher <echristo@redhat.com> |
2122 | ||
2123 | * config/mips/mips.md (movdf_internal2): Add two new move constraints. | |
2124 | Fix register preference on last change. | |
2125 | * config/mips/mips.c (mips_return_in_memory): New function. | |
2126 | * config/mips/mips.h (RETURN_IN_MEMORY): Use. | |
2127 | * config/mips/mips-protos.h: Declare. | |
2128 | * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above. | |
2129 | * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults. | |
2130 | ||
07e2e444 AO |
2131 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
2132 | ||
1bfbbbcf AO |
2133 | * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to |
2134 | a register too. | |
2135 | (anddi3, iorsi3): Likewise. | |
2136 | ||
c066429e AO |
2137 | * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't |
2138 | use %gprel for symbols that are going to be placed in linkonce | |
2139 | sections. | |
2140 | ||
07e2e444 AO |
2141 | * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate |
2142 | RETURN_ADDRESS_POINTER_REGNUM to $ra. | |
2143 | (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is | |
2144 | not needed. Disregard leaf_function_p(). | |
2145 | (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to | |
2146 | mips16 frame pointer. | |
2147 | * config/mips/mips.md (store ra): Only to small SP offsets. | |
2148 | 2001-08-22 Graham Stott <grahams@redhat.com> | |
2149 | * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function | |
2150 | return a REG rtx for the return address register. | |
2151 | ||
eb8e00ea BW |
2152 | 2002-03-18 Bob Wilson <bob.wilson@acm.org> |
2153 | ||
2154 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat | |
2155 | constant-pool addresses as "mode-dependent". | |
2156 | (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments. | |
2157 | ||
cbb92744 JJ |
2158 | 2002-03-18 Jakub Jelinek <jakub@redhat.com> |
2159 | ||
2160 | PR target/5740 | |
2161 | * expr.c (emit_group_load): Use extract_bit_field if | |
2162 | needed for CONCAT arguments. | |
2163 | ||
657d9449 RE |
2164 | 2002-03-18 Richard Earnshaw <rearnsha@arm.com> |
2165 | ||
91f3a802 | 2166 | PR target/4863 |
657d9449 RE |
2167 | * arm.md (tablejump): Make this a define_expand. For PIC add the |
2168 | offset to the base of the table. | |
2169 | (thumb_tablejump): Matcher for Thumb tablejump insn. | |
2170 | * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries | |
2171 | as the difference of two labels. | |
2172 | * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
2173 | * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump | |
2174 | tables in the code. | |
2175 | * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. | |
2176 | * arm.c (get_jump_table_size): If the table is not in the text | |
2177 | section, return zero. | |
c79ca0ac | 2178 | |
5d5603e2 BS |
2179 | 2002-03-18 Bernd Schmidt <bernds@redhat.com> |
2180 | ||
2181 | * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead | |
2182 | of gen_rtx_SUBREG. | |
2183 | (arm_reload_out_hi): Use gen_lowpart instead of | |
2184 | gen_rtx_SUBREG to access QImode components. | |
2185 | * config/arm/arm.md: Disable zero_extend split for QImode | |
2186 | subregs in BIG_ENDIAN mode. | |
2187 | (storehi_bigend): Match use of least significant byte. | |
2188 | (storeinthi): Remove extraneous SUBREG. | |
66c17b64 | 2189 | Add missing construction of operands[2]. |
5d5603e2 BS |
2190 | (movhi): Use gen_lowpart in place of gen_rtx_SUBREG. |
2191 | (movqi): Use gen_lowpart in place of gen_rtx_SUBREG. | |
2192 | Replace gen_rtx (SUBREG) with gen_rtx_SUBREG. | |
2193 | ||
df15fbc7 AH |
2194 | 2002-03-18 Aldy Hernandez <aldyh@redhat.com> |
2195 | ||
2496c7bd LB |
2196 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to |
2197 | any_operand. | |
df15fbc7 | 2198 | |
b83b7fa3 RH |
2199 | 2002-03-17 Richard Henderson <rth@redhat.com> |
2200 | ||
2201 | * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns | |
2202 | explicitly. | |
2203 | ||
6f7c00fe HPN |
2204 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
2205 | ||
2206 | * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI | |
2207 | (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)). | |
2208 | ||
155038f2 KG |
2209 | 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2210 | ||
720d42fa KG |
2211 | * ifcvt.c (dead_or_predicable): Fix uninitialized variable. |
2212 | ||
155038f2 KG |
2213 | * predict.c (estimate_bb_frequencies): Delete unused variables. |
2214 | ||
e6542f4e RH |
2215 | 2002-03-17 Richard Henderson <rth@redhat.com> |
2216 | ||
2217 | * config/ia64/ia64.c (ia64_attribute_table): Move before | |
2218 | targetm definition. Make static. | |
2219 | ||
52dabb6c NB |
2220 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
2221 | ||
2222 | * c-common.h (yyparse, c_common_parse_file): New. | |
2223 | * c-lang.c: Include c-common.h. | |
2224 | (LANG_HOOKS_PARSE_FILE): Redefine. | |
2225 | * c-lex.c: Include c-common.h. | |
2226 | (yyparse): Rename c_common_parse_file. Call yyparse. | |
2227 | * c-parse.in (yyparse): Remove macro. | |
2228 | * c-tree.h (yyparse_1): Remove. | |
2229 | * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New. | |
2230 | (LANG_HOOKS_INITIALIZER): Update. | |
2231 | * langhooks.h (struct lang_hoooks): New hook parse_file. | |
2232 | * toplev.c (compile_file): Use parse_file hook. | |
2233 | * tree.h (yyparse): Remove. | |
e6542f4e | 2234 | * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine. |
52dabb6c | 2235 | |
b5ffe606 HPN |
2236 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
2237 | ||
ba82f58b HPN |
2238 | * config/mmix/mmix.md ("truncdfsf2"): Correct operator is |
2239 | float_truncate, not fix. | |
2240 | ("*truncdfsf2_real"): Ditto. | |
2241 | ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. | |
2242 | ||
b5ffe606 HPN |
2243 | * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. |
2244 | ||
c8d1b2b7 AO |
2245 | 2002-03-16 Alexandre Oliva <aoliva@redhat.com> |
2246 | ||
cfb773f9 AO |
2247 | * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp |
2248 | (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses | |
2249 | where appropriate. Make the second reference to | |
2250 | leaf_function_p a function call, as intended. Reindented. | |
2251 | ||
4dffef52 AO |
2252 | * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16. |
2253 | * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'. | |
2254 | ||
4f5bd6d7 AO |
2255 | * config/mips/mips.md (addsi3, adddi3): Use scratch register to |
2256 | add register to non-constant into sp. | |
2257 | ||
c8d1b2b7 AO |
2258 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New. |
2259 | * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose. | |
2260 | (mips16_gp_pseudo_rtx): Lose. | |
2261 | (INIT_EXPANDERS): Deleted. | |
2262 | * config/mips/mips.c (mips_init_machine_status): New. | |
2263 | (mips_free_machine_status): New. | |
2264 | (mips_mark_machine_status): New. | |
2265 | (override_options): Set them. | |
2266 | (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to... | |
2267 | (struct machine_function): ... new. Replaced all references. | |
2268 | (mips_add_gc_roots): Don't mark them. | |
2269 | (embedded_pic_fnaddr_reg): New, extracted from... | |
2270 | (embedded_pic_offset): ... here. | |
2271 | * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg. | |
2272 | (movsi): Likewise. | |
2273 | ||
b3124fac NB |
2274 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
2275 | ||
2276 | * cppinit.c: Revert -MD removal. | |
2277 | ||
121449b6 SC |
2278 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2279 | ||
2280 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use | |
2281 | soft registers by default for 68HC12. | |
2282 | (m68hc11_conditional_register_usage): Don't use Z register for 68HC12 | |
2283 | when compiling with -fomit-frame-pointer. | |
2284 | (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12. | |
2285 | (expand_epilogue): Likewise. | |
2286 | (m68hc11_gen_rotate): Use exg when rotating by 8. | |
2287 | ||
840e2ff1 SC |
2288 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2289 | ||
2290 | * config/m68hc11/m68hc11-protos.h (ix_reg): Declare. | |
2291 | * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources. | |
2292 | (splits): Remove unused add splits. | |
2293 | ("*addhi3_68hc12"): Tune constraints. | |
2294 | ("addhi_sp"): Try to use X instead of Y in all cases and if the | |
2295 | constant fits in 8-bits and D is dead use abx/aby instructions. | |
2296 | ("*addhi3"): Remove extern declaration of ix_reg. | |
2297 | ("*subsi3"): Optimize and provide new split. | |
2298 | ("subhi3"): Cleanup. | |
2299 | ("*subhi3_sp"): Avoid saving X if we know it is dead. | |
2300 | (arith splits): For 68hc12 save the address register on the stack | |
2301 | and do the arithmetic operation with a pop. | |
2302 | ||
3c9a5efe SC |
2303 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2304 | ||
2305 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid | |
2306 | allocating QImode in address registers. | |
2307 | ("*movqi_m68hc11"): Likewise. | |
2308 | ||
e41f3392 JH |
2309 | Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz> |
2310 | ||
2311 | * cfgcleanup.c (cleanup_cfg): Fix updating of liveness. | |
2312 | ||
576786b0 NB |
2313 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
2314 | ||
2315 | * cppinit.c (print_help): Display -MD and -MMD. | |
2316 | Don't display usage string. Update assertion syntax and | |
2317 | typo. | |
2318 | (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD. | |
2319 | (cpp_handle_option): Update. | |
2320 | ||
1ac458d4 CD |
2321 | 2002-03-15 Chris Demetriou <cgd@broadcom.com> |
2322 | ||
2323 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an | |
2324 | MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC, | |
2325 | and define it so that regardless of target CPU size, | |
2326 | __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms | |
2327 | of "int" rather than "long." | |
2328 | ||
1fcd592b RH |
2329 | 2002-03-15 Richard Henderson <rth@redhat.com> |
2330 | ||
2331 | * config/alpha/alpha.c (alpha_va_arg): Manipulate the type | |
2332 | size as a tree. | |
2333 | ||
a0df6910 SC |
2334 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2335 | ||
2336 | * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst. | |
2337 | ("tstqi" split): Avoid using memory for tstqi on address register. | |
2338 | (splits): Remove constraints. | |
2339 | ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12. | |
2340 | ("cmpdf", "cmpsf"): Remove since not used. | |
2341 | ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2. | |
2342 | (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing. | |
2343 | ||
015a2e59 SC |
2344 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2345 | ||
2346 | * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case. | |
2347 | ("neghi2"): Tighten constraints. | |
2348 | ("one_cmplsi2"): Optimize and simplify split. | |
2349 | * config/m68hc11/larith.asm (__negsi2): Likewise for library. | |
2350 | ||
cd28557c SC |
2351 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2352 | ||
2353 | * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints | |
2354 | and split of AND operation to clear the upper bits. | |
2355 | ("*logicalsi3_zextqi"): Likewise. | |
2356 | ("*logicallhi3_zexthi_ashift8"): Likewise. | |
2357 | ("*logicalsi3_silshr16"): Likewise. | |
2358 | ("logicalsi3_silshl16"): Likewise. | |
2359 | ("anddi3", "iordi3", "xordi3" splits): Remove constraints. | |
2360 | ||
932657df SC |
2361 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2362 | ||
2363 | * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function. | |
2364 | (m68hc11_indirect_p): New function. | |
2365 | (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12. | |
2366 | (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of | |
2367 | TARGET_M6812. | |
2368 | (asm_print_register): Likewise. | |
2369 | * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare. | |
2370 | (m68hc11_indirect_p): Declare. | |
2371 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'. | |
2372 | (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New. | |
2373 | (TARGET_SWITCHES): New option -mrelax. | |
2374 | * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for | |
2375 | destination. | |
2376 | ("iorsi3", "xorsi3"): Likewise. | |
2377 | ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand. | |
2378 | ("*andhi3_mem"): New to handle destination in memory with bclr | |
2379 | and a scratch register. | |
2380 | ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise. | |
2381 | ("*andhi3_const"): New when operand2 is constant. | |
2382 | ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise. | |
2383 | ("*andhi3_gen"): Cleanup of the old "andhi3". | |
2384 | ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise. | |
2385 | ("xorqi3"): Update constraints. | |
2386 | ||
fdffea1a SC |
2387 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2388 | ||
2389 | * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look | |
2390 | for reg_equiv_memory_loc when the operand is a register that does | |
2391 | not get a hard register (stack location). | |
2392 | (tst_operand): After reload, accept all memory operand. | |
2393 | (symbolic_memory_operand): Fix detection of symbolic references. | |
2394 | * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12 | |
2395 | accept symbols and any constant. | |
2396 | ||
6272bc68 SC |
2397 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2398 | ||
2399 | * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC | |
2400 | note on the insn that sets the soft frame register. | |
2401 | (must_parenthesize): ix and iy are also reserved names. | |
2402 | (print_operand_address): One more place where parenthesis are required | |
2403 | to avoid confusion with register names. | |
2404 | (m68hc11_gen_movhi): Allow push of stack pointer. | |
2405 | (m68hc11_check_z_replacement): Fix handling of parallel with a | |
2406 | clobber. | |
2407 | (m68hc11_z_replacement): Must update the REG_INC notes to tell what | |
2408 | the replacement register is. | |
2409 | * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS | |
2410 | and D8_REGS classes. | |
2411 | (MODES_TIEABLE_P): All modes are tieable except QImode. | |
2412 | ||
1d2d9def SC |
2413 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2414 | ||
2415 | * config/m68hc11/larith.asm (___adddi3): Optimize saving of result. | |
2416 | (___subdi3): Likewise. | |
2417 | (__mulsi3, __mulhi32): Avoid using _.tmp scratch location. | |
2418 | (__map_data_section): Optimize 68hc11 case. | |
2419 | ||
a0ccf503 SC |
2420 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
2421 | ||
2422 | * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher | |
2423 | than a shift to avoid adding a register with itself. | |
2424 | (m68hc11_memory_move_cost): Take into account NO_REGS. | |
2425 | (m68hc11_register_move_cost): Update and use memory move cost | |
2426 | for soft registers. | |
2427 | (m68hc11_address_cost): Make cost of valid offset not 0 so that | |
2428 | it gives more opportunities to cse to optimize. | |
2429 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode. | |
2430 | * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update. | |
2431 | ||
6e4ae815 MM |
2432 | 2002-03-15 Mark Mitchell <mark@codesourcery.com> |
2433 | ||
2434 | * c-common.c (statement_code_p): Handle CLEANUP_STMT. | |
2435 | * c-common.def (CLEANUP_STMT): New tree node. | |
2436 | * c-common.h (CLEANUP_DECL): New macro. | |
2437 | (CLEANUP_EXPR): Likewise. | |
2438 | * c-semantics.c (expand_stmt): Handle CLEANUP_STMT. | |
2439 | * expr.c (expand_expr): Tidy. | |
2440 | * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT. | |
2441 | * tree-inline.c (initialize_inlined_parameters): Clean up | |
2442 | new local variables. | |
2443 | ||
a42519be JJ |
2444 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
2445 | ||
2446 | PR bootstrap/4128 | |
2447 | * config/sparc/sparc.c (gen_v9_scc): Move early clobber test | |
2448 | before movrXX only, use reg_overlap_mentioned_p. | |
2449 | Only special case NE if just one insn can be generated. | |
2450 | ||
15409448 JM |
2451 | 2002-03-15 Jason Merrill <jason@redhat.com> |
2452 | ||
2453 | * varasm.c (assemble_variable): Call resolve_unique_section before | |
2454 | checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL | |
2455 | of error_mark_node. | |
2456 | ||
3a4edb44 RE |
2457 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
2458 | ||
2459 | PR target/5170 | |
2460 | * arm.md (split pattern for thumb shiftable immediates): Add comment | |
2461 | explaining non-obvious test. | |
2462 | ||
32defa36 RE |
2463 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
2464 | ||
2465 | PR target/5712 | |
2466 | * arm.md (movaddr, movaddr_insn): Delete. | |
2467 | ||
5cc90635 JM |
2468 | 2002-03-15 Jason Merrill <jason@redhat.com> |
2469 | ||
2470 | * toplev.c (wrapup_global_declarations): Clarify variable handling. | |
2471 | -fkeep-static-consts doesn't apply to comdats. | |
2472 | ||
ecb0eece RH |
2473 | 2002-03-14 Richard Henderson <rth@redhat.com> |
2474 | ||
2475 | * c-decl.c: Include c-pragma.h. | |
2476 | (start_decl, start_function): Invoke maybe_apply_pragma_weak. | |
2477 | (finish_function): Tidy. | |
2478 | * c-pragma.c: Include c-common.h. | |
2479 | (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New. | |
2480 | (handle_pragma_weak): Use them. | |
2481 | (init_pragma): Register pending_weaks. | |
2482 | * c-pragma.h (maybe_apply_pragma_weak): Declare. | |
2483 | * print-tree.c (print_node): Print DECL_WEAK. | |
2484 | * varasm.c (mark_weak_decls): Remove. | |
2485 | (remove_from_pending_weak_list): Remove. | |
2486 | (add_weak): Remove. | |
2487 | (asm_emit_uninitialised): Call globalize_decl for weak commons. | |
2488 | (weak_decls): Make a tree_list. | |
2489 | (declare_weak): Cons weak_decls directly. | |
2490 | (globalize_decl): Remove weak_decls elements directly. | |
2491 | (weak_finish): Simplify weak_decls walk. Don't weaken unused | |
2492 | symbols. Don't pretend to handle aliases. | |
2493 | (init_varasm_once): Update weak_decls registry. | |
2494 | * Makefile.in: Update dependencies. | |
2495 | ||
98d2b17e RH |
2496 | 2002-03-14 Richard Henderson <rth@redhat.com> |
2497 | ||
2498 | PR target/5312 | |
2499 | * config/ia64/ia64.c: Include tm_p.h last. | |
2500 | (gen_nop_type): Remove duplicate definition. | |
2501 | (cycle_end_fill_slots): Set sched_data for second L slot. | |
2502 | (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots. | |
2503 | (nop_cycles_until): Fix typos. | |
2504 | ||
f2f4927e JJ |
2505 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
2506 | ||
2507 | PR optimization/5891 | |
2508 | * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. | |
2509 | ||
5025a549 DM |
2510 | 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com> |
2511 | ||
2512 | * config/ia64/unwind-ia64.c: Handle copy_state and label_state | |
2513 | descriptors correctly. | |
2514 | ||
03e9dbc9 MM |
2515 | 2002-03-14 Michael Meissner <meissner@redhat.com> |
2516 | ||
2517 | * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to | |
2518 | 100, allowing MAX_UNROLLED_INSNS to be overridden. | |
2519 | ||
2520 | * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by | |
2521 | --param. | |
2522 | ||
2523 | * unroll.c (params.h): Include. | |
2524 | (MAX_UNROLLED_INSNS): Delete, now in params.h. | |
2525 | ||
2526 | * doc/invoke.texi (--param max-unroll-insns): Document. | |
2527 | ||
2528 | * Makefile.in (unroll.o): Add $(PARAMS_H) dependency. | |
2529 | ||
12249385 RE |
2530 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
2531 | ||
2532 | * arm.md: Fix warnings about constraints in peepholes and splits. | |
2533 | ||
f0cce04a ZW |
2534 | 2002-03-14 Zack Weinberg <zack@codesourcery.com> |
2535 | ||
2536 | * cpphash.h (struct lexer_state): Remove line_extension member. | |
2537 | * cpplib.c (dequote_string, do_linemarker): New functions. | |
2538 | (linemarker_dir): New data object. | |
2539 | (DIRECTIVE_TABLE): No longer need to interpret #line in | |
2540 | preprocessed source. Delete obsolete comment about return | |
2541 | values of handlers. | |
2542 | (end_directive, directive_diagnostics, _cpp_handle_directive): | |
2543 | Don't muck with line_extension. | |
2544 | (directive_diagnostics): No need to issue warnings for | |
2545 | linemarkers here. | |
2546 | (_cpp_handle_directive): Issue warnings for linemarkers here, | |
2547 | when appropriate. Dispatch linemarkers to do_linemarker, not | |
2548 | do_line. | |
2549 | (do_line): Code to handle linemarkers split out to do_linemarker. | |
2550 | Convert escape sequences in filename argument, both places. | |
2551 | ||
2552 | * cppmacro.c (quote_string): Rename cpp_quote_string and | |
2553 | export. All callers changed. | |
2554 | * cpplib.h (cpp_quote_string): Prototype. | |
2555 | * cppmain.c (print_line): Call cpp_quote_string on to_file | |
2556 | before printing it. | |
2557 | ||
2558 | * doc/cpp.texi: Document that escapes are now interpreted in | |
2559 | #line and in linemarkers, and that non-printing characters are | |
2560 | converted to octal escapes when linemarkers are generated. | |
2561 | ||
2562 | Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz> | |
83a49407 JH |
2563 | |
2564 | * emit-rtl.c (try_split): Use delete_insns. | |
2565 | * recog.c (split_all_insns): Fix terminating condition. | |
2566 | ||
c882c7ac RE |
2567 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
2568 | Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
2569 | ||
2570 | PR target/5828 | |
2571 | * arm.c (arm_output_epilogue): Fix floating-point register save | |
2572 | adjustment when using a frame pointer. | |
2573 | ||
3f26edaa RS |
2574 | 2002-03-14 Richard Sandiford <rsandifo@redhat.com> |
2575 | ||
2576 | * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. | |
2577 | * config/mips/mips.c (compute_frame_size): Retrofit them here. | |
2578 | (save_restore_insns, mips_expand_epilogue): And here. | |
2579 | (build_mips16_call_stub): And here. | |
2580 | (mips_function_value): Use the new macros to decide whether a single | |
2581 | or complex float can be returned in floating-point registers. Return | |
2582 | a parallel rtx in the complex case. | |
2583 | ||
1e3881c2 JH |
2584 | Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz> |
2585 | ||
2586 | * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup | |
2587 | call after liveness analysis. | |
2588 | ||
2589 | * recog.c (split_insn): Use delete_insn_and_edges. | |
2590 | ||
2591 | * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump | |
2592 | instructions to have branch prediction notes. | |
2593 | * ia64reorg.c (ia64_reorg): Do not rebuild CFG. | |
2594 | ||
200ef634 GK |
2595 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
2596 | ||
2597 | * configure.in: Don't pass -Wno-long-long to a ADA compiler | |
2598 | that doesn't support it. | |
2599 | * configure: Regenerate. | |
2600 | ||
0b82d204 JJ |
2601 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
2602 | ||
2603 | PR target/5626 | |
2604 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
2605 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
2606 | inverted_fp_branch): Adjust calls to output_cbranch. | |
2607 | Set length attribute. | |
2608 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to | |
2609 | output_v9branch. Set length attribute. | |
2610 | * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New | |
2611 | predicates. | |
2612 | (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. | |
2613 | (output_cbranch): Likewise. Handle far branches. | |
2614 | (output_v9branch): Handle far branches. | |
2615 | * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): | |
2616 | Adjust prototypes. | |
2617 | * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and | |
2618 | noov_compare64_op predicates. | |
2619 | ||
7a8de19b JM |
2620 | 2002-03-13 Jason Merrill <jason@redhat.com> |
2621 | ||
2622 | * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr | |
2623 | into the function and constify it. | |
2624 | * gthr-dce.h, gthr-solaris.h: Likewise. | |
2625 | ||
2a55fd42 DE |
2626 | 2002-03-13 David Edelsohn <edelsohn@gnu.org> |
2627 | ||
2628 | * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. | |
2629 | * config/rs6000/rs6000.c (rs6000_va_arg): Use | |
2630 | std_expand_builtin_va_arg if not ABI_V4. | |
2631 | ||
19c5b1cf JM |
2632 | 2002-03-13 Jason Merrill <jason@redhat.com> |
2633 | ||
2634 | * varasm.c (globalize_decl): New fn. | |
2635 | (assemble_start_function): Use it. | |
2636 | (asm_emit_uninitialized): Use it. | |
2637 | (assemble_alias): Use it. | |
2638 | (assemble_variable): Use it. | |
2639 | ||
2a15f5e1 HPN |
2640 | 2002-03-13 Hans-Peter Nilsson <hp@axis.com> |
2641 | ||
2642 | * config/cris/cris.c (cris_target_asm_function_prologue): Revert | |
f0cce04a | 2643 | 2002-03-12 internal visibility change. |
2a15f5e1 HPN |
2644 | (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding |
2645 | visibility into SYMBOL_REF_FLAG. | |
2646 | ||
c0a3eeac UW |
2647 | 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com> |
2648 | ||
2649 | * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with | |
2650 | VOIDmode operand. Add compile-time optimization for constant results. | |
2651 | ||
a1652cee JM |
2652 | 2002-03-12 Jason Merrill <jason@redhat.com> |
2653 | ||
2654 | * c-typeck.c (convert_for_assignment): Don't allow conversions | |
2655 | between pointers and references. Only allow lvalues to convert to | |
2656 | reference. | |
2657 | ||
c52a375d HP |
2658 | 2002-03-13 Hartmut Penner <hpenner@de.ibm.com> |
2659 | ||
f0cce04a ZW |
2660 | * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code |
2661 | before prologue, to avoid scheduling problems. | |
c52a375d | 2662 | |
e387e99b JJ |
2663 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
2664 | ||
2665 | * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
2666 | (ELIMINABLE_REGS): Add sfp->sp. | |
2667 | (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. | |
2668 | ||
2669 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> | |
09948ece JJ |
2670 | |
2671 | PR optimization/5892 | |
2672 | * config/ia64/ia64.c (rotate_one_bundle): Update current packet. | |
2673 | ||
4061c1a3 JJ |
2674 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
2675 | ||
2676 | * loop.c (basic_induction_var): Don't call convert_modes if mode | |
2677 | classes are different. | |
2678 | ||
5b43fed1 RH |
2679 | 2002-03-12 Richard Henderson <rth@redhat.com> |
2680 | ||
9f53e965 RH |
2681 | PR optimization/5901 |
2682 | * function.c (reposition_prologue_and_epilogue_notes): Position | |
2683 | the markers after/before the last/first insn not deleted. | |
2684 | ||
2685 | 2002-03-12 Richard Henderson <rth@redhat.com> | |
2686 | ||
2687 | PR optimization/5878 | |
5b43fed1 RH |
2688 | * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, |
2689 | config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h | |
2690 | (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
2691 | ||
2692 | * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, | |
2693 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set | |
2694 | PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. | |
2695 | ||
2696 | * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. | |
2697 | * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. | |
2698 | (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK | |
2699 | also. Don't set it if not flag_pic. | |
2700 | * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM | |
2701 | to be INVALID_REGNUM when not used. | |
2702 | ||
4e9bb42b AH |
2703 | 2002-03-13 Aldy Hernandez <aldyh@redhat.com> |
2704 | ||
5b43fed1 RH |
2705 | * expmed.c (store_bit_field): Reset alias set for memory. |
2706 | (extract_bit_field): Same. | |
4e9bb42b | 2707 | |
2f9834e8 KG |
2708 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2709 | ||
2710 | * c-common.c (c_tree_code_type, c_tree_code_length, | |
2711 | c_tree_code_name, add_c_tree_codes): Delete. | |
2712 | * c-common.h (add_c_tree_codes): Delete. | |
2713 | * c-lang.c (tree_code_type, tree_code_length, tree_code_name): | |
2714 | Define. | |
2715 | * c-objc-common.c (c_objc_common_init): Don't call | |
2716 | add_c_tree_codes, instead set lang_unsafe_for_reeval. | |
2717 | * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, | |
2718 | objc_tree_code_name, add_objc_tree_codes): Delete. | |
2719 | (objc_init): Don't call add_objc_tree_codes. | |
2720 | * objc/objc-lang.c (tree_code_type, tree_code_length, | |
2721 | tree_code_name): Define. | |
2722 | * toplev.c (lang_independent_init): Don't set | |
2723 | tree_code_length[IDENTIFIER_NODE]. | |
2724 | * tree.c (tree_code_type, tree_code_length, tree_code_name): | |
2725 | Delete definitions, moved to language front-ends. | |
2726 | * tree.def (IDENTIFIER_NODE): Hardwire the length. | |
2727 | * tree.h (tree_code_type, tree_code_length, tree_code_name): | |
2728 | Const-ify. | |
2729 | (tree_code_length): Change type to unsigned char. | |
2730 | ||
36ad2436 RH |
2731 | 2002-03-12 Richard Henderson <rth@redhat.com> |
2732 | ||
2733 | * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 | |
2734 | internal visibility change. | |
2735 | ||
0ae02efa BW |
2736 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
2737 | ||
2738 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Use | |
2739 | validize_mem() instead of change_address to avoid clobbering | |
2740 | memory attributes. | |
2741 | ||
35bb2bee NB |
2742 | 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
2743 | ||
2744 | * c-lex.h (position_after_whitespace): Remove. | |
2745 | ||
62ae2529 JJ |
2746 | 2002-03-12 Jakub Jelinek <jakub@redhat.com> |
2747 | ||
2748 | * c-lex.c (cb_ident, c_lex): Remove unnecessary cast. | |
2749 | (lex_string): Use unsigned char pointers. | |
2750 | ||
6a45951f UW |
2751 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
2752 | ||
2753 | * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent | |
2754 | is not a valid memory_operand. | |
2755 | ||
e2fb85da BW |
2756 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
2757 | ||
2758 | * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. | |
2759 | * config/xtensa/lib1funcs.asm: Fix copyright to include | |
2760 | special case for libgcc files. | |
2761 | (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. | |
2762 | (__divsi3): Likewise. | |
2763 | (__umodsi3): Likewise. | |
2764 | (__modsi3): Likewise. | |
2765 | * config/xtensa/lib2funcs.S: Fix copyright to include | |
2766 | special case for libgcc files. | |
2767 | ||
5b8619f8 TR |
2768 | 2002-03-12 Tom Rix <trix@redhat.com> |
2769 | ||
2770 | * collect2.c (resolve_lib_name): Move outside of | |
f0cce04a | 2771 | OBJECT_FORMAT_COFF ifdef. |
5b8619f8 TR |
2772 | (ignore_library): Same. |
2773 | ||
089c8f97 BW |
2774 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
2775 | ||
2776 | * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define. | |
2777 | ||
958c70ff BW |
2778 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
2779 | ||
2780 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch | |
2781 | to function_section before writing out the constant pool. | |
2782 | ||
a65c591c DE |
2783 | 2002-03-12 David Edelsohn <edelsohn@gnu.org> |
2784 | ||
2785 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and | |
2786 | zero_constant. | |
2787 | * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting. | |
2788 | ||
2789 | 2002-03-12 Alan Modra <amodra@bigpond.net.au> | |
2790 | ||
2791 | * config/rs6000/rs6000.md (addsi3): Optimize sign extension. | |
2792 | (adddi3): Likewise. | |
2793 | (movdf): Likewise. | |
2794 | (movdi): Likewise. | |
2795 | (cmpsi splitter): Likewise. | |
2796 | (modsi3): Fail if <= 0. | |
2797 | * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove | |
2798 | redundant test when HOST_BITS_PER_WIDE_INT != 32. | |
2799 | (reg_or_sub_cint64_operand): Likewise. | |
2800 | (num_insns_constant_wide): Optimize sign extension. | |
2801 | (rs6000_legitimize_address): Likewise. | |
2802 | ||
17720332 AM |
2803 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
2804 | ||
2805 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
2806 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
2807 | ||
cd49f073 AM |
2808 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
2809 | ||
2810 | * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in | |
2811 | address calculation. | |
2812 | ||
6a4e49c1 UW |
2813 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
2814 | ||
2815 | * config/s390/s390.md (reload_insi, reload_indi): Change mode of | |
2816 | scratch register to DImode / TImode. | |
2817 | config/s390/s390.c (s390_expand_plus_operand): Make sure scratch | |
2818 | register used does not overlap the target. | |
2819 | ||
54b6670a KG |
2820 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2821 | ||
2822 | * Makefile.in (debug.o): Depend on debug.h. | |
2823 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. | |
2824 | * debug.c (do_nothing_debug_hooks): Likewise. | |
2825 | * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, | |
2826 | sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, | |
2827 | dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. | |
2828 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
2829 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
2830 | * integrate.c (output_inline_function): Likewise. | |
2831 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
2832 | * sdbout.c (sdb_debug_hooks): Likewise. | |
2833 | * toplev.c (debug_hooks): Likewise. | |
2834 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
2835 | ||
2465bf76 KG |
2836 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2837 | ||
2838 | * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, | |
2839 | dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, | |
2840 | m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, | |
2841 | ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, | |
2842 | v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. | |
2843 | * defaults.h (POINTER_SIZE): Define. | |
2844 | * doc/tm.texi (POINTER_SIZE): Document default. | |
2845 | ||
53f3e9ca KG |
2846 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2847 | ||
2848 | * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. | |
2849 | ||
44d3eb5b RH |
2850 | 2002-03-11 Richard Henderson <rth@redhat.com> |
2851 | ||
2852 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges | |
2853 | if rebuild_label_notes_after_reload. | |
2854 | ||
4a085d2e HPN |
2855 | 2002-03-12 Hans-Peter Nilsson <hp@axis.com> |
2856 | ||
2857 | * config/cris/cris.c (cris_target_asm_function_prologue): Do not | |
2858 | emit pic register load if "internal" visibility. | |
2859 | (cris_print_operand): Avoid traditional-warning for 0xffffffff. | |
2860 | (cris_expand_builtin_va_arg): Do all computations on trees. | |
2861 | ||
bc204393 RH |
2862 | 2002-03-11 Richard Henderson <rth@redhat.com> |
2863 | ||
2864 | * rtlanal.c: Include recog.h. | |
2865 | (keep_with_call_p): Fix thinko. | |
2866 | * Makefile.in (rtlanal.o): Update dependencies. | |
2867 | ||
6b8b9d7b CM |
2868 | 2002-03-11 Chris Meyer <cmeyer@gatan.com> |
2869 | ||
2870 | * genflags.c (gen_insn): Use IS_VSPACE. | |
2871 | * genoutput.c (output_insn_data): Likewise. | |
2872 | (process_template): Likewise. | |
2873 | ||
6c40858f RH |
2874 | 2002-03-11 Richard Henderson <rth@redhat.com> |
2875 | ||
2876 | * toplev.c (rest_of_compilation): Don't compile if we've had errors. | |
2877 | ||
40adaa27 NB |
2878 | 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
2879 | ||
2880 | * Makefile.in: Update. | |
6c40858f | 2881 | * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi. |
40adaa27 | 2882 | Update documentation. |
6c40858f RH |
2883 | * doc/gcc.texi: Include cppopts.texi and cppenv.texi. |
2884 | * doc/cpp.texi: Include cppopts.texi and cppenv.texi. | |
40adaa27 | 2885 | |
049b03f4 ZW |
2886 | 2002-03-11 Zack Weinberg <zack@codesourcery.com> |
2887 | ||
2888 | * Makefile.in: Give texi2pod its input file as a command line | |
2889 | argument, not on stdin. | |
2890 | ||
61eece67 DN |
2891 | 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu> |
2892 | Daniel Berlin <dan@dberlin.org> | |
2893 | ||
2894 | C++ alias analysis improvement. | |
f0cce04a | 2895 | * alias.c (record_component_aliases): Record aliases for base |
61eece67 DN |
2896 | classes too. |
2897 | ||
a65c591c DE |
2898 | 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
2899 | ||
ff080aba UW |
2900 | * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register. |
2901 | ||
1682dbb1 DR |
2902 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
2903 | ||
fa2d765a DR |
2904 | * toplev.c (vms_fopen): Remove, not needed. |
2905 | ||
6f1fd286 DR |
2906 | * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. |
2907 | ||
b230e057 DR |
2908 | * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. |
2909 | ||
cb9a8e97 DR |
2910 | * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space |
2911 | for FP, already done later. | |
2912 | ||
1682dbb1 DR |
2913 | * toplev.c (debug_args): Add entry for VMS_DEBUG. |
2914 | * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. | |
2915 | ||
3fcaac1d RS |
2916 | 2002-03-11 Richard Sandiford <rsandifo@redhat.com> |
2917 | ||
2918 | * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New. | |
2919 | (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if | |
2920 | LARGEST_EXPONENT_IS_NORMAL for the given mode. | |
2921 | (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO. | |
2922 | * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO. | |
2923 | (ediv, emul, eldexp, esqrt): Likewise. | |
2924 | (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise. | |
2925 | (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL. | |
2926 | (saturate): New function. | |
2927 | (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL. | |
2928 | (make_nan): Use a saturation value instead of a NaN if | |
2929 | LARGEST_EXPONENT_IS_NORMAL. Warn when this happens. | |
2930 | * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing | |
2931 | inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as | |
2932 | zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO. | |
2933 | (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL. | |
2934 | (_fpmul_parts, _fpdiv_parts): Only round to nearest if | |
2935 | !ROUND_TOWARDS_ZERO. | |
2936 | * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document. | |
2937 | (ROUND_TOWARDS_ZERO): Document. | |
2938 | ||
d25558be AJ |
2939 | 2002-03-11 Andreas Jaeger <aj@suse.de> |
2940 | ||
2941 | * cfg.c (dump_flow_info): Remove unused variable. | |
2942 | ||
c71f9ae7 HPN |
2943 | 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
2944 | ||
2945 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all | |
2946 | computations on trees. | |
2947 | ||
561c9153 RH |
2948 | 2002-03-10 Richard Henderson <rth@redhat.com> |
2949 | ||
932b4e3e | 2950 | PR 5693: |
561c9153 RH |
2951 | * reload.c (copy_replacements_1): New. |
2952 | (copy_replacements): Use it to recurse through the rtx. | |
2953 | ||
26b738be RH |
2954 | 2002-03-10 Richard Henderson <rth@redhat.com> |
2955 | ||
2956 | * loop.c (strength_reduce): Compute number of iterations as | |
2957 | unsigned HOST_WIDE_INT. | |
2958 | ||
8d8a083e RH |
2959 | 2002-03-10 Richard Henderson <rth@redhat.com> |
2960 | ||
2961 | * sched-rgn.c (add_branch_dependences): Don't allow insns that throw | |
2962 | to move away from the end of the block. | |
2963 | ||
32810ba3 NB |
2964 | 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
2965 | ||
2966 | PR preprocessor/5899 | |
2967 | * cppinit.c (init_dependency_output): Don't ignore -dM etc. | |
d25558be | 2968 | |
2b03d201 KG |
2969 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2970 | ||
f90c544c KG |
2971 | * mbchar.c (JIS_state_table, JIS_action_table): Const-ify. |
2972 | ||
2b03d201 KG |
2973 | * attribs.c (decl_attributes): Fix signed/unsigned warning. |
2974 | ||
3ec1b4cb HPN |
2975 | 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com> |
2976 | ||
2977 | * config/mmix/mmix.c: Improve comments. | |
2978 | (mmix_target_asm_function_prologue): Drop variable | |
2979 | empty_stack_frame. Don't allocate unused slot above fp. | |
2980 | (mmix_target_asm_function_epilogue): Mirror prologue changes. | |
2981 | * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have | |
2982 | brace in first column. | |
2983 | (enum reg_class): Ditto. | |
2984 | (FIRST_PARM_OFFSET): Now 0. | |
2985 | (USER_LABEL_PREFIX): Remove #if 0:d definition. | |
2986 | ||
27e486c5 KG |
2987 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2988 | ||
2989 | * combine.c (make_extraction): Fix error in last change. | |
2990 | ||
0139adca KG |
2991 | 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2992 | ||
2993 | * c4x.c (c4x_fp_reglist): Const-ify. | |
2994 | * cris.c (cris_print_operand): Likewise. | |
2995 | * i386.c (ix86_va_arg): Likewise. | |
2996 | * ia64/unwind-ia64.c (unw_decode_table): Likewise. | |
2997 | * m32r.c (m32r_hard_regno_mode_ok): Likewise. | |
2998 | * m32r.h (m32r_hard_regno_mode_ok): Likewise. | |
2999 | * mcore.c (regno_reg_class, mcore_unique_section): Likewise. | |
3000 | * mcore.h (regno_reg_class): Likewise. | |
3001 | * mips.c (gen_int_relational): Likewise. | |
3002 | * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. | |
3003 | * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. | |
a4334c36 | 3004 | * pdp11.c (move_costs): Likewise. |
0139adca KG |
3005 | * pj.h (INITIALIZE_TRAMPOLINE): Likewise. |
3006 | * s390.c (s390_branch_condition_mnemonic, regclass_map): | |
3007 | Likewise. | |
3008 | * s390.h (regclass_map): Likewise. | |
3009 | * sh.c (shift_amounts): Likewise. | |
a4334c36 | 3010 | * sh.md (rotlsi3): Likewise. |
0139adca | 3011 | |
889b90a1 GK |
3012 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
3013 | ||
3014 | * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. | |
3015 | (ne0+5): Use new clobber to generate proper shift pattern. | |
3016 | Patch by Michael Matz <matz@kde.org>. | |
3017 | ||
2877e0ae AS |
3018 | 2002-03-09 Andreas Schwab <schwab@suse.de> |
3019 | ||
3020 | * gcc.c (validate_all_switches): Also handle `%W{...}'. | |
3021 | ||
79b51cd7 GK |
3022 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
3023 | ||
3024 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. | |
3025 | ||
e0f1be5c JJ |
3026 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
3027 | ||
3028 | PR middle-end/5877 | |
3029 | * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW | |
3030 | even for non-representable constants. | |
3031 | ||
0a7ec763 RK |
3032 | Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3033 | ||
93fe8e92 RK |
3034 | * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. |
3035 | * function.c (fixup_var_refs): Add MAY_SHARE parameter. | |
3036 | (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. | |
3037 | (fixup_var_refs_insn, fixup_var_refs_1): Likewise. | |
3038 | (pop_function_context): Compute MAY_SHARE parameter for | |
3039 | fixup_var_refs. | |
3040 | (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. | |
3041 | (gen_mem_addressof): Call fixup_var_refs with new parm. | |
3042 | ||
0a7ec763 RK |
3043 | * combine.c (make_extraction): Don't make extension of CONST_INT. |
3044 | ||
a85cd407 AO |
3045 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
3046 | ||
9445b814 AO |
3047 | * config/mips/mips.c (function_arg_pass_by_reference): Force to 0 |
3048 | in o32 and o64 ABIs. | |
3049 | * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, | |
3050 | but getting fixed-size structs passed in registers regardless of | |
3051 | padding in o32 and o64 ABIs. | |
3052 | ||
a85cd407 AO |
3053 | * config/mips/mips.c (mips_va_arg): Apply big-endianness address |
3054 | offset before loading address of argument passed by transparent | |
3055 | reference. | |
3056 | ||
c51fbe40 JDA |
3057 | 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3058 | ||
3059 | * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete. | |
3060 | ||
918e70dd AO |
3061 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
3062 | ||
3063 | * config/mips/mips.c (mips_expand_prologue): Set regno of vararg | |
3064 | marker such that registers after it are saved. | |
3065 | ||
3070dd00 KG |
3066 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3067 | ||
3068 | * sparc.c (arith_4096_operand): Fix error in last change. | |
3069 | ||
e25d11b0 AO |
3070 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
3071 | ||
3072 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate | |
3073 | defaults for MEABI. | |
3074 | ||
41daaf0e AH |
3075 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
3076 | ||
5b43fed1 RH |
3077 | * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for |
3078 | vectors. | |
41daaf0e | 3079 | |
fa139b00 AH |
3080 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
3081 | ||
5b43fed1 | 3082 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. |
fa139b00 | 3083 | |
c51d95ec JH |
3084 | Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz> |
3085 | ||
3086 | * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been | |
3087 | removed; fix return value. | |
3088 | * combine.c (combine_instructions): Dirtify blocks where we failed to | |
3089 | update liveness; purge dead edges; use update_life_info_in_dirty_blocks. | |
3090 | * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. | |
3091 | ||
3b25fbfe KG |
3092 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3093 | ||
3094 | * gcse.c (insert_insn_end_bb): Fix typo in last change. | |
3095 | ||
189ae0f4 JH |
3096 | Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz> |
3097 | ||
3098 | * recog.c (peephole2_optimize): Re-distribute EH edges. | |
3099 | ||
24965e7a NB |
3100 | 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk> |
3101 | ||
3102 | * expr.c (expand_expr): Use unsave lang hook. | |
3103 | * langhooks-def.h (LANG_HOOKS_UNSAVE): New. | |
3104 | (LANG_HOOKS_INITIALIZER): Update. | |
3105 | * langhooks.h (struct lang_hooks): New hook unsave. | |
3106 | * tree.c (lang_unsave, lang_unsave_expr_now): Remove. | |
3107 | (unsave_expr_1): Remove unused lang_unsave_expr_now. | |
3108 | (unsave_expr_now_r): Rename lhd_unsave. Update. Return input. | |
3109 | (unsave_expr_now): Remove. | |
3110 | * tree.h (unsave_expr_now, lang_unsave, | |
3111 | lang_unsave_expr_now): Remove. | |
3112 | (lhd_unsave): New. | |
3113 | ||
1e4e95d6 AJ |
3114 | 2002-03-08 Andreas Jaeger <aj@suse.de> |
3115 | ||
3116 | * flow.c (propagate_block_delete_insn): Remove unused variable. | |
3117 | ||
054ef905 KH |
3118 | 2002-03-08 Kazu Hirata <kazu@hxi.com> |
3119 | ||
3120 | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten | |
3121 | insn length for memory load/store. | |
3122 | ||
5304400d | 3123 | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> |
1e4e95d6 | 3124 | |
5304400d CR |
3125 | * doc/install.texi (--with-libiconv-prefix): Document. |
3126 | ||
81034129 MB |
3127 | 2002-03-08 Michael Y. Brukman <myb2@cornell.edu> |
3128 | ||
3129 | * doc/sourcebuild.texi: Fix typo. | |
3130 | ||
71db7d03 JJ |
3131 | 2002-03-08 Jakub Jelinek <jakub@redhat.com> |
3132 | ||
3133 | PR c/3711 | |
3134 | * builtins.c (std_expand_builtin_va_arg): Do all computations on | |
3135 | trees. | |
3136 | ||
127c1ba5 RK |
3137 | Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3138 | ||
3139 | * rtl.c (copy_most_rtx): Move from here ... | |
3140 | * emit-rtl.c (copy_most_rtx): ... to here. | |
3141 | ||
8a13c092 AO |
3142 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
3143 | ||
5faae4f7 AO |
3144 | * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with |
3145 | SUBTARGET_CPP_SIZE_SPEC. | |
3146 | * config/mips/abi64.h (LONG_MAX_SPEC): Delete. | |
3147 | ||
8a13c092 AO |
3148 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify. |
3149 | ||
4ec59de2 MH |
3150 | 2002-03-07 Matt Hiller <hiller@redhat.com> |
3151 | ||
3152 | * gensupport.c (first_dir_md_include): Renamed from include; | |
3153 | change all references. | |
3154 | (last_dir_md_include): Renamed from last_include; change all | |
3155 | references. | |
3156 | (init_md_reader): Unconditionally initialize base_dir whether or | |
3157 | not filename is a relative path. | |
3158 | ||
12f61e77 AO |
3159 | 2002-03-07 Alexandre Oliva <aoliva@redhat.com> |
3160 | ||
95356058 AO |
3161 | * config/fp-bit.c (_unord_f2): Compile it in even if |
3162 | US_SOFTWARE_GOFAST is enabled. | |
3163 | ||
12f61e77 AO |
3164 | * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as |
3165 | NULL_RTX. Set all HFmode operations as NULL_RTX. | |
3166 | * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is | |
3167 | NULL_RTX, try reversing the comparison and the operands. | |
3168 | ||
6d7a1c4c UW |
3169 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
3170 | ||
3171 | * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP. | |
3172 | genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP | |
3173 | and MATCH_OP_DUP. | |
3174 | ||
66d54344 JH |
3175 | Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz> |
3176 | ||
3177 | * reload1.c (reload_cse_delete_noop_set): Purge dead edges. | |
3178 | ||
068473ec JH |
3179 | Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
3180 | ||
3181 | * basic-block.h (fixup_abnormal_edges): Declare. | |
3182 | * reload1.c (fixup_abnormal_edges): New function. | |
3183 | * reg-stack.c (convert_regs): Use it. | |
3184 | ||
3185 | * gcse.c (insert_insn_end_bb): Handle trapping insns. | |
3186 | ||
3187 | * gcse.c (hash_scan_set): Refuse instructions with EH edges. | |
3188 | ||
71925bc0 RS |
3189 | 2002-03-07 Richard Sandiford <rsandifo@redhat.com> |
3190 | ||
3191 | * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. | |
3192 | (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. | |
3193 | * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. | |
3194 | (HONOR_SIGN_DEPENDENT_ROUNDING): New. | |
3195 | * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. | |
3196 | * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y | |
3197 | unless x and y could be infinite. | |
3198 | (expand_unordered_cmp): New, mostly split from expand_tree_builtin. | |
3199 | Check that the common type of both arguments is a real, even for | |
3200 | targets without unordered comparisons. Allow an integer argument | |
3201 | to be compared against a real. | |
3202 | (expand_tree_builtin): Use expand_unordered_cmp. | |
3203 | * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. | |
3204 | * cse.c (fold_rtx): Likewise. Fix indentation. | |
3205 | * fold-const.c (fold_real_zero_addition_p): New. | |
3206 | (fold): Use it, and the new HONOR_... macros. | |
3207 | * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. | |
3208 | * jump.c (reversed_comparison_code_parts): After searching for | |
3209 | the true comparison mode, use HONOR_NANS to decide whether it | |
3210 | can be safely reversed. | |
3211 | (reverse_condition_maybe_unordered): Remove IEEE check. | |
3212 | * simplify-rtx.c (simplify_binary_operation): Use the new macros | |
3213 | to decide which simplifications are valid. Allow the following | |
3214 | simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), | |
3215 | and (a - -b) to (a + b). | |
3216 | (simplify_relational_operation): Use HONOR_NANS. | |
3217 | * doc/tm.texi: Document the MODE_HAS_... macros. | |
3218 | ||
145d3bf2 RE |
3219 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
3220 | ||
3221 | * combine.c (simplify_comparison): If simplifying a logical shift | |
3222 | right and compare with constant, force the comparison to unsigned. | |
3223 | ||
76a773f3 AH |
3224 | 2002-03-07 Aldy Hernandez <aldyh@redhat.com> |
3225 | ||
5b43fed1 | 3226 | * doc/invoke.texi: Add documentation for -mabi=no-altivec. |
76a773f3 | 3227 | |
5b43fed1 RH |
3228 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add |
3229 | -mabi=no-altivec | |
3230 | (alt_reg_names): Remove % for vrsave. | |
76a773f3 | 3231 | |
ab55f58c RH |
3232 | 2002-03-06 Richard Henderson <rth@redhat.com> |
3233 | ||
5ddec02e | 3234 | PR optimization/5844 |
ab55f58c RH |
3235 | * genemit.c (gen_exp): New argument used. Invoke copy_rtx |
3236 | if used indicates we've already emitted one copy of an operand. | |
3237 | (gen_insn, gen_expand, output_add_clobbers): Supply a null used. | |
3238 | (gen_split): Supply a non-null used. | |
3239 | ||
e16e3291 UW |
3240 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
3241 | ||
5b43fed1 | 3242 | * reload1.c (reload): Unshare all rtl after reload is done. |
e16e3291 | 3243 | |
1e4e95d6 | 3244 | * simplify-rtx.c (simplify_plus_minus): Do not abort, |
e16e3291 UW |
3245 | but simply fail if the expression is too complex to simplify. |
3246 | (simplify_gen_binary): Handle simplify_plus_minus failures. | |
3247 | ||
2ca6672b JH |
3248 | Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> |
3249 | ||
3250 | * toplev.c (rest_of_compilation): Do jump threading before SSA path; | |
3251 | consistently call delete_trivially_dead_insns after CSE and GCSE; | |
3252 | fix DFI_life dumping; do jump threading after liveness; do crossjumping | |
3253 | after liveness2; update comment in last crossjumping. | |
3254 | * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. | |
3255 | ||
31d0dd4f JL |
3256 | Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) |
3257 | ||
d094b0b3 JL |
3258 | * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains |
3259 | after completing fast dead code elimination. | |
3260 | ||
31d0dd4f JL |
3261 | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a |
3262 | COMPARE operator. | |
1e4e95d6 | 3263 | |
f2b958b1 PE |
3264 | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> |
3265 | ||
3266 | * version.c: Fix misplaced leading blanks on first line. | |
3267 | ||
a2877a09 JH |
3268 | Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz> |
3269 | ||
3270 | * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source. | |
3271 | ||
fe477d8b JH |
3272 | Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz> |
3273 | ||
3274 | * cfgcleanup.c (mentions_nonequal_regs): New function. | |
3275 | (thread_jump): Use it. | |
3276 | * toplev.c (rest_of_compilation): Run jump threading after | |
3277 | liveness. | |
3278 | ||
2041cde4 JJ |
3279 | 2002-03-06 Jakub Jelinek <jakub@redhat.com> |
3280 | ||
3281 | * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 | |
3282 | patch. | |
3283 | ||
82d68d46 JH |
3284 | Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz> |
3285 | ||
3286 | * predict.c (estimate_bb_frequencies): Do not reload the | |
3287 | frequencies from notes. | |
3288 | ||
3dec4024 JH |
3289 | Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz> |
3290 | ||
3291 | * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. | |
3292 | * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare | |
3293 | ||
3294 | * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, | |
3295 | delete_noop_moves): Return indeger. | |
3296 | * flow.c (ndead): New variable. | |
3297 | (propagate_block_delete_insn): Use delete_insn_and_edges; remove | |
3298 | BB argument; update callers. | |
3299 | (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. | |
3300 | (life_analysis): Do not call purge_all_dead_edges. | |
3301 | (update_life_info): Return number of deleted insns; print statistics. | |
3302 | (update_life_info_in_dirty_blocks): likewise. | |
3303 | (delete_noop_moves): Use delete_insn_and_edges; print statistics; | |
3304 | return number of insns deleted. | |
3305 | ||
3306 | * cse.c: Include timevar.h | |
3307 | (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; | |
3308 | iterate until stabilizes; print statistics; return number of killed | |
3309 | insns. | |
3310 | * Makefile.in: (cse.o): Add timevar.h dependency | |
3311 | * rtl.h (delete_trivially_dead_insns): New. | |
3312 | * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. | |
3313 | * toplev.c (rest_of_compilation): Update callers. | |
3314 | ||
3315 | * cfgcleanup.c (try_optimize_cfg): Kill blocks. | |
3316 | (try_optimize_cfg): Do not update liveness. | |
3317 | (cleanup-cfg): Loop until try_optimize_cfg and dead code | |
3318 | removal stabilizes; use delete_trivially_dead_insns. | |
3319 | ||
3320 | * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. | |
3321 | ||
c7544dd8 ZW |
3322 | 2002-03-05 Zack Weinberg <zack@codesourcery.com> |
3323 | ||
3324 | * cppmain.c (setup_callbacks): Disable #pragma and #ident | |
3325 | callbacks when processing assembly language. | |
3326 | ||
50b424a9 JDA |
3327 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3328 | ||
3329 | * pa.h (ASM_FILE_END): Define. | |
3330 | * som.h (ASM_FILE_END): Delete. | |
3331 | ||
3332 | * pa.c (function_arg): Don't pass floats in general registers in | |
3333 | indirect calls if TARGET_ELF32. | |
3334 | ||
6185f217 RH |
3335 | 2002-03-05 Richard Henderson <rth@redhat.com> |
3336 | ||
3337 | * config/i386/i386.md (floatsidf2): Conditionalize on hard-float. | |
3338 | ||
3020a4b2 DS |
3339 | 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net> |
3340 | ||
3341 | * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define. | |
3342 | ||
65649daa JJ |
3343 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
3344 | ||
3345 | * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc | |
3346 | -r command line. Don't hide any symbols if not building | |
3347 | shared libgcc. | |
3348 | ||
5a1a3e5e JH |
3349 | Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz> |
3350 | ||
3351 | * cfg.c (dump_flow_info): Warn about profile mismatches. | |
3352 | * cfgrtl.c (verify_flow_info): Few aditional sanity checks. | |
3353 | (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps. | |
3354 | ||
170c56da JJ |
3355 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
3356 | ||
3357 | * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 | |
3358 | wide volatile memory by parts. | |
3359 | ||
6d051694 JJ |
3360 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
3361 | ||
3362 | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def | |
3363 | is NULL. | |
3364 | ||
28bcfd4d RH |
3365 | 2002-03-05 Richard Henderson <rth@redhat.com> |
3366 | ||
5b43fed1 | 3367 | * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error. |
28bcfd4d | 3368 | |
75227a33 GK |
3369 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
3370 | ||
3371 | * toplev.c (documented_lang_options): Document more | |
3372 | language-specific options. | |
3373 | * doc/invoke.texi (Warning Options): Correct documentation for | |
3374 | -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers. | |
3375 | * c-decl.c (c_decode_option): Use a table to handle warning options. | |
3376 | ||
4f1aac42 HPN |
3377 | 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com> |
3378 | ||
3379 | * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second | |
3380 | parameter to mmix_encode_section_info. | |
3381 | (LINK_SPEC): Don't defsym __.MMIX.start..text if linking | |
3382 | relocatably. Always produce ELF, not mmo if linking relocatably. | |
3383 | * config/mmix/mmix.c (mmix_encode_section_info): If new parameter | |
3384 | first is non-zero, don't add symbol prefix. | |
3385 | * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak | |
3386 | prototype accordingly. | |
3387 | ||
12345543 KW |
3388 | 2002-03-04 Krister Walfridsson <cato@df.lth.se> |
3389 | ||
3390 | * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file. | |
3391 | ||
8e97db8f JM |
3392 | 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk> |
3393 | ||
3394 | * configure.in: Increase required makeinfo version to 4.1. | |
3395 | * configure: Regenerate. | |
3396 | ||
06487868 GK |
3397 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
3398 | ||
3399 | * .cvsignore: Remove *.info* and genrtl*; these files are generated | |
3400 | elsewhere now. | |
3401 | ||
cff42170 JM |
3402 | 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk> |
3403 | ||
3404 | * doc/include/texinfo.tex: Update to version 2002-03-01.06. | |
3405 | * doc/invoke.texi: Fix @math uses. | |
3406 | ||
974a7f56 JH |
3407 | Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
3408 | ||
3409 | * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables | |
3410 | removal | |
3411 | ||
3b7d0e98 AH |
3412 | 2002-03-03 Aldy Hernandez <aldyh@redhat.com> |
3413 | ||
5b43fed1 RH |
3414 | * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian. |
3415 | (powerpc-*-eabisimaltivec*): Same. | |
3b7d0e98 | 3416 | |
5b43fed1 | 3417 | * config/rs6000/t-ppcendian: New. |
3b7d0e98 | 3418 | |
65f2f288 HB |
3419 | 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
3420 | ||
3421 | * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions | |
3422 | nonimmediate_src_operand and nonimmediate_lsrc_operand to | |
3423 | disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE. | |
3424 | ||
8ce0a8a5 RH |
3425 | 2002-03-03 Richard Henderson <rth@redhat.com> |
3426 | ||
3427 | * toplev.c (rest_of_decl_compilation): Revert last two changes. | |
3428 | ||
ba31d94e ZW |
3429 | 2002-03-03 Zack Weinberg <zack@codesourcery.com> |
3430 | ||
3431 | * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, | |
3432 | print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c, | |
3433 | tree.c, config/m68k/m68k.c: | |
3434 | Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef | |
3435 | REAL_ARITHMETIC blocks unconditional. Delete some further | |
3436 | #ifdef blocks predicated on REAL_ARITHMETIC. | |
3437 | * flags.h, toplev.c: Delete remaining references to | |
3438 | flag_pretend_float. | |
3439 | ||
3440 | * doc/invoke.texi: Remove documentation of -fpretend-float. | |
3441 | * doc/tm.texi: Describe the various REAL_* macros as provided by | |
3442 | real.h, not by the target configuration files. | |
3443 | ||
3444 | * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h, | |
3445 | config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h, | |
3446 | config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
3447 | config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, | |
3448 | config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h, | |
3449 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h, | |
3450 | config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h, | |
3451 | config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h, | |
3452 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
3453 | config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h, | |
3454 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
3455 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
3456 | config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h, | |
3457 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, | |
3458 | config/xtensa/xtensa.h: | |
3459 | Do not define, undefine, or mention in comments any of | |
3460 | REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF, | |
3461 | REAL_VALUE_ISNAN, REAL_VALUE_ISINF, | |
3462 | REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE, | |
3463 | REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL, | |
3464 | REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS, | |
3465 | REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX, | |
3466 | REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT, | |
3467 | REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE, | |
3468 | REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT. | |
3469 | ||
9a571cfd KG |
3470 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3471 | ||
e81dd381 KG |
3472 | * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h, |
3473 | convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h, | |
3474 | i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, | |
3475 | m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, | |
3476 | pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, | |
3477 | stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD): | |
3478 | Delete. | |
3479 | * defaults.h (BITS_PER_WORD): Define. | |
ba31d94e | 3480 | * doc/tm.texi (BITS_PER_WORD): Document default value. |
e81dd381 | 3481 | |
9a571cfd KG |
3482 | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, |
3483 | m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, | |
3484 | stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. | |
3485 | ||
ca7558fc KG |
3486 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3487 | ||
3488 | * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in | |
3489 | lieu of explicit sizeof/sizeof. | |
3490 | * i386.c (override_options, ix86_init_mmx_sse_builtins, | |
3491 | ix86_expand_builtin): Likewise. | |
3492 | * mips.c (mips_add_gc_roots): Likewise. | |
3493 | * mmix.c (mmix_output_condition): Likewise. | |
3494 | * rs6000.c (rs6000_override_options, altivec_expand_builtin, | |
3495 | altivec_init_builtins): Likewise. | |
3496 | * sparc.c (mark_ultrasparc_pipeline_state): Likewise. | |
3497 | * cppexp.c (Nsuff, parse_number): Likewise. | |
3498 | * cppinit.c (builtin_array_end): Likewise. | |
3499 | * gcc.c (n_default_compilers, process_command): Likewise. | |
3500 | * genpreds.c (output_predicate_decls): Likewise. | |
3501 | * ggc-page.c (NUM_EXTRA_ORDERS): Likewise. | |
3502 | * lcm.c (N_ENTITIES): Likewise. | |
3503 | * stor-layout.c (set_sizetype): Likewise. | |
ba31d94e | 3504 | |
41c78c88 RH |
3505 | 2002-03-03 Richard Henderson <rth@redhat.com> |
3506 | ||
3507 | * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl | |
3508 | for types or labels. | |
3509 | ||
9e9b71e6 RH |
3510 | 2002-03-03 Richard Henderson <rth@redhat.com> |
3511 | ||
3512 | * c-decl.c (start_decl): Initialized variables are not common. | |
3513 | ||
c26a6db8 PB |
3514 | 2002-03-02 Per Bothner <per@bothner.com> |
3515 | ||
3516 | * gcc.c (option_map): Suport new --bootclasspath option. | |
3517 | --CLASSPATH is now just an alias for --classpath. | |
3518 | ||
9e8aab55 RH |
3519 | 2002-03-02 Richard Henderson <rth@redhat.com> |
3520 | ||
3521 | * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register | |
3522 | load if "internal" visibility. | |
3523 | * doc/extend.texi: Document visibility meanings. | |
3524 | ||
b3bbd220 RH |
3525 | 2002-03-02 Richard Henderson <rth@redhat.com> |
3526 | ||
3527 | * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies | |
3528 | to functions as well. | |
3529 | ||
b14707c3 RH |
3530 | 2002-03-02 Richard Henderson <rth@redhat.com> |
3531 | ||
3532 | * attribs.c (handle_alias_attribute): Don't call assemble_alias. | |
3533 | (handle_visibility_attribute): Don't call assemble_visibility. | |
3534 | * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even | |
3535 | without asmspec. Invoke assemble_alias when needed. | |
3536 | * varasm.c (maybe_assemble_visibility): New. | |
3537 | (assemble_start_function, assemble_variable, assemble_alias): Use it. | |
3538 | ||
b2003250 RH |
3539 | 2002-03-02 Richard Henderson <rth@redhat.com> |
3540 | ||
3541 | * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; | |
3542 | invoke ENCODE_SECTION_INFO with first call flag. | |
3543 | ||
3544 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
3545 | config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
ba31d94e | 3546 | config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h, |
b2003250 RH |
3547 | config/arm/arm.h, config/arm/pe.c, config/arm/pe.h, |
3548 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
3549 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
3550 | config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, | |
3551 | config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h, | |
3552 | config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h, | |
3553 | config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c, | |
3554 | config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
3555 | config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
ba31d94e ZW |
3556 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
3557 | config/m68hc11/m68hc11.h, config/m88k/m88k.h, | |
b2003250 RH |
3558 | config/mcore/mcore-protos.h, config/mcore/mcore.c, |
3559 | config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h, | |
3560 | config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h, | |
ba31d94e | 3561 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, |
b2003250 RH |
3562 | config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h, |
3563 | config/sh/sh.h, config/sparc/sparc.h, | |
3564 | config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, | |
3565 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h, | |
3566 | config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes | |
3567 | FIRST argument. As needed, examine it and do nothing. | |
3568 | ||
ba31d94e | 3569 | * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h, |
b2003250 RH |
3570 | config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, |
3571 | config/mcore/mcore.h: Remove REDO_SECTION_INFO_P. | |
3572 | ||
3573 | * config/arm/t-pe (pe.o): Add dependencies. | |
3574 | ||
5c60f03d KG |
3575 | 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3576 | ||
3577 | * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h, | |
3578 | cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, | |
3579 | i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, | |
3580 | mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, | |
3581 | pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, | |
3582 | vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. | |
3583 | * defaults.h (BITS_PER_UNIT): Define. | |
3584 | * doc/tm.texi (BITS_PER_UNIT): Document default value. | |
3585 | ||
86855e8c KH |
3586 | 2002-03-02 Kazu Hirata <kazu@hxi.com> |
3587 | ||
3588 | * config/h8300/h8300-protos.h: Add a prototype for | |
3589 | compute_a_shift_length. | |
3590 | * config/h8300/h8300.c (h8300_asm_insn_count): New. | |
3591 | (compute_a_shift_length): Likewise. | |
3592 | (h8300_adjust_insn_length): Do not adjust insn length of shift | |
3593 | insns. | |
3594 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
3595 | compute_a_shift_length. | |
3596 | ||
f6041ed8 RK |
3597 | Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3598 | ||
35aa3c1c RK |
3599 | * config/sparc/sparc.c (sparc_initialize_trampoline): Use |
3600 | trunc_int_for_mode. | |
3601 | ||
f6041ed8 RK |
3602 | * emit-rtl.c (offset_address): Call update_temp_slot_address. |
3603 | ||
27b41650 KG |
3604 | 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3605 | ||
3606 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss. | |
3607 | * doc/invoke.texi (-fno-zero-initialized-in-bss): Document. | |
3608 | * flags.h (flag_zero_initialized_in_bss): Declare. | |
3609 | * toplev.c (flag_zero_initialized_in_bss): New flag. | |
3610 | (lang_independent_options): Add flag_zero_initialized_in_bss. | |
3611 | * tree.c (initializer_zerop): New function. | |
3612 | * tree.h (initializer_zerop): Declare. | |
3613 | * varasm.c (assemble_variable): If we can emit bss, put zero | |
3614 | initializers in the bss section. | |
3615 | ||
ca734b39 AM |
3616 | 2002-03-02 Alan Modra <amodra@bigpond.net.au> |
3617 | ||
3618 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't | |
3619 | like more than one symbol per .weak directive. | |
3620 | ||
49b72306 RH |
3621 | 2002-03-01 Richard Henderson <rth@redhat.com> |
3622 | ||
3623 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not | |
3624 | adjust argument_pointer by pretend_args_size. | |
3625 | (ia64_va_start): Adjust va_start address by -pretend_args_size. | |
3626 | ||
fbf0fe41 KH |
3627 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
3628 | ||
3629 | * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up. | |
3630 | ||
0010687d JH |
3631 | Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz> |
3632 | ||
3633 | * toplev.c (rest_of_compilation): Delete dead jumptables before | |
3634 | loop. | |
3635 | * flow.c (delete_dead_jumptables): Make global. | |
3636 | * rtl.h (delete_dead_jumptables): Declare. | |
3637 | ||
9429c84c DE |
3638 | 2002-03-01 David Edelsohn <edelsohn@gnu.org> |
3639 | ||
3640 | * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. | |
3641 | * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. | |
0c2fdcdf | 3642 | * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete. |
9429c84c | 3643 | |
f0b6f9a6 KH |
3644 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
3645 | ||
3646 | * config/h8300/h8300-protos.h: Fix formatting. | |
3647 | * config/h8300/h8300.c: Likewise. | |
3648 | * config/h8300/h8300.h: Likewise. | |
3649 | ||
bc8db8a1 KH |
3650 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
3651 | ||
3652 | * config/h8300/h8300.c (print_operand): Support 16-bit | |
3653 | constant addresses. | |
3654 | * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New. | |
3655 | ||
32b069d3 RH |
3656 | 2002-02-28 Richard Henderson <rth@redhat.com> |
3657 | ||
3658 | * expmed.c (store_bit_field): Prevent generation of CONCATs; | |
3659 | pun complex values as integers; use gen_lowpart instead of | |
3660 | gen_rtx_SUBREG. | |
3661 | (extract_bit_field): Likewise. | |
3662 | ||
79c4e63f AM |
3663 | 2002-03-01 Alan Modra <amodra@bigpond.net.au> |
3664 | David Edelsohn <edelsohn@gnu.org> | |
3665 | ||
3666 | * doc/tm.texi (ASM_WEAKEN_DECL): Document. | |
3667 | (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL. | |
3668 | (SUPPORTS_WEAK): Likewise. | |
3669 | * output.h (add_weak): Add tree param. | |
3670 | * varasm.c (add_weak): Likewise. Save decl. | |
3671 | (struct weak_syms): Add decl field. | |
3672 | (mark_weak_decls): New function. | |
3673 | (init_varasm_once): ggc_add_root mark_weak_decls. | |
3674 | (assemble_start_function): Use ASM_WEAKEN_DECL. | |
3675 | (assemble_variable): Likewise. | |
3676 | (assemble_alias): Likewise. | |
3677 | (declare_weak): Pass decl to add_weak. | |
3678 | (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl. | |
3679 | (remove_from_pending_weak_list): Declare and define for | |
3680 | ASM_WEAKEN_DECL. | |
3681 | * c-pragma.c (handle_pragma_weak): Adjust add_weak call. | |
3682 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too. | |
3683 | * defaults.h (SUPPORTS_WEAK): Likewise. | |
3684 | * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
3685 | .weak for code sym. Do emit .size for descriptor sym. | |
3686 | (ASM_DECLARE_FUNCTION_SIZE): Define. | |
3687 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define. | |
3688 | (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output | |
3689 | .lglobl unless TARGET_XCOFF. Formatting fixes. | |
3690 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
3691 | .weak for code sym. | |
3692 | (HANDLE_PRAGMA_WEAK): Remove. | |
3693 | (ASM_WEAKEN_LABEL): Remove. | |
3694 | * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define. | |
3695 | ||
6f30f1f1 JM |
3696 | 2002-03-01 Jason Merrill <jason@redhat.com> |
3697 | ||
3698 | * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros. | |
3699 | (TARGET_EXPR_CLEANUP): New macro. | |
3700 | ||
7879b81e SE |
3701 | 2002-02-28 Steve Ellcey <sje@cup.hp.com> |
3702 | ||
3703 | * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition | |
3704 | to take ptr_extend into account as third type of extension. | |
3705 | (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit | |
3706 | fields used by SUBREG_PROMOTED_UNSIGNED_P. | |
3707 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro. | |
3708 | (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1. | |
3709 | * calls.c (precompute_arguments): Use new macro. | |
3710 | (expand_call): Ditto. | |
3711 | * combine.c (nonzero_bits): Ditto. | |
3712 | (record_promoted_value): Ditto. | |
3713 | * expr.c (store_expr): Ditto. | |
3714 | (expand_expr): Ditto. | |
3715 | * function.c (assign_parms): Ditto. | |
3716 | ||
42d579d8 AO |
3717 | 2002-02-28 Alexandre Oliva <aoliva@redhat.com> |
3718 | ||
3719 | * gcc.c (init_gcc_specs): Get -static and -static-libgcc to | |
3720 | override -shared and -shared-libgcc. | |
3721 | ||
e0054185 DB |
3722 | 2002-02-28 David O'Brien <obrien@FreeBSD.org> |
3723 | ||
3724 | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification | |
3725 | of "ultrasparc". | |
3726 | * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears | |
3727 | to be broken. | |
3728 | ||
abda4f1c RH |
3729 | 2002-02-28 Richard Henderson <rth@redhat.com> |
3730 | ||
3731 | * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have | |
3732 | 4 cycle latency from MM producers. | |
3733 | (ia64_internal_sched_reorder): Likewise with pipeline flush. | |
3734 | ||
c0f08649 JJ |
3735 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
3736 | ||
3737 | * mklibgcc.in: Don't use GNU make extension. | |
3738 | ||
f79f2651 NB |
3739 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
3740 | ||
3741 | * c-parse.in (STATIC): New terminal. | |
3742 | (scspec): New non-terminal. Update productions accordingly. | |
3743 | (program): Remove bogus ifc / end ifc. | |
3744 | (array_declarator): Simplify production using STATIC. | |
3745 | ||
001e3fee JM |
3746 | 2002-02-28 Jim Meyering <meyering@lucent.com> |
3747 | ||
3748 | * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: | |
3749 | \a still means TARGET_BELL. | |
3750 | ||
89076bb3 RH |
3751 | 2002-02-28 Richard Henderson <rth@redhat.com> |
3752 | ||
3753 | * haifa-sched.c (sched_emit_insn): New. | |
3754 | (schedule_block): Use last_scheduled_insn to track last insn. | |
3755 | * sched-int.h (sched_emit_insn): Prototype. | |
3756 | * config/ia64/ia64.c (last_issued): Remove. | |
3757 | (ia64_variable_issue): Don't set it. | |
3758 | (nop_cycles_until): Use sched_emit_insn. | |
3759 | ||
e3aaacf4 AM |
3760 | 2002-02-28 Andrew MacLeod <amacleod@redhat.com> |
3761 | ||
3762 | * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign | |
3763 | extended constants. | |
3764 | ||
7f473594 KH |
3765 | 2002-02-28 Kazu Hirata <kazu@hxi.com> |
3766 | ||
3767 | * config/h8300/h8300.c: Fix formatting. | |
3768 | * config/h8300/h8300.h: Likewise. | |
3769 | ||
b96c434c MM |
3770 | 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl> |
3771 | ||
3772 | * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 | |
3773 | which may overwrite the high byte of the frame pointer. | |
3774 | ||
9b420a6a BT |
3775 | 2002-02-28 Bo Thorsen <bo@suse.de> |
3776 | ||
3777 | * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation. | |
3778 | (STARTFILE_SPEC): Add 64 bit files. | |
3779 | (ENDFILE_SPEC): Likewise. | |
3780 | ||
6f30f1f1 | 3781 | 2002-02-28 Jason Merrill <jason@redhat.com> |
46cfb101 JM |
3782 | |
3783 | * c-decl.c (finish_function): Only warn about missing return | |
3784 | statement with -Wreturn-type. | |
3785 | ||
70da1d03 JH |
3786 | Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz> |
3787 | ||
3788 | * cfgrtl.c (purge_dead_edges): Fix handling of EH edges. | |
3789 | ||
3790 | * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to | |
3791 | PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM | |
3792 | ||
38c1593d JH |
3793 | Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz> |
3794 | ||
3795 | * basic-block.h (BB_REACHABLE): Renumber. | |
3796 | (BB_DIRTY, BB_NEW): New flags. | |
3797 | (clear_bb_flags): Declare. | |
3798 | (update_life_info_in_dirty_blocks): Declare. | |
3799 | * cfg.c (clear_bb_flags): New function. | |
3800 | * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW. | |
3801 | * emit-rtl.c (add_insn_after, add_insn_before, remove_insn, | |
3802 | reorder_insns, emit_insn_after): Mark block as dirty. | |
3803 | * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS. | |
3804 | (update_life_info_in_dirty_blocks): New function. | |
3805 | * recog.c (apply_change_group): Dirtify block. | |
3806 | ||
3807 | * cse.c (cse_insn): Reorder emitting of jump insn to keep | |
3808 | cfg consistent. | |
3809 | * gcse.c (delete_null_pointer_checks): Likewise. | |
3810 | ||
3811 | * toplev.c (dump_file_index): Move cse2 after bp, | |
3812 | add DFI_null | |
3813 | (dump_file_info): Similary. | |
3814 | (rest_of_compilation): Avoid most of CFG rebuilds; | |
3815 | do first if converision after null pointer checks, do cse2 | |
3816 | after branch prediction; avoid full liveness rebuild after | |
3817 | initializing subregs. | |
3818 | * invoke.texi (-d options): Document -du, renumber. | |
3819 | ||
3820 | * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE. | |
3821 | (notice_new_block): Do not set BB_UPDATE_LIFE. | |
3822 | (try_forward_edges, merge_blocks_move_predecessor_nojumps, | |
3823 | merge_blocks_move_successor_nojumps, merge_blocks, | |
3824 | try_crossjump_to_edge): Likewise. | |
3825 | (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks. | |
3826 | * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a. | |
3827 | * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill. | |
3828 | (merge_of_block): Do not use life_data_ok. | |
3829 | (find_if_case_1): Do not use SET_UPDATE_LIFE. | |
3830 | (if_convert): Use BB_DIRTY mechanizm to update life. | |
3831 | * lcm.c (optimize_mode_switching): Update | |
3832 | update_life_info_in_dirty_blocks | |
3833 | ||
63e1b1c4 NB |
3834 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
3835 | ||
3836 | * Makefile.in (integrate.o): Update. | |
3837 | * c-decl.c (copy_lang_decl): Rename. | |
3838 | * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
3839 | * integrate.c: Include langhooks.h. | |
3840 | (copy_decl_for_inlining): Update to use langhook. | |
3841 | * langhooks-def.h (lhd_do_nothing_t, | |
3842 | LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New. | |
3843 | (LANG_HOOKS_INITIALIZER): Update. | |
3844 | * langhooks.c (lhd_do_nothing_t): New. | |
3845 | * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl. | |
3846 | * tree.h (copy_lang_decl): Remove. | |
3847 | objc: | |
3848 | * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
3849 | ||
f472fa29 AM |
3850 | 2002-02-27 Andrew MacLeod <amacleod@redhat.com> |
3851 | ||
ba31d94e | 3852 | * dwarf2out.c (stack_adjust_offset): Add support for POST_INC, |
f472fa29 AM |
3853 | POST_DEC, and POST_MODIFY. |
3854 | ||
273cf2e4 ZW |
3855 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
3856 | ||
3857 | * c-typeck.c (digest_init): Remove unused parameter; all | |
3858 | callers changed. | |
3859 | ||
4e07d762 GK |
3860 | 2002-02-27 Geoffrey Keating <geoffk@redhat.com> |
3861 | ||
3862 | * expmed.c (expand_shift): Correctly test for low part of a | |
3863 | subreg. | |
3864 | ||
6bc627b3 UW |
3865 | 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
3866 | ||
3867 | * config/s390/s390.c (s390_chunkify_pool): Do not confuse | |
3868 | insn UIDs with insn addresses. | |
3869 | ||
f458d1d5 ZW |
3870 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
3871 | ||
3872 | * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, | |
3873 | c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, | |
3874 | cppmacro.c, objc/lang-specs.h, objc/objc-act.c, | |
3875 | builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, | |
3876 | gcc.c, toplev.c: Delete code implementing -traditional mode. | |
3877 | ||
3878 | * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, | |
3879 | doc/invoke.texi, doc/standards.texi, doc/trouble.texi: | |
3880 | Document removal of -traditional mode for compilation, and | |
3881 | remove documentation only relevant to that mode. | |
3882 | ||
3883 | * config/nextstep.h, config/ptx4.h, config/svr4.h, | |
3884 | config/convex/convex.h, config/d30v/d30v.h, | |
3885 | config/i386/dgux.h, config/i386/osf1elf.h, | |
3886 | config/i386/osfelf.h, config/i386/osfrose.h, | |
3887 | config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, | |
3888 | config/m68k/hp310.h, config/m88k/dgux.h, | |
3889 | config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, | |
3890 | config/m88k/m88k.h, config/m88k/openbsd.h, | |
3891 | config/mips/abi64.h, config/mips/osfrose.h, | |
3892 | config/mips/svr4-5.h, config/mips/svr4-t.h, | |
3893 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
3894 | config/stormy16/stormy16.h: Remove all references to | |
3895 | -traditional from target specs. Delete all mention of the | |
3896 | no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also | |
3897 | delete a couple of commented-out definitions of | |
3898 | DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring | |
3899 | to -traditional. | |
3900 | ||
3901 | * system.h: Poison TRADITIONAL_RETURN_FLOAT. | |
3902 | * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. | |
3903 | ||
e0b3a8ff ZW |
3904 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
3905 | ||
3906 | * mklibgcc.in: Don't use \n in a line subject to | |
3907 | interpretation by echo. | |
3908 | ||
5c6a85b7 GS |
3909 | 2002-02-27 Graham Stott <grahams@redhat.com> |
3910 | ||
72b05af1 GS |
3911 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): |
3912 | Constify NAME. | |
3913 | ||
7d104885 GS |
3914 | * loop.c (prescan_loop): Handle PARALLEL. |
3915 | ||
8ed805d2 GS |
3916 | * unroll.c (loop_iterations): Return 0 if the add_val for |
3917 | a BIV is REG. | |
3918 | ||
fd478a0a GS |
3919 | * final.c (output_operand_lossage): Constify PFX_STR. |
3920 | ||
5c6a85b7 GS |
3921 | * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. |
3922 | ||
cd98ad03 JH |
3923 | Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz> |
3924 | ||
3925 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. | |
3926 | * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define. | |
3927 | ||
639ae55b JH |
3928 | Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> |
3929 | ||
3930 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
3931 | ||
e808ec9c NB |
3932 | 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> |
3933 | ||
3934 | * cpplex.c (_cpp_lex_token): Handle directives in macro | |
3935 | arguments. | |
3936 | * cpplib.c (_cpp_handle_directive): Save and restore state | |
3937 | if parsing macro args when entering a directive. | |
3938 | * cppmacro.c (collect_args): No need to handle directives | |
3939 | in macro arguments. | |
3940 | (enter_macro_context, replace_args): Use the original macro | |
3941 | definition in case it was redefined whilst collecting arguments. | |
3942 | doc: | |
3943 | * cpp.texi: Update. | |
3944 | ||
f585a356 DE |
3945 | 2002-02-26 David Edelsohn <edelsohn@gnu.org> |
3946 | ||
3947 | * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete. | |
3948 | * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete. | |
3949 | * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient | |
3950 | method on AIX. | |
3951 | * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand. | |
3952 | (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same. | |
3953 | (load_toc_v4_PIC_2): Same. | |
3954 | ||
3955 | 2002-02-26 Alan Modra <amodra@bigpond.net.au> | |
3956 | ||
3957 | * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE. | |
3958 | ||
d699058e RH |
3959 | 2002-02-26 Richard Henderson <rth@redhat.com> |
3960 | ||
3961 | * config/alpha/alpha.md (ashldi_se): Re-enable. | |
3962 | ||
eadccfbb RH |
3963 | 2002-02-26 Richard Henderson <rth@redhat.com> |
3964 | ||
3965 | * config/alpha/alpha.c (alpha_encode_section_info): Examine | |
3966 | MODULE_LOCAL_P; improve commentary. | |
3967 | ||
7080ada1 ZW |
3968 | 2002-02-26 Zack Weinberg <zack@codesourcery.com> |
3969 | ||
3970 | * doc/cpp.texi: Clarify documentation of relationship between | |
3971 | #line and #include. | |
3972 | ||
b42cff6b KH |
3973 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
3974 | ||
3975 | * config/h8300/h8300-protos.h: Update the prototype for | |
3976 | compute_logical_op_length. Add the prototype for | |
3977 | compute_logical_op_cc. | |
3978 | * config/h8300/h8300.c (compute_logical_op_length): Figure out | |
3979 | code from operands. | |
3980 | (compute_logical_op_cc): New. | |
3981 | * config/h8300/h8300.md: Combine all the logical op patterns | |
3982 | in HImode and SImode. Use compute_logical_op_cc. | |
3983 | ||
831c4e87 KC |
3984 | 2002-02-26 Kelley Cook <kelleycook@comcast.net> |
3985 | ||
3986 | * config/i386/i386.c (print_operand): Don't append ATT-style | |
3987 | length suffixs to x87 opcodes when in Intel mode. | |
3988 | ||
ff88fe10 RS |
3989 | 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca> |
3990 | ||
3991 | * emit-rtl.c (gen_const_vector_0): Remove TYPE argument. | |
3992 | (init_emit_once): Update calls. | |
3993 | * fixinc/gnu-regex.c (_GNU_SOURCE): Remove. | |
3994 | (init_syntax_once): Prototype. | |
3995 | ||
d4108589 JDA |
3996 | 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3997 | ||
3998 | * pa-linux.h (LIB_SPEC): Update definition. | |
3999 | * pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
4000 | ||
e013f3c7 RH |
4001 | 2002-02-26 Richard Henderson <rth@redhat.com> |
4002 | ||
4003 | * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers | |
4004 | if we emitted a stop bit. | |
4005 | ||
9e944a16 JJ |
4006 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
4007 | ||
4008 | * configure.in (libgcc_visibility): Substitute. | |
4009 | * configure: Rebuilt. | |
4010 | * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global | |
4011 | defined symbols .hidden. | |
4012 | ||
47bd70b5 JJ |
4013 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
4014 | ||
4015 | * attribs.c (c_common_attribute_table): Add visibility. | |
4016 | (handle_visibility_attribute): New function. | |
4017 | * varasm.c (assemble_visibility): New function. | |
4018 | * output.h (assemble_visibility): Add prototype. | |
4019 | * tree.h (MODULE_LOCAL_P): Define. | |
4020 | * crtstuff.c (__dso_handle): Use visibility attribute. | |
4021 | * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG | |
4022 | for MODULE_LOCAL_P symbols too. | |
4023 | * config/ia64/ia64.c (ia64_encode_section_info): Handle | |
4024 | MODULE_LOCAL_P symbols the same way as local symbols. | |
4025 | Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced | |
4026 | into .sdata/.sbss by the user. | |
4027 | * doc/extend.texi (Function Attributes): Document visibility | |
4028 | attribute. | |
4029 | ||
6d73371a JJ |
4030 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
4031 | ||
4032 | PR debug/5770 | |
4033 | * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for | |
4034 | STRING_CST initializer spanning the whole variable without | |
4035 | embedded zeros. | |
4036 | If expand_expr returned MEM, don't use it. | |
4037 | ||
06e224f7 AO |
4038 | 2002-02-26 Alexandre Oliva <aoliva@redhat.com> |
4039 | ||
4040 | * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, | |
4041 | generate a die for the lexical block. | |
4042 | ||
40367e2d KH |
4043 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
4044 | ||
4045 | * config/h8300/h8300-protos.h: Add a prototype for | |
4046 | compute_logical_op_length. | |
4047 | * config/h8300/h8300.c (compute_logical_op_length): New. | |
4048 | * config/h8300/h8300.md (anonymous logical patterns): Use | |
4049 | compute_logical_op_length for length. | |
4050 | ||
0e98f924 AH |
4051 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
4052 | ||
831c4e87 KC |
4053 | * dwarf2out.c (modified_type_die): Do not call type_main_variant |
4054 | for vectors. | |
4055 | (gen_type_die): Same. | |
0e98f924 | 4056 | |
831c4e87 | 4057 | * attribs.c (handle_vector_size_attribute): Set debug information. |
0e98f924 | 4058 | |
a50cfd52 DE |
4059 | 2002-02-26 Daniel Egger <degger@fhm.edu> |
4060 | ||
831c4e87 KC |
4061 | * config/rs6000/rs6000.md: Swap define_insn attributes to |
4062 | fix incorrect generation of merge high instructions instead | |
4063 | of merge low. | |
a50cfd52 | 4064 | |
b7997284 AH |
4065 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
4066 | ||
831c4e87 KC |
4067 | * c-typeck.c (really_start_incremental_init): Use |
4068 | bitsize_zero_node for vectors. | |
b7997284 | 4069 | |
376aec5d AH |
4070 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
4071 | ||
831c4e87 KC |
4072 | * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. |
4073 | ("*set_vrsave_internal"): Same. | |
376aec5d | 4074 | |
3b40e71b RH |
4075 | 2002-02-25 Richard Henderson <rth@redhat.com> |
4076 | ||
4077 | * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law | |
4078 | in EXPAND_SUM case. Use host_integerp/tree_low_cst. | |
4079 | ||
232b8f52 JJ |
4080 | 2002-02-25 Jakub Jelinek <jakub@redhat.com> |
4081 | ||
4082 | PR target/5755 | |
4083 | * config/i386/i386.c (ix86_return_pops_args): Only pop | |
4084 | fake structure return argument if it was passed on the stack. | |
4085 | ||
67282790 JM |
4086 | 2002-02-25 Jason Merrill <jason@redhat.com> |
4087 | ||
4088 | * attribs.c (decl_attributes): Also re-layout PARM_DECL and | |
4089 | RESULT_DECL. | |
4090 | ||
5c181756 AO |
4091 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
4092 | ||
4093 | * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to | |
4094 | link with shared_name only. | |
4095 | * doc/invoke.texi (Link Options): Document new behavior. | |
4096 | ||
6786d201 AH |
4097 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
4098 | ||
831c4e87 | 4099 | * c-typeck.c (push_init_level): Handle vectors. |
6786d201 | 4100 | |
7d6040e8 AO |
4101 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
4102 | ||
4103 | * config/sparc/sparc.c (const64_high_operand): Zero-extend | |
4104 | operands of SPARC_SETHI_P. | |
4105 | (input_operand): Likewise. | |
4106 | (sparc_emit_set_const32): Likewise. | |
4107 | * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. | |
4108 | (SPARC_SETHI32_P): Zero-extend operand from 32 bits. | |
4109 | (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. | |
4110 | * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. | |
4111 | (movdi_insn_sp64_vis): Likewise. | |
4112 | (movdi split, movdf split): Use SETHI32. | |
4113 | * doc/md.texi: Document SPARC constraints L, M and N. | |
4114 | ||
b188f760 AH |
4115 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
4116 | ||
831c4e87 KC |
4117 | * config/rs6000/rs6000.md ("get_vrsave_internal"): New. |
4118 | ("*set_vrsave_internal"): use mfspr for Darwin. | |
b188f760 | 4119 | |
831c4e87 KC |
4120 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Call |
4121 | gen_get_vrsave_internal. | |
b188f760 | 4122 | |
8041889f RK |
4123 | Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4124 | ||
4125 | * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND. | |
4126 | ||
a47ed310 NB |
4127 | 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk> |
4128 | ||
4129 | * cpplex.c (cpp_interpret_charconst): Get signedness or | |
4130 | otherwise of wide character constants correct. | |
4131 | * cppexp.c (lex): Get signedness of wide charconsts correct. | |
4132 | ||
cb8f73be RK |
4133 | Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4134 | ||
4135 | * optabs.c (widen_operand): Only call convert_modes for | |
4136 | promoted SUBREG if signedness matches. | |
4137 | * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. | |
4138 | ||
2450e0b8 NB |
4139 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
4140 | ||
4141 | * cpplib.c (glue_header_name): Use local buffer to build up | |
4142 | header name. | |
4143 | ||
70b6aaed NB |
4144 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
4145 | ||
4146 | * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. | |
4147 | ||
6be580c7 KH |
4148 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
4149 | ||
4150 | * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and | |
4151 | H8/300[HS] separately. | |
4152 | * config/h8300/h8300.md: Remove the early clobber constraint | |
4153 | from bit field patterns. | |
4154 | ||
35dad9f1 KH |
4155 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
4156 | ||
4157 | * config/h8300/h8300.md (mulqihi3): Tighten predicates to | |
4158 | register_operand. | |
4159 | (mulhisi3): Likewise. | |
4160 | (umulqisi3): Likewise. | |
4161 | (umulhisi3): Likewise. | |
4162 | ||
ab8e2228 NB |
4163 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
4164 | ||
4165 | * cppinit.c (output_deps): Correct test for stdout output. | |
4166 | (init_dependency_output): Cure warning. | |
4167 | ||
ac6f8a15 RK |
4168 | Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4169 | ||
4170 | * expr.c (store_expr): When converting expression to promoted | |
4171 | equivalent type, allow using SUBREG_REG of TARGET as the target | |
4172 | of the expansion of EXP. | |
4173 | * loop.c (basic_induction_var, case SUBREG): Always look inside. | |
4174 | * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. | |
4175 | (alpha_emit_set_const): Handle SImode when can't make new pseudos. | |
4176 | (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. | |
4177 | * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. | |
4178 | ||
f282ffb3 JM |
4179 | 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk> |
4180 | ||
4181 | * doc/contribute.texi, doc/extend.texi, doc/install.texi, | |
4182 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, | |
4183 | doc/standards.texi, doc/tm.texi: Remove trailing whitespace. | |
4184 | ||
44c5edc0 JJ |
4185 | 2002-02-23 Jakub Jelinek <jakub@redhat.com> |
4186 | ||
4187 | PR optimization/5747 | |
4188 | * loop.c (scan_loop): Update reg info if move_movables created new | |
4189 | pseudos. | |
4190 | ||
f98e43c0 DE |
4191 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
4192 | ||
4193 | * gcc.c (init_gcc_spec): Revert last change. | |
4194 | ||
e72247f4 DE |
4195 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
4196 | ||
4197 | * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use | |
4198 | gpc_reg_operand constraint. | |
4199 | ||
4200 | 2002-02-23 Alan Modra <amodra@bigpond.net.au> | |
4201 | ||
4202 | * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. | |
4203 | Simplify comparison of `low'. | |
4204 | (add_operand): Fix formatting. | |
4205 | (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. | |
57deb3a1 | 4206 | (mask_operand): Disallow mask to wrap in 64-bit mode. |
e72247f4 DE |
4207 | (rs6000_stack_info): Remove redundant test setting push_p. |
4208 | (output_toc): Fix formatting. | |
4209 | * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use | |
4210 | cc_reg_not_cr0_operand constraint. | |
4211 | (booldi3, boolcdi3 splitters): Same. | |
4212 | ||
a5c30531 AH |
4213 | 2002-02-23 Aldy Hernandez <aldyh@redhat.com> |
4214 | ||
831c4e87 | 4215 | * config/rs6000/altivec.h: Add extra level of parentheses on casts. |
a5c30531 | 4216 | |
43710f9f DE |
4217 | 2002-02-22 David Edelsohn <edelsohn@gnu.org> |
4218 | ||
4219 | * gcc.c (init_gcc_spec): Do not link with static libgcc.a if | |
4220 | gcc invoked with -shared-libgcc. | |
4221 | ||
3256b817 JJ |
4222 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
4223 | ||
4224 | PR c++/5748 | |
4225 | * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union | |
4226 | decl if any of elements was TREE_USED. | |
4227 | ||
9e0625a3 AO |
4228 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
4229 | ||
4230 | * config/sparc/sol2.h: Don't include sys/mman.h. | |
4231 | * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. | |
4232 | (arith_4096_operand): Don't throw high bits away. | |
4233 | (const64_operand): Take sign extension of CONST_INTs into account. | |
4234 | (const64_high_operand, sparc_emit_set_const32): Likewise. | |
4235 | (GEN_HIGHINT64): Likewise. | |
4236 | (sparc_emit_set_const64_quick1): Likewise. | |
4237 | (const64_is_2insns): Likewise. | |
4238 | (print_operand): Use trunc_int_for_mode for sign extension. | |
4239 | * config/sparc/sparc.h (SMALL_INT32): Likewise. | |
4240 | * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE | |
4241 | chars. Assume CONST_INT is already properly sign-extended. | |
4242 | (movdi split): Sign-extend each SImode part. | |
4243 | (andsi3 split): Don't mask high bits off, so that result | |
4244 | remains properly sign-extend. | |
4245 | (iorsi3 split): Likewise. | |
4246 | (xorsi3 split): Likewise. | |
4247 | ||
54fec3d5 RS |
4248 | 2002-02-22 Richard Sandiford <rsandifo@redhat.com> |
4249 | ||
4250 | * fold-const.c (fold): Fix typo in comments. | |
4251 | ||
667ada9b DN |
4252 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
4253 | ||
4254 | * Makefile.in (langhooks.o): Update dependencies. | |
4255 | ||
29ac78d5 DN |
4256 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
4257 | ||
4258 | * langhooks.c: Include flags.h. | |
4259 | ||
6aa77e6c AH |
4260 | 2002-02-21 Aldy Hernandez <aldyh@redhat.com> |
4261 | ||
4262 | * testsuite/gcc.dg/attr-alwaysinline.c: New. | |
4263 | ||
4264 | * c-common.c (c_common_post_options): Set inline trees by | |
4265 | default. | |
4266 | ||
4267 | * doc/extend.texi (Function Attributes): Document always_inline | |
4268 | attribute. | |
4269 | Update documentation about inlining when not optimizing. | |
4270 | ||
4271 | * cp/decl.c (duplicate_decls): Merge always_inline attribute. | |
4272 | ||
4273 | * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 | |
4274 | unless DECL_ALWAYS_INLINE. | |
4275 | ||
4276 | * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 | |
4277 | unless DECL_ALWAYS_INLINE. | |
4278 | (c_disregard_inline_limits): Disregard if always_inline set. | |
4279 | ||
4280 | * langhooks.c (lhd_tree_inlining_disregard_inline_limits): | |
4281 | Disregard if always_inline set. | |
4282 | (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 | |
4283 | unless DECL_ALWAYS_INLINE. | |
4284 | ||
4285 | * attribs.c (handle_always_inline_attribute): New. | |
4286 | (c_common_attribute_table): Add always_inline. | |
4287 | ||
4288 | * config/rs6000/altivec.h: Add prototypes for builtins | |
4289 | requiring the always_inline attribute. | |
4290 | ||
c410d49e EC |
4291 | 2002-02-21 Eric Christopher <echristo@redhat.com> |
4292 | ||
4293 | * expmed.c (store_bit_field): Try to simplify the subreg | |
4294 | before generating a new one when when the mode size of | |
4295 | value is less than maxmode. | |
4296 | ||
e3c8ea67 RH |
4297 | 2002-02-21 Richard Henderson <rth@redhat.com> |
4298 | ||
4299 | * emit-rtl.c (offset_address): Use simplify_gen_binary rather | |
4300 | than gen_rtx_PLUS to form the sum. | |
4301 | * explow.c (force_reg): Rearrange to not allocate new pseudo | |
4302 | when force_operand returns a register. | |
4303 | * expr.c (expand_assignment): Allow offset_rtx expansion to | |
4304 | return a sum. Do not force addresses into registers. | |
4305 | (expand_expr): Likewise. | |
4306 | * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus | |
4307 | to canonicalize arithmetic that didn't simpify. | |
4308 | (simplify_plus_minus): New argument force; update | |
4309 | all callers. Don't split CONST unless we can do something with it, | |
4310 | and wouldn't lose the constness of the operands. | |
4311 | ||
4312 | * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs | |
4313 | that we generated earlier. | |
4314 | ||
c1a046e5 TT |
4315 | 2002-02-21 Tom Tromey <tromey@redhat.com> |
4316 | ||
4317 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
4318 | (output_line_info): Use constant `1', with a long explanatory | |
4319 | comment. | |
4320 | * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. | |
4321 | ||
31fbaad4 R |
4322 | Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4323 | ||
4324 | * jump.c (redirect_jump): If old label has no UID, don't try to | |
4325 | delete it. | |
4326 | ||
a7f52356 R |
4327 | Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4328 | ||
4329 | * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. | |
4330 | If input is constant, do shifts at compile time. | |
4331 | ||
924fcc4e JM |
4332 | 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk> |
4333 | ||
4334 | * doc/extend.texi: Fix some more overfull hboxes. | |
4335 | ||
e5a20888 JJ |
4336 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
4337 | ||
4338 | PR optimization/4994 | |
4339 | * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX | |
4340 | register moves. | |
4341 | ||
4342 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> | |
22273300 JJ |
4343 | |
4344 | PR c++/4574 | |
4345 | * expr.h (expand_and): Add mode argument. | |
4346 | * expmed.c (expand_and): Add mode argument. | |
4347 | (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. | |
4348 | * expr.c (store_field, expand_expr, do_store_flag): Likewise. | |
4349 | * except.c (expand_builtin_extract_return_addr): Likewise. | |
4350 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
4351 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
4352 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. | |
4353 | Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). | |
4354 | * config/c4x/c4x.md: Use GEN_INT (x) instead of | |
4355 | gen_rtx (CONST_INT, VOIDmode, x). | |
4356 | ||
7133e992 JJ |
4357 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
4358 | ||
4359 | PR c/4697: | |
4360 | * stmt.c (warn_if_unused_value): Move side effects test once more. | |
4361 | ||
e2ec05a6 TG |
4362 | 2002-02-20 Torbjorn Granlund <tege@swox.com> |
4363 | ||
4364 | * config/avr/avr.md: Add more patterns for mized-mode add and subtract | |
831c4e87 | 4365 | (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). |
e2ec05a6 | 4366 | |
9dd791c8 AO |
4367 | Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com> |
4368 | ||
4369 | * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of | |
4370 | SUBREG or ZERO_EXTEND. | |
4371 | ||
7ab56274 R |
4372 | Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com> |
4373 | ||
4374 | * sh.h (current_function_anonymous_args): Remove. | |
4375 | (SETUP_INCOMING_VARARGS): Don't set it - just check that one | |
4376 | of current_function_varargs and current_function_stdarg is set. | |
4377 | * sh.c (sh_expand_prologue): Check current_function_varargs / | |
4378 | current_function_stdarg / TARGET_SH5 instead of | |
4379 | current_function_anonymous_args. | |
4380 | ||
4381 | * sh64.h (TARGET_VERSION): Define. | |
4382 | ||
b1765bde DE |
4383 | 2002-02-20 David Edelsohn <edelsohn@gnu.org> |
4384 | ||
4385 | * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize | |
4386 | VRSAVE_REGNO on TARGET_ALTIVEC. | |
4387 | ||
4388 | 2002-02-20 Alan Modra <amodra@bigpond.net.au> | |
4389 | ||
4390 | * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant | |
4391 | bits of SImode const_int. | |
4392 | (includes_rshift_p): Likewise. | |
4393 | (print_operand): Call mask_operand and mask64_operand with correct | |
c410d49e | 4394 | mode. |
b1765bde DE |
4395 | (rs6000_output_function_epilogue): Pad traceback table to word. |
4396 | * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. | |
4397 | (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and | |
4398 | mask64_operand with correct mode. | |
b1765bde DE |
4399 | (FUNCTION_ARG_REGNO_P): Correct parentheses. |
4400 | ||
149d6f9e JJ |
4401 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
4402 | ||
4403 | PR debug/4461 | |
4404 | * varasm.c (get_pool_constant_mark): New. | |
4405 | * rtl.h (get_pool_constant_mark): Add prototype. | |
4406 | * dwarf2out.c (mem_loc_descriptor): A pool constant cannot | |
4407 | be represented if it has not been output. | |
4408 | ||
4161da12 AO |
4409 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
4410 | ||
4411 | * combine.c (do_SUBST): Sanity check substitutions of | |
4412 | CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. | |
4413 | (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a | |
4414 | CONST_INT into its operand. | |
4415 | (known_cond): Likewise, for ZERO_EXTEND. | |
4416 | * simplify-rtx.c (simplify_unary_operation): Fix condition to | |
4417 | allow for simplification of wide modes. Reject CONST_INTs in | |
4418 | ZERO_EXTEND when their actual mode is not given. | |
4419 | ||
3704ef74 AO |
4420 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
4421 | ||
4422 | * c-decl.c (pushdecl): If no global declaration is found for an | |
4423 | extern declaration in block scope, try a limbo one. | |
4424 | ||
7552da58 JJ |
4425 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
4426 | ||
4427 | PR c++/4401 | |
4428 | * c-common.c (pointer_int_sum): Moved from... | |
4429 | * c-typeck.c (pointer_int_sum): ...here. | |
4430 | * c-common.h (pointer_int_sum): Add prototype. | |
4431 | ||
00fae85d JJ |
4432 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
4433 | ||
4434 | PR c++/5713 | |
4435 | * c-decl.c (duplicate_decls): Return 0 if issued error about | |
4436 | redeclaration. | |
4437 | ||
4636c87e JJ |
4438 | 2002-02-20 Roger Sayle <roger@eyesopen.com> |
4439 | Jakub Jelinek <jakub@redhat.com> | |
4440 | ||
4441 | PR c/4389 | |
4442 | * tree.c (host_integerp): Ensure that the constant integer is | |
4443 | representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT | |
4444 | when pos is zero or non-zero respectively. Clarify comment. | |
4445 | * c-format.c (check_format_info_recurse): Fix host_integerp | |
4446 | usage; the pos argument should be zero when assigning to a | |
4447 | signed HOST_WIDE_INT. | |
4448 | ||
59bef189 RH |
4449 | 2002-02-20 Richard Henderson <rth@redhat.com> |
4450 | ||
4451 | * config/i386/i386.c (ix86_expand_vector_move): Use the mode | |
4452 | of the operand, rather than assuming TImode. | |
4453 | (ix86_expand_binop_builtin): Cope with commutative patterns | |
4454 | using nonimmediate_operand for both operands. | |
4455 | (ix86_expand_timode_binop_builtin): Likewise. | |
4456 | (ix86_expand_store_builtin): Validate operand 1. | |
4457 | (ix86_expand_unop1_builtin): Likewise. | |
4458 | ||
9338ffe6 | 4459 | 2002-02-20 Philip Blundell <philb@gnu.org> |
c410d49e | 4460 | |
9338ffe6 PB |
4461 | PR 5705 |
4462 | * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. | |
4463 | ||
f322b423 RH |
4464 | 2002-02-20 Richard Henderson <rth@redhat.com> |
4465 | ||
4466 | PR c/5615 | |
4467 | * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. | |
4468 | ||
d94084f7 TT |
4469 | 2002-02-20 Tom Tromey <tromey@redhat.com> |
4470 | ||
4471 | * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
4472 | * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
4473 | * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
4474 | * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
4475 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define | |
4476 | unconditionally. | |
4477 | ||
37fa124a AM |
4478 | Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> |
4479 | ||
4480 | * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look | |
4481 | for (const_int 0) in X not just INTVAL. | |
4482 | ||
6e5bb5ad JM |
4483 | 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk> |
4484 | ||
4485 | * doc/extend.texi: Avoid or reduce overfull hboxes. | |
4486 | ||
420e7dfa DN |
4487 | 2002-02-20 Diego Novillo <dnovillo@redhat.com> |
4488 | ||
4489 | * expmed.c (store_bit_field): Do not store bit fields using SUBREG | |
4490 | operations if the field does not start at a mode boundary. | |
4491 | ||
1b7a2af6 JS |
4492 | 2001-02-20 Joel Sherrill <joel@OARcorp.com> |
4493 | ||
4494 | * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, | |
4495 | config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem(). | |
4496 | Also done for -Acpu and -Amachine. | |
4497 | ||
56cd5b95 NB |
4498 | 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
4499 | ||
4500 | * cppinit.c (init_dependency_output): Take deps output file | |
4501 | from -o if none given with -MF. Suppress normal output. | |
c410d49e | 4502 | * gcc.c (cpp_unique_options): Have -M and -MM imply -E. |
56cd5b95 NB |
4503 | * doc/cpp.texi, doc/invoke.texi: Update. |
4504 | ||
042cdf71 ZW |
4505 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
4506 | ||
4507 | * toplev.c (output_quoted_string): Write unprintable | |
4508 | characters with octal escapes. | |
4509 | ||
c1f11548 DE |
4510 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
4511 | ||
4512 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set | |
4513 | really_call_used[VRSAVE_REGNO] if not Altivec. | |
4514 | ||
4515 | 2002-02-19 Alan Modra <amodra@bigpond.net.au> | |
c410d49e | 4516 | |
c1f11548 DE |
4517 | * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with |
4518 | MODE_MASK. | |
4519 | (constant_pool_expr_1): Fix formatting. | |
4520 | (rs6000_legitimize_reload_address): Likewise. | |
4521 | ||
c964d90e RK |
4522 | Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4523 | ||
4524 | * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx | |
4525 | now that we have one. | |
4526 | ||
ae34ac46 ZW |
4527 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
4528 | ||
4529 | * tree.h (struct tree_common): Remove aux. Add unused_0 at | |
4530 | end of first block of bitfields (which was only seven bits); | |
4531 | rename dummy to unused_1; remove comment which is no longer true. | |
4532 | ||
293c28ee GS |
4533 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
4534 | ||
4535 | * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo. | |
4536 | ||
7b8781c8 PB |
4537 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
4538 | ||
0cb6c58d | 4539 | PR 5399 |
7b8781c8 PB |
4540 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything |
4541 | if generating PIC. | |
4542 | ||
4543 | PR 5054 | |
4544 | * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use | |
4545 | arm_is_longcall_p rather than inspecting call-type cookie | |
4546 | directly. | |
4547 | (call_value_insn) [TARGET_THUMB]: Likewise. | |
4548 | ||
5c464583 GS |
4549 | 2002-02-19 Graham Stott <grahams@redhat.com> |
4550 | ||
4551 | * config/i386/i386.c (ix86_expand_builtin): Fix typo. | |
4552 | ||
71c061e6 DE |
4553 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
4554 | ||
4555 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. | |
4556 | ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. | |
6d1def5c | 4557 | (FP_SAVE_INLINE): Delete. |
71c061e6 DE |
4558 | |
4559 | * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. | |
4560 | * config/rs6000/eabi.asm: Remove ABI save restore routines. | |
4561 | * config/rs6000/t-ppccomm: Build crtsavres.o. | |
4562 | * config/rs6000/crtsavres.asm: New file. | |
4563 | ||
3a7731fd PB |
4564 | 2002-02-19 Philip Blundell <philb@gnu.org> |
4565 | ||
4566 | * config/arm/arm.c (use_return_insn): Don't reject interrupt | |
4567 | functions. | |
4568 | (arm_compute_save_reg_mask): Save LR for interrupt functions too. | |
4569 | (output_return_instruction): Allow interrupt functions to return with | |
4570 | ldmfd sp!, {... pc}^. Use LDR to restore any single register. | |
4571 | (arm_expand_prologue): Subtract 4 before stacking LR in an | |
4572 | interrupt function. | |
4573 | ||
14f583b8 PB |
4574 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
4575 | ||
4576 | * config/arm/arm.c (arm_encode_call_attribute): Operate on any | |
4577 | decl, not just FUNCTION_DECL. | |
4578 | (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF. | |
4579 | (arm_assemble_integer): Likewise. | |
4580 | * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be | |
4581 | marked local. | |
c410d49e | 4582 | |
4cb7482c MG |
4583 | 2002-02-19 matthew green <mrg@eterna.com.au> |
4584 | ||
4585 | * config.gcc (sparc-*-netbsdelf*): Enable target. | |
4586 | (sparc64-*-netbsd*): New target. | |
4587 | * config/sparc/netbsd-elf.h: New file. | |
4588 | * config/sparc/t-netbsd64: New file. | |
4589 | ||
2df3a718 GS |
4590 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
4591 | ||
4592 | * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo. | |
4593 | ||
77f6c1eb RS |
4594 | 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca> |
4595 | ||
4596 | * doc/invoke.texi: explicitly list the style guidelines that | |
4597 | -Weffc++ checks for. | |
4598 | ||
fd973d56 JH |
4599 | Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz> |
4600 | ||
4601 | * regmove.c (regmove_optimize): Avoid increasing of register pressure. | |
4602 | ||
30518e45 NB |
4603 | 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
4604 | ||
4605 | PR other/5718 | |
4606 | * gcc.c (cpp_unique_options): Treat -o as indicating object file | |
4607 | only if not -E. If -E, pass -o through to the preprocessor. | |
4608 | ||
39ea5704 KH |
4609 | 2002-02-19 Kazu Hirata <kazu@hxi.com> |
4610 | ||
4611 | * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal | |
4612 | register number with an appropriate macro. | |
4613 | ||
7355dba7 BM |
4614 | 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
4615 | ||
4616 | * doc/rtl.texi (Constants): Close @code tag. | |
4617 | ||
91c8aa9e AH |
4618 | 2002-02-19 Aldy Hernandez <aldyh@redhat.com> |
4619 | ||
4620 | * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector. | |
4621 | ("mmx_uavgv4hi3"): Same. | |
4622 | ("pmulhrwv4hi3"): Same. | |
4623 | ||
4624 | * tree-inline.c (walk_tree): Handle vectors. | |
4625 | ||
4626 | * c-common.c (constant_expression_warning): Handle vectors. | |
4627 | (overflow_warning): Same. | |
4628 | ||
4629 | * sched-deps.c (sched_analyze_2): Handle vectors. | |
4630 | ||
4631 | * rtlanal.c (rtx_unstable_p): Handle vectors. | |
4632 | (rtx_varies_p): Same. | |
4633 | (count_occurrences): Same. | |
4634 | (regs_set_between_p): Same. | |
4635 | (modified_between_p): Same. | |
4636 | (modified_in_p): Same. | |
4637 | (volatile_insn_p): Same. | |
4638 | (volatile_refs_p): Same. | |
4639 | (side_effects_p): Same. | |
4640 | (may_trap_p): Same. | |
4641 | (inequality_comparisons_p): Same. | |
4642 | (replace_regs): Same. | |
4643 | (computed_jump_p_1): Same. | |
4644 | ||
4645 | * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th | |
4646 | argument. | |
4647 | (inner_mode_array): New. | |
4648 | (copy_rtx): Handle vectors. | |
4649 | (copy_most_rtx): Same. | |
4650 | (rtx_equal_p): Same. | |
4651 | (get_mode_alignment): Adjust for vectors. | |
4652 | ||
4653 | * resource.c (mark_referenced_resources): Handle vectors. | |
4654 | (mark_set_resources): Same. | |
4655 | ||
4656 | * reload1.c (eliminate_regs): Handle vectors. | |
4657 | (elimination_effects): Same. | |
4658 | (scan_paradoxical_subregs): Same. | |
4659 | ||
4660 | * reload.c (subst_reg_equivs): Handle vectors. | |
4661 | ||
4662 | * regrename.c (scan_rtx): Handle vectors. | |
4663 | ||
4664 | * regclass.c (reg_scan_mark_refs): Handle vectors. | |
4665 | ||
4666 | * recog.c (find_single_use_1): Handle vectors. | |
4667 | ||
4668 | * local-alloc.c (equiv_init_varies_p): Handle vectors. | |
4669 | (contains_replace_regs): Same. | |
4670 | (memref_referenced_p): Same. | |
4671 | ||
4672 | * integrate.c (copy_rtx_and_substitute): Handle vectors. | |
4673 | (subst_constants): Same. | |
4674 | ||
4675 | * genattrtab.c (attr_copy_rtx): Handle vectors. | |
4676 | (encode_units_mask): Same. | |
4677 | (clear_struct_flag): Same. | |
4678 | (count_sub_rtxs): Same. | |
4679 | ||
4680 | * gcse.c (want_to_gcse_p): Handle vectors. | |
4681 | (oprs_unchanged_p): Same. | |
4682 | (hash_expr_1): Same. | |
4683 | (oprs_not_set_p): Same. | |
4684 | (expr_killed_p): Same. | |
4685 | (compute_transp): Same. | |
4686 | (store_ops_ok): Same. | |
4687 | ||
4688 | * function.c (purge_addressof_1): Do not allow paradoxical subregs | |
4689 | of vectors. | |
4690 | (fixup_var_refs_1): Same. | |
4691 | (instantiate_virtual_regs_1): Same. | |
4692 | ||
4693 | * fold-const.c (operand_equal_p): Handle vectors. | |
4694 | (fold): Same. | |
4695 | (rtl_expr_nonnegative_p): Same. | |
4696 | ||
4697 | * flow.c (mark_used_regs): Handle vectors. | |
4698 | ||
4699 | * df.c (df_uses_record): Handle vectors. | |
4700 | ||
4701 | * cselib.c (cselib_subst_to_values): Handle vectors. | |
4702 | (cselib_mem_conflict_p): Same. | |
4703 | (hash_rtx): Same. | |
4704 | ||
4705 | * cse.c (canon_reg): Handle vectors. | |
4706 | (fold_rt): Same. | |
4707 | (cse_process_notes): Same. | |
4708 | (count_reg_usage): Same. | |
4709 | (canon_hash): Same. | |
4710 | ||
4711 | * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR. | |
4712 | ||
4713 | * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR. | |
4714 | ||
4715 | * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors. | |
4716 | (gen_rtx): Handle CONST_VECTOR. | |
4717 | (gen_const_vector_0): New. | |
4718 | (copy_rtx_if_shared): CONST_VECTORs can be shared. | |
4719 | (reset_used_flags): Same. | |
4720 | (copy_insn_1): Same. | |
4721 | (initializer_constant_valid_p): Handle VECTOR_CST. | |
4722 | ||
4723 | * doc/c-tree.texi (Expression trees): Document VECTOR_CST. | |
4724 | ||
4725 | * doc/rtl.texi (Constants): Document const_vector. | |
4726 | (CONST0_RTX): Update for vectors. | |
4727 | (RTL sharing): Same. | |
4728 | ||
4729 | * print-tree.c (print_node): Add case for VECTOR_CST. | |
4730 | ||
4731 | * tree.h (TREE_VECTOR_CST_ELTS): New. | |
4732 | (struct tree_vector): New. | |
4733 | (union tree_node): Add vector node. | |
4734 | (build_vector): Add prototype. | |
4735 | ||
4736 | * tree.def (VECTOR_CST): New. | |
4737 | ||
4738 | * tree.c (build_vector): New. | |
4739 | ||
4740 | * expmed.c (make_tree): Handle CONST_VECTOR. | |
4741 | ||
4742 | * rtl.h (CONSTANT_P): CONST_VECTORs are constants too. | |
4743 | (CONST_VECTOR_ELT): New. | |
4744 | (CONST_VECTOR_NUNITS): New. | |
4745 | ||
4746 | * machmode.h (GET_MODE_INNER): New. | |
4747 | (DEF_MACHMODE): Accept 8th arg. | |
4748 | ||
4749 | * machmode.def: Add 8th argument for vector inner mode. | |
4750 | Add inner vector modes for vectors. | |
4751 | ||
4752 | * rtl.def (VEC_CONST): Remove. | |
4753 | (CONST_VECTOR): New. | |
4754 | ||
4755 | * expr.c (clear_storage): Allow vectors. | |
4756 | (is_zeros_p): Handle VECTOR_CST. | |
4757 | ||
4758 | * varasm.c (output_constant_pool): Handle vectors. | |
4759 | (rtx_const): Add veclo and vechi fields. | |
4760 | (kind): Add RTX_VECTOR. | |
4761 | (decode_rtx_const): Add case for vector. | |
4762 | ||
4763 | * config/rs6000/rs6000-protos.h: Add zero_constant. | |
c410d49e | 4764 | |
91c8aa9e AH |
4765 | * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector |
4766 | constants. Force easy vector constants into memory. | |
4767 | (easy_vector_constant): New. | |
4768 | (emit_easy_vector_constant): New. | |
4769 | (rs6000_legitimize_reload_address): Do not generate bad reloads on | |
4770 | darwin. | |
4771 | ||
4772 | * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what | |
4773 | instruction does. | |
4774 | ("altivec_lvxl"): Same. | |
4775 | (altivec_lvebx): Same. | |
4776 | (altivec_lvehx): Same. | |
4777 | (altivec_lvewx): Same. | |
4778 | ("*movv4si_const0"): New. | |
4779 | ("*movv4sf_const0"): New. | |
4780 | ("*movv8hi_const0"): New. | |
4781 | ("*movv16qi_const0"): New. | |
4782 | ||
d4d6d0ce KH |
4783 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
4784 | ||
4785 | * config/h8300/h8300.c (notice_update_cc): Use | |
4786 | cc_status.value2. | |
4787 | ||
4915d3aa KH |
4788 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
4789 | ||
4790 | * config/h8300/h8300.md (divmod patterns): Change the | |
4791 | constraints for operands[1] to register_operand. | |
4792 | ||
82be00ee KH |
4793 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
4794 | ||
4795 | * config/h8300/h8300-protos.h: Remove the prototype for | |
4796 | p_operand. | |
4797 | * config/h8300/h8300.c (p_operand): Remove. | |
4798 | * config/h8300/h8300.md: Replace p_operand with | |
4799 | const_int_operand. | |
4800 | ||
1768c26f PB |
4801 | 2002-02-18 Philip Blundell <pb@nexus.co.uk> |
4802 | ||
4803 | * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in | |
4804 | comment. | |
4805 | (output_return_instruction): Allow use of LDR to unstack | |
4806 | return addresss even for interrupt handlers or when | |
4807 | interworking. If compiling for ARMv5, use interworking-safe | |
4808 | return instructions by default. Remove duplicated code and | |
4809 | lengthy "strcat" sequences. | |
4810 | ||
ccd84f51 FS |
4811 | 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
4812 | ||
4813 | * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static. | |
4814 | (LINK_EH_SPEC): Define. | |
4815 | * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. | |
4816 | ||
2c153108 UW |
4817 | 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
4818 | ||
4819 | * config/s390/s390.c (s390_emit_prologue): Do not set the | |
4820 | frame_related flag for call-clobbered registers. | |
4821 | ||
e95d6b23 JH |
4822 | Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz> |
4823 | ||
4824 | * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode. | |
4825 | (construct_container): Fix handling of SSE operands. | |
4826 | (ix86_expand_builtin): Fix handling of 64bit pointers. | |
4827 | (mmx_maskmovq_rex): New pattern. | |
4828 | ||
c43a12b5 JH |
4829 | Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz> |
4830 | ||
4831 | * regrename.c (kill_set_value): Handle subregs properly. | |
4832 | ||
aeb85a15 DB |
4833 | 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com> |
4834 | ||
4835 | * objc/objc-act.c (handle_impent): Remove leading '*' | |
c410d49e | 4836 | from objc_class_name. |
aeb85a15 | 4837 | |
a615ca3e RH |
4838 | 2002-02-17 Richard Henderson <rth@redhat.com> |
4839 | ||
4840 | * config/alpha/alpha.c (some_small_symbolic_operand, | |
4841 | some_small_symbolic_operand_1, split_small_symbolic_operand, | |
4842 | split_small_symbolic_operand_1): Rename from *symbolic_mem_op*. | |
4843 | Handle small SYMBOL_REFs anywhere, not just inside memories. | |
4844 | * config/alpha/alpha-protos.h: Update. | |
4845 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
4846 | * config/alpha/alpha.md (small symbolic operand splitter): Update. | |
4847 | ||
ddb28441 RM |
4848 | 2002-02-17 Roland McGrath <roland@frob.com> |
4849 | ||
4850 | * config.gcc (powerpc-*-gnu-gnualtivec*, | |
4851 | powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. | |
4852 | * config/rs6000/gnu.h: New file. | |
4853 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): | |
4854 | Grok "gnu" in rs6000_abi_name. | |
4855 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, | |
4856 | CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): | |
4857 | Grok -mcall-gnu analogous to -mcall-linux et al. | |
4858 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
4859 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. | |
4860 | (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. | |
4861 | ||
f6f8ada3 JJ |
4862 | 2002-02-17 Jakub Jelinek <jakub@redhat.com> |
4863 | ||
4864 | PR c/3444: | |
4865 | * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit | |
4866 | shortening. | |
4867 | ||
e16b32fc PT |
4868 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
4869 | ||
4870 | * config/cris/cris.h: Undefine STARTFILE_SPEC and | |
4871 | ENDFILE_SPEC before (re)defining them. | |
4872 | ||
f9477efd KH |
4873 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
4874 | ||
4875 | * config/h8300/h8300.c: Fix formatting. | |
4876 | * config/h8300/h8300.h: Likewise. | |
4877 | ||
404ae494 PT |
4878 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
4879 | ||
4880 | * doc/tm.texi: Explain why empty strings should not be | |
4881 | marked for translation. | |
4882 | ||
a52453cc PT |
4883 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
4884 | ||
4885 | * final.c (output_operand_lossage): Changed to accept | |
4886 | printf style arguments. Change calls where necessary. | |
4887 | * output.h (output_operand_lossage): Change declaration | |
4888 | accordingly. Update copyright. | |
4889 | * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c | |
4890 | config/m88k/m88k.c : Adapt all calls to output_operand_lossage. | |
4891 | Update copyright date where necessary. | |
c410d49e | 4892 | |
a52453cc PT |
4893 | * config/i386/i386.c (print_operand): Likewise. Remove use of |
4894 | sprintf. | |
4895 | ||
4896 | * config/cris/cris.c (cris_operand_lossage): Likewise. | |
4897 | Rename parameter so that exgettext recognizes it as | |
4898 | translatable message. | |
4899 | (LOSE_AND_RETURN): Rename parameter to msgid. | |
4900 | ||
1c11abc4 KH |
4901 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
4902 | ||
4903 | * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a | |
4904 | hard coded register number with an appropriate macro. | |
4905 | (HARD_REGNO_MODE_OK): Likewise. | |
4906 | (ARG_POINTER_REGNUM): Likewise. | |
4907 | (STATIC_CHAIN_REGNUM): Likewise. | |
4908 | (RETURN_ADDRESS_POINTER_REGNUM): Likewise. | |
4909 | * config/h8300/h8300.md (define_constants): Define more | |
4910 | register numbers. | |
4911 | ||
a5d17ff3 PT |
4912 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
4913 | ||
4914 | * config/i386/i386.h: Don't mark empty strings for translation. | |
4915 | ||
1a7289c4 L |
4916 | 2002-02-16 H.J. Lu <hjl@gnu.org> |
4917 | ||
4918 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
4919 | ||
afb58288 ZW |
4920 | 2002-02-16 Zack Weinberg <zack@codesourcery.com> |
4921 | ||
4922 | * cppinit.c (merge_include_chains): Check for brack being | |
4923 | NULL before attempting to merge it with qtail. | |
4924 | ||
d2af4dbd AC |
4925 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
4926 | ||
4927 | * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to | |
4928 | DBX_DEBUG. | |
4929 | ||
2e1ed1e3 JDA |
4930 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4931 | ||
4932 | * pa/t-pa, pa/t-pro, som.h: Revert last patch. | |
4933 | ||
604c75b2 JDA |
4934 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4935 | ||
4936 | * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. | |
4937 | * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. | |
4938 | * som.h (DO_GLOBAL_DTORS_BODY): Delete define. | |
4939 | ||
1a42b072 RK |
4940 | Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4941 | ||
7303604f | 4942 | * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms; |
1a42b072 RK |
4943 | now only if !TARGET_FIX. |
4944 | (*movsi_nt_vms_fix): New pattern. | |
4945 | ||
c2ea1ac6 DR |
4946 | 2002-02-16 Douglas B Rupp <rupp@gnat.com> |
4947 | ||
4948 | * config/alpha/alpha.c: Implement null frame procedure types on VMS. | |
4949 | (alpha_procedure_type): Replaces alpha_is_stack_procedure. | |
4950 | (alpha_sa_mask, alpha_sa_size): Reflect above change. | |
4951 | (alpha_pv_save_size, alpha_expand_prologue): Likewise. | |
4952 | (alpha_start_function, alpha_expand_epilogue): Likewise. | |
4953 | (unicosmk_gen_dsib): Likewise. | |
4954 | ||
725e58b1 RK |
4955 | Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4956 | ||
4957 | * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE. | |
4958 | ||
13e58269 UW |
4959 | 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com> |
4960 | ||
c410d49e | 4961 | * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, |
13e58269 UW |
4962 | check_and_change_labels, s390_final_chunkify): Delete. |
4963 | (s390_split_branches, s390_chunkify_pool): New functions. | |
4964 | (s390_function_prologue): Call them. | |
c410d49e | 4965 | |
13e58269 UW |
4966 | * config/s390/s390.h (S390_REL_MAX): Delete. |
4967 | (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values. | |
4968 | ||
c410d49e | 4969 | * config/s390/s390.md (cjump, icjump, jump): Fix length |
13e58269 UW |
4970 | attribute calculation. |
4971 | ||
4972 | ||
34d1b01d DE |
4973 | 2002-02-15 David Edelsohn <edelsohn@gnu.org> |
4974 | ||
4975 | * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. | |
4976 | * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. | |
4977 | ||
be5cc51a JDA |
4978 | 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4979 | ||
4980 | * gcc.c (init_gcc_specs): Revert patch from 2002-02-15. | |
4981 | * config/pa/pa-linux.h (LIB_SPEC): Likewise. | |
4982 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise. | |
4983 | ||
ee96ce90 RS |
4984 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
4985 | ||
4986 | * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls. | |
4987 | ||
05fa709d RS |
4988 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
4989 | ||
4990 | * reload.c (find_dummy_reload): Check that an output register | |
4991 | is valid for its mode. | |
4992 | ||
4606272b AO |
4993 | 2002-02-14 Alexandre Oliva <aoliva@redhat.com> |
4994 | ||
9a360704 AO |
4995 | * combine.c (known_cond): After replacing the REG of a SUBREG, try |
4996 | to simplify it. | |
4997 | ||
4606272b AO |
4998 | * function.c (assign_parms): Demote promoted argument passed by |
4999 | transparent reference. | |
5000 | ||
e62d89a1 JS |
5001 | 2001-02-14 Joel Sherrill <joel@OARcorp.com> |
5002 | ||
5003 | * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant | |
5004 | -Acpu() and -Amachine() to eliminate warnings. | |
5005 | ||
6c4cf695 UW |
5006 | 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com> |
5007 | ||
5008 | * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
5009 | ||
037f11ef KH |
5010 | 2002-02-14 Kazu Hirata <kazu@hxi.com> |
5011 | ||
5012 | * config/h8300/h8300-protos.h: Update the prototype for | |
5013 | const_costs. | |
5014 | * config/h8300/h8300.c (const_costs): Treat SET as a little | |
5015 | more expensive operation. | |
5016 | * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the | |
5017 | reference to const_costs. | |
5018 | ||
fdc76b09 HPN |
5019 | 2002-02-14 Hans-Peter Nilsson <hp@axis.com> |
5020 | ||
5021 | * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting. | |
5022 | ||
d76e6800 JJ |
5023 | 2002-02-14 Jakub Jelinek <jakub@redhat.com> |
5024 | ||
5025 | PR c/5503: | |
5026 | * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL, | |
5027 | use arguments from newtype. | |
5028 | ||
5ae590d7 EC |
5029 | 2002-02-13 Eric Christopher <echristo@redhat.com> |
5030 | ||
5031 | * config/mips/mips.c (override_options): Add check for march/mipsX | |
5032 | on the same command line. Fix error message in cpu processing. | |
5033 | Remove architecture and ISA checks. | |
5034 | ||
b8513691 AH |
5035 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
5036 | ||
831c4e87 | 5037 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. |
b8513691 | 5038 | |
831c4e87 | 5039 | * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. |
b8513691 | 5040 | |
78c875e8 AH |
5041 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
5042 | ||
831c4e87 KC |
5043 | * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r |
5044 | alternatives. | |
5045 | ("*movv8hi_internal1"): Same. | |
5046 | ("*movv16qi_internal1"): Same. | |
5047 | ("*movv4sf_internal1"): Same. | |
78c875e8 | 5048 | |
831c4e87 KC |
5049 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do |
5050 | not push_reload for altivec modes. | |
78c875e8 | 5051 | |
d76e6800 | 5052 | 2002-02-13 Joel Sherrill <joel@OARcorp.com> |
f22b4bc4 JS |
5053 | |
5054 | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across | |
5055 | all RTEMS targets including removal of #includes from config/*/rtems*.h | |
5056 | file and adding them to tm_file setting. Added xm_defines=POSIX to | |
5057 | many targets. | |
5058 | * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. | |
5059 | * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. | |
5060 | * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. | |
5061 | * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. | |
5062 | * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, | |
5063 | config/m68k/rtemself.h: Ditto. | |
5064 | * config.gcc (mips*-*-rtems*), config/mips/rtems.h, | |
5065 | config/mips/rtems64.h: Ditto. | |
5066 | * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. | |
5067 | * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: | |
5068 | Ditto. | |
5069 | * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, | |
5070 | config/sparc/rtemself.h: Ditto. | |
5071 | * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. | |
5072 | * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved | |
5073 | arm-rtems stanza closer to other arm-elf targets and made arm-rtems | |
5074 | more like arm-elf. | |
5075 | * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, | |
5076 | config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself | |
5077 | target made more similar to i386-elf. | |
5078 | * config/i386/t-rtems-i386: Added soft float support and multilibs. | |
5079 | * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to | |
5080 | be similar to config/m68k/t-m68kelf. | |
5081 | * gthr-rtems.h: Encapsulate with extern "C" for C++. | |
5082 | ||
8686336f JH |
5083 | Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz> |
5084 | ||
5085 | * regmove.c (kill_value): Handle subregs. | |
5086 | ||
558740bf JH |
5087 | Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz> |
5088 | ||
5089 | * i386.md (mul patterns): Allow memory operand to be first; | |
5090 | add expanders where needed; fix constraints. | |
5091 | (min?f_nonieee, max?f_nonieee, SSE TImode patterns): | |
5092 | Allow memory operand to be the first. | |
5093 | ||
5094 | * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping | |
5095 | operands. | |
5096 | ||
21117a17 JJ |
5097 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
5098 | ||
5099 | PR c/5681: | |
5100 | * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of | |
5101 | GET_MODE (x). | |
5102 | ||
ec65b2e3 JJ |
5103 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
5104 | ||
5105 | PR optimization/5547: | |
5106 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify | |
5107 | all valid IA-32 address modes involving non-scaled %ebx and | |
5108 | GOT/GOTOFF as displacement. | |
5109 | ||
ce50cae8 UW |
5110 | 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
5111 | ||
5112 | * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches | |
5113 | after emitting ltorg insns. | |
5114 | ||
5115 | * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0, | |
5116 | *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3, | |
5117 | *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2, | |
5118 | *abssf2): Fix "op_type" attribute. | |
5119 | ||
09eb789b DR |
5120 | 2002-02-13 Douglas B Rupp <rupp@gnat.com> |
5121 | ||
2dbe67bb DR |
5122 | * mkconfig.sh: Avoid using a subshell redirect. |
5123 | ($output.T): Change to $(output)T. | |
5124 | (ENABLE_NLS): Remove unneeded undef. | |
5125 | ||
ea5b9a1f DR |
5126 | * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. |
5127 | * config/alpha/x-vms (libsubdir): Define. | |
5128 | ||
3deb00ce DR |
5129 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle |
5130 | register frame procedures. Optimize retrieving context. | |
5131 | ||
09eb789b DR |
5132 | * config/alpha/t-vms (MULTILIB_OPTIONS): Define. |
5133 | (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise. | |
5134 | * config/alpha/vms.h (ASM_FILE_START): Write .arch directive. | |
5135 | ||
1abade85 RK |
5136 | Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5137 | ||
5138 | * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND): | |
5139 | Make same change as for find_base_value. | |
5140 | ||
c283e63f KH |
5141 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
5142 | ||
5143 | * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination | |
5144 | of QImode and SImode. | |
5145 | ||
86039100 KH |
5146 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
5147 | ||
5148 | * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the | |
5149 | length computation of movsi. | |
5150 | * config/h8300/h8300.md (movsi_h8300hs): Correct the length. | |
5151 | ||
e1429da0 KH |
5152 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
5153 | ||
5154 | * config/h8300/h8300.md (subqi3): Tighten the predicate for | |
5155 | operands[2] to register_operand. | |
5156 | ||
aebfea10 JH |
5157 | Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz> |
5158 | ||
5159 | * i386.md (fop_*_comm_*): allow nonimmediate in the first operand. | |
5160 | ||
0ec4e2a8 AH |
5161 | 2002-02-12 Aldy Hernandez <aldyh@redhat.com> |
5162 | ||
831c4e87 KC |
5163 | * config/rs6000/rs6000.md: Use predicate altivec_register_operand |
5164 | for altivec_lvx* and altivec_stvx*. | |
5165 | ("*movv4si_internal"): Add constraint for loading from GPRs. | |
5166 | ("*movv8hi_internal1"): Same. | |
5167 | ("*movv16qi_internal1"): Same. | |
5168 | ("*movv4sf_internal1"): Same. | |
0ec4e2a8 | 5169 | |
831c4e87 | 5170 | * config/rs6000/rs6000.c (altivec_register_operand): New. |
0ec4e2a8 | 5171 | |
831c4e87 KC |
5172 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add |
5173 | altivec_register_operand. | |
0ec4e2a8 | 5174 | |
b007569d HPN |
5175 | 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com> |
5176 | ||
5177 | * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't | |
5178 | handle SYMBOL_REF. | |
5179 | ||
e6834654 SS |
5180 | 2002-02-13 Stan Shebs <shebs@apple.com> |
5181 | ||
831c4e87 KC |
5182 | * c-typeck.c (digest_init): Handle vectors. |
5183 | (really_start_incremental_init): Same. | |
5184 | (pop_init_level): Same. | |
5185 | (process_init_element): Same. | |
e6834654 | 5186 | |
831c4e87 | 5187 | * varasm.c (output_constant): Same. |
e6834654 | 5188 | |
831c4e87 KC |
5189 | * expr.c (clear_storage): Same. |
5190 | (store_constructor): Same. | |
e6834654 | 5191 | |
d9b3eb63 EC |
5192 | 2002-02-12 Eric Christopher <echristo@redhat.com> |
5193 | ||
5194 | * explow.c (hard_function_value): Add comment explaining | |
5195 | signed/unsigned comparison. | |
5196 | ||
56d44285 JJ |
5197 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
5198 | ||
5199 | * jump.c (never_reached_warning): Add finish argument. | |
5200 | If finish is NULL, stop on CODE_LABEL, otherwise stop before first | |
5201 | real insn after end. | |
5202 | * rtl.h (never_reached_warning): Adjust prototype. | |
5203 | * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. | |
5204 | * cfgrtl.c (flow_delete_block): Pass b->end as finish to | |
5205 | never_reached_warning. | |
5206 | ||
fc209487 GS |
5207 | 2002-02-12 Graham Stott <grahams@redhat.com> |
5208 | ||
5209 | * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos. | |
5210 | ||
1e41e866 KH |
5211 | 2002-02-12 Kazu Hirata <kazu@hxi.com> |
5212 | ||
5213 | * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit | |
5214 | logical shifts on H8/300. | |
5215 | (shift_alg_si): Improve several shifts on H8/300. | |
5216 | (get_shift_alg): Likewise. | |
5217 | ||
a36a47ad GS |
5218 | 2002-02-12 Graham Stott <grahams@redhat.com> |
5219 | ||
5220 | * config/pa/pa.c (compute_movstrsi_length): Fix typos. | |
5221 | ||
0aacc8ed RK |
5222 | Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5223 | ||
5224 | * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND): | |
5225 | Handle #ifdef POINTERS_EXTEND_UNSIGNED. | |
5226 | ||
a02ac966 HPN |
5227 | 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com> |
5228 | ||
5229 | * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle | |
5230 | non-CONST_INT through default_assemble_integer. | |
5231 | <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF. | |
5232 | <case 8>: Abort for CONST_DOUBLE. | |
5233 | ||
d6e06ddc JDA |
5234 | 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5235 | ||
5236 | * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" | |
5237 | is specified. | |
5238 | * config/pa/pa-linux.h (LIB_SPEC): Delete. | |
5239 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
5240 | ||
515342a8 AH |
5241 | 2002-02-11 Andrew Haley <aph@cambridge.redhat.com> |
5242 | ||
5243 | * config/stormy16/stormy16.md (zero_extendqihi2): New. | |
5244 | ||
cddd8b72 AO |
5245 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
5246 | ||
66df7a98 AO |
5247 | * regrename.c (regrename_optimize): Don't accept a |
5248 | part-clobbered register if the replaced register is not part | |
5249 | clobbered. | |
5250 | ||
841404cd AO |
5251 | * calls.c (store_one_arg): In the non-BLKmode non-partial case, |
5252 | take padding into account when computing the argument value. | |
5253 | ||
1d1ade42 AO |
5254 | * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error. |
5255 | ||
cddd8b72 AO |
5256 | * combine.c (try_combine): Apply substitutions in |
5257 | CALL_INSN_FUNCTION_USAGE too. | |
5258 | ||
5c665b88 AH |
5259 | 2002-02-11 Aldy Hernandez <aldyh@redhat.com> |
5260 | ||
77f6c1eb RS |
5261 | * config/rs6000/rs6000.c (altivec_init_builtins): Handle |
5262 | __builtin_altivec_abs*. | |
5263 | (bdesc_abs): New. | |
5c665b88 | 5264 | |
77f6c1eb RS |
5265 | * config/rs6000/rs6000.h (rs6000_builtins): Add |
5266 | ALTIVEC_BUILTIN_ABS*. | |
5c665b88 | 5267 | |
77f6c1eb RS |
5268 | * config/rs6000/altivec.h: Use const char for builtins expecting |
5269 | literals. | |
5270 | (vec_abs): New versions for C and C++. | |
5271 | (vec_abss): Same. | |
5c665b88 | 5272 | |
3494f1b4 KH |
5273 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
5274 | ||
5275 | * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by | |
5276 | using Pmode. | |
5277 | ||
72431aef KH |
5278 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
5279 | ||
5280 | * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the | |
5281 | constant definition from h8300.md. | |
5282 | (FRAME_POINTER_REGNUM): Likewise. | |
5283 | * config/h8300/h8300.md (define_constants): Add FP_REG. | |
5284 | ||
87e4ee91 KH |
5285 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
5286 | ||
5287 | * config/h8300/h8300.c (print_operand): Remove redundant code. | |
5288 | ||
9c188705 KH |
5289 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
5290 | ||
5291 | * config/h8300/h8300-protos.h: Remove the prototype for byte_reg. | |
5292 | * config/h8300/h8300.c (byte_reg): Make it static. | |
5293 | ||
fba78abb RH |
5294 | 2002-02-10 Richard Henderson <rth@redhat.com> |
5295 | ||
5296 | PR c/5623 | |
5297 | * c-typeck.c (incomplete_type_error): Handle flexible array members. | |
5298 | ||
65739e62 RH |
5299 | 2002-02-10 Richard Henderson <rth@redhat.com> |
5300 | ||
5301 | PR c++/5624 | |
5302 | * tree.c (append_random_chars): Don't abort if main_input_filename | |
5303 | does not exist. | |
5304 | ||
247cb9df HPN |
5305 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
5306 | ||
5307 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable. | |
5308 | ||
232bd029 KH |
5309 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
5310 | ||
65739e62 | 5311 | * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used. |
232bd029 KH |
5312 | (pushhi1): Likewise. |
5313 | ||
276ef573 JDA |
5314 | 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
5315 | ||
5316 | * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand. | |
5317 | * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand. | |
5318 | ||
617e9ee5 DB |
5319 | 2002-02-09 David O'Brien <obrien@FreeBSD.org> |
5320 | ||
5321 | * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and | |
5322 | remove MASK_VIS. | |
5323 | (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine. | |
5324 | ||
6dfa4005 KH |
5325 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
5326 | ||
5327 | * config/h8300/h8300.c (output_logical_op): Use sub.w to clear | |
5328 | a half of an SImode register on H8/300. | |
5329 | ||
749e7b80 JH |
5330 | Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz> |
5331 | ||
5332 | * i386.md (movdi_2): Add missing '!'. | |
5333 | ||
ca77d87c KH |
5334 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
5335 | ||
5336 | * config/h8300/h8300.h: Fix formatting. Remove commented-out | |
5337 | definitions. | |
5338 | ||
16c96304 KH |
5339 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
5340 | ||
5341 | * config/h8300/h8300.md (length): Correct the distance valid | |
5342 | for the short branch. | |
5343 | ||
a364bc90 KH |
5344 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
5345 | ||
5346 | * config/h8300/h8300.md (iorhi3): Tighten the predicates. | |
5347 | ||
e4ec2cac AO |
5348 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> |
5349 | ||
a138247b AO |
5350 | * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered |
5351 | registers in SImode. | |
5352 | (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as | |
5353 | part-clobbered. | |
5354 | ||
2b1fd83f AO |
5355 | * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's |
5356 | patch. | |
d9b3eb63 | 5357 | |
fa5322fa AO |
5358 | Contribute sh64-elf. |
5359 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> | |
5360 | * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... | |
5361 | (sh_cannot_modify_jumps_p): New function. | |
5362 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> | |
5363 | * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... | |
5364 | (sh_ms_bitfield_layout_p): New function. | |
5365 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> | |
5366 | Zack Weinberg <zack@codesourcery.com> | |
5367 | * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use | |
5368 | expand_simple_binop instead of expand_binop. | |
5369 | 2002-02-03 Alexandre Oliva <aoliva@redhat.com> | |
5370 | * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable | |
5371 | use of .quad and .uaquad. | |
5372 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, | |
5373 | TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. | |
5374 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
5375 | * config/sh/sh.md (movdi_const, movdi_const_32bit, | |
5376 | movdi_const_16bit): Make sure all CONSTs have modes. | |
5377 | (sym2PIC): Ditto, but by adjusting all callers. | |
5378 | * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live | |
5379 | if the prologue calls the SHmedia argument decoder or register | |
5380 | saver. | |
5381 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
5382 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. | |
5383 | (TARGET_ASM_ALIGNED_DI_OP): Likewise. | |
5384 | (sh_expand_epilogue): Don't emit USE of return target register. | |
5385 | (prepare_move_operands): Legitimize DImode PIC addresses. | |
5386 | (sh_media_register_for_return): Skip tr0, used to initialize the | |
5387 | PIC register. | |
5388 | (sh_expand_prologue): Remove explicit USE of return register. | |
5389 | (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in | |
5390 | CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. | |
5391 | * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. | |
5392 | (OVERRIDE_OPTIONS): Don't disable PIC on SH5. | |
5393 | (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of | |
5394 | EXTRA_CONSTRAINT_T. | |
5395 | (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. | |
5396 | (MOVI_SHORI_BASE_OPERAND_P): New. | |
5397 | (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. | |
5398 | (EXTRA_CONSTRAINT_T): Define in terms of them. | |
5399 | (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. | |
5400 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, | |
5401 | movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to | |
5402 | alternatives supporting TARGET_REGS. | |
5403 | (UNSPEC_GOTPLT): New constant. | |
5404 | (movdi split): Move incrementing of LABEL_NUSES... | |
5405 | (movdi_const, movdi_const_32bit): Here. Use | |
5406 | MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. | |
5407 | (movdi_const_16bit): New. | |
5408 | (call, call_value) [flag_pic]: Use GOTPLT. | |
5409 | (call_pop, call_value_pop): New expands. | |
5410 | (call_pop_compact, call_pop_rettramp): New insns. | |
5411 | (call_value_pop_compact, call_value_pop_rettramp): New insns. | |
5412 | (sibcall) [flag_pic]: Use GOT. | |
5413 | (builtint_setjmp_receiver): Remove bogus, unused expand. | |
5414 | (GOTaddr2picreg): Implement for SHcompact and SHmedia. | |
5415 | (*pt, *ptb, ptrel): New insns. | |
5416 | (sym2GOT): Handle DImode GOT. | |
5417 | (sym2GOTPLT, symGOTPLT2reg): New expands. | |
5418 | (sym2PIC): New expand. | |
5419 | (shcompact_return_tramp): Use GOTPLT to return trampoline. | |
5420 | (shcompact_return_tramp_i): Use return register explicitly. | |
5421 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't | |
5422 | disable flag_reorder_blocks. | |
5423 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> | |
5424 | * config/sh/sh.md (sibcall_compact): Reorder return, uses and | |
5425 | clobbers, for clarity. | |
5426 | (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and | |
5427 | restoring of r0 in macl as MAYBE_DEAD. | |
5428 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
5429 | * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. | |
5430 | * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of | |
5431 | alter_subreg all over. | |
5432 | (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after | |
5433 | reload, instead of emitting instructions that would require | |
5434 | reloading. | |
5435 | (casesi_load_media): Add missing modes. | |
5436 | 2001-11-09 Alexandre Oliva <aoliva@redhat.com> | |
5437 | * config/sh/sh.c (sh_expand_prologue): Mark the PIC register | |
5438 | as used if the argument decoder is called. | |
5439 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
5440 | * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in | |
5441 | Pmode, then extend it to DImode if necessary. | |
5442 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
5443 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode | |
5444 | constants in FPU-enabled SHmedia, let them be loaded from memory. | |
5445 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
5446 | * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): | |
5447 | Adjust whitespace in assembly output templates. | |
5448 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
5449 | * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust | |
5450 | mode of if_then_else. | |
5451 | 2001-08-04 Alexandre Oliva <aoliva@redhat.com> | |
5452 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in | |
5453 | sh.h. | |
5454 | 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> | |
5455 | Joern Rennecke <amylaar@redhat.com> | |
5456 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. | |
5457 | (SUBTARGET_CPP_PTR_SPEC): New. | |
5458 | (SUBTARGET_CPP_SPEC): Remove. | |
5459 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
5460 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
5461 | Fix typo in previous checkin. | |
5462 | 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> | |
5463 | * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. | |
5464 | 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> | |
5465 | Alexandre Oliva <aoliva@redhat.com> | |
5466 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than | |
5467 | what single FP register can hold for SHmedia target. | |
5468 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
5469 | Alexandre Oliva <aoliva@redhat.com> | |
5470 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
5471 | Do not split into SUBREG. | |
5472 | 2001-06-14 Alexandre Oliva <aoliva@redhat.com> | |
5473 | * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures | |
5474 | and added new functions as specified in SH5 ABI r9. | |
5475 | 2001-06-04 Alexandre Oliva <aoliva@redhat.com> | |
5476 | * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an | |
5477 | 8-byte boundary. | |
5478 | 2001-06-03 Alexandre Oliva <aoliva@redhat.com> | |
5479 | * config/sh/sh.c (dump_table): Add const0_rtx in calls of | |
5480 | gen_consttable_4 and gen_consttable_8. Emit multiple labels | |
5481 | and consttable_window_ends. | |
5482 | 2001-06-03 Graham Stott <grahams@redhat,com> | |
5483 | * config/sh/sh.md (movdi split): Remove unused variable last_insn. | |
5484 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
5485 | * config/sh/sh.c (print_operand): Handle floating-point pair, | |
5486 | vector and matrix registers. | |
5487 | * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer | |
5488 | vector modes into account. | |
5489 | * config/sh/sh.md (movv2sf): Split move between registers into | |
5490 | movdf. | |
5491 | (movv4sf, movv16sf): Introduce insns that get split only after | |
5492 | reload. | |
5493 | * config/sh/shmedia.h: Fix Copyright dates. | |
5494 | * config/sh/ushmedia.h: Likewise. Move loop counter | |
5495 | declarations into conditionals that uses them. | |
5496 | (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in | |
5497 | loop boundary. | |
5498 | * config/sh/sshmedia.h: Fix Copyright dates. | |
5499 | (sh_media_PUTCFG): Fix constraints. | |
5500 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> | |
5501 | * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to | |
5502 | ptrmemfunc_vbit_in_delta for SH5. | |
5503 | 2001-05-08 Alexandre Oliva <aoliva@redhat.com> | |
5504 | * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. | |
5505 | * invoke.texi: Likewise. | |
5506 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
5507 | * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, | |
5508 | GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, | |
5509 | GCC_pop_shmedia_regs_nofpu): New global symbols. | |
5510 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. | |
5511 | * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. | |
5512 | * config/sh/sh.c (calc_live_regs): Account for PR's saving in | |
5513 | compact function with nonlocal labels. | |
5514 | (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. | |
5515 | (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. | |
5516 | (initial_elimination_offset): Account for their stack space. | |
5517 | * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. | |
5518 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, | |
5519 | movhi_media, movdi_media, movdi_media_nofpu, movdf_media, | |
5520 | movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at | |
5521 | least one of the operands to be a register. | |
5522 | (movv2sf): Likewise. Renamed to movv2sf_i. | |
5523 | (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): | |
5524 | prepare_move_operands() before emitting SHmedia insns. | |
5525 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> | |
5526 | * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: | |
5527 | Don't save nor initialize r12. Don't mis-align the stack. | |
5528 | Pad the code with a nop. | |
5529 | * config/sh/crti.asm: Don't restore r12. Don't mis-align the | |
5530 | stack. | |
5531 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
5532 | * gcc/longlong.h (__umulsidi3, count_leading_zeros) | |
5533 | [__SHMEDIA__]: Implement. | |
5534 | 2001-03-11 Alexandre Oliva <aoliva@redhat.com> | |
5535 | * config/sh/sh.md: Set latency of `pt' closer to reality. | |
5536 | (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, | |
5537 | movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): | |
5538 | Set move, load and store type attributes. | |
5539 | * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. | |
5540 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable | |
5541 | profiling. | |
5542 | * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. | |
5543 | * config/sh/sh-protos.h (sh_media_register_for_return): Declare. | |
5544 | * config/sh/sh.c (sh_media_register_for_return): New function. | |
5545 | (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available | |
5546 | branch-target register. | |
5547 | (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. | |
5548 | * config/sh/sh.md (return_media_i): Use any call-clobbered | |
5549 | branch-target register. | |
5550 | (return_media): If r18 wasn't copied in the prologue, copy it | |
5551 | here. | |
5552 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: | |
5553 | Clear class FP0_REGS. | |
5554 | * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied | |
5555 | from elf.h. | |
5556 | 2001-03-08 DJ Delorie <dj@redhat.com> | |
5557 | * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. | |
5558 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> | |
5559 | * config/sh/sh.md (sibcall_compact): Set fp_mode to single. | |
5560 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> | |
5561 | * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. | |
5562 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> | |
5563 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode | |
5564 | return value correctly for call_cookie. | |
5565 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> | |
5566 | * config/sh/crt1.asm (start): Modified so as to call | |
5567 | ___setup_argv_and_call_main. | |
5568 | 2001-01-26 Alexandre Oliva <aoliva@redhat.com> | |
5569 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in | |
5570 | SHmedia mode. | |
5571 | 2001-01-20 Alexandre Oliva <aoliva@redhat.com> | |
5572 | * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. | |
5573 | (STRIP_NAME_ENCODING): Use it. | |
5574 | (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). | |
5575 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> | |
5576 | * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of | |
5577 | prepare_scc_operands(). | |
5578 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... | |
5579 | (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. | |
5580 | 2001-01-17 Alexandre Oliva <aoliva@redhat.com> | |
5581 | * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. | |
5582 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> | |
5583 | * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. | |
5584 | * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, | |
5585 | used in shcompact_incoming_args. | |
5586 | * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous | |
5587 | change. | |
5588 | * config/sh/crt1.asm (start) [SH5]: Switch to single-precision | |
5589 | mode. | |
5590 | * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): | |
5591 | Adjust accordingly. | |
5592 | * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): | |
5593 | Simplify. Adjust. Add sanity check. | |
5594 | * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set | |
5595 | FPU_SINGLE_BIT. | |
5596 | * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match | |
5597 | TARGET_SHCOMPACT. | |
5598 | (udivsi3, divsi3): Use them. | |
5599 | (force_mode_for_call): New insn. | |
5600 | (call, call_value, sibcall_value): Emit it before SHcompact | |
5601 | calls. | |
5602 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> | |
5603 | * config/sh/sh.md (call, call_value, sibcall): Make sure the | |
5604 | call cookie is non-NULL before taking its value. | |
5605 | 2001-01-10 Alexandre Oliva <aoliva@redhat.com> | |
5606 | * config.gcc (sh64): Set target_requires_64bit_host_wide_int. | |
5607 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> | |
5608 | * config/sh/sh.md (shcompact_incoming_args): Set argument memory | |
5609 | block. | |
5610 | * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. | |
5611 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as | |
5612 | temporary for stack adjusts. Use MACL and MACH to pass | |
5613 | arguments to shcompact_incoming_args. | |
5614 | * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't | |
5615 | clobber r1. | |
5616 | * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. | |
5617 | (nested_trampoline): Load static chain address into r1. | |
5618 | * config/sh/sh.md (movdi_media splits): Fix sign-extension. | |
5619 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com | |
5620 | * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call | |
5621 | fp_arith_reg_operand(). | |
5622 | 2001-01-06 Alexandre Oliva <aoliva@redhat.com> | |
5623 | * config/sh/sh.md (casesi): Sign-extend the first two operands, | |
5624 | and use signed compares for them. | |
5625 | * config/sh/sh.c (dump_table): Don't emit 8-byte constants after | |
5626 | 4-byte ones. Instead, inter-leave them, maintaining the 8-byte | |
5627 | ones properly aligned. | |
5628 | (find_barrier): Account for extra alignment needed for 8-byte wide | |
5629 | constants. | |
5630 | (machine_dependent_reorg): Require a label for the second 4-byte | |
5631 | constant after an 8-byte one. | |
5632 | * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's | |
5633 | change. | |
5634 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
5635 | * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset | |
5636 | last_float when switching float modes. | |
5637 | * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer | |
5638 | auto-increment for general-purpose registers. | |
5639 | * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the | |
5640 | result. | |
5641 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary | |
5642 | for stack adjust. | |
5643 | * config/sh/sh.c (sh_builtin_saveregs): Support using all | |
5644 | registers for varargs. | |
5645 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> | |
5646 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. | |
5647 | * config/sh/sh.h (CALL_COOKIE_STACKSEQ, | |
5648 | CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. | |
5649 | (CALL_COOKIE_INT_REG_SHIFT): Adjust. | |
5650 | (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust | |
5651 | call_cookie accordingly. | |
5652 | (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. | |
5653 | (SHCOMPACT_BYREF): Likewise. | |
5654 | (SHCOMPACT_FORCE_ON_STACK): New macro. | |
5655 | * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. | |
5656 | (sh_builtin_saveregs): Likewise. | |
5657 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
5658 | shcompact_incoming_args): Use new shift values. Support | |
5659 | sequences of consecutive and non-consecutive pushes/pops. | |
5660 | * config/sh/sh.md (return): Don't explicitly use PR_REG. | |
5661 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
5662 | * config/sh/sh.h (TEXT_SECTION): Define. | |
5663 | * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. | |
5664 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
5665 | * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
5666 | * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for | |
5667 | return values on FPU-enabled SHmedia. | |
5668 | (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on | |
5669 | FPU-enabled SHmedia. | |
5670 | (INIT_CUMULATIVE_ARGS): Set up return trampoline only if | |
5671 | value is returned in a non-FP reg and is not returned by | |
5672 | reference. | |
5673 | * config/sh/sh.md (shcompact_return_tramp_i): Change type to | |
5674 | jump_ind. | |
5675 | 2000-01-04 Alexandre Oliva <aoliva@redhat.com> | |
5676 | * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. | |
5677 | (FUNCTION_ARG_CALLEE_COPIES): Require argument to be | |
5678 | quad-aligned to be passed by callee-copy reference. | |
5679 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> | |
5680 | * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. | |
5681 | * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. | |
5682 | 2001-01-02 Alexandre Oliva <aoliva@redhat.com> | |
5683 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in | |
5684 | copying low-numbered FP regs to r7 and r8. | |
5685 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of | |
5686 | FP regs to general-purpose regs only if the copy was passed on the | |
5687 | stack. | |
5688 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in | |
5689 | copying FP reg to r9. | |
5690 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to | |
5691 | copy FP regs to general-purpose regs only in outgoing calls. | |
5692 | * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect | |
1e4e95d6 | 5693 | change from 2000-10-30. Adjust for 64-bit (or 32-bit) |
fa5322fa AO |
5694 | HOST_WIDE_INT. |
5695 | * config/sh/sh.h (struct sh_args): Document all fields. | |
5696 | (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments | |
5697 | passed partially on the stack should not consider making | |
5698 | sibcalls. | |
5699 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to | |
5700 | stack_regs only for incoming calls. When passing FP args, | |
5701 | make sure there are FP regs available before modifying | |
5702 | call_cookie. | |
5703 | (SHCOMPACT_BYREF): Pass double args in general-purpose | |
5704 | registers by reference. | |
5705 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> | |
5706 | * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't | |
5707 | attempt to generate sibcalls if the caller got any arguments | |
5708 | by reference. | |
5709 | * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. | |
5710 | * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode | |
5711 | to 8-byte boundaries. | |
5712 | * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. | |
5713 | * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. | |
5714 | * config/sh/sh.c (sh_expand_prologue): Preserve args that will be | |
5715 | stored in the stack. | |
5716 | * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange | |
5717 | for the offsets to have the ISA bit set. | |
5718 | (shcompact_call_trampoline): Document. Swap r0 and r1, to match | |
5719 | invocation. Use beq instead of bgt to mark end of sequence of | |
5720 | loads. | |
5721 | (shcompact_incoming_args): Fix store of r2. Use beq instead of | |
5722 | bgt to mark end of sequence of stores. | |
5723 | * config/sh/sh.c (arith_operand): Don't check whether | |
5724 | CONST_OK_FOR_J for now. | |
5725 | * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT | |
5726 | instead of long for conversion. | |
5727 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> | |
5728 | * config/sh/sh.c (print_operand_address): Convert INTVAL to int | |
5729 | before passing it to fprintf. | |
5730 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> | |
5731 | * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. | |
5732 | Call set_fpscr before reading/writing SR. | |
5733 | * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. | |
5734 | Call set_fpscr. | |
5735 | * config/sh/lib1funcs.asm: Add `.align 2' directives before | |
5736 | SHmedia code. | |
5737 | (FMOVD_WORKS): Define on SH5 with FPU. | |
5738 | (set_fpscr): Define on SH5. Remove separate _fpscr_values | |
5739 | setting. | |
5740 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of | |
5741 | _fpscr_values. | |
5742 | 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> | |
5743 | * config/sh/lib1funcs.asm (ct_main_table): Align contents to even | |
5744 | address. | |
5745 | (ia_main_table): Ditto. | |
5746 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> | |
5747 | * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
5748 | * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate | |
5749 | the definitions from sh.h. | |
5750 | * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on | |
5751 | TARGET_SH5. | |
5752 | (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. | |
5753 | * config/sh/elf.h (PTRDIFF_TYPE): Likewise. | |
5754 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
5755 | 2000-12-26 Alexandre Oliva <aoliva@redhat.com> | |
5756 | * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. | |
5757 | Increment LABEL_NUSES. | |
d9b3eb63 | 5758 | |
fa5322fa AO |
5759 | * config/sh/sh.h (SIZE_TYPE): Define as conditional on |
5760 | TARGET_SH5. | |
5761 | (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always | |
5762 | defined. | |
5763 | * config/sh/elf.h (SIZE_TYPE): Likewise. | |
5764 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
5765 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
5766 | shcompact_incoming_args): Load switch table addresses using | |
5767 | datalabel. | |
5768 | * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
5769 | (NO_BUILTIN_SIZE_TYPE): Define. | |
5770 | (SIZE_TYPE): Don't define. | |
5771 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
5772 | * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the | |
5773 | definition of __SH5__=32 for -m5-compact-nofpu. | |
5774 | * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after | |
5775 | ADDR_DIFF_VEC. | |
5776 | 2000-12-24 Alexandre Oliva <aoliva@redhat.com> | |
5777 | * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed. | |
5778 | 2000-12-23 Alexandre Oliva <aoliva@redhat.com> | |
5779 | * config/sh/sh.h (TARGET_CACHE32): Enable on SH5. | |
5780 | (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia. | |
5781 | (INSN_LENGTH_ALIGNMENT): Likewise. | |
5782 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
5783 | * config/sh/sh.md (call, call_value, sibcall): Simplify | |
5784 | copying of non-branch-target register. | |
5785 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
1e4e95d6 | 5786 | * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch. |
fa5322fa AO |
5787 | * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia. |
5788 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
5789 | * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex | |
5790 | floating-point values as structs. | |
5791 | (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG. | |
5792 | (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before | |
5793 | general-purpose register. | |
5794 | (SH5_PROTOTYPED_FLOAT_ARG): New macro. | |
5795 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
5796 | * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia. | |
5797 | * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too. | |
5798 | * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST. | |
5799 | (ENCODE_SECTION_INFO): Enclose variables and constants in | |
5800 | DATALABEL unspecs. | |
5801 | (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define. | |
5802 | (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off. | |
5803 | (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define. | |
5804 | * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL | |
5805 | only for LABEL_REFs. For SYMBOL_REFs, prepend | |
5806 | SH_DATALABEL_ENCODING to the symbol name. | |
5807 | * config/sh/sh.md (indirect_jump): Use SUBREG instead of | |
5808 | convert_mode(). | |
5809 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
5810 | * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in | |
5811 | UNSPEC_DATALABEL. | |
5812 | * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs. | |
5813 | * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise. | |
5814 | (DATALABEL_REF_P): Don't require CONST. | |
5815 | (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before | |
5816 | REL label. | |
5817 | 2000-12-19 Alexandre Oliva <aoliva@redhat.com> | |
5818 | * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift | |
5819 | right. | |
5820 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
5821 | * config/sh/sh.md (movsi_media, call, call_value, sibcall): | |
5822 | Use shallow_copy_rtx and PUT_MODE to change the mode of | |
5823 | SYMBOL_REFs, LABEL_REFs, CONSTs, etc. | |
5824 | * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs | |
5825 | on SHmedia using GENERAL_REGs. | |
5826 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
5827 | bltu_media_i): Fix reversion of conditions. | |
5828 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
5829 | * config/sh/sh.md (zero_extendhidi2): Use logical shift right. | |
5830 | * config/sh/sh.c (output_far_jump): Save r13 in macl. | |
5831 | 2000-12-17 Alexandre Oliva <aoliva@redhat.com> | |
5832 | * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC. | |
5833 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
5834 | * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5. | |
5835 | (GCC_nested_trampoline): Likewise. | |
5836 | * config/sh/sh-protos.h (gen_datalabel_ref): Declare. | |
5837 | * config/sh/sh.c (gen_datalabel_ref): Define. | |
5838 | * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5. | |
5839 | (INITIALIZE_TRAMPOLINE): Likewise. | |
5840 | (TRAMPOLINE_ADJUST_ADDRESS): Define. | |
5841 | (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define. | |
5842 | (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs. | |
5843 | (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs. | |
5844 | * config/sh/sh.md (UNSPEC_DATALABEL): New constant. | |
5845 | (ic_invalidate): Adjust for SH5. | |
5846 | (ic_invalidate_line_media, ic_invalidate_line_compact): New insns. | |
5847 | * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and | |
5848 | _nested_trampoline. | |
5849 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> | |
5850 | * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere. | |
5851 | (MOVE_MAX_PIECES): Set to 8 on SHmedia too. | |
5852 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
5853 | * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb. | |
5854 | * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise. | |
5855 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
5856 | * config/sh/sh.c (target_reg_operand): Match only target-branch | |
5857 | registers and pseudos that aren't virtual registers. | |
5858 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
5859 | Copy operands that don't match target_reg_operand to pseudos. | |
5860 | (call_media, call_value_media, sibcall_media): Use | |
5861 | target_reg_operand instead of target_operand. | |
5862 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> | |
d9b3eb63 | 5863 | * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. |
fa5322fa AO |
5864 | * config/sh/sh.c (target_reg_operand): Match hardware registers |
5865 | other than branch-target registers. | |
5866 | * config/sh/sh.md (zero_extendqidi2): Input operand is %1. | |
5867 | * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global. | |
5868 | (fpscr_values) [SH5 == 32]: Define. | |
5869 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values. | |
5870 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
5871 | Handle function addresses coming in SUBREGs. | |
5872 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> | |
5873 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
5874 | shcompact_return_trampoline): Use datalabel where appropriate. | |
5875 | 2000-12-09 Alexandre Oliva <aoliva@redhat.com> | |
5876 | * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a | |
5877 | general-purpose register to copy one branch-target register to | |
5878 | another. | |
5879 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
5880 | * config/sh/sh.c (target_operand): Accept LABEL_REFs and | |
5881 | SYMBOL_REFs with VOIDmode. | |
5882 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
5883 | bltu_media_i): New insns. | |
5884 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
5885 | * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI. | |
5886 | (INIT_CUMULATIVE_ARGS): Likewise. | |
5887 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
5888 | * machmode.def (V16SFmode): New mode. | |
5889 | * c-common.c (type_for_mode): Support V2SF and V16SF. | |
5890 | * tree.c (build_common_tree_nodes_2): Likewise. | |
5891 | * tree.h (tree_index): Likewise. | |
5892 | * calls.c (emit_call_1): Take args_so_far. Adjust all | |
5893 | callers. Introduce CALL_POPS_ARGS. | |
5894 | * tm.texi (CALL_POPS_ARGS): Document. | |
5895 | * config/sh/crt1.asm: Implement in SHmedia mode. | |
5896 | * config/sh/crti.asm, config/sh/crtn.asm: Likewise | |
5897 | * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags. | |
5898 | (DBX_REGISTER_NUMBER): Renumber registers for SH5. | |
5899 | * config/sh/lib1funcs.asm: Disable functions unused in SH5. | |
5900 | Implement divsi and udivsi in SHmedia mode. Introduce | |
5901 | SHcompact trampolines. | |
5902 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode | |
5903 | only in SHmedia64. | |
5904 | (regno_reg_class): Rewrite. | |
5905 | (fp_reg_names): Remove. | |
5906 | (sh_register_names, sh_additional_register_names): New. | |
5907 | (print_operand): Added `u'. Support SUBREGs in addresses. | |
5908 | Add parentheses around shifted CONSTs. | |
5909 | (output_file_start): Output .mode and .abi directives. | |
5910 | (shiftcosts, addsubcosts, multcosts): Adjust. | |
5911 | (output_stack_adjust): Compute alignment. Sanity-check SIZE. | |
5912 | (push_regs): Take array of HOST_WIDE_INTs. Adjust callers. | |
5913 | (calc_live_regs): Output to array of HOST_WIDE_INTs. Count | |
5914 | bytes, not registers. Take into account the need for the | |
5915 | SHcompact incoming args trampoline. Adjust all callers. | |
5916 | (sh_expand_prologue): Take stack_regs into account. Call | |
5917 | incoming args trampoline. Keep stack aligned as per SH5 ABI. | |
5918 | (sh_expand_epilogue): Take stack_regs into accoutn. Keep | |
5919 | stack aligned as per SH5 ABI. | |
5920 | (sh_builtin_saveregs): Support SH5 ABI. | |
5921 | (sh_build_va_list, sh_va_start): Likewise. | |
5922 | (initial_elimination_offset): Take alignment into account. | |
5923 | Compute location of PR according to the SH5 stack frame. | |
5924 | (arith_reg_operand): Reject branch-target registers. | |
5925 | (shmedia_6bit_operand): New. | |
5926 | (logical_operand): Use CONST_OK_FOR_P on SHmedia. | |
5927 | (target_reg_operand): Match DImode only. Accept SUBREGs. | |
5928 | (target_operand): New. | |
5929 | * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags. | |
5930 | (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize | |
5931 | SIBCALL_REGS for SHmedia. | |
5932 | (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too. | |
5933 | (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New. | |
5934 | (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New. | |
5935 | (TARGET_SWITCHES): New SH5 flags. | |
5936 | (OVERRIDE_OPTIONS): Set SH5-specific options. Use | |
5937 | VALID_REGISTER_P to disable unsupported registers. | |
5938 | (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set. | |
5939 | (POINTER_SIZE, PARM_BOUNDARY): Adjust. | |
5940 | (FUNCTION_ARG_PADDING): Define. | |
5941 | (FASTEST_ALIGNMENT): Adjust. | |
5942 | (SH_REGISTER_NAMES_INITIALIZER): New. | |
5943 | (sh_register_names): Declare. | |
5944 | (DEBUG_REGISTER_NAMES): Define. | |
5945 | (REGISTER_NAMES): Define based on sh_register_names. | |
5946 | (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New. | |
5947 | (sh_additional_register_names): Declare. | |
5948 | (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia. | |
5949 | (FIRST_TARGET_REG, LAST_TARGET_REG): Define. | |
5950 | (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define. | |
5951 | (REGISTER_NATURAL_MODE): Define. | |
5952 | (FIRST_PSEUDO_REGISTER): Adjust. | |
5953 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust. | |
5954 | (HARD_REGNO_CALL_PART_CLOBBERED): Define. | |
5955 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust. | |
5956 | (VECTOR_MODE_SUPPORTED_P): Define. | |
5957 | (REG_CLASS_CONTENTS): Adjust. | |
5958 | (SMALL_REGISTER_CLASSES): Adjust. | |
5959 | (REG_ALLOC_ORDER): Adjust. | |
5960 | (INDEX_REG_CLASS): Adjust. | |
5961 | (CONST_OK_FOR_O, CONST_OK_FOR_P): New. | |
5962 | (CONST_OK_FOR_LETTER_P): Adjust. | |
5963 | (PREFERRED_RELOAD_CLASS): Adjust. | |
5964 | (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust. | |
5965 | (SECONDARY_INPUT_RELOAD_CLASS): Adjust. | |
5966 | (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust. | |
5967 | (FIRST_FP_PARM_REG): Adjust. | |
5968 | (CALL_POPS_ARGS): Define. | |
5969 | (FUNCTION_ARG_REGNO_P): Adjust. | |
5970 | (struct sh_args): New fields. | |
5971 | (GET_SH_ARG_CLASS): Adjust. | |
5972 | (INIT_CUMULATIVE_ARGS): Adjust. | |
5973 | (INIT_CUMULATIVE_INCOMING_ARGS): Define. | |
5974 | (FUNCTION_ARG_ADVANCE): Adjust. | |
5975 | (FUNCTION_ARG): Adjust. | |
5976 | (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define. | |
5977 | (FUNCTION_ARG_CALLEE_COPIES): Define. | |
5978 | (SH5_PROTOTYPELESS_FLOAT_ARG): Define. | |
5979 | (STRICT_ARGUMENT_NAMING): Define. | |
5980 | (PRETEND_OUTGOING_VARARGS_NAMED): Adjust. | |
5981 | (FUNCTION_ARG_PARTIAL_NREGS): Adjust. | |
5982 | (SH5_WOULD_BE_PARTIAL_NREGS): Define. | |
5983 | (SETUP_INCOMING_VARARGS): Adjust. | |
5984 | (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust. | |
5985 | (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust. | |
5986 | (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust. | |
5987 | (SUBREG_OK_FOR_INDEX_P): Adjust. | |
5988 | (EXTRA_CONSTRAINT_S): Update. | |
5989 | (EXTRA_CONSTRAINT_T): New. | |
5990 | (EXTRA_CONSTRAINT): Adjust. | |
5991 | (GO_IF_LEGITIMATE_INDEX): Adjust. | |
5992 | (GO_IF_LEGITIMATE_ADDRESS): Adjust. | |
5993 | (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust. | |
5994 | (MOVE_MAX): Adjust. | |
5995 | (MAX_MOVE_MAX): Define. | |
5996 | (Pmode): Adjust. | |
5997 | (CONST_COSTS): Adjust. | |
5998 | (REGISTER_MOVE_COST): Adjust. | |
5999 | (BRANCH_COST): Adjust. | |
6000 | (TEXT_SECTION_ASM_OP): Adjust. | |
6001 | (DBX_REGISTER_NUMBER): Adjust. | |
6002 | (ASM_OUTPUT_DOUBLE_INT): New. | |
6003 | (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
6004 | (PREDICATE_CODES): Adjust. | |
6005 | (PROMOTE_MODE): Adjust. | |
6006 | (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia. | |
6007 | * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber. | |
6008 | (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber. | |
6009 | (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New. | |
6010 | (DR0_REG, DR2_REG, DR4_REG): Renumber. | |
6011 | (TR0_REG, TR1_REG, TR2_REG): New. | |
6012 | (XD0_REG): Renumber. | |
6013 | (UNSPEC_COMPACT_ARGS): New. | |
6014 | (type): Added pt and ptabs. | |
6015 | (length): Default to 4 on SHmedia. Default pt length to 12 | |
1e4e95d6 | 6016 | and 20 on SHmedia32 and SHmedia64, respectively. |
fa5322fa AO |
6017 | (pt): New function unit. |
6018 | (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES. | |
6019 | Add whitespace between operands of SHmedia instructions. | |
6020 | (movdicc): Fix. | |
6021 | (adddi3_media, addsi3_media): Adjust constraints. | |
6022 | (subsi3) [SHmedia]: Force operand 1 into a register. | |
6023 | (udivsi3_i1_media, udivsi3_i4_media): New. | |
6024 | (udivsi3): Support SHmedia. | |
6025 | (divsi3_i1_media, divsi3_i4_media): New. | |
6026 | (divsi3): Support SHmedia. | |
6027 | (anddi3, iordi3, xordi3): Adjust constraints. | |
6028 | (zero_extendhidi2, zero_extendqidi2): New. | |
6029 | (extendsidi2, extendhidi2, extendqidi2): New. | |
6030 | (push, pop, push_e, push_fpul, push_4): Disable on SH5. | |
6031 | (pop_e, pop_fpul, pop_4): Likewise. | |
6032 | (movsi_media): Support FP and BT registers. | |
6033 | (movsi_media_nofpu): New. Adjust splits to DImode. | |
6034 | (lduw, ldub): Renamed to zero_extend* above. | |
6035 | (movqi_media): Fix typo. | |
6036 | (movdi_media): Support FP and BT registers. | |
6037 | (movdi_media_nofpu): New. Adjust splits for SHmedia32. | |
6038 | (movdi_const_32bit): New. | |
6039 | (shori_media): Require immediate operand. Use `u' for output. | |
6040 | (movdf_media, movsf_media): Simplified. | |
6041 | (movdf_media_nofpu, movsf_media_nofpu): New. | |
6042 | (movdf, movsf): Adjust | |
6043 | (movv2sf, movv2sf, movv16sf): New. | |
6044 | (beq_media, beq_media_i): Adjust constraints. Don't use | |
6045 | scratch BT register. | |
6046 | (bne_media, bne_media_i): Likewise. | |
6047 | (bgt_media, bgt_media_i): Likewise. | |
6048 | (bge_media, bge_media_i): Likewise. | |
6049 | (bgtu_media, bgtu_media_i): Likewise. | |
6050 | (bgeu_media, bgeu_media_i): Likewise. | |
6051 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu, | |
6052 | bunordered): Emit jump insn. Force operands to registers when | |
6053 | needed. | |
6054 | (jump_media, jump): Simplify. | |
6055 | (call_compact, call_compact_rettramp): New. | |
6056 | (call_value_compact, call_value_compact_rettramp): New. | |
6057 | (call_media, call_value_media): Simplify. | |
6058 | (sibcall_compact, sibcall_media): New. | |
6059 | (call, call_value): Adjust for SHmedia and SHcompact. | |
6060 | (sibcall, sibcall_value, untyped_call): Likewise. | |
6061 | (sibcall_epilogue): Preserve r0 across epilogue for SHcompact. | |
6062 | (indirect_jump): Adjust for SHmedia. | |
6063 | (casesi_jump_media): New. | |
6064 | (nop): Re-enable for SHmedia. | |
6065 | (call_site): Restrict to SH1. | |
6066 | (casesi): Adjust for SHmedia. | |
6067 | (casesi_shift_media, casesi_load_media): New. | |
6068 | (return): Explicitly use PR register. Call return trampoline | |
6069 | on SHcompact. | |
6070 | (return_i): Explicitly use PR register. | |
6071 | (shcompact_return_tramp, shcompact_return_tramp_i): New. | |
6072 | (return_media): Adjust. | |
6073 | (shcompact_incoming_args): New. | |
6074 | (epilogue): Adjust. | |
6075 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
6076 | (movstrsi): Disable on SH5. | |
6077 | (fpu_switch0, fpu_switch1, movpsi): Enable on SH4. | |
6078 | (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU. | |
6079 | (subsf3, subsf3_media): Likewise. | |
6080 | (mulsf3, mulsf3_media, mac_media): Likewise. | |
6081 | (divsf3, divsf3_media): Likewise. | |
6082 | (floatdisf2, floatsisf2_media): Likewise. Adjust constraints. | |
6083 | (floatsisf2, fux_truncsfsi2): Likewise. | |
6084 | (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust | |
6085 | constraints. | |
6086 | (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise. | |
6087 | (cmpunsf_media, cmpsf): Likewise. | |
6088 | (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise. | |
6089 | (abssf2, abssf2_media): Likewise. | |
6090 | (adddf3, adddf3_media, subdf3, subdf3_media): Likewise. | |
6091 | (muldf3, muldf3_media, divdf3, divdf3_media): Likewise. | |
6092 | (floatdidf2, floatsidf2_media): Likewise. Adjust constraints. | |
6093 | (floatsidf2, fix_truncdfsi2): Likewise. | |
6094 | (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust | |
6095 | constraints. | |
6096 | (cmpeqdf_media, cmpgtdf_media): Likewise. | |
6097 | (cmpgedf_media, cmpundf_media, cmpdf): Likewise. | |
6098 | (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise. | |
6099 | (absdf2, absdf2_media): Likewise. | |
6100 | (extendsfdf2, extendsfdf2_media): Likewise. | |
6101 | (truncsfdf2, truncsfdf2_media): Likewise. | |
6102 | * config/sh/sh64.h: New file. | |
6103 | * config/sh/t-sh64: New file. | |
6104 | * config/sh/shmedia.h: New file. | |
6105 | * config/sh/ushmedia.h: New file. | |
6106 | * config/sh/sshmedia.h: New file. | |
6107 | * configure.in: Added sh64-*-elf. | |
6108 | * configure: Rebuilt. | |
6109 | 2000-10-10 Alexandre Oliva <aoliva@redhat.com> | |
6110 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros. | |
6111 | (reg_class_from_letter): Use `b' for TARGET_REGS. | |
6112 | (print_operand): Support `%M', `%m', `AND' and | |
6113 | `ASHIFTRT'. Do not precede constants with `#' on SHmedia. | |
6114 | (andcosts): Adjust for SHmedia. | |
6115 | (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue): | |
6116 | Likewise. | |
6117 | (target_reg_operand): New function. | |
6118 | * config/sh/sh-protos.h (target_reg_operand): Declare. | |
6119 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable | |
6120 | FP registers on SH5. | |
6121 | (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable | |
6122 | on SH4. | |
6123 | (TARGET_REGISTER_P): New macro. | |
6124 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS. | |
6125 | (FUNCTION_VALUE): Use DImode for promoted types on SHmedia. | |
6126 | (EXTRA_CONSTRAINT_S): New macro. | |
6127 | (EXTRA_CONSTRAINT): Adjust. | |
6128 | (FLOAT_TYPE_SIZE): Define to 32. | |
6129 | (Pmode): DImode on SHmedia. | |
6130 | (CONST_COSTS): Adjust for SHmedia literals. | |
6131 | (PREDICATE_CODES): Added target_reg_operand. | |
6132 | (PROMOTE_MODE): Promote signed types to DImode on SHmedia. | |
6133 | * config/sh/sh.md: Remove all attrs from SHmedia insns. | |
6134 | (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns. | |
6135 | (cmpdi): Accept SHmedia. | |
6136 | (movdicc_false, movdicc_true): New insns. | |
6137 | (movdicc): New expand. | |
6138 | (adddi3): Accept arith_operand for op2, but FAIL on SH1 if | |
6139 | no_new_pseudos. | |
6140 | (addsi3_media): Match `S' constraint. | |
6141 | (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns. | |
6142 | (negdi2): Expand for SHmedia. | |
6143 | (one_cmpldi2): New expand. | |
6144 | (zero_extendsidi2): Change from expand to insn. | |
6145 | (extendsidi2): Add constraints. | |
6146 | (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for | |
6147 | LD/ST address. Fix SI immediate loading split. | |
6148 | (movhi_media, movqi_media, lduw, ldub): New insns. | |
6149 | (movhi, movqi): Accept SHmedia. | |
6150 | (shori_media, movdi_media): Relax input constraints. Split | |
6151 | symbolic constants. | |
6152 | (movdf_media, movsf_media): New insn. New split to movdi. | |
6153 | (movdf, movsf): Match on SHmedia. | |
6154 | (beq_media, bne_media, bgt_media, bge_media, bgtu_media, | |
6155 | bgeu_media): New insns and splits. New insns with `_i' suffix. | |
6156 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust. | |
6157 | (bunordered): New expand. | |
6158 | (jump_compact): Renamed from `jump'. | |
6159 | (jump_media): New insn. | |
6160 | (jump): New expand. | |
6161 | (call_media, call_value_media): New insns. | |
6162 | (call, call_value): Adjust. | |
6163 | (indirect_jump_compact): Renamed from `indirect_jump'. | |
6164 | (indirect_jump_media): New insn. | |
6165 | (indirect_jump): New expand. | |
6166 | (untyped_call, return): Accept SHmedia. | |
6167 | (return_media): New insn. | |
6168 | (prologue, epilogue, blockage): Accept SHmedia. | |
6169 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
6170 | (sunordered): New expand. | |
6171 | (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2, | |
6172 | cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia. | |
6173 | (addsf3_media, subsf3_media, mulsf3_media, mac_media, | |
6174 | divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2, | |
6175 | fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media, | |
6176 | cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media, | |
6177 | abssf2_media): New insns. | |
6178 | (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2, | |
6179 | cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia. | |
6180 | (adddf3_media, subdf3_media, muldf3_media, divdf3_media, | |
6181 | floatdidf2, floatsidf2_media, fix_truncdfdi2, | |
6182 | fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media, | |
6183 | cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media, | |
6184 | absdf2_media): New insns. | |
6185 | (extendsfdf2, truncdfsf2): Adjust for SHmedia. | |
6186 | (extendsfdf2_media, truncdfsf2_media): New insns. | |
6187 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> | |
6188 | * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now. | |
6189 | * config/sh/sh.h (CONST_OK_FOR_J): Document. | |
6190 | (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia. | |
6191 | * config/sh/sh.md (adddi3): New expand. | |
6192 | (adddi3_media, adddi3z_media): New insns. | |
6193 | (adddi3_compact): Renamed from adddi3. | |
6194 | (addsi3_media): Use add.l r63 to add constant zero. | |
6195 | (subdi3): New expand. | |
6196 | (subdi3_media): New insn. | |
6197 | (subdi3_compact): Renamed from subdi3. | |
6198 | (mulsidi3): New expand. | |
6199 | (mulsidi3_media): New insn. | |
6200 | (mulsidi3_compact): Renamed from mulsidi3. | |
6201 | (umulsidi3): New expand. | |
6202 | (umulsidi3_media): New insn. | |
6203 | (umulsidi3_compact): Renamed from umulsidi3. | |
6204 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns. | |
6205 | (ashlsi3, ashrsi3, lshrsi3): Use them. | |
6206 | (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns. | |
6207 | (ashldi3, ashrdi3, lshrdi3): Use them. | |
6208 | (zero_extendsidi2): New expand. | |
6209 | (extendsidi2): New insn. | |
6210 | (movsi_media): New insn. Split to movdi to load constants. | |
6211 | (movsi): Enable for shmedia. | |
6212 | (movdi_media): New insn. Use shori_media to load wide constants. | |
6213 | (short_media): New insn. | |
6214 | (movdi): Enable for shmedia. | |
6215 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> | |
6216 | * config/sh/sh.h (CPP_SPEC): Added `m5'. | |
6217 | (SUBTARGET_CPP_SPEC): Added `!m5'. | |
6218 | (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros. | |
6219 | (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT | |
6220 | to all other SH variants. | |
6221 | (TARGET_DEFAULT): Set to SH1_BIT. | |
6222 | (OVERRIDE_OPTIONS): Recognize sh5 CPU. | |
6223 | (BITS_PER_WORD): Raise to 64 on shmedia. | |
6224 | (MAX_BITS_PER_WORD): Change to 64. | |
6225 | (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD. | |
6226 | (INT_TYPE_SIZE): Keep as 32. | |
6227 | (UNITS_PER_WORD): Raise to 8 on shmedia. | |
6228 | (MIN_UNITS_PER_WORD): Keep as 4. | |
6229 | (POINTER_SIZE): Raise to 64 on shmedia. | |
6230 | (CONST_OK_FOR_J): New macro. | |
6231 | (CONST_OK_FOR_LETTER_P): Use it. | |
6232 | (processor_type): Add PROCESSOR_SH5. | |
6233 | * config/sh/sh.md: Conditionalize all expands, insns and | |
6234 | splits to TARGET_SH1. | |
6235 | (cpu): Added sh5. | |
6236 | (addsi3_compact): Renamed from... | |
6237 | (addsi3): Now an expand. | |
6238 | (addsi3_media, subsi3_media): New insns. | |
6239 | (subsi3): Don't negate constants with SHmedia. | |
6240 | ||
e4ec2cac AO |
6241 | * hooks.c: New file. |
6242 | * hooks.h: New file. | |
6243 | * Makefile.in (HOOKS_H): New. | |
6244 | (TARGET_DEF_H): Added $(HOOKS_H). | |
6245 | (OBJS): Added hooks.o. | |
6246 | (cfgcleanup.o, bb-reorder.o): Added target.h. | |
6247 | (hooks.o): Added dependencies. | |
6248 | * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to... | |
6249 | (TARGET_INITIALIZER): this. | |
6250 | * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document. | |
6251 | * target.h (struct gcc_target): Added cannot_modify_jumps_p. | |
6252 | * bb-reorder.c: Include target.h. | |
6253 | (reorder_basic_blocks): Skip if cannot modify jumps. | |
6254 | * cfgcleanup.c: Include target.h. | |
6255 | (try_optimize_cfg): Skip merge blocking if cannot modify jumps. | |
6256 | ||
246a46e0 CD |
6257 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
6258 | ||
831c4e87 KC |
6259 | * config/mips/mips.md (casesi_internal, casesi_internal_di): |
6260 | Protect jump delay slot instructions with .set noreorder and | |
6261 | .set nomacro. | |
246a46e0 CD |
6262 | |
6263 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> | |
6a5ea3f4 CD |
6264 | |
6265 | * config/mips/mips.md (casesi_internal_di): Calculate | |
6266 | the index into the target offset table correctly. | |
6267 | ||
fdf473ae RH |
6268 | 2002-02-08 Richard Henderson <rth@redhat.com> |
6269 | ||
6270 | * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also. | |
6271 | * final.c (output_addr_const): Accept and discard SUBREG. | |
6272 | * varasm.c (decode_addr_const): Don't abort on unknown expressions -- | |
6273 | mark them unknown instead. | |
6274 | (simplify_subtraction): Handle RTX_UNKNOWN. | |
6275 | (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode. | |
6276 | ||
c50503ac DE |
6277 | 2002-02-08 David Edelsohn <edelsohn@gnu.org> |
6278 | ||
6279 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo. | |
6280 | ||
3660d217 RH |
6281 | 2002-02-08 Richard Henderson <rth@redhat.com> |
6282 | ||
6283 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
6284 | ||
56547299 AJ |
6285 | 2002-02-08 Andreas Jaeger <aj@suse.de> |
6286 | ||
6287 | * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment. | |
6288 | * config/i386/t-linux64: New file. | |
6289 | ||
1cf537c5 JJ |
6290 | 2002-02-08 Jakub Jelinek <jakub@redhat.com> |
6291 | ||
6292 | * c-common.c (c_expand_expr): Revert 2002-02-06 patch. | |
6293 | * c-parse.in (compstmt): Clear last_expr_type. | |
6294 | ||
5c7f5a5f RH |
6295 | 2002-02-07 Richard Henderson <rth@redhat.com> |
6296 | ||
6297 | * loop.c (strength_reduce): Sink final_value when not | |
6298 | eliminating a biv. | |
6299 | ||
b1138bf3 DB |
6300 | 2002-02-07 David O'Brien <obrien@FreeBSD.org> |
6301 | ||
6302 | * config/sparc/freebsd.h: Fix mismatched spec {. | |
6303 | ||
b6878a45 RH |
6304 | 2002-02-07 Richard Henderson <rth@redhat.com> |
6305 | ||
6306 | * cfgrtl.c: Include recog.h and insn-config.h. | |
6307 | (keep_with_call_p): Fix general_operand invocation. | |
6308 | * Makefile.in (cfgrtl.o): Update dependencies. | |
6309 | ||
ae19f5ef KH |
6310 | 2002-02-07 Kazu Hirata <kazu@hxi.com> |
6311 | ||
6312 | * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a | |
6313 | comment. Accept HImode only if TARGET_H8300. | |
6314 | ||
b137f9fc EC |
6315 | 2002-02-07 Eric Christopher <echristo@redhat.com> |
6316 | ||
6317 | * config/mips/crtn.asm: Cleanup #ifdefs. | |
6318 | ||
6319 | 2002-02-07 Eric Christopher <echristo@redhat.com> | |
6320 | ||
6321 | * config/mips/crti.asm: Add changes for mips16. mips16 uses | |
6322 | register 7 as RA instead of $31. | |
6323 | * config/mips/crtn.asm: Ditto. | |
6324 | * config/mips/mips.c (mips_move_2words): Add case for | |
6325 | TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. | |
6326 | (compute_frame_size): Fix typo. | |
6327 | (save_restore_insns): Ditto. Make documentation about using | |
6328 | register $7 as return register more precise. | |
6329 | (mips_expand_epilogue): Fix comment. Add code to work around not | |
6330 | being able to add to the stack pointer directly. | |
6331 | * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number | |
6332 | to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the | |
6333 | epilogue. | |
6334 | ||
768070a0 TR |
6335 | 2002-02-07 Tom Rix <trix@redhat.com> |
6336 | ||
b137f9fc | 6337 | * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For |
768070a0 TR |
6338 | immediates in ldu and stdu DS opcode field. |
6339 | * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use. | |
6340 | * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand. | |
6341 | * config/rs6000/rs6000.h (PREDICATE_CODES): Same. | |
6342 | ||
225909c3 JS |
6343 | 2002-02-07 Jeff Sturm <jsturm@one-point.com> |
6344 | ||
6345 | * config/sparc/sparc.c (compute_frame_size): Don't correct frame | |
6346 | offset for stack bias. | |
6347 | ||
15fae023 L |
6348 | 2002-02-07 H.J. Lu <hjl@gnu.org> |
6349 | ||
6350 | * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. | |
6351 | ||
fde5badd UW |
6352 | 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com> |
6353 | ||
6354 | * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option. | |
6355 | ||
162f023b JH |
6356 | Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz> |
6357 | ||
6358 | * i386-protos.h (x86_order_regs_for_local_alloc): Declare | |
6359 | * i386.c (x86_order_regs_for_local_alloc): New global function. | |
6360 | * i386.h (REG_ALLOC_ORDER): CLeanup. | |
6361 | (ORDER_REGS_FOR_LOCAL_ALLOC): New. | |
6362 | ||
9b462c42 RH |
6363 | 2002-02-07 Richard Henderson <rth@redhat.com> |
6364 | ||
85aa876c | 6365 | PR optimization/2463 |
9b462c42 RH |
6366 | * alias.c (find_base_value): Recall base values for fixed hard regs. |
6367 | * loop.c (loop_regs_update): Don't use single_set on non-insns. | |
6368 | ||
06e455a9 AO |
6369 | 2002-02-07 Alexandre Oliva <aoliva@redhat.com> |
6370 | ||
6371 | * config/mips/mips.md (define_delay) [mips16]: Adjust required | |
6372 | length. | |
6373 | ||
edd1967d RH |
6374 | 2002-02-06 Richard Henderson <rth@redhat.com> |
6375 | ||
6376 | PR c/5609 | |
6377 | * stmt.c (resolve_operand_name_1): Take more care with mixed | |
6378 | named and unnamed operands. | |
6379 | ||
a2cd028f JJ |
6380 | 2002-02-06 Janis Johnson <janis187@us.ibm.com> |
6381 | Jan Hubicka <jh@suse.cz> | |
6382 | ||
6383 | * loop.c (remove_constant_addition): Avoid clobbering a shared | |
6384 | CONST expression. | |
6385 | ||
e8487c04 UW |
6386 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
6387 | ||
6388 | * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. | |
6389 | * config/s390/t-linux64: New file. | |
6390 | * config/s390/libgcc-glibc.ver: New file. | |
6391 | ||
58d10f89 UW |
6392 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
6393 | ||
6394 | * config/s390/linux64.h: Delete file. | |
6395 | * config/s390/s390x.h: New file. | |
6396 | * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h | |
6397 | as target header file. | |
6398 | * config/s390/linux.h (TARGET_VERSION): Define depending on | |
6399 | DEFAULT_TARGET_64BIT. | |
6400 | (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. | |
6401 | (SIZE_TYPE, PTRDIFF_TYPE): Likewise. | |
6402 | (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. | |
6403 | (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. | |
6404 | (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. | |
6405 | (EXTRA_SPEC): New define. | |
6406 | * config/s390/s390.h (TARGET_VERSION): Define depending on | |
6407 | DEFAULT_TARGET_64BIT. | |
6408 | (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. | |
6409 | ||
5ce89b2e JM |
6410 | 2002-02-06 Jason Merrill <jason@redhat.com> |
6411 | ||
6412 | * c-decl.c (finish_function): Warn about a non-void function with | |
6413 | no return statement and no abnormal exit. | |
6414 | (current_function_returns_abnormally): New variable. | |
6415 | (start_function): Clear it. | |
6416 | (struct c_language_function): Add returns_abnormally. | |
6417 | (push_c_function_context): Save it. | |
6418 | (pop_c_function_context): Restore it. | |
6419 | (builtin_function): Set TREE_THIS_VOLATILE on return fns. | |
6420 | (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without | |
6421 | an explicit return type. | |
6422 | * c-tree.h: Declare current_function_returns_abnormally. | |
6423 | (C_FUNCTION_IMPLICIT_INT): New macro. | |
6424 | * c-typeck.c (build_function_call): Set it. | |
6425 | (c_expand_return): Set current_function_returns_value even if the | |
6426 | value is erroneous. | |
6427 | ||
caaf2272 JJ |
6428 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
6429 | ||
6430 | PR c/5420: | |
6431 | * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR | |
6432 | unsafe for reevaluation. | |
6433 | ||
d5129288 JJ |
6434 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
6435 | ||
6436 | PR c/5482: | |
6437 | * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not | |
6438 | EXPR_STMT, but COMPOUND_STMT, recurse into it. | |
6439 | ||
7fb75099 RH |
6440 | 2002-02-06 Richard Henderson <rth@redhat.com> |
6441 | ||
6442 | * cfganal.c (keep_with_call_p): Source for fixed_reg dest must | |
6443 | be a general_operand. Dest for function value must be a pseudo. | |
6444 | ||
d3a8b6a6 NC |
6445 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
6446 | ||
6447 | * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well | |
6448 | as SYMBOL_REFs from the constant pool. | |
6449 | ||
3c1299c5 AO |
6450 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
6451 | ||
6452 | * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters | |
6453 | passed by invisible reference. | |
6454 | ||
c2c9f6c9 RH |
6455 | 2002-02-05 Richard Henderson <rth@redhat.com> |
6456 | ||
6457 | * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias. | |
6458 | ||
a824924d HPN |
6459 | 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com> |
6460 | ||
6461 | Implement using "base addresses" in insn operands as default. | |
6462 | * config/mmix/mmix.c (mmix_conditional_register_usage): if | |
6463 | -mabi=gnu, modify fixed_regs to fit the GNU ABI. | |
6464 | (mmix_extra_constraint): Use 'R' to indicate that GETA should be | |
6465 | used to read the rtx value. | |
6466 | (mmix_target_asm_function_epilogue): Fix spacing. | |
6467 | (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. | |
6468 | (mmix_legitimate_address): Ditto. | |
6469 | (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that | |
6470 | should be loaded with a GETA insn. Don't allocate needless extra | |
6471 | char for nul termination and fix misleading comment. | |
6472 | (mmix_print_operand_address): Handle constants if | |
6473 | TARGET_BASE_ADDRESSES. | |
6474 | (mmix_output_register_setting): Use base addressing if | |
6475 | TARGET_BASE_ADDRESSES and the number of insns is 3. | |
6476 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. | |
6477 | * config/mmix/mmix.md ("movdi"): Change the alternative with GETA | |
6478 | to use R as constraint, add LDA to match s. | |
6479 | * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. | |
6480 | (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. | |
6481 | (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. | |
6482 | (FIXED_REGISTERS): Make registers $231..$246 fixed by default. | |
6483 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in | |
6484 | order with other fixed registers. | |
6485 | (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with | |
6486 | other parameter/call-clobbered registers. | |
6487 | * doc/invoke.texi (Option Summary) <MMIX Options>: Add | |
6488 | -mbase-addresses, -mno-base-addresses. | |
6489 | (MMIX Options): Ditto. | |
6490 | ||
73c342b9 JDA |
6491 | 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6492 | ||
6493 | * pa.h (PREDICATE_CODES): Add reg_before_reload_operand. | |
6494 | ||
ef238c58 AH |
6495 | 2002-02-06 Aldy Hernandez <aldyh@redhat.com> |
6496 | ||
831c4e87 | 6497 | * config/rs6000/altivec.h: Change elem to _S_elem. |
ef238c58 | 6498 | |
ad08e60e JT |
6499 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
6500 | ||
6501 | * config/netbsd.h (WCHAR_TYPE): Define. | |
6502 | (WCHAR_TYPE_SIZE): Ditto. | |
6503 | (WINT_TYPE): Ditto. | |
6504 | * config/alpha/netbsd.h (WCHAR_TYPE): Remove. | |
6505 | (WCHAR_UNSIGNED): Ditto. | |
6506 | (WCHAR_TYPE_SIZE): Ditto. | |
6507 | (WINT_TYPE): Ditto. | |
6508 | * config/arm/netbsd.h: Likewise. | |
6509 | * config/i386/netbsd-elf.h: Likewise. | |
6510 | * config/i386/netbsd.h: Likewise. | |
6511 | * config/m68k/netbsd-elf.h: Likewise. | |
6512 | * config/m68k/netbsd.h: Likewise. | |
6513 | * config/ns32k/netbsd.h: Likewise. | |
6514 | * config/sparc/netbsd.h: Likewise. | |
6515 | * config/vax/netbsd.: Likewise. | |
6516 | ||
f913c102 AO |
6517 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> |
6518 | ||
6519 | * target.h (struct gcc_target): Added ms_bitfield_layout_p. | |
6520 | * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... | |
6521 | (TARGET_INITIALIZER): this. | |
6522 | * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. | |
6523 | (BITFIELD_NBYTES_LIMITED): Markup fix. | |
6524 | * tree.h (default_ms_bitfield_layout_p): Declare. | |
6525 | (record_layout_info): Added prev_field. | |
6526 | * tree.c (default_ms_bitfield_layout_p): New fn. | |
6527 | * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and | |
6528 | PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. | |
6529 | * stor-layout.c: Include target.h. | |
6530 | (start_record_layout): Initialize prev_field. | |
6531 | (place_field): Handle MS bit-field layout, and disregard | |
6532 | EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and | |
6533 | PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. | |
6534 | * Makefile.in (stor-layout.o): Adjust dependencies. | |
6535 | ||
c13db5d1 JM |
6536 | 2002-02-05 Jason Merrill <jason@redhat.com> |
6537 | ||
c13db5d1 JM |
6538 | * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. |
6539 | ||
4505024e AJ |
6540 | 2002-02-05 Andreas Jaeger <aj@suse.de> |
6541 | ||
6542 | * crtstuff.c: Fix comments. | |
6543 | ||
794ad79d RH |
6544 | 2002-02-05 Richard Henderson <rth@redhat.com> |
6545 | ||
2e279a9b RH |
6546 | PR fortran/3393 |
6547 | * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. | |
6548 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
6549 | ||
794ad79d RH |
6550 | PR fortran/3392 |
6551 | * config/mips/mips.c (function_arg): Handle TImode. | |
6552 | (function_arg_advance): Likewise. | |
6553 | ||
8f909017 AH |
6554 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
6555 | ||
c13db5d1 JM |
6556 | * config/rs6000/altivec.h (vec_step_help): Rename to |
6557 | __vec_step_help. | |
8f909017 | 6558 | |
66daa9e3 AH |
6559 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
6560 | ||
c13db5d1 | 6561 | * config/rs6000/altivec.h: Fix typos. |
66daa9e3 | 6562 | |
2696e97b JT |
6563 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
6564 | ||
6565 | * config/arm/netbsd.h: Correct a comment. | |
6566 | ||
3deb2758 AH |
6567 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
6568 | ||
c13db5d1 JM |
6569 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo |
6570 | building void typed builtins. | |
3deb2758 | 6571 | |
c13db5d1 JM |
6572 | * config/rs6000/altivec.h (vec_ld*): Fix typos. |
6573 | (vec_step): Implement for C++. | |
3deb2758 | 6574 | |
c13db5d1 | 6575 | Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2c79137a RK |
6576 | |
6577 | * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND. | |
6578 | ||
ebbb0a63 RH |
6579 | 2002-02-04 Richard Henderson <rth@redhat.com> |
6580 | ||
6581 | * combine.c (nonzero_bits): Re-introduce special case for | |
6582 | sp/fp/ap wrt REGNO_POINTER_ALIGN. | |
6583 | ||
ae4b4a02 AH |
6584 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
6585 | ||
c13db5d1 JM |
6586 | * doc/extend.texi: Warn about unsupported usage of altivec |
6587 | builtins. | |
ae4b4a02 | 6588 | |
c13db5d1 JM |
6589 | * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove. |
6590 | (altivec_predicate_*): New. | |
ae4b4a02 | 6591 | |
c13db5d1 JM |
6592 | * config/rs6000/altivec.h: Rewrite predicates to use new builtins. |
6593 | Add C++ version of vec_*() functions. | |
ae4b4a02 | 6594 | |
c13db5d1 JM |
6595 | * config/rs6000/rs6000.c (bdesc_altivec_preds): New. |
6596 | (bdesc_2arg): Remove altivec predicates. | |
6597 | (altivec_expand_builtin): Handle predicates. | |
6598 | (altivec_init_builtins): Handle predicates. | |
6599 | (altivec_expand_predicate_builtin): New. | |
ae4b4a02 | 6600 | |
f6bcf44c JDA |
6601 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6602 | ||
6603 | * pa.c (DO_FRAME_NOTES): Move forward. | |
6604 | (store_reg): Revise handling of frame notes. | |
6605 | (load_reg): Likewise. | |
6606 | (set_reg_plus_d): Likewise. | |
6607 | (hppa_expand_prologue): Likewise. | |
6608 | (hppa_expand_epilogue): Likewise. | |
b137f9fc | 6609 | |
703b0080 JDA |
6610 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6611 | ||
6612 | * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. | |
6613 | ||
6f9fdf4d JJ |
6614 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
6615 | ||
6616 | PR c/4475, c++/3780: | |
6617 | * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand. | |
6618 | * c-common.h (SWITCH_TYPE): Define. | |
6619 | * c-typeck.c (c_start_case): Set SWITCH_TYPE. | |
6620 | * stmt.c (all_cases_count): Set lastval to thisval at end of loop. | |
6621 | Rename spareness variable to sparseness. | |
6622 | (expand_end_case_type): Renamed from expand_end_case, use orig_type | |
6623 | if non-NULL instead of TREE_TYPE (orig_index). | |
6624 | * tree.h (expand_end_case_type): Renamed from expand_end_case. | |
6625 | (expand_end_case): Define using expand_end_case_type. | |
6626 | * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE | |
6627 | to expand_end_case_type. | |
6628 | * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE. | |
6629 | ||
79109502 JDA |
6630 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6631 | ||
6632 | * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. | |
6633 | (BIGGEST_ALIGNMENT): Change to 128. | |
6634 | ||
e62a5987 JDA |
6635 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6636 | ||
6637 | * pa32-linux.h (LINK_COMMAND_SPEC): Define. | |
6638 | ||
219f24a4 JDA |
6639 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6640 | ||
6641 | * pa.md (call_internal_reg_64bit): Remove unused variable. | |
6642 | ||
3cb66fd7 NC |
6643 | 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com> |
6644 | ||
6645 | * config/arm/arm.h (machine_function): Add uses_anonymous_args | |
6646 | field. | |
831c4e87 | 6647 | (SETUP_INCOMING_VARARGS): Set uses_anonymous_args. |
3cb66fd7 | 6648 | * config/arm/arm.c (current_function_anonymous_args): Delete, |
831c4e87 KC |
6649 | replace uses with cfun->machine->uses_anonymous_args. |
6650 | (arm_reorg): Do not reset uses_anonymous_args. | |
3cb66fd7 NC |
6651 | |
6652 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in | |
6653 | any geenral register. | |
b137f9fc | 6654 | |
5d5603e2 | 6655 | 2001-02-04 Bernd Schmidt <bernds@redhat.com>s |
24c545ff BS |
6656 | |
6657 | * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect | |
6658 | the entry block. | |
6659 | ||
563c12b0 RH |
6660 | 2002-02-04 Richard Henderson <rth@redhat.com> |
6661 | ||
6662 | * combine.c (force_to_mode): Remove STACK_BIAS code. | |
6663 | (nonzero_bits): Likewise. Replace sp/fp special case with | |
6664 | REGNO_POINTER_ALIGN. | |
6665 | ||
6666 | * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP. | |
6667 | (HARD_FRAME_POINTER_REGNUM): New. | |
6668 | (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update. | |
6669 | (FIXED_REGS, CALL_USED_REGS): Update. | |
6670 | (REG_ALLOC_ORDER, REGISTER_NAMES): Update. | |
6671 | (CONDITIONAL_REGISTER_USAGE): Update for HFP. | |
6672 | (HARD_REGNO_NREGS): Update for SFP. | |
6673 | (STACK_POINTER_OFFSET): Include bias here ... | |
6674 | (FIRST_PARM_OFFSET): ... not here. | |
6675 | (STACK_BIAS): Remove. | |
6676 | (INIT_EXPANDERS): New. | |
6677 | (STARTING_FRAME_OFFSET): Do not include bias. | |
6678 | (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New. | |
6679 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP. | |
6680 | (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise. | |
6681 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP. | |
6682 | * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise. | |
6683 | * config/sparc/sparc.c (mem_min_alignment): Update for HFP. | |
6684 | (sparc_nonflat_function_prologue, epilogue_renumber): Likewise. | |
6685 | (MUST_SAVE_REGISTER): Likewise. | |
6686 | (sparc_flat_function_prologue): Likewise. | |
6687 | (sparc_flat_function_epilogue): Likewise. | |
6688 | (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK. | |
6689 | (sparc_init_modes): SFP is GENERAL_REGS. | |
6690 | (sparc_builtin_saveregs): SFP does not have bias applied. | |
6691 | ||
14691f8d RH |
6692 | 2002-02-04 Richard Henderson <rth@redhat.com> |
6693 | ||
6694 | * config/alpha/alpha.c (current_function_is_thunk): Don't check | |
6695 | current_function_is_thunk. | |
6696 | (alpha_sa_mask): Distinguish between current_function_is_thunk | |
6697 | called from ASM_OUTPUT_MI_THUNK and not. | |
6698 | (alpha_does_function_need_gp): Thunks always need gp. | |
6699 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
6700 | (alpha_output_mi_thunk_osf): New. | |
6701 | * config/alpha/alpha-protos.h: Update. | |
6702 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New. | |
6703 | ||
af702de8 RS |
6704 | 2002-02-04 Richard Sandiford <rsandifo@redhat.com> |
6705 | ||
6706 | * c-typeck.c (build_c_cast): Warn when qualifiers are added to | |
6707 | function types, not when they're taken away. | |
6708 | ||
5b1cacd8 JL |
6709 | Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com) |
6710 | ||
6711 | * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated | |
6712 | CODE_LABEL and jump table when replacing a table jump with a | |
6713 | simple jump. | |
6714 | ||
f3e9edff UW |
6715 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6716 | ||
6717 | * config/s390/s390-protos.h (legitimize_la_operand, | |
6718 | s390_secondary_input_reload_class, s390_plus_operand, | |
6719 | s390_expand_plus_operand): Add prototypes. | |
6720 | ||
6721 | config/s390/s390.c (s390_secondary_input_reload_class, | |
6722 | s390_plus_operand, s390_expand_plus_operand): New functions. | |
6723 | ||
6724 | (struct s390_address): New member 'pointer'. | |
6725 | (s390_decompose_address): Compute it. | |
6726 | (legitimate_la_operand_p): Use it. | |
6727 | (legitimize_la_operand): New function. | |
6728 | (movti, movdi, movdf splitters): Call it. | |
6729 | ||
6730 | config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define. | |
6731 | (PREDICATE_CODES): Add s390_plus_operand. | |
6732 | ||
6733 | config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete. | |
6734 | (la_ccclobber): Allow GENERAL_REGS as output operand. | |
6735 | ||
6736 | (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0, | |
6737 | *reload_la_64, *reload_la_31 and splitters): Delete, replace by ... | |
6738 | (*la_64, *la_31, reload_indi, reload_insi): ... these. | |
6739 | ||
3c9a08ec UW |
6740 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6741 | ||
6742 | * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed | |
6743 | register names for regular asm () construct. | |
6744 | ||
ac300a45 JJ |
6745 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
6746 | ||
6747 | * config/i386/i386.md (movsf_1): Allow moving SF values in MMX | |
6748 | registers. | |
6749 | ||
fa852403 JJ |
6750 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
6751 | ||
6752 | * combine.c (recog_for_combine): Create a dummy insn with PATTERN | |
6753 | pat for recog. | |
6754 | ||
fecaac37 HP |
6755 | 2002-02-04 Hartmut Penner <hpenner@de.ibm.com> |
6756 | ||
831c4e87 KC |
6757 | * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in |
6758 | constant pool to be identical by string address and index. | |
fecaac37 | 6759 | |
10c45943 AG |
6760 | 2002-02-04 Anthony Green <green@redhat.com> |
6761 | ||
6762 | * output.h (SECTION_OVERRIDE): Define. | |
6763 | * varasm.c (named_section): Obey SECTION_OVERRIDE. | |
6764 | ||
69474c3c JT |
6765 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
6766 | ||
6767 | * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match | |
6768 | by existing arm*-*-netbsd* (a.out) target. | |
6769 | (ns32k-*-netbsdelf*): Likewise. | |
6770 | (sparc-*-netbsdelf*): Likewise. | |
6771 | (vax-*-netbsdelf*): Likewise. | |
6772 | ||
939a46f6 | 6773 | 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net> |
3b56934f CF |
6774 | |
6775 | * gthr-win32.h: Protect against conflicting typedef for BOOL in windows | |
6776 | headers and libobjc headers. | |
6777 | ||
6778 | 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu> | |
6779 | ||
6780 | * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. | |
6781 | (_mingw.h): Remove duplicate include. | |
6782 | ||
2fd95d71 JT |
6783 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
6784 | ||
6785 | * config.gcc: Set cpu_type to m68k for 68010, as well. | |
6786 | (m68010-*-netbsdelf*): New... | |
6787 | (m68k*-*-netbsdelf*): ...targets. | |
6788 | * config/m68k/netbsd-elf.h: New file. | |
6789 | ||
0ea6f6a0 KH |
6790 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
6791 | ||
6792 | * config/h8300/h8300.c (hand_list): Move inside function_arg. | |
6793 | ||
cbf1b2da KH |
6794 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
6795 | ||
6796 | * config/h8300/h8300.c (h8_push_ops): Move inside | |
6797 | h8300_init_once. | |
6798 | (h8_pop_ops): Likewise. | |
6799 | (h8_move_ops): Likewise. | |
6800 | ||
0869f126 KH |
6801 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
6802 | ||
6803 | * config/h8300/h8300.c (os_task): Make it static. | |
6804 | (monitor): Likewise. | |
6805 | (pragma_saveall): Likewise. | |
6806 | ||
90e65b70 AO |
6807 | 2002-02-02 Alexandre Oliva <aoliva@redhat.com> |
6808 | ||
6809 | * config/sh/sh.md (ic_invalidate_line): Make sure the immediate | |
6810 | constant is a valid sign-extension for Pmode. | |
6811 | ||
9cbcd983 KH |
6812 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
6813 | ||
6814 | * config/h8300/h8300.c: Fix formatting. | |
6815 | ||
7a27efc4 KH |
6816 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
6817 | ||
6818 | * config/h8300/h8300.md: Fix formatting. | |
6819 | ||
54175a44 KH |
6820 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
6821 | ||
6822 | * config/h8300/h8300.md (one_cmpl patterns): Tighten the | |
6823 | predicates of operands[1]. Split the patterns for each | |
6824 | processor variant. | |
6825 | ||
eceb1755 KH |
6826 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
6827 | ||
6828 | * config/h8300/h8300.md (xor patterns): Tighten the predicates | |
6829 | of operands[1] to register_operand. | |
6830 | ||
0fef3fd0 NB |
6831 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
6832 | ||
6833 | * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. | |
6834 | * cpphash.c (_cpp_init_hashtable): Similarly. | |
6835 | * cppinit.c (cpp_create_reader): Default the signed_char flag. | |
6836 | (init_builtins): Define __CHAR_UNSIGNED__ appropriately. | |
6837 | (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char. | |
6838 | (cpp_handle_option): Handle the new options. | |
6839 | * cpplex.c (cpp_interpret_charconst): Use new flag. | |
6840 | * cpplib.h (struct cpp_options): New member signed_char. | |
6841 | * gcc.c (cpp_unique_options): Remove %c spec and documentation. | |
6842 | (cpp_options): Handle -fsigned-char and -funsigned-char. | |
6843 | (static_specs): Remove signed_char_spec. | |
6844 | (do_spec1): Don't handle %c. | |
6845 | * system.h: Poison SIGNED_CHAR_SPEC. | |
6846 | * tradcif.y (yylex): Use flag_signed_char. | |
6847 | * tradcpp.h (flag_signed_char): New. | |
6848 | * tradcpp.c (flag_signed_char): New. | |
6849 | (main): Handle new command-line options. | |
6850 | (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. | |
6851 | config: | |
6852 | * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. | |
6853 | * avr/avr.h: Remove old comments. | |
6854 | * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. | |
6855 | (CC1_SPEC): Pass -fsigned-char if -mic*. | |
6856 | (SIGNED_CHAR_SPEC): Remove. | |
6857 | doc: | |
6858 | * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. | |
6859 | ||
0617ed52 EC |
6860 | 2002-02-01 Eric Christopher <echristo@redhat.com> |
6861 | ||
6862 | From Daniel Jacobowitz <dmj+@andrew.cmu.edu> | |
6863 | * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. | |
6864 | * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. | |
6865 | (ASM_OUTPUT_REG_POP): Ditto. | |
6866 | ||
dfd48d76 NB |
6867 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
6868 | ||
6869 | * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield | |
6870 | patch. | |
6871 | ||
4a23409e JJ |
6872 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
6873 | ||
6874 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators. | |
6875 | ||
d3c52658 JJ |
6876 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
6877 | ||
6878 | PR c/5304: | |
6879 | * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 | |
6880 | unconditionally. | |
6881 | ||
02c5a3bd JJ |
6882 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
6883 | ||
6884 | * cfganal.c: Include tm_p.h. | |
6885 | (keep_with_call_p): Fix the test that determines if a register holds | |
6886 | the return value of a call. | |
6887 | ||
3968de80 DD |
6888 | 2002-02-01 DJ Delorie <dj@redhat.com> |
6889 | ||
6890 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If | |
6891 | we are given conflicting registers, switch to the other one we | |
6892 | had allocated for us. | |
6893 | * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] | |
6894 | as TImode so we know when the "other" register is available. | |
6895 | ||
1338ea6c DB |
6896 | 2002-02-01 David O'Brien <obrien@FreeBSD.org> |
6897 | ||
6898 | * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than | |
6899 | sparc/sparc_bi.h. | |
6900 | ||
f015be23 JJ |
6901 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
6902 | ||
6903 | * cfganal.c (keep_with_call_p): New function. | |
6904 | (flow_call_edges_add): Prevent splitting a block between a call and | |
6905 | a single-set instruction that should be kept in the same block. | |
6906 | ||
63708ffc CR |
6907 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
6908 | ||
6909 | * doc/install.texi (avr): Update outdated URL. | |
6910 | ||
5ee4950e AH |
6911 | 2002-01-30 Andrew Haley <aph@cambridge.redhat.com> |
6912 | ||
831c4e87 KC |
6913 | * config/stormy16/stormy16.md (pushqi): New. |
6914 | (popqi): New. | |
6915 | (pushhi): New. | |
6916 | (pophi): New. | |
6917 | (movhi): Remove stack operands. | |
6918 | (movqi): Likewise. | |
6919 | * config/stormy16/stormy16.h (PREDICATE_CODES): Add | |
6920 | nonimmediate_nonstack_operand. | |
6921 | * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): | |
6922 | New. | |
6923 | * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) | |
6924 | New. | |
5ee4950e | 6925 | |
b88c0704 JM |
6926 | 2002-01-31 Jason Merrill <jason@redhat.com> |
6927 | ||
6928 | * Makefile.in (c-parse.c): Handle .output file. | |
6929 | * objc/Make-lang.in (objc-parse.c): Likewise. | |
6930 | ||
ac282977 AO |
6931 | 2002-02-01 Alexandre Oliva <aoliva@redhat.com> |
6932 | ||
6933 | * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if | |
6934 | the -me[lb] option is given. Don't output the default flag | |
6935 | twice. | |
6936 | ||
bebc7e8b ZW |
6937 | 2002-01-31 Zack Weinberg <zack@codesourcery.com> |
6938 | ||
6939 | * c-lex.c (yyparse): Call debug_hooks->start_source_file for | |
6940 | the primary source file; this has not been done yet. | |
6941 | * c-decl.c (c_expand_body): Reset input_filename from | |
6942 | DECL_SOURCE_FILE (fndecl) before calling init_function_start. | |
6943 | ||
5809eb5f KH |
6944 | 2002-01-31 Kazu Hirata <kazu@hxi.com> |
6945 | ||
6946 | * rtlanal.c (subreg_regno_offset): Do not use | |
6947 | SUBREG_REGNO_OFFSET. | |
6948 | * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list. | |
6949 | * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove. | |
6950 | ||
8512bbd7 JM |
6951 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
6952 | ||
6953 | * gccbug.in: Follow GNU Coding Standards for --version. Use GCC | |
6954 | version rather than GNATS version in --version output. | |
6955 | ||
74cb3cc8 RS |
6956 | 2002-01-31 Richard Sandiford <rsandifo@redhat.com> |
6957 | ||
6958 | * ifcvt.c (noce_process_if_block): Make a copy of the destination | |
6959 | when copying back from a temporary. | |
6960 | ||
874b5b14 RH |
6961 | 2002-01-30 Richard Henderson <rth@redhat.com> |
6962 | ||
6963 | * ifcvt.c (dead_or_predicable): Handling merging when other_bb | |
6964 | and new_dest are the same. | |
6965 | ||
e803a64b RH |
6966 | 2002-01-30 Richard Henderson <rth@redhat.com> |
6967 | ||
89cf7be5 | 6968 | PR opt/5076 |
e803a64b RH |
6969 | * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New. |
6970 | * rtl.c (note_insn_name): Update. | |
6971 | * emit-rtl.c (remove_unnecessary_notes): Kill it. | |
6972 | * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND | |
6973 | to perform loop rotation. | |
6974 | (expand_exit_loop_top_cond): New. | |
6975 | * tree.h (expand_exit_loop_top_cond): Declare it. | |
6976 | * c-semantics.c (genrtl_while_stmt): Use it. | |
6977 | (genrtl_for_stmt): Likewise. | |
6978 | ||
0b51254d AO |
6979 | 2002-01-30 Alexandre Oliva <aoliva@redhat.com> |
6980 | ||
6981 | * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of | |
6982 | arguments to 64-bit boundaries on 64-bit ABIs. | |
6983 | ||
71cef493 SE |
6984 | 2002-01-30 Steve Ellcey <sje@cup.hp.com> |
6985 | ||
6986 | * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. | |
6987 | ||
6169e5fd JM |
6988 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
6989 | ||
6990 | * c-decl.c (grokdeclarator): Handle type being a typedef for an | |
6991 | invalid type. | |
6992 | ||
86f808dc DB |
6993 | 2002-01-30 David O'Brien <obrien@FreeBSD.org> |
6994 | ||
6995 | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. | |
6996 | * config/sparc/sparc_bi.h: Remove file. | |
6997 | * config/sparc/biarch64.h: New file (rename of sparc_bi.h). | |
6998 | ||
5748ebeb RH |
6999 | 2002-01-30 Richard Henderson <rth@redhat.com> |
7000 | ||
7001 | * sched-deps.c (sched_analyze): Make a call read the frame pointer. | |
7002 | ||
20d32cc2 ZW |
7003 | 2002-01-30 Zack Weinberg <zack@codesourcery.com> |
7004 | ||
7005 | * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1. | |
7006 | ||
b88c0704 | 7007 | 2002-01-30 Jason Merrill <jason@redhat.com> |
6bb28965 JM |
7008 | |
7009 | * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes. | |
7010 | (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended. | |
7011 | (reg_save): Use DW_CFA_offset_extended_sf instead. | |
7012 | ||
7013 | * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors. | |
7014 | ||
37060e78 JJ |
7015 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
7016 | ||
7017 | * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result | |
7018 | in cselib_lookup. | |
7019 | ||
d18dba68 AH |
7020 | 2002-01-29 Aldy Hernandez <aldyh@redhat.com> |
7021 | ||
bebc7e8b ZW |
7022 | * rs6000.md ("*call_value_local32"): Remove constraints. |
7023 | ("*call_value_local64"): Same. | |
7024 | ("*call_value_indirect_nonlocal_aix32"): Same. | |
7025 | ("*call_value_nonlocal_aix32"): Same. | |
7026 | ("*call_value_indirect_nonlocal_aix64"): Same. | |
7027 | ("*call_value_nonlocal_aix64"): Same. | |
7028 | ("*call_value_nonlocal_sysv"): Same. | |
d18dba68 | 7029 | |
80a8aac6 RH |
7030 | 2002-01-29 Richard Henderson <rth@redhat.com> |
7031 | ||
7032 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef. | |
7033 | ||
12beba6f RH |
7034 | 2002-01-29 Richard Henderson <rth@redhat.com> |
7035 | ||
7036 | * expr.c (force_operand): Ignore flag_pic for detecting pic | |
7037 | address loads. | |
7038 | * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic | |
7039 | for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered. | |
7040 | * resource.c (mark_target_live_regs): Use regs_invalidated_by_call | |
7041 | instead of open-coded loop. | |
7042 | * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must | |
7043 | be fixed when in use. | |
7044 | ||
2583081e RH |
7045 | 2002-01-29 Richard Henderson <rth@redhat.com> |
7046 | ||
7047 | * sched-int.h (struct deps_reg): Add uses_length, clobbers_length. | |
7048 | * sched-rgn.c (propagate_deps): Update them. | |
7049 | * sched-deps.c (sched_analyze_insn): Update them. Flush the | |
7050 | clobbers list when either gets too long. | |
7051 | ||
3b8d200e JJ |
7052 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
7053 | ||
7054 | * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS | |
7055 | and INDEX_REGS the same as GENERAL_REGS. | |
7056 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. | |
7057 | ||
2d3115eb NB |
7058 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
7059 | ||
bebc7e8b | 7060 | * tree.c (build_nonstandard_integer_type): Correct prototype. |
2d3115eb | 7061 | |
ecbe845e UW |
7062 | 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com> |
7063 | ||
bebc7e8b | 7064 | * config/s390/s390.md (movstrsico, movstrdix_64, |
ecbe845e | 7065 | movstrsix_31): Remove, replace by ... |
bebc7e8b | 7066 | (movstrdi_short, movstrsi_short, movstrdi_long, |
ecbe845e UW |
7067 | movstrsi_long): ... these. New. |
7068 | (movstrdi, movstrsi): Adapt. | |
7069 | ||
7070 | (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64, | |
bebc7e8b | 7071 | ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3): |
ecbe845e UW |
7072 | Remove unnecessary CC clobber. |
7073 | (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64, | |
7074 | *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New. | |
7075 | ||
7076 | (divmoddi4): Don't partially initialize TImode register. | |
7077 | ||
0b32fca5 GK |
7078 | 2002-01-29 Geoffrey Keating <geoffk@redhat.com> |
7079 | ||
7080 | * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory. | |
7081 | ||
08ef5437 RH |
7082 | 2002-01-29 Richard Henderson <rth@redhat.com> |
7083 | ||
7084 | * flow.c (print_rtl_and_abort): Remove. | |
7085 | (print_rtl_and_abort_fcn): Remove. | |
7086 | (verify_local_live_at_start): Use dump_bb instead. | |
7087 | (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints. | |
7088 | (verify_wide_reg_1): Return 2 on mode test failure. | |
7089 | ||
8469e54e NB |
7090 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
7091 | ||
7092 | PR c/3325, c/3326, c/2511, c/3347 | |
7093 | * c-decl.c (enum_decl_context): Remove BITFIELD. | |
7094 | (grokdeclarator): Take bitfield width as an input. | |
7095 | Ensure bitfields are given the correct type. Perform | |
7096 | bitfield width validation with build_bitfield_integer_type | |
7097 | rather than waiting for finish_struct. | |
7098 | (grok_typename, grok_typename_in_parm_context, start_decl, | |
7099 | push_parmdecl, grokfield, start_function): Update calls to | |
7100 | grokdeclarator. | |
7101 | (build_bitfield_integer_type): New function. | |
7102 | (finish_struct): Move bitfield validation to grokdeclarator | |
bebc7e8b | 7103 | and build_bitfield_integer_type. |
8469e54e NB |
7104 | * tree.c (build_nonstandard_integer_type): New function. |
7105 | * tree.h (build_nonstandard_integer_type): New prototype. | |
7106 | objc: | |
7107 | * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge. | |
7108 | ||
ffdeea47 JJ |
7109 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
7110 | ||
7111 | PR other/1502: | |
7112 | * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero, | |
7113 | don't ignore unrecognized -W* options. | |
7114 | (cpp_handle_options): Pass 1 as last argument to cpp_handle_option. | |
7115 | * cpplib.h (cpp_handle_option): Adjust prototype. | |
7116 | * c-decl.c (c_decode_options): Pass 0 as last argument to | |
7117 | cpp_handle_option. | |
7118 | ||
7119 | PR c/2896: | |
7120 | * gcc.c (cpp_unique_options): Split from cpp_options. | |
7121 | (cpp_options): Source cpp_unique_options. | |
7122 | (default_compilers): Use cpp_unique_options instead of cpp_options | |
7123 | when used together with cc1_options. | |
7124 | (static_specs): Add cpp_unique_options. | |
7125 | * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options | |
7126 | when used together with cc1_options. | |
7127 | ||
1a275226 KH |
7128 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
7129 | ||
7130 | * config/h8300/h8300-protos.h: Update the prototype of | |
7131 | output_a_shift. | |
7132 | * config/h8300/h8300.c (output_a_shift): Remove an unused | |
7133 | argument 'insn'. Remove redundant code. | |
7134 | * config/h8300/h8300.md: Adust to the new prototype of | |
7135 | output_a_shift. | |
7136 | ||
a11d9dfc KH |
7137 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
7138 | ||
7139 | * config/h8300/h8300-protos.h: Update the prototypes of | |
7140 | emit_a_rotate and expand_a_rotate. | |
7141 | * config/h8300/h8300.c (emit_a_rotate): Change the type of the | |
7142 | first argument to 'enum rtx_code'. | |
7143 | (expand_a_rotate): Likewise. | |
7144 | ||
871f73e3 KH |
7145 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
7146 | ||
7147 | * config/h8300/h8300-protos.h: Update the prototype of | |
7148 | output_simode_bld. | |
7149 | * config/h8300/h8300.c (output_simode_bld): Remove an argumen | |
7150 | 'log2'. | |
7151 | * config/h8300/h8300.md: Adjust to the new prototype. | |
7152 | ||
5fc4b751 KH |
7153 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
7154 | ||
7155 | * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove | |
7156 | redundant code. | |
7157 | ||
2d67bd7b JDA |
7158 | 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7159 | ||
7160 | * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM | |
7161 | is a fixed register before returning pic_offset_table_rtx. | |
7162 | * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx | |
7163 | when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined. | |
7164 | ||
5a852b3e JM |
7165 | 2002-01-28 Jason Merrill <jason@redhat.com> |
7166 | ||
6bb28965 | 7167 | * dwarf2.h: Sync with src version. |
5a852b3e | 7168 | |
3bca17dd PK |
7169 | 2002-01-28 Paul Koning <pkoning@equallogic.com> |
7170 | ||
7171 | * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace | |
7172 | BT_FN_VOID_PTR_VAR. | |
7173 | * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const. | |
7174 | * doc/extend.texi (__builtin_prefetch): Update documentation: | |
7175 | first argument is now const void ptr. | |
7176 | ||
7dc3f8c0 KH |
7177 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
7178 | ||
7179 | * config/h8300/h8300-protos.h: Remove an unused prototype. | |
7180 | ||
e83cb5f0 RZ |
7181 | 2002-01-28 Roman Zippel <zippel@linux-m68k.org> |
7182 | ||
7183 | * toplev.c (lang_independent_init): Round up identifier size. | |
7184 | ||
5721cd84 RE |
7185 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
7186 | ||
7187 | * config.gcc: Revert previous change. | |
7188 | ||
d534119e AP |
7189 | 2002-01-28 Andris Pavenis <pavenis@latnet.lv> |
7190 | ||
7191 | * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION | |
7192 | ||
5a721dab RE |
7193 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
7194 | ||
7195 | * config.gcc (*-*-netbsdelf*): Set up generic parameters. | |
7196 | (*-*-netbsd*): Always use collect2. Remove collect2 settings from | |
7197 | other non-elf netbsd config frags. | |
7198 | * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since | |
7199 | collect2 will does that. | |
7200 | * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that | |
7201 | shared-lib frobbing will work. | |
7202 | ||
da1775d6 KH |
7203 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
7204 | ||
7205 | * config/h8300/h8300.h: Fix formatting. | |
7206 | * config/h8300/h8300.md: Likewise. | |
7207 | ||
8f2e963b LR |
7208 | 2002-01-28 Loren J. Rittle <ljrittle@acm.org> |
7209 | ||
7210 | * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on | |
7211 | the old, removed AAA_standards fix. | |
7212 | * fixinc/fixincl.x: Rebuilt. | |
7213 | ||
fdae5767 HPN |
7214 | 2002-01-28 Hans-Peter Nilsson <hp@axis.com> |
7215 | ||
7216 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit | |
7217 | atexit call in crtbegin, hooked in after call to frame_dummy; | |
7218 | register EH before registering __fini__start. | |
7219 | ||
2a2ecb63 AH |
7220 | 2002-01-28 Aldy Hernandez <aldyh@redhat.com> |
7221 | ||
7222 | * config/rs6000/altivec.h: Remove spurious semicolons. | |
7223 | ||
8ed43adf KH |
7224 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
7225 | ||
7226 | * config/h8300/h8300.md: Replace dead bit extraction patterns | |
7227 | with ones that work. | |
7228 | ||
917afb0c RK |
7229 | Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7230 | ||
7231 | * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode | |
7232 | if not STRICT_ALIGNMENT. | |
7233 | * rtl.h (MEM_ALIGN): Likewise. | |
7234 | ||
f70a54cb CR |
7235 | 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7236 | ||
7237 | * doc/invoke.texi (-fdump-translation-unit): Revert this | |
7238 | patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org> | |
7239 | ||
d8fd4914 KH |
7240 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
7241 | ||
7242 | * config/h8300/h8300.md (define_constants): New. | |
7243 | (anonymous patterns) Use defined constants appropriately. | |
7244 | ||
15e0e275 KH |
7245 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
7246 | ||
7247 | * config/h8300/h8300.c (function_arg): Remove redundant code. | |
7248 | ||
37a0f8a5 RH |
7249 | 2002-01-26 Richard Henderson <rth@redhat.com> |
7250 | ||
7251 | * sched-deps.c (reg_pending_uses_head): New. | |
7252 | (reg_pending_barrier): Rename from reg_pending_sets_all. | |
7253 | (find_insn_list): Don't mark inline. | |
7254 | (find_insn_mem_list): Remove. | |
7255 | (add_dependence_list, add_dependence_list_and_free): New. | |
7256 | (flush_pending_lists): Replace only_write param with separate | |
7257 | for_read and for_write parameters. Update all callers. Use | |
7258 | add_dependence_list_and_free. | |
7259 | (sched_analyze_1): Do not add reg dependencies here; just set | |
7260 | the pending bits. Use add_dependence_list. | |
7261 | (sched_analyze_2): Likewise. | |
7262 | (sched_analyze_insn): Replace schedule_barrier_found with | |
7263 | reg_pending_barrier. Add all dependencies for pending reg | |
7264 | uses, sets, and clobbers. | |
7265 | (sched_analyze): Don't add reg dependencies for calls, just | |
7266 | set pending bits. Use regs_invalidated_by_call. Treat | |
7267 | sched_before_next_call as a normal list, not a fake insn. | |
7268 | (init_deps): No funny init for sched_before_next_call. | |
7269 | (free_deps): Free pending mems lists. Don't zero reg_last. | |
7270 | (init_deps_global): Init reg_pending_uses. | |
7271 | (finish_deps_global): Free it. | |
7272 | * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs. | |
7273 | (find_insn_mem_list): Remove. | |
7274 | * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New. | |
7275 | (propagate_deps): Use them. Zero temp mem lists. | |
7276 | ||
cea3bd3e RH |
7277 | 2002-01-26 Richard Henderson <rth@redhat.com> |
7278 | ||
7279 | * Makefile.in (CRTSTUFF_CFLAGS): New. | |
7280 | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. | |
7281 | * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain | |
7282 | crtstuff.c instead of alpha assembly version. | |
7283 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the | |
7284 | entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN | |
7285 | not FORCE_{INIT,FINI}_SECTION_ALIGN. | |
7286 | (__do_global_dtors_aux): Mark used. | |
7287 | (frame_dummy, __do_global_ctors_aux): Mark used. | |
7288 | (fini_dummy, init_dummy): Remove. | |
7289 | ||
7290 | * config/alpha/crtbegin.asm: Remove file. | |
7291 | * config/alpha/crtend.asm: Remove file. | |
7292 | * config/alpha/t-crtbe: Remove file. | |
7293 | * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. | |
7294 | (LINK_EH_SPEC): New. | |
7295 | ||
7296 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old | |
7297 | FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before | |
7298 | calling constructors. | |
7299 | * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. | |
7300 | ||
7301 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. | |
7302 | * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old | |
7303 | CRT_END_INIT_DUMMY hack. | |
7304 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace | |
7305 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
7306 | ||
7307 | * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace | |
7308 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
7309 | ||
7310 | * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new | |
7311 | invocation sequence. | |
7312 | * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. | |
7313 | ||
7314 | * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. | |
7315 | (FORCE_CODE_SECTION_ALIGN): New. | |
7316 | ||
60ffa0e5 RH |
7317 | 2002-01-26 Richard Henderson <rth@redhat.com> |
7318 | ||
7319 | * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT. | |
7320 | ||
61334ebe RH |
7321 | 2002-01-26 Richard Henderson <rth@redhat.com> |
7322 | ||
7323 | * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too. | |
7324 | (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs. | |
7325 | ||
1d788fb6 KH |
7326 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
7327 | ||
7328 | * config/h8300/h8300.md: Remove bit extraction patterns that | |
7329 | cannot be triggered. | |
7330 | Restrict each bit extraction pattern to a variant on which the | |
7331 | pattern is tested. | |
7332 | ||
87611f88 JM |
7333 | 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk> |
7334 | ||
7335 | * doc/include/texinfo.tex: Update to version 2002-01-04.07. | |
7336 | ||
cd74ec59 KH |
7337 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
7338 | ||
7339 | * config/h8300/h8300.md: Remove bit test patterns that cannot | |
7340 | be triggered. | |
7341 | Restrict each bit test pattern to a variant on which the | |
7342 | pattern is tested. | |
7343 | ||
93051e0f KG |
7344 | 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7345 | ||
7346 | * builtins.c (expand_builtin_strncat): Remove redundant check for | |
7347 | INTEGER_CST. | |
7348 | ||
216c995f DB |
7349 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
7350 | ||
7351 | * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide | |
7352 | default setting. | |
7353 | * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override | |
7354 | existing setting. | |
7355 | ||
33c7f925 GK |
7356 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
7357 | ||
7358 | * dbxout.c (dbxout_init): Use assemble_name rather than just | |
7359 | stripping off the first character. | |
7360 | (dbxout_source_file): Likewise. | |
7361 | ||
6cd444b4 DD |
7362 | 2002-01-25 DJ Delorie <dj@redhat.com> |
7363 | ||
7364 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare | |
7365 | using rtx_equal_p, not by comparing pointers. | |
7366 | ||
751551d5 SE |
7367 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
7368 | ||
7369 | * emit-rtl.c (gen_rtx_REG): Always return the same rtx | |
7370 | for PIC_OFFSET_TABLE_REGNUM. | |
7371 | (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx. | |
7372 | ||
e564e618 DB |
7373 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
7374 | ||
7375 | * config.gcc (x86_64-*-freebsd*): New target. | |
7376 | (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its | |
7377 | value. | |
7378 | (i[34567]86-*-freebsd*): Don't include svr4.h. | |
7379 | * config/i386/freebsd64.h: New file. | |
7380 | ||
ff3aaf17 DR |
7381 | 2002-01-25 Douglas B Rupp <rupp@gnat.com> |
7382 | ||
4857d29d DR |
7383 | * config/alpha/x-vms (version): Make static. |
7384 | ||
7385 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error | |
7386 | in previous checkin. | |
7387 | ||
ff3aaf17 DR |
7388 | * Makefile.in (install-headers-cp): New target. |
7389 | * config.gcc (alpha-dec-*vms*): Install headers with | |
7390 | install-headers-cp | |
7391 | ||
48d79c43 JH |
7392 | Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz> |
7393 | ||
7394 | * unroll.c (unroll_loop): Lower final_value to nonmemory operand; | |
7395 | avoid it's copies. | |
7396 | ||
995b5904 RK |
7397 | Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7398 | ||
7399 | * builtins.c (expand_builtin_strncpy): Use integer_zerop instead | |
7400 | of compare_tree_int. | |
7401 | (expand_builtin_strncat): Likewise. | |
7402 | * c-decl.c (finish_struct): Use tree_low_cst. | |
7403 | * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT. | |
7404 | * tree.c (compare_tree_int): Likewise. | |
7405 | ||
75eefe3f UW |
7406 | 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
7407 | ||
7408 | * reload1.c (eliminate_regs_in_insn): Recognize frame pointer | |
7409 | adjustments even if they are implemented by more than two insns. | |
7410 | ||
5a133afd JH |
7411 | Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz> |
7412 | ||
995b5904 | 7413 | * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg. |
5a133afd JH |
7414 | * df.h (struct ref): Kill B. |
7415 | (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN. | |
7416 | ||
7417 | * basic-block.h (PROP_EQUAL_NOTES): New flag. | |
7418 | * flow.c (propagate_one_insn): Use it. | |
7419 | (mark_used_regs): Handle NIL. | |
7420 | ||
ead39bdf | 7421 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
3d8dd3c0 GK |
7422 | |
7423 | * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM | |
7424 | to help folding. | |
7425 | ||
01a2ccd0 DE |
7426 | 2002-01-25 David Edelsohn <edelsohn@gnu.org> |
7427 | ||
7428 | * rs6000.md (prefetch): Make address V4SI mode so that the address | |
7429 | is restricted to legitimate form for instruction. | |
7430 | ||
fd29f6ea BW |
7431 | 2002-01-25 Bob Wilson <bob.wilson@acm.org> |
7432 | ||
7433 | * doc/install.texi (xtensa-*-elf): New target. | |
7434 | (xtensa-*-linux*): New target. | |
7435 | * doc/contrib.texi: Add myself. | |
7436 | ||
55492b32 NC |
7437 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
7438 | ||
7439 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general | |
7440 | purpose register to hold an SImode (or smaller) value. | |
7441 | ||
72c7c913 JJ |
7442 | 2002-01-25 Jakub Jelinek <jakub@redhat.com> |
7443 | ||
7444 | * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* | |
7445 | registry only. | |
7446 | * crtstuff.c: Likewise. | |
7447 | ||
c4df4ceb KH |
7448 | 2002-01-25 Kazu Hirata <kazu@hxi.com> |
7449 | ||
7450 | * config/h8300/h8300.md (negation patterns): Tighten | |
7451 | predicates to register_operand. | |
7452 | ||
70e531f5 AH |
7453 | 2002-01-24 Aldy Hernandez <aldyh@redhat.com> |
7454 | ||
3bca17dd PK |
7455 | * loop.c (emit_prefetch_instructions): Use the prefetch insn's |
7456 | mode, not Pmode. | |
70e531f5 | 7457 | |
3bca17dd | 7458 | * builtins.c (expand_builtin_prefetch): Same. |
70e531f5 | 7459 | |
a4f76ef9 AO |
7460 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
7461 | ||
7462 | * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have | |
7463 | modes. | |
7464 | ||
9bf25b09 KH |
7465 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
7466 | ||
7467 | * config/h8300/h8300.c (print_operand): Remove support for | |
7468 | operand character 'A'. | |
7469 | * config/h8300/h8300.md (three anonymous patterns): Replace | |
7470 | operand character 'A' with either 'T' or 'S'. | |
7471 | ||
974af6a5 KH |
7472 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
7473 | ||
7474 | * config/h8300/h8300.c (print_operand): Remove support for | |
7475 | operand character 'U'. | |
7476 | ||
7a5bb7b8 AP |
7477 | 2002-01-24 Andris Pavenis <pavenis@latnet.lv> |
7478 | ||
3bca17dd | 7479 | * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR. |
7a5bb7b8 | 7480 | |
92a4639e NC |
7481 | 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com> |
7482 | ||
7483 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode | |
7484 | values to be assigned to the stack pointer. | |
7485 | ||
467cb2da HP |
7486 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
7487 | ||
bebc7e8b | 7488 | * emit_rtl.c (gen_lowpart_common): Conversion from const_int |
467cb2da HP |
7489 | to const_double needs to be done right for big-endian systems. |
7490 | ||
3b6cb920 JM |
7491 | 2002-01-24 Jason Merrill <jason@redhat.com> |
7492 | ||
b08dd119 | 7493 | PR c++/2432 |
3b6cb920 JM |
7494 | * config/sparc/sparc.md (call-jump peepholes): Pass the right insn |
7495 | to can_throw_internal. | |
7496 | ||
f3077311 RH |
7497 | 2002-01-23 Richard Henderson <rth@redhat.com> |
7498 | ||
7499 | * fold-const.c (fold): Change UINT_MAX test to check vs precision | |
7500 | rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation. | |
7501 | ||
e1d71275 AO |
7502 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
7503 | ||
7504 | * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands. | |
7505 | (symGOT2reg): Use them, then set as GOT value as unchanging. | |
7506 | (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo | |
7507 | as a temporary, if possible. | |
7508 | (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit | |
7509 | sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2). | |
7510 | ||
dc271dbe KH |
7511 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
7512 | ||
7513 | * config/h8300/h8300.md: Fix xorqi and xorqi so that they will | |
7514 | accept to accept 0x80 as operands[2]. | |
7515 | ||
1a9017f9 AO |
7516 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
7517 | ||
7518 | * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode. | |
7519 | ||
6932f033 RH |
7520 | 2002-01-23 Richard Henderson <rth@redhat.com> |
7521 | ||
7522 | * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. | |
7523 | ||
709619d9 AH |
7524 | 2002-01-23 Aldy Hernandez <aldyh@redhat.com> |
7525 | ||
3bca17dd PK |
7526 | * c-parse.in (parmlist_or_identifiers): Add maybe_attribute. |
7527 | (parmlist_or_identifiers_1): Verify that only a parmlist follows | |
7528 | an attribute. | |
709619d9 | 7529 | |
3d709fd3 RH |
7530 | 2002-01-23 Richard Henderson <rth@redhat.com> |
7531 | ||
7532 | * expr.c (move_by_pieces_1): Extend size before negation. | |
7533 | ||
88a446c0 RH |
7534 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060. |
7535 | (MULTILIB_MATCHES): Remove 68040 and 68060 aliases. | |
7536 | (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060. | |
7537 | * config/m68k/t-m68kelf: Likewise. | |
7538 | ||
03984308 BW |
7539 | 2002-01-23 Bob Wilson <bob.wilson@acm.org> |
7540 | ||
7541 | * config/xtensa/elf.h: New file. | |
7542 | * config/xtensa/lib1funcs.asm: New file. | |
7543 | * config/xtensa/lib2funcs.S: New file. | |
7544 | * config/xtensa/linux.h: New file. | |
7545 | * config/xtensa/t-xtensa: New file. | |
7546 | * config/xtensa/xtensa-config.h: New file. | |
7547 | * config/xtensa/xtensa-protos.h: New file. | |
7548 | * config/xtensa/xtensa.c: New file. | |
7549 | * config/xtensa/xtensa.h: New file. | |
7550 | * config/xtensa/xtensa.md: New file. | |
7551 | * config.gcc (xtensa-*-elf*): New target. | |
7552 | (xtensa-*-linux*): New target. | |
7553 | * cse.c (canon_hash): Compare rtx pointers instead of register | |
7554 | numbers. This is required for the Xtensa port. | |
7555 | * integrate.c (copy_insn_list): Handle case where the static | |
7556 | chain is in memory and the memory address has to be copied to | |
7557 | a register. | |
7558 | * doc/invoke.texi (Option Summary): Add Xtensa options. | |
7559 | (Xtensa Options): New node. | |
7560 | * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. | |
7561 | ||
c3d5c3fa ZW |
7562 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
7563 | ||
a63bea75 ZW |
7564 | * diagnostic.c (internal_error): Do ICE suppression only |
7565 | when ENABLE_CHECKING is not defined. | |
7566 | ||
c3d5c3fa ZW |
7567 | * c-typeck.c (require_complete_type): Return error_mark_node |
7568 | if type is error_mark_node. | |
7569 | ||
1398974c JJ |
7570 | 2002-01-23 Janis Johnson <janis187@us.ibm.com> |
7571 | ||
7572 | * toplev.c (process_options): Disable -fprefetch-loop-arrays with | |
7573 | -Os and issue a warning. | |
7574 | ||
807633e5 ZW |
7575 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
7576 | ||
7577 | * doc/fragments.texi, doc/hostconfig.texi: Update to reflect | |
7578 | current (lack of) need for host configuration by hand. | |
7579 | ||
7580 | * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross | |
7581 | references. Documentation of some target macros moved from | |
7582 | hostconfig.texi to tm.texi. | |
7583 | ||
cf8002d0 WC |
7584 | 2002-01-23 Will Cohen <wcohen@redhat.com> |
7585 | ||
7586 | * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently | |
7587 | defined. | |
7588 | ||
d1e76310 KH |
7589 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
7590 | ||
7591 | * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an | |
7592 | operand[3]. | |
7593 | ||
b2115575 JM |
7594 | 2002-01-23 Jason Merrill <jason@redhat.com> |
7595 | ||
f893c16e JM |
7596 | * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. |
7597 | ||
b2115575 JM |
7598 | * function.c (assign_parms): Don't put args of inline functions |
7599 | into registers when not optimizing. | |
7600 | ||
6bacc7b0 NC |
7601 | 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> |
7602 | ||
7603 | * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant. | |
7604 | (prologue_use): New pattern. | |
7605 | * config/arm/arm.c (expand_prologue): Use gen_prologue_use in | |
7606 | preference to gen_rtx_USE. | |
7607 | (thumb_expand_prologue): Use gen_prologue_use in preference to | |
7608 | gen_rtx_USE. | |
7609 | (thumb_expand_epilogue): Use gen_prologue_use in preference to | |
7610 | gen_rtx_USE. | |
7611 | ||
a415f7bc HPN |
7612 | 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com> |
7613 | ||
7614 | * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0. | |
7615 | ||
5372b3fb NB |
7616 | 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
7617 | ||
7618 | PR c/3504 | |
7619 | * doc/extend.texi: Correct documentation of __alignof__. | |
7620 | ||
bd571ffc ZW |
7621 | 2002-01-22 Zack Weinberg <zack@codesourcery.com> |
7622 | ||
7623 | * params.h: Rename arguments of DEFPARAM so that it will be | |
7624 | recognized as a translation keyword. | |
7625 | ||
333c8841 AH |
7626 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
7627 | ||
bd571ffc ZW |
7628 | * extend.texi: Document altivec functions. |
7629 | Fix N-bit adjectives in X86 builtin documentation. | |
333c8841 | 7630 | |
38979c65 AO |
7631 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
7632 | ||
7633 | * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and | |
7634 | auto_inc_dec values. | |
7635 | ||
7458a9f0 RE |
7636 | 2002-01-22 Richard Earnshaw <rearnsha@arm.com> |
7637 | ||
7638 | * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space | |
7639 | after backslash. | |
7640 | (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line. | |
7641 | ||
129bd0c4 AO |
7642 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
7643 | ||
7644 | * config/i386/freebsd-aout.h (ASM_QUAD): Undefine. | |
7645 | ||
8b9b74a9 RH |
7646 | 2002-01-22 Richard Henderson <rth@redhat.com> |
7647 | ||
7648 | * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use | |
7649 | copy_insn not copy_rtx. | |
7650 | ||
d0c9db30 AM |
7651 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
7652 | ||
7653 | * combine.c (simplify_and_const_int): Don't trunc_int_for_mode | |
7654 | "nonzero" as that might add "1" bits. Ensure "constop" is | |
7655 | properly sign extened. | |
7656 | (force_to_mode): Tweak for sign extended constop. | |
7657 | ||
1e7e480e RH |
7658 | 2002-01-22 Richard Henderson <rth@redhat.com> |
7659 | ||
7660 | * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use | |
7661 | for_each_rtx instead of assuming we're already looking at the MEM. | |
7662 | (split_small_symbolic_mem_operand): Likewise. | |
7663 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
7664 | * config/alpha/alpha.md (small symbolic memory splitters): Update. | |
7665 | ||
7666 | 2002-01-22 Richard Henderson <rth@redhat.com> | |
2e271932 RH |
7667 | |
7668 | * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse | |
7669 | sequence number for the literal. | |
7670 | (divmoddi_internal_er): Likewise. | |
7671 | ||
b7f2fb96 CR |
7672 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7673 | ||
7674 | PR java/4972 | |
7675 | * aclocal.m4 (AM_ICONV): Put linking flags for libiconv | |
7676 | in LIBICONV variable. | |
7677 | * configure: Regenerated. | |
7678 | ||
f66a0046 KW |
7679 | 2002-01-22 Krister Walfridsson <cato@df.lth.se> |
7680 | ||
7681 | * dependence.c (build_def_use): Remove array_idx. | |
7682 | ||
e3b0efd1 KW |
7683 | * dwarfout.c (last_filename): Remove. |
7684 | (output_compile_unit_die): Remove last_filename. | |
7685 | ||
d8086cbb RS |
7686 | 2002-01-22 Roger Sayle <roger@eyesopen.com> |
7687 | Richard Henderson <rth@redhat.com> | |
7688 | ||
7689 | PR opt/3640 | |
7690 | * fold-const.c (fold): Optimize unsigned comparisons against | |
7691 | UINT_MAX (and similar unsigned constants). | |
7692 | ||
e8d52ba0 JJ |
7693 | 2002-01-22 Janis Johnson <janis187@us.ibm.com> |
7694 | ||
d8086cbb | 7695 | * Makefile.in (loop.o): Depend on OPTABS_H. |
1398974c | 7696 | * loop.c (emit_prefetch_instructions): Check the prefetch operand |
d8086cbb | 7697 | against the predicate. |
11303d15 | 7698 | |
e8d52ba0 JJ |
7699 | PR target/5379 |
7700 | * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint | |
7701 | for the address operand. | |
7702 | ||
cc7b420e RH |
7703 | 2002-01-22 Richard Henderson <rth@redhat.com> |
7704 | ||
7705 | * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove. | |
7706 | ||
816e265a CR |
7707 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7708 | ||
7709 | PR other/5450 | |
cc7b420e RH |
7710 | * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU |
7711 | preprocessor flags. | |
816e265a | 7712 | |
7c884404 JT |
7713 | 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com> |
7714 | ||
7715 | * config.gcc (x86_64-*-netbsd*): New target. | |
7716 | * config/i386/netbsd64.h: New file. | |
7717 | ||
2b672c08 AH |
7718 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
7719 | ||
d8086cbb | 7720 | * regrename.c (kill_value): Fix typo. |
2b672c08 AH |
7721 | |
7722 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> | |
7723 | ||
d8086cbb | 7724 | * doc/tm.texi: Remove STARTING_FRAME_PHASE. |
2b672c08 | 7725 | |
d8086cbb | 7726 | * config/rs6000/rs6000.h: Same. |
2b672c08 | 7727 | |
d8086cbb RS |
7728 | * function.c (instantiate_virtual_regs): Remove |
7729 | STARTING_FRAME_PHASE. | |
7730 | (assign_stack_local_1): Same. | |
7731 | Calculate frame phase. | |
2b672c08 | 7732 | |
4b02997f NC |
7733 | 2002-01-22 Nick Clifton <nickc@redhat.com> |
7734 | ||
7735 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno' | |
7736 | variable declaration to outer scope in order to simplify | |
7737 | future extensions. | |
7738 | (HARD_REGNO_MODE_OK): Replace macro body with a with a call to | |
7739 | arm_hard_regno_mode_ok. | |
7740 | * config/arm/arm-protos.h: Add a prototype for | |
7741 | arm_hard_regno_mode_ok. | |
7742 | * config/arm/arm.c (soft_df_operand): Remove now redundant | |
7743 | check for DImode values using IP_REGNUM. | |
7744 | (nonimmediate_soft_df_operand): Remove now redundant check for | |
7745 | DImode values using IP_REGNUM. | |
7746 | (arm_hard_regno_mode_ok): New function. New check: make sure | |
7747 | that DImode values are not stored in IP_REGNUM. | |
c14a3a45 NC |
7748 | |
7749 | * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD | |
7750 | note with a USE. | |
7751 | (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE. | |
7752 | ||
8a827ab2 JM |
7753 | 2002-01-22 Jason Merrill <jason@redhat.com> |
7754 | ||
7755 | * c-semantics.c (genrtl_compound_stmt): Only check nesting | |
7756 | consistency if this COMPOUND_STMT is scoped. | |
7757 | ||
cf403648 KH |
7758 | 2002-01-22 Kazu Hirata <kazu@hxi.com> |
7759 | ||
7760 | * predict.c: Fix formatting. | |
7761 | * print-tree.c: Likewise. | |
7762 | * protoize.c: Likewise. | |
7763 | * real.h: Likewise. | |
7764 | * rtl.h: Likewise. | |
7765 | * sbitmap.h: Likewise. | |
7766 | * scan.c: Likewise. | |
7767 | * sched-deps.c: Likewise. | |
7768 | * sched-vis.c: Likewise. | |
7769 | * sdbout.c: Likewise. | |
7770 | * sibcall.c: Likewise. | |
7771 | * ssa.c: Likewise. | |
7772 | * ssa-ccp.c: Likewise. | |
7773 | * ssa-dce.c: Likewise. | |
7774 | * stmt.c: Likewise. | |
7775 | * stor-layout.c: Likewise. | |
7776 | * system.h: Likewise. | |
7777 | ||
aea9695c RK |
7778 | Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7779 | ||
a8765ae7 RK |
7780 | * tree.c (int_fits_type_p): If bounds of a subtype are variable, see |
7781 | if fits in bounds of base type. | |
7782 | ||
aea9695c RK |
7783 | * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls. |
7784 | (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New. | |
7785 | (add_bound_info, default): If can't find a context, make a | |
7786 | SAVE_EXPR. | |
7787 | (dwarf2out_finish): Check for SAVE_EXPR in node->created_for. | |
7788 | ||
58bf601b HPN |
7789 | 2002-01-22 Hans-Peter Nilsson <hp@axis.com> |
7790 | ||
7791 | * c-typeck.c (parser_build_binary_op): If result from | |
7792 | build_binary_op is ERROR_MARK just return error_mark_node without | |
7793 | further processing. | |
7794 | ||
f982f805 JT |
7795 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
7796 | ||
7797 | * config/netbsd.h (TARGET_HAS_F_SETLKW): define. | |
7798 | Split a.out-specific bits into... | |
7799 | * config/netbsd-aout.h: ...this. | |
7800 | * config/netbsd-elf.h: New file. | |
7801 | * config/alpha/netbsd-elf.h: Remove. | |
7802 | * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. | |
7803 | * config/i386/netbsd-elf.h (LIB_SPEC): Remove. | |
bd571ffc | 7804 | (STARTFILE_SPEC): Remove redundant definition. |
f982f805 JT |
7805 | (ENDFILE_SPEC): Likewise. |
7806 | (LINK_SPEC): Likewise. | |
7807 | (CPP_SPEC): Likewise. | |
7808 | (ASM_SPEC): Likewise. | |
7809 | (LIB_SPEC): Likewise. | |
7810 | (SWITCH_TAKES_ARG): Likewise. | |
7811 | (TARGET_MEM_FUNCTIONS): Likewise. | |
7812 | (CPP_PREDEFINES): Redefine. | |
7813 | (ASM_FINAL_SPEC): Remove redefinition. | |
7814 | (ASM_COMMENT_START): Redefine. | |
7815 | (FUNCTION_PROFILER): Define. | |
7816 | (TARGET_VERSION): Redefine. | |
7817 | Comment and formatting cleanup. | |
7818 | * config/i386/netbsd.h: Include <netbsd-aout.h>. | |
7819 | * config/m68k/netbsd.h: Include <netbsd-aout.h>. | |
7820 | * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, | |
7821 | big- or little-endian. | |
7822 | * config/ns32k/netbsd.h: Include <netbsd-aout.h>. | |
7823 | * config.gcc (*-*-netbsd*): Add definitions common to all | |
7824 | NetBSD configs. | |
7825 | (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and | |
7826 | gnu_ld definitions. Add netbsd-elf.h to and remove | |
7827 | alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from | |
7828 | tmake_file, and don't lose previous tmake_file contents. | |
7829 | (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. | |
7830 | (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and | |
7831 | gnu_ld definitions. Add netbsd-elf.h to tm_file. | |
7832 | (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. | |
7833 | (mipsel-*-netbsd*): Rename this to... | |
7834 | (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add | |
7835 | mips/little.h to tm_file for mips*el-*. | |
7836 | (powerpc-*-netbsd*): Remove redundant xm_defines definition. | |
7837 | (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. | |
7838 | (vax-*-netbsd*): Add netbsd-aout.h to tm_file. | |
7839 | ||
2e396476 JDA |
7840 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7841 | ||
7842 | * pa-protos.h (reg_before_reload_operand): New function prototype. | |
7843 | * pa.c (reg_before_reload_operand): New function implementation. | |
7844 | * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" | |
7845 | contraints to "*m". | |
7846 | ||
3b5708e7 FS |
7847 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
7848 | ||
7849 | * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. | |
7850 | ||
85e79f96 JDA |
7851 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7852 | ||
7853 | * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin". | |
7854 | (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/". | |
7855 | (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/". | |
7856 | (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections. | |
7857 | (ENDFILE_SPEC): Undefine. | |
7858 | (STARTFILE_SPEC): Redefine for PA. | |
7859 | ||
38abadee FS |
7860 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
7861 | ||
7862 | * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. | |
7863 | ||
94f1d97c DJ |
7864 | 2002-01-21 Daniel Jacobowitz <drow@mvista.com> |
7865 | ||
7866 | * config.gcc: Add entries to supported PowerPC --with-cpu | |
7867 | types. | |
7868 | ||
0333394e JJ |
7869 | 2002-01-21 Jakub Jelinek <jakub@redhat.com> |
7870 | ||
7871 | * config/i386/i386.c (ix86_function_arg_regno_p): Never return | |
7872 | true for 64-bit mode only SSE registers in 32-bit mode. | |
7873 | ||
e9d1b155 KH |
7874 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
7875 | ||
7876 | * unwind-dw2.c: Fix formatting. | |
7877 | * unwind-dw2-fde.c: Likewise. | |
7878 | * unwind-dw2-fde.h: Likewise. | |
7879 | * unwind-pe.h: Likewise. | |
7880 | * varasm.c: Likewise. | |
7881 | * varray.h: Likewise. | |
7882 | ||
07338cf8 HPN |
7883 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
7884 | ||
7885 | Remove workaround for register stack overwrite bug in mmix. | |
7886 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove | |
7887 | support for TARGET_REG_STACK_FILL_BUG. | |
7888 | * config/mmix/mmix.h: Remove member has_call_without_parameters. | |
7889 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG): | |
7890 | Delete. | |
7891 | (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG. | |
7892 | (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and | |
7893 | -mno-reg-stack-fill-bug-workaround. | |
7894 | * config/mmix/mmix.md ("call", "call_value"): Don't set struct | |
7895 | machine member has_call_without_parameters. | |
7896 | * doc/invoke.texi (Option Summary) <MMIX Options>: Remove | |
7897 | -mreg-stack-fill-bug-workaround and | |
7898 | -mno-reg-stack-fill-bug-workaround. | |
7899 | (MMIX Options): Ditto. | |
7900 | ||
7192cbf1 KH |
7901 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
7902 | ||
7903 | * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX | |
7904 | as appropriate. | |
7905 | Remove redundant code. | |
7906 | ||
d1552d7b JM |
7907 | 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk> |
7908 | ||
7909 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
7910 | config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
7911 | config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, | |
7912 | config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h, | |
7913 | config/stormy16/stormy16.h, config/v850/v850.h: Remove commented | |
7914 | out target macro definitions and non-target-specific comments | |
7915 | mostly taken from old versions of the manual. | |
7916 | ||
ed168e45 KH |
7917 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7918 | ||
7919 | * config/h8300/h8300.h: Fix comment formatting. | |
7920 | * config/ia64/aix.h: Likewise. | |
7921 | * config/ia64/ia64-protos.h: Likewise. | |
7922 | * config/ia64/ia64.c: Likewise. | |
7923 | * config/ia64/ia64.h: Likewise. | |
7924 | * config/ia64/ia64intrin.h: Likewise. | |
7925 | * config/ia64/linux.h: Likewise. | |
7926 | * config/ia64/unwind-aix.c: Likewise. | |
7927 | * config/ia64/unwind-ia64.c: Likewise. | |
7928 | ||
005e3e05 KH |
7929 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7930 | ||
7931 | * config/h8300/h8300.c: Revise comments about shift code. | |
7932 | ||
64bead4c KH |
7933 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7934 | ||
7935 | * config/h8300/h8300.c (function_arg): Update a comment. | |
7936 | ||
ed863595 KH |
7937 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7938 | ||
7939 | * config/h8300/h8300.md: Update the comments at the beginning | |
7940 | of the file. | |
7941 | ||
5904dc87 KH |
7942 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
7943 | ||
7944 | * config/i370/i370.c: Fix comment formatting. | |
7945 | * config/i370/i370.h: Likewise. | |
7946 | * config/i370/i370.md: Likewise. | |
7947 | * config/i370/linux.h: Likewise. | |
7948 | ||
9702143f RK |
7949 | Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7950 | ||
cbafacd1 RK |
7951 | * reg-stack.c (subst_stack_regs): Properly check for deleted insn. |
7952 | ||
9702143f RK |
7953 | * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases. |
7954 | (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL | |
7955 | in incomplete case. | |
7956 | ||
6b6996b8 GS |
7957 | 2002-01-20 Graham Stott <grahams@redhat.com> |
7958 | ||
7959 | * cfgloop.c (flow_loop_preheader_scan): Fix typo. | |
7960 | ||
eab854f6 JDA |
7961 | 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7962 | ||
7963 | * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file. | |
7964 | ||
5b029315 TR |
7965 | 2002-01-19 Tom Rix <trix@redhat.com> |
7966 | ||
7967 | * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts. | |
7968 | ||
1d690052 AH |
7969 | 2002-01-18 Aldy Hernandez <aldyh@redhat.com> |
7970 | ||
d8086cbb | 7971 | * doc/tm.texi (STARTING_FRAME_PHASE): Document. |
1d690052 | 7972 | |
d8086cbb RS |
7973 | * function.c (assign_stack_local_1): Adjust x_frame_offset with |
7974 | STARTING_FRAME_PHASE. | |
7975 | (STARTING_FRAME_PHASE): New. | |
7976 | (instantiate_virtual_regs): Check saneness of | |
7977 | STARTING_FRAME_PHASE. | |
1d690052 | 7978 | |
d8086cbb | 7979 | * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New. |
1d690052 | 7980 | |
4dd8c093 AO |
7981 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> |
7982 | ||
7983 | * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls. | |
7984 | ||
6f2a28d7 CR |
7985 | 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org> |
7986 | ||
7987 | * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot | |
7988 | be used for bootstrapping GCC 3.0. | |
7989 | ||
8763a465 KH |
7990 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
7991 | ||
7992 | * config/h8300/h8300.md: Fix an insn length. | |
7993 | ||
3ef42a0c KH |
7994 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
7995 | ||
7996 | * bitmap.h: Fix comment formatting. | |
7997 | * combine.c: Likewise. | |
7998 | * cppfiles.c: Likewise. | |
7999 | * c-pragma.h: Likewise. | |
8000 | * c-typeck.c: Likewise. | |
8001 | * df.c: Likewise. | |
8002 | * dwarf2out.c: Likewise. | |
8003 | * function.c: Likewise. | |
8004 | * gcc.c: Likewise. | |
8005 | * genattrtab.c: Likewise. | |
8006 | * gthr-win32.h: Likewise. | |
8007 | * haifa-sched.c: Likewise. | |
8008 | * predict.c: Likewise. | |
8009 | * rtlanal.c: Likewise. | |
8010 | * rtl.h: Likewise. | |
8011 | * unwind-dw2-fde.h: Likewise. | |
8012 | * unwind-pe.h: Likewise. | |
8013 | * vmsdbgout.c: Likewise. | |
8014 | ||
dd4dc3cd RK |
8015 | Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8016 | ||
8017 | * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE | |
8018 | if type_required and passed decl. | |
8019 | ||
5fb4cf24 AH |
8020 | 2002-01-17 Aldy Hernandez <aldyh@redhat.com> |
8021 | ||
d8086cbb RS |
8022 | * config.gcc (cpu_type): Include altivec.h in powerpc |
8023 | extra_headers. | |
8024 | Same for darwin. | |
5fb4cf24 | 8025 | |
d8086cbb | 8026 | * config/rs6000/altivec.h: New. |
5fb4cf24 | 8027 | |
2705baf5 DE |
8028 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
8029 | ||
8030 | * doc/install.texi (*-ibm-aix*): Update assembler and exception | |
8031 | handling information. | |
8032 | * doc/trouble.texi (Interoperation): Add libstdc++ information | |
8033 | for AIX. | |
8034 | (Misunderstandings): Add template instantiation and static template | |
8035 | member information for AIX. | |
8036 | ||
dbd680e1 JM |
8037 | 2002-01-17 Jason Merrill <jason@redhat.com> |
8038 | ||
821adc5e JM |
8039 | * dbxout.c (dbxout_type): Support const and volatile. |
8040 | ||
dbd680e1 JM |
8041 | * except.c (add_partial_entry): Remove backwards compatibility code. |
8042 | (end_protect_partials): Likewise. | |
8043 | ||
d0e82870 JJ |
8044 | 2002-01-17 Jakub Jelinek <jakub@redhat.com> |
8045 | ||
8046 | * config/ia64/ia64.md (prologue_use): New. | |
8047 | * config/ia64/ia64.c (ia64_expand_prologue): Use | |
8048 | gen_prologue_use instead of gen_rtx_USE. | |
8049 | (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way | |
8050 | as CODE_FOR_pred_rel_mutex. | |
8051 | (ia64_sched_reorder2): Likewise. | |
8052 | ||
f9f45c65 EC |
8053 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
8054 | ||
8055 | * config/mips/r3900.h: Reformat. | |
8056 | (SUBTARGET_CPP_SIZE_SPEC): Remove. | |
8057 | * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto. | |
8058 | * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "". | |
8059 | (SUBTARGET_CPP_SIZE_SPEC): Rewrite. | |
8060 | * config/mips/t-elf: Remove mips3 multilib. | |
8061 | ||
c66c8b0e L |
8062 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
8063 | ||
8064 | * config/mips/linux.h: Include "mips/abi64.h". | |
8065 | ||
5f083b72 L |
8066 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
8067 | ||
8068 | * config/mips/t-linux: New. | |
8069 | ||
8070 | * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. | |
8071 | ||
8072 | * config/mips/linux.h: Don't include "gofast.h". | |
8073 | (INIT_SUBTARGET_OPTABS): Removed. | |
8074 | ||
af3c90a6 KH |
8075 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
8076 | ||
8077 | * config/h8300/h8300-protos.h: Replace emit_a_shift with | |
8078 | output_a_shift. | |
8079 | * config/h8300/h8300.c: Likewise. | |
8080 | * config/h8300/h8300.md: Likewise. | |
8081 | ||
a1bf0a16 KH |
8082 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
8083 | ||
8084 | * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of | |
8085 | spaces after an opcode name. | |
8086 | (pushqi1_h8300hs): Likewise. | |
8087 | (pushhi1_h8300hs): Likewise. | |
8088 | ||
88ab0d1c KH |
8089 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
8090 | ||
8091 | * doc/extend.texi: Replace "option" with "attribute" | |
8092 | appropriately. | |
8093 | ||
51c561e3 JJ |
8094 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
8095 | ||
8096 | * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into | |
8097 | (and:DI () (const_int -8)). | |
8098 | (split_small_symbolic_mem_operand): Split | |
8099 | (mem (and:DI () (const_int -8)). | |
8100 | ||
b8c1a6b8 JJ |
8101 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
8102 | ||
8103 | PR target/5309: | |
d8086cbb | 8104 | * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the |
b8c1a6b8 JJ |
8105 | same way as TYPE_IMUL. |
8106 | (ultrasparc_sched_reorder): Likewise. | |
8107 | * config/sparc/sparc.md (type): Add comment to update | |
8108 | ultrasparc_sched_reorder when making changes. | |
8109 | ||
1e4e4df2 KH |
8110 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
8111 | ||
8112 | * doc/invoke.texi: Change the dump file name of block | |
8113 | reordering pass from 28.bbro to 29.bbro. | |
8114 | Mention -dk option. | |
8115 | ||
14d920c0 JH |
8116 | Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz> |
8117 | ||
8118 | * i386.md (minsf splitter): Fix pasto. | |
8119 | ||
2e99323f NC |
8120 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
8121 | ||
8122 | * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note | |
8123 | to frame pointer initialisation instruction. | |
8124 | (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer | |
8125 | initialisation instruction. | |
ab8081c1 NC |
8126 | (soft_df_operand): Do not accept the IP register. |
8127 | (nonimmediate_soft_df_operand): Do not accept the IP register. | |
2e99323f | 8128 | |
c4031a04 JJ |
8129 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
8130 | ||
8131 | PR target/5357: | |
8132 | * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and | |
8133 | MASK_V8 being both set. | |
8134 | ||
44b8152b UW |
8135 | 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com> |
8136 | ||
8137 | * config/s390/s390.c (s390_emit_prologue): Do not emit USE | |
8138 | insn for GOT register; add REG_MAYBE_DEAD notes instead. | |
8139 | config/s390/s390.md (call, call_value): Add GOT register to | |
8140 | CALL_INSN_FUNCTION_USAGE where needed. | |
8141 | (call_exp, call_value_exp): New. | |
8142 | ||
1d6e90ac NC |
8143 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
8144 | ||
8145 | * config/arm/arm.c: General formatting tidy up. | |
8146 | ||
8147 | 2002-01-16 Graham Stott <grahams@redhat.com> | |
60e8b9f0 GS |
8148 | |
8149 | * calls.c (try_to_integrate): Use "(size_t)" intermediate | |
8150 | cast and when casting an integer literal to "rtx" pointer. | |
8151 | (expand_call): Likewise. | |
8152 | * flow.c (try_pre_increment): Likewise. | |
8153 | (find_use_as_address): Likewise. | |
8154 | * integrate.c (expand_iline_function): Likewise. | |
8155 | * regmove.c (try_auto_increment): Likewise. | |
8156 | ||
1d6e90ac | 8157 | 2002-01-16 Graham Stott <grahams@redhat.com> |
7b25b076 GS |
8158 | |
8159 | * sched-rgn.c (passed): Use sbitmap_free. | |
8160 | (header): Likewise. | |
8161 | (inner): Likewise. | |
8162 | (in_queue): Likewise. | |
8163 | (in_stack): Likewise. | |
8164 | ||
31fce3c4 EC |
8165 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
8166 | ||
8167 | * flow.c (propagate_one_insn): Change to use fatal_insn. | |
8168 | ||
c99d986a KH |
8169 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
8170 | ||
8171 | * expmed.c (extract_fixed_bit_field): Remove unused code. | |
8172 | * system.h: Poison SLOW_ZERO_EXTEND. | |
8173 | * doc/tm.texi: Remove. | |
8174 | * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. | |
8175 | * config/arm/arm.h: Likewise. | |
8176 | * config/avr/avr.h: Likewise. | |
8177 | * config/clipper/clipper.h: Likewise. | |
8178 | * config/convex/convex.h: Likewise. | |
8179 | * config/d30v/d30v.h: Likewise. | |
8180 | * config/dsp16xx/dsp16xx.h: Likewise. | |
8181 | * config/elxsi/elxsi.h: Likewise. | |
8182 | * config/fr30/fr30.h: Likewise. | |
8183 | * config/h8300/h8300.h: Likewise. | |
8184 | * config/i370/i370.h: Likewise. | |
8185 | * config/i386/i386.h: Likewise. | |
8186 | * config/m68k/m68k.h: Likewise. | |
8187 | * config/mips/mips.h: Likewise. | |
8188 | * config/ns32k/ns32k.h: Likewise. | |
8189 | * config/pdp11/pdp11.h: Likewise. | |
8190 | * config/pj/pj.h: Likewise. | |
8191 | * config/s390/s390.h: Likewise. | |
8192 | * config/sh/sh.h: Likewise. | |
8193 | * config/stormy16/stormy16.h: Likewise. | |
8194 | * config/v850/v850.h: Likewise. | |
8195 | * config/vax/vax.h: Likewise. | |
8196 | * config/we32k/we32k.h: Likewise. | |
8197 | ||
acfab996 AH |
8198 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
8199 | ||
d8086cbb RS |
8200 | * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx. |
8201 | (altivec_lvsl): Change constraint to b. | |
8202 | (altivec_lvsr): Same. | |
8203 | (altivec_lvebx): Same. | |
8204 | (altivec_lvehx): Same. | |
8205 | (altivec_lvewx): Same. | |
8206 | (altivec_lvxl): Same. | |
8207 | (altivec_lvx): Same. | |
8208 | (altivec_stvx): Add parallel. | |
8209 | (altivec_stvxl): Same. | |
8210 | (altivec_stvehx): Same. | |
8211 | (altivec_stvebx): Same. | |
8212 | (altivec_stvebx): Same. | |
acfab996 | 8213 | |
5e505bc9 AH |
8214 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
8215 | ||
d8086cbb | 8216 | * config.gcc: Change altivec.h to altivec-defs.h. |
5e505bc9 | 8217 | |
d8086cbb | 8218 | * config/rs6000/altivec.h: Delete. |
5e505bc9 | 8219 | |
d8086cbb | 8220 | * config/rs6000/altivec-defs.h: Add. |
5e505bc9 | 8221 | |
5c41fdfb JDA |
8222 | 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8223 | ||
8224 | * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV | |
8225 | and UMOD modes. | |
8226 | ||
8227 | * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size | |
8228 | less than or equal to eight bytes. | |
8229 | ||
8230 | * vax.md (andsi3): Remove constraints and change SET destination | |
8231 | operand type to nonimmediate_operand. | |
8232 | (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1 | |
8233 | when it is a CONST_INT. | |
8234 | ||
de097a2d JM |
8235 | 2002-01-15 Jason Merrill <jason@redhat.com> |
8236 | ||
8237 | * c-common.def (FILE_STMT): New code. | |
8238 | * c-common.c (statement_code_p): It's a statement. | |
8239 | * c-common.h (stmt_tree_s): Add x_last_filename. | |
8240 | (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros. | |
8241 | (last_expr_filename): New macro. | |
8242 | * c-semantics.c (begin_stmt_tree): Initialize it. | |
8243 | (add_stmt): If the filename changed, also insert a | |
8244 | FILE_STMT. | |
8245 | (expand_stmt): Handle seeing one. | |
8246 | ||
4a913dd6 EC |
8247 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
8248 | ||
8249 | * flow.c (propagate_one_insn): Add error message and print out | |
8250 | insn for debugging. | |
8251 | ||
006946e4 JM |
8252 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
8253 | ||
8254 | * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, | |
8255 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. | |
8256 | * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to | |
8257 | TRAMPOLINE_ALIGNMENT. | |
8258 | * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value | |
8259 | to be in bits. | |
8260 | * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to | |
8261 | PCC_BITFIELD_TYPE_MATTERS. | |
8262 | * config/interix.h (STDC_VALUE): Remove. Use | |
8263 | STDC_0_IN_SYSTEM_HEADERS. | |
8264 | * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h | |
8265 | (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, | |
8266 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. | |
8267 | ||
751a1458 CR |
8268 | 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org> |
8269 | ||
8270 | * doc/install.texi (hppa*-hp-hpux11): --enable-threads does | |
8271 | not work on this platform currently. | |
8272 | ||
57771fe8 JM |
8273 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
8274 | ||
8275 | * c-typeck.c (build_unary_op): Don't wrap msgid argument of | |
8276 | readonly_warning in _(). | |
8277 | ||
0e83ceb1 | 8278 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
9a52433e | 8279 | |
0e83ceb1 | 8280 | * gcc.c (delete_if_ordinary): Backout previous change. |
9a52433e | 8281 | |
8e2e89f7 KH |
8282 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
8283 | ||
0e83ceb1 DR |
8284 | * config/h8300/h8300.c (print_operand): Remove support for |
8285 | unused operand characters. | |
8286 | ||
8e2e89f7 KH |
8287 | * read-rtl.c: Fix formatting. |
8288 | * real.c: Likewise. | |
8289 | * recog.c: Likewise. | |
8290 | * regclass.c: Likewise. | |
8291 | * regmove.c: Likewise. | |
8292 | * reg-stack.c: Likewise. | |
8293 | * reload1.c: Likewise. | |
8294 | * rtlanal.c: Likewise. | |
8295 | ||
b531087a KH |
8296 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
8297 | ||
8298 | * config/i386/i386.c: Fix formatting. | |
8299 | ||
7c94ce7f JJ |
8300 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
8301 | ||
8302 | * c-typeck.c (process_init_element): Don't save_expr | |
8303 | COMPOUND_LITERAL_EXPR if just its initializer will be used. | |
8304 | ||
6041bf2f DE |
8305 | 2002-01-15 David Edelsohn <edelsohn@gnu.org> |
8306 | ||
8307 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not | |
8308 | emit optional traceback table if optimize_size or TARGET_ELF. | |
8309 | * config/rs6000/rs6000.md (prefetch): New. | |
8310 | ||
8559c8c0 AJ |
8311 | 2002-01-15 Andreas Jaeger <aj@suse.de> |
8312 | ||
8313 | * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. | |
8314 | ||
70f122f2 KH |
8315 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
8316 | ||
8317 | * mips-tfile.c: Fix formatting. | |
8318 | ||
6a7b4ca6 JH |
8319 | Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz> |
8320 | ||
8321 | * unroll.c (final_reg_note_copy): Fix previous commit. | |
8322 | ||
e7afe229 KH |
8323 | 2002-01-14 Kazu Hirata <kazu@hxi.com> |
8324 | ||
8325 | * config/h8300/h8300-protos.h: Remove the prototype for | |
8326 | eq_operator. | |
8327 | * config/h8300/h8300.c (eq_operator): Remove. | |
8328 | ||
7d378549 RH |
8329 | 2002-01-14 Richard Henderson <rth@redhat.com> |
8330 | ||
8331 | * config/i386/i386.md (prefetch): Tidy. | |
8332 | (prefetch_3dnow): Fix locality operand. | |
8333 | ||
ab093b81 RH |
8334 | 2002-01-14 Richard Henderson <rth@redhat.com> |
8335 | ||
8336 | * config/mips/mips.h (HI_AND_FP_REGS): New register class. | |
8337 | (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode. | |
8338 | ||
d300f51f HPN |
8339 | 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com> |
8340 | ||
8341 | * reload1.c (reload_combine): Pass reg_sum replacement through | |
8342 | copy_rtx in loop performing multiple changes. | |
8343 | ||
655dd289 JJ |
8344 | 2002-01-14 Jakub Jelinek <jakub@redhat.com> |
8345 | ||
8346 | * except.c (remove_unreachable_regions): New. | |
8347 | (free_eh_status): Clear exception_handler_labels. | |
8348 | (convert_from_eh_region_ranges): Call remove_unreachable_regions. | |
8349 | (find_exception_handler_labels): Don't add the same label more than | |
8350 | once. | |
8351 | (remove_exception_handler_label): Don't die if | |
8352 | find_exception_handler_labels hasn't been called for the current | |
8353 | function yet. | |
8354 | ||
1fba46a7 JH |
8355 | Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz> |
8356 | ||
8357 | * toplev.c (rest_of_compilation): Rebuild jump labels after | |
8358 | gcse. | |
8359 | ||
0975678f JM |
8360 | 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
8361 | ||
8362 | * doc/extend.texi: Move documentation of X86 built-in functions | |
8363 | here. | |
8364 | * doc/invoke.texi: From here. | |
8365 | * doc/sourcebuild.texi: Document location of documentation for | |
8366 | machine built-in functions. | |
8367 | ||
969815c7 CF |
8368 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
8369 | ||
8370 | * cppfiles.c (TEST_THRESHOLD): New macro. | |
8371 | (SHOULD_MMAP): Ditto. | |
8372 | (read_include_file): Use SHOULD_MMAP macro to decide when mmap should | |
8373 | be used. | |
8374 | ||
494c950b JH |
8375 | Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz> |
8376 | ||
8377 | * unroll.c (final_reg_note_copy): Properly handle | |
8378 | REG_LABEL | |
8379 | (unroll_loops): Fix LOOP_CONDITION heuristics. | |
8380 | ||
69a0611f GK |
8381 | 2002-01-14 Geoffrey Keating <geoffk@redhat.com> |
8382 | ||
8383 | * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option. | |
8384 | * doc/md.texi (Machine Constraints): Use @minus{} where appropriate. | |
8385 | ||
b90e45ae JH |
8386 | Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz> |
8387 | ||
8388 | * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite | |
8389 | threaded loop. | |
8390 | ||
8377288b TR |
8391 | 2002-01-14 Tom Rix <trix@redhat.com> |
8392 | ||
8393 | * config/rs6000/rs6000.md: Fix typo with sradi. | |
8394 | ||
9f37ccb1 UW |
8395 | 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com> |
8396 | ||
8397 | * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64, | |
8398 | movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates. | |
8399 | (clrstrdi, clrstrsi): Adapt callers. | |
8400 | ||
8401 | (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. | |
8402 | ||
8559c8c0 | 8403 | (movti splitter): Never use register 0 as base register. |
9f37ccb1 | 8404 | |
6c2d03d0 HP |
8405 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
8406 | ||
8559c8c0 AJ |
8407 | * combine.c (simplify_shift_const): Always generate new rtx |
8408 | for shift expression instead of reusing given expression. | |
6c2d03d0 | 8409 | |
d3e98208 RK |
8410 | Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8411 | ||
8412 | * config/alpha/alpha.c (alpha_expand_mov): Don't call | |
8413 | alpha_legitimize_address unless mode is Pmode. | |
8414 | ||
9f339dde GK |
8415 | 2002-01-13 Geoffrey Keating <geoffk@redhat.com> |
8416 | ||
8417 | * doc/md.texi (Modifiers): Document the '*' constraint for the | |
8418 | user. | |
8419 | ||
8420 | * doc/md.texi (Machine Constraints): Add constraints for xstormy16. | |
8421 | * doc/extend.texi (Function Attributes): 'interrupt' is valid | |
8422 | for xstormy16 too. | |
8423 | ||
02a10130 RH |
8424 | 2002-01-13 Richard Henderson <rth@redhat.com> |
8425 | ||
8426 | * reload.c (find_reloads): Use a hard reg destination as reload reg | |
8427 | for an input reload of the source. | |
8428 | ||
61d47787 GP |
8429 | 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
8430 | ||
8431 | * doc/install.texi (Binaries): Make link to ftp.writtenword.com | |
8432 | more generic. | |
8433 | ||
f0df8029 DR |
8434 | Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com> |
8435 | ||
8436 | * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
8437 | * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
8438 | ||
d2a37256 DR |
8439 | * config/alpha/x-vms (USE_COLLECT2): Set to empty. |
8440 | ||
a9e8a5ee RK |
8441 | Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8442 | ||
8443 | * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case. | |
8444 | ||
bc06712d TR |
8445 | 2002-01-12 Tom Rix <trix@redhat.com> |
8446 | ||
8559c8c0 | 8447 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for |
bc06712d TR |
8448 | TARGET_POWERPC64. |
8449 | ||
7cbe9bb7 RH |
8450 | 2002-01-12 Richard Henderson <rth@redhat.com> |
8451 | ||
38b29e64 RH |
8452 | * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A. |
8453 | ||
58605ba0 RH |
8454 | * doc/invoke.texi: Update Alpha options. |
8455 | ||
7cbe9bb7 RH |
8456 | * doc/invoke.texi: Update i386 built-in function lists. |
8457 | ||
9d560860 JH |
8458 | Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz> |
8459 | ||
8460 | * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note | |
8461 | referencing outside. | |
8462 | ||
bb93b973 RK |
8463 | Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8464 | ||
8465 | * diagnostic.c (warn_deprecated_use): Rework to lower indentation. | |
8466 | * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for | |
8467 | offsets, and change line folding. | |
8468 | * optabs.c (expand_binop): Remove warnings. | |
8469 | * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. | |
8559c8c0 | 8470 | |
f9f6b7df GS |
8471 | 2002-01-12 Graham Stott <grahams@redhat.com> |
8472 | ||
8473 | * attribs.c (handle_deprecated_attribute): constify WHAT. | |
8474 | * diagnostic.c (warn_deprecated_use): Add braces, fixes | |
8475 | dangling else warning and constify WHAT. | |
8476 | * except.h (struct function, struct inline_remap): Move | |
8477 | struct tag forward defs before all prototypes. | |
8478 | (duplicate_eh_regions): Whitespace. | |
8479 | ||
4a692617 NC |
8480 | 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com> |
8481 | ||
8482 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
8483 | MODE_BASE_REG_CLASS. | |
8484 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS. | |
8485 | ||
e37af218 RH |
8486 | 2002-01-12 Richard Henderson <rth@redhat.com> |
8487 | ||
8488 | * config/i386/i386.c (override_options): If SSE, enable sse prefetch. | |
8489 | (ix86_expand_vector_move): New. | |
8490 | (bdesc_2arg): Remove andps, andnps, orps, xorps. | |
8491 | (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins. | |
8492 | Remove old prefetch builtins. Special case the logicals removed above. | |
8493 | (ix86_expand_builtin): Likewise. | |
8494 | (safe_vector_operand): Use V4SFmode, not TImode. | |
8495 | (ix86_expand_store_builtin): Remove shuffle arg. Update callers. | |
8496 | (ix86_expand_timode_binop_builtin): New. | |
8497 | * config/i386/i386-protos.h: Update. | |
8498 | * config/i386/i386.h (enum ix86_builtins): Update. | |
8499 | * config/i386/i386.md: Correct predicates on MMX/SSE patterns. | |
8500 | Use ix86_expand_vector_move in vector move expanders. | |
8501 | (movti_internal, movti_rex64): Add xorps alternative. | |
8502 | (sse_clrv4sf): Rename and adjust from sse_clrti. | |
8503 | (prefetch): Don't work so hard. | |
8504 | (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC. | |
8505 | * config/i386/xmmintrin.h (__m128): Use V4SFmode. | |
8506 | (_mm_getcsr, _mm_setcsr): Fix typo in builtin name. | |
8507 | ||
6f1a6c5b RH |
8508 | 2002-01-11 Richard Henderson <rth@redhat.com> |
8509 | ||
8510 | * config/i386/mmintrin.h: New file. | |
8511 | * config/i386/xmmintrin.h: New file. | |
8512 | * config.gcc (i?86-*-*): Add extra_headers. | |
8513 | * simplify-rtx.c (simplify_unary_operation): Handle saturating | |
8514 | truncation codes. | |
8515 | (simplify_binary_operation): Handle saturating arithmetic codes. | |
8516 | * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, | |
8517 | not the lowpart subreg. | |
8518 | (ix86_expand_builtin): Return a TImode dummy register instead of 0 | |
8519 | on error. | |
8520 | * config/i386/i386.md (mmx_clrdi): Override memory attribute. | |
8521 | ||
cdb574d3 MH |
8522 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
8523 | ||
8524 | * conflict.c (conflict_graph_compute): Free regsets when finished. | |
8525 | * ssa.c (compute_coalesced_reg_partition): Likewise. | |
8559c8c0 | 8526 | |
cf11ac55 HB |
8527 | 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8528 | ||
8529 | * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED | |
8530 | every where we allocate a register. | |
8531 | ||
76ac938b MH |
8532 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
8533 | ||
8534 | * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free. | |
8535 | * lcm.c (compute_earliest, compute_farthest): Likewise. | |
8536 | ||
a84b4898 JJ |
8537 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
8538 | ||
8539 | * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. | |
8540 | ||
aaef1c12 JJ |
8541 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
8542 | ||
8543 | * doc/rtl.texi (Insns): Fix 2 typos. | |
8544 | ||
5d22c1a5 JM |
8545 | 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
8546 | ||
8547 | * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V | |
8548 | options. Use @table @gcctabopt for MMIX options. Add index | |
8549 | entries for MMIX options. Start new paragraph with first | |
8550 | heading of the machine-dependent options. | |
8551 | ||
3e92902c CR |
8552 | 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> |
8553 | ||
8554 | PR other/5299 | |
8555 | * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments. | |
8556 | * combine.c (force_to_mode): Same. | |
8557 | * reload1.c (clear_reload_reg_in_use): Same. | |
8558 | ||
96ae8197 NC |
8559 | 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com> |
8560 | ||
8561 | * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder' | |
8562 | and 'subtargets'. | |
8563 | ||
9b780582 AJ |
8564 | 2002-01-11 Andreas Jaeger <aj@suse.de>, |
8565 | Brad Lucier <lucier@math.purdue.edu> | |
8566 | ||
8567 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong | |
8568 | mcpu. | |
8569 | ||
12300dad DR |
8570 | Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com> |
8571 | ||
8572 | * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. | |
8573 | Protect with IN_LIBGCC. | |
8574 | (LINK_EH_SPEC): Add required trailing space. | |
8575 | ||
27511a9a NP |
8576 | Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it> |
8577 | ||
9b780582 | 8578 | * c-tree.h: Move function declarations so that they are listed |
27511a9a NP |
8579 | under the filename which contains them. |
8580 | (check_identifier, finish_decl_top_level, | |
8581 | lookup_name_current_level_global, shadow_record_fields): Remove. | |
8582 | ||
4daeab16 AJ |
8583 | 2002-01-11 Andreas Jaeger <aj@suse.de> |
8584 | ||
8585 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated | |
8586 | march. | |
8587 | ||
40571d67 RH |
8588 | 2002-01-10 Richard Henderson <rth@redhat.com> |
8589 | ||
8590 | * config/alpha/alpha.c (print_operand): Add 'J'. | |
8591 | * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a | |
8592 | new operand with the sequence number for the lituse. When splitting | |
8593 | the insns, use gen_movdi_er_high_g and generate a sequence number. | |
8594 | (gen_movdi_er_high_g): Print the sequence number if non-zero. | |
8595 | ||
6525c0e7 AH |
8596 | 2002-01-10 Aldy Hernandez <aldyh@redhat.com> |
8597 | ||
d8086cbb RS |
8598 | * config/rs6000/rs6000.c (altivec_init_builtins): Add support for |
8599 | lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, | |
8600 | stvxl. | |
8601 | (altivec_expand_builtin): Same. | |
8602 | (altivec_expand_stv_builtin): New. | |
8603 | ||
8604 | * config/rs6000/rs6000.h (rs6000_builtins): Same. | |
8605 | ||
8606 | * config/rs6000/rs6000.md ("altivec_lvebx"): New. | |
8607 | ("altivec_lvehx"): New. | |
8608 | ("altivec_lvewx"): New. | |
8609 | ("altivec_lvxl"): New. | |
8610 | ("altivec_lvx"): New. | |
8611 | ("altivec_stvx"): New. | |
8612 | ("altivec_stvebx"): New. | |
8613 | ("altivec_stvehx"): New. | |
8614 | ("altivec_stvewx"): New. | |
8615 | ("altivec_stvxl"): New. | |
6525c0e7 | 8616 | |
cda94cbb RH |
8617 | 2002-01-10 Richard Henderson <rth@redhat.com> |
8618 | ||
8619 | * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet. | |
8620 | * reload1.c (delete_output_reload): Zap spill_reg_store. Take | |
8621 | care not to delete instructions twice. | |
8622 | ||
df2c9a44 ZW |
8623 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
8624 | ||
8625 | * toplev.c: Don't declare environ (it's not used anywhere). | |
8626 | * configure.in: Don't check for declaration of environ. | |
8627 | * config/i386/xm-mingw32.h: Don't #define environ. | |
8628 | * config.in, configure: Regenerate. | |
8629 | ||
5dd8a9b1 ZW |
8630 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
8631 | ||
8632 | * configure.in: Set stage1_cflags for powerpc-*-darwin*. | |
8633 | * configure: Regenerate. | |
8634 | ||
8635 | * config/interix.h: Set DO_GLOBAL_CTORS_BODY and | |
8636 | DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. | |
8637 | * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in | |
8638 | alpha/xm-vms.h. | |
8639 | * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and | |
8640 | LIMITS_H_TEST here, not in m68k/x-next. | |
8641 | * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and | |
8642 | SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. | |
8643 | ||
8644 | * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, | |
8645 | LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. | |
8646 | * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. | |
8647 | ||
8648 | * config/i386/x-djgpp: Renamed i386/t-djgpp. | |
8649 | * config/m88k/x-dolph: Renamed m88k/t-dolph. | |
8650 | * config/m88k/x-texXD88: Renamed m88k/t-texXD88. | |
8651 | * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for | |
8652 | replacement of quadlib.asm with quadlib.c. | |
8653 | ||
8654 | * config/x-interix3, config/xm-interix.h, config/i386/x-beos, | |
8655 | config/i386/xm-osf1elf.h, config/rs6000/x-darwin, | |
8656 | config/rs6000/xm-beos.h: Delete file. | |
8657 | ||
8658 | * config.gcc: Update to match above changes. | |
8659 | ||
d10dd44c KH |
8660 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
8661 | ||
8662 | * config/h8300/h8300.h: Fix comment typos. | |
8663 | * config/h8300/h8300.md: Likewise. | |
8664 | * config/h8300/lib1funcs.asm: Likewise. | |
8665 | ||
04894c5a DJ |
8666 | 2002-01-10 Dale Johannesen <dalej@apple.com> |
8667 | ||
8668 | PR optimization/5269 | |
8669 | * unroll.c (precondition_loop_p): Make *increment be the correct | |
8670 | sign when n_iterations known, to avoid confusing caller. | |
8671 | ||
adc9fe67 KH |
8672 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
8673 | ||
8674 | * doc/extend.texi (deprecated): Fix a typo. | |
8675 | ||
b446e5a2 JH |
8676 | Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz> |
8677 | ||
8678 | * basic-block.h (update_br_prob_note): Declare. | |
8679 | * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. | |
8680 | (try_forward_edges): Care negative frequencies and update note. | |
8681 | (outgoing_edges_match): Tweek conditional merging heuristics. | |
8682 | (try_crossjump_to_edge): use update_br_prob_note. | |
8683 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
8684 | * cfrtl.c (update_br_prob_note): New. | |
8685 | * ifcvt.c (dead_or_predicable): Call update_br_prob_note. | |
8686 | ||
8687 | * i386.c (ix86_decompose_address): Return -1 if address contains | |
8688 | shift. | |
8689 | (legitimate_address_p): Require ix86_decompose_address to return 1. | |
8690 | ||
8691 | * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. | |
8692 | (cprop_insn): Likewise. | |
8693 | ||
a01da83b KH |
8694 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
8695 | ||
8696 | * toplev.c: Fix formatting. | |
8697 | * tree.c: Likewise. | |
8698 | * tree-dump.c: Likewise. | |
8699 | * unroll.c: Likewise. | |
8700 | * unwind-dw2.c: Likewise. | |
8701 | * unwind-dw2-fde.c: Likewise. | |
8702 | * unwind-dw2-fde-glibc.c: Likewise. | |
8703 | * unwind-sjlj.c: Likewise. | |
8704 | ||
9f85bca7 JM |
8705 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
8706 | ||
8707 | * doc/invoke.texi: Document PDP-11 options. | |
8708 | ||
f48f56b1 KH |
8709 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
8710 | ||
8711 | * config/h8300/h8300.h: Fix formatting. | |
8712 | ||
ead39bdf | 8713 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
8714 | |
8715 | Add __attribute__ ((deprecated)). | |
8716 | * extend.texi: Document __attribute__ ((deprecated)). | |
8717 | * invoke.texi: Document -Wno-deprecated-declarations. | |
8718 | * testsuite/g++.dg/other/deprecated.C: New C++ test. | |
8719 | * testsuite/gcc.dg/deprecated.c: New C test. | |
8720 | * attribs.c (enum attrs): Declare handle_deprecated_attribute(). | |
8721 | (c_common_attribute_table): Add "deprecated" entry. | |
8722 | (handle_deprecated_attribute): New function. | |
8723 | * c-decl.c (deprecated_states): New enum. | |
8724 | deprecated_state: State of "deprecated" handling. | |
8725 | (start_decl): Set deprecated_state based on attributes. | |
8726 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
8727 | * c-typeck.c (build_component_ref): Test for deprecated fields. | |
8728 | (build_external_ref): Test for deprecated primaries. | |
8729 | * diagnostic.c (warn_deprecated_use) New function to issue | |
8730 | warnings about __attribute__ ((depricated)) references. | |
8731 | * flags.h (warn_deprecated_decl): Extern declared for | |
8732 | -W[no-]deprecated-declarations option. | |
8733 | * print-tree.c (print_node): Show deprecated flag status. | |
8734 | * toplev.c (warn_deprecated_decl): Defined. | |
8735 | (W_options): Added "deprecated-declaration". | |
8736 | * toplev.h (warn_deprecated_use): Extern declared. | |
8737 | * tree.h (struct tree_common): Define deprecated_flag. | |
8738 | (TREE_DEPRECATED): New macro to access flag. | |
8739 | * cp/call.c (build_call): Test for deprecated calls. | |
8740 | * cp/class.c (add_implicitly_declared_members): Set global | |
8741 | flag to tell grokdeclarator to not issue deprecated warnings. | |
8742 | * cp/cp-tree.h: Add extern for adding_implicit_members. | |
8743 | * cp/decl.c (deprecated_states): New enum. | |
8744 | (start_decl): Set deprecated_state based on attributes. | |
8745 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
8746 | * cp/lex.c (do_identifier): Test for deprecated primaries. | |
8747 | * cp/typeck.c (build_component_ref): Test for deprecated fields. | |
8748 | ||
ead39bdf | 8749 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
8750 | |
8751 | Fix to assign attributes to inline member functions. | |
8752 | * cp/decl.c (start_method): Handle attrlist. | |
8753 | ||
47073a38 KH |
8754 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
8755 | ||
8756 | * combine.c (expand_field_assignment): Use subreg_lsb(). | |
8757 | ||
d288e53d DE |
8758 | 2002-01-10 David Edelsohn <edelsohn@gnu.org> |
8759 | ||
8760 | * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, | |
8761 | POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. | |
8762 | (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. | |
8763 | Recurse for any operand of AND as long as constant is non-zero. | |
8764 | ||
08a02ffa KH |
8765 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
8766 | ||
8767 | * config/h8300/h8300.md: Remove constraints from expanders. | |
8768 | ||
c203e7fe KH |
8769 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
8770 | ||
8771 | * varasm.c: Fix formatting. | |
8772 | * varray.c: Likewise. | |
8773 | * vmsdbgout.c: Likewise. | |
8774 | * xcoffout.c: Likewise. | |
8775 | ||
bcb3bc6d JH |
8776 | Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz> |
8777 | ||
8778 | * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; | |
cda94cbb | 8779 | update edge probabilities to match. |
bcb3bc6d | 8780 | |
0a553c7e JM |
8781 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
8782 | ||
8783 | * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional | |
8784 | dependencies. | |
8785 | * doc/languages.texi, doc/sourcebuild.texi: New files. | |
8786 | * doc/configfiles.texi: Make a subsubsection. Update. | |
8787 | * doc/configterms.texi: Add @node. Remove warning that this isn't | |
8788 | instructions for building GCC. | |
8789 | * doc/makefile.texi: Make a subsection. | |
8790 | * doc/gccint.texi: Update. | |
8791 | ||
adc7fcb8 JH |
8792 | Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz> |
8793 | ||
8794 | * i386.md (sse_mov?fcc_const0_?): Fix constraints. | |
8795 | ||
5a4dd0b3 NP |
8796 | Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it> |
8797 | ||
8798 | * doc/cpp.texi: Document the __OBJC__ preprocessor macro. | |
8799 | ||
3987b9db JH |
8800 | Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz> |
8801 | ||
8802 | * optabs.c (expand_fix): Look for wider integer modes first. | |
8803 | ||
8804 | * i386.md (mov?f): Avoid the fake const double trick for medium | |
8805 | memory model. | |
8806 | (min?f*/max?f*): Prohibit memory operands for i387 variant. | |
8807 | (fop_df_4): Disable for SSE compilation. | |
8808 | ||
ceb15948 | 8809 | 2002-01-10 Graham Stott <grahams@redhat.com> |
117f9d28 GS |
8810 | |
8811 | * dwarf2out.c (indirect_string_alloc, output_indirect_string): | |
cda94cbb | 8812 | Move prototype into DWARF2_DEBUGGING_INFO conditional block. |
117f9d28 | 8813 | |
e1623399 RH |
8814 | 2002-01-10 Richard Henderson <rth@redhat.com> |
8815 | ||
8816 | * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. | |
8817 | ||
c4abb293 RH |
8818 | 2002-01-10 Richard Henderson <rth@redhat.com> |
8819 | ||
8820 | * regrename.c (find_oldest_value_reg): Fix typo in mode change check. | |
8821 | (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok. | |
8822 | ||
d2604ae9 KH |
8823 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
8824 | ||
8825 | * combine.c (can_combine_p): Fix a comment typo. | |
8826 | ||
766c7ad1 ZW |
8827 | 2002-01-09 Zack Weinberg <zack@codesourcery.com> |
8828 | ||
8829 | * Makefile.in (s-gencheck, s-options, s-specs): Handle an | |
8830 | empty list correctly. Change loop index $t to $f for | |
8831 | consistency with rest of Makefile. | |
8832 | ||
95385cbb AH |
8833 | 2002-01-08 Aldy Hernandez <aldyh@redhat.com> |
8834 | ||
8835 | * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, | |
8836 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
8837 | ||
8838 | * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for | |
8839 | mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt. | |
8840 | (altivec_init_builtins): Same. | |
8841 | (altivec_expand_unop_builtin): Return NULL_RTX on error. | |
8842 | (altivec_expand_binop_builtin): Same. | |
8843 | (altivec_expand_ternop_builtin): Same. | |
8844 | (bdesc_dst): New. | |
8845 | ||
8846 | * config/rs6000/rs6000.md ("altivec_mtvscr"): New. | |
8847 | ("altivec_vctuxs"): Fix typo. | |
8848 | ("altivec_vnmsubfp"): Same. | |
8849 | ("altivec_dssall"): New. | |
8850 | ("altivec_mfvscr"): New. | |
8851 | ("altivec_dss"): New. | |
8852 | ("altivec_lvsl"): New. | |
8853 | ("altivec_lvsr"): New. | |
8854 | ("altivec_dstt"): New. | |
8855 | ("altivec_dstst"): New. | |
8856 | ("altivec_dststt"): New. | |
8857 | ("altivec_dst"): New. | |
8858 | ||
8859 | * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall, | |
8860 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
8861 | ||
e4ac76b4 RH |
8862 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8863 | ||
8864 | * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. | |
8865 | ||
c893e4a4 HPN |
8866 | 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com> |
8867 | ||
8868 | * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused | |
8869 | function. | |
8870 | * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't | |
8871 | prototype. | |
7387c700 | 8872 | * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro. |
c893e4a4 | 8873 | |
f4f4d0f8 KH |
8874 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
8875 | ||
8876 | * read-rtl.c: Fix formatting. | |
8877 | * real.c: Likewise. | |
8878 | * regclass.c: Likewise. | |
8879 | * regrename.c: Likewise. | |
8880 | * reg-stack.c: Likewise. | |
8881 | * reload1.c: Likewise. | |
8882 | * reload.c: Likewise. | |
8883 | * rtl.c: Likewise. | |
8884 | ||
cc863bea KH |
8885 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
8886 | ||
8887 | * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST | |
8888 | to extract items in the expr_list chain. | |
8889 | ||
7b4dfe3d RH |
8890 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8891 | ||
8892 | * config/vax/vax.c (vax_rtx_cost): Never abort. | |
8893 | ||
1d969638 RH |
8894 | * config/vax/vax.h (REAL_ARITHMETIC): Define. |
8895 | ||
7d5ab30e JH |
8896 | 2002-01-09 Jan Hubicka <jh@suse.cz> |
8897 | ||
8898 | * gcse.c (cprop_jump): Delete insn if simplified jump is no-op. | |
8899 | ||
9503f3d1 RH |
8900 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8901 | ||
8902 | * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode. | |
8903 | Unify code from various alternatives. | |
8904 | ||
42bd17b7 RH |
8905 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8906 | ||
8907 | * regrename.c (copy_value): Ignore the copy if the source register | |
8908 | is present in the value chain with a narrower mode. | |
8909 | ||
bdca3c33 HB |
8910 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8911 | ||
cda94cbb RH |
8912 | * real.c (c4xtoe, toc4x): Do some special conversion on long doubles |
8913 | for the c4x target. Also improve layout. | |
bdca3c33 | 8914 | |
c73a5e94 RH |
8915 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8916 | ||
8917 | * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test. | |
8918 | * config/m32r/m32r.md (and ior xor splitters): Swap operands | |
8919 | to match insn patterns. | |
8920 | ||
dd0a18c0 RH |
8921 | 2002-01-09 Richard Henderson <rth@redhat.com> |
8922 | ||
8923 | * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG. | |
8924 | (copyprop_hardreg_forward_1): Likewise. | |
8925 | ||
1fd9ac1e JDA |
8926 | 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8927 | ||
8928 | * pa.md (decrement_and_branch_until_zero): Change predicate for | |
8929 | operand 0 from register_operand to reg_or_nonsymb_mem_operand. | |
8930 | ||
5cb265ec BM |
8931 | 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
8932 | ||
8933 | * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ | |
8934 | gets undefined. For Darwin. | |
8935 | ||
fcd8fa8b HB |
8936 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
8937 | ||
8938 | * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. | |
8939 | ||
bd3ab23a MH |
8940 | 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
8941 | ||
8942 | * config/c4x/c4x/md: Remove extraneous constraints from define_splits. | |
8943 | ||
21e16bd6 RH |
8944 | 2002-01-08 Richard Henderson <rth@redhat.com> |
8945 | ||
8946 | * regrename.c (copy_value): Ignore overlapping copies. | |
8947 | ||
a5376276 RH |
8948 | 2002-01-08 Richard Henderson <rth@redhat.com> |
8949 | ||
8950 | * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx | |
8951 | as needed to avoid shared structure. | |
8952 | ||
18cf8dda KH |
8953 | 2002-01-08 Kazu Hirata <kazu@hxi.com> |
8954 | ||
8955 | * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on | |
8956 | H8/300H and H8/S. | |
8957 | ||
16c484c7 JM |
8958 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
8959 | ||
8960 | * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, | |
8961 | LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove | |
8962 | documentation of obsolete macros. | |
8963 | * system.h: Poison these macros. | |
8964 | * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, | |
8965 | config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, | |
8966 | config/c4x/c4x.h, config/clipper/clipper.h, | |
8967 | config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, | |
8968 | config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, | |
8969 | config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, | |
8970 | config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, | |
8971 | config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
8972 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
8973 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
8974 | config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, | |
8975 | config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, | |
8976 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
8977 | config/sparc/sparc.h, config/stormy16/stormy16.h, | |
8978 | config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove | |
8979 | definitions and commented out definitions of obsolete macros. | |
8980 | * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms | |
8981 | of MAX_INT_TYPE_SIZE. | |
8982 | ||
14b3e8ef UW |
8983 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
8984 | ||
8985 | * config/s390/s390.c (s390_preferred_reload_class): Never | |
8986 | return ADDR_REGS if it isn't a subset of the given class. | |
8987 | * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just | |
8988 | FP_REGS, but all superclasses as well. | |
8989 | ||
8990 | * config/s390/s390.c (s390_function_profiler): Fix thinko. | |
8991 | ||
8992 | * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, | |
8993 | cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare | |
8994 | must not be a const_int. | |
8995 | ||
a693284d RH |
8996 | 2002-01-08 Richard Henderson <rth@redhat.com> |
8997 | ||
8998 | * Makefile.in (toplev.o): Depend on options.h. | |
8999 | (gcc.o): Depend on specs.h. | |
9000 | ||
b3ca30df JJ |
9001 | 2002-01-08 Jakub Jelinek <jakub@redhat.com> |
9002 | ||
9003 | * expr.c (store_expr): Convert VOIDmode constants back to target's | |
9004 | mode. | |
9005 | ||
24dbb440 GP |
9006 | 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
9007 | ||
9008 | * doc/invoke.texi: Markup gcc as @command. Refer to | |
9009 | http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead | |
9010 | of http://gcc.gnu.org/thanks.html. | |
9011 | ||
234e114c DJ |
9012 | 2002-01-08 Dale Johannesen <dalej@apple.com> |
9013 | ||
9014 | * config/rs6000/rs6000.md: Add missing int register | |
9015 | target case to movdf_low. | |
9016 | ||
0d24f4d1 ZW |
9017 | 2002-01-08 Zack Weinberg <zack@codesourcery.com> |
9018 | ||
9019 | * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or | |
9020 | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. | |
9021 | (cppinit.o): Depend on except.h. | |
9022 | (gencheck.h, options.h, specs.h, s-gencheck, s-options, | |
9023 | s-specs): New rules. | |
9024 | ||
9025 | * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. | |
9026 | Don't create specs.h/options.h/gencheck.h here. Remove | |
9027 | unnecessary variable settings from last argument of AC_OUTPUT. | |
9028 | * config.in, configure: Regenerate. | |
9029 | * intl.c: Hardcode package name as "gcc". | |
9030 | ||
9031 | * cppinit.c: Include except.h. | |
9032 | (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when | |
9033 | appropriate. | |
9034 | * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: | |
9035 | Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if | |
9036 | (!)USING_SJLJ_EXCEPTIONS. | |
9037 | * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. | |
9038 | ||
ed722f66 JM |
9039 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
9040 | ||
9041 | * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, | |
9042 | ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, | |
9043 | OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove | |
9044 | documentation of obsolete macros. | |
9045 | * system.h: Poison these macros. | |
9046 | * config/d30v/d30v.h, config/ns32k/encore.h, | |
9047 | config/stormy16/stormy16.h: Remove definitions and commented out | |
9048 | definitions of obsolete macros. | |
9049 | ||
31e5e29a NP |
9050 | Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> |
9051 | ||
9052 | * objc/objc-act.c (handle_class_ref): Mark the declaration of | |
9053 | %sobjc_class_ref_%s as used - to prevent unwanted compiler | |
9054 | warnings. | |
9055 | ||
bc1fa59c UW |
9056 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
9057 | ||
9058 | * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. | |
9059 | * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR | |
9060 | to insn adjusting stack/frame pointer. | |
0d24f4d1 | 9061 | * config/s390/s390.md (reload_la_64, reload_la_31): Do not |
bc1fa59c UW |
9062 | accept operands that cause the insn to be non-splittable. |
9063 | ||
a8086abf GS |
9064 | 2002-01-08 Graham Stott <grahams@redhat.com> |
9065 | ||
9066 | * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. | |
9067 | (C_TYPE_FIELDS_VOLATILE): Likewise. | |
9068 | (C_TYPE_BEING_DEFINED): Likewise. | |
9069 | (C_IS_RESERVED_WORD): Likewise. | |
9070 | (C_TYPE_VARIABLE_SIZE): Likewise. | |
9071 | (C_DECL_VARIABLE_SIZE): Likewise. | |
9072 | (C_MISSING_PROTOTYPE_WARNED): Likewise. | |
9073 | (C_SET_EXP_ORIGINAL_CODE): Likewise. | |
9074 | (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove | |
9075 | parenthesis. | |
9076 | (C_DECL_ANTICIPATED): Likewise. | |
9077 | (c_build_type_variant): Add parenthesis. | |
9078 | ||
3f595aa1 JM |
9079 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
9080 | ||
9081 | * gcc.c (option_map): Remove --version. | |
9082 | (process_command): Handle -fversion following the GNU Coding | |
9083 | Standards. Partially addresses PR other/704. | |
9084 | ||
5bc5a8f9 GS |
9085 | 2002-01-08 Graham Stott <grahams@redhat.com> |
9086 | ||
9087 | * combine.c (combine_instructions): Fix typo. | |
9088 | ||
16ec4ebf GS |
9089 | 2002-01-08 Graham Stott <grahams@redhat.com> |
9090 | ||
9091 | * debug.h: Use "tree" and "rtx" throughout. | |
9092 | ||
9093 | * debug.c: Likewise. | |
9094 | ||
4b69f385 NC |
9095 | 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com> |
9096 | ||
9097 | * dbxout.c (dbxout_symbol_location): If a symbol ref is in the | |
9098 | constant pool, use the pool's version of the symbol instead. | |
9099 | ||
57d1019b RH |
9100 | 2002-01-07 Richard Henderson <rth@redhat.com> |
9101 | ||
9102 | * regrename.c (find_oldest_value_reg): Ignore the value chain if | |
9103 | the original register was copied in a mode with a fewer number of | |
9104 | hard registers than the desired mode. | |
9105 | (copyprop_hardreg_forward_1): Likewise. | |
9106 | (debug_value_data): Fix loop test. | |
9107 | * toplev.c (parse_options_and_default_flags): Reenable | |
9108 | -fcprop-registers at -O1. | |
9109 | ||
9110 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> | |
fa066a23 | 9111 | |
0d24f4d1 ZW |
9112 | * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. |
9113 | (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. | |
fa066a23 | 9114 | |
0d24f4d1 ZW |
9115 | * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec |
9116 | predicates. | |
fa066a23 | 9117 | |
0d24f4d1 | 9118 | * config/rs6000/rs6000.md: Add altivec predicate patterns. |
fa066a23 | 9119 | |
8f949e7e JDA |
9120 | 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9121 | ||
9122 | * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. | |
9123 | (pa_output_function_prologue): Output local label at the beginning of | |
9124 | the prologue when profiling. | |
9125 | (hppa_profile_hook): Use the local label rather than the function label. | |
9126 | * pa.h (PROFILE_BEFORE_PROLOGUE): Define. | |
9127 | ||
c62f2db5 AH |
9128 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
9129 | ||
0d24f4d1 ZW |
9130 | * config/rs6000/rs6000.c (print_operand): Remove extra space. |
9131 | (altivec_expand_unop_builtin): Fix thinko. | |
9132 | (altivec_expand_binop_builtin): Same. | |
9133 | (altivec_expand_ternop_builtin): Same. | |
9134 | (altivec_expand_builtin): Same. | |
c62f2db5 | 9135 | |
b5235ba7 RH |
9136 | 2002-01-07 Richard Henderson <rth@redhat.com> |
9137 | ||
9138 | * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag. | |
9139 | ||
7d8ac293 JM |
9140 | 2002-01-07 Jason Merrill <jason@redhat.com> |
9141 | ||
9142 | * unwind-dw2.c (execute_cfa_program): Use < again. | |
9143 | ||
571a03b8 JJ |
9144 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
9145 | ||
9146 | * predict.c (combine_predictions_for_insn): Avoid division by zero. | |
9147 | ||
2e951384 JJ |
9148 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
9149 | ||
9150 | * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT. | |
9151 | Don't allow -1 - x -> ~x simplifications in the first pass. | |
9152 | ||
20e26713 AH |
9153 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
9154 | ||
0d24f4d1 ZW |
9155 | * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid |
9156 | arguments. | |
9157 | (altivec_expand_binop_builtin): Same. | |
9158 | (altivec_expand_unop_builtin): Same. | |
9159 | (print_operand): Fix typo. | |
9160 | (bdesc_1arg): Add vupk* variants. | |
20e26713 | 9161 | |
0d24f4d1 | 9162 | * rs6000.h (rs6000_builtins): Add vupk* enums. |
20e26713 | 9163 | |
0d24f4d1 | 9164 | * rs6000.md: Add altivec_vupk* variants. |
20e26713 | 9165 | |
4dd57c18 JM |
9166 | 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
9167 | ||
9168 | * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi, | |
9169 | doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright | |
9170 | and last update dates. | |
9171 | ||
0341c5d2 JJ |
9172 | 2002-01-07 Janis Johnson <janis187@us.ibm.com> |
9173 | ||
9174 | * doc/rtl.texi (Flags): Clean up documentation of RTL flags | |
9175 | ||
c7f3e0b0 MM |
9176 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
9177 | ||
9178 | * config/avr/avr.c (avr_mcu_types): Add new MCU types. | |
9179 | * config/avr/avr.h (CPP_SPEC): Likewise. | |
9180 | (LINK_SPEC): Likewise. | |
9181 | (CRT_BINUTILS_SPECS): Likewise. | |
9182 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
9183 | * doc/invoke.texi (AVR Options): Document them. | |
9184 | ||
6ba4d630 JH |
9185 | Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz> |
9186 | ||
9187 | * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and | |
9188 | LABEL_NUSES. | |
9189 | ||
6253d571 GS |
9190 | 2002-01-07 Graham Stott <grahams@redhat.com> |
9191 | ||
0d24f4d1 ZW |
9192 | * config/i386/i386.h: Update copyright date. |
9193 | (HALF_PIC_PTR): Add parenthesis. | |
9194 | (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap. | |
9195 | (CONSTANT_ALIGNMENT): Add parenthesis. | |
9196 | (DATA_ALIGNMENT): Likewise. | |
9197 | (LOCAL_ALIGNMENT): Likewise. | |
9198 | (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap. | |
9199 | (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap. | |
9200 | (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0). | |
9201 | (HARD_REGNO_NREGS): Add paranethesis. | |
9202 | (VALID_SSE_REG_MODE): Whitespace. | |
9203 | (VALID_MMX_REG_MODE): Whitespace. | |
9204 | (VALID_FP_MODE_P): Uppercase macros parameter and whitespace. | |
9205 | (ix86_hard_regno_mode_ok): Add parenthesis. | |
9206 | (HARD_REGNO_CALLER_SAVE_MODE): Whitespace. | |
9207 | (RETURN_IN_MEMORY): Whitespace. | |
9208 | (N_REG_CLASSES): Add parenthesis. | |
9209 | (INTEGER_CLASS_P): Add parenthesis and wrap. | |
9210 | (FLOAT_CLASS_P): Likewise. | |
9211 | (SSE_CLASS_P): Likewise. | |
9212 | (MMX_CLASS_P): Likewise. | |
9213 | (MAYBE_INTEGER_CLASS_P): Likewise. | |
9214 | (MAYBE_FLOAT_CLASS_P): Likewise. | |
9215 | (MAYBE_SSE_CLASS_P): Likewise. | |
9216 | (MAYBE_MMX_CLASS_P): Likewise. | |
9217 | (Q_CLASS_P): Likewise. | |
9218 | (GENERAL_REGNO_P): Uppercase macro parameter. | |
9219 | (REX_INT_REGNO_P): Uppercase macro parameter and wrap. | |
9220 | (FP_REGNO_P): Likewise. | |
9221 | (ANY_FP_REGNO_P): Uppercase macro parameter. | |
9222 | (SSE_REGNO_P): Likewise. | |
9223 | (SSE_REGNO): Likewise. | |
9224 | (SSE_REG_P): Likewise. | |
9225 | (SSE_FLOAT_MODE_P): Likewise. | |
9226 | (MMX_REGNO_P): Likewise. | |
9227 | (MMX_REG_P):Likewise. | |
9228 | (STACK_REG_P): Likewise. | |
9229 | (NON_STACK_REG_P): Likewise. | |
9230 | (STACK_TOP_P): Likewise. | |
9231 | (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis. | |
9232 | (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace. | |
9233 | (SECONDARY_MEMORY_NEEDED): Likewise. | |
9234 | (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace. | |
9235 | (MD_ASM_CLOBBERS): Whitespace and wrap. | |
9236 | (MUST_PASS_IN_STACK): Whitespace and wrap. | |
9237 | (RETURN_POPS_ARGS): Add parenthesis. | |
9238 | (INIT_CUMULATIVE_ARGS): Likewise. | |
9239 | (FUNCTION_ARG): Likewise. | |
9240 | (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace. | |
9241 | (SETUP_INCOMING_VARARGS): Likewise. | |
9242 | (BUILD_VA_LIST_TYPE): Add parenthesis. | |
9243 | (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add | |
9244 | parenthsis. | |
9245 | (EXPAND_BUILTIN_VA_ARG): Likewise. | |
9246 | (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis. | |
9247 | (INITIALIZE_TRAMPOLINE): Add parenthesis. | |
9248 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
9249 | (REGNO_OK_FOR_INDEX_P): Add parenthesis. | |
9250 | (REGNO_OK_FOR_BASE_P): Likewise. | |
9251 | (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap. | |
9252 | (REGNO_OK_FOR_DIREG_P): Likewise. | |
9253 | (REG_OK_FOR_INDEX_P): Whitespace. | |
9254 | (REG_OK_FOR_BASE_P): Whitespace. | |
9255 | (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add | |
9256 | parenthesis. | |
9257 | (FIND_BASE_TERM): Fix typo. | |
9258 | (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis. | |
9259 | (REWRITE_ADDRESS): Uppercase macro parameter and whitespace. | |
9260 | (SYMBOLIC_CONST; Whitespace. | |
9261 | (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap. | |
9262 | (ENCODE_SECTION_INFO): Whitespace. | |
9263 | (FINALIZE_PIC): Remove do { ... } while (0). | |
9264 | (PROMOTE_MODE): Wrap in do { ... } while (0). | |
9265 | (CONST_COSTS): Whitespace. | |
9266 | (RTX_COSTS): Add paramethesis, whitespace and wrap. | |
9267 | (REGISTER_MOVE_COST): Add parenthesis. | |
9268 | (MEMORY_MOVE_COST): Likewise. | |
9269 | (EXTRA_CC_MODES): Whitespace. | |
9270 | (SELECT_CC_MODE): Add parenthesis and whitespace. | |
9271 | (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis. | |
9272 | (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace. | |
9273 | (ASM_OUTPUT_LABEL): Add paramethesis. | |
9274 | (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace. | |
9275 | (ASM_OUTPUT_REG_POP): Likewise. | |
9276 | (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis. | |
9277 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
d9a5f180 | 9278 | |
07933f72 GS |
9279 | * config/i386/i386.c: Update copyright. |
9280 | (CHECK_STACK_LIMIT): Add parenthesis. | |
9281 | (AT_BP): Uppercase macro parameter. | |
9282 | (x86_64_int_parameter_registers): Constify. | |
9283 | (x86_64_int_return_registers): Likewise. | |
9284 | (ix86_compare_op0): Use rtx. | |
9285 | (construct_container): Constify INTREG parameter. | |
9286 | (function_arg): Use rtx. | |
9287 | ||
0b4d32c9 GS |
9288 | * diagnostic.h: Update copyright date. |
9289 | (output_buffer_state): Add parenthesis. | |
9290 | (output_buffer_format_args): Likewise. | |
9291 | ||
6253d571 GS |
9292 | * combine.c (combine_instructions): Replace XEXP (links, 0) |
9293 | with link. | |
9294 | ||
68f3f6f1 L |
9295 | 2002-01-06 H.J. Lu <hjl@gnu.org> |
9296 | ||
9297 | * cfgcleanup.c (thread_jump): Fix 2 typos. | |
9298 | ||
9299 | 2002-01-06 Aldy Hernandez <aldyh@redhat.com> | |
480f7f3a | 9300 | |
0d24f4d1 | 9301 | * config.gcc: Add support for --enable-altivec. |
480f7f3a | 9302 | |
13b8c631 CR |
9303 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
9304 | ||
9305 | * emit-rtl.c (gen_highpart): Add check for NULL_RTX. | |
9306 | ||
58ad89b1 JJ |
9307 | 2002-01-06 Jakub Jelinek <jakub@redhat.com> |
9308 | ||
9309 | * objc/objc-act.c (handle_impent): Use assemble_variable to emit | |
9310 | __objc_class_name_*. | |
9311 | ||
e403b4bc CR |
9312 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
9313 | ||
9314 | * doc/install.texi (sparcv9-*-solaris2*): Add documentation. | |
9315 | ||
e41c7831 RH |
9316 | 2002-01-06 Richard Henderson <rth@redhat.com> |
9317 | ||
9318 | * reorg.c (emit_delay_sequence): Remove death notes, not merely | |
9319 | nop them out. Increment label reference count for REG_LABEL. | |
9320 | (fill_slots_from_thread): Frob label reference count around | |
9321 | delete_related_insns. | |
9322 | ||
3b3b1e32 RH |
9323 | 2002-01-05 Richard Henderson <rth@redhat.com> |
9324 | ||
9325 | * cfgcleanup.c (try_forward_edges): Detect infinite loops while | |
9326 | jump threading. | |
9327 | ||
c28abdf0 RH |
9328 | 2002-01-05 Richard Henderson <rth@redhat.com> |
9329 | ||
9330 | * c-decl.c (c_expand_body): Don't call outlining_inline_function. | |
9331 | * integrate.c (output_inline_function): Likewise. | |
9332 | * toplev.c (rest_of_compilation): Do it here instead. Move call | |
9333 | to remove_unnecessary_notes after emitting abstract instance. | |
9334 | Force an emitted nested function to have its parent emited as well. | |
9335 | * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking | |
9336 | for null. | |
9337 | (rtl_for_decl_location): Do not look at reload data structures | |
9338 | before reload has run. | |
9339 | ||
c4f2c499 KH |
9340 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
9341 | ||
9342 | * cse.c: Fix formatting. | |
9343 | * dwarf2asm.c: Likewise. | |
9344 | * dwarf2out.c: Likewise. | |
9345 | * explow.c: Likewise. | |
9346 | * expmed.c: Likewise. | |
9347 | * function.c: Likewise. | |
9348 | * gcov.c: Likewise. | |
9349 | * gencheck.c: Likewise. | |
9350 | * genrecog.c: Likewise. | |
9351 | * ggc-common.c: Likewise. | |
9352 | * ggc-page.c: Likewise. | |
9353 | * global.c: Likewise. | |
9354 | ||
cf0d9408 KH |
9355 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
9356 | ||
9357 | * combine.c: Fix formatting. | |
9358 | ||
bedca03a CR |
9359 | 2002-01-05 Craig Rodrigues <crodrigu@bbn.com> |
9360 | ||
9361 | PR middle-end/1557 | |
9362 | * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove. | |
9363 | ||
0134bf2d DE |
9364 | 2002-01-05 David Edelsohn <edelsohn@gnu.org> |
9365 | ||
9366 | * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define | |
9367 | as 1 for __powerpc64__ as well. | |
9368 | ||
9369 | * config/rs6000/t-aix43 (T_ADAFLAGS): Define. | |
9370 | ||
9371 | * alias.c (find_base_value, PLUS/MINUS): If we found a base, | |
9372 | return it. | |
9373 | ||
9ca88d5a DB |
9374 | 2002-01-05 Daniel Berlin <dan@dberlin.org> |
9375 | ||
9376 | * lcm.c: Revert change, due to performance regression it causes on | |
9377 | SPEC because it's slightly more conservative (sigh, I hate | |
9378 | edge-based LCM). | |
0d24f4d1 | 9379 | |
1c570418 JH |
9380 | Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz> |
9381 | ||
9382 | * cfgcleanup.c (try_forward_edges): Allow multiple jump threading. | |
9383 | ||
d83bb9f7 NB |
9384 | 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
9385 | ||
9386 | * doc/cppinternals.texi: Update. | |
9387 | ||
3e0f61ac HPN |
9388 | 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com> |
9389 | ||
9390 | * doc/invoke.texi (Option Summary) <MMIX Options>: Document | |
9391 | -mbranch-predict, -mreg-stack-fill-bug-workaround and their | |
9392 | negatives. | |
9393 | (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend. | |
9394 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework | |
9395 | kludge for pre-october-14th mmix versions to handle new-found bug | |
9396 | with PUSHJ/PUSHGO and the register stack. | |
9397 | * config/mmix/mmix.h (struct machine_function): Rename member | |
9398 | has_call_value_without_parameters to has_call_without_parameters. | |
9399 | All referers changed. | |
9400 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT | |
9401 | TARGET_MASK_BRANCH_PREDICT): New macros. | |
9402 | (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround, | |
9403 | -mno-reg-stack-fill-bug-workaround. | |
9404 | * config/mmix/mmix.md ("call"): Set struct machine member | |
9405 | has_call_without_parameters. | |
9406 | ||
4deaa2f8 JH |
9407 | Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz> |
9408 | ||
9409 | * cfgcleanup.c (thread_jump): Fix handling of reversed branches. | |
9410 | ||
9f16e871 JH |
9411 | Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz> |
9412 | ||
9413 | * cfgcleanup.c: Include tm_p.h | |
9414 | (mark_effect): Fix handling of hard register; fix handling of SET | |
9415 | ||
96eb1157 KH |
9416 | 2002-01-04 Kazu Hirata <kazu@hxi.com> |
9417 | ||
9418 | * config/h8300/h8300.md (anonymous patterns): Check that | |
9419 | operands are registers before using REGNO on them. | |
9420 | ||
48180d68 RM |
9421 | 2002-01-03 Roland McGrath <roland@frob.com> |
9422 | ||
9423 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu. | |
9424 | ||
b0832fe1 JJ |
9425 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
9426 | ||
9427 | * tree.h (expand_expr_stmt_value): Add maybe_last argument. | |
9428 | * c-common.h (genrtl_expr_stmt_value): Likewise. | |
9429 | * stmt.c (expand_expr_stmt): Pass 1 as maybe_last. | |
9430 | (expand_expr_stmt_value): Add maybe_last argument. | |
9431 | Don't warn about statement with no effect if it is the last statement | |
9432 | in expression statement. | |
9433 | * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last. | |
9434 | (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to | |
9435 | expand_expr_stmt_value. | |
9436 | (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to | |
9437 | genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope. | |
9438 | * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1 | |
9439 | as maybe_last to expand_expr_stmt_value. | |
9440 | ||
c1e14513 JL |
9441 | Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com) |
9442 | ||
0d24f4d1 ZW |
9443 | * c-common.c (c_expand_start_cond): Expect the IF_STMT node to |
9444 | be passed in, do not build it. | |
9445 | (c_begin_if_stmt): New function. | |
9446 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
9447 | * c-common.h (c_expand_start_cond): Update prototype. | |
9448 | (c_begin_if_stmt): Prototype new function. | |
9449 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
9450 | * c-parse.in (if_prefix): Use c_begin_if_stmt, | |
9451 | c_begin_while_stmt and c_finish_while_stmt_cond. | |
c1e14513 | 9452 | |
b6ec437a WC |
9453 | 2002-01-04 William Cohen <wcohen@redhat.com> |
9454 | ||
9455 | * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag. | |
9456 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
9457 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
9458 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
9459 | ||
ead39bdf | 9460 | 2002-01-04 Daniel Berlin <dan@cgsoftware.com> |
517b711f DB |
9461 | |
9462 | * lcm.c: Include df.h. | |
9463 | Add available_transfer_function prototype. | |
9464 | (compute_available): Rework to use iterative dataflow framework. | |
9465 | (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict | |
9466 | with bb_info in df.h | |
9467 | (available_transfer_function): New function. | |
9468 | ||
9469 | * Makefile.in (lcm.o): add df.h to dependencies. | |
9470 | ||
551cc6fd RH |
9471 | 2002-01-04 Richard Henderson <rth@redhat.com> |
9472 | ||
9473 | * config/alpha/alpha.c (some_operand): Accept HIGH. | |
9474 | (input_operand): Likewise; accept simple references to globals. | |
9475 | (alpha_const_ok_for_letter_p): New, outlined from alpha.h. | |
9476 | (alpha_const_double_ok_for_letter_p): Likewise. | |
9477 | (alpha_extra_constraint): Likewise. | |
9478 | (alpha_preferred_reload_class): Likewise. Do not force | |
9479 | symbolic constants to memory. | |
9480 | (alpha_legitimate_address_p): Accept simple references | |
9481 | to small_symbolic_operand. | |
9482 | (alpha_legitimize_address): New arg scratch. Be prepared to be | |
9483 | called when no_new_pseudos. Emit simple symbolic references. | |
9484 | Split integers into low, high, and rest. | |
9485 | (alpha_expand_mov): Use alpha_legitimize_address. | |
9486 | (some_small_symbolic_mem_operand): New. | |
9487 | (split_small_symbolic_mem_operand): New. | |
9488 | * config/alpha/alpha-protos.h: Update. | |
9489 | * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line. | |
9490 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
9491 | (EXTRA_CONSTRAINT): Likewise. | |
9492 | (PREFERRED_RELOAD_CLASS): Likewise. | |
9493 | (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change. | |
9494 | (PREDICATE_CODES): Update. | |
9495 | * config/alpha/alpha.md: New post-reload splitters to convert | |
9496 | simplfied symbolic operands to the form that references $29. | |
9497 | (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g. | |
9498 | (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand. | |
9499 | ||
1eaea054 RH |
9500 | 2002-01-03 Richard Henderson <rth@redhat.com> |
9501 | ||
9502 | * local-alloc.c (function_invariant_p): Update commentary. | |
9503 | ||
c4cc12b7 L |
9504 | 2002-01-04 H.J. Lu <hjl@gnu.org> |
9505 | ||
9506 | * toplev.c (rest_of_compilation): Fix a typo when calling | |
9507 | cleanup_cfg. | |
9508 | ||
173bf5be KH |
9509 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
9510 | ||
9511 | * c-common.c: Fix formatting. | |
9512 | * diagnostic.c: Likewise. | |
9513 | * doloop.c: Likewise. | |
9514 | * dwarf2out.c: Likewise. | |
9515 | ||
187462ac KH |
9516 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
9517 | ||
9518 | * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead | |
9519 | of 'neg.w' when xoring with 0x0000ffff or 0xffff0000. | |
9520 | ||
5d8ebbd8 NB |
9521 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
9522 | ||
9523 | * cpperror.c: Update comments and copyright. | |
9524 | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, | |
9525 | cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. | |
9526 | ||
518c1311 JDA |
9527 | 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9528 | ||
9529 | * collect2.c (main): Use strcmp when testing for "-shared". | |
9530 | ||
d15a58c0 NB |
9531 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
9532 | ||
9533 | * cppmacro.c: Don't include intl.h. Update comments. | |
9534 | (new_number_token): Allocate enough buffer for 64-bit unsigned | |
9535 | integers; update prototype. | |
9536 | * cppmain.c: Update comments. | |
9537 | ||
70f4f91c WC |
9538 | 2002-01-03 William Cohen <wcohen@redhat.com> |
9539 | ||
9540 | * function.h (struct function): Add profile. | |
9541 | (current_function_profile): New. | |
9542 | doc/extend.texi: Update documentation. | |
9543 | * final.c (final_start_function): Use current_function_profile | |
9544 | instead of profile_flag. | |
9545 | (profile_after_prologue): Likewise. | |
9546 | * function.c (expand_function_start): Likewise. | |
9547 | (expand_function_start): Likewise. | |
c4cc12b7 | 9548 | * config/alpha/alpha.c (direct_call_operand): |
70f4f91c WC |
9549 | (alpha_does_function_need_gp): Likewise. |
9550 | (alpha_expand_prologue): Likewise. | |
9551 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
9552 | thumb_expand_prologue: Likewise. | |
9553 | * config/d30v/d30v.c (d30v_stack_info): Likewise. | |
9554 | * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. | |
9555 | (fr30_expand_prologue): Likewise. | |
9556 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
9557 | * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. | |
9558 | * config/i386/i386.h (FINALIZE_PIC): Likewise. | |
9559 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
9560 | * config/i960/i960.c (i960_output_function_prologue): Likewise. | |
9561 | * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. | |
9562 | * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. | |
9563 | (m32r_expand_prologue): Likewise. | |
9564 | * config/m88k/m88k.c (m88k_layout_frame): Likewise. | |
9565 | (m88k_expand_prologue): Likewise. | |
9566 | * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. | |
9567 | * config/mips/mips.c (compute_frame_size): Likewise. | |
9568 | (mips_expand_prologue): Likewise. | |
9569 | (mips_can_use_return_insn): Likewise. | |
9570 | * config/pa/elf.h (ASM_FILE_START): Likewise. | |
9571 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
9572 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
9573 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
9574 | * config/romp/romp.c (romp_using_r14): Likewise. | |
9575 | * config/rs6000/rs6000.c (first_reg_to_save): Likewise. | |
9576 | (rs6000_stack_info): Likewise. | |
9577 | * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2fd17409 | 9578 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. |
70f4f91c WC |
9579 | * config/v850/v850.c (compute_register_save_size): Likewise. |
9580 | ||
cb1ac742 JJ |
9581 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
9582 | ||
9583 | * simplify-rtx.c (simplify_binary_operation) [DIV]: If | |
9584 | gen_lowpart_common fails, use gen_lowpart_SUBREG. | |
9585 | ||
61d951df | 9586 | 2002-01-03 Turly O'Connor <turly@apple.com> |
cb1ac742 | 9587 | |
61d951df TC |
9588 | * darwin.c (machopic_output_possible_stub_label): Don't generate |
9589 | stub routines for pseudo-stubs which we've just defined. | |
9590 | ||
505ddab6 KH |
9591 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
9592 | ||
9593 | * builtins.c: Fix formatting. | |
9594 | * c-typeck.c: Likewise. | |
9595 | * combine.c: Likewise. | |
9596 | * expr.c: Likewise. | |
9597 | * loop.c: Likewise. | |
9598 | ||
b7e30d8a AS |
9599 | 2002-01-03 Andreas Schwab <schwab@suse.de> |
9600 | ||
9601 | * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool | |
9602 | and return true if _cpp_push_next_buffer pushed a new include | |
9603 | file. | |
9604 | * cpplib.c (_cpp_pop_buffer): Only call obstack_free if | |
9605 | _cpp_pop_file_buffer did not push a new file. | |
9606 | * cpphash.h (_cpp_pop_file_buffer): Update declaration. | |
9607 | ||
ff81832f EC |
9608 | 2002-01-02 Eric Christopher <echristo@redhat.com> |
9609 | ||
9610 | * final.c (final_scan_insn): Change 0 -> NULL_RTX in | |
9611 | FIND_REG_INC_NOTE call. Update copyright. | |
9612 | * loop.c (canonicalize_condition): Ditto. | |
9613 | * reorg.c (delete_scheduled_jump): Ditto. | |
9614 | ||
8e42ace1 KH |
9615 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
9616 | ||
9617 | * gcse.c: Fix formatting. | |
9618 | ||
fb2bf631 GS |
9619 | 2002-01-03 Graham Stott <grahams@redhat.com> |
9620 | ||
9621 | * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h | |
9622 | forward defs for struct tags rtx_def, union_tree, rtvec_def | |
6253d571 | 9623 | also output corresponding typedefs for rtx, tree, and rtvec. |
fb2bf631 GS |
9624 | |
9625 | * system.h: Move forward defs for struct tags rtx_def, union_tree, | |
9626 | rtvec_def along with corresponding typedefs for rtx, tree, and | |
6253d571 | 9627 | rtvec to config.h, hconfig.h, tconfig.h. |
fb2bf631 GS |
9628 | |
9629 | 2002-01-03 Graham Stott <grahams@redhat.com> | |
b9daac31 GS |
9630 | |
9631 | * tree.h: Update copyright date. | |
9632 | (IS_EXPR_CODE_CLASS): Add parenthesis. | |
9633 | (TREE_SET_CODE): Add whitespace. | |
9634 | (TREE_CHECK): Add parenthesis. | |
9635 | (TREE_CLASS_CODE): Add parenthesis and wrap long line. | |
9636 | (CST_OR_CONSTRUCTOR_CHECK): | |
9637 | (EXPR_CHECK): Add parenthis, whitespace and wrap line. | |
9638 | (TREE_SYMBOL_REFERENCED): Whitespace. | |
9639 | (INT_CST_LT): Likewise. | |
9640 | (INT_CST_LT_UNSIGNED): Likewise. | |
9641 | (tree_real_cst): Unwrap comment. | |
9642 | (tree_string): Likewise. | |
9643 | (tree_complex): Likewise. | |
9644 | (IDENTIFIER_POINTER): correct cast. | |
9645 | (SAVE_EXPR_CONTEXT): Whitespace. | |
9646 | (EXPR_WFL_FILENAME_NODE): Likewise. | |
9647 | (EXPR_WFL_FILENAME): Remove parenthesis. | |
9648 | (DECL_ORIGIN): Add parenthesis. | |
9649 | (DECL_FROM_INLINE): Use NULL_TREE. | |
9650 | (build_int_2): Whitespace. | |
9651 | (build_type_variant): Add parenthesis. | |
9652 | ||
9653 | * gcc/jcf-parse.c: Update copyright date. | |
9654 | (yyparse): Constify resource_filename. | |
9655 | ||
f52eda29 GS |
9656 | 2002-01-03 Graham Stott <grahams@redhat.com> |
9657 | ||
9658 | * rtl.h: Update copyright date. | |
9659 | (RTL_CHECK1): Wrap long line. | |
9660 | (RTL_CHECK2): Likewise. | |
9661 | (RTL_CHECKC1): Wrap long line and whitespace. | |
9662 | (RTL_CHECKC2): Likewise. | |
9663 | (XWINT): Whitespace. | |
9664 | (XINT): Likewise. | |
9665 | (XSTR): Likewise. | |
9666 | (XEXP): Likewise. | |
9667 | (XVEC): Likewise. | |
9668 | (XMODE): Likewise. | |
9669 | (XBITMAP): Likewise. | |
9670 | (XTREE): Likewise. | |
9671 | (XBBDEF): Likewise. | |
9672 | (XTMPL): Likewise. | |
9673 | (X0WINT): Likewise. | |
9674 | (X0INT):Likewise. | |
9675 | (X0UINT): Likewise. | |
9676 | (X0STR): Likewise. | |
9677 | (X0EXP): Likewise. | |
9678 | (X0VEC): Likewise. | |
9679 | (X0MODE): Likewise. | |
9680 | (X0BITMAP): Likewise. | |
9681 | (X0TREE): Likewise. | |
9682 | (X0BBDEF): Likewise. | |
9683 | (X0ADVFLAGS): Likewise. | |
9684 | (X0CSELIB): Likewise. | |
9685 | (X0MEMATTR): Likewise. | |
9686 | (XCWINT): Likewise. | |
9687 | (XCINT): Likewise. | |
9688 | (XCUINT): Likewise. | |
9689 | (XCSTR): Likewise. | |
9690 | (XCEXP): Likewise. | |
9691 | (XCVEC): Likewise. | |
9692 | (XCMODE): Likewise. | |
9693 | (XCBITMAP): Likewise. | |
9694 | (XCTREE): Likewise. | |
9695 | (XCBBDEF): Likewise. | |
9696 | (XCADVFLAGS): Likewise. | |
9697 | (XCCSELIB): Likewise. | |
9698 | (XC2EXP): Likewise. | |
9699 | (INSN_UID): Likewise. | |
9700 | (PREV_INSN): Likewise. | |
9701 | (PATTERN): Likewise. | |
9702 | (INSN_CODE): Likewise. | |
9703 | (PUT_REG_NOTE_KIND): Likewise. | |
9704 | (CODE_LABEL_NUMBER): Likewise. | |
9705 | (NOTE_SOURCE_FILE): Likewise. | |
9706 | (NOTE_BLOCK): Likewise. | |
9707 | (NOTE_EH_HANDLER): Likewise. | |
9708 | (NOTE_RANGE_INFO): Likewise. | |
9709 | (NOTE_LIVE_INFO): Likewise. | |
9710 | (NOTE_BASIC_BLOCK): Likewise. | |
9711 | (NOTE_EXPECTED_VALUE): Likewise. | |
9712 | (NOTE_LINE_NUMBER): Likewise. | |
9713 | (LABEL_NAME): Likewise. | |
9714 | (LABEL_NUSES): Likewise. | |
9715 | (LABEL_ALTERNATE_NAME): Likewise. | |
9716 | (ADDRESSOF_DECL): Likewise. | |
9717 | (JUMP_LABEL): Likewise. | |
9718 | (LABEL_NEXTREF): Likewise. | |
9719 | (REGNO): Likewise. | |
9720 | (ORIGINAL_REGNO: Likewise. | |
9721 | (HARD_REGISTER_NUM_P): Add parenthesis. | |
9722 | (SUBREG_REG): Whitespace. | |
9723 | (SUBREG_BYTE): Likewise. | |
9724 | (ASM_OPERANDS_TEMPLATE): Remove parenthesis. | |
9725 | (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. | |
9726 | (ASM_OPERANDS_OUTPUT_IDX): Likewise. | |
9727 | (ASM_OPERANDS_INPUT_VEC): Likewise. | |
9728 | (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. | |
9729 | (ASM_OPERANDS_INPUT): Likewise. | |
9730 | (ASM_OPERANDS_INPUT_LENGTH): Likewise. | |
9731 | (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. | |
9732 | (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. | |
9733 | (ASM_OPERANDS_INPUT_MODE): Likewise. | |
9734 | (ASM_OPERANDS_SOURCE_FILE): Likewise. | |
9735 | (ASM_OPERANDS_SOURCE_LINE): Likewise. | |
9736 | (MEM_SET_IN_STRUCT_P): Minor reformat. | |
9737 | (TRAP_CONDITION): Whitespace. | |
9738 | (TRAP_CODE): Likewise. | |
9739 | (COND_EXEC_TEST): Likewise. | |
9740 | (COND_EXEC_CODE): Likewise. | |
9741 | (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. | |
9742 | (PHI_NODE_P): Add parenthesis. | |
9743 | (plus_constant): Whitespace and add parenthesis. | |
9744 | ||
e03f5d43 KH |
9745 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
9746 | ||
9747 | * config/avr/avr.c: Fix comment typos. | |
9748 | * config/c4x/c4x.md: Likewise. | |
9749 | * config/dsp16xx/dsp16xx.h: Likewise. | |
9750 | * config/dsp16xx/dsp16xx.md: Likewise. | |
9751 | * config/i386/i386.md: Likewise. | |
9752 | * config/ia64/ia64.c: Likewise. | |
9753 | * config/m32r/m32r.h: Likewise. | |
9754 | * config/m68hc11/m68hc11.md: Likewise. | |
9755 | * config/mmix/mmix.c: Likewise. | |
9756 | * config/mn10200/mn10200.c: Likewise. | |
9757 | * config/romp/romp.c: Likewise. | |
9758 | * config/sh/sh.c: Likewise. | |
9759 | * config/stormy16/stormy16.c: Likewise. | |
9760 | * config/stormy16/stormy16.h: Likewise. | |
9761 | * config/stormy16/stormy16.md: Likewise. | |
9762 | ||
97e300e9 GS |
9763 | 2002-01-03 Graham Stott <grahams@redhat.com> |
9764 | ||
9765 | * loop.h: Update copyright date. | |
0d24f4d1 ZW |
9766 | (LOOP_MOVABLES): Fix typo. |
9767 | (LOOP_REGS): Likewise. | |
9768 | (LOOP_IVS): Likewise. | |
ff81832f | 9769 | |
745b26b3 GS |
9770 | 2002-01-03 Graham Stott <grahams@redhat.com> |
9771 | ||
9772 | * cppinit.c: Update copyright date. | |
9773 | Don't include output.h | |
9774 | * Makefile.in: Update copyright date. | |
9775 | Update dependency. | |
9776 | ||
0a379b7a CR |
9777 | 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
9778 | ||
9779 | PR c/5226 | |
9780 | * invoke.texi (-mthreads): Remove from documented RS/6000 options. | |
9781 | (-pthread) Add to RS/6000 options. | |
9782 | ||
a8154559 KH |
9783 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
9784 | ||
9785 | * except.c: Fix comment typos. | |
9786 | * loop.c: Likewise. | |
9787 | * varasm.c: Likewise. | |
9788 | * doc/tm.texi: Fix a typo. | |
9789 | ||
e6ecc89b JJ |
9790 | 2002-01-02 Jakub Jelinek <jakub@redhat.com> |
9791 | ||
9792 | * c-typeck.c (output_init_element): Allow initializing static storage | |
9793 | duration objects with compound literals. | |
9794 | ||
d1094b40 RH |
9795 | 2002-01-02 Richard Henderson <rth@redhat.com> |
9796 | ||
9797 | * objc/objc-act.c (hack_method_prototype): Clear current_function_decl | |
9798 | after abusing it. | |
9799 | ||
0c5d8c82 KG |
9800 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9801 | ||
5e65297b KG |
9802 | * gcc.c (default_compilers): Const-ify. |
9803 | * mips-tdump.c (stab_names): Likewise. | |
9804 | * mips-tfile.c (map_coff_types, map_coff_storage, | |
9805 | map_coff_sym_type, map_coff_derived_type, stabs_symbol, | |
9806 | pseudo_ops_t, pseudo_ops): Likewise. | |
9807 | * protoize.c (default_include): Likewise | |
9808 | ||
0c5d8c82 KG |
9809 | * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. |
9810 | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. | |
9811 | Add array size in declaration. | |
9812 | (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, | |
9813 | emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, | |
9814 | esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, | |
9815 | etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, | |
9816 | eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, | |
9817 | efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, | |
9818 | c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, | |
9819 | emtens, make_nan): Const-ify. | |
9820 | (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, | |
9821 | DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. | |
9822 | ||
817e13c4 JM |
9823 | 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk> |
9824 | ||
9825 | * config.gcc (ia64-*-*): Set extra_headers. | |
9826 | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. | |
9827 | * config/alpha/t-osf: Remove. | |
9828 | * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. | |
9829 | ||
98095e2b DE |
9830 | 2002-01-02 David Edelsohn <edelsohn@gnu.org> |
9831 | ||
9832 | * config/rs6000/t-aix43: Revert previous change. | |
9833 | ||
a4200657 JM |
9834 | 2002-01-02 Jason Merrill <jason@redhat.com> |
9835 | ||
9836 | * c-decl.c (c_expand_body): Call outlining_inline_function when | |
9837 | emitting an inline function out of line. | |
9838 | ||
54ba1f0d RH |
9839 | 2002-01-02 Richard Henderson <rth@redhat.com> |
9840 | ||
9841 | * dwarf2out.c (limbo_die_node): Add created_for member. | |
9842 | (new_die): New argument created_for. Update all callers. | |
9843 | (mark_limbo_die_list): New. | |
9844 | (dwarf2out_init): Register limbo_die_list as a root. | |
9845 | (dwarf2out_finish): Force insert limbo dies into their function | |
9846 | context. | |
9847 | ||
323728aa NS |
9848 | 2002-01-02 Nathan Sidwell <nathan@codesourcery.com> |
9849 | ||
9850 | PR c++/5089 | |
9851 | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. | |
9852 | ||
aefc5826 KH |
9853 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
9854 | ||
9855 | * config/h8300/fixunssfsi.c: Update copyright. | |
9856 | Fix comment typos. | |
9857 | Fix formatting. | |
9858 | * config/h8300/h8300.c: Update copyright. | |
9859 | Eliminate warnings. | |
9860 | ||
b1c9bc51 KH |
9861 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
9862 | ||
9863 | * config/romp/romp.c: Fix comment formatting. | |
9864 | * config/romp/romp.h: Likewise. | |
9865 | * config/romp/romp.md: Likewise. | |
9866 | * config/s390/s390.c: Likewise. | |
9867 | * config/stormy16/stormy16.c: Likewise. | |
9868 | * config/stormy16/stormy16.h: Likewise. | |
9869 | ||
1574ef13 AO |
9870 | 2002-01-02 Alexandre Oliva <aoliva@redhat.com> |
9871 | ||
9872 | * c-common.h (genrtl_expr_stmt_value): Declare. | |
9873 | * c-semantics.c (genrtl_goto_stmt): Redirect to... | |
9874 | (genrtl_goto_stmt_value): ... this new function. Pass new | |
9875 | argument down to expand_expr_stmt_value, taking | |
9876 | TREE_ADDRESSABLE into account. | |
9877 | * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a | |
9878 | STMT_EXPR as addressable, i.e., one whose result we want. | |
9879 | * expr.c (expand_expr): Don't save expression statement value | |
9880 | of labeled_blocks or loop_exprs. | |
9881 | * stmt.c (expand_expr_stmt): Redirect to... | |
9882 | (expand_expr_stmt_value): ... this new function. Use new | |
9883 | argument to tell whether to save expression value. | |
9884 | (expand_end_stmt_expr): Reset last_expr_type and | |
9885 | last_expr_value if we don't have either. | |
9886 | * tree-inline.c (declare_return_variable): Mark its use | |
9887 | statement as addressable. | |
9888 | * tree.h: Document new use of TREE_ADDRESSABLE. | |
9889 | (expand_expr_stmt_value): Declare. | |
9890 | ||
252b88f7 TR |
9891 | 2002-01-01 Tom Rix <trix@redhat.com> |
9892 | ||
9893 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by | |
9894 | rs6000_emit_allocate_stack. | |
9895 | ||
29f7a208 JM |
9896 | 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk> |
9897 | ||
9898 | * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of | |
9899 | ${srcdir}/ginclude/ to every entry in extra_headers. | |
9900 | * configure: Regenerate. | |
9901 | * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. | |
9902 | * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. | |
9903 | * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. | |
9904 | * ginclude/proto.h: Rename to config/convex/proto.h. | |
9905 | ||
2cc2d4bb RK |
9906 | Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9907 | ||
9908 | * attribs.c (handle_vector_size_attribute): Use host_integerp | |
9909 | and tree_int_cst; remove warnings. | |
9910 | * caller-save.c (insert_restore): Add cast to get rid of warning. | |
9911 | (insert_save): Likewise. | |
9912 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
9913 | * regmove.c (find_matches): Add temporary var to kill a warning. | |
9914 | ||
f01c9bcd DR |
9915 | 2002-01-01 Douglas B Rupp <rupp@gnat.com> |
9916 | ||
16b61764 DR |
9917 | * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, |
9918 | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. | |
9919 | * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o | |
9920 | (vms-dwarf2eh.o): Add Makefile rule. | |
9921 | * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. | |
9922 | * config/alpha/vms-dwarf2eh.asm: New file. | |
9923 | ||
f01c9bcd DR |
9924 | * gcc.c (delete_if_ordinary): Delete all versions. |
9925 | ||
91312b81 HPN |
9926 | 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
9927 | ||
9928 | * config/mmix/mmix.md: Update FIXME to not mention | |
9929 | define_constants. | |
9930 | (MMIX_rJ_REGNUM): New define_constants constant. | |
9931 | ("movqi", "movsi", "movdi", "*movdicc_real_foldable", | |
9932 | "*movdicc_real"): Adjust contraints formatting. | |
9933 | ("*bCC_foldable"): Add %+ for P in output format and delete FIXME | |
9934 | for branch prediction. | |
9935 | ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in | |
9936 | output template. | |
9937 | ("*call_real", "*call_value_real", "nonlocal_goto_receiver", | |
9938 | "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of | |
9939 | number. Delete related FIXMEs. | |
9940 | * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change | |
9941 | from number to MMIX_rJ_REGNUM. | |
9942 | (TARGET_MASK_BRANCH_PREDICT): New. | |
9943 | (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. | |
9944 | (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols | |
9945 | value. Add -mbranch-predict and -mno-branch-predict. | |
9946 | (TARGET_VERSION): Drop date. | |
9947 | (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. | |
9948 | * config/mmix/mmix.c (mmix_encode_section_info): Correct condition | |
9949 | for finding out global symbols. | |
9950 | (mmix_asm_output_labelref): Revert condition for global symbol. | |
9951 | (mmix_print_operand): <case '+'>: Emit P for a likely branch. | |
9952 | (mmix_print_operand_punct_valid_p): A '+' is valid. | |
9953 | ||
619acae7 | 9954 | See ChangeLog.6 for earlier changes. |