]>
Commit | Line | Data |
---|---|---|
f3cd0185 DD |
1 | 2003-03-21 DJ Delorie <dj@redhat.com> |
2 | ||
3 | * config/stormy16/stormy16.c (xstormy16_expand_arith): Make | |
4 | sure we always emit at least one insn. | |
5 | ||
70e5e841 CF |
6 | 2003-03-21 Christopher Faylor <cgf@redhat.com> |
7 | ||
8 | * config.gcc (i[34567]86-*-cygwin*): Use new common makefile | |
9 | stub t-cygming. Use common target header cygming.h. Add extra | |
10 | c_target_obj and cxx_target_obj file. Default cygwin to posix | |
11 | threading. Enforce i386 as float format. | |
12 | (i[34567]86-*-mingw*): Use new common makefile stub t-cygming. | |
13 | Remove cygwin.h as target header. Use common target header | |
14 | cygming.h Enforce i386 as float format. Correct typo. | |
15 | * config/i386/cygming.h: New file, containing definitions | |
16 | common to mingw32 and cygwin. | |
17 | * config/i386/cygwin.h: Remove definitions common to cygwin and | |
18 | mingw. Simplify special spec logic. Define "wrappers" around | |
19 | certain include path defines to accommodate -mno-cygwin. | |
20 | Remove some #if 0'ed code. | |
21 | (STANDARD_INCLUDE_DIR) Always define when not cross-compiling. | |
22 | (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin. | |
23 | (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan. | |
24 | * config/i386/mingw32.h: Remove definitions common to cygwin and | |
25 | mingw. | |
26 | (EXTRA_OS_CPP_BUILTINS): Adjust. | |
27 | (TARGET_VERSION): Define. | |
28 | * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override | |
29 | mingw32.h definitions. | |
30 | (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h. | |
31 | * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o. | |
32 | Add compilation rules for cygwin1.o cygwin2.o. | |
33 | * config/i386/cygwin1.c: New file. | |
34 | * config/i386/cygwin2.c: New file. | |
35 | * config/i386/t-cygming: New makefile stub. | |
36 | ||
4bddea4c RH |
37 | 2003-03-20 Richard Henderson <rth@redhat.com> |
38 | ||
39 | * fold-const.c (extract_muldiv_1): Revert changing order of | |
40 | operands in case MULT_EXPR of 2003-02-16 patch. | |
41 | ||
b3411d7e DB |
42 | 2003-03-20 Daniel Berlin <dberlin@dberlin.org> |
43 | Merge changes from new-regalloc-branch | |
44 | ||
45 | From Michael Matz <matz@suse.de> | |
46 | * df.c (df_ref_record_1): Move init of loc to safe point. | |
47 | Only recurse on interesting things in parallels. | |
48 | Handle CLASS_CANNOT_CHANGE_MODE smarter. | |
49 | (df_uses_record): Ditto. | |
50 | ||
51 | * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which | |
52 | it's already okay to use memory operands in (IE doesn't require | |
53 | adding another insn or anything). | |
54 | ||
05d482b9 RH |
55 | 2003-03-20 Richard Henderson <rth@redhat.com> |
56 | ||
57 | PR middle-end/6348 | |
58 | * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE | |
59 | different from word_mode. | |
60 | ||
86a36a0e KH |
61 | 2003-03-20 Kazu Hirata <kazu@cs.umass.edu> |
62 | ||
63 | * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the | |
64 | source operand to those that can be extracted with bld. | |
65 | ||
228692e2 RE |
66 | 2003-03-20 Richard Earnshaw <rearnsha@arm.com> |
67 | ||
68 | PR 10066 | |
69 | * arm.md (UNSPEC_PIC_BASE): New constant. | |
70 | (pic_add_dot_plus_four): Wrap with unspec. | |
71 | (pic_add_dot_plus_eight): Likewise. | |
72 | ||
d0940a55 KH |
73 | 2003-03-20 Kazu Hirata <kazu@cs.umass.edu> |
74 | ||
75 | * config/h8300/h8300.md (*insv_si_1_n): New. | |
76 | (*insv_si_1_n_lshiftrt): Likewise. | |
77 | ||
c876997f RS |
78 | 2003-03-20 Roger Sayle <roger@eyesopen.com> |
79 | ||
80 | * fold-const.c (fold_mathfn_compare): New function to simplify | |
81 | comparisons against built-in math functions. Fold comparisons | |
82 | of sqrt against constants. | |
83 | (fold): Call fold_mathfn_compare when appropriate. | |
84 | ||
952a6df7 RE |
85 | 2003-03-20 Richard Earnshaw <rearnsha@arm.com> |
86 | ||
87 | * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance | |
88 | information. | |
89 | ||
8826ff0f PB |
90 | 2003-03-20 Per Bothner <pbothner@apple.com> |
91 | ||
92 | Various cleanups to help compile server. | |
93 | ||
b4e46cea PB |
94 | * cppinit.c (cpp_create_reader): Take extra hash_table* argument, |
95 | and pass that to _cpp_init_hashtable. | |
96 | (cpp_read_main_file): Drop hash_table* argument; don't call | |
97 | _cpp_init_hashtable. | |
98 | * cpplib.h: Update declarations to match. | |
99 | * c-opts.c (c_common_init_options): Pass ident_hash to | |
100 | cpp_create_reader. | |
101 | (c_common_post_options): Don't pass ident_hash to cpp_read_main_file. | |
102 | * fix-header.c (read_scan_file): Likewise pass NULL table to | |
103 | cpp_create_reader rather than cpp_read_main_file. | |
104 | ||
105 | * cppfiles.c (cpp_rename_file): Generalized and renamed | |
106 | to cpp_change_file. | |
107 | * cpplib.h: Update declaration to match. | |
108 | * c-opts.c (push_command_line_line, finish_options): Change | |
109 | cpp_rename_file calls to cpp_change_file. | |
110 | ||
8826ff0f PB |
111 | * line-map.c (add_line_map): Allow leaving the outermost file. |
112 | Allowing entering an outermost-file after the initial time. | |
113 | ||
114 | * toplev.c (pop_srcloc): Allow popping from initial file. | |
115 | ||
015c3186 KH |
116 | 2003-03-20 Kazu Hirata <kazu at cs dot umass dot edu> |
117 | ||
118 | * fold-const.c (fold): Fold A - (A & B) into ~B & A. | |
119 | ||
101cb92a KH |
120 | 2003-03-20 Kazu Hirata <kazu@cs.umass.edu> |
121 | ||
122 | * config/h8300/h8300.md (a peephole2): New. | |
123 | ||
f4613a2e KH |
124 | 2003-03-20 Kazu Hirata <kazu@cs.umass.edu> |
125 | ||
126 | * config/h8300/h8300.md (*addsi3_and_r_1): New. | |
127 | (*addsi3_and_not_r_1): Likewise. | |
128 | ||
31260fb8 LR |
129 | 2003-03-19 Loren James Rittle <ljrittle@acm.org> |
130 | ||
131 | * Makefile.in (STRICT2_WARN): Add @WERROR@. | |
132 | (GCC_WARN_CFLAGS): Remove $(WERROR). | |
133 | (fixinc.sh-warn): New. | |
134 | * ada/Make-lang.in (ada-warn): Add $(WERROR). | |
135 | * cp/Make-lang.in (cp-warn): Add $(WERROR). | |
136 | * f/Make-lang.in (f-warn): Add $(WERROR). | |
137 | * java/Make-lang.in (java-warn): Add $(WERROR). | |
138 | * treelang/Make-lang.in (treelang-warn): Add $(WERROR). | |
139 | ||
2bd3ecad NN |
140 | 2003-03-19 Nathanael Nerode <neroden@gcc.gnu.org> |
141 | ||
142 | * c-common.h (c_dump_tree), c-dump.c (c_dump_tree), | |
143 | langhooks-def.h (lhd_tree_dump_dump_tree), | |
144 | langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree): | |
145 | Change return type from 'int' to 'bool'. Replace 0 and 1 with | |
146 | true and false in return statements. | |
147 | ||
9eb0ef7a KB |
148 | 2003-03-19 Kevin Buettner <kevinb@redhat.com> |
149 | ||
150 | * dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define. | |
151 | (DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account | |
152 | DWARF_INITIAL_LENGTH_SIZE. | |
153 | (output_compilation_unit_header, output_pubnames, output_aranges) | |
154 | (output_line_info): Output 0xffffffff escape value for 64-bit | |
155 | DWARF extension. | |
156 | * config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define. | |
157 | ||
8b5642e0 | 158 | 2003-03-19 Ulrich Weigand <uweigand@de.ibm.com> |
0796c16a UW |
159 | |
160 | * config/s390/s390.c (s390_preferred_reload_class): Do not | |
161 | force constants to the pool unless necessary. | |
162 | (s390_decompose_address): Prefer to use pointer as base, | |
163 | not index register. | |
164 | * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from | |
165 | Q alternative. | |
166 | ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi", | |
167 | "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives. | |
168 | ("*extractqi", "*extracthi", "*zero_extendhisi2_31", | |
169 | "*zero_extendqisi2_31", "*zero_extendqihi2_31", | |
170 | "*adddi3_31", "*subdi3_31"): Do not set "type" attribute. | |
171 | ||
d9b40e8d JH |
172 | Wed Mar 19 11:28:45 CET 2003 Jan Hubicka <jh@suse.cz> |
173 | ||
174 | * i386.h (machine_function): New fields use_fast_prologue_epilogue. | |
175 | * i386.c (use_fast_prologue_epilogue): Remove. | |
176 | (ix86_frame): New field save_regs-using_mov; | |
177 | (ix86_compute_frame_layout): Decide on fast prologues; | |
178 | allocate saved registers in red zone. | |
179 | (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters. | |
180 | ||
31488c64 NC |
181 | 2003-03-19 Nick Clifton <nickc@redhat.com> |
182 | ||
183 | * config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon. | |
184 | ||
685d0e07 JDA |
185 | 2003-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
186 | ||
187 | PR 10062 | |
188 | * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine. | |
189 | * pa-protos.h (output_lbranch): New prototype. | |
190 | * pa.c (compute_frame_size): Change size of the frame marker on the | |
191 | 64-bit ports to 48 bytes. | |
192 | (pa_output_function_prologue): Document why SAVE_SP is set. | |
193 | (hppa_expand_prologue): Save previous stack pointer into frame marker | |
194 | on targets which use the hpux unwind library. | |
195 | (output_cbranch): Use output_lbranch. | |
196 | (output_lbranch): New function to output long unconditional branches. | |
197 | * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define. | |
198 | (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on | |
199 | 64-bit ports. | |
200 | * pa.md (jump): Use output_lbranch. | |
201 | (allocate_stack): New expander for dynamic stack allocation. | |
202 | ||
6a04f4e0 AM |
203 | 2003-03-19 Alan Modra <amodra@bigpond.net.au> |
204 | ||
178274da AM |
205 | * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame |
206 | when debugging on XCOFF targets. Delete "abi" temp. | |
207 | ||
6a04f4e0 AM |
208 | PR target/10073 |
209 | * combine.c (force_to_mode <NOT>): Use gen_int_mode. | |
210 | ||
6b2300b3 JJ |
211 | 2003-03-18 Jakub Jelinek <jakub@redhat.com> |
212 | ||
213 | * config/s390/s390.c (s390_output_dwarf_dtprel): New. | |
214 | * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto. | |
215 | * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define. | |
216 | ||
217 | * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New. | |
218 | * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto. | |
219 | * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define. | |
220 | ||
5ba6918e GK |
221 | 2003-03-18 Geoffrey Keating <geoffk@apple.com> |
222 | ||
6788f5ca GK |
223 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone |
224 | the result of machopic_function_base_name. | |
225 | * config/darwin.c (machopic_function_base_name): Use a gc-allocated | |
226 | string rather than a static array. | |
227 | ||
5ba6918e GK |
228 | * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies. |
229 | ||
230 | * gengtype.c: Include rtl.h. | |
231 | (enum rtx_code): Don't define. | |
232 | (rtx_format): Make declaration match rtl.h. | |
233 | (rtx_next_new): Rename from rtx_next to avoid conflict. Change all | |
234 | users. | |
235 | (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes. | |
236 | * Makefile.in (gengtype.o): Update dependencies. | |
237 | ||
e0ec941e AS |
238 | 2003-03-18 Andreas Schwab <schwab@suse.de> |
239 | ||
240 | * config/m68k/m68k.md (iordi3): Fix setting low half to -1. From | |
241 | martin@blom.org. | |
242 | ||
8291cc0e GK |
243 | 2003-03-18 Geoffrey Keating <geoffk@apple.com> |
244 | ||
f83b236e GK |
245 | * function.c (next_block_index): Mark with GTY. |
246 | ||
8291cc0e GK |
247 | * config/rs6000/rs6000.md (macho_correct_pic): Correct pattern. |
248 | ||
b39eb2f9 RH |
249 | 2003-03-18 Richard Henderson <rth@redhat.com> |
250 | ||
251 | * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New. | |
252 | (builtin_setjmp_receiver): Delay call to ia64_reload_gp | |
253 | until after reload. | |
254 | ||
6c537d03 RH |
255 | 2003-03-18 Richard Henderson <rth@redhat.com> |
256 | ||
257 | * builtins.c (expand_builtin_unop): New target_mode operand; | |
258 | use it to convert the result to the correct mode. | |
259 | (expand_builtin): Update all callers. | |
260 | ||
fe03d631 UW |
261 | 2003-03-18 Ulrich Weigand <uweigand@de.ibm.com> |
262 | ||
263 | * config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute. | |
264 | ||
45183e03 JH |
265 | Tue Mar 18 19:22:57 CET 2003 Jan Hubicka <jh@suse.cz> |
266 | ||
75fbf7d9 JH |
267 | * i386.md: Fix previous commit that mistakely applied the patch |
268 | twice. | |
269 | ||
45183e03 JH |
270 | * alias.c (rtx_equal_for_memref_p): Assume that X and Y has been |
271 | canonicalized. | |
272 | (memrefs_conflict_p): Likewise. | |
273 | (addr_side_effect_eval): Canonicalize the constructed address. | |
274 | ||
8dfa3bb0 JH |
275 | Tue Mar 18 13:15:08 CET 2003 Jan Hubicka <jh@suse.cz> |
276 | ||
277 | * i386.md (cvtts?2si peep2): New. | |
278 | ||
1e788887 KH |
279 | 2003-03-18 Kazu Hirata <kazu@cs.umass.edu> |
280 | ||
281 | * config/h8300/h8300.md (*iorsi3_two_qi_zext): New. | |
282 | ||
94e001a9 AS |
283 | 2003-03-18 Andreas Schwab <schwab@suse.de> |
284 | ||
285 | * dwarf2out.c (output_file_names): Cast size_t to unsigned long | |
286 | for format. | |
287 | ||
bdaa131b JM |
288 | 2003-03-17 Jason Merrill <jason@redhat.com> |
289 | ||
290 | PR c++/10091 | |
291 | * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of | |
292 | an unaligned member of TREE_ADDRESSABLE type. | |
293 | ||
ffcfcb5f AM |
294 | 2003-03-18 Alan Modra <amodra@bigpond.net.au> |
295 | ||
296 | * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define. | |
297 | (TARGET_PROFILE_KERNEL): Define. | |
298 | (SUBTARGET_SWITCHES): Handle -mprofile-kernel. | |
299 | (PROFILE_BEFORE_PROLOGUE): Don't define. | |
300 | (PROFILE_KERNEL): Remove hacks. | |
301 | * config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default. | |
302 | (rs6000_stack_info): No need to save lr if just for profiling when | |
303 | TARGET_KERNEL_PROFILE. | |
304 | (output_profile_hook): Output nothing when TARGET_KERNEL_PROFILE. | |
305 | (output_function_profiler): Localize label generation. Emit code | |
306 | for kernel profiling. | |
307 | ||
9b98dc74 KH |
308 | 2003-03-17 Kazu Hirata <kazu@cs.umass.edu> |
309 | ||
310 | * config/h8300/h8300-protos.h: Add a prototype for | |
311 | byte_accesses_mergeable_p. | |
312 | * config/h8300/h8300.c (byte_accesses_mergeable_p): New. | |
313 | * config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise. | |
314 | (a splitter): Likewise. | |
315 | (*iorsi3_ashift_16_ashift_24): Likewise. | |
316 | (*iorsi3_ashift_16_ashift_24_mem): Likewise. | |
317 | ||
d41c4351 KG |
318 | 2003-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
319 | ||
320 | * dwarf2asm.h: Delete obsolete comment. | |
321 | (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset, | |
322 | dw2_asm_output_pcrel, dw2_asm_output_addr, | |
323 | dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx, | |
324 | dw2_asm_output_nstring, dw2_asm_output_data_uleb128, | |
325 | dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128, | |
326 | dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF. | |
327 | ||
6970c06a ZW |
328 | 2003-03-17 Zack Weinberg <zack@codesourcery.com> |
329 | ||
330 | * c-tree.h (struct lang_identifier): Remove error_locus field. | |
331 | (IDENTIFIER_ERROR_LOCUS): Kill. | |
332 | (record_function_scope_shadow): New prototype. | |
333 | * c-typeck.c (build_external_ref): Don't complain if | |
334 | decl is error_mark_node. When not at file scope, bind the | |
335 | decl's local value to error_mark_node to suppress further | |
336 | warnings, instead of setting IDENTIFIER_ERROR_LOCUS. | |
337 | ||
338 | * c-decl.c (get_function_binding_level): New static function. | |
339 | (record_function_scope_shadow): New exported function. | |
340 | (c_make_fname_decl): Use get_function_binding_level. | |
341 | ||
405a98aa SE |
342 | 2003-03-17 Steve Ellcey <sje@cup.hp.com> |
343 | ||
344 | * stmt.c (tail_recursion_args): Call promote_mode to set | |
345 | unsignedp flag correctly before calling convert_move. | |
346 | ||
df86c7e2 ZD |
347 | 2003-03-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
348 | ||
349 | * loop-unroll.c (decide_peel_completely, | |
350 | decide_unroll_constant_iterations, decide_unroll_stupid, | |
351 | decide_unroll_runtime_iterations, decide_peel_simple): Set | |
352 | loop->has_desc. | |
353 | ||
dbccdc42 JH |
354 | Mon Mar 17 18:57:01 CET 2003 Jan Hubicka <jh@suse.cz> |
355 | ||
356 | * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize. | |
357 | ||
b36a8cc2 OH |
358 | 2003-03-17 Olivier Hainque <hainque@act-europe.fr> |
359 | ||
360 | * function.c (assign_parms): For a struct value address passed as | |
361 | first argument, delay the function's result RTL setup code until | |
362 | after the emission of parameter conversions. | |
6970c06a | 363 | |
94833648 DL |
364 | 2003-03-17 Dave Love <fx@gnu.org> |
365 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
aeefc21d DL |
366 | |
367 | * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__, | |
368 | __arch64__ to match Compaq cc. | |
369 | ||
783e2989 NB |
370 | 2003-03-17 Neil Booth <neil@daikokuya.co.uk> |
371 | ||
372 | * c-opts.c: Default TARGET_EBCDIC to 0 if not defined. | |
373 | (c_common_init): Set EBCDIC in cpp options. | |
374 | * cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option, | |
375 | not conditional compilation. | |
376 | * cpplib.h (struct cpp_options): New entry EBCDIC. | |
377 | ||
72ecfc60 NB |
378 | 2003-03-17 Neil Booth <neil@daikokuya.co.uk> |
379 | ||
380 | * fix-header.c (read_scan_file): Need to malloc arguments to add_path. | |
381 | ||
47009d11 MH |
382 | 2003-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
383 | ||
384 | * function.c (thread_prologue_and_epilogue_insns): Set delete_unused | |
385 | argument to 0 for redirect_jump. | |
47009d11 | 386 | |
bafb714b MM |
387 | 2003-03-16 Mark Mitchell <mark@codesourcery.com> |
388 | ||
389 | PR c++/8805 | |
390 | * except.c (eh_region_u_cleanup): Add prev_try. | |
391 | (expand_eh_region_end_cleanup): Set it. | |
392 | (reachable_handlers): Use it to skip over cleanup blocks. | |
393 | ||
30492adf AJ |
394 | 2003-03-17 Andreas Jaeger <aj@suse.de> |
395 | ||
396 | * Makefile.in (TAGS): Remove obsolete handling of =*.[chy]. | |
397 | ||
7b3464ee AM |
398 | 2003-03-17 Alan Modra <amodra@bigpond.net.au> |
399 | ||
400 | * config/rs6000/linux64.h (TARGET_64BIT): Redefine. | |
401 | (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise. | |
402 | (SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise. | |
403 | (SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise. | |
404 | ||
4f5c0f7e RH |
405 | 2003-03-16 Richard Henderson <rth@redhat.com> |
406 | ||
6970c06a ZW |
407 | * simplify-rtx (simplify_binary_operation): Don't abort for |
408 | SS_PLUS, US_PLUS, SS_MINUS, US_MINUS. | |
4f5c0f7e | 409 | |
3c298c88 RH |
410 | 2003-03-16 Richard Henderson <rth@redhat.com> |
411 | ||
6970c06a ZW |
412 | * config/i386/i386.md (movstrictqi, movstrictqi_1): Check |
413 | optimize_size as well. | |
3c298c88 | 414 | |
fe91bac5 SC |
415 | 2003-03-16 Stephane Carrez <stcarrez@nerim.fr> |
416 | ||
417 | * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier | |
418 | for D register to specify the low part of it, aka B. | |
419 | (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement | |
420 | the register if we are loading 1 or -1 to it; avoid using temp | |
421 | register when moving X/Y to Y/X. | |
422 | (m68hc11_gen_movqi): Likewise. | |
423 | (m68hc11_check_z_replacement): Fix last insn setting for compare case. | |
424 | ||
ddc67067 MM |
425 | 2003-03-14 Mark Mitchell <mark@codesourcery.com> |
426 | ||
427 | PR optimization/9016 | |
428 | * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs | |
429 | into the constant pool. | |
430 | ||
0a71919d FH |
431 | 2003-03-16 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
432 | ||
433 | PR target/9164 | |
434 | * tree.c (get_narrower): For extensions with unchanged bit number, | |
435 | return the unsignedness of the outer mode. | |
436 | ||
46ea50cb RS |
437 | 2003-03-16 Roger Sayle <roger@eyesopen.com> |
438 | ||
439 | * c-typeck.c (build_component_ref): Turn "for" into "do .. while" | |
440 | to avoid "may be used uninitialized" warning on ia64-hpux. | |
441 | * config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes. | |
442 | ||
012c387f AJ |
443 | 2003-03-16 Andreas Jaeger <aj@suse.de> |
444 | ||
445 | * configure.in: Improve check for memcheck.h. | |
446 | * configure: Regenerated. | |
447 | ||
7d1c4aae NB |
448 | 2003-03-16 Neil Booth <neil@daikokuya.co.uk> |
449 | ||
450 | * doc/cppopts.texi: Remove documentation of -A-. | |
451 | ||
e20798d1 ZW |
452 | 2003-03-15 Zack Weinberg <zack@codesourcery.com> |
453 | ||
454 | * doc/libgcc.texi: Remove @tie. | |
455 | ||
4af16369 JZ |
456 | 2003-03-15 Josef Zlomek <zlomekj@suse.cz> |
457 | ||
458 | * rtl.h (subrtx_p): Renamed to rtx_referenced_p. | |
459 | (rtx_pair): Added new element update_label_nuses, renamed to | |
460 | replace_label_data. | |
461 | * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use | |
462 | replace_label_data instead of rtx_pair. | |
463 | * loop.c (load_mems): Likewise. | |
464 | * rtlanal.c (replace_label): Replace label in pool constants and in | |
465 | INSN_LIST (in REG_LABEL note). | |
466 | (subrtx_p): Renamed to rtx_referenced_p. | |
467 | (subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of | |
468 | LABEL_REF with CODE_LABEL, traverse constants from pool. | |
469 | ||
d2184e79 AH |
470 | 2003-03-15 Aldy Hernandez <aldyh@redhat.com> |
471 | Zack Weinberg <zack@codesourcery.com> | |
472 | ||
473 | * Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi. | |
474 | * doc/libgcc.texi: New file. | |
475 | * doc/interface.texi: Delete paragraph about libgcc interface. | |
476 | * doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi. | |
477 | ||
8cadae7e JM |
478 | 2003-03-15 Jason Merrill <jason@redhat.com> |
479 | ||
ae0e5982 JM |
480 | PR debug/9039 |
481 | * dwarf2out.c (gen_decl_die): Ignore frontend tree codes. | |
482 | ||
8cadae7e JM |
483 | PR debug/6387 |
484 | * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested | |
485 | function DIEs at toplevel. | |
486 | (decls_for_scope): At -g1, don't descend into subblocks. | |
487 | ||
2436a91b UW |
488 | 2003-03-15 Ulrich Weigand <uweigand@de.ibm.com> |
489 | ||
490 | * varasm.c (struct rtx_const): Change type of un.addr member | |
491 | to struct holding an additional 'symbol' member. | |
492 | (decode_rtx_const): Re-enable optimization to count SYMBOL_REFs | |
493 | with equal string addresses as equal. | |
494 | (simplify_subtraction): Adapt to struct rtx_const change. | |
495 | ||
151c68c3 NB |
496 | 2003-03-15 Neil Booth <neil@daikokuya.co.uk> |
497 | ||
498 | * fix-header.c (read_scan_file): Read main file before handling -D. | |
499 | ||
6a87d634 RS |
500 | 2003-03-15 Roger Sayle <roger@eyesopen.com> |
501 | ||
502 | * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace. | |
503 | * c-typeck.c (c_tree_expr_nonnegative_p): Likewise. | |
504 | * cfgbuild.c (find_many_sub_basic_blocks): Likewise. | |
505 | (find_sub_basic_blocks): Likewise. | |
506 | * cgraphunit.c (cgraph_expand_functions): Likewise. | |
507 | * dwarf2out.c (prune_unused_types): Likewise. | |
508 | * expr.c (store_field): Likewise. | |
509 | * genextract.c (print_path): Likewise. | |
510 | * haifa-sched.c (schedule_insn): Likewise. | |
511 | * lcm.c (compute_antinout_edge): Likewise. | |
512 | * loop-unroll.c (decide_peel_once_rolling): Likewise. | |
513 | * ra-colorize.c (ra_colorize_free_all): Likewise. | |
514 | * ra-debug.c (dump_igraph): Likewise. | |
515 | (debug_hard_reg_set): Likewise. | |
516 | * reg-stack.c (reg_to_stack): Likewise. | |
517 | * rtlanal.c (refers_to_regno_p): Likewise. | |
518 | * tracer.c (layout_superblocks): Likewise. | |
519 | ||
49c46444 NB |
520 | 2003-03-15 Neil Booth <neil@daikokuya.co.uk> |
521 | ||
522 | * fix-header.c (read_scan_file): Fix thinko. | |
523 | ||
1fe668e5 GN |
524 | 2003-03-15 Glen Nakamura <glen@imodulo.com> |
525 | ||
526 | * reload1.c (choose_reload_regs): Use && instead of || | |
527 | with REG_CANNOT_CHANGE_MODE_P condition. | |
528 | ||
c1bad961 NB |
529 | 2003-03-15 Neil Booth <neil@daikokuya.co.uk> |
530 | ||
531 | * Makefile.in: Update. | |
532 | * c-common.h (cb_register_builtins): Rename c_cpp_builtins. | |
533 | * c-lex.c (init_c_lex): Register builtins hook is dead. | |
534 | * c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U. | |
535 | (c_common_decode_option): Don't call cpp_handle_option. | |
536 | Handle -A, -D and -U. | |
537 | (handle_deferred_opts): Simplify. | |
538 | (finish_options): Define builtins and command line macros. | |
539 | * c-ppoutput.c (init_pp_output): Register builtins hook is dead. | |
540 | * cppinit.c: Don't include intl.h. | |
541 | (init_builtins): Rename cpp_init_builtins. No hook to call. | |
542 | (init_library): Don't need to sort options. | |
543 | (cpp_create_reader): Don't set pending. | |
544 | (cpp_destroy): Don't free pending. | |
545 | (struct pending_option, cl_directive_handler, struct cpp_pending, | |
546 | APPEND, free_chain, new_pending_directive, parse_option, opt_comp, | |
547 | cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option, | |
548 | cl_options, cpp_handle_option): Remove. | |
549 | * cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option, | |
550 | cpp_finish_options): Remove. | |
551 | (cpp_init_builtins): New. | |
552 | * fix-header.c (read_scan_file): Update to handle -D. Fix | |
553 | handling of -I. Replace call to cpp_finish_options. | |
554 | ||
d8eed979 MH |
555 | 2003-03-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
556 | ||
557 | PR optimization/9387 | |
558 | * function.c (thread_prologue_and_epilogue_insns): Use redirect_jump | |
559 | for conditional returns. | |
560 | ||
af75fb67 JM |
561 | 2003-03-14 Jason Merrill <jason@redhat.com> |
562 | ||
563 | PR optimization/6871 | |
564 | * varasm.c (assemble_variable): Leave constant zeroes in .rodata. | |
565 | ||
255c10b1 NB |
566 | 2003-03-14 Neil Booth <neil@daikokuya.co.uk> |
567 | ||
568 | * c-opts.c (finish_options): New. | |
569 | (COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros. | |
570 | (missing_arg): Handle OPT_include and OPT_imacros. | |
571 | (c_common_init, c_common_parse_file): Use finish_options. | |
572 | (handle_deferred_opts): Update. | |
573 | * cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail. | |
574 | (cpp_finish_options): Don't handle -imacros here. | |
575 | (no_fil): Remove. | |
576 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros. | |
577 | ||
027fbf43 JJ |
578 | 2003-03-14 Jakub Jelinek <jakub@redhat.com> |
579 | ||
580 | * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call | |
581 | rs6000_maybe_dead if !fromprolog. | |
582 | ||
23345bbb NB |
583 | 2003-03-14 Neil Booth <neil@daikokuya.co.uk> |
584 | ||
585 | * Makefile.in: Update. | |
586 | * c-common.h (fe_file_change, pp_file_change): New. | |
587 | * c-lex.c (init_c_lex): Don't set cb_file_change. | |
588 | (c_common_parse_file): Move to c-opts.c. | |
589 | (cb_file_change): Rename fe_file_change. | |
590 | * c-opts.c: Include debug.h. | |
591 | (warn_unused_macros, include_cursor): New. | |
592 | (push_command_line_include, cb_file_change): New. | |
593 | (COMMAND_LINE_OPTIONS): Handle -include. | |
594 | (c_common_decode_option): Use local warn_unused_macros. | |
595 | Handle OPT_include. | |
596 | (c_common_post_options): Set file change callback. | |
597 | (handle_deferred_opts): Skip -include. Don't free the array. | |
598 | (c_common_init): Call cpp_finish_options here, and push an | |
599 | initial -include file. | |
600 | * c-ppoutput.c (cb_file_change): Rename pp_file_change. | |
601 | (preprocess_file): Don't call cpp_finish_options. | |
602 | (init_pp_output): Don't set the file change callback. | |
603 | (pp_file_change): Return if no line commands or no output. | |
604 | * cpphash.h (next_include_file, first_unused_line): Remove. | |
605 | * cppinit.c (include_head, include_tail): Remove. | |
606 | (cpp_destroy): Don't free -include chain. | |
607 | (cpp_finish_options): Don't handle -include, or worry about | |
608 | -Wunused-macros. | |
609 | (_cpp_maybe_push_include_file): Remove. | |
610 | (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -include. | |
611 | * cpplib.c (_cpp_pop_buffer): Don't handle -include. | |
612 | * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_create_definition): | |
613 | Used flag is set based upon the state of the warn_unused_macros | |
614 | flag, and so use of first_unused_line is unnecessary. | |
615 | ||
cd648cec JH |
616 | Thu Mar 13 18:39:42 CET 2003 Jan Hubicka <jh@suse.cz> |
617 | ||
618 | * cselib.c (clear_table): Do not take argument; always clear just | |
619 | used slots. | |
620 | (cselib_process_insn): Update call of clear_table | |
621 | (cselib_init): Do not call clear_table. | |
622 | (cselib_finish): Clear table. | |
623 | ||
624 | * cse.c (count_reg_usage): Do not check side_effects_p. | |
625 | * rtlanal.c (set_noop_p): Check side_effects_p only when set looks | |
626 | like noop. | |
627 | (find_reg_equal_equiv_note): Do not use find_reg_note. | |
628 | ||
35d9c403 RH |
629 | 2003-03-14 Richard Henderson <rth@redhat.com> |
630 | ||
631 | PR target/9700 | |
1fe668e5 | 632 | * config/alpha/alpha.c (alpha_va_start): Account for |
35d9c403 RH |
633 | current_function_pretend_args_size in the AP offset. |
634 | ||
635 | * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line. | |
636 | (INITIAL_ELIMINATION_OFFSET): Move out of line. | |
637 | * config/alpha/alpha.c (alpha_setup_incoming_varargs): New. | |
638 | (alpha_initial_elimination_offset) New. | |
639 | * config/alpha/alpha-protos.h: Update. | |
640 | ||
f43f4314 JJ |
641 | 2003-03-14 Jakub Jelinek <jakub@redhat.com> |
642 | ||
643 | * stmt.c (expand_start_case): Call emit_queue (). | |
644 | ||
35d9c403 RH |
645 | 2003-03-14 Chris Demetriou <cgd@broadcom.com> |
646 | Alexandre Oliva <aoliva@redhat.com> | |
a0a89ed0 CD |
647 | |
648 | * config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2 | |
649 | words in new abis. | |
650 | ||
f650843f EB |
651 | 2003-03-14 Eric Botcazou <ebotcazou@libertysurf.fr> |
652 | ||
653 | PR optimization/8396 | |
654 | * tree-inline.c (initialize_inlined_parameters): Make sure the value | |
655 | of read-only constant arguments is passed with the right type. | |
656 | ||
a721a601 SB |
657 | 2003-03-14 Steven Bosscher <steven@gcc.gnu.org> |
658 | ||
659 | * doc/extend.texi (Function Names): Make the example compilable. | |
660 | ||
a12f8290 DE |
661 | 2003-03-13 David Edelsohn <edelsohn@gnu.org> |
662 | ||
663 | * config/rs6000/rs6000.c (processor_target_table): Really allow | |
664 | GP optional instructions on Power4. | |
665 | ||
666 | 2003-03-13 Roger Sayle <roger@eyesopen.com> | |
36dbb93d RS |
667 | |
668 | * calls.c (flags_from_decl_or_type): Factor and remove redundant | |
669 | conditional tests. | |
670 | ||
c4775f82 MS |
671 | 2003-03-13 Mike Stump <mrs@apple.com> |
672 | ||
673 | * ggc-page.c (struct page_entry): Remove varray.h header. | |
674 | Add index_by_depth field. | |
675 | Remove save_in_use_p field. | |
676 | (struct globals): Add depth_in_use, depth_max, by_depth_in_use, | |
677 | by_depth_max, by_depth, and save_in_use fields. | |
678 | (INITIAL_PTE_COUNT): Add. | |
679 | (save_in_use_p_i): Add. | |
680 | (save_in_use_p): Add. | |
681 | (adjust_depth): Add. | |
682 | (move_ptes_to_front): Add. | |
683 | (push_depth): Add. | |
684 | (push_by_depth): Add. | |
685 | (prefetch): Add. | |
686 | (free_page): Add support for and use faster data structures. | |
687 | (ggc_alloc): Likewise. | |
688 | (init_ggc): Likewise. | |
689 | (ggc_recalculate_in_use_p): Likewise. | |
690 | (ggc_pop_context): Likewise. | |
691 | (clear_marks): Likewise. | |
692 | (ggc_pch_read): Likewise. | |
693 | * Makefile.in (ggc-page.o): Remove varray.h. | |
694 | ||
3bed2930 NN |
695 | 2003-03-13 Nathanael Nerode <neroden@gcc.gnu.org> |
696 | ||
7210d5ae NN |
697 | * ChangeLog: Rotated last year's entries to... |
698 | * ChangeLog.8: New. | |
699 | ||
1fe668e5 | 700 | * config/ia64/fde-glibc.c, config/ia64/freebsd.h, |
3bed2930 NN |
701 | config/ia64/hpux.h, config/ia64/hpux_longdouble.h, |
702 | config/ia64/ia64-c.c, config/ia64/ia64-modes.def, | |
703 | config/ia64/ia64-protos.h, config/ia64/ia64.c, | |
704 | config/ia64/ia64.h, config/ia64/ia64.md, | |
705 | config/ia64/itanium1.md, config/ia64/itanium2.md, | |
706 | config/ia64/quadlib.c, config/ia64/unwind-ia64.c, | |
707 | config/ia64/unwind-ia64.h: It's GCC, not GNU CC. | |
708 | ||
3bd104d1 AH |
709 | 2003-03-13 Aldy Hernandez <aldyh@redhat.com> |
710 | ||
d2184e79 AH |
711 | * config/rs6000/rs6000.c (rs6000_dwarf_register_span): |
712 | Differentiate endianness. | |
713 | (s6000_override_options): Use cpu type instead of TARGET_SPE. | |
3bd104d1 | 714 | |
2ed0b52a NC |
715 | 2003-03-13 Nick Clifton <nickc@redhat.com> |
716 | ||
b17fe233 | 717 | * config/arm/arm.c (print_multi_reg): Do not generate a type 2 |
d2184e79 AH |
718 | LDM instructions with writeback enabled. |
719 | (output_return_instruction): Likewise. | |
b17fe233 | 720 | |
2ed0b52a NC |
721 | * config/arm/pe.h (FIXED_REGISTERS): Remove definition. |
722 | (CALL_USED_REGISTERS): Remove definition. | |
723 | (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define. | |
724 | ||
f1384257 AM |
725 | 2003-03-13 Alan Modra <amodra@bigpond.net.au> |
726 | ||
727 | * config/rs6000/rs6000.c (rs6000_flag_pic): Delete. | |
728 | (rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF. | |
729 | (rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO. | |
730 | (rs6000_override_options): Don't clear flag_pic for ABI_AIX. | |
731 | (rs6000_legitimize_address): Formatting. | |
732 | (rs6000_emit_move): Likewise. | |
733 | (rs6000_return_addr): Test ABI_AIX as well as flag_pic. | |
734 | (rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise. | |
735 | (rs6000_elf_select_section): Comment reason for shlib being | |
736 | set for ABI_AIX. | |
737 | (rs6000_elf_unique_section): Likewise. | |
738 | (rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX. | |
739 | * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX | |
740 | as well as flag_pic. | |
741 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise. | |
742 | (MINIMAL_TOC_SECTION_ASM_OP): Likewise. | |
743 | * config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define. | |
744 | ||
599aedd9 RH |
745 | 2003-03-13 Richard Henderson <rth@redhat.com> |
746 | ||
747 | * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly. | |
748 | ||
749 | * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New. | |
750 | (ia64_gp_save_reg): Remove. | |
751 | (struct ia64_frame_info): Move to the beginning of the file; | |
752 | add reg_save_gp. | |
753 | (ia64_expand_call): Rearrange for new call patterns. | |
754 | (ia64_reload_gp): New. | |
755 | (ia64_split_call): New. | |
756 | (ia64_compute_frame_size): Allocate reg_save_gp. | |
757 | (ia64_expand_prologue): Save reg_save_gp. | |
758 | (ia64_expand_epilogue): Don't restore gp. | |
759 | (ia64_hard_regno_rename_ok): Remove R4 hack. | |
760 | (ia64_function_ok_for_sibcall): New. | |
1fe668e5 | 761 | (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos; |
599aedd9 RH |
762 | call try_split on sibcall pattern. |
763 | * config/ia64/ia64-protos.h: Update. | |
764 | * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp): | |
765 | Rename from nopic versions. Confiscate 2nd argument to call as | |
766 | a marker. | |
767 | (call_pic, call_value_pic, sibcall_pic): Remove. | |
768 | (call_gp, call_value_gp, sibcall_gp): New. | |
769 | (builtin_setjmp_setup): Remove. | |
770 | (builtin_setjmp_receiver): Call ia64_reload_gp. | |
771 | ||
e7d9d16b NN |
772 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
773 | ||
1fe668e5 | 774 | * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, |
2ff8f7ac NN |
775 | config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace |
776 | "GNU CC" with "GCC". | |
777 | ||
4db9c756 NN |
778 | * config/c4x/c4x-c.c, config/c4x/c4x-modes.def, |
779 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
780 | config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h: | |
781 | GCC, not GNU CC. | |
782 | ||
63b025a5 NN |
783 | * genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h, |
784 | langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC". | |
785 | ||
54a7b573 NN |
786 | * c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c, |
787 | langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c, | |
788 | unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace | |
789 | "GNU CC" with "GCC". | |
790 | ||
301ee2f3 NN |
791 | * config/v850/lib1funcs.asm, config/v850/rtems.h, |
792 | config/v850/v850-c.c, config/v850/v850-protos.h, | |
793 | config/v850/v850.c, config/v850/v850.h, config/v850/v850.md: | |
794 | GCC, not GNU CC. | |
795 | ||
e7d9d16b NN |
796 | * config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h, |
797 | config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h, | |
798 | config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c, | |
799 | config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not | |
800 | GNU CC. | |
801 | ||
93c98498 BK |
802 | 2003-03-12 Benjamin Kosnik <bkoz@redhat.com> |
803 | ||
804 | * cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING. | |
805 | ||
e531258e NN |
806 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
807 | ||
706ae11c NN |
808 | * fixinc/fixinc.interix: Remove dead code (most of it). |
809 | * fixinc/fixinc.dgux: Remove. | |
810 | ||
e531258e NN |
811 | * ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h, |
812 | ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC. | |
813 | ||
eab9e742 JDA |
814 | 2003-03-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
815 | ||
816 | * pa.c (pa_init_builtins): Fix warning. | |
817 | ||
03d0dce1 SE |
818 | 2003-03-12 Steve Ellcey <sje@cup.hp.com> |
819 | ||
820 | * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove. | |
821 | (ASM_OUTPUT_XDATA_SHORT): Remove. | |
822 | (ASM_OUTPUT_XDATA_INT): Remove. | |
823 | (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove. | |
824 | (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs. | |
825 | (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers. | |
826 | (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement. | |
827 | ||
847311f4 AL |
828 | 2003-03-12 Andrew Lewycky <andrew@mxc.ca> |
829 | ||
830 | PR c++/7050 | |
831 | * expr.c (store_expr): Don't attempt to store void-typed trees, | |
832 | just evaluate them for side effects. | |
833 | ||
c19b12cb NB |
834 | 2003-03-12 Neil Booth <neil@daikokuya.co.uk> |
835 | ||
836 | * cppfiles.c (cpp_rename_file, cpp_push_include): New. | |
837 | * cppinit.c (push_include): Move with changes to cppfiles.c. | |
838 | (cpp_read_main_file): Mark named operators here... | |
839 | (cpp_finish_options): ...not here. Update. | |
840 | (_cpp_maybe_push_include_file): Update. | |
841 | * cpplib.h (cpp_push_include, cpp_rename_file): New. | |
842 | ||
ad9c4d9f NN |
843 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
844 | ||
847311f4 AL |
845 | * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, |
846 | _gcc_COMPUTE_GAS_VERSION. | |
847 | * configure.in: Use them. | |
848 | * configure: Regenerate. | |
ad9c4d9f | 849 | |
8d49831d BW |
850 | 2003-03-12 Bob Wilson <bob.wilson@acm.org> |
851 | ||
d2184e79 | 852 | * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used |
8d49831d | 853 | to detect carry. |
d2184e79 | 854 | (subdi3): Reorder emitted instructions. |
8d49831d | 855 | |
bfa2615f AJ |
856 | 2003-03-12 Andreas Jaeger <aj@suse.de> |
857 | ||
858 | * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to | |
859 | NETBSD_OS_CPP_BUILTINS_LP64. | |
860 | ||
73458fb7 NN |
861 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
862 | ||
863 | * Makefile.in: Eliminate all.indirect. Update and clean up comments. | |
864 | Rearrange. Reorganize. | |
865 | * configure.in: Rearrange. | |
866 | * configure: Regenerate. | |
867 | ||
00530a21 AJ |
868 | 2003-03-12 Andreas Jaeger <aj@suse.de> |
869 | ||
d2184e79 AH |
870 | * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for |
871 | LP64 targets. | |
00530a21 | 872 | |
d2184e79 AH |
873 | * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and |
874 | _LP64. | |
00530a21 | 875 | |
d2184e79 AH |
876 | * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define |
877 | _LP64 macros here. | |
878 | * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise. | |
00530a21 | 879 | |
d2184e79 AH |
880 | * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to |
881 | NETBSD_OS_CPP_BUILTINS_LP64. | |
882 | * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
883 | * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
00530a21 | 884 | |
d2184e79 | 885 | * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove. |
00530a21 | 886 | |
5474eed5 JH |
887 | Wed Mar 12 19:04:39 CET 2003 Jan Hubicka <jh@suse.cz> |
888 | ||
889 | * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128. | |
890 | ||
8c35a61a | 891 | 2003-03-12 Daniel Jacobowitz <drow@mvista.com> |
59a7f9bf DJ |
892 | |
893 | Fix PR target/9797 and PR c/9853. | |
894 | * stmt.c (expand_decl_init): Call push_temp_slots () and | |
895 | pop_temp_slots (). | |
896 | ||
1aa03f38 R |
897 | Wed Mar 12 16:30:25 2003 J"orn Rennecke <joern.rennecke@superh.com> |
898 | ||
899 | * sh.c: Include basic-block.h. | |
900 | (sh_output_mi_thunk, emit_load_ptr): New functions. | |
901 | (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine. | |
902 | ||
6f8c9bd1 NC |
903 | 2003-03-12 Nick Clifton <nickc@redhat.com> |
904 | ||
905 | * config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers. | |
906 | (CALL_USED_REGISTERS): Likewise. | |
907 | * config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment | |
908 | describing how this value is calculated. | |
909 | ||
b2522d2b HPN |
910 | 2003-03-12 Hans-Peter Nilsson <hp@bitrange.com> |
911 | ||
912 | * configure.in (rlim_t): Define to long if no valid definition | |
913 | found in sys/resource.h. | |
914 | * config.in, configure: Regenerate. | |
915 | ||
f7248b51 NB |
916 | 2003-03-12 Neil Booth <neil@daikokuya.co.uk> |
917 | ||
918 | * config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with | |
919 | TARGET_OS_CPP_BUILTINS. | |
920 | * config/mcore/mcore-pe.h: Similarly. | |
921 | * config/mcore/mcore.h: Replace CPP_PREDEFINES and part of | |
922 | CPP_SPEC with TARGET_CPU_CPP_BUILTINS. | |
923 | ||
8a7d6cb3 EB |
924 | 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
925 | ||
926 | PR c/9928 | |
927 | * c-decl.c (duplicate_decls): Discard the initializer of the new decl | |
928 | only if it is a VAR_DECL. | |
929 | ||
db1077d3 EB |
930 | 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
931 | ||
932 | PR optimization/9888 | |
933 | * config/i386/i386.md (jcc_1): Fix range. | |
934 | (jcc_2): Likewise. | |
935 | (jump): LIkewise. | |
936 | (doloop_end_internal): Likewise. | |
937 | ||
6ca23bff | 938 | 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net> |
1fe668e5 | 939 | |
6ca23bff DS |
940 | * config/i386/winnt.c (DLL_IMPORT_PREFIX): New define. |
941 | Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e." | |
942 | (DLL_EXPORT_PREFIX): New define. Use throughout instead of | |
943 | DLL_IMPORT_EXPORT_PREFIX and "i." | |
944 | (i386_pe_dllexport_name_p): Here. | |
945 | (i386_pe_dllimport_name_p): Here. | |
d2184e79 | 946 | (i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX, |
6ca23bff DS |
947 | not 9 chars when getting identifier name. |
948 | (i386_pe_mark_dllimport): Here. | |
949 | (i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX, | |
950 | not 9 chars when getting identifier name. Correct comment. | |
951 | (i386_pe_strip_name_encoding): Here. Add comments for different | |
952 | cases. | |
953 | (gen_fastcall_suffix): Break down xmalloc() argument to | |
954 | components. | |
955 | (gen_stdcall_suffix): Likewise. | |
956 | Update copyright year. | |
957 | ||
9b73c90a EB |
958 | 2003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
959 | ||
960 | PR optimization/9888 | |
961 | * config/i386/i386.md (movsi_1): Remove special alternatives | |
962 | for %eax register. | |
963 | (movsi_1_nointernunit): Likewise. | |
964 | (movhi_1): Likewise. | |
965 | * config/i386/i386.c (memory_address_length): Do not use | |
966 | short displacement when there is no base. | |
967 | (ix86_attr_length_address_default): Handle LEA instructions. | |
968 | ||
21282b1e NB |
969 | 2003-03-12 Neil Booth <neil@daikokuya.co.uk> |
970 | ||
971 | * c-cppbuiltin.c (builtin_define_std): Make non-static. | |
972 | ||
7358f10d LR |
973 | 2003-03-11 Loren James Rittle <ljrittle@acm.org> |
974 | ||
975 | * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove. | |
976 | (FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro. | |
977 | (FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro. | |
978 | * config/freebsd.h (CPP_PREDEFINES): Remove. | |
979 | (TARGET_OS_CPP_BUILTINS): New. | |
980 | * config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS | |
981 | instead of TARGET_OS_CPP_BUILTINS. | |
982 | * config/sparc/freebsd.h (CPP_PREDEFINES): Remove. | |
983 | ||
d00bc0a2 GK |
984 | 2003-03-11 Geoffrey Keating <geoffk@apple.com> |
985 | ||
986 | * c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED. | |
987 | ||
9b7b447f AH |
988 | 2003-03-11 Aldy Hernandez <aldyh@redhat.com> |
989 | ||
d2184e79 AH |
990 | * config/rs6000/rs6000.c (rs6000_stack_info): Remove |
991 | insn_chain_scanned. Use insn_chain_scanned_p in machine_function. | |
9b7b447f | 992 | |
d2184e79 | 993 | * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p. |
9b7b447f | 994 | |
18a47d21 AO |
995 | Tue Mar 11 21:19:03 2003 Alexandre Oliva <aoliva@redhat.com> |
996 | ||
997 | * toplev.c (independent_decode_option): Return success for --help, | |
998 | --target-help and --version. | |
999 | ||
c0a579df AO |
1000 | Tue Mar 11 20:20:14 2003 Alexandre Oliva <aoliva@redhat.com> |
1001 | ||
1002 | * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec. | |
1003 | Default to -mips3 on -mabi=64. Don't add -mips* flag if -march is | |
1004 | specified. | |
1005 | (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by | |
1006 | DRIVER_SELF_SPECS. | |
1007 | (LINK_SPEC): Let endian options affect the linker emulation name. | |
1008 | ||
ea45c4b0 R |
1009 | Tue Mar 11 22:35:39 2003 J"orn Rennecke <joern.rennecke@superh.com> |
1010 | ||
1011 | * sh.md (reload_inqi): Fix mode for source in second set. | |
1012 | ||
7101fb18 JH |
1013 | Tue Mar 11 22:48:03 CET 2003 Jan Hubicka <jh@suse.cz> |
1014 | ||
1015 | * cselib.c (cselib_invalidate_mem_1): Move too ... | |
1016 | (cselib_invalidate_mem): ... here; use new list | |
1017 | (dummy_val, first_containing_mem): New static variables. | |
1018 | (clear_table): Initialize first_containing_mem. | |
1019 | (discard_useless_values): Compact the containing_mem list. | |
1020 | (add_mem_for_addr): Add to the list. | |
1021 | * cselib.h (cselib_val): Add next_containing_mem. | |
1022 | ||
b5044283 AH |
1023 | 2003-03-11 Aldy Hernandez <aldyh@redhat.com> |
1024 | ||
d2184e79 AH |
1025 | * config/rs6000/rs6000.c (rs6000_override_options): Disable string |
1026 | instructions for e500. | |
b5044283 | 1027 | |
cd6a5007 NB |
1028 | 2003-03-11 Neil Booth <neil@daikokuya.co.uk> |
1029 | ||
1030 | * Makefile.in: Update. | |
1031 | * c-cppbuiltin.c: Include tm_p.h. | |
1032 | ||
41f3a930 AH |
1033 | 2003-03-11 Aldy Hernandez <aldyh@redhat.com> |
1034 | ||
d2184e79 | 1035 | * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN. |
41f3a930 | 1036 | |
d2184e79 AH |
1037 | * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define. |
1038 | (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN. | |
1039 | (_Unwind_SetGR): Same. | |
1040 | (_Unwind_GetGRPtr): New. | |
1041 | (_Unwind_SetGRPtr): New. | |
1042 | (uw_update_context_1): Use accesor functions instead of accessing | |
1043 | context->reg[] directly. | |
1044 | (uw_install_context_1): Same. | |
1045 | (execute_cfa_program): Same. | |
1046 | (__frame_state_for): Same. | |
41f3a930 | 1047 | |
d2184e79 AH |
1048 | * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as |
1049 | the synthetic register offset. | |
41f3a930 | 1050 | |
d2184e79 | 1051 | * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New. |
41f3a930 | 1052 | |
d2f55c5c HPN |
1053 | 2003-03-11 Hans-Peter Nilsson <hp@axis.com> |
1054 | ||
1055 | * config/cris/cris.md: Remove lingering EGCS reference. | |
1056 | ("*extopqihi_side_biap"): For HI operation, match | |
1057 | cris_additive_operand_extend_operator, not | |
1058 | cris_operand_extend_operator. Adjust condition. | |
1059 | ("*extopqihi_side", "*extopqihi"): Ditto. | |
1060 | ("*extopqisi_side_biap"): Correct operand numbers in condition. | |
1061 | ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto. | |
1062 | ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto. | |
1063 | ("*extophisi_swap"): Ditto. | |
1064 | ("*extopqihi_swap_side_biap"): For HI operation, match a simple | |
1065 | PLUS, not cris_operand_extend_operator. Adjust condition and | |
1066 | output template. | |
1067 | ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto. | |
1068 | * config/cris/cris.h (PREDICATE_CODES): Add | |
1069 | cris_additive_operand_extend_operator. | |
1070 | * config/cris/cris.c (cris_additive_operand_extend_operator): | |
1071 | New predicate. | |
1072 | ||
37bd08f8 HP |
1073 | 2003-03-11 Hartmut Penner <hpenner@de.ibm.com> |
1074 | ||
1075 | * df.c (read_modify_subreg_p): Change from static to global. | |
1076 | * df.h (read_modify_subreg_p): Add prototype. | |
1077 | * sched-deps.c (sched_analyze_1): Generate true dependency for | |
1fe668e5 | 1078 | strict_low_part, certain subregs and zero/sign_extract. |
37bd08f8 | 1079 | |
cb60f38d NB |
1080 | 2003-03-11 Neil Booth <neil@daikokuya.co.uk> |
1081 | ||
1082 | * Makefile.in: Update. | |
1083 | * c-common.c: Don't include real.h or except.h. | |
1084 | (REGISTER_PREFIX): Remove. | |
1085 | (builtin_define_std, builtin_define_with_value, | |
1086 | builtin_define_with_int_value, builtin_define_with_hex_fp_value, | |
1087 | builtin_define_type_max, builtin_define_type_precision, | |
1088 | builtin_define_float_constants): Move to c-cppbuiltin.c. | |
1089 | (c_stddef_cpp_builtins): New. | |
1090 | * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New. | |
1091 | * c-cppbuiltin.c: New, extracted from c-common.c. | |
1092 | (define__GNUC__): New. | |
1093 | * cppspec.c (lang_specific_driver): Remove support of -no-gcc. | |
1094 | * gcc.c: Remove support of %v1, %v2 and %v3 specs. | |
1095 | (cpp_unique_options): Don't support no-gcc. | |
1096 | (do_spec_1): Remove support of version specs. | |
1097 | * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3. | |
1098 | * doc/passes.texi: Update. | |
1099 | * doc/tm.texi: Update. | |
1100 | ||
31ca3635 AH |
1101 | 2003-03-10 Aldy Hernandez <aldyh@redhat.com> |
1102 | ||
d2184e79 | 1103 | * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko. |
31ca3635 | 1104 | |
ab82a49f AP |
1105 | 2003-03-10 Andrew Pinski <apinski@apple.com> |
1106 | ||
1107 | * config/darwin.c (machopic_function_base_name): If dynamic-no-pic | |
1108 | is on should not get here. | |
1109 | (machopic_indirect_data_reference): If dynamic-no-pic is on just | |
1110 | generate high/low parts of the address. | |
1111 | (machopic_legitimize_pic_address): Change MACHOPIC_PURE to | |
1112 | MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate | |
1113 | symbol and labels with a new reg. Dynamic-no-pic does not have a | |
1114 | pic_offset_table_rtx. | |
1115 | (machopic_select_section): Change references of flag_pic to | |
1fe668e5 | 1116 | MACHOPIC_INDIRECT. |
ab82a49f AP |
1117 | (machopic_asm_out_destructor): Likewise. |
1118 | * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change | |
1119 | reference of flag_pic to MACHOPIC_INDIRECT. | |
1120 | (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC. | |
1121 | (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on. | |
1122 | (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on. | |
1123 | (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on. | |
1124 | * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as | |
1125 | 0 for right now as dynamic-no-pic is not implemented on Darwin/ia32. | |
1126 | * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define. | |
1127 | (TARGET_DYNAMIC_NO_PIC): Define. | |
1128 | (SUBTARGET_SWITCHES): Define, have sub-target switches for | |
1fe668e5 | 1129 | dynamic-no-pic. |
ab82a49f AP |
1130 | (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from |
1131 | rs6000_override_options to here. Dynamic-no-pic overrides | |
1132 | pic. | |
1133 | (CC1_SPEC): Change from not static then pic to not static and not | |
1134 | dynamic-no-pic then pic. | |
1135 | * config/rs6000/rs6000.c (rs6000_override_options): Move the | |
1136 | check for -fpic and DARWIN_ABI to config/rs6000/darwin.h | |
1137 | (rs6000_legitimize_reload_address): Add case for loading floating in | |
1138 | dynamic-no-pic. | |
1139 | (rs6000_emit_move): Add case for dynamic-no-pic. Change reference | |
1140 | of flag_pic to MACHOPIC_INDIRECT. | |
1141 | (secondary_reload_class): Conditional change the reference of | |
1142 | flag_pic to MACHOPIC_INDIRECT. | |
1143 | (rs6000_output_mi_thunk): Change reference of flag_pic to | |
1144 | MACHOPIC_INDIRECT. | |
1145 | (output_profile_hook): Likewise. | |
1146 | (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported. | |
1147 | * config/rs6000/rs6000.md (movdf_low): Add the case for | |
1148 | MACHO_DYNAMIC_NO_PIC_P. | |
1149 | (call): Change references for flag_pic in TARGET_MACHO to | |
1150 | MACHOPIC_INDIRECT. | |
1151 | (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and | |
1152 | -mdynamic-no-pic is on. Also move case for -fpic from rs6000.c. | |
1153 | * doc/invoke.texi (-mdynamic-no-pic): Document. | |
87d7d780 DP |
1154 | |
1155 | 2003-03-10 Devang Patel <dpatel@apple.com> | |
1fe668e5 | 1156 | |
87d7d780 DP |
1157 | PR c++/9394 |
1158 | * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove. | |
1159 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove. | |
1160 | * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add. | |
1161 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Add. | |
1162 | * cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove. | |
1163 | (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove. | |
1fe668e5 | 1164 | |
6b856d15 SB |
1165 | 2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl> |
1166 | ||
1167 | PR optimization/7189 | |
1168 | * toplev.c (rest_of_compilation): Move | |
1169 | check_function_return_warnings up to just after | |
1170 | delete_unreachable_blocks. | |
1171 | ||
2d8d15b7 SC |
1172 | 2003-03-10 Stephane Carrez <stcarrez@nerim.fr> |
1173 | ||
1174 | * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define. | |
1175 | * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok): | |
1176 | Declare. | |
1177 | * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function | |
1178 | for reg rename optimization to avoid using Z and Y registers. | |
1179 | ||
0e01d661 SC |
1180 | 2003-03-10 Stephane Carrez <stcarrez@nerim.fr> |
1181 | ||
1182 | * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant | |
1183 | when adding to X and Y since leax/leay are fast. | |
1184 | ("*addhi3"): Accept 'I' constraint when adding to address register. | |
1185 | ("rotlhi3"): Operand 1 must be a register_operand. | |
1186 | (peephole2): New peephole to optimize some adds. | |
1187 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint | |
1188 | to represent -2 .. 2 small integer range. | |
1189 | ||
ae5b570e SC |
1190 | 2003-03-10 Stephane Carrez <stcarrez@nerim.fr> |
1191 | ||
1192 | * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before | |
1193 | each 16-bit rotation. | |
1194 | ||
52999738 ZW |
1195 | 2003-03-10 Zack Weinberg <zack@codesourcery.com> |
1196 | ||
1197 | * c-opts.c (add_prefixed_path): Don't use concat. When | |
1198 | prefixing with cpp_GCC_INCLUDE_DIR, copy only the first | |
1199 | cpp_GCC_INCLUDE_DIR_len characters. | |
1200 | ||
5c242421 SB |
1201 | 2003-03-10 Segher Boessenkool <segher@koffie.nl> |
1202 | ||
52999738 | 1203 | * testsuite/gcc.dg/altivec-9.c: New file. |
5c242421 | 1204 | |
52999738 ZW |
1205 | * config/rs6000/rs6000.c (altivec_frame_fixup): Remove. |
1206 | (rs6000_emit_prologue): Use rs6000_frame_related instead. | |
5c242421 | 1207 | |
b4053702 AH |
1208 | 2003-03-10 Aldy Hernandez <aldyh@redhat.com> |
1209 | ||
52999738 ZW |
1210 | * config/rs6000/spe.h: Define __ev64_*64__ to use single element |
1211 | vectors. | |
1212 | (__ev_convert_u64): Remove macro. Define as inline. | |
1213 | (__ev_convert_s64): Same. | |
b4053702 | 1214 | |
c19de7aa AH |
1215 | 2003-03-10 Aldy Hernandez <aldyh@redhat.com> |
1216 | ||
52999738 ZW |
1217 | * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define. |
1218 | (rs6000_stack_t): Add spe_64bit_regs_used. | |
c19de7aa | 1219 | |
52999738 ZW |
1220 | * config/rs6000/rs6000.c (rs6000_stack_info): Calculate |
1221 | spe_64bit_regs_used, and use it to determine the size of the | |
1222 | frame. | |
1223 | (spe_func_has_64bit_regs_p): New. | |
1224 | (spe_synthesize_frame_save): New. | |
1225 | (rs6000_frame_related): Handle SPE synthetic registers. | |
1226 | (rs6000_emit_prologue): Only save in 64-bits if the function used | |
1227 | any registers in 64-bit mode. | |
1228 | (rs6000_emit_epilogue): Same, but for restore. | |
c19de7aa | 1229 | |
29ad9694 RE |
1230 | 2003-03-10 Richard Earnshaw <rearnsha@arm.com> |
1231 | ||
1232 | * arm.h (enum floating_point_type): Delete. Replace with... | |
1233 | (enum fputype): ... new. | |
1234 | (FPUTYPE_DEFAULT): Renamed from FP_DEFAULT. Values reworked. | |
1235 | * linux-elf.h (FPUTYPE_DEFAULT): Likewise. | |
1236 | * arm.md (attr fpu): Reworked for new underlying enum values. | |
1237 | * arm.c (arm_fpu_arch): Now enum fputype. | |
1238 | (arm_fpu_tune): Renamed from arm_fpu. Now enum fputype. | |
1239 | (arm_override_options, arm_output_epilogue, arm_expand_prologue): | |
1240 | Update uses of arm_fpu_arch and arm_fpu_tune. | |
1241 | ||
39811184 JZ |
1242 | 2003-03-10 Josef Zlomek <zlomekj@suse.cz> |
1243 | ||
52999738 | 1244 | * cfgcleanup.c (outgoing_edges_match): Compare the jump tables. |
39811184 JZ |
1245 | (try_crossjump_to_edge): Replace refereces to one jump table by |
1246 | references to identical jump table. | |
1247 | * loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label. | |
1248 | (replace_label): Moved to rtlanal.c. | |
1249 | (struct rtx_pair): Moved to rtl.h. | |
52999738 | 1250 | * rtl.h (struct rtx_pair): Moved from loop.c. |
39811184 JZ |
1251 | (replace_label): New extern function. |
1252 | (subrtx_p): New extern function. | |
1253 | (tablejump_p): New extern function. | |
52999738 | 1254 | * rtlanal.c (replace_label): Moved from loop.c. |
39811184 JZ |
1255 | (subrtx_p_1): New static function. |
1256 | (subrtx_p): New function. | |
1257 | (tablejump_p): New function. | |
1258 | ||
ec3ae3da JH |
1259 | Mon Mar 10 15:30:36 CET 2003 Jan Hubicka <jh@suse.cz> |
1260 | ||
912b79e7 JH |
1261 | * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch. |
1262 | ||
ec3ae3da JH |
1263 | * cfgcleanup.c (merge_blocks): Return where to iterate next. |
1264 | (try_optimize_cfg): Use return value of merge_blocks | |
1265 | ||
e0fd3e7a MM |
1266 | 2003-03-10 Michael Matz <matz@suse.de> |
1267 | ||
1268 | * cfg.c (unchecked_make_edge): New. | |
1269 | (cached_make_edge): Use it. | |
1270 | * basic-block.h (unchecked_make_edge): Declare. | |
1271 | * cfglayout.c (cfg_layout_duplicate_bb): Use it. | |
1272 | ||
82955615 RE |
1273 | 2003-03-10 Richard Earnshaw <rearnsha@arm.com> |
1274 | ||
1275 | * fpa.md: New file. Move all patterns relating to FPA co-processor | |
1276 | to here... | |
1277 | * arm.md: ... from here. | |
1278 | (cirrus.md, fpa.md): Include at end of description. | |
1279 | (divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands. | |
1280 | (pic_load_addr_based): Remove register constraint from expander. | |
1281 | (seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered) | |
1282 | (sordered, sungt, sunle, sunge, sunlt): Likewise. | |
1283 | (eh_epilogue, tablejump): Likewise. | |
1284 | ||
f7b3ab8a DE |
1285 | 2003-03-09 David Edelsohn <edelsohn@gnu.org> |
1286 | Mostafa Hagog | |
1287 | ||
1288 | * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final | |
1289 | condition. | |
1290 | ||
cc956ba2 NB |
1291 | 2003-03-09 Neil Booth <neil@daikokuya.co.uk> |
1292 | ||
1293 | * config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES. | |
1294 | * config/ip2k/ip2k.h: Similarly. | |
1295 | * config/m32r/m32r.h: Similarly. | |
1296 | * config/m68hc11/m68hc11.h: Similarly. | |
1297 | * config/mn10200/mn10200.h: Similarly. | |
1298 | * config/mn10300/mn10300.h: Similarly. | |
1299 | * config/pdp11/pdp11.h: Similarly. | |
1300 | * config/v850/v850.h: Similarly. | |
1301 | * config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS. | |
1302 | * config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS. | |
1303 | * config/mips/iris3.h: Remove #if 0 block. | |
1304 | ||
1305 | 2003-03-09 Roger Sayle <roger@eyesopen.com> | |
1306 | Joern Rennecke <joern.rennecke@superh.com> | |
1307 | ||
1308 | * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle | |
1309 | pending argument upon return from handle_braces here. | |
1310 | (do_spec_2): Instead handle it upon return from do_spec_1 here. | |
1311 | ||
6544fbcb RS |
1312 | 2003-03-09 Roger Sayle <roger@eyesopen.com> |
1313 | Joern Rennecke <joern.rennecke@superh.com> | |
1314 | ||
1315 | * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle | |
1316 | pending argument upon return from handle_braces here. | |
1317 | (do_spec_2): Instead handle it upon return from do_spec_1 here. | |
1318 | ||
e1a04212 FS |
1319 | 2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1320 | ||
1321 | * varasm.c (make_decl_one_only): Use declare_weak(). | |
1322 | ||
4677862a JDA |
1323 | 2003-03-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1324 | ||
1325 | PR middle-end/9986 | |
1326 | * c-common.c (c_common_nodes_and_builtins): Initialize target builtins | |
1327 | after the common builtins. | |
1328 | * pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define. | |
1329 | * pa.c (TARGET_INIT_BUILTINS): Define. | |
1330 | (pa_init_builtins): New function. | |
1331 | ||
1332 | * pa.md (call, call_value, sibcall, sibcall_value): When sufficient | |
1333 | space has been allocated for the outgoing arguments, set the arg | |
1334 | pointer for a call emitted after virtuals have been instantiated | |
1335 | using the stack pointer offset, otherwise abort. | |
1336 | ||
2de12bc4 DD |
1337 | 2003-03-09 DJ Delorie <dj@redhat.com> |
1338 | ||
1339 | * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert. | |
1340 | ||
17136dde RE |
1341 | 2003-03-09 Richard Earnshaw <rearnsha@arm.com> |
1342 | ||
1343 | * arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2) | |
1344 | (arm_fix_truncdfsi2): Add missing fix in floating point mode before | |
1345 | conversion to integer. | |
1346 | * cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise. | |
1347 | ||
f937d5e6 RS |
1348 | 2003-03-09 Roger Sayle <roger@eyesopen.com> |
1349 | ||
1350 | * builtins.def: Fix typo and improve grammar. | |
1351 | * loop-unroll.c (decide_peel_completely): Tidy log message. | |
1352 | ||
c5979bc6 KH |
1353 | 2003-03-09 Kazu Hirata <kazu@cs.umass.edu> |
1354 | ||
1355 | * config/h8300/h8300.md (*tstsi_upper_bit): New. | |
1356 | (*iorsi3_e2f): Likewise. | |
1357 | ||
4f4ebda3 KH |
1358 | 2003-03-08 Kazu Hirata <kazu@cs.umass.edu> |
1359 | ||
1360 | * config/h8300/h8300.c (h8300_and_costs): Return the number of | |
1361 | assembly instructions needed. | |
1362 | (h8300_shift_costs): Likewise. | |
1363 | ||
c366ade5 HPN |
1364 | 2003-03-09 Hans-Peter Nilsson <hp@bitrange.com> |
1365 | ||
02af0d9b HPN |
1366 | * config/cris/aout.h (ENDFILE_SPEC): Undef. |
1367 | ||
a3600c71 HPN |
1368 | * optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC |
1369 | moves from here ... | |
1370 | * expr.c (emit_move_insn_1): ... to here. | |
1371 | ||
a6e464ae HPN |
1372 | * config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to... |
1373 | (TARGET_OS_CPP_BUILTINS): New macro. | |
1374 | * config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to... | |
1375 | (TARGET_OS_CPP_BUILTINS): New macro. | |
1376 | (CPP_PREDEFINES): Don't define. Move old definitions and... | |
1377 | (CPP_SPEC): ...move -D__CRIS_ABI_version=2 to... | |
1378 | (TARGET_CPU_CPP_BUILTINS): New macro. | |
1379 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant | |
1380 | definitions and the optional __PIC__, __pic__ and | |
1381 | __NO_UNDERSCORES__ definitions to... | |
1382 | (TARGET_OS_CPP_BUILTINS): New macro. | |
1383 | ||
d8a25128 HPN |
1384 | * flags.h (flag_leading_underscore): Declare. |
1385 | ||
c366ade5 HPN |
1386 | * c-opts.c (c_common_post_options): On fopen failure, return |
1387 | false, not NULL. | |
1388 | ||
32b0bbaa HPN |
1389 | 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com> |
1390 | ||
1391 | * config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not | |
1392 | config.h. | |
1393 | * config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here. | |
1394 | * config/cris/aout.h (HAVE_GAS_HIDDEN): Undef. | |
1395 | ||
ad220576 NB |
1396 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
1397 | ||
1398 | * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of | |
1399 | CPP_PREDEFINES. | |
1400 | * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of | |
1401 | CPP_PREDEFINES. | |
1402 | ||
4bfec483 NB |
1403 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
1404 | ||
1405 | * c-common.h (c_common_init, c_common_post_options): Update. | |
1406 | * c-objc-common.c (c_objc_common_init): Update for new prototype. | |
1407 | * c-opts.c (saved_lineno): New. | |
1408 | (c_common_post_options, c_common_init): Update prototypes, | |
1409 | move call to cpp_read_main_file from latter to former. | |
1410 | * c-tree.h (c_ojbc_common_init): Update. | |
1411 | * langhooks-def.h (lhd_post_options): New. | |
1412 | (LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update. | |
1413 | * langhooks.c (lhd_post_options): New. | |
1414 | * langhooks.h (struct lang_hooks): Update post_options and init hooks. | |
1415 | * toplev.c (no_backend): New. | |
1416 | (process_options): Call post_options hook and set main_input_filename | |
1417 | and input_filename here. | |
1418 | (lang_dependent_init, do_compile): post_options hook moved to | |
1419 | process_options. | |
1420 | * objc/objc-act.c (objc_init): Update prototype. | |
1421 | * objc/objc-act.h (objc_init): Update prototype. | |
1422 | ||
9dd04ab5 RS |
1423 | 2003-03-08 Roger Sayle <roger@eyesopen.com> |
1424 | ||
1425 | * emit-rtl.c (gen_lowpart): Don't attempt to load a part of | |
1426 | a complex or vector type, using a load in the original mode. | |
1427 | ||
988d1653 JH |
1428 | Sat Mar 8 19:22:30 CET 2003 Jan Hubicka <jh@suse.cz> |
1429 | ||
1430 | * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h. | |
1431 | * gt-cgraph.h: New GC file. | |
1432 | * cgraph.c (known_fns): New static variable. | |
1433 | (cgraph_node): Add the decl into varray. | |
1434 | ||
73ba39fc HPN |
1435 | 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com> |
1436 | ||
1437 | * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives. | |
1438 | ||
3b684012 RE |
1439 | 2003-03-08 Richard Earnshaw <rearnsha@arm.com> |
1440 | ||
1441 | * arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa) | |
1442 | (neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm) | |
1443 | (output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm) | |
1444 | (output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu. | |
1445 | All callers changed. | |
1446 | * arm.md, arm.h, arm-protos.h: Updated. | |
1447 | ||
1448 | * arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS. | |
1449 | (CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated. | |
1450 | * arm.c (arm_regno_class, f_register_operand): Updated. | |
1451 | ||
fa5848c7 HPN |
1452 | 2003-03-08 Hans-Peter Nilsson <hp@bitrange.com> |
1453 | ||
1454 | * config/cris/cris.h: Remove EGCS references. | |
1fe668e5 | 1455 | (CPP_SPEC): Remove "-$". |
fa5848c7 HPN |
1456 | (INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL. |
1457 | ||
4555be98 NB |
1458 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
1459 | ||
1460 | * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in | |
1461 | preference to CPP_PREDEFINES. | |
1462 | ||
39a91264 NB |
1463 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
1464 | ||
1465 | * cppinit.c (cpp_finish_options): Set first_unused_line to -1. | |
1466 | ||
9571a6b9 KH |
1467 | 2003-03-08 Kazu Hirata <kazu@cs.umass.edu> |
1468 | ||
1469 | * config/h8300/h8300.md (*extzv_16_8): New. | |
1470 | ||
18d13f34 JH |
1471 | Sat Mar 8 14:13:35 CET 2003 Jan Hubicka <jh@suse.cz> |
1472 | ||
1473 | * c-decl.c: (finish_function): Update call of tree_inlinable_function_p. | |
1474 | * cgraph.h: (cgraph_local_info): Add can_inline_once | |
1475 | (cgraph_global_info): Add inline_once. | |
1476 | (cgraph_node): Add previous. | |
1477 | (cgraph_remove_node): New. | |
1478 | * cgraphunit.c (cgraph_mark_functions_to_inline_once): New static | |
1479 | function. | |
1480 | (cgraph_optimize): Call it. | |
1481 | (cgraph_finalize_function): Set inlinable flags. | |
1482 | (cgraph_finalize_compilation_unit): Actually remove the reclaimed nodes. | |
1483 | (cgraph_mark_functions_to_output): Use new inlining heuristics flags. | |
1484 | (cgraph_expand_function): Likewise. | |
52999738 | 1485 | * cgraph.c |
18d13f34 JH |
1486 | (cgraph_node): Put nodes into doubly linked chain. |
1487 | (cgraph_remove_node): New function. | |
1488 | * flags.h (flag_inline_functions_called_once): Declare. | |
1489 | * tree-inline.c: Include cgraph.h | |
1490 | (inlinable_functions_p): Add extra argument to bypass limits. | |
1491 | (expand_call_inline): Obey cgraph flag. | |
1492 | * tree-inline.h (tree_inlinable_function_p): Update prototype. | |
1493 | ||
72b8d451 ZD |
1494 | 2003-03-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1495 | ||
1496 | * gcse.c (bypass_block, bypass_conditional_jumps): Do not create | |
1497 | irreducible loops. | |
1498 | ||
1499 | * loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible | |
1500 | loops info correctly. | |
1501 | ||
ed97aa66 EB |
1502 | 2003-03-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
1503 | ||
1504 | PR middle-end/7796 | |
1505 | * unroll.c (calculate_giv_inc): Handle constants being | |
1506 | loaded with LSHIFTRT. | |
1507 | ||
d7b53ca4 DE |
1508 | 2003-03-07 David Edelsohn <edelsohn@gnu.org> |
1509 | ||
1510 | * config/rs6000/rs6000.c (processor_target_table): Do not disable | |
1511 | GP optional instructions on Power3, Power4, 620, and 630. | |
1512 | ||
3dc575ff KH |
1513 | 2003-03-07 Kazu Hirata <kazu@cs.umass.edu> |
1514 | ||
1515 | * calls.c: Fix comment formatting. | |
1516 | * cfgloopanal.c: Likewise. | |
1517 | * cfgloopmanip.c: Likewise. | |
1518 | * combine.c: Likewise. | |
1519 | * dwarf2out.c: Likewise. | |
1520 | * ggc-common.c: Likewise. | |
1521 | * langhooks.c: Likewise. | |
1522 | * loop-unroll.c: Likewise. | |
1523 | * loop.c: Likewise. | |
1524 | * ra-build.c: Likewise. | |
1525 | * sbitmap.c: Likewise. | |
1526 | * toplev.c: Likewise. | |
1527 | ||
9bcd9715 JW |
1528 | 2003-03-07 James E Wilson <wilson@tuliptree.org> |
1529 | ||
ed97aa66 | 1530 | * config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count. |
9bcd9715 | 1531 | |
6e5c4eaf GK |
1532 | 2003-03-07 Geoffrey Keating <geoffk@apple.com> |
1533 | ||
1534 | * objc/lang-specs.h (objective-c-header): Use .gch not .pch; | |
1535 | support -no-integrated-cpp. | |
1536 | ||
1537 | * c-pch.c (get_ident): Use c_language_kind and flag_objc rather | |
1538 | than langhooks.name. | |
1539 | ||
50aac998 MM |
1540 | 2003-03-07 Michael Matz <matz@suse.de> |
1541 | ||
1542 | * df.h (enum df_ref_flags.DF_REF_STRIPPED): New. | |
1543 | (DF_FOR_REGALLOC): New. | |
1544 | * df.c (df_ref_record): Set DF_REF_STRIPPED. | |
1545 | (read_modify_subreg_p): Simplify. | |
1546 | (df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often. | |
1547 | Use DF_FOR_REGALLOC. | |
1548 | * ra.h (struct web): New member subreg_stripped. | |
1549 | (invalid_mode_change_regs): Declare. | |
1550 | * ra.c (invalid_mode_change_regs): New. | |
1551 | (init_ra): Initialize it. | |
1552 | * ra-build.c (init_one_web_common, remember_web_was_spilled): Use it. | |
1553 | Use CANNOT_CHANGE_MODE_CLASS as ifdef guard. | |
1554 | (reinit_one_web, parts_to_web_1): Deal with subreg_stripped. | |
1555 | * ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs. | |
1556 | Use CANNOT_CHANGE_MODE_CLASS as ifdef guard. | |
1557 | ||
37f74dcf RE |
1558 | 2003-03-07 Richard Earnshaw <rearnsha@arm.com> |
1559 | ||
1560 | * arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2) | |
1561 | (negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2) | |
1562 | (fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main | |
1563 | machine description file from ... | |
1564 | * cirrus.md: ... here. | |
1565 | ||
203b3521 KH |
1566 | 2003-03-06 Kazu Hirata <kazu@cs.umass.edu> |
1567 | ||
1568 | * config/h8300/h8300.md (a peephole2): Don't use | |
1569 | reg_overlap_mentioned_p. | |
1570 | ||
8643e92d GK |
1571 | 2003-03-06 Geoffrey Keating <geoffk@apple.com> |
1572 | ||
1573 | * c-pch.c: Include langhooks.h. | |
1574 | (IDENT_LENGTH): New. | |
1575 | (get_ident): New. | |
1576 | (pch_ident): Delete. | |
1577 | (pch_init): Use get_ident, IDENT_LENGTH. | |
1578 | (c_common_valid_pch): Likewise. Also, use actual language | |
1579 | in warning message. | |
1580 | * Makefile.in (c-pch.o): Add langhooks.h to dependencies. | |
1581 | ||
1582 | * objc/config-lang.in (gtfiles): Add objc-act.c. Remove duplicate | |
1583 | c-parse.in. | |
1584 | * objc/Make-lang.in (objc/objc-act.o): Add dependency on | |
1585 | gt-objc-objc-act.h. | |
1586 | (gt-objc-objc-act.h): New rule. | |
1587 | * objc/lang-specs.h: Support PCH. | |
1588 | * objc/objc-act.c: Include gt-objc-objc-act.h. | |
1589 | (objc_add_static_instance): Move num_static_inst out, mark for PCH. | |
1590 | (build_selector_reference_decl): Move idx out, mark for PCH. | |
1591 | (build_class_reference_decl): Likewise. | |
1592 | (build_objc_string_decl): Move *_idx out, mark for PCH. | |
1593 | (build_tmp_function_decl): Move xxx out, mark for PCH. | |
1594 | ||
7f3d8013 DJ |
1595 | 2003-03-06 Dale Johannesen <dalej@apple.com> |
1596 | ||
1597 | * config/rs6000/rs6000.c (rs6000_binds_local_p): Consider | |
1598 | global functions for inlining on Darwin. | |
1599 | ||
14484a78 VM |
1600 | 2003-03-06 Vladimir Makarov <vmakarov@redhat.com> |
1601 | ||
1602 | * haifa-sched.c (schedule_block): Don't call reorder when sorting | |
1603 | is prohibited. | |
1604 | ||
9d10c9a9 NB |
1605 | 2003-03-06 Neil Booth <neil@daikokuya.co.uk> |
1606 | ||
1607 | * Makefile.in (c-ppoutput.o): Update. | |
1608 | * c-common.h (init_pp_output): New. | |
1609 | (preprocess_file): Update. | |
1610 | * c-lex.c (init_c_lex): Move mbchar initialization to cpplib. | |
1611 | Register builtins. | |
1612 | * c-opts.c (c_common_init): Call init_pp_output if preprocessing. | |
1613 | Make call to cpp_read_main_file common to whether preprocessing | |
1614 | or not. Don't register builtins. | |
1615 | * c-ppoutput.c: Include c-pragma.h. | |
1616 | (setup_callbacks): Rename init_pp_output. | |
1617 | (preprocess_file): No longer setup callbacks or call | |
1618 | cpp_read_main_file. | |
1619 | * cpphash.h (_cpp_init_mbchar): New. | |
1620 | * cppinit.c (init_library): Call _cpp_init_mbchar. | |
1621 | * cpplex.c (_cpp_init_mbchar): New. | |
1622 | ||
37f5242b RS |
1623 | 2003-03-06 Roger Sayle <roger@eyesopen.com> |
1624 | ||
1625 | * emit-rtl.c (gen_lowpart): When requesting the low-part of a | |
1626 | MEM, try loading the MEM into a register and taking the low-part | |
1627 | of that, to help CSE see the use of the MEM in its true mode. | |
1628 | ||
c876997f | 1629 | 2003-03-05 Tom Tromey <tromey@redhat.com> |
f3922fd2 DD |
1630 | |
1631 | * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): | |
1632 | Define. | |
1633 | ||
c876997f | 1634 | 2003-03-05 Nick Clifton <nickc@cambridge.redhat.com> |
f3922fd2 DD |
1635 | |
1636 | * config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on | |
1637 | operand 2. | |
1638 | ("*ineqbranchsi"): Likewise. | |
1639 | ||
c876997f | 1640 | 2003-03-05 Andrew Haley <aph@cambridge.redhat.com> |
f3922fd2 DD |
1641 | |
1642 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete | |
1643 | mem_fake_push_rtx. Instead construct a SEQUENCE to show the | |
1644 | register store followed by a stack increment. | |
1645 | ||
c876997f | 1646 | 2003-03-05 Chris Moller <cmoller@redhat.com> |
f3922fd2 DD |
1647 | |
1648 | * config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term | |
1649 | to inhibit saving CARRY_REGS. | |
1650 | ||
1651 | * config/stormy16/stormy16.c (xs_hi_general_operand): | |
1652 | added predicate to detect and error-out on out-of-range | |
1653 | const_ints for movhi. | |
52999738 | 1654 | * config/stormy16/stormy16.md (movhi): use |
f3922fd2 DD |
1655 | xs_hi_general_operand. |
1656 | ||
1657 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): | |
1658 | added a check for local vbl size overflow. | |
1659 | * config/stormy16/stormy16.c (xs_hi_nonmemory_operand): | |
1660 | added predicate to detect and error-out on out-of-range | |
1661 | const_ints for addhi and subhi. | |
52999738 | 1662 | * config/stormy16/stormy16.md (addhi3, addchi4, addchi5, |
f3922fd2 DD |
1663 | subhi3, subchi4, subchi5): used xs_hi_nonmemory_operand. |
1664 | ||
1665 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): | |
1666 | add a term to accept PRE_MODIFY addresses. | |
1667 | * config/stormy16/stormy16.c (xstormy16_expand_move): | |
1668 | add code to expand PRE_MODIFY addresses to an add followed | |
1669 | by a move. | |
1670 | ||
4c28216d JM |
1671 | 2003-03-06 Jason Merrill <jason@redhat.com> |
1672 | ||
1673 | * tree-inline.c (inlinable_function_p): Revert earlier change | |
1674 | pending investigation. | |
1675 | ||
0135f343 KH |
1676 | 2003-03-06 Kazu Hirata <kazu@cs.umass.edu> |
1677 | ||
1678 | * config/h8300/h8300.md (a new peephole2): New. | |
1679 | ||
5c2e00ee JH |
1680 | Thu Mar 6 14:20:15 CET 2003 Jan Hubicka <jh@suse.cz> |
1681 | ||
1682 | * cgraph.c (cgraph_node): Do not confuse nested functions and methods. | |
1683 | ||
323658ea ZD |
1684 | 2003-03-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1685 | ||
1686 | * dwarf2out.c (size_of_die): Compute size of external reference to | |
1687 | die correctly. | |
1688 | ||
2b18b49b HPN |
1689 | 2003-03-06 Hans-Peter Nilsson <hp@bitrange.com> |
1690 | ||
1691 | * config/mmix/mmix.md ("*movcc_expanded"): New pattern. | |
1692 | ("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New | |
1693 | expanders. | |
1694 | ||
1a71a5b0 RS |
1695 | 2003-03-05 Roger Sayle <roger@eyesopen.com> |
1696 | ||
1697 | * expr.h (lang_expand_expr): Delete obsolete prototype. | |
1698 | ||
26d249eb KH |
1699 | 2003-03-05 Kazu Hirata <kazu@cs.umass.edu> |
1700 | ||
1701 | * emit-rtl.c (gen_highpart_mode): Fix a comment typo. | |
1702 | ||
8b41a8da KH |
1703 | 2003-03-05 Kazu Hirata <kazu@cs.umass.edu> |
1704 | ||
1705 | * config/h8300/h8300.md (a peephole2): Generalize to | |
1706 | accept a memory operand. | |
1707 | ||
39ee7fa9 OH |
1708 | Wed Mar 5 19:34:18 2003 Olivier Hainque <hainque@act-europe.fr> |
1709 | ||
1710 | * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'. | |
1711 | * config/alpha/alpha.c (print_operand, case '+'): New. | |
1712 | * config/alpha/alpha.md (call_osf_1_noreturn): Document and use. | |
1713 | (call_value_osf_1_noreturn): Likewise. | |
1714 | ||
cda26058 RK |
1715 | Wed Mar 5 18:55:02 2003 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1716 | ||
1717 | * stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN. | |
1718 | (expand_end_bindings): Likewise. | |
1719 | ||
98857de8 JDA |
1720 | 2003-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1721 | ||
1722 | * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint. | |
1723 | (epilogue): Don't generate return_external_pic when emitting PA 2.0 | |
1724 | code. | |
1725 | ||
96714395 AH |
1726 | 2003-03-05 Aldy Hernandez <aldyh@redhat.com> |
1727 | ||
52999738 | 1728 | * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN. |
96714395 | 1729 | |
52999738 | 1730 | * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New. |
96714395 | 1731 | |
52999738 | 1732 | * hooks.c (hook_rtx_rtx_null): New. |
96714395 | 1733 | |
52999738 | 1734 | * hooks.h (hook_rtx_rtx_null): Protoize. |
96714395 | 1735 | |
52999738 ZW |
1736 | * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro. |
1737 | (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN. | |
96714395 | 1738 | |
52999738 | 1739 | * target.h (struct gcc_target): Add dwarf_register_span. |
96714395 | 1740 | |
52999738 ZW |
1741 | * dwarf2out.c (multiple_reg_loc_descriptor): New. |
1742 | (one_reg_loc_descriptor): New. | |
1743 | (reg_loc_descriptor): Add support for values that span more than | |
1744 | one register. | |
96714395 | 1745 | |
b255a036 JH |
1746 | Wed Mar 5 23:16:57 CET 2003 Jan Hubicka <jh@suse.cz> |
1747 | ||
1748 | * Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h | |
1749 | * alias.c: Include cgraph.h | |
1750 | (mark_constant_function): Use cgraph_rtl_info. | |
1751 | * calls.c: Include cgraph.h | |
1752 | (flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const | |
1753 | calls. | |
1754 | (expand_call): Use cgraph_rtl_info to set preferred stack boundary. | |
1755 | * cgraph.c (cgraph_rtl_info): New function. | |
1756 | * cgraph.h (cgraph_rtl_info): Declare | |
1757 | (cgraph_rtl_info): Likewise. | |
1758 | * function.h (struct function): Add recursive_call_emit. | |
1759 | * toplev.c: Include cgraph.h. | |
1760 | (rest_of_compilation): Set preferred_incoming_stack_boundary. | |
1761 | ||
0eb933a0 KH |
1762 | 2003-03-05 Kazu Hirata <kazu@cs.umass.edu> |
1763 | ||
1764 | * config/h8300/h8300.c (output_simode_bld): Clear the | |
1765 | destination first if possible. | |
1766 | * config/h8300/h8300.md (extzv_1_r_h8300hs): Add an | |
1767 | alternative. | |
1768 | (extzv_1_r_inv_h8300hs): Likewise. | |
1769 | ||
35b07080 ZD |
1770 | 2003-03-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1771 | ||
1772 | * basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New. | |
1773 | * cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump. | |
1774 | * cfgloop.c (flow_loop_free): Made global. | |
1775 | (establish_preds): New static function. | |
1776 | (flow_loop_tree_node_add): Handle subloops of added loop correctly. | |
1777 | (get_loop_exit_edges): New. | |
1778 | (verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags. | |
1779 | * cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare. | |
1780 | * cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible | |
1781 | loops. | |
1782 | * cfgloopmanip.c (loop_delete_branch_edge): Allow to test for | |
1783 | removability of an edge. | |
1784 | (fix_irreducible_loops): New static function. | |
1785 | (find_path, remove_path): Add ability to remove enclosing loops. | |
1786 | (unloop): New. | |
1787 | (copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP | |
1788 | flags. | |
1789 | * cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag. | |
1790 | * loop-unroll.c (peel_loops_completely): Do not duplicate loop if | |
1791 | not neccessary. | |
1792 | (decide_peel_completely, peel_loops_completely): Allow complete peeling | |
1793 | of non-duplicable once rolling loops. | |
1794 | * loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags. | |
1795 | ||
bb182d23 R |
1796 | Wed Mar 5 21:40:57 2003 J"orn Rennecke <joern.rennecke@superh.com> |
1797 | ||
1798 | * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value | |
1799 | for align_jumps is 4. | |
1800 | ||
1801 | (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL, | |
1802 | use GENERAL_REGS. | |
1803 | ||
f2d0440f SC |
1804 | 2003-03-05 Stephane Carrez <stcarrez@nerim.fr> |
1805 | ||
1806 | * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return | |
1807 | according to va_arg type. | |
1808 | (EXPAND_BUILTIN_VA_ARG): Remove. | |
1809 | * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove. | |
1810 | * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove. | |
1811 | ||
165b263e DE |
1812 | 2003-03-05 David Edelsohn <edelsohn@gnu.org> |
1813 | ||
1814 | * config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary | |
1815 | else clauses. | |
1816 | ||
8c38a24f MM |
1817 | 2003-03-05 Michael Matz <matz@suse.de> |
1818 | ||
1819 | * i386/i386.c (ix86_save_reg): Also test | |
1820 | current_function_uses_const_pool. | |
1821 | ||
336d0d96 MM |
1822 | 2003-03-05 Michael Matz <matz@suse.de> |
1823 | ||
1824 | * unwind.h: Add the GPL exception. | |
1825 | * Makefile.in (USER_H): Add unwind.h. | |
1826 | ||
be2fa211 EB |
1827 | 2003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr> |
1828 | ||
1829 | PR c/9799 | |
1830 | * c-typeck.c (push_init_level): Add sanity check. | |
1831 | ||
dafc5b82 JH |
1832 | Wed Mar 5 02:04:04 CET 2003 Jan Hubicka <jh@suse.cz> |
1833 | ||
1834 | * toplev.c (rest_of_compilation): Deffer RTL compilation only when | |
1835 | RTL inlining is done. | |
1836 | ||
1837 | * cgraphunit.c (cgraph_mark_local_functions): New local function. | |
1838 | (cgraph_optimize): Mark local functions. | |
1839 | * i386-protos.h (init_cumulative_args): Update prototype. | |
1840 | * i386.c (init_cumulative_args): Use register passing convention for | |
1841 | local functions. | |
1842 | ||
1843 | * cgraph.c (cgraph_global_info_ready): New global variable | |
1844 | (cgraph_local_info, cgraph_global_info): New functions. | |
1845 | * cgraph.h (struct cgraph_local_info, cgraph_global_info): New | |
1846 | structures. | |
1847 | (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready): | |
1848 | Declare. | |
1849 | * cgraphunit.c (cgraph_finalize_function): Set inline_many. | |
1850 | (cgraph_mark_functions_to_output): Use inline_many. | |
1851 | (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally. | |
1852 | (cgraph_expand_functions): Expand inline functions last. | |
1853 | (cgraph_optimize): Do not emit uneeded functions. | |
1854 | ||
006c9f4a SE |
1855 | 2003-03-04 Steve Ellcey <sje@cup.hp.com> |
1856 | ||
1857 | * expr.c (convert_modes): Check for legal hard register. | |
1858 | ||
65ebbf81 TT |
1859 | 2003-03-04 Tom Tromey <tromey@redhat.com> |
1860 | ||
1861 | * doc/sourcebuild.texi (Front End Directory): Document tags. | |
1862 | * configure: Rebuilt. | |
1863 | * configure.in (target_list): Added tags. | |
1864 | * Makefile.in (TAGS): Depend on lang.clean. Include subdirectory | |
1865 | TAGS files by reference. | |
1866 | * objc/Make-lang.in (objc.tags): New target. | |
1867 | ||
ec4a0419 ZD |
1868 | 2003-03-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1869 | ||
1870 | * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync, | |
1871 | gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter, | |
1872 | gcov_write_string, gcov_read_unsigned, gcov_read_counter, | |
1873 | gcov_read_string, gcov_write_length): Modified to enable reading/ | |
1874 | writing of whole .da file just once. | |
1875 | (da_file_open, da_file_close, da_file_eof, da_file_error, | |
1876 | da_file_position, da_file_seek, da_file_write, da_file_read): New | |
1877 | functions. | |
1878 | (actual_da_file, actual_da_file_position, actual_da_file_length, | |
1879 | actual_da_file_buffer, actual_da_file_buffer_size): New static | |
1880 | functions. | |
1881 | * libgcov.c (gcov_exit): Modified to read/write the whole .da file at | |
1882 | just once. | |
1883 | ||
1884 | ||
79dbeefc AS |
1885 | 2003-03-04 Andreas Schwab <schwab@suse.de> |
1886 | ||
1887 | * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA | |
1888 | offset without frame pointer. | |
1889 | ||
3ac1a319 SE |
1890 | 2003-03-04 Steve Ellcey <sje@cup.hp.com> |
1891 | ||
1892 | * expr.c (expand_expr): Call promote_mode to set unsignedp. | |
1893 | ||
db720d9a DJ |
1894 | 2003-03-04 Daniel Jacobowitz <drow@mvista.com> |
1895 | ||
1896 | * configure.in: Don't always define TARGET_SYSTEM_ROOT. | |
1897 | * configure: Regenerated. | |
1898 | * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined. | |
1899 | ||
9a79ab7e AJ |
1900 | 2003-03-04 Andreas Jaeger <aj@suse.de> |
1901 | ||
1902 | * configure.in: Check for <memcheck.h>. | |
52999738 | 1903 | * configure: Regenerated. |
9a79ab7e AJ |
1904 | |
1905 | * config.in: Define HAVE_MEMCHECK_H. | |
1906 | ||
1907 | * ggc-common.c: Use <memcheck.h> if available instead of | |
1908 | <valgrind.h>. | |
1909 | * ggc-page.c: Likewise. | |
1910 | * cppfiles.c: Likewise. | |
1911 | ||
a8f0e848 KH |
1912 | 2003-03-04 Kazu Hirata <kazu@cs.umass.edu> |
1913 | ||
1914 | * config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths. | |
1915 | ||
2ad1815d EB |
1916 | 2003-03-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
1917 | ||
1918 | PR c/9262 | |
1919 | * c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY. | |
1920 | (c_finish_case): Rechain the next statements to the SWITCH_STMT. | |
1921 | ||
e2483ef7 JH |
1922 | Tue Mar 4 11:30:04 CET 2003 Jan Hubicka <jh@suse.cz> |
1923 | ||
1924 | * doc/invoke.texi: Document that unit-at-a-time is enabled for -O3 | |
1925 | * toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time | |
1926 | for -O3. | |
1927 | ||
34a86c2b NN |
1928 | 2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org> |
1929 | ||
1930 | * configure.in: Delete three unused variables. Move a variable | |
1931 | definition closer to its use. Simplify use_collect2 logic. Start to | |
1932 | organize. Simplify tests for in-tree gas and ld. | |
1933 | * configure: Regenerate. | |
1934 | ||
63973df3 NB |
1935 | 2003-03-04 Neil Booth <neil@daikokuya.co.uk> |
1936 | ||
1937 | * Makefile.in: Update. | |
1938 | * c-common.c (flag_no_line_commands, flag_no_output, | |
1939 | flag_dump_macros, flag_dump_includes): New. | |
1940 | * c-common.h (flag_no_line_commands, flag_no_output, | |
1941 | flag_dump_macros, flag_dump_includes, preprocess_file): New. | |
1942 | (init_c_lex): Update prototype. | |
1943 | * c-lex.c (init_c_lex): Update prototype; move some code to | |
1944 | c_common_init. | |
1945 | * c-opts.c (preprocess_file): Subsume into c_common_init. | |
1946 | (c_common_decode_option): Update flags. | |
1947 | (c_common_init): Move code from preprocess_file and init_c_lex. | |
1948 | (sanitize_cpp_opts): Update. | |
1949 | * c-ppoutput.c: New, cppmain.c almost verbatim. | |
1950 | * cpphash.h (struct printer): Remove. | |
1951 | (struct cpp_reader): Remove print. | |
1952 | * cpplib.h (dump_none, dump_only, dump_names, dump_definitions, | |
1953 | cpp_preprocess_file): Remove. | |
1954 | (struct cpp_options): Remove no_output, no_line_commands, dump_macros | |
1955 | and dump_includes. | |
1956 | * cppmain.c: Remove. | |
1957 | * doc/passes.texi: Update. | |
1958 | ||
95f3f59e JDA |
1959 | 2003-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1960 | ||
1961 | * function.c (STACK_ALIGNMENT_NEEDED): New macro. Default to 1. | |
1962 | (assign_stack_local_1): Perform overall stack alignment only when | |
1963 | STACK_ALIGNMENT_NEEDED is non-zero. | |
1964 | * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document. | |
1965 | ||
1966 | * pa.c (compute_frame_size): Rename fsize to size. Account for | |
1967 | alignment to a word boundary before general register save block. Only | |
1968 | account for double-word alignment before floating point register save | |
1969 | block if one or more are saved. Don't allocate space for %r3 when | |
1970 | frame pointer is needed. | |
1971 | (hppa_expand_prologue): Include alignment to word boundary in local | |
1972 | frame size. | |
1973 | * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports. | |
1974 | (STACK_ALIGNMENT_NEEDED): Define. | |
1975 | ||
234c071b KB |
1976 | 2003-03-04 Kevin Buettner <kevinb@redhat.com> |
1977 | ||
1978 | * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for | |
1979 | global register variables. | |
1980 | ||
f12448c8 AO |
1981 | 2003-03-04 Alexandre Oliva <aoliva@redhat.com> |
1982 | ||
1983 | * reload.c (reload_adjust_reg_for_mode): New function. | |
1984 | (subst_reloads): Call it. | |
1985 | (operands_match_p): Adjust registers using HARD_REGNO_NREGS. | |
1986 | * reload.h (reload_adjust_reg_for_mode): Declare. | |
1987 | * reload1.c (emit_input_reload_insns, emit_output_reload_insns): | |
1988 | Call it. | |
1989 | ||
f9d36a92 JW |
1990 | 2003-03-03 James E Wilson <wilson@tuliptree.org> |
1991 | ||
1992 | * optabs.c (add_equal_note): Delete SUBREG_REG use. | |
1993 | Fixes PR c/7872. | |
1994 | ||
8dfb356f KH |
1995 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
1996 | ||
1997 | * config/h8300/h8300.md (*ixorsi3_ashift_16): New. | |
1998 | (*ixorsi3_lshiftrt_16): New. | |
1999 | (*iorsi3_ashift_16): Remove. | |
2000 | ||
0d9bf032 KH |
2001 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
2002 | ||
2003 | * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the | |
2004 | pattern. | |
2005 | ||
b89a3806 GK |
2006 | 2003-03-03 Geoffrey Keating <geoffk@apple.com> |
2007 | ||
2008 | * doc/install.texi (Specific): Update entry for powerpc-darwin. | |
2009 | ||
568d661d RH |
2010 | 2003-03-03 Richard Henderson <rth@redhat.com> |
2011 | ||
2012 | * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0. | |
2013 | ||
3317bab1 DE |
2014 | 2003-03-03 David Edelsohn <edelsohn@gnu.org> |
2015 | ||
2016 | * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete. | |
2017 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete. | |
2018 | (rs6000_variable_issue): Do not return negative value. | |
2019 | (rs6000_issue_rate): Uniformly set issue rate to 1 for first | |
2020 | scheduling pass. | |
2021 | ||
03275f81 ZD |
2022 | 2003-03-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2023 | ||
2024 | * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and | |
2025 | prune_unused_types calls. | |
2026 | ||
d1a74aa7 JM |
2027 | 2003-03-03 Jason Merrill <jason@redhat.com> |
2028 | ||
2029 | * tree-inline.c (find_builtin_longjmp_call): Save and restore | |
2030 | lineno and input_filename. | |
2031 | (find_alloca_call): Likewise. | |
2032 | (inlinable_function_p): Run the langhook earlier. | |
2033 | ||
2034 | * calls.c (compute_argument_addresses): Give the new MEMs a | |
2035 | minimum alignment of PARM_BOUNDARY. | |
2036 | ||
d44cc404 R |
2037 | Mon Mar 3 20:45:25 2003 J"orn Rennecke <joern.rennecke@superh.com> |
2038 | ||
2039 | * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and | |
2040 | subtarget_asm_isa_spec. | |
2041 | (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define. | |
2042 | (ASM_SPEC): Define as SH_ASM_SPEC. | |
2043 | (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h. | |
2044 | Use subtarget_asm_relax_spec and subtarget_asm_isa_spec. | |
2045 | * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC. | |
2046 | (SUBTARGET_ASM_ISA_SPEC): Undef / define. | |
10f4f635 R |
2047 | |
2048 | * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops | |
2049 | and align_jumps if not set. | |
2050 | Force align_jumps to be at least 2. | |
2051 | When relaxing, force align_functions to be at least the maximum of | |
2052 | align_loops, align_jumps and 4. | |
2053 | * sh.c (find_barrier, barrier_align): Honour align_jumps_log. | |
2054 | (sh_loop_align): Honour align_loops_log. | |
2055 | ||
2056 | * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN | |
2057 | to check for indirect_jump_scratch. | |
2058 | (indirect_jump_scratch): Add second set. | |
2059 | * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN | |
2060 | when looking for indirect_jump_scratch. | |
2061 | Extract scratch register taking new structure of indirect_jump_scratch | |
2062 | into account. | |
2063 | (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch. | |
2064 | ||
f7da1e9a JH |
2065 | Mon Mar 3 19:07:21 CET 2003 Jan Hubicka <jh@suse.cz> |
2066 | ||
09e2bf48 JH |
2067 | * calls.c (rtx_for_function_call): Take the address as an argument |
2068 | (expand_call): Do not modify the expression. | |
2069 | ||
f7da1e9a JH |
2070 | * toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not |
2071 | optimizing. | |
2072 | ||
426ace7f KH |
2073 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
2074 | ||
2075 | * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to | |
2076 | TARGET_H8300H and TARGET_H8300S. | |
2077 | ||
6967a126 KH |
2078 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
2079 | ||
2080 | * config/h8300/h8300.md (a peephole2): New. | |
2081 | ||
1f7e8790 KH |
2082 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> |
2083 | ||
2084 | * config/h8300/h8300.md (*extzv_8_8): Use shorter code when | |
2085 | operands[0] and operands[1] are different. | |
2086 | ||
2087 | 2003-03-03 Kazu Hirata <kazu@cs.umass.edu> | |
2807791e KH |
2088 | |
2089 | * reload1.c (reload_cse_move2add): Remove variable success. | |
2090 | ||
a2581175 KG |
2091 | 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2092 | ||
2093 | * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid | |
2094 | warnings. | |
2095 | ||
ef1ecf87 RH |
2096 | 2003-03-02 Richard Henderson <rth@redhat.com> |
2097 | ||
2098 | * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test. | |
2099 | * config.in, configure: Rebuild. | |
2100 | * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum. | |
9a79ab7e | 2101 | * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the |
ef1ecf87 RH |
2102 | paired ldtoffx and ldxmov annotations. |
2103 | (load_symptr_internal1): Remove. | |
2104 | (load_symptr_high, load_symptr_low): New. | |
2105 | ||
82f6e3eb NB |
2106 | 2003-03-02 Neil Booth <neil@daikokuya.co.uk> |
2107 | ||
2108 | * c-incpath.c (add_path): Fix sysp assignment. | |
2109 | ||
bc522472 KG |
2110 | 2003-03-02 Kurt Garloff <garloff@suse.de> |
2111 | ||
2112 | * params.def: Introduce parameter max-inline-insns-rtl for | |
2113 | a separate limit for the RTL inliner. | |
2114 | * params.h: Likewise. | |
2115 | * integrate.c (function_cannot_inline_p): Use it. | |
9a79ab7e | 2116 | * toplev.c (decode_f_option): Set multiple parameters |
bc522472 KG |
2117 | controlling inlining with -finline-limit. |
2118 | * params.def: Fix orthographic and typographic errors. | |
2119 | * doc/invoke.texi: Document parameters controlling inlining | |
2120 | and the way -finline-limit sets multiple of them. | |
2121 | ||
2122 | * tree.h (struct tree_decl): Introduce inlined_function_flag, | |
2123 | recording whether the function became eligible for inlining | |
2124 | by a compiler flag rather than the declaration. | |
2125 | Provide DID_INLINE_FUNC macro to access it. | |
2126 | * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC. | |
2127 | * cp/decl.c (grokfndecl): Likewise. | |
2128 | * toplev.c (rest_of_compilation): Likewise. | |
2129 | * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC. | |
2130 | * print-tree.c (print_node): Report it. | |
2131 | * params.def: Introduce new max-inline-insns-auto limit. | |
2132 | * params.h: Likewise. | |
2133 | * tree-inline.c (inlinable_function_p): Apply it to functions | |
2134 | with DID_INLINE_FUNC set. | |
2135 | * toplev.c (decode_f_option): Initialize it from -finline-limit | |
2136 | value. | |
2137 | * doc/invoke.texi: Document new parameter. | |
2138 | ||
b9f4b20a GK |
2139 | 2003-03-02 Geoffrey Keating <geoffk@apple.com> |
2140 | ||
2141 | * fix-header.c (read_scan_file): Don't reference simplify_path. | |
2142 | ||
97d322cc SC |
2143 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
2144 | ||
2145 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable | |
2146 | min/max instructions by default as may result in reload errors. | |
2147 | ||
65fb64fe SC |
2148 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
2149 | ||
2150 | * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to | |
2151 | avoid reload problems; define split for it. | |
2152 | ||
b45e9837 SC |
2153 | 2003-03-02 Stephane Carrez <stcarrez@nerim.fr> |
2154 | ||
2155 | * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function. | |
2156 | * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare. | |
2157 | * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register. | |
9a79ab7e | 2158 | * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for |
b45e9837 SC |
2159 | rotatert and rotate. |
2160 | ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns. | |
2161 | ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert. | |
2162 | ("*rotrhi3_addr"): New split for shift insns on address register. | |
2163 | ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split. | |
2164 | * config/m68hc11/larith.asm (___rotlhi3): New asm function. | |
2165 | (___rotrhi3): Likewise. | |
2166 | * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them. | |
2167 | ||
b1cbe78c NB |
2168 | 2003-03-02 Neil Booth <neil@daikokuya.co.uk> |
2169 | ||
2170 | * toplev.c (aux_base_name): Moved from toplev.h. | |
2171 | (filename): Constify. | |
2172 | (lang_dependent_init): Don't duplicate name. | |
2173 | (process_options): Set aux_base_name here, not... | |
2174 | (do_compile): ...here. Change protoype. | |
2175 | (toplev_main): Move some code from do_compile. | |
2176 | * toplev.h: Remove aux_base_name. | |
2177 | ||
b059c02a KH |
2178 | 2003-03-02 Kazu Hirata <kazu@cs.umass.edu> |
2179 | ||
2180 | * config/h8300/h8300-protos.h: Add a prototype for | |
2181 | iorxor_operator. | |
2182 | * config/h8300/h8300.c (print_operand): Handle 'c'. | |
2183 | (iorxor_operator): New. | |
2184 | * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator. | |
2185 | * config/h8300/h8300.md (*iorhi3_zext): Remove. | |
2186 | (*iorsi3_zexthi): Likewise. | |
2187 | (*iorsi3_zextsi): Likewise. | |
2188 | (*xorhi3_zextqi): Likewise. | |
2189 | (*xorsi3_zexthi): Likewise. | |
2190 | (*xorsi3_zextsi): Likewise. | |
2191 | (*ixorhi3_zext): New. | |
2192 | (*ixorsi3_zext_qi): Likewise. | |
2193 | (*ixorsi3_zext_hi): Likewise. | |
2194 | ||
986b1f13 NB |
2195 | 2003-03-02 Neil Booth <neil@daikokuya.co.uk> |
2196 | ||
2197 | * c-incpath.c (remove_component_p, simplify_path): Move back to | |
2198 | cppfiles.c. | |
2199 | (remove_duplicates): Use cpp_simplify_path. | |
2200 | * c-incpath.h (simplify_path): Remove. | |
2201 | * c-lex.c: Don't include c-incpath.h. | |
2202 | (init_c_lex): Remove simplify_path. | |
2203 | * cppfiles.c (remove_component_p, cpp_simplify_path): Restore. | |
2204 | (find_or_create_entry, validate_pch): Revert. | |
2205 | ||
8a035a6b AH |
2206 | 2003-03-02 Ashif Harji <asharji@uwaterloo.ca> |
2207 | ||
2208 | * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke | |
2209 | an external cpp during compilation. | |
2210 | (option_map): Likewise. | |
2211 | * objc/lang-specs.h (default_compilers): Similarly. | |
2212 | * doc/invoke.texi: Document -no-integrated-cpp flag. | |
2213 | ||
23cdb465 KH |
2214 | 2003-03-02 Kazu Hirata <kazu@cs.umass.edu> |
2215 | ||
2216 | * config/h8300/h8300.md (zero_extendqisi2): Change to an | |
2217 | expander. | |
2218 | (*zero_extendqisi2_h8300): New. | |
2219 | (*zero_extendqisi2_h8300hs): New. | |
2220 | (two splitters): New. | |
2221 | ||
29efb633 KG |
2222 | 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2223 | ||
2224 | * fp-bit.h (float_to_usi): Fix condition wrapping prototype. | |
2225 | ||
36bf3f1b KH |
2226 | 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> |
2227 | ||
2228 | * config/h8300/h8300.md (a peephole2): Remove dead code. | |
2229 | ||
08291658 RS |
2230 | 2003-03-01 Roger Sayle <roger@eyesopen.com> |
2231 | ||
2232 | PR c++/9367 | |
2233 | * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro. | |
2234 | (BT_FN_INT_CONST_STRING_VALIST_ARG, | |
2235 | BT_FN_INT_STRING_CONST_STRING_VALIST_ARG, | |
2236 | BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG, | |
2237 | BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG, | |
2238 | BT_FN_INT_STRING_CONST_STRING_VAR, | |
2239 | BT_FN_INT_CONST_STRING_CONST_STRING_VAR, | |
2240 | BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types. | |
2241 | * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2, | |
2242 | ATTR_NONNULL_3): Also include the nothrow attribute. | |
2243 | (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf, | |
2244 | vsnprintf, vscanf, vsscanf): Don't define attributes here. | |
2245 | * builtins.def (putchar, puts): Make full C89 built-ins. | |
2246 | (snprintf, sprintf, scanf, sscanf, vprintf, vscanf, | |
2247 | vsscanf, vsnprintf, vsprintf): New built-ins. | |
2248 | * c-common.c (c_common_nodes_and_builtins): Handle new macro | |
2249 | DEF_FUNCTION_TYPE_VAR_3. | |
2250 | ||
2251 | * doc/extend.texi: Document these new built-in functions. | |
2252 | ||
e5258f85 KH |
2253 | 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> |
2254 | ||
2255 | * config/h8300/h8300.md (a peephole2): New. | |
2256 | ||
85bb9c2a RE |
2257 | 2003-03-01 Richard Earnshaw <rearnsha@arm.com> |
2258 | ||
2259 | * predict.c (estimate_bb_frequencies): Correctly set | |
2260 | real_values_initialized after initialization. | |
2261 | ||
5793b276 NB |
2262 | 2003-03-01 Neil Booth <neil@daikokuya.co.uk> |
2263 | ||
2264 | * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS, | |
2265 | cppinit.o, cppdefault.o, fix-header): Update. | |
2266 | * c-incpath.c: New file. | |
2267 | * c-incpath.h: New file. | |
2268 | * c-lex.c: Include c-incpath.h. | |
2269 | (init_c_lex): Register path simplifier. | |
2270 | * c-opts.c: Include cppdefault.h and c-incpath.h. | |
2271 | (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc, | |
2272 | std_cxx_inc, quote_chain_split, add_prefixed_path): New. | |
2273 | (COMMAND_LINE_OPTIONS): Add more options from cpplib. | |
2274 | (missing_arg, c_common_decode_option): Handle them. | |
2275 | (c_common_post_options): Register include chains. | |
2276 | (print_help): Update. | |
2277 | * cppdefault.h (struct default include): Update. | |
2278 | Move some macros to ... | |
2279 | * cppdefault.c: ... here. | |
2280 | (cpp_include_defaults): Add extra field add_sysroot. | |
2281 | * cppfiles.c (include_file, search_from, find_or_create_entry, | |
2282 | cpp_included, find_include_file, remap_filename): Update for | |
2283 | renaming of search_path to cpp_path, and of the chain headers. | |
2284 | (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c. | |
2285 | * cpphash.h (struct search_path): Move to cpplib.h. | |
2286 | (struct cpp_buffer, struct cpp_reader): Update. | |
2287 | (_cpp_simplify_pathname): Remove. | |
2288 | * cppinit.c: Don't include prefix.h and cppdefault.h. | |
2289 | (INO_T_EQ, INO_T_COPY, path_include, append_include_chain, | |
2290 | remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs, | |
2291 | init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir, | |
2292 | no_pth, cpp_handle_options): Remove. | |
2293 | (struct pending_option): Remove chain members. | |
2294 | (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS, | |
2295 | cpp_handle_option): Update. | |
2296 | * cpplib.h (struct cpp_path, cpp_set_include_chains): New. | |
2297 | (struct cpp_options): Remove quote_include, bracket_include, | |
2298 | include_prefix, include_prefix_len, verbose, ignore_srcdir, | |
2299 | no_standard_includes, no_standard_cplusplus_includes. | |
2300 | (struct cpp_callbacks): Add simplify_path. | |
2301 | (cpp_handle_options): Remove. | |
2302 | * fix-header.c: Include c-incpath.h. | |
2303 | (read_scan_file): Update to use c-incpath functionality. | |
2304 | * doc/passes.texi: Update. | |
2305 | ||
6620997b KH |
2306 | 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> |
2307 | ||
2308 | * config/h8300/h8300.c (bit_operand): Accept MEM only if it | |
2309 | satisfies EXTRA_CONSTRAINT 'U'. | |
2310 | ||
82b4dc2e KH |
2311 | 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> |
2312 | ||
2313 | * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch | |
2314 | register. | |
2315 | (*tst_extzv_memqi_1_n): Change to a splitter. | |
2316 | (a peephole2): Update. | |
2317 | ||
c4f6b78e RE |
2318 | 2003-03-01 Richard Earnshaw <rearnsha@arm.com> |
2319 | ||
2320 | * predict.c (estimate_bb_frequencies): Initialize the sreal | |
2321 | constants once per compilation. | |
2322 | ||
9552a3e3 RH |
2323 | 2003-02-28 Richard Henderson <rth@redhat.com> |
2324 | ||
2325 | * toplev.c (flag_eliminate_unused_debug_types): Enable by default. | |
2326 | ||
73c68f61 SS |
2327 | 2003-02-28 scott snyder <snyder@fnal.gov> |
2328 | ||
2329 | * flags.h: Add flag_eliminate_unused_debug_types. | |
2330 | * toplev.c: Add flag_eliminate_unused_debug_types. | |
2331 | (f_options): Add -feliminate-unused-debug-types. | |
2332 | * dwarf2out.c (struct file_table): Add emitted member. | |
2333 | (splice_child_die): Fix the parent pointer for the child being | |
2334 | spliced. | |
2335 | (lookup_filename): Maintain file_table.emitted array. Don't | |
2336 | output .file directive here. | |
2337 | (maybe_emit_file): (new) | |
2338 | (init_file_table): Set up file_table.emitted. | |
2339 | (dwarf2out_source_line): Use maybe_emit_file. | |
2340 | (dwarf2out_start_source_file): Use maybe_emit_file. | |
2341 | (dwarf2out_init): Use maybe_emit_file. | |
2342 | (prune_unused_types_walk_attribs): (new) | |
2343 | (prune_unused_types_mark): (new) | |
2344 | (prune_unused_types_walk): (new) | |
2345 | (prune_unused_types_prune): (new) | |
2346 | (prune_unused_types): (new) | |
2347 | (dwarf2out_finish): Call prune_unused_types if | |
2348 | flag_eliminate_unused_debug_types is set. | |
2349 | * doc/invoke.texi (Option Summary): Add | |
2350 | -feliminate-unused-debug-types. | |
2351 | (Debugging Options): Likewise. | |
2352 | ||
d8fad4ea GK |
2353 | 2003-02-28 Geoffrey Keating <geoffk@apple.com> |
2354 | ||
2355 | * doc/invoke.texi: Change .pch to .gch. | |
2356 | * cppfiles.c (open_file_pch): Likewise. | |
2357 | * gcc.c (default_compilers): Likewise. | |
2358 | ||
9855905c AH |
2359 | 2003-02-28 Aldy Hernandez <aldyh@redhat.com> |
2360 | ||
52999738 | 2361 | * floatlib.c: Remove. |
9855905c | 2362 | |
3695c25f JM |
2363 | 2003-02-28 Jason Merrill <jason@redhat.com> |
2364 | ||
2365 | * stor-layout.c (variable_size): Leave a "minus 1" outside the | |
2366 | SAVE_EXPR. | |
2367 | ||
f8f0e566 DE |
2368 | 2003-02-28 David Edelsohn <edelsohn@gnu.org> |
2369 | ||
2370 | * config/rs6000/power4.md: Add compare bypass. | |
2371 | ||
35501efe JT |
2372 | 2003-02-28 Jason Thorpe <thorpej@wasabisystems.com> |
2373 | ||
2374 | * config/netbsd.h: Update copyright years. | |
2375 | (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if | |
2376 | -pthread is specified on the command line. | |
2377 | ||
8f7ee471 DJ |
2378 | 2003-02-28 Dale Johannesen <dalej@apple.com> |
2379 | ||
52999738 | 2380 | * loop.c (struct movable): Add insert_temp, shrink savemode. |
8f7ee471 | 2381 | (scan_loop): Accept invariants that require copying; mark as |
52999738 | 2382 | insert_temp. |
8f7ee471 DJ |
2383 | (combine_movables): Don't combine insert_temp movables. |
2384 | (move_movables): Insert copies for insert_temp movables. | |
2385 | Don't record the info based on regno for insert_temp's. | |
2386 | ||
67c2b45f JS |
2387 | 2003-02-28 Joel Sherrill <joel@OARcorp.com> |
2388 | ||
2389 | PR 9638/other | |
9a79ab7e | 2390 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the |
67c2b45f JS |
2391 | this constant defaults to 1. |
2392 | ||
066f1538 BW |
2393 | 2003-02-28 Bob Wilson <bob.wilson@acm.org> |
2394 | ||
2395 | * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file. | |
2396 | ||
b8c53e96 RE |
2397 | 2003-02-28 Richard Earnshaw <rearnsha@arm.com> |
2398 | ||
9a79ab7e | 2399 | * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any |
b8c53e96 RE |
2400 | ARMv5e processor, not just for XScale. Instructions are predicable. |
2401 | (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e. | |
2402 | ||
b93828f3 NC |
2403 | 2003-02-28 Nick Clifton <nickc@redhat.com> |
2404 | ||
2405 | * config/arm/arm.c (note_invalid_constants): Change parameter type | |
2406 | from bool to int. | |
2407 | ||
3c042316 KH |
2408 | 2003-02-28 Kazu Hirata <kazu@cs.umass.edu> |
2409 | ||
2410 | * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the | |
2411 | test of bit 7. | |
2412 | (*tst_extzv_memqi_1_n): Likewise. | |
2413 | (a peephole2): New. | |
2414 | ||
c876997f | 2415 | 2003-02-28 Richard Sandiford <rsandifo@redhat.com> |
28727f1f RS |
2416 | |
2417 | * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in | |
2418 | #ifndef __mips16. | |
2419 | ||
10a3fdd9 JH |
2420 | Fri Feb 28 11:09:14 CET 2003 Jan Hubicka <jh@suse.cz> |
2421 | ||
2422 | * combine.c (gen_lowpart_for_combine): Update handling of | |
2423 | subregs_of_mode | |
2424 | * flow.c (life_analysis, mark_used_regs): Likewise. | |
2425 | * regclass.c (subregs_of_mode): Turn into single bitmap. | |
2426 | (cannot_change-mode_set_regs, invalid_mode_change_p): Update | |
2427 | dealing with subregs_of_mode | |
2428 | * regs.h (subregs_of_mode): Update prototype. | |
2429 | ||
9d18e06b JZ |
2430 | 2003-02-28 Josef Zlomek <zlomekj@suse.cz> |
2431 | ||
2432 | * emit-rtl.c (set_reg_attrs_for_parm): New function. | |
2433 | * rtl.h (set_reg_attrs_for_parm): New exported function. | |
2434 | * function.c (assign_parms): Use set_reg_attrs_for_parm instead of | |
2435 | set_reg_attrs_from_mem. | |
2436 | ||
95456d43 RS |
2437 | 2003-02-27 Roger Sayle <roger@eyesopen.com> |
2438 | Zack Weinberg <zack@codesourcery.com> | |
2439 | ||
2440 | * gcc.c (do_spec_1): Treat %U like %u for unique associations. | |
2441 | ||
28ae9fed KH |
2442 | 2003-02-27 Kazu Hirata <kazu@cs.umass.edu> |
2443 | ||
2444 | * reload1.c (sext_for_mode): Remove. | |
2445 | (reload_cse_move2add): Use trunc_int_for_mode instead of | |
2446 | sext_for_mode. | |
2447 | (move2add_note_store): Likewise. | |
2448 | Reset register information if we see a set in non-integer | |
2449 | mode. | |
2450 | ||
d47719fd DE |
2451 | 2003-02-27 David Edelsohn <edelsohn@gnu.org> |
2452 | ||
30e7f17e DE |
2453 | * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu |
2454 | option. | |
2455 | (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630. | |
2456 | * config/rs6000/aix51.h: Same. | |
2457 | * config/rs6000/aix52.h: Same. | |
d47719fd DE |
2458 | * config/rs6000/power4.md: Additional VMX bypasses. |
2459 | ||
7a69a172 GB |
2460 | 2003-02-27 Geert Bosch <bosch@gnat.com> |
2461 | ||
2462 | * toplev.c (print_version): Add indentation for GGC heuristics and | |
2463 | output after printing version information. | |
2464 | ||
678e68fc JW |
2465 | 2003-02-27 James E Wilson <wilson@tuliptree.org> |
2466 | ||
2467 | * combine.c (simplify_comparison): Require integral mode when | |
2468 | permuting SUBREG with AND. | |
2469 | ||
986704f1 SE |
2470 | 2003-02-27 Steve Ellcey <sje@cup.hp.com> |
2471 | ||
2472 | * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove. | |
2473 | ||
1e3af7f6 NC |
2474 | 2003-02-27 Nick Clifton <nickc@redhat.com> |
2475 | ||
2476 | * config/arm/arm.md (extendsfdf2): Add pattern accidentally | |
2477 | deleted when cirrus instructions were added. | |
2478 | ||
51b7c247 JT |
2479 | 2003-02-27 Jason Thorpe <thorpej@wasabisystems.com> |
2480 | ||
2481 | * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable | |
2482 | POSIX thread support by default. | |
2483 | ||
3eae722d RS |
2484 | 2003-02-27 Roger Sayle <roger@eyesopen.com> |
2485 | ||
2486 | * config/i386/cygwin.h: Don't include any other files directly. | |
2487 | * config/i386/mingw32.h: Don't include cygwin.h directly. | |
2488 | * config.gcc (cygwin, mingw32, uwin): Instead make these files | |
2489 | explicit in the tm_files variable. | |
2490 | ||
6fc19dc9 AM |
2491 | 2003-02-27 Alan Modra <amodra@bigpond.net.au> |
2492 | ||
2493 | * config/rs6000/rs6000.md: Add TI constant splitter. | |
2494 | ||
c41536f5 AO |
2495 | 2003-02-26 Alexandre Oliva <aoliva@redhat.com> |
2496 | ||
65c04548 AO |
2497 | * builtins.c (purge_builtin_constant_p): Handle subreg of |
2498 | constant_p_rtx too. | |
2499 | ||
c41536f5 AO |
2500 | * function.c (assign_stack_local_1): Truncate constant added to |
2501 | frame_pointer_rtx or virtual_stack_vars_rtx for Pmode. | |
2502 | ||
dccd5213 DE |
2503 | 2003-02-26 David Edelsohn <edelsohn@gnu.org> |
2504 | ||
2505 | * config.gcc: Add power4 to PowerPC with_cpu list. | |
2506 | ||
47a5d8e7 JH |
2507 | Wed Feb 26 19:46:25 CET 2003 Jan Hubicka <jh@suse.cz> |
2508 | ||
2509 | * objc-act.c: (mark_referenced_methods): Fix compilation problem. | |
2510 | ||
cb9e4555 ZD |
2511 | 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2512 | ||
2513 | * gcov-dump.c (print_prefix): Fix signedness warning. | |
2514 | * gcov-io.h (struct counter_section, struct counter_section_data): New. | |
2515 | (struct function_info): n_arc_counts field removed, n_counter_sections, | |
2516 | counter_sections fields added. | |
2517 | (struct gcov_info): arc_counts, n_arc_counts fields removed, | |
2518 | n_counter_sections, counter_sections fields added. | |
2519 | * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple | |
2520 | profile sections. | |
2521 | * profile.h (MAX_COUNTER_SECTIONS): New. | |
2522 | (struct section_info): New. | |
2523 | (struct profile_info): count_instrumented_edges, | |
2524 | count_edges_instrumented_now fields removed, n_sections, section_info | |
2525 | fields added. | |
2526 | (find_counters_section): Declare. | |
2527 | * profile.c (struct function_list): count_edges field removed, | |
2528 | n_counter_sections, counter_sections fields added. | |
2529 | (set_purpose, label_for_tag, build_counter_section_fields, | |
2530 | build_counter_section_value, build_counter_section_data_fields, | |
2531 | build_counter_section_data_value, build_function_info_fields, | |
2532 | build_function_info_value, build_gcov_info_fields, | |
2533 | build_gcov_info_value): New static functions. | |
2534 | (find_counters_section): New function. | |
2535 | (instrument_edges, get_exec_counts, compute_branch_probabilities, | |
2536 | branch_prob, create_profiler): Modified to support multiple profile | |
2537 | sections. | |
2538 | ||
b0d7ef9a JDA |
2539 | 2003-02-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2540 | ||
2541 | * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY | |
2542 | is 8 * STACK_BOUNDARY. | |
2543 | * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port. | |
2544 | ||
f6e91562 MM |
2545 | 2003-02-26 Michael Matz <matz@suse.de> |
2546 | ||
2547 | * ra-colorize.c (merge_moves): Fix list handling. | |
2548 | ||
f0375c66 NC |
2549 | 2003-02-26 Nick Clifton <nickc@redhat.com> |
2550 | ||
2551 | * config/arm/arm.c (is_load_address): Rename to... | |
52999738 ZW |
2552 | (arm_memory_load_p) ... this and make it check for SUBREGs and |
2553 | constant loads that will be converted into loads from the | |
2554 | minipool. | |
2555 | (is_cirrus_insn): Rename to ... | |
2556 | (arm_cirrus_insn_p): ... this, for consistency. Replace test | |
2557 | of CIRRUS_NO with CIRRUS_NOT. | |
2558 | (cirrus_reorg): Use renamed functions. | |
2559 | (note_invalid_constants): Change from a void function to bool. | |
2560 | Add an extra parameter, saying whether the fixups should be | |
2561 | pushed. Return true if fixups are needed. | |
2562 | (arm_reorg): Use renamed functions. Use INSN_P. Replace test | |
2563 | of CIRRUS_NO with CIRRUS_NOT. | |
2564 | * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that | |
2565 | other floating point co-processors can also affect this. | |
2566 | * config/arm/arm.md ("type" attribute): Add mav_farith and | |
2567 | mav_dmult. Replace references to "cirrus_type" attribute with | |
2568 | "type". | |
2569 | * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete. | |
2570 | ("cirrus_type" attribute): Delete - use "type" instead. | |
2571 | ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with | |
2572 | 'normal'. | |
f0375c66 | 2573 | |
0d446150 JH |
2574 | Tue Feb 25 22:46:27 CET 2003 Jan Hubicka <jh@suse.cz> |
2575 | ||
2576 | * objc-act.c: Include cgraph.h | |
2577 | (mark_referenced_methods): New function. | |
2578 | (objc_init): Call it. | |
2579 | * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set. | |
2580 | ||
2581 | * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time | |
2582 | mode. | |
2583 | ||
2584 | * optabs.c (expand_fix): Do not widen the input operand. | |
2585 | ||
2586 | * expr.c (emit_group_store): Fix crash when converting single | |
2587 | register into complex register. | |
2588 | ||
2589 | * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h | |
2590 | * alias.c: Include timevar.h | |
2591 | (init_alias_analysis): Set timevar | |
2592 | * jump.c: Include timevar.h | |
2593 | (rebuild_jump_labels): Set timevar | |
2594 | * regcalss.c: Include timevar.h | |
2595 | (reg_scan): Set timevar | |
2596 | * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New | |
2597 | ||
b17d5d7c ZD |
2598 | 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2599 | ||
2600 | * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes. | |
2601 | ||
2602 | * Makefile.in (loop-unroll.o): New. | |
2603 | * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New. | |
2604 | (unroll_and_peel_loops): Declare. | |
2605 | * alias.c (init_alias_analysis): Flag_unroll_loops renamed to | |
2606 | flag_old_unroll_loops. | |
2607 | * loop.c (loop_invariant_p): Ditto. | |
2608 | * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to | |
2609 | flag_old_unroll_all_loops. | |
2610 | * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops. | |
2611 | (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops. | |
2612 | * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed. | |
2613 | (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES, | |
2614 | PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES, | |
2615 | PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES, | |
2616 | PARAM_MAX_ONCE_PEELED_INSNS): New. | |
2617 | * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New. | |
2618 | (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller | |
2619 | instead of old one. | |
2620 | (flag_peel_loops): New. | |
2621 | (lang_independent_options): The new flags added. | |
2622 | (rest_of_compilation): Call new unroller. | |
2623 | (process_options): Setup flags for coexistence of old and new unroller. | |
2624 | * doc/invoke.texi: Document new options. | |
2625 | * doc/passes.texi: Document new unroller pass. | |
2626 | ||
244f7aa9 DB |
2627 | 2003-02-26 David Billinghurst <David.Billinghurst@riotinto.com> |
2628 | ||
2629 | * fixinc/fixincl.x: Regenerate | |
2630 | ||
1d14f992 JZ |
2631 | 2003-02-26 Josef Zlomek <zlomekj@suse.cz> |
2632 | ||
2633 | * function.c (assign_parms): Set reg_attrs for parameters passed in | |
2634 | registers. | |
2635 | ||
8ace9f18 AM |
2636 | 2003-02-26 Alan Modra <amodra@bigpond.net.au> |
2637 | ||
38a84391 | 2638 | PR target/9681 |
8ace9f18 AM |
2639 | * tlink.c (scan_linker_output): Drop leading '.' from symbol names. |
2640 | ||
9a29ee42 DE |
2641 | 2003-02-25 David Edelsohn <edelsohn@gnu.org> |
2642 | ||
2643 | * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine | |
2644 | pseudo-op. | |
2645 | ||
8beccec8 RS |
2646 | 2003-02-25 Roger Sayle <roger@eyesopen.com> |
2647 | ||
2648 | * combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P. | |
2649 | * cse.c (invalidate_skipped_set): Likewise. | |
2650 | * integrate.c (subst_constants): Likewise. | |
2651 | * jump.c (reversed_comparison_code_parts): Likewise. | |
2652 | * loop.c (canonicalize_condition): Likewise. | |
2653 | * simplify-rtx.c (simplify_relational_operation): Likewise. | |
2654 | ||
b052d8ee RS |
2655 | 2003-02-25 Roger Sayle <roger@eyesopen.com> |
2656 | ||
2657 | * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete. | |
2658 | (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit): Use | |
2659 | the appropriate macro to define built-in function. | |
2660 | (fmod,fmodf,fmodl): New built-in functions. | |
2661 | ||
2662 | * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins. | |
2663 | ||
8d454008 RH |
2664 | 2003-02-25 Richard Henderson <rth@redhat.com> |
2665 | ||
2666 | * config/i386/i386.c (function_arg): Pass variable sized | |
2667 | structures correctly on the stack. | |
2668 | ||
fc943f55 KH |
2669 | 2003-02-25 Kazu Hirata <kazu@cs.umass.edu> |
2670 | ||
2671 | * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS | |
2672 | does not reduce the cost of SET. | |
2673 | ||
14f00213 FS |
2674 | 2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2675 | ||
2676 | PR target/9732 | |
2677 | * config/rs6000/rs6000.c (first_reg_to_save): Handle | |
2678 | PIC_OFFSET_TABLE_REGNUM for -fPIC too. | |
2679 | (rs6000_emit_prologue): Likewise. | |
2680 | (rs6000_emit_epilogue): Likewise. | |
2681 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make | |
2682 | PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC. | |
2683 | ||
8164b171 RH |
2684 | 2003-02-25 Richard Henderson <rth@redhat.com> |
2685 | ||
2686 | * real.c (real_to_integer2): Force overflow result only for | |
2687 | unsigned overflow. | |
2688 | ||
9e48c409 KH |
2689 | 2003-02-25 Kazu Hirata <kazu@cs.umass.edu> |
2690 | ||
2691 | * gcse.c (cprop_jump): Revert the 2003-02-23 change. | |
2692 | ||
3044064c | 2693 | 2003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> |
52999738 | 2694 | Richard Henderson <rth@redhat.com> |
3044064c VM |
2695 | |
2696 | * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when | |
4e21585b | 2697 | there is no similar load. |
3044064c | 2698 | |
15aab9c0 | 2699 | 2003-02-25 Vladimir Makarov <vmakarov@redhat.com> |
52999738 | 2700 | Richard Henderson <rth@redhat.com> |
15aab9c0 VM |
2701 | |
2702 | * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from | |
2703 | sched-rgn.c. | |
2704 | (add_forward_dependence): New function prototype. | |
2705 | ||
2706 | * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to | |
2707 | sched-init.h. | |
2708 | (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move | |
2709 | them to haifa-sched.c. | |
2710 | ||
2711 | * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp, | |
2712 | haifa_classify_insn): Move them from sched-rgn.c. | |
2713 | ||
2714 | * sched-deps.c (add_dependence): Return flag of creating a new | |
2715 | entry. | |
2716 | (add_forward_dependence): New function. | |
2717 | (compute_forward_dependences): Use the function. | |
9a79ab7e | 2718 | |
15aab9c0 VM |
2719 | * sched-ebb.c (earliest_block_with_similiar_load): New function. |
2720 | (add_deps_for_risky_insns): New function. | |
2721 | (schedule_ebb): Call the function. | |
2722 | ||
2723 | 2003-02-20 Aldy Hernandez <aldyh@redhat.com> | |
c8e4f0e9 | 2724 | |
52999738 ZW |
2725 | * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to |
2726 | TARGET_VECTOR_OPAQUE_P. Document accordingly. | |
c8e4f0e9 | 2727 | |
52999738 ZW |
2728 | * testsuite/gcc.dg/20030218-1.c: Check that initialization of |
2729 | opaque types fail. | |
c8e4f0e9 | 2730 | |
52999738 ZW |
2731 | * c-typeck.c (comptypes): Change call to vector_types_compatible |
2732 | to vector_opaque_p. | |
2733 | (convert_for_assignment): Call vector_opaque_p instead of | |
2734 | vector_types_compatible. | |
2735 | (really_start_incremental_init): Disallow initialization of opaque | |
2736 | types. | |
c8e4f0e9 | 2737 | |
52999738 ZW |
2738 | * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE. |
2739 | Define TARGET_VECTOR_OPAQUE_P. | |
2740 | (TARGET_INITIALIZER): Same. | |
c8e4f0e9 | 2741 | |
52999738 ZW |
2742 | * target.h (struct gcc_target): Remove vector_types_compatible. |
2743 | Add vector_opaque_p. | |
c8e4f0e9 | 2744 | |
52999738 ZW |
2745 | * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible): |
2746 | Remove. | |
2747 | (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is | |
2748 | a vector type. Change return type to bool. | |
2749 | (TARGET_VECTOR_TYPES_COMPATIBLE): Remove. | |
2750 | (TARGET_VECTOR_OPAQUE_P): Define. | |
c8e4f0e9 | 2751 | |
52999738 ZW |
2752 | * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p |
2753 | target hook. | |
2754 | Include target.h. | |
2755 | (cp_parser_init_declarator): Fix typo in function comments. | |
c8e4f0e9 | 2756 | |
fa1a0d02 JH |
2757 | Tue Feb 25 12:35:34 CET 2003 Jan Hubicka <jh@suse.cz> |
2758 | ||
2759 | * Makefile.in (lcm.o): Add dependency on function.h | |
2760 | * lcm.c (function.h): Include. | |
2761 | * i386.c (machine_function, ix86_stack_locals, | |
2762 | * ix86_save_varrargs_registers) : Move to | |
2763 | ... | |
2764 | * i386.h (machine_function, ix86_stack_locals, | |
2765 | ix86_save_varrargs_registers): ... here; add optimize_mode_switching | |
2766 | (ix86_optimize_mode_switching): New. | |
2767 | * i386.md (fix patterns): Set ix86_optimize_mode_switching | |
2768 | ||
b103bfef NC |
2769 | 2003-02-25 Nick Clifton <nickc@redhat.com> |
2770 | ||
2771 | * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo. Name | |
2772 | of fourth arg is 'fndecl' not 'indirect'. Update comment | |
2773 | describing the function's parameters. | |
2774 | ||
2d21f7d6 JH |
2775 | Mon Feb 24 22:08:22 CET 2003 Jan Hubicka <jh@suse.cz> |
2776 | ||
2777 | * combine.c (simplify_shift_const): Fix previous patch. | |
2778 | ||
2bac97f7 JL |
2779 | 2003-02-24 Jeff Law <law@redhat.com> |
2780 | ||
2781 | * i386.md (testdi_1_rex64): Discourage reload from using the %eax | |
2782 | alternative. | |
2783 | (testsi_1, testhi_1, testqi_1): Likewise. | |
2784 | ||
f8dc212b RO |
2785 | 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2786 | ||
2787 | * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename | |
2788 | __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX. | |
2789 | * doc/extend.texi (Tru64 Pragmas): Reflect this. | |
2790 | ||
2791 | * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma | |
9a79ab7e | 2792 | extern_prefix support for Tru64 UNIX V5 <sys/stat.h>. |
f8dc212b RO |
2793 | * fixinc/fixincl.x: Regenerate. |
2794 | * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New | |
2795 | testcase. | |
2796 | Fixes PR c/5059, c/6126, other/9671. | |
9a79ab7e | 2797 | |
44ee6e9e RS |
2798 | 2003-02-24 Roger Sayle <roger@eyesopen.com> |
2799 | ||
2800 | * gcc.c (do_spec_1) ['{']: Handle pending argument upon return | |
2801 | from handle_braces in "%{...}". | |
2802 | ||
463f02cd KK |
2803 | 2003-02-24 Kaz Kojima <kkojima@gcc.gnu.org> |
2804 | ||
2805 | * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define. | |
2806 | (prepare_move_operands): Handle TLS operands. | |
2807 | (tls_symbolic_operand): New. | |
2808 | (nonpic_symbol_mentioned_p): Handle TLS UNSPECs. | |
2809 | (legitimize_pic_address): Do nothing for the TLS symbol. | |
2810 | (sh_encode_section_info): Handle TLS case. | |
2811 | (sh_strip_name_encoding): Drop TLS encoding. | |
2812 | * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype. | |
2813 | * config/sh/sh.h (SH_TLS_ENCODING): Define. | |
2814 | (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise. | |
2815 | (ASM_OUTPUT_LABELREF): Drop TLS encoding. | |
2816 | (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs. | |
2817 | * config/sh/sh.md: Define TLS UNSPEC constants. | |
2818 | (type): Add tls_load. | |
2819 | ("tls_global_dynamic", "tls_local_dynamic"): New insns. | |
2820 | ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders. | |
2821 | ("tls_initial_exec"): New insn. | |
2822 | ("sym2TPOFF", "symTPOFF2reg"): New expanders. | |
2823 | ("load_gbr"): New insn. | |
2824 | ||
2825 | * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases. | |
52999738 | 2826 | * configure: Regenerate. |
463f02cd | 2827 | |
8403445a AM |
2828 | 2003-02-24 Alan Modra <amodra@bigpond.net.au> |
2829 | ||
6fc19dc9 | 2830 | PR 9297, PR 9722 |
8403445a AM |
2831 | * calls.c (store_one_arg): Revert 1999-02-16 change. Revert |
2832 | 2000-12-17 change. Pass EXPAND_STACK_PARM to expand_expr. | |
2833 | * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM. | |
2834 | (enum block_op_methods): Reorder for better store_expr optimization. | |
2835 | * expr.c (store_expr): Test bit 1 of "want_value" for call param | |
2836 | stores, test bit 0 for original want_value meaning. Pass | |
2837 | BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set. Adjust | |
2838 | recursive calls, and calls to expand_param. | |
2839 | (expand_expr): Handle EXPAND_STACK_PARM modifier. When cse | |
2840 | expected, set target to 0 rather than to subtarget. Formatting. | |
2841 | ||
ef906381 KH |
2842 | 2003-02-23 Kazu Hirata <kazu@cs.umass.edu> |
2843 | ||
2844 | * gcse.c (cprop_jump): Use the REG_EQUAL note if available. | |
2845 | ||
16226f1e KG |
2846 | 2003-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2847 | ||
2848 | * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document | |
2849 | new default behavior. | |
2850 | * ggc-common.c: Include sys/resource.h. | |
2851 | (ggc_rlimit_bound): New function. | |
2852 | (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update | |
2853 | defaults to account for rlimits. | |
2854 | ||
9e555526 RH |
2855 | 2003-02-22 Richard Henderson <rth@redhat.com> |
2856 | ||
2857 | * i386.c, i386.h (TUNEMASK): Rename from CPUMASK. | |
2858 | ||
2859 | 2003-02-22 Kelley Cook <kelley@dwhoops.info> | |
2860 | ||
52999738 | 2861 | * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu. |
9e555526 RH |
2862 | (ix86_tune_string): Rename from ix86_cpu_string. |
2863 | ||
9d913bbf KC |
2864 | 2003-02-22 Kelley Cook <kelleycook@comcast.net> |
2865 | ||
52999738 ZW |
2866 | * config/i386/i386.c: Replace "mcpu" with "mtune". |
2867 | * config/i386/i386.h (TARGET_OPTIONS): Likewise. | |
2868 | (CC1_CPU_SPEC): Likewise. New warning for "-mcpu". | |
2869 | * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu" | |
2870 | with "mtune". Note that "mcpu" is a deprecated synonym for "mtune". | |
9d913bbf | 2871 | |
d2c172bf AS |
2872 | 2003-02-23 Andreas Schwab <schwab@suse.de> |
2873 | ||
2874 | * config.gcc: Delete references to m68k/t-linux and | |
2875 | m68k/t-linux-aout. | |
2876 | * config/m68k/t-linux, config/m68k/t-linux-aout: Removed. | |
2877 | ||
b3de7382 JH |
2878 | Sat Feb 22 20:22:19 CET 2003 Jan Hubicka <jh@suse.cz> |
2879 | ||
2880 | * toplev.c (rest_of_compilation): Apply fotgotten hunk | |
2881 | of track scheduling patch. | |
2882 | ||
90b8be73 JH |
2883 | Sat Feb 22 19:29:28 CET 2003 Jan Hubicka <jh@suse.cz> |
2884 | ||
2885 | * config/linux.h (TARGET_HAS_F_SETLKW): Define. | |
2886 | * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise | |
2887 | ||
764c4414 JH |
2888 | Sat Feb 22 12:42:16 CET 2003 Jan Hubicka <jh@suse.cz> |
2889 | ||
2890 | * c-decl.c (c_expand_body_1): Fix. | |
2891 | ||
1c4a429a JH |
2892 | Sat Feb 22 03:13:36 CET 2003 Jan Hubicka <jh@suse.cz> |
2893 | ||
2894 | * expmed.c (expand_divmod): Undo sign extensions for unsigned operands | |
2895 | ||
2896 | * cfgcleanup.c (try_forward_edges): Don't check loop structures | |
2897 | when not optimizing. | |
2898 | (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns | |
2899 | when not expensive. | |
2900 | * toplev.c (rest_of_compilation): Duplicate loop headers only when | |
2901 | optimizing; Delete trivially dead insns early; fix optimize check. | |
2902 | ||
2903 | * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add | |
2904 | dependency on cgraph.h | |
2905 | * c-decl.c: Include cgraph.h | |
2906 | (finish_function): Update call of tree_inlinable_function_p. | |
2907 | * c-objc-common.c: Include cgraph.h | |
2908 | * cgraph.h: New file. | |
2909 | * cgraphunit.c: New file. | |
2910 | * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h | |
2911 | (cgraph_nodes, cgraph_n_nodes): Globalize. | |
2912 | (cgraph_finalize_function, cgraph_finalize_compilation_unit | |
2913 | cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node): | |
2914 | Move into cgraphunit.c | |
2915 | * tree-inline.c: Include cgraph.h | |
2916 | * tree-inline.c: Include cgraph.h | |
2917 | ||
1e2115dc JZ |
2918 | 2003-02-22 Josef Zlomek <zlomekj@suse.cz> |
2919 | ||
2920 | * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG | |
2921 | for copying a register. | |
2922 | ||
26182e15 SB |
2923 | 2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl> |
2924 | ||
2925 | PR other/3782 | |
2926 | * toplev.c (process_options): If flag_detailed_statistics is set, | |
2927 | then set time_report as well. | |
2928 | ||
b6553814 SB |
2929 | PR c/8828 |
2930 | * jump.c (never_reached_warning): Don't fall through BARRRIER | |
26182e15 SB |
2931 | insns. Update comments to reflect what the function really does. |
2932 | ||
c0a47a61 RS |
2933 | 2003-02-21 Roger Sayle <roger@eyesopen.com> |
2934 | ||
2935 | * fold-const.c (omit_one_operand): No longer static. | |
2936 | * tree.h (omit_one_operand): Prototype here. | |
2937 | (div_and_round_double): Keep fold-const.c prototypes together. | |
2938 | * builtins.c (builtin_mathfn_code): Handle binary built-in | |
2939 | funtions, such as "pow" and "atan2". | |
2940 | (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0. | |
2941 | Simplify optimizations using "type" the builtin's return type. | |
2942 | ||
51928907 HPN |
2943 | 2003-02-22 Hans-Peter Nilsson <hp@axis.com> |
2944 | ||
5b296d93 HPN |
2945 | * config/cris/cris.c (cris_rtx_costs): Blockify dangling else. |
2946 | Fix functionalization typo. | |
2947 | ||
51928907 HPN |
2948 | * regmove.c (optimize_reg_copy_1): Do not replace a hard register |
2949 | in an asm. | |
2950 | ||
9ac121af KG |
2951 | 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2952 | ||
2953 | * Makefile.in (ggc-common.o): Depend on $(PARAMS_H) | |
2954 | * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update | |
2955 | documentation. | |
2956 | * ggc-common.c: Include params.h | |
2957 | (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic, | |
2958 | init_ggc_heuristics): New functions. | |
2959 | * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic, | |
2960 | init_ggc_heuristics): Prototype. | |
2961 | * toplev.c (print_version): Output GGC heuristics. | |
2962 | (parse_options_and_default_flags): Call init_ggc_heuristics. | |
2963 | ||
453ee231 JH |
2964 | Sat Feb 22 02:35:07 CET 2003 Jan Hubicka <jh@suse.cz> |
2965 | ||
2966 | * i386.c (def_builtin): Special case 64bit builtins. | |
2967 | (MASK_SSE164, MASK_SSE264): New constants. | |
2968 | (builtin_description): Add 64bit builtins. | |
2969 | (ix86_init_mmx_sse_builtins): Likewise. | |
2970 | * i386.h (enum ix86_builtins): Likewise. | |
2971 | * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq, | |
2972 | sse2_movq2dq_rex64, sse2_movsq2q_rex64): New. | |
2973 | (sse2_movq2dq, sse2_movsq2q): Disable for 64bit. | |
2974 | * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New. | |
2975 | * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss, | |
2976 | _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x, | |
2977 | _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New. | |
2978 | ||
d50672ef JH |
2979 | Sat Feb 22 00:48:22 CET 2003 Jan Hubicka <jh@suse.cz> |
2980 | ||
2981 | * i386.c (builtin_description): Add __builtin_ia32_paddq and | |
2982 | __builtin_ia32_psubq. Fix __builtin_ia32_paddq128 | |
2983 | and __builtin_ia32_psubq128. | |
2984 | * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New. | |
2985 | * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'. | |
2986 | (mmx_adddi3, mmx_subdi3): New. | |
2987 | * mmintrin.h (_mm_add_si64, _mm_sub_si64): New. | |
2988 | * xmmintrin.h (_mm_movepi64_pi64): New. | |
2989 | (_mm_add_epi64, _mm_sub_epi64): fix. | |
2990 | (_mm_mul_pu16): Rename to... | |
2991 | (_mm_mul_su32): ... this one. | |
2992 | ||
2993 | * builtins.c (expand_builtin_expect): Do not predict | |
2994 | flag_guess_branch_prob is not set. | |
2995 | * c-semantics.c (expand_stmt): Likewise. | |
2996 | * predict.c (predict_insn): Likewise. | |
2997 | * stmt.c (expand_continue_loop): Likewise. | |
2998 | * toplev.c (rest_of_compilation): Do not call | |
2999 | note_prediction_to_br_prob and note_prediction_to_br_prob | |
3000 | when not optimizing. | |
3001 | ||
9809a362 JH |
3002 | Fri Feb 21 23:10:13 CET 2003 Jan Hubicka <jh@suse.cz> |
3003 | ||
3004 | * cfgrtl.c (commit_edge_insertions): Call | |
3005 | find_many_sub_basic_block only when some code has been emitted. | |
3006 | (commit_edge_insertions_watch_calls): Bring into sync with | |
3007 | commit_edge_insertions | |
3008 | ||
a93d1ba2 R |
3009 | Fri Feb 21 20:41:29 2003 J"orn Rennecke <joern.rennecke@superh.com> |
3010 | ||
3011 | * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class. | |
3012 | ||
3013 | * sh.md (binary_sf_op): Use extra constant operand instead of | |
3014 | negating constant operand 4. | |
3015 | * sh.c (sh_expand_binop_v2sf): Supply it. | |
3016 | ||
a8d0ddaf ZW |
3017 | 2003-02-21 Zack Weinberg <zack@codesourcery.com> |
3018 | ||
3019 | * cpphash.h (struct lexer_state): Add directive_wants_padding. | |
3020 | * cpplib.c (_cpp_handle_directive): Set directive_wants_padding | |
3021 | for directives of type INCL. | |
3022 | (glue_header_name, parse_include): Use get_token_no_padding. | |
3023 | * cppmacro.c (replace_args): If directive_wants_padding, | |
3024 | provide padding tokens. | |
3025 | ||
902ac719 KH |
3026 | 2003-02-21 Kazu Hirata <kazu@cs.umass.edu> |
3027 | ||
3028 | * config/h8300/h8300.md (a peephole2): New. | |
3029 | ||
9dca2ad5 JH |
3030 | Fri Feb 21 11:05:44 CET 2003 Jan Hubicka <jh@suse.cz> |
3031 | ||
3032 | * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting. | |
3033 | (commit_edge_insertions): Call find_many_sub_basic_blocks | |
3034 | ||
3035 | * reg-stack.c (convert_regs): Cleax aux for blocks. | |
3036 | ||
64465d27 JH |
3037 | Fri Feb 21 10:29:52 CET 2003 Jan Hubicka <jh@suse.cz> |
3038 | ||
3039 | * toplev.c (parse_options_and_default_flags): Undo accidental commit. | |
3040 | ||
9e7d0b92 GN |
3041 | 2003-02-21 Glen Nakamura <glen@imodulo.com> |
3042 | ||
3043 | PR optimization/8613 | |
3044 | * builtins.c (expand_builtin): Emit postincrements before expanding | |
3045 | builtin functions. | |
3046 | ||
a7582c8c BE |
3047 | 2003-02-21 Ben Elliston <bje@redhat.com> |
3048 | ||
3049 | PR other/5634 | |
3050 | * doc/install.texi (Configuration): Explain using $HOME instead of | |
3051 | the ~ metacharacter when referring to home directories. | |
3052 | ||
91710e62 AO |
3053 | 2003-02-20 Alexandre Oliva <aoliva@redhat.com> |
3054 | ||
3055 | * configure.in (TARGET_SYSTEM_ROOT): Set default to | |
3056 | ${exec_prefix}/${target_alias}/sys-root. Match explicit | |
3057 | '${exec_prefix}' (in addition to the expansion thereof) as | |
3058 | relocatable. | |
3059 | * configure: Rebuilt. | |
3060 | ||
d64f6f86 KH |
3061 | 2003-02-20 Kazu Hirata <kazu@cs.umass.edu> |
3062 | ||
3063 | * config/h8300/h8300.md (addhi3_incdec): Change the name to | |
3064 | *addhi3_incdec. | |
3065 | (addsi3_incdec): Change the name to *addsi3_incdec. | |
3066 | ||
fd7acc30 RS |
3067 | 2003-02-20 Roger Sayle <roger@eyesopen.com> |
3068 | ||
3069 | * explow.c (force_reg): Avoid useless REG_EQUAL notes. | |
3070 | ||
1c2de642 TM |
3071 | 2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl> |
3072 | ||
3073 | PR fortran/9038 | |
3074 | * c-opts.c (sanitize_cpp_opts): Add Fortran front end | |
3075 | options to be ignored. | |
3076 | (c_common_decode_option): Ignore them when preprocessing. | |
3077 | ||
b9422b69 JH |
3078 | Thu Feb 20 21:41:19 CET 2003 Jan Hubicka <jh@suse.cz> |
3079 | ||
fd7acc30 RS |
3080 | * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New |
3081 | global variables. | |
3082 | (lang_independent_options): Add -fsched2-use-superblocks | |
3083 | -fsced2-use-traces. | |
b9422b69 JH |
3084 | (rest_of_compilation): Deal with it. |
3085 | * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare. | |
fd7acc30 RS |
3086 | * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces): |
3087 | Declare. | |
b9422b69 JH |
3088 | * rtl.h (reg_to_stack): Update prototype. |
3089 | * reg-stack.c (reg_to_stack): Return when something has changed; | |
3090 | update liveness when executing after superblock scheduling. | |
3091 | ||
3092 | * combine.c (simplify_shift_const): Simplify few special cases | |
3093 | into constants. | |
3094 | ||
a62bfff2 DE |
3095 | 2003-02-20 David Edelsohn <edelsohn@gnu.org> |
3096 | ||
3097 | * config/rs6000/rs6000.md: (attr "type"): Add fast_compare. | |
3098 | (add.,subf.,neg.): Change attribute to fast_compare. | |
3099 | All DFA descriptions updated. | |
3100 | ||
dbbf88d1 NS |
3101 | 2003-02-20 Nathan Sidwell <nathan@codesourcery.com> |
3102 | ||
3103 | Change base class access representation. | |
3104 | * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED, | |
3105 | TREE_VIA_PRIVATE): Remove. | |
3106 | (BINFO_BASEACCESSES): New binfo elt. | |
3107 | (BINFO_BASEACCESS): New accessor. | |
3108 | (BINFO_ELTS): Increase. | |
3109 | (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New. | |
3110 | (access_public_node, access_protected_node, | |
3111 | access_private_node): New global nodes. | |
3112 | * tree.c (build_common_tree_nodes_2): Initialize access nodes. | |
3113 | * dbxout.c (dbxout_type): Adjust. | |
3114 | * dwarf2out.c (gen_inheritance_die): Add access parameter. | |
3115 | (gen_member_die): Adjust. | |
3116 | * dwarfout.c (output_inheritance_die): ARG is array of two trees. | |
3117 | (output_type): Adjust. | |
3118 | * tree-dump.c (dequeue_and_dump): Adjust binfo dumping. | |
3119 | ||
3120 | Change base class access representation. Share virtual base | |
3121 | binfos. | |
3122 | * cp/call.c (build_special_member_call): Remove binfo_for_vbase | |
3123 | call. | |
3124 | * cp/class.c (build_base_path): Likewise. | |
3125 | (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use. | |
3126 | (build_secondary_vtable): Remove FOR_TYPE arg. Adjust. | |
3127 | (make_new_vtable): Adjust. | |
3128 | (force_canonical_binfo_r): Delete. | |
3129 | (force_canonical_binfo): Delete. | |
3130 | (mark_primary_virtual_base): Delete. | |
3131 | (dfs_unshared_virtual_bases): Delete. | |
3132 | (mark_primary_bases): Adjust. | |
3133 | (maybe_warn_about_overly_private_class): Adjust. | |
3134 | (dfs_base_derived_from): Delete. | |
3135 | (base_derived_from): Follow the inheritance chain. | |
3136 | (struct find_final_overrider_data): Add vpath member. | |
3137 | (dfs_find_final_overrider): Adjust. | |
3138 | (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New. | |
3139 | (find_final_overrider): Adjust. | |
3140 | (update_vtable_entry_for_fn): Adjust. | |
3141 | (modify_all_vtables): Adjust. | |
3142 | (walk_subobject_offsets): Adjust. | |
3143 | (layout_nonempty_base_or_field): Adjust. | |
3144 | (layout_empty_base): Remove last parameter. Adjust. | |
3145 | (build_base_field): Adjust. | |
3146 | (build_base_fields): Adjust. | |
3147 | (propagate_binfo_offsets): Remove last parameter. Adjust. | |
3148 | (dfs_set_offset_for_unshared_vbases): Delete. | |
3149 | (layout_virtual_bases): Adjust. | |
3150 | (finish_struct_1): Adjust. | |
3151 | (init_class_processing): Don't init access nodes. | |
3152 | (dfs_get_primary_binfo): Delete. | |
3153 | (get_primary_binfo): Adjust. | |
3154 | (dump_class_hierarchy_r): Remove most derived arg, add IGO | |
3155 | parameter. Adjust. | |
3156 | (dump_class_hierarchy): Adjust. | |
3157 | (finish_vtbls): Adjust. | |
3158 | (get_original_base): Delete. | |
3159 | (build_vtt_inits): Adjust. | |
3160 | (dfs_build_secondary_vptr_vtt_inits): Adjust. | |
3161 | (dfs_ctor_vtable_bases_queue_p): Adjust. | |
3162 | (build_ctor_vtbl_group): Adjust. | |
3163 | (dfs_accumulate_vtbl_inits): Adjust. | |
3164 | (build_vtbl_initializer): Adjust. | |
3165 | (build_vbase_offset_vtbl_entries): Adjust. | |
3166 | (add_vcall_offset_vtbl_entries_1): Adjust. | |
3167 | * cp/cp-tree.h (CPTI_ACCESS_*): Remove. | |
3168 | (access_*_node): Remove. | |
3169 | (CANONICAL_BINFO): Delete. | |
3170 | (BINFO_UNSHARED_MARKED): Remove. | |
3171 | (BINFO_MARKED): Set LANG_FLAG_0 directly. | |
3172 | (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete. | |
3173 | (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly. | |
3174 | (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED): | |
3175 | Delete. | |
3176 | (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly. | |
3177 | (SET_BINFO_NEW_VTABLE_MARKED): Adjust. | |
3178 | (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED): | |
3179 | Delete. | |
3180 | (BINFO_DEPENDENT_BASE_P): New. | |
3181 | (dfs_walk, dfs_walk_real): Queue function takes derived binfo and | |
3182 | index. | |
3183 | (markedp, unmarkedp): Adjust. | |
3184 | (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p, | |
3185 | dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp, | |
3186 | find_vbase_instance, binfo_for_vbase): Delete. | |
3187 | (copied_binfo, original_binfo): Declare. | |
3188 | (finish_base_specifier): Add virtual_p arg. | |
3189 | (unshare_base_binfos): Delete. | |
3190 | (copy_base_binfos): Declare. | |
3191 | (reverse_path): Delete. | |
3192 | * cp/decl.c (xref_basetypes): Access and virtuality passed | |
3193 | differently. Don't copy direct base binfos here. Call | |
3194 | copy_base_binfos. | |
3195 | * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust. | |
3196 | (initialize_vtbl_ptrs): Adjust. | |
3197 | (expand_member_init): Adjust. | |
3198 | * cp/parser.c (cp_parser_base_specifier): Adjust. | |
3199 | * cp/pt.c (instantiate_class_template): Adjust. | |
3200 | (get_template_base_recursive): Adjust. | |
3201 | * cp/rtti.c (get_pseudo_ti_init): Adjust. | |
3202 | (get_pseudo_ti_desc): Adjust. | |
3203 | * cp/tree.c (unshare_base_binfos): Rename to ... | |
3204 | (copy_base_binfos): ... here, reimplement. | |
3205 | (make_binfo): Set BINFO_DEPENDENT_BASE_P. | |
3206 | (reverse_path): Remove. | |
3207 | * cp/typeck.c (get_delta_difference): Adjust error messages. | |
3208 | * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust. | |
3209 | * cp/search.c (lookup_base_r): Adjust. | |
3210 | (dynamic_cast_base_recurse): Adjust. | |
3211 | (canonical_binfo): Remove. | |
3212 | (dfs_canonical_queue): Remove. | |
3213 | (dfs_assert_unmarked_p): Remove. | |
3214 | (assert_canonical_unmarked): Remove. | |
3215 | (shared_marked_p, shared_unmarked_p): Remove. | |
3216 | (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE. | |
3217 | (dfs_access_in_type): Adjust. | |
3218 | (access_in_type): Adjust. | |
3219 | (dfs_accessible_queue_p): Adjust. | |
3220 | (dfs_accessible_p): Adjust. | |
3221 | (is_subobject_of_p_1, is_subobject_of_p): Remove. | |
3222 | (struct lookup_field_info): Remove from_dep_base_p field. | |
3223 | (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P. | |
3224 | (lookup_field_r): Remove dependent base code. | |
3225 | (lookup_member): Likewise. | |
3226 | (dfs_walk, dfs_walk_real): Add access arg to queue fn. | |
3227 | (dfs_unmarked_real_bases_queue_p): Remove. | |
3228 | (dfs_marked_real_bases_queue_p): Remove. | |
3229 | (dfs_skip_vbases): Remove. | |
3230 | (dfs_get_pure_virtuals): Adjust. | |
3231 | (markedp, unmarkedp): Adjust. | |
3232 | (marked_vtable_pathp, unmarked_vtable_pathp): Remove. | |
3233 | (marked_pushdecls_p, unmarked_pushdecls_p): Adjust. | |
3234 | (dfs_unmark): Adjust. | |
3235 | (dfs_get_vbase_types):Remove. | |
3236 | (dfs_build_inheritance_graph_order): Remove. | |
3237 | (get_vbase_types): Remove | |
3238 | (dfs_find_vbase_instance): Remove. | |
3239 | (find_vbase_instance): Remove. | |
3240 | (dfs_debug_unmarkedp): Adjust. | |
3241 | (dependent_base_p): Remove. | |
3242 | (dfs_push_type_decls): Adjust. | |
3243 | (dfs_push_decls): Adjust. | |
3244 | (dfs_no_overlap_yet): Adjust. | |
3245 | (copied_binfo): New function. | |
3246 | (original_binfo): New function. | |
3247 | (binfo_for_vbase): Remove. | |
3248 | ||
3249 | Change base class access representation. | |
3250 | * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC. | |
3251 | (add_interface_do): Likewise. | |
3252 | ||
6d6ab190 DE |
3253 | 2003-02-20 David Edelsohn <edelsohn@gnu.org> |
3254 | ||
a8d0ddaf ZW |
3255 | * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. |
3256 | * config/rs6000/power4.md (power4-store,power4-vecstore): New | |
6d6ab190 DE |
3257 | insn reservations. |
3258 | (power4-fpstore): Compact. | |
3259 | ||
2dd5df7c KH |
3260 | 2003-02-20 Kazu Hirata <kazu@cs.umass.edu> |
3261 | ||
3262 | * config/h8300/h8300.md (*iorsi3_w): New. | |
3263 | ||
8fa08316 JZ |
3264 | 2003-02-20 Josef Zlomek <zlomekj@suse.cz> |
3265 | ||
3266 | * combine.c (distribute_notes): Kill REG_EXEC_COUNT. | |
3267 | * rtl.c (reg_note_name): Likewise. | |
3268 | * rtl.h (enum reg_note): Likewise. | |
3269 | * doc/invoke.texi: Likewise. | |
3270 | * doc/rtl.texi: Likewise. | |
3271 | ||
c8717368 JZ |
3272 | 2003-02-20 Josef Zlomek <zlomekj@suse.cz> |
3273 | ||
3274 | * bb-reorder.c (find_traces_1_round): Fix comment typo. | |
3275 | ||
3bc400cd RS |
3276 | 2003-02-19 Roger Sayle <roger@eyesopen.com> |
3277 | ||
3278 | * fold-const.c (fold_real_zero_addition_p): Don't fold a zero | |
3279 | addition in the presence of signaling NaNs. | |
3280 | ||
b5a49c0b KW |
3281 | 2003-02-19 Krister Walfridsson <cato@df.lth.se> |
3282 | ||
3283 | * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo. | |
3284 | ||
472f2723 KH |
3285 | 2003-02-19 Kazu Hirata <kazu@cs.umass.edu> |
3286 | ||
3287 | * config/h8300/h8300.c (output_logical_op): Optimize or.l when | |
3288 | ORing with 0xffff??00 with the highest bit of the ?? part set. | |
3289 | (compute_logical_op_length): Update. | |
3290 | (compute_logical_op_cc): Likewise. | |
3291 | ||
6d9cc15b JZ |
3292 | 2003-02-19 Josef Zlomek <zlomekj@suse.cz> |
3293 | ||
3294 | * bb-reorder.c (find_traces_1_round): Fixed condition for small | |
3295 | destination block with multiple predecessors. | |
3296 | (connect_traces): Check whether the block is a start of trace. | |
3297 | ||
563a317a JH |
3298 | Wed Feb 19 19:00:24 CET 2003 Jan Hubicka <jh@suse.cz> |
3299 | ||
3300 | * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS | |
3301 | * function.c (assign_params): Likewise. | |
3302 | * arm-protos.h (arm_init_cumulative_args): Update prototype. | |
3303 | * arm.c (arm_init_cumulative_args): Update function. | |
3304 | * arm.h (INIT_CUMULATIVE_ARGS): Update. | |
3305 | * avr-protos.h (init_cumulative_args): Update prototype. | |
3306 | * avr.c (init_cumulative_args): Update function. | |
3307 | * avr.h (INIT_CUMULATIVE_ARGS): Update. | |
3308 | * d30v-protos.h (d30v_init_cumulative_args): Update prototype. | |
3309 | * d30v.c (d30v_init_cumulative_args): Update function. | |
3310 | * d30v.h (INIT_CUMULATIVE_ARGS): Update. | |
3311 | * frv-protos.h (frv_init_cumulative_args): Update prototype. | |
3312 | * frv.c (frv_init_cumulative_args): Update function. | |
3313 | * frv.h (INIT_CUMULATIVE_ARGS): Update. | |
3314 | * mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS. | |
3315 | * pa.h (INIT_CUMULATIVE_ARGS): Update. | |
3316 | * sparc-protos.h (init_cumulative_args): Update prototype. | |
3317 | * sparc.c (init_cumulative_args): Update function. | |
3318 | * sparc.h (INIT_CUMULATIVE_ARGS): Update. | |
3319 | * tm.texi (INIT_CUMULATIVE_ARGS): Update documentation. | |
3320 | ||
be9d08c2 KH |
3321 | 2003-02-19 Kazu Hirata <kazu@cs.umass.edu> |
3322 | ||
3323 | * config/h8300/h8300.md (*iorsi3_two_qi_sext): New. | |
3324 | (*ashiftsi_sextqi_7): Likewise. | |
3325 | ||
f23147fe RO |
3326 | 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3327 | ||
3328 | * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for | |
3329 | ISO C99 and C++. | |
3330 | ||
3331 | * fixinc/inclhack.def (irix___restrict): Don't change __restrict | |
3332 | for C++ on IRIX 6.5.1[89]. | |
3333 | * fixinc/tests/base/internal/sgimacros.h: New file. | |
3334 | ||
3335 | * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99. | |
3336 | * fixinc/tests/base/internal/wchar_core.h: New file. | |
a8d0ddaf | 3337 | |
f23147fe RO |
3338 | * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78] |
3339 | socklen_t definition. | |
3340 | * fixinc/fixincl.x: Regenerate. | |
3341 | * fixinc/tests/base/sys/socket.h: New file. | |
3342 | Fixes PR libgcj/9652. | |
3343 | ||
30e4d9d4 JH |
3344 | Wed Feb 19 17:22:51 CET 2003 Jan Hubicka <jh@suse.cz> |
3345 | ||
3346 | * i386.md (movsfcc_1, movdfcc_1): Fix constrains. | |
3347 | ||
2792d578 DE |
3348 | 2003-02-19 David Edelsohn <edelsohn@gnu.org> |
3349 | ||
3350 | * config/rs6000/rs6000.c (rs6000_override_options): Initialize | |
3351 | align_jumps_max_skip and align_loops_max_skip. | |
3352 | ||
3353 | 2003-02-19 Thierry Moreau <thierry.moreau@connotech.com> | |
3354 | ||
3355 | * config/rs6000/rs6000.c (rs6000_encode_section_info): Do not | |
3356 | test size if named section. | |
3357 | ||
48a5f2fa DJ |
3358 | 2003-02-19 Daniel Jacobowitz <drow@mvista.com> |
3359 | ||
3360 | * expr.c (expand_expr): Use gen_int_mode for the argument | |
3361 | to gen_rtx_MULT. | |
3362 | ||
9e889775 JH |
3363 | Wed Feb 19 14:22:42 CET 2003 Jan Hubicka <jh@suse.cz> |
3364 | ||
3365 | * i386.md (cosxf2): Fix conditional. | |
3366 | ||
f4c07fbf KH |
3367 | 2003-02-19 Kazu Hirata <kazu@cs.umass.edu> |
3368 | ||
3369 | * config/h8300/h8300.md (extendqisi2): Change to an expander. | |
3370 | (*extendqisi2_h8300): New. | |
3371 | (*extendqisi2_h8300hs): Likewise. | |
3372 | ||
590734b6 KH |
3373 | 2003-02-19 Kazu Hirata <kazu@cs.umass.edu> |
3374 | ||
3375 | * config/h8300/h8300-protos.h: Update the prototype for | |
3376 | split_adds_subs. Remove the prototypes for | |
3377 | const_int_le_2_operand and const_int_le_6_operand. | |
3378 | * config/h8300/h8300.c (split_adds_sub): Don't output inc/dec. | |
3379 | (const_int_le_2_operand): Remove. | |
3380 | (const_int_le_6_operand): Likewise. | |
3381 | * config/h8300/h8300.h (PREDICATE_CODES): Remove the entries | |
3382 | for const_int_le_2_operand and const_int_le_6_operand. | |
3383 | * config/h8300/h8300.md: Update all uses of split_adds_subs. | |
3384 | (a peephole2): New. | |
3385 | ||
c001c39b JH |
3386 | Tue Feb 18 23:50:59 CET 2003 Jan Hubicka <jh@suse.cz> |
3387 | ||
3388 | * cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill. | |
3389 | (cgraph_expand_function): Rewrite. | |
3390 | ||
2f51bb1d | 3391 | 2003-02-18 Matt Austern <austern@apple.com> |
3bc400cd | 3392 | |
2f51bb1d | 3393 | * toplev.c, langhooks.c, langhooks-def.h: Move |
a8d0ddaf | 3394 | write_global_declarations from toplev.c to langhooks.c. |
3bc400cd | 3395 | |
ff6e1a2f KH |
3396 | 2003-02-18 Kazu Hirata <kazu@cs.umass.edu> |
3397 | ||
3398 | * config/h8300/h8300.c (general_operand_src): Always check | |
3399 | MODE. | |
3400 | (general_operand_dst): Likewise. | |
3401 | ||
78bd5210 RS |
3402 | 2003-02-18 Roger Sayle <roger@eyesopen.com> |
3403 | ||
3404 | * convert.c (convert_to_real): Also optimize (float)log(x) into | |
3405 | logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}. | |
3406 | ||
9f3a9a08 KK |
3407 | 2003-02-18 Kaz Kojima <kkojima@gcc.gnu.org> |
3408 | ||
a8d0ddaf | 3409 | * config/sh/sh.c (unspec_caller_rtx_p): New. |
9f3a9a08 | 3410 | (sh_cannot_copy_insn_p): New. |
a8d0ddaf | 3411 | (TARGET_CANNOT_COPY_INSN_P): New. |
9f3a9a08 | 3412 | |
d7ddbe24 RH |
3413 | 2003-02-18 Richard Henderson <rth@redhat.com> |
3414 | ||
3415 | * c-common.c (handle_used_attribute): Accept static data too. | |
3416 | ||
3417 | 2003-02-18 Nick Clifton <nickc@redhat.com> | |
a8d0ddaf | 3418 | Aldy Hernandez <aldyh@redhat.com> |
22d324c1 | 3419 | |
a8d0ddaf | 3420 | * testsuite/gcc.dg/20030218-1.c: New. |
22d324c1 | 3421 | |
a8d0ddaf | 3422 | * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE. |
22d324c1 | 3423 | |
a8d0ddaf ZW |
3424 | * target-def.h (TARGET_INITIALIZER): Add |
3425 | TARGET_VECTOR_TYPES_COMPATIBLE. | |
3426 | (TARGET_VECTOR_TYPES_COMPATIBLE): New macro. | |
22d324c1 | 3427 | |
a8d0ddaf | 3428 | * target.h (struct gcc_target): Add field vector_types_compatible. |
22d324c1 | 3429 | |
a8d0ddaf ZW |
3430 | * c-typeck.c (comptypes): Take into account |
3431 | TARGET_VECTOR_TYPES_COMPATIBLE. | |
3432 | (convert_for_assignment): Same. | |
22d324c1 | 3433 | |
a8d0ddaf ZW |
3434 | * config/rs6000/rs6000.c (is_ev64_opaque_type): New. |
3435 | (rs6000_spe_vector_types_compatible): New. | |
3436 | (TARGET_VECTOR_TYPES_COMPATIBLE): Define. | |
22d324c1 | 3437 | |
e5378e8d AS |
3438 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
3439 | ||
3440 | * Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H). | |
3441 | * toplev.c: Include langhooks-def.h. | |
3442 | ||
fcc11c35 CD |
3443 | 2003-02-18 Chris Demetriou <cgd@broadcom.com> |
3444 | ||
3445 | * config/mips/mips.h (enum processor_type): Sort entries | |
3446 | alphabetically. | |
3447 | * config/mips/mips.md (define_attr cpu): Sync with processor_type | |
3448 | enum values, including adding entries that were missing. | |
3449 | ||
29db2a1e R |
3450 | Tue Feb 18 20:15:54 2003 J"orn Rennecke <joern.rennecke@superh.com> |
3451 | ||
3bc400cd RS |
3452 | * sh.c (calc_live_regs): Also check GET_CODE when checking if |
3453 | initial value for PR_REG is still the PR_REG register. | |
29db2a1e | 3454 | |
582d11e6 JW |
3455 | 2003-02-18 Jim Wilson <wilson@redhat.com> |
3456 | ||
3457 | * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second | |
3458 | instruction in output template. | |
3459 | (bsp_value): Change output template from string to C code, add %, | |
3460 | before actual instruction. | |
3461 | (flushrs): Mark as not predicable. | |
3462 | ||
3edc4b23 KW |
3463 | 2003-02-18 Krister Walfridsson <cato@df.lth.se> |
3464 | ||
3465 | * inclhack.def (netbsd_bogus_semicolon): New fix. | |
3466 | * fixincl.x: Rebuilt. | |
3467 | * tests/base/ctype.h: Update. | |
3468 | ||
080ea642 RS |
3469 | 2003-02-18 Roger Sayle <roger@eyesopen.com> |
3470 | ||
3471 | * fold-const.c (negate_expr_p): New function to determine whether | |
3472 | an expression can be negated cheaply. | |
3473 | (fold) [MINUS_EXPR]: Use it to determine whether to transform | |
3474 | -A - B into -B - A for floating point types. | |
3475 | ||
e360ab39 RS |
3476 | 2003-02-18 Roger Sayle <roger@eyesopen.com> |
3477 | ||
3478 | * sbitmap.c (sbitmap_resize): New function. | |
3479 | * sbitmap.h (sbitmap_resize): Prototype here. | |
3480 | * recog.c (split_all_insns): Use sbitmap_resize. | |
3481 | ||
6b00cbc7 KH |
3482 | 2003-02-18 Kazu Hirata <kazu@cs.umass.edu> |
3483 | ||
3484 | * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the | |
3485 | insn length. | |
3486 | (extendqisi2): Likewise. | |
3487 | (*extendhisi2_h8300): Likewise. | |
3488 | ||
2b59501b | 3489 | 2003-02-18 Matt Austern <austern@apple.com> |
a8d0ddaf | 3490 | |
2b59501b MA |
3491 | * langhooks.h, langhooks-def.h: introduce new langhook, |
3492 | final_write_globals, with write_global_declarations as default. | |
3493 | * toplev.c: Move invocation of wrapup_global_declarations from | |
3494 | compile_file to new function, write_global_declarations. Change | |
3495 | compile_file to use final_write_globals hook. Change | |
3496 | wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is | |
a8d0ddaf ZW |
3497 | conditional. |
3498 | ||
131efcd8 JDA |
3499 | 2003-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3500 | ||
3501 | * pa.md: Correct and enhance comment. | |
3502 | ||
e17aafd1 GK |
3503 | 2003-02-18 Geoffrey Keating <geoffk@apple.com> |
3504 | ||
3505 | * gcc.c (validate_switches): Don't scan past closing '}'. | |
3506 | ||
f57a2e3a BE |
3507 | 2003-02-18 Ben Elliston <bje@redhat.com> |
3508 | ||
3509 | PR c++/1607 | |
3510 | * doc/extend.texi (Function Attributes): Document the effect of | |
3511 | the C++ "this" parameter on the counting of arguments for the | |
3512 | "format" and "format_arg" attributes. | |
3513 | ||
9b0c0e9f AH |
3514 | 2003-02-17 Aldy Hernandez <aldyh@redhat.com> |
3515 | ||
a8d0ddaf ZW |
3516 | * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg. |
3517 | (__ev_stdw): Same. | |
3518 | (__ev_stdh): Same. | |
9b0c0e9f | 3519 | |
35a3fa09 JH |
3520 | Mon Feb 17 16:16:54 CET 2003 Jan Hubicka <jh@suse.cz> |
3521 | ||
3522 | * recog.c (split_all_insns): Fix memory overflow. | |
3523 | ||
6dc50366 KH |
3524 | 2003-02-17 Kazu Hirata <kazu@cs.umass.edu> |
3525 | ||
3526 | * config/h8300/h8300.md (cmpqi): Remove mode from compare. | |
3527 | (cmphi): Likewise. | |
3528 | (*cmphi_h8300): Likewise. | |
3529 | (*cmphi_h8300hs): Likewise. | |
3530 | (cmpsi): Likewise. | |
3531 | (7 peephole2): Likewise. | |
3532 | ||
096daf41 JH |
3533 | Sun Feb 16 23:07:52 CET 2003 Jan Hubicka <jh@suse.cz> |
3534 | ||
3535 | * c-typeck.c (build_c_cast): Fold constant variables into | |
3536 | initial values. | |
3537 | ||
35113fde GP |
3538 | 2003-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3539 | ||
3540 | * doc/install.texi (Specific): Fix link for m68k-att-sysv. | |
3541 | (Binaries): Ditto for Sinix/Reliant Unix. | |
3542 | ||
3a1944a6 RE |
3543 | 2003-02-16 Richard Earnshaw <rearnsha@arm.com> |
3544 | ||
3545 | * arm.c (arm_reload_in_hi): Ensure that the scratch register does | |
3546 | not overlap the final result register. | |
3547 | ||
cdd4b0d4 AB |
3548 | 2003-02-16 Arend Bayer <arend.bayer@web.de> |
3549 | Richard Henderson <rth@redhat.com> | |
3550 | ||
ddb9eedd | 3551 | PR c/8068 |
cdd4b0d4 AB |
3552 | * fold-const.c (extract_muldiv_1): Rename from extract_muldiv; |
3553 | rearrange mult arguments for less recursion. | |
3554 | (extract_muldiv): New. Prevent runaway recursion. | |
3555 | ||
616f273a DS |
3556 | 2003-02-16 Danny Smith <dannysmith@users.sourceforge.net> |
3557 | ||
3558 | * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set | |
3559 | MASK_ALIGN_DOUBLE. | |
3560 | ||
881b2a96 RS |
3561 | 2003-02-15 Roger Sayle <roger@eyesopen.com> |
3562 | ||
3563 | * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns | |
3564 | to load mathematical constants on K6, Athlon, Pentium 4 and PPro. | |
3565 | (ext_80387_constants_table): Global table of 80387 special constants | |
3566 | guarded by ext_80387_constants_init flag when not initialized. | |
3567 | (init_ext_80387_constants): New function to initialize this table. | |
3568 | (standard_80387_constant_p): Extend to recognize extra 80387 | |
3569 | constants, in XFmode, on processors where this is a win. | |
3570 | (standard_80387_constant_opcode): New function to return the | |
3571 | opcode associated with standard_80387_constant_p. | |
3572 | (standard_80387_constant_rtx): New function to return the XFmode | |
3573 | CONST_DOUBLE associated with standard_80387_constant_p. | |
3574 | (ix86_rtx_costs): Give the new constants the same cost as 1.0. | |
3575 | ||
3576 | * config/i386/i386-protos.h (standard_80387_constant_opcode): | |
3577 | Prototype here. | |
3578 | (standard_80387_constant_rtx): Likewise. | |
3579 | ||
3580 | * config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger, | |
3581 | *movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer, | |
3582 | *movtf_integer): Simplify using new standard_80387_constant_opcode. | |
3583 | ||
d203738b GK |
3584 | 2003-02-15 Geoffrey Keating <geoffk@apple.com> |
3585 | ||
3586 | * doc/invoke.texi (Optimize Options): Correct @option syntax. | |
3587 | ||
0b077eac RH |
3588 | 2003-02-15 Richard Henderson <rth@redhat.com> |
3589 | ||
3590 | * Makefile.in (cfglayout.o): Depend on TARGET_H. | |
3591 | * cfglayout.c: Include target.h. | |
3592 | (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p. | |
3593 | * target-def.h (TARGET_CANNOT_COPY_INSN_P): New. | |
3594 | * target.h (struct gcc_target): Add cannot_copy_insn_p. | |
3595 | ||
3596 | * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New. | |
3597 | (TARGET_CANNOT_COPY_INSN_P): New. | |
3598 | (override_options): Revert 2003-02-08 hack. | |
3599 | ||
9a71ece1 RH |
3600 | 2003-02-15 Richard Henderson <rth@redhat.com> |
3601 | ||
3602 | * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs. | |
3603 | (bypass_conditional_jumps): Accept computed_jump_p insns as well. | |
3604 | ||
b54cf83a DE |
3605 | 2003-02-15 David Edelsohn <edelsohn@gnu.org> |
3606 | ||
3607 | * config/rs6000/rs6000.h (processor_type): Add PPC440. | |
3608 | * config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
3609 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
3610 | TARGET_SCHED_VARIABLE_ISSUE): Define. | |
3611 | (rs6000_use_dfa_pipeline_interface): New function. | |
3612 | (rs6000_multipass_dfa_lookahead): New Function. | |
3613 | (rs6000_variable_issue): New function. | |
3614 | (rs6000_adjust_cost): Add CMP and DELAYED_CR types. | |
3615 | (rs6000_issue_rate): Add PPC440. | |
3616 | * config/rs6000/rs6000.md (unspec list): Correct typo. | |
3617 | (attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u, | |
3618 | store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u, | |
3619 | cmp, delayed_cr, mfcr, mtcr. | |
3620 | (automata_option): Set "ndfa". | |
3621 | (extendMMNN2): Update attributes. | |
3622 | (movcc_internal1): Discourage move to non-cr0. Update | |
3623 | attributes. | |
3624 | (movMM_update): Update attributes. | |
3625 | (cmpMM_internal): Update attributes. | |
3626 | (sCC CR materialization): Update attributes. | |
3627 | (branch patterns): Do not discourage non-cr0. | |
3628 | (cr logical patterns): Prefer destructive register allocation. | |
3629 | Update attributes. | |
3630 | (movesi_from_cr): Update attribute. | |
3631 | (mtcrf_operation): Update attribute. | |
3632 | (mtcrfsi): Update attribute. | |
3633 | * config/rs6000/40x.md: New file. | |
3634 | * config/rs6000/603.md: New file. | |
3635 | * config/rs6000/6xx.md: New file. | |
3636 | * config/rs6000/7450.md: New file. | |
3637 | * config/rs6000/7xx.md: New file. | |
3638 | * config/rs6000/mpc.md: New file. | |
3639 | * config/rs6000/power4.md: New file. | |
3640 | * config/rs6000/rios1.md: New file. | |
3641 | * config/rs6000/rios2.md: New file. | |
3642 | * config/rs6000/rs64.md: New file. | |
3643 | [Some DFA descriptions based on work by Michael Hayes] | |
3644 | ||
99dc7277 RH |
3645 | 2003-02-15 Richard Henderson <rth@redhat.com> |
3646 | ||
3647 | * bb-reorder.c (find_traces_1_round): Don't connect easy to copy | |
3648 | successors with multiple predecessors. | |
3649 | (connect_traces): Try harder to copy traces of length 1. | |
3650 | ||
3651 | * function.h (struct function): Add computed_goto_common_label, | |
3652 | computed_goto_common_reg. | |
3653 | * function.c (free_after_compilation): Zap them. | |
a8d0ddaf | 3654 | * stmt.c (expand_computed_goto): Use them to produce one |
99dc7277 RH |
3655 | indirect branch per function. |
3656 | ||
5f24e0dc RH |
3657 | 2003-02-15 Richard Henderson <rth@redhat.com> |
3658 | ||
3659 | * cfgcleanup.c: Include params.h. | |
3660 | (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES. Fix test for | |
3661 | too many outgoing edges from a block. | |
3662 | * Makefile.in (cfgcleanup.o): Depend on PARAMS_H. | |
3663 | * params.def (max-crossjump-edges): New. | |
3664 | * doc/invoke.texi: Document it. | |
3665 | ||
9381bbc9 RH |
3666 | 2003-02-15 Richard Henderson <rth@redhat.com> |
3667 | ||
a8d0ddaf ZW |
3668 | * recog.c (split_all_insns): Include new blocks in life update; |
3669 | do a global life update. | |
9381bbc9 | 3670 | |
e898926c DS |
3671 | 2003-02-15 Danny Smith <dannysmith@users.sourceforge.net> |
3672 | ||
3673 | * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a. | |
3674 | Update copyright. | |
3675 | * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for | |
3676 | -mno-cygwin case. | |
3677 | ||
ce65116b FH |
3678 | 2003-02-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
3679 | ||
3680 | PR optimization/7702 | |
3681 | * reload1.c (reload_cse_simplify_set): Honor | |
3682 | CANNOT_CHANGE_MODE_CLASS. | |
3683 | ||
fe7496dd AO |
3684 | 2003-02-14 Alexandre Oliva <aoliva@redhat.com> |
3685 | ||
3686 | * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New | |
3687 | function. | |
3688 | * config/mn10300/mn10300-protos.h: Declare it. | |
3689 | * config/mn10300/mn10300.md (movdi, movdf): Use it to compute | |
3690 | attribute cc of instructions that may use clr. | |
3691 | ||
6017c719 KH |
3692 | 2003-02-14 Kazu Hirata <kazu@cs.umass.edu> |
3693 | ||
3694 | * simplify-rtx.c (simplify_binary_operation): Simplify ~y when | |
3695 | (x - (x & y)) is found. | |
3696 | ||
9fb28a67 RO |
3697 | 2003-02-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3698 | ||
3699 | * configure.in: Fix typo. | |
3700 | * configure: Regenerate. | |
3701 | ||
60f469fa KH |
3702 | 2003-02-14 Kazu Hirata <kazu@cs.umass.edu> |
3703 | ||
3704 | * config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New. | |
3705 | ||
8fd73754 | 3706 | 2003-02-13 Adam Nemet <anemet@lnxw.com> |
60f469fa | 3707 | |
a8d0ddaf | 3708 | PR opt/2391 |
ce65116b FH |
3709 | * combine.c: Fix spelling in comment. |
3710 | (cached_nonzero_bits): New function. | |
3711 | (cached_num_sign_bit_copies): New function. | |
8fd73754 AN |
3712 | (nonzero_bits_with_known): New macro. |
3713 | (num_sign_bit_copies_with_known): New macro. | |
ce65116b | 3714 | (nonzero_bits1): Rename from nonzero_bits. Add three new |
8fd73754 AN |
3715 | arguments. Change calls from nonzero_bits to |
3716 | nonzero_bits_with_known. | |
ce65116b | 3717 | (num_sign_bit_copies1): Rename from num_sign_bit_copies. Add |
8fd73754 AN |
3718 | three new arguments. Change calls from num_sign_bit_copies to |
3719 | num_sign_bit_copies_with_known. | |
ce65116b FH |
3720 | (nonzero_bits): New macro. |
3721 | (num_sign_bit_copies): New macro. | |
3722 | (update_table_tick): Don't traverse identical subexpression more | |
8fd73754 | 3723 | than once. |
ce65116b | 3724 | (get_last_value_validate): Likewise. |
8fd73754 | 3725 | |
ddb0ae00 ZW |
3726 | 2003-02-13 Zack Weinberg <zack@codesourcery.com> |
3727 | ||
3728 | * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx. | |
3729 | * function.h (struct emit_status): Length of regno_pointer_align | |
3730 | and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no, | |
3731 | not regno_pointer_align_length (i.e. length actually used, not | |
3732 | length as allocated) | |
3733 | ||
3734 | * config/i386/i386.c (struct stack_local_entry): New. | |
3735 | (struct machine_function): Replace huge array with alist. | |
3736 | (assign_386_stack_local): Change to match. | |
3737 | ||
c20b55c0 JDA |
3738 | 2003-02-13 John David Anglin <dave.anglin@nrc-crnc.gc.ca> |
3739 | ||
3740 | * inclhack.def (hpux_long_double): Tighten select and add bypass | |
3741 | regexp. | |
3742 | * fixincl.x: Rebuilt. | |
3743 | ||
ffc8f11e JZ |
3744 | 2003-02-13 Josef Zlomek <zlomekj@suse.cz> |
3745 | ||
3746 | * cfgcleanup.c (outgoing_edges_match): When there is single outgoing | |
3747 | edge and block ends with a jump insn it must be simple jump. | |
3748 | ||
047d636f DJ |
3749 | 2003-02-13 Daniel Jacobowitz <drow@mvista.com> |
3750 | ||
3751 | * Makefile.in (PREPROCESSOR_DEFINES): Add | |
3752 | @TARGET_SYSTEM_ROOT_DEFINE@. | |
3753 | * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot | |
3754 | is specified or if building a cross compiler. | |
3755 | (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE | |
3756 | if the sysroot is under $exec_prefix. | |
3757 | * configure: Regenerated. | |
3758 | * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is | |
3759 | defined. | |
3760 | (struct default_include): Add add_sysroot field. | |
3761 | (cpp_SYSROOT): Declare. | |
3762 | * cppdefault.c (cpp_include_defaults): Fill in add_sysroot | |
3763 | field. | |
3764 | (cpp_SYSROOT): New variable. | |
3765 | * cppinit.c (cpp_create_reader): Initialize | |
3766 | CPP_OPTION (pfile, sysroot). | |
3767 | (init_standard_includes): Handle add_sysroot. Do not | |
3768 | add unrelocated copies of relocated directories. | |
3769 | (COMMAND_LINE_OPTIONS): Add -isysroot. | |
3770 | (cpp_handle_option): Handle -isysroot. | |
3771 | * cpplib.h (struct cpp_options): Add sysroot member. | |
3772 | * gcc.c (The Specs Language): Update description of %I. | |
3773 | (target_system_root_changed): New variable. | |
3774 | (process_command): Conditionalize make_relative_prefix call | |
3775 | on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set | |
3776 | target_system_root_changed. | |
3777 | (do_spec_1): Add -isysroot to %I. | |
3778 | * doc/invoke.texi (Spec Files): Update description of %I. | |
3779 | * doc/install.texi (--with-sysroot): Update comment about | |
3780 | relocation. | |
3781 | ||
4302db79 KH |
3782 | 2003-02-13 Kazu Hirata <kazu@cs.umass.edu> |
3783 | ||
3784 | * config/h8300/h8300.md (a peephole2): New. | |
3785 | ||
e0d9cc77 | 3786 | 2003-02-13 Robert Lipe <robertlipe@usa.net> |
ddb0ae00 | 3787 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
e0d9cc77 RL |
3788 | |
3789 | * doc/install.texi (Specific): Update three SCO-related URLs. | |
3790 | ||
9fb93b00 AS |
3791 | 2003-02-13 Andreas Schwab <schwab@suse.de> |
3792 | ||
3793 | * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t. | |
3794 | Parenthesize properly. | |
3795 | (NPREDECESORS): Parenthesize properly. | |
3796 | ||
22ffcc6f GDR |
3797 | 2003-02-13 Gabriel Dos Reis <gdr@integrable-solutions.net> |
3798 | ||
3799 | * timevar.h (POP_TIMEVAR_AND_RETURN): New macro. | |
3800 | ||
1fb54135 RS |
3801 | 2003-02-12 Roger Sayle <roger@eyesopen.com> |
3802 | ||
3803 | * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant. | |
3804 | (atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns. | |
3805 | ||
3806 | * reg-stack.c (subst_stack_regs_pat): Add support for binary | |
3807 | UNSPEC instructions (e.g. "fpatan"). | |
3808 | ||
19a7414e MS |
3809 | 2003-02-12 Mike Stump <mrs@apple.com> |
3810 | ||
3811 | * varray.c (element_size): Remove. | |
3812 | (uses_ggc): Remove. | |
3813 | (element): Add. | |
3814 | (varray_init): Use new interface. | |
3815 | (varray_grow): Use new interface. | |
3816 | (varray_clear): Use new interface. | |
3817 | ||
e589cc6e AH |
3818 | 2003-02-12 Aldy Hernandez <aldyh@redhat.com> |
3819 | ||
ddb0ae00 ZW |
3820 | * config/rs6000/spe.h: Add casts to the arguments of the following |
3821 | macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, | |
3822 | evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi, | |
3823 | evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*, | |
3824 | __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs, | |
3825 | __ev_get_u16, __ev_get_s16. | |
e589cc6e | 3826 | |
2bbfc542 KH |
3827 | 2003-02-12 Kazu Hirata <kazu@cs.umass.edu> |
3828 | ||
3829 | * config/h8300/h8300.md (a peephole2): New. | |
3830 | ||
e72fcfe8 JH |
3831 | Wed Feb 12 22:47:18 CET 2003 Jan Hubicka <jh@suse.cz> |
3832 | ||
3833 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time | |
3834 | (OBJS): Add callgraph.o | |
3835 | (callgraph.o): New. | |
3836 | * c-decl.c (expand_body_1): Break out from ... | |
3837 | (expand_body): This one; change calling convention | |
3838 | (finish_function): Move some of expand_body logic here. | |
3839 | (c_expand_deferred_function): Update call of expand_body | |
3840 | (c_expand_stmt): Use c_expand_body_1. | |
3841 | * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define. | |
3842 | * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code. | |
3843 | * c-tree.h (c_expand_body): Declare. | |
3844 | * callgraph.c: New file. | |
3845 | * flags.h (flag_unit_at_a_time): Declare. | |
3846 | * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION, | |
3847 | LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, | |
3848 | LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros. | |
3849 | * langhooks.h (struct lang_hooks_for_callgraph): New. | |
3850 | (struct lang_hooks): Add callgraph field. | |
3851 | * toplev.c (flag_unit_at_a_time): New. | |
3852 | (lang_independent_options): Add flag_unit_at_a_time. | |
3853 | (process_options): Disable unit-at-a-time mode for frontends not | |
3854 | supporting callgraph. | |
3855 | * tree-inline.c (typedef struct inline_data): Add "decl" | |
3856 | (expand_call_inline): Update callgraph. | |
3857 | (optimize_inline_calls): Set id.decl. | |
3858 | * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit, | |
3859 | cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call | |
3860 | cgraph_calls_p): Declare. | |
3861 | * invoke.texi (-funit-at-a-time): Document | |
3862 | ||
9037b0c7 AH |
3863 | 2003-02-12 Aldy Hernandez <aldyh@redhat.com> |
3864 | ||
ddb0ae00 ZW |
3865 | * config/rs6000/spe.h: Fix misc formatting. |
3866 | (__ev_create_ufix32_fs): Cast ev argument. | |
3867 | (__ev_create_sfix32_fs): Same. | |
3868 | (__ev_get_sfix32_fs_internal): Cast arguments to builtins. | |
3869 | (__ev_get_ufix32_fs_internal): Same. | |
9037b0c7 | 3870 | |
55ae46b1 RM |
3871 | 2003-02-12 Ranjit Mathew <rmathew@hotmail.com> |
3872 | ||
3873 | * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document. | |
3874 | * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro. | |
3875 | ||
3963c2e0 ZW |
3876 | 2003-02-12 Zack Weinberg <zack@codesourcery.com> |
3877 | ||
3878 | * cpplib.c (do_include_common): Move warnings for | |
3879 | #include_next and #import out to callers. Use early-return | |
3880 | instead of nested ifs. Don't do check_eol here. | |
3881 | (parse_include): Do check_eol here with the rest of the | |
3882 | parsing stuff. | |
3883 | (do_include_next, do_import): Now handle warnings. | |
3884 | ||
d1a86812 GP |
3885 | 2003-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3886 | ||
3887 | * doc/install.texi (Specific): Update AVR- and Darwin-related URLs. | |
3888 | ||
6efcd268 JH |
3889 | Wed Feb 12 15:19:42 CET 2003 Jan Hubicka <jh@suse.cz> |
3890 | ||
3891 | * predict.c (estimate_probability): Fix roundoff error. | |
3892 | ||
9083b5da KH |
3893 | 2003-02-12 Kazu Hirata <kazu@cs.umass.edu> |
3894 | ||
3895 | * config/h8300/h8300.md (a peephole2): Don't handle 65535. | |
3896 | (two peephole2): New. | |
3897 | ||
86bc9b19 KH |
3898 | 2003-02-12 Kazu Hirata <kazu@cs.umass.edu> |
3899 | ||
3900 | * config/h8300/h8300.md (several peephole2): Replace | |
3901 | find_regno_note with peep2_reg_dead_p. | |
3902 | ||
ceda50e9 RH |
3903 | 2003-02-11 Richard Henderson <rth@redhat.com> |
3904 | ||
3905 | * gcse.c (lookup_set): Remove unused argument PAT. Update | |
3906 | both callers. | |
3907 | ||
886e0865 GK |
3908 | 2003-02-11 Geoffrey Keating <geoffk@apple.com> |
3909 | ||
3910 | * diagnostic.c (real_abort): New. | |
3911 | (diagnostic_report_diagnostic): Call real_abort on error. | |
3912 | * diagnostic.h (diagnostic_abort_on_error): New. | |
3913 | (struct diagnostic_context): Add abort_on_error field. | |
3914 | * toplev.c (setup_core_dumping): New. | |
3915 | (decode_d_option): Handle 'H' case. | |
3916 | * doc/invoke.texi (Debugging Options): Document -dH. | |
3917 | ||
76438597 NN |
3918 | 2003-02-11 Nathanael Nerode <neroden@gcc.gnu.org> |
3919 | ||
3920 | * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu | |
3921 | which refers to obsolete directories. | |
3922 | ||
09b568fc RH |
3923 | 2003-02-11 Richard Henderson <rth@redhat.com> |
3924 | ||
3925 | * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New. | |
3926 | ||
8b978a57 JH |
3927 | Mon Oct 21 17:07:47 CEST 2002 Jan Hubicka <jh@suse.cz> |
3928 | ||
3929 | * i386.c (contains_128bit_aligned_vector_p): New function. | |
3930 | (ix86_function_arg_boundary): Properly align vector modes. | |
3931 | ||
a3259be8 BW |
3932 | 2003-02-11 Bob Wilson <bob.wilson@acm.org> |
3933 | ||
3934 | * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7. | |
3935 | * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP | |
3936 | as a SET pattern. | |
3937 | ||
da52a069 RS |
3938 | 2003-02-11 Roger Sayle <roger@eyesopen.com> |
3939 | ||
3940 | * builtins.c: Fix failure caused by commiting wrong patch. | |
3941 | ||
d58f6584 DJ |
3942 | 2003-02-11 Dale Johannesen <dalej@apple.com> |
3943 | * ra-build.c (compare_and_free_webs): Relax checking. | |
3944 | * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME): Define. | |
3945 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. | |
3946 | ||
22fd5743 FH |
3947 | 2003-02-11 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
3948 | ||
3949 | PR optimization/9651 | |
3950 | * rtlanal.c (may_trap_p): Handle FIX. | |
3951 | ||
3462df62 DJ |
3952 | 2003-02-11 Dave Jones <davej@codemonkey.org.uk> |
3953 | ||
3954 | * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE. | |
3955 | * doc/invoke.texi: Extra alias. | |
3956 | ||
a693fbb9 GK |
3957 | 2003-02-11 Geoffrey Keating <geoffk@apple.com> |
3958 | ||
3959 | * config/rs6000/host-darwin.c: Fix comment. | |
3960 | ||
bb157ff4 DE |
3961 | 2003-02-11 David Edelsohn <edelsohn@gnu.org> |
3962 | ||
3963 | * config/rs6000/rs6000.md (divmodsi4): Use register_operand | |
3964 | predicate for mod result. | |
3965 | ||
16ddb599 JDA |
3966 | 2003-02-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3967 | ||
3968 | * inclhack.def (hpux_long_double, hpux10_ctype_declarations1, | |
3969 | hpux10_ctype_declarations2, hpux_ctype_macros): New hacks. | |
3970 | * fixincl.x: Rebuilt. | |
3971 | * tests/base/stdlib.h: Update. | |
3972 | * tests/base/ctype.h: New file. | |
3973 | ||
6f0d3566 JH |
3974 | Tue Feb 11 20:44:45 CET 2003 Jan Hubicka <jh@suse.cz> |
3975 | ||
3976 | * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too. | |
3977 | ||
d0a5295a RH |
3978 | 2003-02-11 Richard Henderson <rth@redhat.com> |
3979 | ||
3980 | * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi | |
3981 | appropriated as globals. | |
3982 | (ix86_expand_clrstr): Similarly. | |
3983 | * config/i386/i386.md (cmpstrsi): Similarly. | |
3984 | ||
9672132f KH |
3985 | 2003-02-11 Kazu Hirata <kazu@cs.umass.edu> |
3986 | ||
3987 | * config/h8300/h8300.md (a peephole2): Add a case of 255. | |
3988 | ||
b5e01d4b RS |
3989 | 2003-02-11 Roger Sayle <roger@eyesopen.com> |
3990 | ||
3991 | * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2. | |
3992 | (pow_optab, atan2_optab): Define corresponding macros. | |
3993 | * optabs.c (init_optabs): Initialize pow_optab and atan2_optab. | |
3994 | * genopinit.c (optabs): Implement pow_optab and atan2_optab | |
3995 | using pow?f3 and atan2?f3 patterns. | |
3996 | * builtins.c (expand_errno_check): New function to update errno | |
3997 | if necessary, split out from expand_builtin_mathfn. | |
3998 | (expand_builtin_mathfn): Use expand_errno_check. | |
3999 | (expand_builtin_mathfn_2): New function to handle expanding binary | |
4000 | math functions, reusing the code in expand_errno_check. | |
4001 | (expand_builtin): Handle the pow and atan2 math built-ins, | |
4002 | BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function | |
4003 | expand_builtin_mathfn_2. | |
4004 | ||
4005 | * doc/md.texi: Document new pow?f3 and atan2?f3 patterns. | |
4006 | ||
cb119f82 JH |
4007 | Tue Feb 11 19:03:22 MET 2003 Jan Hubicka <jh@suse.cz> |
4008 | ||
4009 | * combine.c (combine_simplify_rtx): Fix folding of | |
4010 | nested float_truncates. | |
4011 | ||
a05566a3 KH |
4012 | 2003-02-11 Kazu Hirata <kazu@cs.umass.edu> |
4013 | ||
4014 | * config/h8300/h8300.md (a peephole2): Fix a typo. | |
4015 | ||
20ae4500 RE |
4016 | 2003-02-11 Richard Earnshaw <rearnsha@arm.com> |
4017 | ||
4018 | * arm.mc (return_address_mask): Use CC_REGNUM for the condition code | |
4019 | register number. | |
4020 | ||
717d8b71 KH |
4021 | 2003-02-11 Kazu Hirata <kazu@cs.umass.edu> |
4022 | ||
4023 | * config/h8300/h8300-protos.h: Add a prototype for | |
4024 | gtuleu_operator. | |
4025 | * config/h8300/h8300.c (gtuleu_operator): New. | |
4026 | * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator. | |
4027 | * config/h8300/h8300.md (a peephole2): New. | |
4028 | ||
e36e8f52 JH |
4029 | Tue Feb 11 13:32:12 CET 2003 Jan Hubicka <jh@suse.cz> |
4030 | ||
4031 | * sched-ebb.c (schedule_ebbs): Do not verify_flow_info. | |
4032 | ||
c728da61 JH |
4033 | Tue Feb 11 10:02:54 CET 2003 Jan Hubicka <jh@suse.cz> |
4034 | ||
4035 | * predict.c (choose_function_section): Choose sections correctly. | |
4036 | ||
4cc0fdd2 JDA |
4037 | 2003-02-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4038 | ||
4039 | * reload1.c (first_label_num): New. | |
4040 | (reload): Index offsets_known_at and offsets_at using difference of | |
4041 | label number and first label number. Don't use offset pointers. | |
4042 | (set_label_offsets, set_initial_label_offsets): Likewise. | |
4043 | ||
44b1fa11 RS |
4044 | 2003-02-10 Roger Sayle <roger@eyesopen.com> |
4045 | ||
4046 | * mips-tfile.c (init_file): Add missing initializers in the | |
4047 | "#ifdef __alpha" case. | |
4048 | (file_offset, max_file_offset): Declare as unsigned long. | |
4049 | (write_varray): Cast to "unsigned long" in comparisons against | |
4050 | either file_offset or max_file_offset. | |
4051 | (write_object): Likewise. | |
4052 | (read_seek): Likewise. | |
4053 | (copy_object): Likewise. Declare "ifd" as int to match its use | |
4054 | in add_ext_symbol, and avoid signed/unsigned conditional warning. | |
4055 | ||
2948ade7 | 4056 | 2003-02-10 Nick Clifton <nickc@redhat.com> |
3963c2e0 | 4057 | Aldy Hernandez <aldyh@redhat.com> |
2948ade7 | 4058 | |
3963c2e0 ZW |
4059 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not |
4060 | override options which have been specified on the command line. | |
2948ade7 | 4061 | |
2a4e6df4 KH |
4062 | 2003-02-10 Kazu Hirata <kazu@cs.umass.edu> |
4063 | ||
4064 | * config/h8300/h8300.md (abssf2): New. | |
4065 | (*abssf2_h8300): Likewise. | |
4066 | (*abssf2_h8300hs): Likewise. | |
4067 | ||
411e2759 PE |
4068 | 2003-02-10 Phil Edwards <pme@gcc.gnu.org> |
4069 | ||
4070 | * tree.c (build_tree_list): Fix parameter names in comment. | |
4071 | ||
2b24fc41 JJ |
4072 | 2003-02-10 Janis Johnson <janis187@us.ibm.com> |
4073 | ||
4074 | * config/rs6000/ppc64-fp.c: New file. | |
4075 | * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c. | |
4076 | ||
aa634f11 JZ |
4077 | 2003-02-10 Josef Zlomek <zlomekj@suse.cz> |
4078 | ||
4079 | * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H). | |
3963c2e0 | 4080 | * bb-reorder.c (make_reorder_chain): Deleted. |
aa634f11 JZ |
4081 | (make_reorder_chain_1): Deleted. |
4082 | (find_traces): New function. | |
4083 | (rotate_loop): New function. | |
4084 | (mark_bb_visited): New function. | |
4085 | (find_traces_1_round): New function. | |
4086 | (copy_bb): New function. | |
4087 | (bb_to_key): New function. | |
4088 | (better_edge_p): New function. | |
4089 | (connect_traces): New function. | |
4090 | (copy_bb_p): New function. | |
4091 | (get_uncond_jump_length): New function. | |
4092 | (reorder_basic_blocks): Use new functions (Software Trace Cache). | |
4093 | * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop | |
4094 | boundaries. | |
4095 | ||
17edbda5 AH |
4096 | 2003-02-10 Aldy Hernandez <aldyh@redhat.com> |
4097 | ||
4098 | * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3. | |
4099 | ||
57116c34 DN |
4100 | 2003-02-09 Dan Nicolaescu <dann@ics.uci.edu> |
4101 | ||
4102 | * tree.h (struct tree_decl): Remove unused live_range_rtl field. | |
3963c2e0 | 4103 | (DECL_LIVE_RANGE_RTL): Remove. |
57116c34 | 4104 | |
4f448245 NC |
4105 | 2003-02-10 Nick Clifton <nickc@redhat.com> |
4106 | ||
4107 | * config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def, | |
4108 | config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h, | |
4109 | config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h, | |
4110 | config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h, | |
4111 | config/arm/freebsd.h, config/arm/linux-elf.h, | |
4112 | config/arm/linux-gas.h, config/arm/netbsd-elf.h, | |
4113 | config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h, | |
4114 | config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h, | |
4115 | config/arm/strongarm-coff.h, config/arm/strongarm-elf.h, | |
4116 | config/arm/strongarm-pe.h, config/arm/uclinux-elf.h, | |
4117 | config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h, | |
4118 | config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC" | |
4119 | and reformat as appropriate. | |
4120 | ||
19190d27 KH |
4121 | 2003-02-10 Kazu Hirata <kazu@cs.umass.edu> |
4122 | ||
4123 | * config/h8300/clzsi2.c: Remove. | |
4124 | * config/h8300/ctzsi2.c: Likewise. | |
4125 | * config/h8300/paritysi2.c: Likewise. | |
4126 | * config/h8300/popcountsi2.c: Likewise. | |
4127 | * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2, | |
4128 | ctzsi2, paritysi2, and popcountsi2. | |
4129 | ||
ecf92f82 | 4130 | 2003-02-10 Eric Botcazou <ebotcazou@libertysurf.fr> |
3963c2e0 | 4131 | Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> |
ecf92f82 EB |
4132 | |
4133 | PR c/7741 | |
4134 | * c-decl.c (duplicate_decls): Discard the initializer of the | |
4135 | new decl when the types are conflicting. | |
4136 | ||
ac5e69da JZ |
4137 | 2003-02-10 Josef Zlomek <zlomekj@suse.cz> |
4138 | ||
4139 | * Makefile.in (sreal.o): Added. | |
4140 | (predict.o): Depends on sreal.h instead of real.h. | |
4141 | * sreal.c: New file. | |
4142 | * sreal.h: New file. | |
4143 | * predict.c: Use sreal.c instead of real.c. | |
4144 | ||
9b6b54e2 NC |
4145 | 2003-02-10 Nick Clifton <nickc@redhat.com> |
4146 | ||
4147 | * Contributed support for the Cirrus EP9312 "Maverick" | |
4148 | floating point co-processor. Written by Aldy Hernandez | |
3963c2e0 | 4149 | <aldyh@redhat.com>. |
9b6b54e2 NC |
4150 | (config/arm/arm.c): Add Cirrus support. |
4151 | (config/arm/arm.h): Likewise. | |
4152 | (config/arm/aout.h): Likewise. | |
4153 | (config/arm/arm.md): Likewise. | |
4154 | (config/arm/arm-protos.h): Likewise. | |
4155 | (config.gcc): Likewise. | |
4156 | (doc/invoke.texi): Describe new -mcpu value and new | |
4157 | -mcirrus-fix-invalid-insns switch, | |
4158 | (cirrus.md): New file. | |
4159 | ||
949824fe JH |
4160 | Mon Feb 10 11:40:18 CET 2003 Jan Hubicka <jh@suse.cz> |
4161 | ||
4162 | * combine.c (combine_simplify_rtx): Simplify using | |
4163 | (float_truncate (float x)) is (float x) | |
4164 | (float_extend (float_extend x)) is (float_extend x). | |
4165 | ||
546ff777 AM |
4166 | 2003-02-10 Alan Modra <amodra@bigpond.net.au> |
4167 | ||
4168 | * calls.c (try_to_integrate): Tidy stack_usage_map access. | |
4169 | (emit_library_call_value_1): Likewise. Formatting. | |
4170 | (store_one_arg): Likewise. | |
4171 | ||
626098f9 | 4172 | 2003-02-09 Nick Clifton <nickc@redhat.com> |
3963c2e0 | 4173 | Aldy Hernandez <aldyh@redhat.com> |
626098f9 | 4174 | |
3963c2e0 ZW |
4175 | * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat, |
4176 | spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd, | |
4177 | spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou, | |
4178 | spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe, | |
4179 | spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest | |
4180 | docs. Add range test for immediate value. | |
626098f9 AH |
4181 | |
4182 | 2003-02-09 Aldy Hernandez <aldyh@redhat.com> | |
4183 | ||
3963c2e0 ZW |
4184 | Rename spe_evxor to xorv2si3. |
4185 | (xorv4hi3): New. | |
4186 | (xorv1di3): New. | |
626098f9 | 4187 | |
8d23a2c8 | 4188 | 2003-02-10 Glen Nakamura <glen@imodulo.com> |
3963c2e0 | 4189 | |
8d23a2c8 GN |
4190 | * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item |
4191 | tag. | |
4192 | ||
fdc4b40b JH |
4193 | Mon Feb 10 00:29:17 CET 2003 Jan Hubicka <jh@suse.cz> |
4194 | ||
4195 | * i386.c (vector_move_operand): New predicate. | |
4196 | (ix86_expand_vector_move): Be happy about 0. | |
4197 | * i386.h (PREDICATE_CODES): Add sse-move_operand. | |
4198 | * i386.md (mov*_internal): Add 'C' alternative. | |
4199 | ||
35c28a13 JH |
4200 | Sun Feb 9 23:58:33 CET 2003 Jan Hubicka <jh@suse.cz> |
4201 | ||
4202 | * i386.md (floathi*): Deal with SSE. | |
4203 | ||
852c8ba1 JH |
4204 | Sun Feb 9 23:54:59 CET 2003 Jan Hubicka <jh@suse.cz> |
4205 | ||
4206 | * simplify-rtx.c (simplify_unary_operation, | |
4207 | simplify_binary_operation): Deal with vector modes | |
4208 | (simplify_ternary_operation): Deal with no-op VEC_MERGE. | |
4209 | ||
c876997f | 4210 | 2003-02-09 Richard Sandiford <rsandifo@redhat.com> |
2382b79f RS |
4211 | |
4212 | * toplev.c (rest_of_compilation): Recompute register usage after | |
4213 | split_all_insns. | |
4214 | ||
8275b011 RH |
4215 | 2003-02-09 Richard Henderson <rth@redhat.com> |
4216 | ||
4217 | * libgcc-std.ver (__clztf2): New. | |
4218 | (__ctztf2, __popcounttf2, __paritytf2): New. | |
4219 | * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2, | |
4220 | __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode; | |
4221 | adjust code to match the different type sizes. | |
4222 | * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2, | |
4223 | __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros. | |
4224 | ||
4225 | * optabs.c (init_integral_libfuncs): Don't hard-code SImode and | |
4226 | TImode; select word_mode and twice that. | |
4227 | (init_floating_libfuncs): Don't hard-code SFmode and TFmode; | |
4228 | select the modes from float, double, and long double. | |
4229 | (init_optabs): Remove duplicate initializations. | |
4230 | ||
794aca5d WB |
4231 | 2003-02-09 Wolfgang Bangerth <bangerth@ticam.utexas.edu> |
4232 | ||
4233 | * doc/install.texi: Squeeze and streamline section on | |
4234 | testing and regression checking. | |
4235 | ||
d9deed68 JH |
4236 | Sun Feb 9 13:33:34 CET 2003 Jan Hubicka <jh@suse.cz> |
4237 | ||
4238 | * i386.md (ahi?v*3): Set third operand type to TImode. | |
4239 | * i386.c (ix86_expand_binop_builtin): Extend operand when needed. | |
4240 | ||
4241 | * simplify-rtx.c (simplify_subreg): Fix conversion from vector into | |
4242 | integer mode. | |
4243 | ||
4244 | * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE): | |
4245 | Change code so they are arithmetic expressions now. | |
4246 | * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation, | |
4247 | simplify_ternary_operation): Deal with VEC_* expressions. | |
4248 | ||
4249 | * i386.md (vmaskcmp, pinsrw, movd patterns): Fix RTL representation. | |
4250 | ||
83fd323c JH |
4251 | Sat Feb 8 00:21:22 CET 2003 Jan Hubicka <jh@suse.cz> |
4252 | ||
4253 | * cfgrtl.c (verify_flow_info): Use control_flow_insn_p. | |
4254 | * reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges | |
4255 | possibly got duplicated. | |
4256 | ||
4ee7aa60 RH |
4257 | 2003-02-08 Richard Henderson <rth@redhat.com> |
4258 | ||
4259 | * config/alpha/alpha.c (override_options): Turn off explicit | |
4260 | relocs until post-peep2 code duplication resolved. | |
4261 | ||
c117dddc KH |
4262 | 2003-02-08 Kazu Hirata <kazu@cs.umass.edu> |
4263 | ||
4264 | * optabs.c (expand_unop): Widen clz properly when clz is done | |
4265 | via libcall. | |
4266 | ||
8aa063fb KH |
4267 | 2003-02-08 Kazu Hirata <kazu@cs.umass.edu> |
4268 | ||
4269 | * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC". | |
4270 | * config/h8300/crti.asm: Likewise. | |
4271 | * config/h8300/crtn.asm: Likewise. | |
4272 | * config/h8300/ctzsi2.c: Likewise. | |
4273 | * config/h8300/fixunssfsi.c: Likewise. | |
4274 | * config/h8300/h8300-protos.h: Likewise. | |
4275 | * config/h8300/h8300.c: Likewise. | |
4276 | * config/h8300/h8300.h: Likewise. | |
4277 | * config/h8300/h8300.md: Likewise. | |
4278 | * config/h8300/paritysi2.c: Likewise. | |
4279 | * config/h8300/popcountsi2.c: Likewise. | |
4280 | * config/h8300/rtems.h: Likewise. | |
4281 | ||
01a132bb ZD |
4282 | 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4283 | ||
4284 | * doc/invoke.texi: Documentation for my previous commit. | |
4285 | * doc/passes.texi: Ditto. | |
4286 | ||
617b465c ZD |
4287 | 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4288 | ||
4289 | * cfgloop.h (fix_loop_placement, can_duplicate_loop_p, | |
4290 | duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb): | |
4291 | Declare. | |
4292 | (DLTHE_FLAG_UPDATE_FREQ): New. | |
4293 | * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to, | |
4294 | loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs, | |
4295 | rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements, | |
4296 | fix_bb_placement, fix_bb_placements, place_new_loop, | |
4297 | scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges): | |
4298 | New static functions. | |
4299 | (fix_loop_placement, can_duplicate_loop_p, | |
4300 | duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb): | |
4301 | New functions. | |
4302 | ||
4303 | * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize, | |
4304 | unswitch_loops): Declare. | |
4305 | * loop-init.c: New file. | |
4306 | * loop-unswitch.c: New file. | |
4307 | * Makefile.in (loop-init.o, loop-unswitch.o): New. | |
4308 | * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New. | |
4309 | * toplev.c (DFI_loop2): New dump. | |
4310 | (flag_unswitch_loops): New. | |
4311 | (lang_independent_options): Add it. | |
4312 | (rest_of_compilation): Call new loop optimizer. | |
4313 | (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3. | |
4314 | ||
3bd03194 KH |
4315 | 2003-02-08 Kazu Hirata <kazu@cs.umass.edu> |
4316 | ||
4317 | * config/h8300/clzsi2.c: New. | |
4318 | * config/h8300/ctzsi2.c: Likewise. | |
4319 | * config/h8300/paritysi2.c: Likewise. | |
4320 | * config/h8300/popcountsi2.c: Likewise. | |
4321 | * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files. | |
4322 | ||
d865b122 DE |
4323 | 2003-02-07 David Edelsohn <edelsohn@gnu.org> |
4324 | ||
4325 | * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define. | |
4326 | * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2. | |
94993909 | 4327 | (ctzsi2): New pattern. |
d865b122 DE |
4328 | (ffssi2): Use clz instead of unspec. |
4329 | (clzdi2): Rename from cntlzd2. | |
94993909 | 4330 | (ctzdi2): New pattern. |
d865b122 DE |
4331 | (ffsdi2): Use clz instead of unspec. |
4332 | ||
8f37dd98 LR |
4333 | 2003-02-07 Loren James Rittle <ljrittle@acm.org> |
4334 | ||
4335 | * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice. | |
4336 | * config/ia64/freebsd.h (LINK_SPEC): Likewise. | |
4337 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
4338 | * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches. | |
4339 | ||
83205b9b WB |
4340 | 2003-02-07 Wolfgang Bangerth <bangerth@ticam.utexas.edu> |
4341 | ||
4342 | * doc/trouble.texi: Document pitfalls of two-stage name lookup. | |
4343 | ||
710ee3ed RH |
4344 | 2003-02-07 Richard Henderson <rth@redhat.com> |
4345 | ||
4346 | PR 9226 | |
3963c2e0 ZW |
4347 | * gcse.c (local_cprop_find_used_regs): New. |
4348 | (local_cprop_pass): Use it. | |
710ee3ed | 4349 | |
3ef879d2 FF |
4350 | 2003-02-07 Fred Fish <fnf@intrinsity.com> |
4351 | ||
4352 | * mips-tfile.c (parse_def): Parenthesize assignments to fix | |
3963c2e0 | 4353 | precedence bugs. |
3ef879d2 | 4354 | |
a0f0e963 | 4355 | 2003-02-07 Segher Boessenkool <segher@koffie.nl> |
3ef879d2 | 4356 | |
3963c2e0 | 4357 | * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE. |
a0f0e963 | 4358 | |
46847aa6 RS |
4359 | 2003-02-07 Roger Sayle <roger@eyesopen.com> |
4360 | ||
4361 | * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type. | |
4362 | (BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise. | |
4363 | (BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise. | |
4364 | * builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l | |
4365 | builtin functions (and their __builtin_* variants). | |
4366 | * builtins.c (mathfn_built_in): Handle missing log{,f,l} cases. | |
4367 | (expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l} | |
4368 | when not optimizing. | |
4369 | ||
4370 | * doc/extend.texi: Document new pow and atan2 builtins, and | |
4371 | their float and long double variants. Realphabetize builtins. | |
4372 | ||
c48d6750 JH |
4373 | Fri Feb 7 23:24:28 CET 2003 Jan Hubicka <jh@suse.cz> |
4374 | ||
4375 | * i386.md (sse2_nandv2di3): Fix. | |
4376 | ||
5e062767 DS |
4377 | 2003-03-07 Danny Smith <dannysmith@users.sourceforge.net> |
4378 | ||
4379 | * config/i386/i386.h (MS_AGGREGATE_RETURN): New define. | |
4380 | * config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default | |
4381 | definition. | |
4382 | * config/i386/i386.h (ix86_return_in_memory): Return aggregate | |
4383 | types of up to 8 bytes via registers if MS_AGGREGATE_RETURN. | |
4384 | ||
3f755ed0 JH |
4385 | Fri Feb 7 22:22:40 CET 2003 Jan Hubicka <jh@suse.cz> |
4386 | ||
4387 | * i386.md (movdi_rex64_1): Fix mmx<->int move opcode. | |
4388 | ||
0816bcd2 DB |
4389 | 2003-02-07 Daniel Berlin <dberlin@dberlin.org> |
4390 | ||
4391 | * cfg.c (dump_flow_info): Add back accidently deleted line. | |
4392 | ||
7bf0a593 AP |
4393 | 2003-02-07 Andrey Petrov <petrov@netbsd.org> |
4394 | ||
4395 | * optabs.c (expand_float): Search wider integer modes first. | |
4396 | ||
01e4596e BW |
4397 | 2003-02-07 Bob Wilson <bob.wilson@acm.org> |
4398 | ||
4399 | * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this | |
4400 | based on preprocessor flag. | |
4401 | ||
fbef91d8 RS |
4402 | 2003-02-07 Roger Sayle <roger@eyesopen.com> |
4403 | Richard Henderson <rth@redhat.com> | |
4404 | ||
4405 | * gcse.c (implicit_sets): New. | |
4406 | (compute_hash_table_work): Include them in hash table. | |
4407 | (find_implicit_sets, fis_get_condition): New. | |
4408 | (one_cprop_pass): Allocate and free implicit_sets; call | |
4409 | find_implicit_sets before building hash table. | |
4410 | ||
6713831e JT |
4411 | 2003-02-07 Jason Thorpe <thorpej@wasabisystems.com> |
4412 | ||
4413 | * config/t-netbsd (USER_H): Revert previous change. | |
4414 | ||
10d2dbe2 GG |
4415 | 2003-02-07 Gabor Greif <ggreif@lucent.com> |
4416 | ||
4417 | * doc/c-tree.texi (Namespaces): Fix typo. | |
4418 | ||
d1d3c9a6 JH |
4419 | Fri Feb 7 02:18:57 CET 2003 Jan Hubicka <jh@suse.cz> |
4420 | ||
4421 | * regrename.c (do_replace, find_oldest_value_reg, | |
4422 | copyprop_hardreg_forward_1): Update register attributes. | |
4423 | ||
1b1f249d VM |
4424 | 2003-02-06 Vladimir Makarov <vmakarov@redhat.com> |
4425 | ||
4426 | * genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD, | |
4427 | VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay | |
4428 | variables starting with underscore. | |
4429 | (struct unit_usage): New structure. | |
4430 | (unit_usages, cycle_alt_unit_usages): New global variables. | |
4431 | (check_unit_distribution_in_reserv): Remove it. | |
4432 | (store_alt_unit_usage): New function. | |
4433 | (check_regexp_units_distribution): Rewrite it. | |
4434 | ||
90330d31 JDA |
4435 | 2003-02-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4436 | ||
4437 | * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in | |
4438 | target_cpu_default. | |
4439 | * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X) | |
4440 | if not MASK_NO_SPACE_REGS. | |
4441 | (output_call): Adjust return pointer, don't load new space register | |
4442 | into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true. | |
4443 | (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if | |
4444 | TARGET_NO_SPACE_REGS is true. | |
4445 | * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn | |
4446 | conditions. | |
4447 | (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true. | |
4448 | (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is | |
4449 | true. Use bve when TARGET_64BIT is true. | |
4450 | ||
d1164330 RH |
4451 | 2003-02-06 Richard Henderson <rth@redhat.com> |
4452 | ||
4453 | * combine.c (nonzero_bits): Fix double break. | |
4454 | ||
5fbf0217 | 4455 | 2003-02-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
3963c2e0 | 4456 | Richard Henderson <rth@redhat.com> |
5fbf0217 EB |
4457 | |
4458 | PR c/9530 | |
4459 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls | |
4460 | from functions that return a float to functions that don't. | |
4461 | ||
8f62128d JH |
4462 | Thu Feb 6 00:18:38 CET 2003 Jan Hubicka <jh@suse.cz> |
4463 | ||
4464 | * i386.c (x86_inter_unit_moves): New variable. | |
4465 | (ix86_secondary_memory_needed): Fix 64bit case, honor | |
4466 | TARGET_INTER_UNIT_MOVES | |
4467 | * i386.h (x86_inter_unit_moves): Declare. | |
4468 | (TARGET_INTER_UNIT_MOVES): New macro. | |
4469 | * i386.md (movsi_1): Cleanup constraints; disable | |
4470 | when not doing inter-unit moves. | |
4471 | (movsi_1_nointernunit): New. | |
4472 | (movdi_1_rex64): Fix constraints; deal with SSE->GPR moves. | |
4473 | (movdi_1_rex64_nointerunit): New. | |
4474 | (mivsf_1): disable when not doing inter-unit moves. | |
4475 | (movsf_1_nointerunit): New. | |
4476 | ||
4477 | * basic-block.h (inside_basic_block_p): Declare. | |
4478 | * cfgbuild.c (inside_basic_block_p): Make global. | |
4479 | * haifa-sched.c (unlink_other_notes0: Deal with NOT_INSN_BASIC_BLOCK. | |
4480 | * scheudle-ebb.c (schedule_ebb): Return last basic block of trace; | |
4481 | update CFG. | |
4482 | (fix_basic_block_boundaries, add_missing_bbs): New. | |
4483 | (rank): Use profile. | |
4484 | (scheudle_ebbs): Rely on CFG; update coments. | |
4485 | ||
476d9098 GK |
4486 | 2003-02-05 Geoffrey Keating <geoffk@apple.com> |
4487 | ||
4488 | * Makefile.in (host_hook_obj): New. | |
4489 | (OBJS): Add $(host_hook_obj). | |
4490 | (host_default.o): New rule. | |
4491 | * config.gcc (host_hook_obj): New, default to host-default.o. | |
4492 | (powerpc-*-darwin*): Use host-darwin.o. | |
4493 | (out_host_hook_obj): New. | |
4494 | * configure: Regenerate. | |
4495 | * configure.in: Print information about out_host_hook_obj, substitute | |
4496 | into output files. | |
4497 | * host-default.c: New file. | |
4498 | * hosthooks.h: New file. | |
4499 | * toplev.c (general_init): Call host_hooks.extra_signals. | |
4500 | * config/rs6000/host-darwin.c: New file. | |
4501 | * config/rs6000/x-darwin: New file. | |
4502 | * doc/hostconfig.texi: Add documentation for new host hook. | |
4503 | Rearrange existing documentation. | |
4504 | ||
69bd9368 RS |
4505 | 2003-02-05 Roger Sayle <roger@eyesopen.com> |
4506 | ||
4507 | * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR | |
4508 | with *targetm.delegitimize_address. | |
4509 | (rtl_for_decl_location): Likewise. | |
4510 | * dwarfout.c (output_mem_loc_descriptor): Likewise. Include target.h. | |
4511 | * Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H) | |
4512 | ||
4513 | * config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition. | |
4514 | * config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove | |
4515 | prototype. | |
4516 | * config/i386/i386.c (ix86_delegitimize_address): Renamed from | |
4517 | i386_simplify_dwarf_addr. Made static. Prototyped. | |
4518 | (TARGET_DELEGITIMIZE_ADDRESS): Update definition from | |
4519 | i386_simplify_dwarf_addr to ix86_delegitimize_address. | |
4520 | (ix86_find_base_term): Likewise. | |
4521 | (maybe_get_pool_constant): Likewise. | |
4522 | ||
4523 | * config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition. | |
4524 | * config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove | |
4525 | prototype. | |
4526 | * config/s390/s390.c (s390_delegitimize_address): Renamed from | |
4527 | s390_simplify_dwarf_addr. Made static. Prototyped. | |
4528 | (TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address. | |
4529 | ||
7127fd58 RH |
4530 | 2003-02-05 Richard Henderson <rth@redhat.com> |
4531 | ||
8dde7a2c | 4532 | PR c/8602 |
3963c2e0 ZW |
4533 | * integrate.c (output_inline_function): Reset input_filename |
4534 | and lineno from the decl before rest_of_compilation. | |
7127fd58 | 4535 | |
7dba8395 RH |
4536 | 2003-02-05 Richard Henderson <rth@redhat.com> |
4537 | ||
4538 | * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New. | |
4539 | (CTZ_DEFINED_VALUE_AT_ZERO): New. | |
4540 | * doc/rtl.texi, doc/tm.texi: Document them. | |
4541 | ||
4542 | * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness | |
4543 | of the value at zero properly. | |
4544 | * fold-const.c (tree_expr_nonnegative_p): Likewise. | |
4545 | * simplify-rtx.c (simplify_unary_operation): Likewise. | |
4546 | ||
4547 | * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New. | |
4548 | (CTZ_DEFINED_VALUE_AT_ZERO): New. | |
4549 | ||
4550 | * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove. | |
4551 | (TARGET_EXPAND_BUILTIN): Remove. | |
4552 | (def_builtin, arm_init_builtins, arm_expand_builtin): Remove. | |
4553 | * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New. | |
4554 | (enum arm_builtins): Remove. | |
4555 | * config/arm/arm.md (UNSPEC_CLZ): Remove. | |
4556 | (clzsi2): Rename from clz; use clz instead of unspec. | |
4557 | (ctzsi2): New. | |
4558 | * config/arm/arm-protos.h: Update. | |
4559 | ||
8d705469 JH |
4560 | Wed Feb 5 23:12:57 CET 2003 Jan Hubicka <jh@suse.cz> |
4561 | ||
4562 | * i386-protos.h (x86_emit_floatuns): Declare. | |
4563 | * i386.c (x86_emit_floatuns): New global function. | |
4564 | * i386.md (floatunssisf2, floatunsdisf2, | |
4565 | floatunsdidf2): New patterns. | |
4566 | ||
bc810602 ZD |
4567 | 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4568 | ||
4569 | * cfgloopmanip.c (force_single_succ_latches): Fix missindentation. | |
4570 | ||
07938cec HB |
4571 | 2003-02-05 Hans Boehm <Hans.Boehm@hp.com> |
4572 | ||
4573 | * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get | |
4574 | config/ia64/linux.h | |
4575 | ||
c876997f | 4576 | 2003-02-05 Roger Sayle <roger@eyesopen.com> |
ca9398d1 RS |
4577 | |
4578 | * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again. | |
4579 | ||
4f6ae35d JJ |
4580 | 2003-02-05 Jakub Jelinek <jakub@redhat.com> |
4581 | ||
4582 | PR optimization/8555 | |
4583 | * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case | |
4584 | instead of aborting. | |
4585 | ||
8acfdd43 RH |
4586 | 2003-02-04 Richard Henderson <rth@redhat.com> |
4587 | ||
4588 | * config/i386/i386.md (UNSPEC_BSF): Remove. | |
4589 | (ffssi2): Split into cmove and no_cmove insns and splitters; | |
4590 | lose pentium float trick for now. | |
4591 | (ffssi_1): Add * to name; use CTZ instead of UNSPEC. | |
4592 | (ctzsi2, clzsi2, bsr): New. | |
4593 | ||
c407570a RH |
4594 | 2003-02-04 Richard Henderson <rth@redhat.com> |
4595 | ||
4596 | * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT, | |
4597 | UNSPEC_GETF_EXP; remove UNSPEC_POPCNT. | |
4598 | * config/ia64/ia64.md (UNSPEC_POPCNT): Remove. | |
4599 | (ffsdi2): Use popcount instead of unspec. | |
4600 | (popcountdi2): Rename from *popcnt. | |
4601 | (ctzdi2, clzdi2, getf_exp_tf): New. | |
4602 | ||
4b3cf522 KH |
4603 | 2003-02-04 Kazu Hirata <kazu@cs.umass.edu> |
4604 | ||
4605 | * genconfig.c (main): Generate CC0_P. | |
4606 | * rtl.h (CC0_P): Remove. | |
4607 | ||
dfff898c RH |
4608 | 2003-02-04 Richard Henderson <rth@redhat.com> |
4609 | ||
4610 | * libgcc2.h, libgcc2.c (__ffsSI2): New. | |
4611 | (__ffsDI2): Rename from __ffsdi2. | |
4612 | * mklibgcc.in (lib2funcs): Add _ffssi2. | |
4613 | ||
0c9ed856 RH |
4614 | 2003-02-04 Richard Henderson <rth@redhat.com> |
4615 | ||
4616 | * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction | |
4617 | rounds with a "bit table" lookup. | |
4618 | ||
9537511b UW |
4619 | 2003-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
4620 | ||
4621 | * reload.c (find_reloads): Do not use the mode specified in the insn | |
3ef879d2 | 4622 | pattern as reload mode for address operands. Do not generate optional |
9537511b UW |
4623 | reloads for operands where a mandatory reload was already pushed. |
4624 | ||
1efd0b97 RH |
4625 | 2003-02-04 Richard Henderson <rth@redhat.com> |
4626 | ||
4627 | * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use | |
4628 | builtins instead of inline assembly. | |
4629 | ||
087fc75a | 4630 | 2003-02-04 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> |
3ef879d2 | 4631 | |
087fc75a FH |
4632 | PR c/9376 |
4633 | * libgcc2.c (__subvdi3): Fix typo. | |
4634 | ||
f0f0d98e JH |
4635 | Tue Feb 4 21:46:05 CET 2003 Jan Hubicka <jh@suse.cz> |
4636 | ||
4637 | * i386.md (movti_rex64): Fix constraint. | |
4638 | ||
09f26fb5 JH |
4639 | Tue Feb 4 18:40:42 CET 2003 Jan Hubicka <jh@suse.cz> |
4640 | ||
4641 | * i386.md (vector push splitters): Fix typo in resolving conflict. | |
4642 | ||
ff6e2d3e RB |
4643 | 2003-02-04 Rodney Brown <rbrown64@csc.com.au> |
4644 | ||
4645 | * config/i386/i386.c (x86_function_profiler): Fix typo in format. | |
4646 | ||
9e80ada7 PE |
4647 | 2003-02-04 Phil Edwards <pme@gcc.gnu.org> |
4648 | ||
4649 | * doc/install.texi (*-*-linux-gnu): Mention glibc requirements | |
4650 | for recent libstdc++. Remove formatting cruft. | |
4651 | ||
79c758fb JJ |
4652 | 2003-02-04 Jakub Jelinek <jakub@redhat.com> |
4653 | ||
4654 | * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir | |
4655 | attribute even if input file name is absolute, but one of the | |
4656 | includes is relative. | |
4657 | ||
b3a8389d JM |
4658 | 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> |
4659 | ||
4660 | * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi, | |
4661 | doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2. | |
4662 | * doc/install.texi: Update copyright dates. Update to GFDL 1.2. | |
4663 | ||
dabb3f04 RH |
4664 | 2003-02-03 Richard Henderson <rth@redhat.com> |
4665 | ||
4666 | * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2, | |
4667 | __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change | |
4668 | return type to "int". Shuffle declarations and undef int trap. | |
4669 | * libgcc2.h: Remove their declarations. | |
4670 | * optabs.c (expand_unop): Force outmode to int for bitops. | |
4671 | ||
985d0d50 BW |
4672 | 2003-02-03 Bob Wilson <bob.wilson@acm.org> |
4673 | ||
4674 | * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the | |
4675 | coprocessor registers before floating-point registers. | |
4676 | * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers | |
4677 | to account for a previously removed register. | |
4678 | (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM): | |
4679 | Delete unused macros. | |
4680 | ||
7f0e57bd JH |
4681 | Mon Feb 3 21:19:11 CET 2003 Jan Hubicka <jh@suse.cz> |
4682 | ||
4683 | * i386.c (ix86_expand_store_builtin): Always force op1 to register. | |
4684 | (mov*_internal): Fix predicates; require one of operands to not be | |
4685 | memory. | |
4686 | (SSE?MMX move expanders): Fix predicates; force one of operands to | |
4687 | register. | |
4688 | (SSE/MMX push patterns): Reorganize; fix x86-64 code generation. | |
4689 | (movups/movupd/movdqu patterns): Force one of operands to not be | |
4690 | memory. | |
4691 | ||
c876997f | 4692 | 2003-02-03 Roger Sayle <roger@eyesopen.com> |
7daebb7a RS |
4693 | |
4694 | * hooks.c (hook_rtx_rtx_identity): Generic hook function that | |
4695 | takes a single rtx and returns it unmodified. | |
4696 | * hooks.h (hook_rtx_rtx_identity): Prototype here. | |
ff6e2d3e | 4697 | * target.h (struct gcc_target): Add "delegitimize_address" |
7daebb7a RS |
4698 | field to target structure. |
4699 | * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default | |
4700 | for delegitimize_address target using hook_rtx_rtx_identity. | |
4701 | (TARGET_INITIALIZER): Initialize delegitimize_address field | |
4702 | using TARGET_DELEGITIMIZE_ADDRESS macro. | |
4703 | * simplify-rtx.c (avoid_constant_pool_reference): Handle float | |
4704 | extensions of constant pool references. Use delegitimize_address | |
4705 | to undo the obfuscation of "-fpic". | |
4706 | * Makefile.in (simplify-rtx.o): Add dependency on target.h. | |
4707 | ||
4708 | * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as | |
4709 | i386_simplify_dwarf_addr. | |
4710 | (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr. | |
26182e15 | 4711 | (maybe_get_pool_constant): Likewise. |
7daebb7a | 4712 | |
84520a20 JH |
4713 | Mon Feb 3 16:01:17 CET 2003 Jan Hubicka <jh@suse.cz> |
4714 | ||
4715 | * i386.c (ix86_expand_int_movcc): Fix setcc sign bit case. | |
4716 | ||
035b2a34 JH |
4717 | Mon Feb 3 01:30:11 CET 2003 Jan Hubicka <jh@suse.cz> |
4718 | ||
4719 | * regclass.c (cannot_change_mode_set_regs): Correct argument order. | |
4720 | ||
1f143d5a KG |
4721 | 2003-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4722 | ||
4723 | * mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't | |
4724 | define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h. | |
4725 | ||
4b550d9f AS |
4726 | 2003-02-02 Andreas Schwab <schwab@suse.de> |
4727 | ||
4728 | * varasm.c (asm_output_aligned_bss): Declare as possibly unused. | |
4729 | ||
0732a089 RE |
4730 | 2003-02-02 Richard Earnshaw <rearnsha@arm.com> |
4731 | ||
4732 | * arm.md (sibcall_epilogue): Set the "conds" to "clob". | |
4733 | (epilogue_insns): Likewise. | |
4734 | ||
f269f54f JDA |
4735 | 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4736 | ||
4737 | * doc/install.texi (hppa*-hp-hpux11*): Update installation notes. | |
4738 | ||
611ad29e JDA |
4739 | 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4740 | ||
4741 | * pa-protos.h (attr_length_millicode_call): Remove second argument. | |
4742 | (attr_length_indirect_call, attr_length_indirect_call, | |
4743 | attr_length_save_restore_dltp): New prototypes. | |
4744 | * pa.c (attr_length_millicode_call): Remove second argument. Check | |
4745 | INSN_ADDRESSES_SET_P in distance calculation. | |
4746 | (output_millicode_call): Check INSN_ADDRESSES_SET_P before using | |
4747 | INSN_ADDRESSES. | |
4748 | (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation. | |
4749 | (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES. | |
4750 | Call attr_length_call directly. | |
4751 | (attr_length_indirect_call, output_indirect_call, | |
4752 | attr_length_save_restore_dltp): New functions. | |
4753 | * pa.md (attr_length_millicode_call): Drop second argument from all | |
4754 | patterns. | |
4755 | (return_internal_pic): Delete. | |
4756 | (return_external_pic): Remove use of PIC register and pic operand and | |
4757 | flag checks. | |
4758 | (epilogue): Use return_internal for both normal and pic code. | |
4759 | (call, call_value): Emit new 32-bit pic patterns for symref and | |
4760 | indirect calls. Remove uses for arg pointer and pic register. | |
4761 | (call_symref_pic, call_symref_pic_post_reload, call_reg_pic, | |
4762 | call_reg_pic_post_reload, call_val_symref_pic, | |
4763 | call_val_symref_pic_post_reload, call_val_reg_pic, | |
4764 | call_val_reg_pic_post_reload): New pre and post reload insn patterns. | |
4765 | Implement define_split and define_peephole2 patterns for pre reload | |
4766 | patterns. | |
4767 | (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit, | |
4768 | call_value_internal_reg_64bit): Shorten names. | |
4769 | (all call patterns): Explicitly indicate registers used and clobbered. | |
4770 | Use attr_length_indirect_call and attr_length_save_restore_dltp for | |
4771 | attribute length calculation. Move code generation for indirect calls | |
4772 | to output_indirect_call. | |
4773 | (sibcall, sibcall_value): Don't restore PIC register. | |
4774 | (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC | |
4775 | register retore. | |
4776 | ||
8cacda7c GP |
4777 | 2003-02-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
4778 | ||
4779 | * doc/install.texi (Testing): Simplify and compress instructions | |
4780 | concerning Dejagnu. | |
4781 | ||
cbc158bb JDA |
4782 | 2003-02-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4783 | ||
4784 | * collect2.c (pexecute_pid): Rename to pid. | |
4785 | (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use | |
4786 | pid. | |
4787 | ||
dcef1843 GK |
4788 | 2003-02-01 Geoffrey Keating <geoffk@apple.com> |
4789 | ||
4790 | * doc/extend.texi (Function Attributes): Remove documentation | |
4791 | for PowerPC Windows NT function attributes.. | |
4792 | ||
5d7bed9d DJ |
4793 | 2003-02-01 Daniel Jacobowitz <drow@mvista.com> |
4794 | ||
4795 | * dwarf2out.c (gen_type_die): Check for typedefs before calling | |
4796 | for TYPE_MAIN_VARIANT. | |
4797 | ||
53585c36 RH |
4798 | 2003-02-01 Richard Henderson <rth@redhat.com> |
4799 | ||
4800 | * libgcc2.c: Include auto-host.h. | |
4801 | (ATTRIBUTE_HIDDEN): New. | |
4802 | (__clz_tab): Don't declare here for clz and ctz. | |
4803 | (__clzsi2, __clzdi2): Use count_leading_zeros. | |
4804 | (__ctzsi2, __ctzdi2): Use count_trailing_zeros. | |
4805 | (__popcount_tab): Mark ATTRIBUTE_HIDDEN. | |
4806 | (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab. | |
4807 | * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN. | |
4808 | ||
bc8a6d63 RH |
4809 | 2003-02-01 Richard Henderson <rth@redhat.com> |
4810 | ||
4811 | * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT | |
4812 | to the conditional. | |
4813 | (ashlsi3_1_zext splitter): Likewise. | |
4814 | ||
2928cd7a RH |
4815 | 2003-02-01 Richard Henderson <rth@redhat.com> |
4816 | ||
4817 | * optabs.c (expand_unop): Use word_mode for outmode of bit scaners. | |
4818 | * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2, | |
4819 | __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change | |
4820 | return type to Wtype. | |
4821 | ||
4822 | * libgcc-std.ver (GCC_3.4): Fix inheritance. | |
4823 | ||
4824 | * config/i386/i386.md (ffssi2): Use nonimmediate_operand for | |
4825 | expander input constraint. | |
4826 | ||
4827 | 2003-02-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> | |
4828 | ||
ff6e2d3e RB |
4829 | * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and |
4830 | OTI_parity. | |
4831 | (clz_optab, ctz_optab, popcount_optab, parity_optab): New. | |
4832 | * optabs.c (widen_clz, expand_parity): New. | |
4833 | (expand_unop): Handle clz and parity. Hardcode SImode as outmode | |
4834 | for libcalls to clz, ctz, popcount, and parity. | |
4835 | (init_optabs): Init clz_optab, ctz_optab, popcount_optab and | |
4836 | parity_optab, and set up libfunc handlers. | |
4837 | * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2, | |
4838 | __popcountsi2, __popcountdi2, __paritysi2 __paritydi2, | |
4839 | __popcount_tab): New. | |
4840 | * libgcc2.h: Declare them. | |
4841 | * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c. | |
4842 | * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab | |
4843 | and parity_optab. | |
4844 | * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New. | |
4845 | * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT, | |
4846 | BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL, | |
4847 | BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL, | |
4848 | BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL, | |
4849 | BUILT_IN_PARITYLL): New. | |
4850 | * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs | |
4851 | and add optab argument. | |
4852 | (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*. | |
4853 | * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New. | |
4854 | * expr.c (expand_expr): Handle them. | |
4855 | * fold-const.c (tree_expr_nonnegative_p): Likewise. | |
4856 | * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New. | |
4857 | * reload1.c (eliminate_regs): Handle them. | |
4858 | (elimination_effects): Likewise. | |
4859 | * function.c (instantiate_virtual_regs_1): Likewise | |
4860 | * genattrtab.c (check_attr_value): Likewise. | |
4861 | * simplify-rtx.c (simplify_unary_operation): Likewise. | |
4862 | * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR. | |
4863 | * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY. | |
4864 | (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY. | |
4865 | * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New. | |
4866 | * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to | |
4867 | __builtin_arm_clz. | |
4868 | * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move... | |
4869 | * mklibgcc.in (lib2funcs): ...here and merge. Add new members. | |
4870 | * doc/extend.texi (Other Builtins): Add new builtins. | |
4871 | * doc/md.texi (Standard Names): Add new patterns. | |
2928cd7a | 4872 | |
112f7223 UW |
4873 | 2003-02-01 Ulrich Weigand <uweigand@de.ibm.com> |
4874 | ||
4875 | * reload.c: Revert 2003-01-31 change. | |
4876 | ||
434c87d4 JH |
4877 | Sat Feb 1 14:14:40 CET 2003 Jan Hubicka <jh@suse.cz> |
4878 | ||
4879 | * combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts. | |
4880 | ||
271bd540 RS |
4881 | 2003-02-01 Richard Sandiford <rsandifo@redhat.com> |
4882 | ||
4883 | * flags.h (flag_volatile): Remove declaration. | |
4884 | (flag_volatile_global, flag_volatile_static): Likewise. | |
4885 | * c-typeck.c (build_indirect_ref): Don't check flag_volatile. | |
4886 | * toplev.c (flag_volatile): Remove definition. | |
4887 | (flag_volatile_global, flag_volatile_static): Likewise. | |
4888 | (f_options): Remove corresponding entries here. | |
4889 | * varasm.c (make_decl_rtl): Don't check flag_volatile_global | |
4890 | or flag_volatile_static. | |
4891 | * doc/invoke.texi: Remove documentation of -fvolatile, | |
4892 | -fvolatile-global and -fvolatile-static. | |
4893 | ||
17e6098e JDA |
4894 | 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4895 | ||
4896 | * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move | |
4897 | updating of total_code_bytes from prologue to epilogue. | |
4898 | ||
2f278625 UW |
4899 | 2003-01-31 Ulrich Weigand <uweigand@de.ibm.com> |
4900 | ||
4901 | * reload.c (find_reloads): Do not use the mode specified in the insn | |
4902 | pattern as reload mode for address operands. Do not generate optional | |
4903 | reloads for operands where a mandatory reload was already pushed. | |
4904 | Generate optional reloads only in the final pass though find_reloads. | |
4905 | (have_replacement_p): New function. | |
4906 | ||
05c425a9 GP |
4907 | 2003-01-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
4908 | ||
4909 | * doc/install.texi (Testing): Remove a reference to our obsolete | |
4910 | /testresults web pages and strip redundant information concerning | |
4911 | test results. | |
4912 | (Binaries): Refer to Microsoft Windows instead of listing all | |
4913 | possible variants. | |
4914 | ||
b0c42aed JH |
4915 | Sat Feb 1 00:28:30 CET 2003 Jan Hubicka <jh@suse.cz> |
4916 | ||
4917 | * loop.c (emit_prefetch_instructions): Do conversion at right place in | |
4918 | RTL chain. | |
4919 | ||
4920 | * combine.c (simplify_set): Reverse order of ragumetns to | |
4921 | REG_CANNOT_CHANGE_MODE_P | |
4922 | * df.c (df_def_record_1): Likewise. | |
4923 | * recog.c (register_operand): Likewise. | |
4924 | * simplify-rtx.c (simplify_subreg): Likewise. | |
4925 | * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of | |
4926 | CANNOT_CHANGE_MODE_CLASS. | |
4927 | * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p): | |
4928 | Likewise. | |
4929 | * reload.c (push_reload): Likewise. | |
4930 | * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
4931 | * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
4932 | * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
4933 | * mips-protos.h (mips_cannot_change_mode_class): Update prototype. | |
4934 | * mips.c (mips_cannot_change_mode_class): Update. | |
4935 | * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
4936 | * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
4937 | * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
4938 | * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition. | |
4939 | * sh-protos.h (sh_cannot_change_mode_class): Update prototype. | |
4940 | * sh.c (sh_cannot_change_mode_class): Update. | |
4941 | * i386.h (CANNOT_CHANGE_MODE_CLASS): New. | |
4942 | * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation. | |
4943 | ||
1f61a15d GK |
4944 | 2003-01-31 Geoffrey Keating <geoffk@apple.com> |
4945 | ||
4946 | * config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent | |
4947 | change to LINK_COMMAND_SPEC in gcc.c. | |
4948 | ||
7c712dcc LR |
4949 | 2003-01-31 Jan Hubicka <jh@suse.cz> |
4950 | ||
4951 | PR c/9506 | |
4952 | * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN. | |
4953 | ||
e137391e JDA |
4954 | 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4955 | ||
4956 | * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete | |
4957 | duplicated code. | |
4958 | ||
1824b90d NS |
4959 | 2003-01-31 Nathan Sidwell <nathan@codesourcery.com> |
4960 | ||
4961 | * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove. | |
4962 | (BINFO_ELTS): New #define. | |
4963 | * stor-layout.c (finalize_record_size): Don't set them. | |
4964 | * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, | |
4965 | BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS. | |
4966 | (BINFO_LANG_ELTS): New #define. | |
4967 | * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS. | |
4968 | * java/class.c (make_class): Use BINFO_ELTS. | |
4969 | (set_super_info): Likewse. | |
4970 | (add_interface_do): Likewise. | |
4971 | * objc/objc-act.c (start_class): Use BINFO_ELTS. | |
4972 | ||
8f9a402c DS |
4973 | 2003-01-31 Danny Smith <dannysmith@users.sourceforge.net> |
4974 | ||
4975 | * timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE. | |
4976 | (times): Don't ever declare if not HAVE_TIMES. | |
4977 | (clock): Don't ever declare if not HAVE_CLOCK. | |
4978 | ||
cdd1f01b RH |
4979 | 2003-01-30 Richard Henderson <rth@redhat.com> |
4980 | ||
4981 | * flow.c (update_life_info): Zap life info after cleanup_cfg. | |
4982 | (regno_uninitialized): Use correct live at function entry set. | |
4983 | (regno_clobbered_at_setjmp): Likewise. | |
4984 | ||
4985 | * expr.c (store_expr): Promote all MEM intermediates to regs. | |
4986 | ||
6bc82793 KH |
4987 | 2003-01-30 Kazu Hirata <kazu@cs.umass.edu> |
4988 | ||
4989 | * config/arm/arm.c: Fix comment typos. | |
4990 | * config/arm/arm.h: Likewise. | |
4991 | * config/arm/netbsd-elf.h: Likewise. | |
4992 | * config/arm/netbsd.h: Likewise. | |
4993 | ||
f099d360 GK |
4994 | 2003-01-30 Geoffrey Keating <geoffk@apple.com> |
4995 | ||
4996 | * gengtype.c (struct walk_type_data): Add needs_cast_p. | |
4997 | (walk_type): Set needs_cast_p in walk_type_data. | |
4998 | (write_types_process_field): Supply casts when required to suppress | |
4999 | warnings. | |
5000 | (write_root): Cast gt_pch_n_S to suppress warning. | |
5001 | * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o. | |
f099d360 GK |
5002 | * config/rs6000/rs6000.c (print_operand): Mask off high bits only |
5003 | when they might exist. | |
5004 | * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o, | |
5005 | insn-conditions.o, and rs6000.o. | |
5006 | ||
52895e1a RH |
5007 | 2003-01-30 Richard Henderson <rth@redhat.com> |
5008 | ||
5009 | * ggc-page.c (G.context_depth_allocations): New. | |
5010 | (G.context_depth_collections): New. | |
5011 | (alloc_page): Set G.context_depth_allocations. | |
5012 | (ggc_collect): Set G.context_depth_collections. | |
5013 | (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts. | |
5014 | (ggc_pop_context): Early exit for no allocations or collections. | |
5015 | ||
c35c7e52 RH |
5016 | 2003-01-30 Richard Henderson <rth@redhat.com> |
5017 | ||
5018 | * tree-inline.c (walk_tree): Streamline duplicate hash table lookup. | |
5019 | ||
e43dd89d RE |
5020 | 2003-01-30 Richard Earnshaw <rearnsha@arm.com> |
5021 | ||
5022 | * arm.c (arm_compute_initial_elimination_offset): If optimizing for | |
5023 | size, the link register is always saved if any other register is | |
5024 | saved. | |
5025 | ||
87a902e4 KH |
5026 | 2003-01-30 Kazu Hirata <kazu@cs.umass.edu> |
5027 | ||
5028 | * config/h8300/h8300-protos.h: Update the prototype for | |
5029 | compute_plussi_cc. | |
5030 | (cpp_reader): Declare before it is used. | |
5031 | * config/h8300/h8300.c (compute_plussi_cc): Change the return | |
5032 | type to int. | |
5033 | * config/h8300/h8300.md (monitor_prologue): Call abort() if we | |
5034 | see an unknown H8 variant. | |
5035 | ||
5036 | 2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> | |
0186a143 | 5037 | |
ff6e2d3e | 5038 | PR target/9316 |
0186a143 RC |
5039 | * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC. |
5040 | * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC. | |
5041 | * config/rs6000/t-rtems: New file. multilib variants to match OS. | |
5042 | * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of | |
5043 | rs6000/t-ppcgas so we get the desired multilibs. | |
5044 | ||
f55d7103 NC |
5045 | 2003-01-30 Nick Clifton <nickc@redhat.com> |
5046 | ||
5047 | * config/arm/arm.c (arm_output_epilogue): Update stack pointer | |
5048 | when popping saved IP register off the stack. | |
5049 | ||
b6d08ca1 KH |
5050 | 2003-01-30 Kazu Hirata <kazu@cs.umass.edu> |
5051 | ||
5052 | * config/rs6000/aix43.h: Fix comment typos. | |
5053 | * config/rs6000/aix51.h: Likewise. | |
5054 | * config/rs6000/aix52.h: Likewise. | |
5055 | * config/rs6000/altivec.h: Likewise. | |
5056 | * config/rs6000/rs6000.c: Likewise. | |
5057 | * config/rs6000/rs6000.h: Likewise. | |
5058 | * config/rs6000/rs6000.md: Likewise. | |
5059 | * config/rs6000/spe.md: Likewise. | |
5060 | ||
14d22dd6 MM |
5061 | 2003-01-29 Mark Mitchell <mark@codesourcery.com> |
5062 | ||
5063 | * c-common.c (builtin_define_float_constants): Define | |
5064 | __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__. | |
5065 | ||
825db093 KH |
5066 | 2003-01-30 Kazu Hirata <kazu@cs.umass.edu> |
5067 | ||
5068 | * config/sh/lib1funcs.asm: Fix comment typos. | |
5069 | * config/sh/linux.h: Likewise. | |
5070 | * config/sh/sh.c: Likewise. | |
5071 | * config/sh/sh.md: Likewise. | |
5072 | ||
f1d5271a LR |
5073 | 2003-01-30 Loren James Rittle <ljrittle@acm.org> |
5074 | ||
5075 | * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir). | |
5076 | ||
266a9ef1 AO |
5077 | 2003-01-30 Alexandre Oliva <aoliva@redhat.com> |
5078 | ||
5079 | * config/fp-bit.h (__make_dp): Declare if TMODES. | |
5080 | ||
0889116d KH |
5081 | 2003-01-29 Kazu Hirata <kazu@cs.umass.edu> |
5082 | ||
5083 | * config/h8300/h8300.h (PREDICATE_CODES): Add entries for | |
5084 | general_operand_src and general_operand_dst. | |
5085 | ||
c8c99a68 DE |
5086 | 2003-01-29 David Edelsohn <edelsohn@gnu.org> |
5087 | ||
5088 | * config/rs6000/rs6000.c (function_arg_pass_by_reference): | |
5089 | Return true for variable sized types. | |
5090 | (rs6000_va_arg): Handle variable sized types passed by reference | |
5091 | on non-SVR4 ABI. | |
5092 | ||
ccf4d512 RE |
5093 | 2003-01-29 Richard Earnshaw <rearnsha@arm.com> |
5094 | ||
5095 | * arm.c (arm_legtimize_address): New function. | |
5096 | * arm-protos.h (arm_legtimize_address): Add prototype. | |
5097 | * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address. | |
5098 | (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with | |
5099 | do ... while (0) | |
5100 | ||
0889116d | 5101 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
0680c8fb | 5102 | |
7429b411 | 5103 | PR bootstrap/9296 |
0680c8fb | 5104 | * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code |
7429b411 | 5105 | depended on it being defined until now. |
0680c8fb | 5106 | |
7429b411 | 5107 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
c934274a | 5108 | |
7429b411 | 5109 | PR target/9295 |
c934274a JS |
5110 | * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic |
5111 | RTEMS code knows which C++ initialization style the toolset | |
7429b411 | 5112 | configuration is using. |
c934274a | 5113 | |
0889116d | 5114 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
2e327e6e | 5115 | |
7429b411 | 5116 | PR bootstrap/9293 |
ff6e2d3e | 5117 | * config/m68k/t-crtstuff: Replace spaces with tabs, add |
2e327e6e | 5118 | $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o. |
2e327e6e | 5119 | |
0889116d | 5120 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
64abe03e | 5121 | |
7429b411 | 5122 | PR bootstrap/9292 |
64abe03e JS |
5123 | * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable |
5124 | RTEMS threads. | |
5125 | * config/pa/rtems.h (LIB_SPEC): Use -N when linking. | |
64abe03e | 5126 | |
2f12fb2b NC |
5127 | 2003-01-29 Nick Clifton <nickc@redhat.com> |
5128 | ||
5129 | * Makefile.in (c-parse.o): Locate source file in $(parsedir) | |
5130 | not $(srcdir). | |
5131 | ||
cf0150b9 AH |
5132 | 2003-01-29 Andrew Haley <aph@redhat.com> |
5133 | ||
5134 | * tree-inline.c (walk_tree): Add CHAR_TYPE. | |
5135 | ||
9b74f3ea JH |
5136 | Wed Jan 29 10:26:12 CET 2003 Jan Hubicka <jh@suse.cz> |
5137 | ||
5138 | * i386.md (subdi3_carry_rex64): Fix typo. | |
5139 | ||
e150159c SS |
5140 | 2003-01-28 Stan Shebs <shebs@apple.com> |
5141 | ||
5142 | * coretypes.h (cpp_reader): Forward declare struct. | |
5143 | * c-pragma.h (cpp_reader): Remove forward declaration. | |
5144 | * hashtable.h (cpp_reader): Likewise. | |
5145 | * scan.h (cpp_reader): Likewise. | |
5146 | * tree.h (cpp_reader): Likewise. | |
5147 | * config/darwin-protos.h (cpp_reader): Likewise. | |
5148 | * config/arm/arm-protos.h (cpp_reader): Likewise. | |
5149 | * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use | |
5150 | struct cpp_reader in prototypes. | |
5151 | ||
53b50ac1 CC |
5152 | 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
5153 | ||
5154 | * doc/install.texi: Add documentation for installation into | |
5155 | tooldirs and with DESTDIR. | |
5156 | ||
021aa6ed RH |
5157 | 2003-01-28 Richard Henderson <rth@redhat.com> |
5158 | ||
5159 | * config.gcc (ia64*-*-aix*): Remove. | |
5160 | * config/ia64/aix.h, config/ia64/t-aix: Remove file. | |
5161 | * config/ia64/unwind-aix.c: Remove file. | |
5162 | ||
c1c1d123 AS |
5163 | 2003-01-28 Andreas Schwab <schwab@suse.de> |
5164 | ||
ff6e2d3e RB |
5165 | * config/m68k/m68k.md (tablejump+2): Don't sign extend an address |
5166 | register. | |
5167 | * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise. | |
5168 | * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise. | |
5169 | * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise. | |
5170 | * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise. | |
5171 | * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise. | |
5172 | * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise. | |
5173 | * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise. | |
c1c1d123 | 5174 | |
6d09ef27 RS |
5175 | 2003-01-28 Richard Sandiford <rsandifo@redhat.com> |
5176 | ||
5177 | * combine.c (nonzero_bits): Fix check for negative divide operands. | |
5178 | ||
1e1bd14e RH |
5179 | 2003-01-28 Richard Henderson <rth@redhat.com> |
5180 | ||
5181 | * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New. | |
5182 | * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New. | |
5183 | ||
e37135f7 RH |
5184 | 2003-01-28 Richard Henderson <rth@redhat.com> |
5185 | ||
5186 | * cse.c (find_best_addr): Kill !ADDRESS_COST code. | |
5187 | ||
75642f32 RH |
5188 | * config/cris/cris.c (cris_address_cost): Make static. |
5189 | (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New. | |
5190 | * config/cris/cris.h (ADDRESS_COST): Remove. | |
5191 | * config/cris/cris-protos.h: Update. | |
5192 | ||
e37135f7 | 5193 | 2003-01-23 Mike Stump <mrs@apple.com> |
1f80c9ef MS |
5194 | |
5195 | * regclass.c (init_reg_autoinc): New function. | |
5196 | (regclass): Move initialization of forbidden_inc_dec_class from | |
26182e15 | 5197 | here... |
1f80c9ef | 5198 | (init_regs): to here. Avoids reinitialization for each function, |
26182e15 | 5199 | saving compilation time. |
1f80c9ef | 5200 | |
9fbd3e41 JM |
5201 | 2003-01-28 Jason Merrill <jason@redhat.com> |
5202 | ||
5203 | * cpplib.h (struct cpp_options): Add warn_deprecated field. | |
5204 | * cppinit.c (cpp_create_reader): Turn it on by default. | |
5205 | * c-opts.c (c_common_decode_option): Set it. | |
5206 | * cpplib.c (do_pragma_once): Only complain about #pragma once | |
5207 | if warn_deprecated is set. | |
5208 | ||
fe352c29 | 5209 | 2003-01-28 Dale Johannesen <dalej@apple.com> |
9fbd3e41 | 5210 | |
1e1bd14e RH |
5211 | * emit-rtl.c (const_double_htab_hash): Use mode in the hash. |
5212 | * loop.c (scan_loop): Move movables on -Os rich-register targets. | |
5213 | * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR. | |
fe352c29 | 5214 | |
dcefdf67 RH |
5215 | 2003-01-28 Richard Henderson <rth@redhat.com> |
5216 | ||
5217 | * target.h (targetm.address_cost): New. | |
5218 | * target-def.h (TARGET_ADDRESS_COST): New. | |
5219 | (TARGET_RTX_COSTS): Uncomment. Oops. | |
5220 | * cse.c (address_cost): Use new target hook. | |
5221 | (default_address_cost): New. | |
5222 | * output.h (default_address_cost): Declare. | |
5223 | * hooks.c (hook_int_rtx_0): New. | |
5224 | * hooks.h (hook_int_rtx_0): Declare. | |
5225 | * loop.c (combine_givs_p): Remove if 0 code. | |
5226 | * system.h (ADDRESS_COST): Poison. | |
5227 | ||
5228 | * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c, | |
5229 | config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
5230 | config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c, | |
5231 | config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h, | |
5232 | config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c, | |
5233 | config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h, | |
5234 | config/xtensa/xtensa.c, config/xtensa/xtensa.h | |
5235 | (TARGET_ADDRESS_COST): Define as hook_int_rtx_0. | |
5236 | (ADDRESS_COST): Remove. | |
5237 | ||
5238 | * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h, | |
5239 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
5240 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
5241 | config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, | |
5242 | config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h, | |
5243 | config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h, | |
5244 | config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h, | |
5245 | config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h, | |
ff6e2d3e | 5246 | config/mips/mips.c, config/mips/mips.h, |
dcefdf67 | 5247 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
ff6e2d3e | 5248 | config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h, |
dcefdf67 RH |
5249 | config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h, |
5250 | config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h, | |
5251 | config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h, | |
5252 | config/vax/vax.c, config/vax/vax.h | |
5253 | (foo_address_cost): Make static. | |
5254 | (TARGET_ADDRESS_COST): New. | |
5255 | (ADDRESS_COST): Remove. | |
5256 | ||
5257 | * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h, | |
5258 | config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c, | |
5259 | config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c, | |
5260 | config/stormy16/stormy16.h | |
5261 | (ADDRESS_COST): Move code ... | |
5262 | (foo_address_cost): ... here. | |
5263 | (TARGET_ADDRESS_COST): New. | |
5264 | ||
5265 | * config/m32r/m32r.c (m32r_address_cost): Remove. | |
5266 | * config/m32r/m32r-protos.h: Update. | |
5267 | ||
5268 | * config/mmix/mmix.c (mmix_address_cost): Remove. | |
5269 | * config/mmix/mmix-protos.h: Update. | |
5270 | ||
5271 | * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from | |
5272 | mn10300_address_cost; move unsig allocation ... | |
5273 | (mn10300_address_cost): ... here. | |
5274 | (TARGET_ADDRESS_COST): New. | |
5275 | * config/mn10300/mn10300-protos.h: Update. | |
5276 | * config/mn10300/mn10300.h (ADDRESS_COST): Remove. | |
5277 | ||
75642f32 RH |
5278 | * doc/tm.texi: Update. |
5279 | ||
58fb7809 VM |
5280 | 2003-01-28 Vladimir Makarov <vmakarov@redhat.com> |
5281 | ||
5282 | * haifa-sched.c (schedule_insn): Return necessary cycle advance | |
5283 | after issuing the insn. | |
5284 | (rank_for_schedule): Make a insn with /S the highest priority | |
5285 | insn. | |
5286 | (move_insn): Ignore schedule groups. Clear SCHED_GROUP_P. | |
5287 | (choose_ready): Check SCHED_GROUP_P. | |
5288 | (schedule_block): Advance cycle after issuing insn if it is | |
5289 | necessary. Don't reorder insns if there is an insn with /S. | |
5290 | (set_priorities): Ignore schedule groups. | |
5291 | ||
5292 | * sched-deps.c (remove_dependence, group_leader): Remove the | |
5293 | functions. | |
5294 | (add_dependence): Ignore schedule groups. | |
5295 | (set_sched_group_p): Don't make copy of dependencies from previous | |
5296 | insn of the schedule group. Add anti-dependency to the previous | |
5297 | insn of the schedule group. | |
5298 | (compute_forward_dependences): Ignore schedule groups. | |
5299 | ||
5300 | * sched-ebb.c (init_ready_list): Ignore schedule groups. | |
5301 | ||
5302 | * sched-rgn.c (init_ready_list): Ditto. | |
5303 | (can_schedule_ready_p): Ditto. | |
ff6e2d3e | 5304 | |
371c988b VM |
5305 | 2003-01-28 Vladimir Makarov <vmakarov@redhat.com> |
5306 | ||
5307 | * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm | |
5308 | register to another one. | |
5309 | ||
40cdfd5a RH |
5310 | 2003-01-28 Richard Henderson <rth@redhat.com> |
5311 | ||
5312 | * calls.c (default_must_pass_in_stack): Fix typo in !type case. | |
5313 | ||
a77b7e32 RS |
5314 | 2003-01-28 Roger Sayle <roger@eyesopen.com> |
5315 | ||
5316 | * cse.c (cse_insn): Avoid redundant REG_EQUAL notes. | |
5317 | ||
3620944c RS |
5318 | 2003-01-28 Richard Sandiford <rsandifo@redhat.com> |
5319 | ||
5320 | * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given | |
5321 | class contains a floating-point register, return the size of the | |
5322 | mode in half words. | |
5323 | ||
e6e81735 JH |
5324 | Tue Jan 28 12:15:13 CET 2003 Jan Hubicka <jh@suse.cz> |
5325 | ||
26182e15 SB |
5326 | * i386.c (ix86_carry_flag_operator): New predicate. |
5327 | (fcmov_operator): Fix whitespace. | |
5328 | (ix86_expand_carry_flag_compare): Deal with floating point. | |
5329 | (ix86_expand_int_movcc): Deal with fp; update insn expansion | |
5330 | (ix86_expand_int_addcc): Likewise. | |
5331 | (ix86_expand_strlensi_unroll_1): likewsie. | |
5332 | * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator. | |
5333 | * i386.md (add?i_carry_rex64): Use new predicate. | |
5334 | (sub?i3_carry_rex64): Likewise. | |
5335 | (x86_mov?icc_0_m1*): Likewise. | |
e6e81735 | 5336 | |
43196589 AS |
5337 | 2003-01-28 Andreas Schwab <schwab@suse.de> |
5338 | ||
32214c32 AS |
5339 | * cfgloopmanip.c (create_preheader): Initialize src to avoid |
5340 | warning. | |
5341 | ||
5342 | * expmed.c (emit_store_flag): Fix cast to avoid sign | |
5343 | comparison warning. | |
5344 | ||
43196589 AS |
5345 | * combine.c (force_to_mode): Add cast to fix warning when |
5346 | STORE_FLAG_VALUE is negative. | |
5347 | ||
3c50106f RH |
5348 | 2003-01-27 Richard Henderson <rth@redhat.com> |
5349 | ||
5350 | * Makefile.in (cse.o): Depend on TARGET_H. | |
5351 | * cse.c (rtx_cost): Use targetm.rtx_costs. | |
5352 | * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison. | |
5353 | * doc/tm.texi: Update. | |
ff6e2d3e | 5354 | |
3c50106f RH |
5355 | * target.h (targetm.rtx_costs): New. |
5356 | * target-def.h (TARGET_RTX_COSTS): New. | |
5357 | * hooks.c (hook_bool_rtx_int_int_intp_false): New. | |
5358 | * hooks.h: Update. | |
5359 | ||
5360 | * config/alpha/alpha.c (alpha_rtx_cost_data): New. | |
5361 | (alpha_rtx_costs, TARGET_RTX_COSTS): New. | |
5362 | * config/alpha/alpha.h (PROCESSOR_MAX): New. | |
5363 | (CONST_COSTS, RTX_COSTS): Remove. | |
5364 | ||
5365 | * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c, | |
5366 | config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h, | |
5367 | config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c, | |
5368 | config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h, | |
5369 | config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c, | |
5370 | config/i370/i370.h, config/i386/i386.c, config/i386/i386.h, | |
5371 | config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c, | |
5372 | config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
5373 | config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c, | |
5374 | config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h, | |
5375 | config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c, | |
5376 | config/mn10200/mn10200.h, config/mn10300/mn10300.c, | |
5377 | config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h, | |
5378 | config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c, | |
5379 | config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h, | |
5380 | config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c, | |
5381 | config/s390/s390.h, config/sh/sh.c, config/sh/sh.h, | |
5382 | config/stormy16/stormy16.c, config/stormy16/stormy16.h, | |
5383 | config/v850/v850.c, config/v850/v850.h, | |
5384 | config/xtensa/xtensa.c, config/xtensa/xtensa.h | |
5385 | (CONST_COSTS, RTX_COSTS): Move code ... | |
5386 | (foo_rtx_costs, TARGET_RTX_COSTS): ... here. | |
5387 | ||
5388 | * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs. | |
5389 | (arm_rtx_costs, TARGET_RTX_COSTS): New. | |
5390 | * config/arm/arm-protos.h: Update. | |
5391 | * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove. | |
5392 | ||
5393 | * config/avr/avr.h (CONST_COSTS): Move code ... | |
5394 | * config/avr/avr.c (avr_rtx_costs): ... here. | |
5395 | (default_rtx_costs): Make static. | |
5396 | * config/avr/avr-protos.h: Update. | |
5397 | ||
5398 | * config/h8300/h8300.c (const_costs): Make static. | |
5399 | (h8300_and_costs, h8300_shift_costs): Likewise. | |
5400 | * config/h8300/h8300-protos.h: Update. | |
5401 | ||
5402 | * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove. | |
5403 | (CONST_COSTS): Move code ... | |
5404 | * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here. Rename from | |
5405 | default_rtx_costs; update for signature change. | |
5406 | * config/ip2k/ip2k-protos.h: Update. | |
5407 | ||
5408 | * config/m68hc11/m68hc11.h (RTX_COSTS): Remove. | |
5409 | (CONST_COSTS): Move code ... | |
5410 | * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here. | |
5411 | (TARGET_RTX_COSTS): New. | |
5412 | (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static. | |
5413 | * config/m68hc11/m68hc11-protos.h: Update. | |
5414 | ||
5415 | * config/m68k/m68k.c (const_int_cost): Make static. | |
5416 | * config/m68k/m68k-protos.h: Update. | |
5417 | ||
5418 | * config/mcore/mcore.c (mcore_const_costs): Make static. | |
5419 | (mcore_and_cost, mcore_ior_cost): Likewise. | |
5420 | * config/mcore/mcore-protos.h: Update. | |
5421 | ||
5422 | * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New. | |
5423 | (mmix_rtx_cost_recalculated): Remove. | |
5424 | * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove. | |
5425 | * config/mmix/mmix-protos.h: Update. | |
5426 | ||
5427 | * config/sh/sh.c (shiftcosts): Make static. | |
5428 | (addsubcosts, andcosts, multcosts): Likewise. | |
5429 | * config/sh/sh-protos.h: Update. | |
5430 | ||
5431 | * config/sparc/sparc.c (TARGET_RTX_COSTS): New. | |
5432 | (sparc_rtx_costs): Make static; update for change in signature. | |
5433 | * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove. | |
5434 | * config/sparc/sparc-protos.h: Update. | |
5435 | ||
5436 | * config/v850/v850.c (const_costs): Make static. | |
5437 | * config/v850/v850-protos.h: Update. | |
5438 | ||
5439 | * config/vax/vax.h (RTX_COSTS): Remove. | |
5440 | (CONST_COSTS): Move code ... | |
5441 | * config/vax/vax.c (vax_rtx_costs_1): ... here; rename | |
5442 | from vax_rtx_cost. | |
5443 | (vax_rtx_costs, TARGET_RTX_COSTS): New. | |
5444 | ||
b9962e0a RH |
5445 | 2003-01-27 Richard Henderson <rth@redhat.com> |
5446 | ||
5447 | * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really. | |
5ca98980 | 5448 | * config/vax/vax-protos.h: Update. Really. |
b9962e0a | 5449 | |
8a381273 AO |
5450 | 2003-01-28 Alexandre Oliva <aoliva@redhat.com> |
5451 | ||
5452 | * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from... | |
5453 | (UNITS_PER_FPVALUE): Defined as the width of a long double, or | |
5454 | zero if no hardware floating point. | |
5455 | (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64. | |
5456 | (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE. | |
5457 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define. | |
5458 | (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE. | |
5459 | (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64. | |
5460 | * config/mips/mips.c (mips_arg_info): Pass TFmode values in | |
5461 | even FP registers on N32 and N64. | |
5462 | (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE. | |
5463 | (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM. | |
5464 | (mips_va_arg): Use UNITS_PER_HWFPVALUE. Impose additional | |
5465 | even-register-like alignment to 128-bit arguments. | |
5466 | (save_restore_insns): Use UNITS_PER_HWFPVALUE. | |
5467 | (mips_function_value): Likewise. Return TFmode in $f0 and $f2 | |
5468 | on N32 or N64. | |
5469 | * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New. | |
5470 | * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c. | |
5471 | (TPBIT): Set to tp-bit.c. | |
5472 | (tp-bit.c): Create out of fp-bit.c. | |
5473 | ||
820e01be GDR |
5474 | 2003-01-28 Gabriel Dos Reis <gdr@integrable-solutions.net> |
5475 | ||
5476 | * c-parse.in: Remove '%expect 32' directive in objc mode. | |
5477 | ||
23af32e6 NS |
5478 | 2003-01-27 Nathan Sidwell <nathan@codesourcery.com> |
5479 | ||
5480 | * Makefile.in (LIB2FUNCS_ST): Remove _gcov. | |
5481 | (LIBGCOV): New variable. | |
5482 | (libgcc.mk): Add LIBGCOV. | |
5483 | (LIBGCC_DEPS): Add libgcov.c. | |
5484 | (libgcov.a): New target. | |
5485 | (clean): Remove libgcov.a. | |
5486 | (install-libgcc): Do libgcov too. | |
5487 | (stage1-start, stage2-start, stage3-start, stage4-start): Deal | |
5488 | with libgcov.a. | |
5489 | * libgcc2.c (L_gcov): Move into ... | |
5490 | * libgcov.c: ... here. New file. | |
5491 | * mklibgcc.in: Add libgcov rules. | |
5492 | * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling. | |
5493 | ||
5494 | * doc/invoke.texi (profile-arcs, test-coverage): Update and | |
5495 | clarify. | |
ff6e2d3e | 5496 | |
23af32e6 NS |
5497 | * profile.c (index_counts_file): Remove duplicate check for open file. |
5498 | ||
9fe42917 | 5499 | 2003-01-27 Jerry Quinn <jlquinn@optonline.net> |
d4463dfc JQ |
5500 | |
5501 | * gcc/doc/invoke.texi (Optimization Options): Group together | |
5502 | optional and experimental flags. Move trapv and bounds-check | |
95fcd0ab | 5503 | out of this section. Group floating point flags together. |
d4463dfc JQ |
5504 | (Code Gen Options): Move trapv and bounds-check to here. |
5505 | ||
244d05fb JZ |
5506 | 2003-01-27 Josef Zlomek <zlomekj@suse.cz> |
5507 | ||
5508 | * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL. | |
5509 | ||
c552c146 RE |
5510 | 2003-01-27 Richard Earnshaw <rearnsha@arm.com> |
5511 | ||
5512 | PR optimization/9090 | |
5513 | * function.c (purge_addressof_1): After pushing an addressed register | |
5514 | onto the stack, simplify the result. | |
5515 | ||
90a21764 VR |
5516 | 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
5517 | ||
5518 | * doc/extend.texi: Fix typo. | |
5519 | ||
9a376494 VR |
5520 | 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
5521 | ||
5522 | * doc/cppopts.texi: Fix typo. | |
5523 | * doc/objc.texi: Likewise. | |
5524 | * doc/passes.texi: Likewise. | |
5525 | ||
f004e5f3 AO |
5526 | 2003-01-27 Alexandre Oliva <aoliva@redhat.com> |
5527 | ||
5528 | * real.c (ibm_extended_format): Add 53 to minimum exponent. | |
5529 | (encode_ibm_extended): Adjust. | |
5530 | ||
58c60e52 GDR |
5531 | 2003-01-26 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net> |
5532 | ||
5533 | * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New | |
5534 | timevar_id enumerations. | |
5535 | ||
e869aa39 KH |
5536 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
5537 | ||
5538 | * combine.c: Fix formatting. | |
5539 | ||
74fb4811 KH |
5540 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
5541 | ||
5542 | * doc/gccint.texi: Update the copyright. | |
5543 | ||
3bcf1b13 KH |
5544 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
5545 | ||
5546 | * doc/cpp.texi: Fix typos. | |
5547 | * doc/extend.texi: Likewise. | |
5548 | * doc/gty.texi: Likewise. | |
5549 | * doc/install.texi: Likewise. | |
5550 | * doc/passes.texi: Likewise. | |
5551 | * doc/rtl.texi: Likewise. | |
5552 | * doc/tm.texi: Likewise. | |
5553 | ||
9e4f94de KH |
5554 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
5555 | ||
5556 | * config/ia64/fde-glibc.c: Fix comment typos. | |
5557 | * config/ia64/hpux.h: Likewise. | |
5558 | * config/ia64/ia64.c: Likewise. | |
5559 | * config/ia64/ia64.h: Likewise. | |
5560 | * config/ia64/unwind-ia64.c: Likewise. | |
5561 | ||
4aae8a9a KH |
5562 | 2003-01-26 Kazu Hirata <kazu@cs.umass.edu> |
5563 | ||
5564 | * config/i386/i386-modes.def: Fix comment typos. | |
5565 | * config/i386/i386.c: Likewise. | |
5566 | * config/i386/i386.md: Likewise. | |
5567 | ||
35d8c8e2 SB |
5568 | 2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl> |
5569 | ||
5570 | * config/avr/avr.h, config/cris/aout.h, config/elfos.h, | |
5571 | config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine | |
5572 | ASM_FINISH_DECLARE_OBJECT before defining it. | |
5573 | * toplev.c (rest_of_decl_compilation): Don't define | |
5574 | ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined. | |
5575 | (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function | |
5576 | parameters for DWARF2 targets because they _are_ used. | |
5577 | ||
ea976606 AO |
5578 | 2003-01-26 Alexandre Oliva <aoliva@redhat.com> |
5579 | ||
b44cf3d9 AO |
5580 | * fp-bit.h: Define macros for TFmode floating-point constants |
5581 | in IBM-extended TFmode types. | |
5582 | (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported | |
5583 | widths. | |
5584 | * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended | |
5585 | TFmode type. | |
5586 | ||
ea976606 AO |
5587 | * config/fp-bit.h: Define macros for TFmode floating-point |
5588 | constants in IEEE quad TFmode type. Declare functions according | |
5589 | to L_ macros. | |
5590 | (TMODES): Define if __LDBL_MANT_DIG__ is 113. | |
5591 | (TFtype, TItype, UTItype): Define if TMODES is defined. | |
5592 | (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise. | |
5593 | (F_T_BITOFF, D_T_BITOFF): Define. | |
5594 | (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are | |
5595 | guaranteed to be wide enough. | |
5596 | * config/fp-bit.c: Check for L_ macros for tf functions. | |
5597 | (__thenan_tf): New. | |
5598 | (nan): Adjust. | |
5599 | (pack_d, unpack_d): Support IEEE 854 quad type. | |
5600 | (_fpmul_parts): Support TFmode. Compute exponent adjustment | |
5601 | from FRAC_NBITS, FRAC_BITS and NGARDS. | |
5602 | (usi_to_float): Cast constants to be shifted to fractype | |
5603 | instead of assuming long long is wide enough. | |
5604 | (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New. | |
5605 | ||
fd7fd61e AJ |
5606 | 2003-01-26 Andreas Jaeger <aj@suse.de> |
5607 | ||
5608 | * df.c: Remove prototype of unused function df_regno_rtl_debug. | |
5609 | ||
8ae91fc0 AO |
5610 | 2003-01-26 Alexandre Oliva <aoliva@redhat.com> |
5611 | ||
88e83acb AO |
5612 | * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf. |
5613 | (DBBIT_FUNCS): Added _df_to_tf. | |
5614 | (TPBIT_FUNCS): New. | |
5615 | (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down. | |
5616 | (LIBGCC_DEPS): Added TPBIT. | |
5617 | * mklibgcc.in: Support TPBIT and TPBIT_FUNCS. | |
5618 | ||
2cd622c3 AO |
5619 | * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't |
5620 | been able to move the result to target. | |
5621 | ||
8ae91fc0 AO |
5622 | * expr.c (emit_group_store): Initialize dst with CONST0_RTX |
5623 | for the appropriate mode. | |
5624 | ||
c3297561 AO |
5625 | * calls.c (emit_library_call_value_1): Handle return values |
5626 | in a PARALLEL. | |
5627 | ||
187515f5 AO |
5628 | * rtl.c (get_mode_alignment): Moved to... |
5629 | * stor-layout.c: ... here. | |
5630 | ||
6ebd2ef4 AO |
5631 | * print-rtl.c (print_rtx): Don't print MEM details in |
5632 | GENERATOR_FILEs. | |
5633 | ||
7890e8f3 MH |
5634 | 2003-01-26 Michael Hayes <mph@paradise.net.nz> |
5635 | ||
5636 | * df.h: Update comments, tidy formatting. | |
5637 | (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD, | |
5638 | REVERSE, UNION, INTERSECTION. All uses updated. | |
5639 | (OLD_DF_INTERFACE): Remove. | |
5640 | (struct insn_info): Remove commented out insn field. | |
5641 | * df.c: Update comments, tidy formatting. | |
5642 | (df_def_table_realloc): Remove. | |
5643 | ||
5644 | ||
b820d2b8 AM |
5645 | 2003-01-26 Alan Modra <amodra@bigpond.net.au> |
5646 | ||
5647 | * calls.c (save_fixed_argument_area): Tidy. | |
5648 | (restore_fixed_argument_area): Tidy. Set alignment of stack_area. | |
5649 | (expand_call): Comment typo fixes. Don't init low_to_save. Start | |
5650 | call chain loop at 1 if !try_tail_call. Formatting. | |
5651 | (emit_library_call_value_1): Don't init low_to_save or high_to_save. | |
5652 | Use save_fixed_argument_area and restore_fixed_argument_area. | |
5653 | ||
42510de4 MH |
5654 | 2003-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
5655 | ||
5656 | * df.c (df_uses_record): Handle CC0. | |
5657 | ||
acf9fa5f UW |
5658 | 2003-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
5659 | ||
1e1bd14e RH |
5660 | * reload.c (maybe_memory_address_p): New function. |
5661 | (find_reloads_address): Use it instead of memory_address_p. | |
acf9fa5f | 5662 | |
5a09edba KK |
5663 | 2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org> |
5664 | ||
5665 | * final.c (shorten_branches): Align the address of code label | |
1e1bd14e | 5666 | when computing initial lengths and addresses. |
5a09edba | 5667 | |
f5818c0c KH |
5668 | 2003-01-25 Kazu Hirata <kazu@cs.umass.edu> |
5669 | ||
5670 | * config/m68hc11/m68hc11.md: Fix a comment typo. | |
5671 | ||
21ff35fb AJ |
5672 | 2003-01-25 Andreas Jaeger <aj@suse.de> |
5673 | ||
5674 | * config/i386/i386.c (x86_output_mi_thunk): Correct test for | |
5675 | TARGET_MACHO. | |
5676 | ||
7821bfc7 RS |
5677 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
5678 | ||
5679 | * gcse.c (bypass_last_basic_block): New global variable. | |
5680 | (bypass_block): Use redirect_edge_and_branch_force to redirect | |
5681 | fall-through edges. Use bypass_last_basic_block to determine | |
5682 | which blocks have valid PRE information. | |
5683 | (bypass_conditional_jumps): Initialize bypass_last_basic_block. | |
5684 | ||
5f0bea72 JH |
5685 | Sat Jan 25 22:31:59 CET 2003 Jan Hubicka <jh@suse.cz> |
5686 | ||
5687 | * gcse.c (local_cprop_pass): Update reg_sets table when needed. | |
5688 | ||
1649d92f JH |
5689 | Sat Jan 25 21:04:33 CET 2003 Jan Hubicka <jh@suse.cz> |
5690 | Eric Botcazou <ebotcazou@libertysurf.fr> | |
5691 | PR opt/8492 | |
5692 | * gcse.c (one_cprop_pass): Delete unreachable blocks. | |
5693 | ||
6ca86a1a RH |
5694 | 2003-01-25 Richard Henderson <rth@redhat.com> |
5695 | ||
5696 | * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename | |
5697 | from ia64_aix_select_rtx_section. | |
5698 | (ia64_rwreloc_select_section): Simlarly; use default*_1 function | |
5699 | instead of saving and restoring flag_pic. | |
5700 | (ia64_rwreloc_unique_section): Similarly. | |
5701 | * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION, | |
5702 | TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update. | |
5703 | * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION, | |
5704 | TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New. | |
5705 | ||
aa2fb4dd KH |
5706 | 2003-01-25 Kazu Hirata <kazu@cs.umass.edu> |
5707 | ||
5708 | * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a | |
5709 | comment. | |
5710 | ||
c876997f | 5711 | 2003-01-25 Richard Henderson <rth@redhat.com> |
1125849a RH |
5712 | |
5713 | * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing. | |
5714 | ||
c876997f | 5715 | 2003-01-25 Kelley Cook <kelleycook@comcast.net> |
3900a23b KC |
5716 | |
5717 | * ggc-simple.c (debug_ggc_tree): Add PTR cast. | |
5718 | ||
72e42e26 SB |
5719 | 2003-01-25 Segher Boessenkool <segher@koffie.nl> |
5720 | ||
5721 | * bitmap.h (BITMAP_WORD): New typedef: fundamental storage | |
5722 | type for bitmaps. Use unsigned long. | |
5723 | (nBITMAP_WORD_BITS): New macro. | |
5724 | (BITMAP_WORD_BITS): New macro. | |
5725 | (rest of file): Use it. | |
5726 | * bitmap.c: Use it. | |
5727 | ||
8324663f RH |
5728 | 2003-01-25 Richard Henderson <rth@redhat.com> |
5729 | ||
5730 | 2002-02-19 Robert Lipe <robertlipe@usa.net> | |
5731 | * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff. | |
5732 | ||
c876997f | 5733 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
2adc9b0f RS |
5734 | |
5735 | * builtins.c (purge_builtin_constant_p): Scan insn stream | |
5736 | sequentially rather than by basic block. | |
5737 | * function.c (purge_addressof): Simplify test with INSN_P. | |
5738 | ||
ad487c38 KH |
5739 | 2003-01-25 Kazu Hirata <kazu@cs.umass.edu> |
5740 | ||
8324663f | 5741 | * combine.c (simplify_comparison, case AND): Remove a redundant test. |
ad487c38 | 5742 | |
c876997f | 5743 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
07d9b20d RS |
5744 | |
5745 | * function.h (struct function): New field calls_constant_p. | |
5746 | (current_function_calls_constant_p): New macro for above. | |
5747 | * function.c (prepare_function_start): Initialize calls_eh_return | |
5748 | and calls_constant_p. | |
5749 | * builtins.c (expand_builtin_constant_p): Set calls_constant_p. | |
5750 | * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p | |
5751 | when the current_function_calls_constant_p. | |
5752 | * integrate.c (expand_inline_function): Set calls_constant_p if | |
5753 | the function being inlined has calls_constant_p set. | |
5754 | ||
c876997f | 5755 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
41559112 RS |
5756 | |
5757 | * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not | |
5758 | optimizing, even if flag_gcse is true. | |
5759 | * toplev.c (rest_of_compilation): purge_builtin_constant_p | |
5760 | only needs to be called when "optimize > 0 && flag_gcse". | |
5761 | ||
9bb231fd RS |
5762 | 2003-01-25 Roger Sayle <roger@eyesopen.com> |
5763 | ||
5764 | * stmt.c (emit_case_bit_tests): New routine to implement suitable | |
5765 | switch statements using the equivalent of "if ((1<<x) & cst) ... ". | |
5766 | (case_bit_test_cmp): New comparison function for "qsort" to order | |
5767 | case_bit_tests by decreasing number of destination nodes. | |
5768 | (lshift_cheap_p): New function to determine if "1 << x" is cheap. | |
5769 | (expand_end_case_type): Use emit_case_bit_tests to implement | |
5770 | suitable switch statments. | |
5771 | (CASE_USE_BIT_TESTS): New target macro to disable the above. | |
5772 | * Makefile.in (stmt.o): Add dependency on optab.h. | |
5773 | * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro. | |
5774 | ||
a073323c AS |
5775 | 2003-01-23 Andreas Schwab <schwab@suse.de> |
5776 | ||
5777 | * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make | |
5778 | __do_global_ctors_aux hidden global and don't put it in | |
5779 | .init_array. | |
5780 | * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here | |
5781 | instead so that it comes first. | |
5782 | ||
36ddc6b0 JH |
5783 | Sat Jan 25 16:11:22 CET 2003 Jan Hubicka <jh@suse.cz> |
5784 | ||
5785 | * df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD, | |
5786 | subreg is read/modify. | |
5787 | ||
26771da7 JH |
5788 | Sat Jan 25 15:55:08 CET 2003 Jan Hubicka <jh@suse.cz> |
5789 | ||
5790 | * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently | |
5791 | do libcall for large blocks. | |
5792 | * i386.md (comi patterns): Set type to ssecomi. | |
5793 | (sse2_unpck?pd): Fix mode of vec_select. | |
5794 | ||
5795 | * cse.c: Include except.h | |
5796 | (cse_set_around_loop): Do not create new basic blocks. | |
5797 | * Makefile.in (cse.o): Add dependnecy on except.h | |
5798 | ||
27a6aa72 JH |
5799 | Sat Jan 25 12:05:17 CET 2003 Jan Hubicka <jh@suse.cz> |
5800 | ||
5801 | * builtins.c (fold_trunc_transparent_mathfn): New function. | |
5802 | (fold_builtin): Use it. | |
5803 | * convert.c (convert_to_real): Re-enable code to convert | |
5804 | math functions; add support for floor familly functions. | |
5805 | ||
cd68f4e4 ZD |
5806 | 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
5807 | ||
5808 | * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add | |
5809 | dependencies on coretypes.h and $(TM_H). | |
5810 | ||
67945f2e JH |
5811 | Sat Jan 25 11:10:03 CET 2003 Jan Hubicka <jh@suse.cz> |
5812 | ||
5813 | * builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit. | |
5814 | ||
c876997f | 5815 | 2003-01-24 Stuart Hastings <stuart@apple.com> |
095fa594 | 5816 | |
08f0414b | 5817 | * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support. |
095fa594 | 5818 | |
1e4c04e0 MH |
5819 | 2003-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
5820 | ||
5821 | * config/c4x/c4x.md (UNSPEC_BU): New constants. | |
5822 | (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise. | |
5823 | (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise. | |
5824 | (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise. | |
5825 | (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST): Likewise. | |
5826 | (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP): Likewise. | |
5827 | (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST): Likewise. | |
5828 | (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE): Likewise. | |
5829 | ||
a560d4d4 JH |
5830 | Fri Jan 24 23:44:12 CET 2003 Jan Hubicka <jh@suse.cz> |
5831 | ||
08f0414b | 5832 | * emit-rtl.c (reg_attrs_htab): New static variable. |
a560d4d4 JH |
5833 | (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static |
5834 | functions. | |
5835 | (reg_rtx): Do not maintain regno_decl. | |
5836 | (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx, | |
5837 | set_mem_attrs_from_reg): New global function. | |
5838 | (init_emit): Do not initialize regno_decl. | |
5839 | (init_emit_once): initialize reg_attrs_htab. | |
5840 | * final.c (alter_subreg): Do not replace REG by SUBREG. | |
5841 | (gen_mem_expr_from_op): Improve output. | |
5842 | (output_asm_operands): Likewise. | |
5843 | * function.c (assign_params): Do not set REGNO_DECL. | |
5844 | * function.h (struct function): Kill regno_decl. | |
5845 | (REGNO_DECL): Kill. | |
5846 | * gengtype.c (adjust_field_rtx_def): Handle new field of reg. | |
5847 | * print_rtl.c (print_rtx): Output REG information. | |
5848 | * regclass.c (reg_scan_mark_refs): Update attrs. | |
5849 | * reload1.c (alter_reg): Likewise. | |
5850 | * simplify_rtx.c (simplify_subreg): Likewise. | |
5851 | * stmt.c (expand_decl): Likewise. | |
5852 | * rtl.def (REG): Add new field. | |
5853 | * rtl.h (struct reg_attrs): New. | |
5854 | (rtunion_def): At rtreg. | |
5855 | (X0MEMATTR): Add checking. | |
5856 | (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro. | |
5857 | (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset): | |
5858 | Declare. | |
5859 | * tree.h (SET_DECL_RTL): Call set_decl_rtl. | |
5860 | ||
1d0ea52e BW |
5861 | 2003-01-24 Bob Wilson <bob.wilson@acm.org> |
5862 | ||
5863 | * config/xtensa/xtensa.c: Remove unused include of machmode.h. | |
5864 | (xtensa_emit_call, print_operand): Fix printf format strings | |
5865 | to avoid compile warnings. | |
5866 | (xtensa_function_prologue, xtensa_function_epilogue): Change type | |
5867 | of "size" argument to HOST_WIDE_INT to fix compile warnings. | |
5868 | * config/xtensa/xtensa-protos.h | |
5869 | (xtensa_function_prologue, xtensa_function_epilogue): Ditto. | |
5870 | ||
272f51a3 JH |
5871 | Fri Jan 24 23:03:32 CET 2003 Jan Hubicka <jh@suse.cz> |
5872 | ||
5873 | * builtins.c (DEF_BUILTIN): Accept 10 arguments. | |
5874 | (implicit_built_in_decls): New global array. | |
5875 | (mathfn_built_in): New global function. | |
5876 | (fold_trunc_transparent_mathfn): New static function | |
5877 | (expand_builtin_strstr, expand_bultin_strchr, | |
5878 | expand_builtin_strpbrk, expand_builtin_strcpy, | |
5879 | expand_builtin_strncpy, expand_bultin_strcmp, | |
5880 | expand_bultin_strncat, expand_builtin_fputs): Use | |
5881 | implicint_built_in_decls. | |
5882 | (fold_builtin): Fold floor/trunc/round/ceil/nearbyint. | |
5883 | * builtins.def: Fix comments. | |
5884 | (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN, | |
5885 | DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN, | |
5886 | DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN, | |
5887 | DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed. | |
5888 | (DEF_C99_C90RES_BULTIN): New. | |
5889 | (*f, *l builtins): Update. | |
5890 | * c-common.c (DEF_BUILTIN): Initialize implicit array. | |
5891 | (c_expand_builtin_printf, c_expand_builtin_fprintf): Update. | |
5892 | * convert.c (strip_float_extensions): New global function. | |
5893 | * tree.h (DEF_BUILTIN): Accept 10 arguments. | |
5894 | (implicit_built_in_decls, mathfn_built_in, strip_float_extension): | |
5895 | Declare. | |
5896 | * java/builtins.c (define_builtin): Handle implicit. | |
5897 | (DEF_BUILTIN): Update. | |
5898 | * tm.texi (TARGET_C99_FUNCTIONS): Document. | |
5899 | * defaults.h (TARGET_C99_FUNCTIONS): Default to 0. | |
5900 | * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1 | |
5901 | when using glibc2. | |
5902 | ||
1f37a5b2 BW |
5903 | 2003-01-24 Bob Wilson <bob.wilson@acm.org> |
5904 | ||
5905 | * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib, | |
5906 | extra_parts, and fixincludes. Add xtensa/t-elf tmake_file. | |
5907 | (xtensa-*-linux*): Add xtensa/t-linux tmake_file. | |
5908 | * config/xtensa/crti.asm: New file. | |
5909 | * config/xtensa/crtn.asm: New file. | |
5910 | * config/xtensa/t-elf: New file. | |
5911 | * config/xtensa/t-linux: New file. | |
5912 | * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o. | |
5913 | Move various CFLAGS settings to new t-elf file. | |
5914 | ||
84f5e1b1 RH |
5915 | 2003-01-24 Richard Henderson <rth@redhat.com> |
5916 | ||
5917 | PR optimization/4382 | |
5918 | * tree-inline.c (find_builtin_longjmp_call_1): New. | |
5919 | (find_builtin_longjmp_call): New. | |
5920 | (inlinable_function_p): Use it. | |
5921 | ||
09b2e78d ZD |
5922 | 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
5923 | ||
5924 | * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare. | |
5925 | * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it. | |
5926 | * config/i386/i386.c (function_arg_pass_by_reference): New. | |
5927 | (ix86_va_arg): Support arguments passed by reference. | |
5928 | ||
3d436d2a ZD |
5929 | 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
5930 | ||
5931 | * cfgloopanal.c: New file. | |
5932 | * cfgloopmanip.c: New file. | |
5933 | * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New. | |
5934 | (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o, | |
5935 | cfglayout.o): Add dependency on cfgloop.h. | |
5936 | (cfgloop.o): Add flags.h dependency. | |
5937 | * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags. | |
5938 | (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed. | |
5939 | (struct loop, struct loops, flow_loops_find, flow_loops_update, | |
5940 | flow_loops_free, flow_loops_dump, flow_loop_dump, | |
5941 | flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove, | |
5942 | LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES, | |
5943 | LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p, | |
5944 | flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge, | |
5945 | loop_latch_edge, add_bb_to_loop, remove_bb_from_loops, | |
5946 | find_common_loop, verify_loop_structure): Declarations moved to ... | |
5947 | * cfgloop.h: New file. | |
5948 | * bb-reorder.c (reorder_basic_blocks): Modified. | |
5949 | * cfglayout.c: Include cfgloop.h. | |
5950 | (cleanup_unconditional_jumps, cfg_layout_redirect_edge, | |
5951 | cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure. | |
5952 | (break_superblocks): New static function. | |
5953 | (cfg_layout_finalize): Use it. | |
5954 | (cfg_layout_split_block): New function. | |
5955 | * cfglayout.h (struct reorder_block_def): Add copy and duplicated | |
5956 | fields. | |
5957 | (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration | |
5958 | changed. | |
5959 | (cfg_layout_split_block): Declare. | |
5960 | * cfgloop.c: Include cfgloop.h and flags.h. | |
5961 | (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find, | |
5962 | get_loop_body): Avoid signed versus unsigned comparison warnings. | |
5963 | (make_forwarder_block, flow_loops_find, loop_preheader_edge, | |
5964 | loop_latch_edge): Modified. | |
5965 | (verify_loop_structure): Modified to use flags stored in loop structure; | |
5966 | check irreducible loops. | |
5967 | (cancel_loop, cancel_loop_tree): New functions. | |
5968 | (estimate_probability): Use loop analysis code for predictions. | |
5969 | (estimate_loops_at_level): Avoid signed versus unsigned comparison | |
5970 | warnings. | |
5971 | * doloop.c: Include cfgloop.h. | |
5972 | * loop.c: Include cfgloop.h. | |
5973 | * predict.c: Include cfgloop.h. | |
5974 | * toplev.c: Include cfgloop.h. | |
5975 | * unroll.c: Include cfgloop.h. | |
5976 | * tracer.c (tracer): Modified. | |
5977 | ||
a38b3eea KH |
5978 | 2003-01-24 Kazu Hirata <kazu@cs.umass.edu> |
5979 | ||
5980 | * config/h8300/h8300.c (get_shift_alg): Fix a typo. | |
5981 | ||
fd3cd001 UW |
5982 | 2003-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
5983 | ||
5984 | * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases. | |
5985 | * configure: Regenerate. | |
5986 | ||
5987 | * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype. | |
5988 | (tls_symbolic_reference_mentioned_p): Add prototype. | |
5989 | (s390_tls_get_offset): Add prototype. | |
5990 | (emit_pic_move): Remove prototype, replace by ... | |
5991 | (emit_symbolic_move): .. this new prototype. | |
5992 | ||
5993 | * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define. | |
5994 | (tls_model_chars): New global variable. | |
5995 | (s390_encode_section_info): Encode TLS model. | |
5996 | Use targetm.binds_local_p to check for local symbols. | |
5997 | (s390_strip_name_encoding): New function. | |
5998 | (TARGET_STRIP_NAME_ENCODING): Define. | |
5999 | ||
6000 | (get_thread_pointer): New function. | |
21ff35fb | 6001 | (legitimize_tls_address): New function. |
fd3cd001 UW |
6002 | (legitimize_address): Call it. |
6003 | (emit_pic_move): Remove, replace by ... | |
6004 | (emit_symbolic_move): ... this new function. | |
6005 | ||
6006 | (larl_operand): Handle TLS operands. | |
6007 | (legitimate_constant_p): Likewise. | |
6008 | (s390_decompose_address): Likewise. | |
6009 | (s390_cannot_force_const_mem): New function. | |
6010 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. | |
6011 | ||
6012 | (s390_output_symbolic_const): Handle TLS unspecs. | |
6013 | (print_operand): New code 'J'. | |
6014 | (machine_function): Add struct member 'some_ld_name'. | |
6015 | (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New. | |
6016 | ||
6017 | (enum s390_builtin): New type. | |
6018 | (code_for_builtin_64, code_for_builtin_31): New global variables. | |
6019 | (s390_init_builtins, s390_expand_builtin): New functions. | |
6020 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
6021 | ||
6022 | * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro. | |
6023 | (ASM_OUTPUT_LABELREF): Define. | |
6024 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants. | |
6025 | ||
6026 | * config/s390/s390.md: Define TLS UNSPEC constants. | |
6027 | ("movdi", "movsi"): Handle TLS operands. | |
6028 | ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns. | |
6029 | ("*tls_load_64", "*tls_load_31"): New insns. | |
6030 | ("call_value_tls", "call_value_tls_exp"): New expanders. | |
21ff35fb | 6031 | ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31", |
fd3cd001 UW |
6032 | "bas_tls_64", "bas_tls_31"): New insns. |
6033 | ||
01f4962d NS |
6034 | 2003-01-24 Nathan Sidwell <nathan@codesourcery.com> |
6035 | ||
6036 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure | |
6037 | spe ABI is configured, if requested. | |
6038 | ||
70b91854 VR |
6039 | 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
6040 | ||
6041 | * doc/passes.texi: Fix typo. | |
6042 | ||
b8089d8d AS |
6043 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
6044 | ||
6045 | * stor-layout.c (excess_unit_span): Only define if used. | |
6046 | ||
38df970e JQ |
6047 | 2003-01-24 Jerry Quinn <jlquinn@optonline.net> |
6048 | ||
6049 | * gcc/doc/invoke.texi (Optimization Options): List -O levels | |
6050 | for each optimization flag. | |
6051 | ||
dff23a65 KH |
6052 | 2003-01-24 Kazu Hirata <kazu@cs.umass.edu> |
6053 | ||
6054 | * config/h8300/h8300.md (*andsi3_ashift_n_lower): New. | |
6055 | ||
05739753 VR |
6056 | 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
6057 | ||
6058 | * doc/bugreport.texi: Use @command instead of @code for commands. | |
6059 | * doc/collect2.texi: Likewise. | |
6060 | * doc/headerdirs.texi: Likewise. | |
6061 | * doc/invoke.texi: Likewise. | |
6062 | * doc/standards.texi: Likewise. | |
6063 | * doc/tm.texi: Likewise. | |
6064 | * doc/trouble.texi: Likewise. | |
6065 | ||
06bea5aa NC |
6066 | 2003-01-24 Nick Clifton <nickc@redhat.com> |
6067 | ||
6068 | * config/arm/arm.c (use_return_insn): Do not use a single return | |
6069 | instruction for interrupt handelrs which have to create a stack | |
6070 | frame. | |
6071 | (arm_expand_prologue): Do not pre-bias the return address of | |
6072 | interrupt handlers which create a stack frame. | |
6073 | ||
6074 | 2003-01-24 Nick Clifton <nickc@redhat.com> | |
6075 | ||
6076 | * Add sh2e support: | |
6077 | ||
6078 | 2002-08-12 Alexandre Oliva <aoliva@redhat.com> | |
6079 | ||
6080 | * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle | |
6081 | med_cbranches. Fix logic in short_cbranches. | |
6082 | ||
6083 | 2002-04-03 Alexandre Oliva <aoliva@redhat.com> | |
6084 | ||
6085 | * config/sh/sh.md (delay for cbranch): Don't annul delay | |
6086 | slots on SH2e. | |
6087 | * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for | |
6088 | cbranch with unfilled delay slot on SH2e. | |
6089 | (output_branch): Fill with a nop the delay slot of a | |
6090 | branch that required a delay slot but didn't get one. | |
6091 | ||
6092 | 2002-04-02 Alexandre Oliva <aoliva@redhat.com> | |
6093 | ||
6094 | * doc/invoke.texi (SH options): Document -m2e. | |
6095 | * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__. | |
6096 | * config/sh/lib1funcs.asm: Likewise. | |
6097 | * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E. | |
6098 | * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and | |
6099 | not __sh1__. | |
6100 | (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from | |
6101 | SH2E up. | |
6102 | (SH3E_BIT): Renamed to... | |
6103 | (SH_E_BIT): ... this. Replace all uses. | |
6104 | (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2. | |
6105 | Replace all uses of TARGET_SH3E with TARGET_SH2E. | |
6106 | (TARGET_SWITCHES): Added 2e. | |
6107 | (OVERRIDE_OPTIONS): Set sh_cpu for SH2E. | |
6108 | (processor_type): Added PROCESSOR_SH2E. | |
6109 | * config/sh/sh.md: Replace all uses of TARGET_SH3E with | |
6110 | TARGET_SH2E, except in sqrtsf2_i. | |
6111 | (attribute cpu): Added sh2e. | |
6112 | * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e. | |
6113 | (MULTILIB_MATCHES): Use m2e multilib for m3e. | |
6114 | * config.gcc: Add sh2e target support. | |
6115 | ||
65ca2d60 PE |
6116 | 2003-01-24 Phil Edwards <pme@gcc.gnu.org> |
6117 | ||
6118 | Rename -W to -Wextra. | |
6119 | * c-decl.c: Update comments. | |
6120 | * c-typeck.c: Likewise. | |
6121 | * flags.h: Likewise. | |
6122 | * function.c: Likewise. | |
6123 | * stmt.c: Likewise. | |
6124 | * toplev.c: Update comments. | |
6125 | (W_options): Add 'extra'. | |
6126 | (display_help): Remove '-W'. | |
6127 | (decode_W_option): Special warn_uninitialized treatment in the case | |
6128 | of -Wextra. | |
6129 | * doc/invoke.texi: Update with new entries. | |
6130 | ||
3de9c088 RH |
6131 | 2003-01-23 Richard Henderson <rth@redhat.com> |
6132 | ||
8324663f RH |
6133 | * ifcvt.c (noce_process_if_block): Re-add check vs X being changed |
6134 | in no-else-block case. Add commentary. | |
3de9c088 | 6135 | |
49691411 KG |
6136 | 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6137 | ||
b4862477 KG |
6138 | * configure.in: Revert last change. |
6139 | ||
6140 | 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
6141 | ||
6142 | * configure.in: Don't include ansidecl.h in tconfig.h. | |
49691411 KG |
6143 | * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2. |
6144 | * unwind-dw2-fde.h (last_fde): Use __attribute__, not | |
6145 | ATTRIBUTE_UNUSED. | |
6146 | ||
6147 | * configure: Regenerate. | |
6148 | ||
c4db7ecb FS |
6149 | 2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
6150 | ||
6151 | PR java/6748 | |
6152 | * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy | |
6153 | regs->nip. Fix rt_sigreturn frame layout. Add support for newer | |
6154 | kernels. | |
6155 | ||
fc69c47c KG |
6156 | 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6157 | ||
6158 | * cpplex.c (cpp_interpret_charconst): Squelch warning with cast. | |
6159 | ||
adbe6dfd UW |
6160 | 2003-01-23 Ulrich Weigand <uweigand@de.ibm.com> |
6161 | ||
6162 | * genattrtab.c (write_attr_get): Mark 'insn' paramter | |
6163 | as ATTRIBUTE_UNUSED. | |
6164 | ||
76a318e9 RE |
6165 | 2003-01-23 Richard Earnshaw <rearnsha@arm.com> |
6166 | ||
6167 | * arm.c (thumb_base_register_rtx_p): New function. | |
6168 | (thumb_index_register_rtx_p): New function. | |
6169 | (thumb_legitimate_address_p): New function. | |
6170 | (thumb_legitimate_offset_p): New function. | |
6171 | * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT. | |
8891b787 | 6172 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate |
76a318e9 RE |
6173 | definitions. |
6174 | (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p. | |
6175 | (THUMB_LEGITIMATE_OFFSET): Delte. | |
6176 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset. | |
6177 | * arm-protos.h (thumb_legitimate_address_p): Add prototype. | |
6178 | (thumb_legitimate_offset_p): Likewise. | |
6179 | ||
9a600d0c AS |
6180 | 2003-01-23 Andreas Schwab <schwab@suse.de> |
6181 | ||
6182 | * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused. | |
6183 | ||
2d110c0a KG |
6184 | 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6185 | ||
6186 | * fixinc/Makefile.in (FL_LIST): Revert last change. | |
6187 | ||
2d1d9215 VR |
6188 | 2003-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
6189 | ||
6190 | PR other/7341 | |
6191 | * invoke.texi (ftest-coverage): Fix broken cross-reference. | |
6192 | Change @code to @command for gcov command. | |
6193 | ||
6194 | * gcc.texi: Adjust title of gcov section. | |
6195 | Adjust copyright. | |
6196 | * gcov.texi: Likewise. | |
6197 | ||
34ee7f82 RS |
6198 | 2003-01-22 Roger Sayle <roger@eyesopen.com> |
6199 | ||
6200 | PR optimization/8423 | |
6201 | * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when | |
6202 | its argument is constant, or 0 if !flag_gcse. | |
6203 | * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1 | |
6204 | if it's argument is constant. | |
6205 | * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes. | |
6206 | (hash_scan_set): Don't record CONSTANT_P_RTX expressions. | |
6207 | (do_local_cprop): Don't propagate CONSTANT_P_RTX constants. | |
6208 | * builtins.c (purge_builtin_constant_p): New function to force | |
6209 | instantiation of any remaining CONSTANT_P_RTX nodes. | |
6210 | * rtl.h (purge_builtin_constant_p): Prototype here. | |
6211 | * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p | |
6212 | pass after GCSE and before loop. | |
6213 | (flag_gcse): No longer static. | |
6214 | * flags.h (flag_gcse): Prototype here. | |
6215 | ||
bab0b43b UW |
6216 | 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com> |
6217 | ||
6218 | * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression | |
6219 | introduced by last change. | |
6220 | ||
7e657a61 AS |
6221 | 2003-01-22 Andreas Schwab <schwab@suse.de> |
6222 | ||
6223 | * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning. | |
6224 | ||
75a3503b KH |
6225 | 2003-01-22 Kazu Hirata <kazu@cs.umass.edu> |
6226 | ||
6227 | * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't | |
6228 | request a scratch reg on H8S when the shift count is 8. | |
6229 | ||
4888ec5d UW |
6230 | 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com> |
6231 | ||
6232 | * config/s390/s390-protos.h (preferred_la_operand_p): | |
6233 | Remove second parameter. | |
6234 | * config/s390/s390.c (preferred_la_operand_p): Likewise. | |
6235 | * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros. | |
6236 | (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P. | |
6237 | * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove. | |
6238 | Add peepholes to transform ADD to LOAD ADDRESS. | |
6239 | ||
6b990f6b RE |
6240 | 2003-01-22 Richard Earnshaw <rearnsha@arm.com> |
6241 | ||
6242 | * arm.c (arm_address_register_rtx_p): New function. | |
6243 | (arm_legitimate_address_p): New function. | |
6244 | (arm_legitimate_index_p): New function. | |
6245 | (legitimize_pic_address): Use arm_legitimate_index_p. | |
6246 | * arm-protos.h (arm_legtimate_address_p): Add prototype. | |
6247 | * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete. | |
6248 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p. | |
6249 | ||
f0bf1270 HP |
6250 | 2003-01-22 Hartmut Penner <hpenner@de.ibm.com> |
6251 | ||
6252 | * config/s390/s390.md (floatdfdi2): Insn has type 'itof'. | |
6253 | * config/s390/2064.md (define_bypass): Correct 'Load' and | |
6254 | 'Load-address' bypass values. | |
21ff35fb | 6255 | |
fcb6a0f5 AS |
6256 | 2003-01-22 Andreas Schwab <schwab@suse.de> |
6257 | ||
6258 | * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error. | |
6259 | ||
c24b8026 ZW |
6260 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
6261 | ||
6262 | * genautomata.c (output_internal_insn_latency_func, | |
6263 | output_print_reservation_func): Short circuit when there is no | |
6264 | automaton to generate code for. | |
6265 | ||
38afe605 KG |
6266 | 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6267 | ||
6268 | * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H). | |
6269 | (df.o): Delete duplicate dependency on coretypes.h $(TM_H). | |
6270 | ||
d24652ee GK |
6271 | 2003-01-21 Geoffrey Keating <geoffk@apple.com> |
6272 | ||
6273 | * config/rs6000/rs6000.md: Remove warning. | |
6274 | (builtin_setjmp_receiver): Likewise. | |
6275 | * config/darwin.c (update_stubs): Slightly improve terrible hack | |
6276 | with identifiers. Add comment pointing out problems with it. | |
6277 | (update_non_lazy_ptrs): Likewise. | |
6278 | ||
1c99d804 RH |
6279 | 2003-01-21 Richard Henderson <rth@redhat.com> |
6280 | ||
6281 | * dwarf2out.c (lookup_filename): Fix printf format warning. | |
6282 | * system.h (fread_unlocked, fwrite_unlocked): Undef. | |
6283 | ||
6284 | * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook. | |
6285 | (fixincl.o-warn, gnu-regex.o-warn): New. | |
6286 | * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused. | |
6287 | * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise. | |
6288 | * fixinc/fixincl.c (process): Fix printf format warning. | |
6289 | ||
f0b886ab UW |
6290 | 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com> |
6291 | ||
6292 | * dwarf2out (output_file_names): Don't crash if called | |
6293 | with empty file_table. | |
6294 | ||
490c57bb ZW |
6295 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
6296 | ||
6297 | * genautomata.c (output_internal_insn_latency_func): Add | |
6298 | missing break statement to generated code. | |
6299 | ||
100e3acb RS |
6300 | 2003-01-21 Roger Sayle <roger@eyesopen.com> |
6301 | ||
6302 | * stmt.c (same_case_target_p): New function to determine whether | |
6303 | two case labels branch to the same target. Split out from... | |
6304 | (group_case_nodes): ... here. Use same_case_target_p instead. | |
6305 | (strip_default_case_nodes): Remove explicit case nodes | |
6306 | that branch to the default destination. | |
6307 | (expand_end_case_type): Call strip_default_case_nodes after | |
6308 | group_case_nodes, to simplify the case-list before we count it. | |
6309 | Only generate table_label RTX when actually needed. Try to share | |
6310 | thiscase->exit_label and thiscase->data.case_stmt.default_label | |
6311 | when a switch has no explicit default case. Simplify test for | |
6312 | constant index. | |
6313 | ||
e8e8c1e5 KH |
6314 | 2003-01-21 Kazu Hirata <kazu@cs.umass.edu> |
6315 | ||
6316 | * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of | |
6317 | \t. | |
6318 | (*negsf2_h8300hs): Likewise. | |
6319 | (*addsi3_lshiftrt_16_zexthi): Likewise. | |
6320 | (*iorhi3_lshiftrt_8): Likewise. | |
6321 | ||
044b4de3 UW |
6322 | 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com> |
6323 | ||
6324 | * dwarf2out.c (fde_table_in_use): Mark GTY. | |
6325 | (dwarf2out_cfi_label_num): New variable, marked GTY. | |
6326 | (dwarf2out_cfi_label): Use it instead of static label_num. | |
6327 | * emit-rtl.c (label_num): Mark GTY. | |
6328 | ||
cfedf91b KH |
6329 | 2003-01-21 Kazu Hirata <kazu@cs.umass.edu> |
6330 | ||
6331 | * config/h8300/h8300.c (output_plussi): Support H8/300. | |
6332 | (compute_plussi_length): Likewise. | |
6333 | (compute_plussi_cc): Likewise. | |
6334 | * config/h8300/h8300.md (addsi_h8300): Use output_plussi to | |
6335 | output assembly instructions. | |
6336 | ||
dd859b8a KG |
6337 | 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6338 | ||
1f5b3282 KG |
6339 | * calls.c (fix_unsafe_tree): Prototype. |
6340 | ||
dd859b8a KG |
6341 | * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) |
6342 | (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn, | |
6343 | insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn, | |
6344 | c-parse.o-warn): Add -Wno-error. | |
6345 | (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@". | |
6346 | ||
6347 | * configure.in (--enable-werror): Add new flag. | |
6348 | * doc/install.texi (--enable-werror): Document. | |
6349 | * configure: Regenerate. | |
6350 | ||
6351 | * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error. | |
6352 | ||
4f9365e2 AS |
6353 | 2003-01-21 Andreas Schwab <schwab@suse.de> |
6354 | ||
6355 | * genautomata.c (output_internal_insn_latency_func): Fix missing | |
6356 | close paren in output. | |
6357 | ||
a543eb5e ZW |
6358 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
6359 | ||
6360 | * genautomata.c: Space savings in generated code: | |
6361 | (output_dfa_insn_code_func): Split out the table-enlargement | |
6362 | path to an out-of-line static function, dfa_insn_code_enlarge. | |
6363 | (output_internal_insn_latency_func): Use a lookup table for the | |
6364 | default latencies. | |
6365 | (output_print_reservation_func): Use a lookup table for the | |
6366 | strings. | |
6367 | ||
292e35a3 CE |
6368 | 2003-01-21 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> |
6369 | ||
6370 | PR opt/7507 | |
6371 | * calls.c (fix_unsafe_tree): Split out from ... | |
6372 | (expand_call): ... here. Use it on the function address too. | |
6373 | ||
d8d0f5af RH |
6374 | 2003-01-20 Richard Henderson <rth@redhat.com> |
6375 | ||
6376 | * expr.h (default_must_pass_in_stack): Move decl outside ifdef. | |
6377 | ||
5b50aa9d RH |
6378 | 2003-01-20 Richard Henderson <rth@redhat.com> |
6379 | ||
515e1c9f | 6380 | PR opt/7154 |
5b50aa9d RH |
6381 | * stmt.c (expand_asm_operands): Validize memory operands. |
6382 | ||
7a174a15 RH |
6383 | 2003-01-20 Richard Henderson <rth@redhat.com> |
6384 | ||
6385 | PR opt/8848 | |
6386 | * ifcvt.c (noce_process_if_block): Correct arguments to | |
6387 | modified_between_p for no-else-block case. | |
6388 | ||
9ac7ebba KH |
6389 | 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> |
6390 | ||
6391 | * config/h8300/h8300.c (const_costs): Remove a warning. | |
6392 | (output_plussi): Likewise. | |
6393 | (compute_plussi_length): Likewise. | |
6394 | (compute_plussi_cc): Likewise. | |
6395 | ||
309c52b5 KH |
6396 | 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> |
6397 | ||
6398 | * config/h8300/h8300.md (addsi_h8300): Remove the last | |
6399 | alternative. | |
6400 | ||
b30686ec KH |
6401 | 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> |
6402 | ||
6403 | * config/h8300/h8300.c (get_shift_alg): Remove redundant code. | |
6404 | ||
87608693 KG |
6405 | 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6406 | ||
6407 | * system.h (__NO_STRING_INLINES): Define. | |
6408 | ||
475c8250 JDA |
6409 | 2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6410 | ||
6411 | * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x | |
6412 | is not a scalar int mode. | |
6413 | ||
dbaff908 RS |
6414 | 2003-01-20 Roger Sayle <roger@eyesopen.com> |
6415 | ||
6416 | * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL | |
6417 | insn's notes following a substitution inside a libcall. | |
6418 | ||
da8a6064 ZW |
6419 | 2003-01-20 Zack Weinberg <zack@codesourcery.com> |
6420 | ||
6421 | * configure.in: Check for system-provided 'uchar' type. | |
a12b5bd9 | 6422 | * configure, config.in: Regenerate. |
da8a6064 ZW |
6423 | * cpphash.h: Only typedef 'uchar' if the system doesn't. |
6424 | ||
a4b1b92a RH |
6425 | 2003-01-20 Richard Henderson <rth@redhat.com> |
6426 | ||
6427 | * expr.h (MUST_PASS_IN_STACK): Move implementation... | |
6428 | * calls.c (default_must_pass_in_stack): ... here. | |
6429 | ||
d530b07f VM |
6430 | 2003-01-20 Vladimir Makarov <vmakarov@redhat.com> |
6431 | ||
da8a6064 ZW |
6432 | * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c. |
6433 | ||
d530b07f VM |
6434 | * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h. |
6435 | ||
6436 | * genattr.c (main): Output default definition of AUTOMATON_ALTS. | |
6437 | Wrap up definition of `insn_alts'. | |
6438 | ||
6439 | * genattrtab.c (main): Wrap up `insn_alts'. | |
6440 | ||
351df804 KG |
6441 | 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6442 | ||
6443 | * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before | |
6444 | prototyping. | |
6445 | * configure.in: Check for <ldfcn.h> and ldgetname() prototype. | |
da8a6064 | 6446 | |
351df804 KG |
6447 | * config.in, configure: Regenerate. |
6448 | ||
e3289412 NC |
6449 | 2003-01-20 Nick Clifton <nickc@redhat.com> |
6450 | ||
6451 | * config/arm/arm.md (sibcall_epilogue): Add an | |
6452 | UNSPEC_PROLOGUE_USE to prevent the link register from being | |
6453 | considered dead. | |
6454 | ||
5794139a JH |
6455 | Mon Jan 20 14:36:23 CET 2003 Jan Hubicka <jh@suse.cz> |
6456 | ||
6457 | * i386.md (SSE cmov splitter): Handle memory operand in operand 5. | |
6458 | ||
0a18ddf9 AS |
6459 | 2003-01-20 Andreas Schwab <schwab@suse.de> |
6460 | ||
6461 | * system.h: Don't declare strsignal if the decl test hasn't been | |
6462 | run yet. | |
6463 | ||
d99c740f KH |
6464 | 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> |
6465 | ||
6466 | * config/h8300/h8300.c (notice_update_cc): Don't assume that | |
6467 | recog_data.operands[0] is always associated with cc0. | |
6468 | ||
825c5408 DE |
6469 | 2003-01-19 David Edelsohn <edelsohn@gnu.org> |
6470 | ||
6471 | * collect2.c (ldgetname): Expand declaration to prototype. | |
6472 | * read-rtl.c (atoll): Add prototype. | |
da3e0142 | 6473 | * system.h (strsignal): Also declare if no declaration found. |
825c5408 | 6474 | |
3bd6d4c4 AO |
6475 | 2003-01-19 Alexandre Oliva <aoliva@redhat.com> |
6476 | ||
6477 | * config.gcc (mips64*-*-linux*): Added. | |
6478 | * config/mips/linux64.h, config/mips/t-linux64: New file. | |
6479 | * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define. | |
6480 | * config/mips/mips.c (override_options): Use it. | |
6481 | * config/mips/mips.h (TARGET_SWITCHES): Added... | |
6482 | (SUBTARGET_TARGET_SWITCHES): New, empty by default. | |
6483 | * Makefile.in (SPECS): New. | |
6484 | (STAGESTUFF, specs, mostlyclean, install-common): Use it. | |
6485 | * gcc.c (process_command): Move self-spec processing past spec | |
6486 | file loading. | |
6487 | * doc/tm.texi (DRIVER_SELF_SPECS): Document the change. | |
6488 | * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for | |
6489 | CRTSTUFF_T_CFLAGS. | |
6490 | (SPECS): Document. | |
6491 | * doc/invoke.texi (-mabi-fake-default): Document. | |
6492 | ||
e9f13564 SC |
6493 | 2003-01-19 Stephane Carrez <stcarrez@nerim.fr> |
6494 | ||
6495 | * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word, | |
6496 | z_reg, z_reg_qi): Declare static and GTY(). | |
6497 | (da_reg): Remove. | |
6498 | (create_regs_rtx): Don't create da_reg. | |
6499 | ("gt-m68hc11.h"): Include for GTY roots. | |
6500 | * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern | |
6501 | and GTY() here. | |
6502 | (m68hc11_compare_op0, m68hc11_compare_op1): Likewise. | |
6503 | (m68hc11_soft_tmp_reg): Likewise. | |
6504 | * config/m68hc11/m68hc11-protos.h: Remove above declarations. | |
6505 | ||
32dd366d KH |
6506 | 2003-01-18 Kazu Hirata <kazu@cs.umass.edu> |
6507 | ||
6508 | * basic-block.h: Fix comment formatting. | |
6509 | * calls.c: Likewise. | |
6510 | * combine.c: Likewise. | |
6511 | * convert.c: Likewise. | |
6512 | * gcov.c: Likewise. | |
6513 | * haifa-sched.c: Likewise. | |
6514 | * libgcc2.c: Likewise. | |
6515 | * loop.c: Likewise. | |
6516 | * profile.c: Likewise. | |
6517 | * system.h: Likewise. | |
6518 | ||
bc3cb712 RS |
6519 | 2003-01-18 Roger Sayle <roger@eyesopen.com> |
6520 | ||
6521 | * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs. | |
6522 | ||
25e42e9d KG |
6523 | 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6524 | ||
6525 | * ra-build.c (undef_to_size_word): Avoid `switch' warning. | |
6526 | ||
6f9c81f5 DJ |
6527 | 2003-01-17 Dale Johannesen <dalej@apple.com> |
6528 | ||
da8a6064 | 6529 | * config/rs6000/rs6000.md (*floatsidf2_internal): Add earlyclobbers. |
6f9c81f5 DJ |
6530 | (*floatunssidf2_internal): Ditto. |
6531 | ||
95bd1dd7 KH |
6532 | 2003-01-17 Kazu Hirata <kazu@cs.umass.edu> |
6533 | ||
6534 | * alias.c: Fix comment typos. | |
6535 | * basic-block.h: Likewise. | |
6536 | * c-common.c: Likewise. | |
6537 | * c-common.h: Likewise. | |
6538 | * c-decl.c: Likewise. | |
6539 | * c-opts.c: Likewise. | |
6540 | * c-pragma.c: Likewise. | |
6541 | * c-pretty-print.h: Likewise. | |
6542 | * cfg.c: Likewise. | |
6543 | * cfganal.c: Likewise. | |
6544 | * cfgbuild.c: Likewise. | |
6545 | * cfgcleanup.c: Likewise. | |
6546 | * cfglayout.c: Likewise. | |
6547 | * cfgrtl.c: Likewise. | |
6548 | * convert.c: Likewise. | |
6549 | * cpphash.h: Likewise. | |
6550 | * cpplex.c: Likewise. | |
6551 | * cpplib.h: Likewise. | |
6552 | * df.h: Likewise. | |
6553 | * diagnostic.c: Likewise. | |
6554 | * diagnostic.h: Likewise. | |
6555 | * dwarf2.h: Likewise. | |
6556 | ||
d5840e09 SS |
6557 | 2003-01-17 Stan Shebs <shebs@apple.com> |
6558 | ||
6559 | * config/darwin-protos.h: Forward-declare struct cpp_reader. | |
6560 | ||
e607534b DR |
6561 | 2003-01-17 Douglas B Rupp <rupp@gnat.com> |
6562 | ||
6563 | * config/alpha/alpha.c (alpha_need_linkage): Fix obvious | |
6564 | mistake in last checkin. | |
6565 | ||
fbe5a4a6 KH |
6566 | 2003-01-17 Kazu Hirata <kazu@cs.umass.edu> |
6567 | ||
6568 | * et-forest.c: Fix comment typos. | |
6569 | * et-forest.h: Likewise. | |
6570 | * except.c: Likewise. | |
6571 | * expr.c: Likewise. | |
6572 | * flags.h: Likewise. | |
6573 | * flow.c: Likewise. | |
6574 | * gcc.c: Likewise. | |
6575 | * gcse.c: Likewise. | |
6576 | * genattrtab.c: Likewise. | |
6577 | * genautomata.c: Likewise. | |
6578 | * gengtype.c: Likewise. | |
6579 | * genrecog.c: Likewise. | |
6580 | * global.c: Likewise. | |
6581 | * gthr-rtems.h: Likewise. | |
6582 | ||
095f9093 KG |
6583 | 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6584 | ||
6585 | * i386.c (x86_function_profiler): Fix format specifier. | |
6586 | ||
084087e1 RH |
6587 | 2003-01-17 Richard Henderson <rth@redhat.com> |
6588 | ||
6589 | * gengtype.c (walk_type): Allow paramN_is. | |
6590 | ||
4a13592e NC |
6591 | 2003-01-17 Nick Clifton <nickc@redhat.com> |
6592 | ||
6593 | * config/i960/t-960bare (i960-c.o): Add missing newline escape. | |
6594 | ||
01193617 RH |
6595 | 2003-01-16 Richard Henderson <rth@redhat.com> |
6596 | ||
6597 | * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing. | |
6598 | ||
f030826a RH |
6599 | 2003-01-16 Richard Henderson <rth@redhat.com> |
6600 | ||
6601 | * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY. | |
6602 | (alpha_next_sequence_number): Likewise. | |
6603 | (alpha_this_literal_sequence_number): Likewise. | |
6604 | (alpha_this_gpdisp_sequence_number): Likewise. | |
6605 | (struct alpha_funcs, alpha_funcs_num): Likewise. | |
6606 | (struct alpha_links): Fix branch merge error. | |
6607 | (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs. | |
6608 | ||
e1551d47 AO |
6609 | 2003-01-17 Alexandre Oliva <aoliva@redhat.com> |
6610 | ||
6611 | * config/mips/mips.h: Don't use #elif. Reported by Kaveh | |
6612 | R. Ghazi. | |
6613 | ||
3d042e77 KH |
6614 | 2003-01-16 Kazu Hirata <kazu@cs.umass.edu> |
6615 | ||
6616 | * ifcvt.c: Fix comment typos. | |
6617 | * lcm.c: Likewise. | |
6618 | * libgcc2.c: Likewise. | |
6619 | * local-alloc.c: Likewise. | |
6620 | * loop.c: Likewise. | |
6621 | * predict.c: Likewise. | |
6622 | * ra-build.c: Likewise. | |
6623 | * ra.c: Likewise. | |
6624 | * ra-colorize.c: Likewise. | |
6625 | * ra.h: Likewise. | |
6626 | * ra-rewrite.c: Likewise. | |
6627 | * regmove.c: Likewise. | |
6628 | * reload.h: Likewise. | |
6629 | * rtlanal.c: Likewise. | |
6630 | * toplev.c: Likewise. | |
6631 | * tree.h: Likewise. | |
6632 | * unwind-dw2-fde-glibc.c: Likewise. | |
6633 | * vmsdbgout.c: Likewise. | |
6634 | ||
c4274b22 RH |
6635 | 2003-01-16 Richard Henderson <rth@redhat.com> |
6636 | ||
6637 | * dwarf2out.c (struct file_table): Remove. | |
6638 | (FILE_TABLE_INCREMENT): Remove. | |
6639 | (file_table): Make a varray; mark for GC. Update all users. | |
6640 | (file_table_last_lookup_index): Extract from struct file_table. | |
6641 | (output_file_names): Fix unsigned compare warnings. | |
6642 | (add_name_attribute): Remove inline marker. | |
6643 | (add_comp_dir_attribute): Split out from gen_compile_unit_die. | |
6644 | (lookup_filename): Don't manage size of file_table. | |
6645 | (init_file_table): Allocate file_table with GC. | |
6646 | (dwarf2out_init): Don't record main_input_filename here. | |
6647 | (dwarf2out_finish): Do it here instead. | |
6648 | ||
19162d0e BK |
6649 | 2003-01-16 Bruce Korb <bkorb@gnu.org> |
6650 | ||
6651 | * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too. | |
6652 | ||
f1e2239f KK |
6653 | 2003-01-16 Kaz Kojima <kkojima@gcc.gnu.org> |
6654 | ||
da8a6064 ZW |
6655 | * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr |
6656 | instead of rotldi3_mextr. | |
f1e2239f | 6657 | |
cda1f765 VM |
6658 | 2003-01-16 Vladimir Makarov <vmakarov@redhat.com> |
6659 | ||
6660 | * haifa-sched.c (move_insn): Restore moving all schedule group. | |
6661 | (set_priorities): Restore taking SCHED_GROUP_P into account. | |
6662 | ||
6663 | * sched-deps.c (add_dependence): Restore processing the last group | |
6664 | insn. | |
6665 | (remove_dependence, group_leader): Restore the functions. | |
6666 | (set_sched_group_p): Restore adding dependencies from previous insn | |
6667 | in the group. | |
6668 | (compute_forward_dependences): Restore usage of group_leader. | |
6669 | ||
6670 | * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into | |
6671 | account. | |
6672 | ||
6673 | * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into | |
6674 | account. | |
6675 | (can_schedule_ready_p): Ditto. | |
6676 | (add_branch_dependences): Restore skipping over the group insns. | |
da8a6064 | 6677 | |
200097cc SC |
6678 | 2003-01-16 Stephane Carrez <stcarrez@nerim.fr> |
6679 | ||
6680 | * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling | |
6681 | 68HC12 pre/post inc/dec side effects. | |
6682 | ||
f411c739 SC |
6683 | 2003-01-16 Stephane Carrez <stcarrez@nerim.fr> |
6684 | ||
6685 | * config/m68hc11/m68hc11.h (MASK_M6812): Define. | |
6686 | ||
08c43ea7 R |
6687 | Thu Jan 16 21:50:25 2003 J"orn Rennecke <amylaar@onetel.net.uk> |
6688 | ||
6689 | * sh.md (mshflo_w_x): Fix description of operation. | |
6690 | ||
07488f32 ZW |
6691 | 2003-01-16 Zack Weinberg <zack@codesourcery.com> |
6692 | ||
6693 | * config/rs6000/rs6000.h: Mention Altivec registers in | |
6694 | commentary. Fix typo. | |
6695 | ||
27dc0551 DE |
6696 | 2003-01-16 David Edelsohn <edelsohn@gnu.org> |
6697 | ||
6698 | * config/rs6000/rs6000.md (movti_string): Remove clobber. | |
6699 | * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly | |
6700 | generate PARALLEL with clobber for TARGET_POWER. | |
6701 | ||
0334ef47 KG |
6702 | 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6703 | ||
6704 | * ra-colorize.c (colorize_one_web): Initialize variable. | |
6705 | * regmove.c (fixup_match_1): Likewise. | |
6706 | * reload1.c (reload_as_needed): Likewise. | |
6707 | * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast. | |
6708 | ||
16f2b86a ZD |
6709 | 2003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6710 | ||
6711 | * cfgloop.c (flow_loops_find): Fix handling of abnormal edges. | |
6712 | ||
fc555370 KG |
6713 | 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6714 | ||
93d8c755 KG |
6715 | * dbxout.c (lastfile, cwd): Fix `unused' warning. |
6716 | * dwarf2out.c (fde_table_in_use, current_funcdef_fde, | |
6717 | dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset, | |
6718 | is_main_source, file_table, decl_die_table_in_use, | |
6719 | abbrev_die_table_in_use, line_info_table_in_use, | |
6720 | separate_line_info_table_in_use, pubname_table_in_use, | |
6721 | arange_table_in_use, ranges_table_in_use, | |
6722 | current_function_has_inlines): Likewise. | |
6723 | * flow.c (life_analysis): Likewise. | |
6724 | * genemit.c (gen_insn): Likewise. | |
6725 | * protoize.c (cplus_suffix): Likewise. | |
6726 | ||
0c2ca901 KG |
6727 | * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP. |
6728 | * arm.h (ROUND_UP_WORD): Likewise. | |
6729 | ||
fc555370 KG |
6730 | * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned |
6731 | warning. | |
6732 | * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos, | |
6733 | init_emit_once): Likewise. | |
6734 | * flow.c (mark_regs_live_at_end, calculate_global_regs_live): | |
6735 | Likewise. | |
6736 | * function.c (assign_stack_temp_for_type): Likewise. | |
6737 | * loop.c (loop_invariant_p): Likewise. | |
6738 | * recog.c (push_operand): Likewise. | |
6739 | * regclass.c (init_reg_sets_1): Likewise. | |
6740 | * reload.c (update_auto_inc_notes): Likewise. | |
6741 | * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise. | |
6742 | * stmt.c (expand_asm_operands): Likewise. | |
6743 | * stor-layout.c (start_record_layout): Likewise. | |
6744 | ||
64510a4f HB |
6745 | 2003-01-16 Herman A.J. ten Brugge <hermantenbrugge@home.nl> |
6746 | ||
07488f32 | 6747 | * config/c4x/c4x.md (epilogue): Correct last patch. |
64510a4f | 6748 | |
77480b0b RH |
6749 | 2003-01-15 Richard Henderson <rth@redhat.com> |
6750 | ||
6751 | * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum; | |
6752 | also check that GP is being used. | |
6753 | (alpha_find_lo_sum_using_gp): New. | |
6754 | (alpha_does_function_need_gp): Use get_attr_usegp. | |
6755 | * config/alpha/alpha-protos.h: Update. | |
6756 | * config/alpha/alpha.md (attr usegp): New. Annotate patterns | |
6757 | as needed. | |
6758 | ||
a0134312 RS |
6759 | 2003-01-15 Roger Sayle <roger@eyesopen.com> |
6760 | ||
6761 | * gcse.c (one_cprop_pass): Change function arguments to take both | |
6762 | cprop_jumps and bypass_jumps flags instead of just alter_jumps. | |
6763 | (gcse_main): Update calls to one_cprop_pass, disabling bypassing. | |
6764 | (bypass_jumps): New function to perform separate jump bypassing pass. | |
6765 | * rtl.h (bypass_jumps): Add function prototype. | |
6766 | * timevar.def (TV_BYPASS): New timing variable. | |
6767 | * toplev.c (enum dump_file_index): Add new entry DFI_bypass. | |
6768 | (dump_file): New entry for the bypass RTL dump file. | |
6769 | (rest_of_compilation): Insert new jump bypassing optimization | |
6770 | pass after loop. | |
6771 | * doc/passes.texi: Document new pass. | |
6772 | ||
4af6a063 JDA |
6773 | 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6774 | ||
6775 | * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY, | |
6776 | ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define. | |
6777 | * pa.h (TARGET_SOM_SDEF): Define. | |
6778 | * pa-hpux11.h (TARGET_SOM_SDEF): Define. | |
6779 | ||
51e13b71 SC |
6780 | 2003-01-16 Stephane Carrez <stcarrez@nerim.fr> |
6781 | ||
07488f32 | 6782 | * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to |
51e13b71 SC |
6783 | allocate 4-bytes of locals on 68HC11. |
6784 | (expand_epilogue): Likewise. | |
6785 | (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers. | |
6786 | ||
f077f169 SC |
6787 | 2003-01-15 Stephane Carrez <stcarrez@nerim.fr> |
6788 | ||
6789 | * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort | |
6790 | and -mshort-double to the assembler to specify the ABI. | |
6791 | (LINK_SPEC): Likewise. | |
6792 | (CPP_SPEC): Pass HCS12 specific define. | |
6793 | (MASK_M68S12): New define. | |
6794 | (TARGET_M68S12): Likewise. | |
6795 | (TARGET_SWITCHES): New options -m68hcs12 and -m68S12. | |
6796 | (TARGET_VERSION): Update. | |
6797 | * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define. | |
6798 | (LINK_SPEC): Update. | |
6799 | (ASM_SPEC): Update. | |
6800 | * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update. | |
6801 | * doc/invoke.texi (M68hc1x Options): Document -m68hcs12. | |
6802 | ||
c0f684dc SC |
6803 | 2003-01-15 Stephane Carrez <stcarrez@nerim.fr> |
6804 | ||
6805 | * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit | |
6806 | the return code. | |
6807 | ||
6982ae15 JZ |
6808 | 2003-01-15 Josef Zlomek <zlomekj@suse.cz> |
6809 | ||
6810 | * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU | |
6811 | flag before setting it. | |
6812 | ||
8cadeff1 RS |
6813 | 2003-01-15 Roger Sayle <roger@eyesopen.com> |
6814 | ||
6815 | * c-semantics.c (genrtl_while_stmt): Improve initial RTL generation | |
6816 | when loop condition is known true, i.e. "while (1) { ... }". | |
6817 | (genrtl_for_stmt): Similarly for "for" statements. | |
6818 | ||
03cd8aba RS |
6819 | 2003-01-15 Roger Sayle <roger@eyesopen.com> |
6820 | ||
6821 | * real.c (real_sqrt): Return a bool result indicating whether | |
6822 | a floating point exception or trap should be raised. | |
6823 | * real.h (real_sqrt): Update function prototype. | |
6824 | * builtins.c (fold_builtin): Only fold non-trapping square | |
6825 | roots unless we're ignoring errno and trapping math. | |
6826 | ||
4da78214 JDA |
6827 | 2003-01-15 John David Anglin <dave.anglin@nrc.gc.ca> |
6828 | ||
6829 | * expr.h (emit_conditional_add): Add PARAMS to declaration. | |
6830 | * gengtype-lex.l (malloc, realloc): Move defines after include of | |
6831 | system.h. Remove duplicate include of system.h. | |
6832 | ||
9ee0a442 RS |
6833 | 2003-01-15 Roger Sayle <roger@eyesopen.com> |
6834 | ||
6835 | PR middle-end/9009 | |
6836 | * optabs.c (expand_unop): When manipulating the FP sign bit | |
6837 | using integer operations, account for targets with different | |
6838 | integer and FP word orders. | |
6839 | (expand_abs): Likewise. | |
6840 | ||
e3981aab DE |
6841 | 2003-01-15 David Edelsohn <edelsohn@gnu.org> |
6842 | ||
6843 | * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include | |
6844 | file extension in section name. | |
6845 | ||
89c4b810 RE |
6846 | 2003-01-15 Richard Earnshaw <rearnsha@arm.com> |
6847 | ||
6848 | * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with | |
6849 | constant offset. | |
6850 | ||
3cd45774 RE |
6851 | 2003-01-15 Richard Earnshaw <rearnsha@arm.com> |
6852 | ||
6853 | * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define. | |
6854 | (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define. | |
6855 | (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses. | |
6856 | (ARM_PRINT_OPERAND_ADDRESS): Likewise. | |
6857 | ||
b1a6f8db JH |
6858 | Wed Jan 15 12:23:21 CET 2003 Jan Hubicka <jh@suse.cz> |
6859 | ||
6860 | PR f/9258 | |
07488f32 | 6861 | * global.c (struct allocno): Add no_stack_reg. |
b1a6f8db JH |
6862 | (global_conflicts): Set no_stack_reg. |
6863 | (find_reg): Use it. | |
6864 | ||
6865 | * convert.c (convert_to_real): Fold - and abs only when profitable. | |
6866 | * fold-const.c (fold): Fold truncates in - and abs. | |
6867 | ||
d18c7e59 JZ |
6868 | 2003-01-15 Josef Zlomek <zlomekj@suse.cz> |
6869 | ||
6870 | Segher Boessenkool <segher@koffie.nl> | |
fbe3b30b SB |
6871 | |
6872 | * predict.c (real_inv_br_prob_base): New variable. | |
6873 | (propagate_freq): Use multiply by reciprocal instead of | |
6874 | division. Don't divide by 1.0 at all. | |
6875 | (estimate_bb_frequencies): Similar. | |
6876 | ||
027faee7 AO |
6877 | 2003-01-15 Alexandre Oliva <aoliva@redhat.com> |
6878 | ||
6879 | * configure.in (libgcc_visibility): Force disabled on IRIX 6 too. | |
6880 | * configure: Rebuilt. | |
6881 | ||
077dab3b | 6882 | 2003-01-15 Hartmut Penner <hpenner@de.ibm.com> |
3c0121e4 | 6883 | |
077dab3b HP |
6884 | * config/s390/s390.c (s390_safe_attr_type): New function. |
6885 | (s390_use_dfa_pipeline_interface): New function, return true for z900. | |
6886 | (s390_issue_rate): New function. | |
6887 | (s390_agen_dep_p): New function. | |
6888 | (addr_generation_dependency_p): Use 's390_safe_attr_type'. | |
6889 | (s390_adjust_cost): Return 'cost' if new DFA is used. | |
6890 | (s390_adjust_priority): Delete function. | |
6891 | * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype. | |
6892 | * config/s390/s390.md (atype attribute): Attribute 'atype' default | |
6893 | determined by 'op_type'. | |
6894 | (type attribute): Added more type attributes. | |
6895 | * config/s390/2064.md: New DFA description for z900 pipeline. | |
07488f32 | 6896 | |
077dab3b | 6897 | 2003-01-15 Alexandre Oliva <aoliva@redhat.com> |
2b28d405 | 6898 | |
acfa9d9f AO |
6899 | * config/i386/i386.c (ix86_expand_vector_move): Validize constant |
6900 | forced to memory. Fixes PR bootstrap/9036. | |
6901 | ||
3c0121e4 AO |
6902 | * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as |
6903 | to set $gp before the call. | |
6904 | ||
553eb139 RH |
6905 | 2003-01-14 Richard Henderson <rth@redhat.com> |
6906 | ||
6907 | * config/alpha/alpha.c (alpha_expand_mov): Use correct mode | |
6908 | for force_const_mem. | |
6909 | ||
dd1b7476 KG |
6910 | 2003-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6911 | ||
6912 | * genattr.c (main): Rearrange output to avoid prototype warning. | |
6913 | * genautomata.c (transform_3): Fix ambiguous-else warning. | |
6914 | * local-alloc.c (requires_inout): Add parentheses around | |
6915 | assignment used as truth-value. | |
6916 | * timevar.c: Move system includes above local includes. Include | |
6917 | toplev.h | |
6918 | * Makefile.in (timevar.o): Depend on toplev.h. | |
6919 | ||
6028880a DC |
6920 | 2003-01-14 Denis Chertykov <denisc@overta.ru> |
6921 | ||
6922 | * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove. | |
6923 | (VALID_MACHINE_TYPE_ATTRIBUTE): Remove. | |
6924 | ||
6925 | * config/ip2k/ip2k.c (ip2k_attribute_table): New table of | |
07488f32 | 6926 | attributes. |
6028880a DC |
6927 | (TARGET_ATTRIBUTE_TABLE): New macro. |
6928 | (valid_machine_type_attribute): Remove. | |
6929 | (valid_machine_decl_attribute): Remove. | |
6930 | (ip2k_handle_progmem_attribute): New function. | |
6931 | (ip2k_handle_fndecl_attribute): New function. | |
6932 | ||
4a2953e4 | 6933 | 2003-01-10 Andrew Haley <aph@redhat.com> |
a686ea5b AH |
6934 | |
6935 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename | |
6936 | registers to be in correct order. Add rip. | |
6937 | ||
4d77fda2 KH |
6938 | 2003-01-14 Kazu Hirata <kazu@cs.umass.edu> |
6939 | ||
6940 | * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New. | |
6941 | (*iorsi3_and_lshiftrt_9_sb): Likewise. | |
6942 | ||
77f9af81 JH |
6943 | Tue Jan 14 00:45:33 CET 2003 Jan Hubicka <jh@suse.cz> |
6944 | ||
6945 | * convert.c (strip_float_extensions): Look for narrowest type handling | |
6946 | FP constants. | |
6947 | ||
6948 | * fold-const.c (fold): Fold (double)float1 CMP (double)float2 into | |
6949 | float1 CMP float2. | |
6950 | * convert.c (strip_float_extensions): Make global. | |
6951 | * tree.h (strip_float_extensions): Declare. | |
6952 | ||
fd371a93 GDR |
6953 | 2003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net> |
6954 | ||
6955 | * timevar.def: define TV_NAME_LOOKUP. | |
6956 | * timevar.c (timevar_pop): Be verbose when aborting. | |
6957 | ||
dcd1c2b8 AS |
6958 | 2003-01-13 Andreas Schwab <schwab@suse.de> |
6959 | ||
6960 | * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to | |
6961 | $(parsedir), just move the temporary file at the end. | |
6962 | ($(parsedir)/gengtype-yacc.c): Likewise. | |
6963 | ||
eb4b5f93 AO |
6964 | 2003-01-13 Alexandre Oliva <aoliva@redhat.com> |
6965 | ||
6966 | * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend | |
6967 | ${ac_tool_prefix} to ADAC or CC. Protect them from word | |
6968 | splitting. | |
6969 | * configure: Rebuilt. | |
6970 | ||
f7835768 KG |
6971 | 2003-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6972 | ||
6973 | * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup, | |
6974 | internal_mcount): Don't use PARAMS. | |
6975 | (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to | |
6976 | ISO C style. | |
6977 | (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED. | |
6978 | ||
38a3dbbb AS |
6979 | 2003-01-13 Andreas Schwab <schwab@suse.de> |
6980 | ||
6981 | * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type | |
6982 | directive. | |
6983 | ||
98dc53e3 KH |
6984 | 2003-01-13 Kazu Hirata <kazu@cs.umass.edu> |
6985 | ||
6986 | * config/h8300/h8300.md (*andsi3_lshift_n_sb): New. | |
6987 | (*iorsi3_and_lshiftrt_n_sb): Likewise. | |
6988 | ||
e8f2b18d MM |
6989 | 2003-01-12 Mark Mitchell <mark@codesourcery.com> |
6990 | ||
6991 | PR c++/9264 | |
6992 | * c-lex.c (c_lex): Set the token value to error_mark_node for | |
6993 | invalid numeric constants. | |
6994 | ||
70f8b89f KG |
6995 | 2003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6996 | ||
6997 | * c-pch.c (asm_file_startpos): Change to `long'. | |
6998 | (pch_init): Use ftell, not ftello. | |
6999 | (c_common_write_pch): Use ftell/fseek, not ftello/fseeko. | |
7000 | Use `long' instead of `off_t'. | |
7001 | (c_common_read_pch): Likewise. | |
7002 | * ggc-common.c (gt_pch_save): Use long/ftell instead of | |
7003 | off_t/ftello. | |
7004 | ||
8e37cba8 AM |
7005 | 2003-01-12 Alan Modra <amodra@bigpond.net.au> |
7006 | ||
7007 | * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args. | |
7008 | ||
04f08c8e RE |
7009 | 2003-01-11 Richard Earnshaw (rearnsha@arm.com) |
7010 | ||
7011 | * arm-protos.h (struct cpp_reader): Add declaration. | |
7012 | ||
a5cf80f0 JH |
7013 | Sat Jan 11 11:02:58 CET 2003 Jan Hubicka <jh@suse.cz> |
7014 | ||
7015 | PR target/9068 | |
7016 | * i386.c (output_fp_compare): Fix typo. | |
7017 | ||
bbfb86aa DE |
7018 | 2003-01-10 David Edelsohn <edelsohn@gnu.org> |
7019 | ||
7020 | * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH. | |
7021 | ||
223b87b6 GK |
7022 | 2003-01-10 Geoffrey Keating <geoffk@apple.com> |
7023 | ||
3859c32a GK |
7024 | * Makefile.in (parsedir): New variable. |
7025 | (docobjdir): New variable. | |
07488f32 | 7026 | (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o, |
3859c32a GK |
7027 | gengtype-lex.c, gengtype-yacc.c): Use parsedir. |
7028 | (info, cpp.info, gcc.info, gccint.info, gccinstall.info, | |
7029 | cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7, | |
07488f32 | 7030 | gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man): |
3859c32a GK |
7031 | Use docobjdir. |
7032 | * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y, | |
7033 | objc.maintainer-clean): Use parsedir. | |
7034 | ||
63af3bd1 GK |
7035 | * varasm.c (struct constant_descriptor_rtx): Remove unused |
7036 | `label' field. | |
7037 | ||
223b87b6 GK |
7038 | * toplev.c (documented_lang_options): Document -Winvalid-pch. |
7039 | ||
fbadafbc RH |
7040 | 2003-01-10 Richard Henderson <rth@redhat.com> |
7041 | ||
7042 | * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set. | |
7043 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill. | |
7044 | ||
ab5ecb01 RH |
7045 | 2003-01-10 Richard Henderson <rth@redhat.com> |
7046 | ||
7047 | * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P, | |
7048 | not INTEGRAL_MODE_P when widening extensions. | |
7049 | ||
7f24e7c5 RH |
7050 | 2003-01-10 Richard Henderson <rth@redhat.com> |
7051 | ||
7052 | * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC. | |
7053 | ||
6dd05d08 GK |
7054 | 2003-01-10 Geoffrey Keating <geoffk@apple.com> |
7055 | ||
19cc0dd4 GK |
7056 | * ggc-page.c (ggc_collect): Avoid overflow computing |
7057 | min_expand. | |
7058 | ||
6dd05d08 GK |
7059 | * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native. |
7060 | (RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes. | |
7061 | Remove calls. | |
7062 | * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET. | |
7063 | ||
5f1355ef JH |
7064 | Fri Jan 10 22:05:35 CET 2003 Jan Hubicka <jh@suse.cz> |
7065 | ||
7066 | * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add | |
7067 | with weird operands. | |
7068 | ||
0cdca92b | 7069 | 2003-01-10 Dale Johannesen <dalej@apple.com> |
6dd05d08 GK |
7070 | |
7071 | * calls.c (load_register_parameters): Add is_sibcall, sibcall_failure | |
7072 | parameters. Call check_sibcall_argument_overlap if indicated. | |
7073 | (check_sibcall_argument_overlap): Add mark_stored_args_map | |
7074 | parameter. Don't mark parameter area as clobbered if not set. | |
7075 | (expand_call): Adjust calls to above. | |
7076 | ||
7077 | 2003-01-10 Kelley Cook <kelleycook@comcast.net> | |
6cd656d0 KC |
7078 | |
7079 | * configure.in (linker read-only and read-write section mixing): | |
7080 | Squelch some assembler warnings. | |
7081 | * configure: Likewise. | |
7082 | ||
be2c2a4b HP |
7083 | 2003-01-10 Hartmut Penner <hpenner@de.ibm.com> |
7084 | ||
21ff35fb | 7085 | * doc/invoke.texi: Document -mtune, delete -mcpu |
be2c2a4b HP |
7086 | option for S/390 and zSeries. |
7087 | * config/s390/s390.c (s390_tune_string) New variable. | |
7088 | (s390_cpu_string) Delete variable. | |
7089 | (override_options): Use s390_tune_string instead of | |
7090 | s390_cpu_string. | |
7091 | * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'. | |
7092 | ||
1f450138 KH |
7093 | 2003-01-10 Kazu Hirata <kazu@cs.umass.edu> |
7094 | ||
7095 | * config/h8300/h8300.md (*iorsi3_ashift_31): New. | |
7096 | ||
d330ce15 JZ |
7097 | 2003-01-10 Josef Zlomek <zlomekj@suse.cz> |
7098 | ||
7099 | * jump.c (next_nonnote_insn_in_loop): New function. | |
7100 | (copy_loop_headers): Use next_nonnote_insn_in_loop instead of | |
7101 | next_nonnote_insn. | |
7102 | (duplicate_loop_exit_test). Likewise. | |
7103 | ||
17211ab5 GK |
7104 | 2003-01-09 Geoffrey Keating <geoffk@apple.com> |
7105 | ||
7106 | Merge from pch-branch: | |
7107 | ||
7108 | 2003-01-06 Geoffrey Keating <geoffk@apple.com> | |
7109 | ||
7110 | * ggc-page.c (ggc_pch_read): Update the statistics after a PCH | |
7111 | load. | |
7112 | ||
7113 | 2002-12-24 Geoffrey Keating <geoffk@apple.com> | |
7114 | ||
7115 | * cpplib.c (count_registered_pragmas): New function. | |
7116 | (save_registered_pragmas): New function. | |
7117 | (_cpp_save_pragma_names): New function. | |
7118 | (restore_registered_pragmas): New function. | |
7119 | (_cpp_restore_pragma_names): New function. | |
7120 | * cpphash.h (_cpp_save_pragma_names): Prototype. | |
7121 | (_cpp_restore_pragma_names): Likewise. | |
7122 | * cpppch.c (struct save_macro_item): Split from save_macro_data. | |
7123 | (struct save_macro_data): New field 'saved_pragmas'. | |
7124 | (save_macros): Update for changes to struct save_macro_data. | |
7125 | (cpp_prepare_state): Call _cpp_save_pragma_names, update | |
7126 | for changes to struct save_macro_data. | |
7127 | (cpp_read_state): Call _cpp_restore_pragma_names, update | |
7128 | for changes to struct save_macro_data. | |
7129 | ||
7130 | * cpppch.c (cpp_read_state): Restore the hashtable references | |
7131 | in the cpp_reader. | |
07488f32 | 7132 | |
17211ab5 GK |
7133 | * tree.h (built_in_decls): Mark for PCH. |
7134 | ||
7135 | * dbxout.c (lastfile): Don't mark for PCH. | |
7136 | ||
7137 | * ggc.h: Document PCH calls into memory managers. | |
7138 | ||
7139 | 2002-12-18 Geoffrey Keating <geoffk@apple.com> | |
7140 | ||
7141 | * doc/invoke.texi (Precompiled Headers): Document the | |
7142 | directory form of PCH. | |
7143 | * cppfiles.c (validate_pch): New function. | |
7144 | (open_file_pch): Search suitably-named directories for PCH files. | |
7145 | ||
7146 | 2002-12-14 Geoffrey Keating <geoffk@apple.com> | |
7147 | ||
7148 | * doc/gty.texi (GTY Options): Document chain_next, chain_prev, | |
7149 | reorder options. | |
7150 | (Type Information): Mention that the information is also | |
7151 | used to implement PCH. | |
7152 | * doc/passes.texi (Passes): Improve documentation of | |
7153 | language-specific files. | |
7154 | ||
7155 | 2002-12-11 Geoffrey Keating <geoffk@apple.com> | |
7156 | ||
7157 | * gengtype.c (struct write_types_data): Add reorder_note_routine field. | |
7158 | (struct walk_type_data): Add reorder_fn field. | |
7159 | (walk_type): Process 'reorder' option. | |
7160 | (write_types_process_field): Reorder parameters to gt_pch_note_object, | |
7161 | call reorder_note_routine. | |
7162 | (write_func_for_structure): Reorder parameters to gt_pch_note_object. | |
7163 | (ggc_wtd): Update for change to struct write_types_data. | |
7164 | (pch_wtd): Likewise. | |
7165 | * ggc.h (gt_pch_note_object): Reorder parameters. | |
7166 | (gt_handle_reorder): New definition. | |
7167 | (gt_pch_note_reorder): New prototype. | |
7168 | * ggc-common.c (struct ptr_data): Add reorder_fn. | |
7169 | (gt_pch_note_object): Reorder parameters. | |
7170 | (gt_pch_note_reorder): New. | |
7171 | (gt_pch_save): Call reorder_fn. | |
7172 | * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object. | |
7173 | ||
7174 | * dbxout.c (cwd): Don't mark for PCH. | |
7175 | ||
7176 | 2002-12-09 Geoffrey Keating <geoffk@apple.com> | |
7177 | ||
7178 | * gengtype.c (finish_root_table): Fix some warnings. | |
7179 | (write_root): Handle TYPE_STRING. | |
7180 | * ggc.h (gt_ggc_m_S): Add prototype. | |
7181 | * stringpool.c (gt_ggc_m_S): New function. | |
7182 | ||
7183 | 2002-11-30 Geoffrey Keating <geoffk@apple.com> | |
7184 | ||
7185 | * dwarf2out.c (dw2_string_counter): New. | |
7186 | (AT_string_form): Use it. | |
7187 | (same_dw_val_p): Update for removal of hashtable.h hash tables. | |
7188 | ||
7189 | 2002-11-22 Geoffrey Keating <geoffk@apple.com> | |
7190 | ||
7191 | * dbxout.c: Include gt-dbxout.h. | |
7192 | (lastfile): Mark for PCH/GGC. | |
7193 | (cwd): Likewise. | |
7194 | (struct typeinfo): Likewise. | |
7195 | (typevec): Likewise. | |
7196 | (typevec_len): Likewise. | |
7197 | (next_type_number): Likewise. | |
7198 | (struct dbx_file): Likewise. | |
7199 | (current_file): Likewise. | |
7200 | (next_file_number): Likewise. | |
7201 | (dbxout_init): Allocate typevec, struct dbx_file with GGC. | |
7202 | (dbxout_start_source_file): Allocate struct dbx_file with GGC. | |
7203 | (dbxout_end_source_file): Don't free struct dbx_file. | |
7204 | (dbxout_type): Use GGC to allocate typevec. | |
7205 | * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H). | |
7206 | (GTFILES): Add dbxout.c. | |
7207 | (gt-dbxout.h): New rule. | |
07488f32 | 7208 | |
17211ab5 GK |
7209 | * Makefile.in (c-pch.o): Add debug.h as dependency. |
7210 | * c-pch.c: Include debug.h. | |
7211 | (pch_init): Call start_source_file to keep nesting right. | |
7212 | (c_common_read_pch): Add orig_name parameter. Call | |
7213 | start_source_file debug hook. Call end_source_file debug hook. | |
7214 | * c-common.h (c_common_read_pch): Update prototype. | |
7215 | * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch | |
7216 | callback. | |
7217 | * cppfiles.c (struct include_file): Add new field `header_name'. | |
7218 | (find_or_create_entry): Default it to `name'. | |
7219 | (open_file_pch): Set it to the original header file searched for. | |
7220 | (stack_include_file): Don't stack an empty buffer, just handle | |
7221 | PCH files immediately. Pass header_name field to read_pch callback. | |
7222 | ||
7223 | 2002-11-19 Geoffrey Keating <geoffk@apple.com> | |
7224 | ||
7225 | * function.c (funcdef_no): Mark to be saved in a PCH. | |
7226 | ||
7227 | 2002-11-15 Geoffrey Keating <geoffk@apple.com> | |
7228 | ||
7229 | * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'. | |
7230 | ||
7231 | * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'. | |
7232 | ||
7233 | 2002-11-14 Geoffrey Keating <geoffk@apple.com> | |
7234 | ||
7235 | * optabs.h (code_to_optab): Add GTY marker. | |
7236 | ||
7237 | 2002-11-13 Geoffrey Keating <geoffk@apple.com> | |
7238 | ||
7239 | * Makefile.in (GTFILES): Add cpplib.h. | |
7240 | * c-common.h (struct c_common_identifier): Don't skip 'node' field. | |
7241 | * c-decl.c (build_compound_literal): Don't use var_labelno. | |
7242 | * cpplib.h (struct cpp_hashnode): Use gengtype to mark. | |
7243 | * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno. | |
7244 | * varasm.c (const_labelno): Use gengtype to mark. | |
7245 | (var_labelno): Likewise. | |
7246 | (in_section): Likewise. | |
7247 | (in_named_name): Likewise. | |
7248 | (struct in_named_entry): Likewise. | |
7249 | (in_named_htab): Likewise. | |
7250 | (set_named_section_flags): Use GGC to allocate struct in_named_entry. | |
7251 | (init_varasm_once): Use GGC to allocate in_named_htab. | |
7252 | * config/darwin.c (current_pic_label_num): Mark for PCH. | |
7253 | ||
7254 | 2002-11-11 Geoffrey Keating <geoffk@apple.com> | |
7255 | ||
7256 | * ggc-simple.c (init_ggc_pch): New stub procedure. | |
7257 | (ggc_pch_count_object): Likewise. | |
7258 | (ggc_pch_total_size): Likewise. | |
7259 | (ggc_pch_this_base): Likewise. | |
7260 | (ggc_pch_alloc_object): Likewise. | |
7261 | (ggc_pch_prepare_write): Likewise. | |
7262 | (ggc_pch_write_object): Likewise | |
7263 | (ggc_pch_finish): Likewise. | |
7264 | (ggc_pch_read): Likewise. | |
7265 | ||
7266 | 2002-11-08 Geoffrey Keating <geoffk@apple.com> | |
7267 | ||
7268 | * c-pch.c (c_common_write_pch): Write the macro definitions after | |
7269 | the GCed data. | |
7270 | (c_common_read_pch): Call cpp_prepare_state. Restore the macro | |
7271 | definitions after the GCed data. | |
7272 | * cpplib.c (save_macros): New. | |
7273 | (reset_ht): New. | |
7274 | (cpp_write_pch_deps): Split out of cpp_write_pch. | |
7275 | (cpp_write_pch_state): Split out of cpp_write_pch. | |
7276 | (cpp_write_pch): Delete. | |
7277 | (struct save_macro_data): Delete. | |
7278 | (cpp_prepare_state): New. | |
7279 | (cpp_read_state): Erase and restore initial macro definitions. | |
7280 | * cpplib.h (struct save_macro_data): Forward-declare. | |
7281 | (cpp_write_pch_deps): Prototype. | |
7282 | (cpp_write_pch_state): Prototype. | |
7283 | (cpp_write_pch): Delete prototype. | |
7284 | (cpp_prepare_state): Prototype. | |
7285 | (cpp_read_state): Add fourth argument. | |
7286 | ||
7287 | 2002-11-04 Geoffrey Keating <geoffk@apple.com> | |
7288 | ||
7289 | * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields. | |
7290 | (write_array): Remove warning. | |
7291 | ||
7292 | * gengtype.c (contains_scalar_p): New. | |
7293 | (finish_root_table): Add the table to all languages, even if it's | |
7294 | empty. | |
7295 | (write_roots): Output gt_pch_scalar_rtab. | |
7296 | * ggc-common.c (gt_pch_save): Write out scalars. | |
7297 | (gt_pch_restore): Read scalars back. | |
7298 | ||
7299 | * ggc-page.c (OBJECTS_IN_PAGE): New macro. | |
7300 | (struct page_entry): Delete pch_page field. | |
7301 | (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE. | |
7302 | (clear_marks): Likewise. | |
7303 | (sweep_pages): Likewise. | |
7304 | (poison_pages): Likewise. | |
7305 | (ggc_print_statistics): Likewise. | |
7306 | (ggc_pch_read): Don't free objects read from a PCH. | |
7307 | Properly set up in_use_p and page_tails. | |
7308 | ||
7309 | 2002-10-25 Geoffrey Keating <geoffk@apple.com> | |
7310 | ||
7311 | * gengtype.c (struct write_types_data): New. | |
7312 | (struct walk_type_data): Make `cookie' const; add extra | |
7313 | prev_val item; add `orig_s' field. | |
7314 | (walk_type): Update prev_val[3]. | |
7315 | (write_types_process_field): New. | |
7316 | (write_func_for_structure): Take write_types_data structure. | |
7317 | (write_types): New. | |
7318 | (ggc_wtd): New. | |
7319 | (pch_wtd): New. | |
7320 | (write_types_local_process_field): New. | |
7321 | (gc_mark_process_field): Delete. | |
7322 | (write_local_func_for_structure): New. | |
7323 | (gc_mark_func_name): Delete. | |
7324 | (write_gc_types): Delete. | |
7325 | (write_local): New. | |
7326 | (finish_root_table): Don't include 'ggc_' in PFX. | |
7327 | (write_root): Rename from write_root. Fill pchw field of structures. | |
7328 | (write_array): New. | |
7329 | (write_roots): Rename from write_gc_roots. Split out to write_array. | |
7330 | Update to changes to other routines. Write gt_pch_cache_rtab table. | |
7331 | (main): Write PCH walking routines. | |
7332 | * ggc-common.c: Include toplev.h, sys/mman.h. | |
7333 | (ggc_mark_roots): For cache hashtables, also mark the hash table | |
7334 | and the array of entries. | |
7335 | (saving_htab): New. | |
7336 | (struct ptr_data): New. | |
7337 | (POINTER_HASH): New. | |
7338 | (gt_pch_note_object): New. | |
7339 | (saving_htab_hash): New. | |
7340 | (saving_htab_eq): New. | |
7341 | (struct traversal_state): New. | |
7342 | (call_count): New. | |
7343 | (call_alloc): New. | |
7344 | (compare_ptr_data): New. | |
7345 | (relocate_ptrs): New. | |
7346 | (write_pch_globals): New. | |
7347 | (struct mmap_info): New. | |
7348 | (gt_pch_save): New. | |
7349 | (gt_pch_restore): New. | |
7350 | * ggc-page.c (ROUND_UP_VALUE): New. | |
7351 | (ROUND_UP): New. | |
7352 | (struct page_entry): Add field `pch_page'. | |
7353 | (init_ggc): Use ROUND_UP. | |
7354 | (struct ggc_pch_data): Declare. | |
7355 | (init_ggc_pch): New. | |
7356 | (ggc_pch_count_object): New. | |
7357 | (ggc_pch_total_size): New. | |
7358 | (ggc_pch_this_base): New. | |
7359 | (ggc_pch_alloc_object): New. | |
7360 | (ggc_pch_prepare_write): New. | |
7361 | (ggc_pch_write_object): New. | |
7362 | (ggc_pch_finish): New. | |
7363 | (ggc_pch_read): New. | |
7364 | * ggc.h (gt_pointer_operator): New. | |
7365 | (gt_note_pointers): New. | |
7366 | (gt_pch_note_object): New prototype. | |
7367 | (gt_pointer_walker): New. | |
7368 | (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field. | |
7369 | (LAST_GGC_ROOT_TAB): Update. | |
7370 | (gt_pch_cache_rtab): Declare. | |
7371 | (gt_pch_scalar_rtab): Declare. | |
7372 | (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field. | |
7373 | (LAST_GGC_CACHE_TAB): Update. | |
7374 | (gt_pch_save_stringpool): Declare. | |
7375 | (gt_pch_restore_stringpool): Declare. | |
7376 | (gt_pch_p_S): Declare. | |
7377 | (gt_pch_n_S): Declare. | |
7378 | (struct ggc_pch_data): Forward-declare. | |
7379 | (init_ggc_pch): Declare. | |
7380 | (ggc_pch_count_object): Declare. | |
7381 | (ggc_pch_total_size): Declare. | |
7382 | (ggc_pch_this_base): Declare. | |
7383 | (ggc_pch_alloc_object): Declare. | |
7384 | (ggc_pch_prepare_write): Declare. | |
7385 | (ggc_pch_write_object): Declare. | |
7386 | (ggc_pch_finish): Declare. | |
7387 | (ggc_pch_read): Declare. | |
7388 | (gt_pch_save): Declare. | |
7389 | (gt_pch_restore): Declare. | |
7390 | * fold-const.c (size_int_type_wide): Allocate size_htab using GGC. | |
7391 | * emit-rtl.c (init_emit_once): Allocate const_int_htab, | |
7392 | const_double_htab, mem_attrs_htab using GGC. | |
7393 | * c-pch.c: Include ggc.h. | |
7394 | (pch_init): Allow reading PCH file back. | |
7395 | (c_common_write_pch): Call gt_pch_save. | |
7396 | (c_common_read_pch): Call gt_pch_restore. | |
7397 | * c-parse.in (init_reswords): Delete now-untrue comment. | |
7398 | Allocate ridpointers using GGC. | |
7399 | * c-objc-common.c (c_objc_common_finish_file): Write PCH before | |
7400 | calling expand_deferred_fns. | |
7401 | * c-common.h (ridpointers): Mark for GTY machinery. | |
7402 | * Makefile.in (stringpool.o): Update dependencies. | |
7403 | (c-pch.o): Update dependencies. | |
7404 | (ggc-common.o): Update dependencies. | |
7405 | * stringpool.c: Include gt-stringpool.h. | |
7406 | (gt_pch_p_S): New. | |
7407 | (gt_pch_n_S): New. | |
7408 | (struct string_pool_data): New. | |
7409 | (spd): New. | |
7410 | (gt_pch_save_stringpool): New. | |
7411 | (gt_pch_restore_stringpool): New. | |
7412 | * tree.c (init_ttree): Make type_hash_table allocated using GC. | |
07488f32 | 7413 | |
17211ab5 GK |
7414 | 2002-10-04 Geoffrey Keating <geoffk@apple.com> |
7415 | ||
7416 | * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf. | |
7417 | (output_mangled_typename): Don't pass size_t to printf. | |
7418 | ||
7419 | * tree.h (union tree_type_symtab): Add tag to `address' field. | |
7420 | (union tree_decl_u2): Add tag to 'i' field. | |
7421 | * varasm.c (union rtx_const_un): Add tags to all fields. | |
7422 | * gengtype.c (struct walk_type_data): New. | |
7423 | (output_escaped_param): Take struct walk_type_data parameter. | |
7424 | (write_gc_structure_fields): Delete. | |
7425 | (walk_type): New. | |
7426 | (write_gc_marker_routine_for_structure): Delete. | |
7427 | (write_func_for_structure): New. | |
7428 | (gc_mark_process_field): New. | |
7429 | (gc_mark_func_name): New. | |
7430 | (gc_counter): Delete. | |
7431 | (write_gc_types): Use write_func_for_structure. | |
7432 | (write_gc_roots): Use walk_type. | |
7433 | ||
7434 | 2002-10-02 Geoffrey Keating <geoffk@apple.com> | |
7435 | ||
7436 | * ggc-common.c (ggc_mark_roots): Delete 'x'. | |
7437 | (ggc_splay_dont_free): Fix warning about unused 'x'. | |
7438 | (ggc_print_common_statistics): Remove warnings. | |
7439 | ||
7440 | 2002-10-01 Mike Stump <mrs@apple.com> | |
7441 | ||
07488f32 ZW |
7442 | * ggc-common.c (ggc_splay_alloc): Actually return the allocated area. |
7443 | * gengtype.c (write_gc_structure_fields): Handle param[digit]_is. | |
17211ab5 GK |
7444 | |
7445 | 2002-09-01 Geoffrey Keating <geoffk@redhat.com> | |
7446 | Catherine Moore <clm@redhat.com> | |
7447 | ||
7448 | * Makefile (c-pch.o): Update dependencies. | |
7449 | (LIBCPP_OBJS): Add cpppch.o. | |
7450 | (cpppch.o): New. | |
7451 | * c-common.c (c_common_init): Don't call pch_init here. | |
7452 | * c-common.h (c_common_read_pch): Update prototype. | |
7453 | * c-lex.c (c_common_parse_file): Call pch_init here. | |
7454 | * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps. | |
7455 | (c_common_decode_option): Handle them. | |
7456 | * c-pch.c: Include c-pragma.h. | |
7457 | (save_asm_offset): Delete. | |
7458 | (pch_init): Move contents of save_asm_offset into here, call | |
7459 | cpp_save_state. | |
7460 | (c_common_write_pch): Call cpp_write_pch. | |
7461 | (c_common_valid_pch): Warn only when -Winvalid-pch. Call | |
7462 | cpp_valid_state. | |
7463 | (c_common_read_pch): Add NAME parameter. Call cpp_read_state. | |
07488f32 | 7464 | * cppfiles.c (stack_include_file): Update for change to |
17211ab5 GK |
7465 | parameters of cb.read_pch. |
7466 | * cpphash.h (struct cpp_reader): Add `savedstate' field. | |
7467 | * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and | |
7468 | `restore_pch_deps' fields. | |
7469 | (struct cpp_callbacks): Add NAME parameter to `read_pch'. | |
7470 | (cpp_save_state): Prototype. | |
7471 | (cpp_write_pch): Prototype. | |
7472 | (cpp_valid_state): Prototype. | |
7473 | (cpp_read_state): Prototype. | |
7474 | * cpppch.c: New file. | |
7475 | * flags.h (version_flag): Remove prototype. | |
7476 | * mkdeps.c (deps_save): New. | |
7477 | (deps_restore): New. | |
7478 | * mkdeps.h (deps_save): Prototype. | |
7479 | (deps_restore): Prototype. | |
7480 | * toplev.c (late_init_hook): Delete. | |
7481 | (version_flag): Make static again. | |
7482 | (compile_file): Don't call late_init_hook. | |
7483 | * toplev.h (late_init_hook): Delete. | |
7484 | * doc/cppopts.texi: Document -fpch-deps. | |
7485 | * doc/invoke.texi (Warning Options): Document -Winvalid-pch. | |
7486 | ||
7487 | 2002-08-27 Geoffrey Keating <geoffk@redhat.com> | |
7488 | ||
7489 | * c-pch.c (c_common_write_pch): Rename from c_write_pch, change | |
7490 | callers. | |
7491 | (c_common_valid_pch): Rename from c_valid_pch, change callers. | |
7492 | (c_common_read_pch): Rename from c_read_pch, change callers. | |
7493 | ||
7494 | * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have | |
7495 | a space between it and its argument. | |
7496 | ||
7497 | 2002-08-24 Geoffrey Keating <geoffk@redhat.com> | |
7498 | ||
7499 | * c-pch.c: New file. | |
7500 | * toplev.h (late_init_hook): Declare. | |
7501 | * toplev.c (late_init_hook): Define. | |
7502 | (version_flag): Make globally visible. | |
7503 | (compile_file): Call late_init_hook. | |
7504 | (init_asm_output): Make output file seekable. | |
7505 | * gcc.c (default_compilers): Update c-header rule. | |
7506 | * flags.h (version_flag): Declare. | |
7507 | * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch' | |
7508 | fields. | |
7509 | * cppfiles.c (struct include_file): Add 'pch' field. | |
7510 | (INCLUDE_PCH_P): New. | |
7511 | (open_file_pch): New. | |
7512 | (stack_include_file): Handle PCH files specially. | |
7513 | (find_include_file): Call open_file_pch instead of open_file. | |
7514 | (_cpp_read_file): Explain why open_file is used instead of | |
7515 | open_file_pch. | |
7516 | * c-opts.c (c_common_decode_option): Correct OPT__output_pch case. | |
7517 | * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch. | |
7518 | * c-lex.c (init_c_lex): Set valid_pch and read_pch fields | |
7519 | in cpplib callbacks. | |
7520 | * c-common.c (pch_file): Correct comment. | |
7521 | (allow_pch): Define. | |
7522 | (c_common_init): Call pch_init. | |
7523 | * c-common.h (allow_pch): Declare. | |
7524 | (pch_init): Declare. | |
7525 | (c_valid_pch): Declare. | |
7526 | (c_read_pch): Declare. | |
7527 | (c_write_pch): Declare. | |
7528 | * Makefile.in (c-pch.o): New. | |
7529 | (C_AND_OBJC_OBJS): Add c-pch.o. | |
7530 | * doc/invoke.texi (Precompiled Headers): Add index entries, | |
7531 | complete truncated paragraph. | |
7532 | ||
7533 | 2002-08-17 Geoffrey Keating <geoffk@redhat.com> | |
7534 | ||
7535 | * c-common.c: (pch_file): Define. | |
7536 | * c-common.h (pch_file): Declare. | |
7537 | * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=. | |
7538 | (missing_arg): Require --output-pch= to have an argument. | |
7539 | (c_common_decode_option): Handle --output-pch=. | |
7540 | * gcc.c: Document new %V. | |
7541 | (default_compilers): Handle compiling C header files. | |
7542 | (do_spec_1): Implement %V. | |
7543 | (main): Handle "gcc foo.h" without trying to run linker. | |
7544 | * doc/invoke.texi (Invoking GCC): Add new menu item for PCH. | |
7545 | (Overall Options): Document what the driver does with header files, | |
7546 | document new -x option possibilities. | |
7547 | (Invoking G++): More documentation for PCH. | |
7548 | (Precompiled Headers): New. | |
7549 | ||
7550 | 2002-08-09 Geoffrey Keating <geoffk@redhat.com> | |
7551 | ||
7552 | * ggc.h: Don't include varray.h. Rearrange functions to be more | |
7553 | organized. | |
7554 | (ggc_add_root): Delete. | |
7555 | (ggc_mark_rtx): Delete. | |
7556 | (ggc_mark_tree): Delete. | |
7557 | (struct ggc_statistics): Remove contents. | |
7558 | * ggc-common.c: Remove unneeded includes. | |
7559 | (struct ggc_root): Delete. | |
7560 | (roots): Delete. | |
7561 | (ggc_add_root): Delete. | |
7562 | (ggc_mark_roots): Don't mark `roots'. Call ggc_mark_stringpool. | |
7563 | (ggc_print_common_statistics): Remove most of the contents. | |
7564 | * Makefile.in (GGC_H): No longer uses varray.h. | |
7565 | (ggc-common.o): Update dependencies. | |
7566 | (c-parse.o): Add varray.h to dependencies. | |
7567 | (c-common.o): Add varray.h. | |
7568 | * stringpool.c (mark_ident): Use mangled name for tree marker routine. | |
7569 | (mark_ident_hash): Rename to ggc_mark_stringpool. | |
7570 | (init_stringpool): Don't use ggc_add_root. | |
7571 | * c-parse.in: Include varray.h. | |
7572 | * c-common.c: Include varray.h. | |
7573 | * objc/Make-lang.in (objc-act.o): Add varray.h. | |
7574 | * objc/objc-act.c: Include varray.h. | |
7575 | ||
7576 | 2002-07-25 Geoffrey Keating <geoffk@redhat.com> | |
7577 | ||
7578 | * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition. | |
7579 | (dw_cfi_oprnd1_desc): Likewise. | |
7580 | ||
7581 | 2002-07-17 Geoffrey Keating <geoffk@redhat.com> | |
7582 | ||
7583 | * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark; | |
7584 | move out of ifdef. | |
7585 | (alpha_links): Use gengtype to mark; move out of ifdef. | |
7586 | (mark_alpha_links_node): Delete. | |
7587 | (mark_alpha_links): Delete. | |
7588 | (alpha_need_linkage): Use GGC to allocate splay tree, struct | |
7589 | alpha_links, strings. Don't use ggc_add_root. | |
7590 | * ggc-common.c (ggc_splay_alloc): New. | |
7591 | (ggc_splay_dont_free): New. | |
7592 | * ggc.h (ggc_mark_rtx): Update for changed name mangling. | |
7593 | (ggc_mark_tree): Likewise. | |
7594 | (splay_tree_new_ggc): New. | |
7595 | (ggc_splay_alloc): Declare. | |
7596 | (ggc_splay_dont_free): Declare. | |
7597 | * dwarf2asm.c: Include gt-dwarf2asm.h. | |
7598 | (mark_indirect_pool_entry): Delete. | |
7599 | (mark_indirect_pool): Delete. | |
7600 | (indirect_pool): Use gengtype to mark. | |
7601 | (dw2_force_const_mem): Don't use ggc_add_root. | |
7602 | * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h. | |
7603 | (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c. | |
7604 | (gt-dwarf2asm.h): Depend on s-gtype. | |
7605 | ||
7606 | 2002-07-08 Geoffrey Keating <geoffk@redhat.com> | |
7607 | ||
7608 | * tree.h (union tree_type_symtab): Mark `die' field. | |
7609 | * Makefile.in (dwarf2out.o): Update dependencies. | |
7610 | * dwarf2out.c: Use GGC to allocate all structures. Convert to htab_t | |
7611 | hash tables. | |
7612 | (dw_cfi_oprnd1_desc): New function. | |
7613 | (dw_cfi_oprnd2_desc): New function. | |
7614 | (indirect_string_alloc): Delete. | |
7615 | (debug_str_do_hash): New function. | |
7616 | (debug_str_eq): New function. | |
7617 | (mark_limbo_die_list): Delete. | |
7618 | (dwarf2out_init): Don't call ggc_add_root. | |
7619 | ||
30028c85 VM |
7620 | 2003-01-09 Vladimir Makarov <vmakarov@redhat.com> |
7621 | ||
7622 | The following changes are merged from itanium-sched-branch: | |
7623 | ||
7624 | 2003-01-08 David Edelsohn <edelsohn@gnu.org> | |
7625 | ||
7626 | * doc/md.texi: Clarify assignment of units to automata description. | |
7627 | ||
7628 | 2003-01-08 Vladimir Makarov <vmakarov@redhat.com> | |
7629 | ||
7630 | * genautomata.c (unit_decl): Remove members | |
7631 | `the_same_automaton_unit' and | |
7632 | `the_same_automaton_message_reported_p'. | |
7633 | (process_unit_to_form_the_same_automaton_unit_lists, | |
7634 | form_the_same_automaton_unit_lists_from_regexp, | |
7635 | form_the_same_automaton_unit_lists, the_same_automaton_lists): | |
7636 | Remove them. | |
7637 | (annotation_message_reported_p): New global variable. | |
7638 | (check_unit_distribution_in_reserv, | |
7639 | check_regexp_units_distribution): New functions. | |
7640 | (check_unit_distributions_to_automata): Rewrite it. | |
7641 | ||
7642 | 2003-01-04 Vladimir Makarov <vmakarov@redhat.com> | |
7643 | ||
7644 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp): | |
7645 | Use continue instead of break if cycle is too big. | |
7646 | ||
7647 | 2002-12-20 Vladimir Makarov <vmakarov@redhat.com> | |
7648 | ||
7649 | * genautomata.c (check_unit_distributions_to_automata): Output at | |
7650 | most one message for a unit. | |
7651 | (process_unit_to_form_the_same_automaton_unit_lists): Check | |
7652 | automaton of units instead of units themself. | |
7653 | ||
7654 | * doc/md.texi: Describe the constraint about assigning unit to | |
7655 | automata. | |
7656 | ||
7657 | 2002-12-20 Jan Hubicka <jH@suse.cz> | |
7658 | Vladimir Makarov <vmakarov@redhat.com> | |
7659 | ||
7660 | * genautomata.c (unit_decl): Add new members `min_occ_cycle_num' | |
7661 | and `in_set_p'. | |
7662 | (gen_cpu_unit): Initialize the new members. | |
7663 | (process_regexp_cycles): Calculate minimal finish cycle too. Set | |
7664 | up `min_occ_cycle_num'. | |
7665 | (evaluate_max_reserv_cycles): Change the function call. | |
7666 | (CLEAR_BIT): New macro. | |
7667 | (states_union, state_shift): Use the mask. | |
7668 | (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'. | |
7669 | (form_reservs_matter): New function. | |
7670 | (make_automaton): Call the function and use the mask. | |
7671 | (estimate_one_automaton_bound): Take `min_occ_cycle_num' into | |
7672 | account. | |
07488f32 | 7673 | |
30028c85 VM |
7674 | 2002-12-17 Vladimir Makarov <vmakarov@redhat.com> |
7675 | ||
7676 | * config/ia64/itanium2.md (lfetch): Change the insn reservation. | |
7677 | ||
7678 | 2002-12-17 Vladimir Makarov <vmakarov@redhat.com> | |
7679 | ||
7680 | * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn | |
7681 | for Itanium. | |
7682 | ||
7683 | 2002-12-17 Vladimir Makarov <vmakarov@redhat.com> | |
7684 | ||
7685 | * config/ia64/ia64.c (ia64_override_options): Make itanium2 as | |
7686 | default cpu. | |
7687 | ||
7688 | 2002-12-17 Vladimir Makarov <vmakarov@redhat.com> | |
7689 | 2002-10-31 Dale Johannesen <dalej@apple.com> | |
7690 | ||
7691 | * haifa-sched.c (find_set_reg_weight): New function. | |
7692 | (find_insn_reg_weight): Use the new function. | |
7693 | (schedule_block): Do sorting ready queue always | |
7694 | after insn issue. | |
7695 | ||
7696 | 2002-11-27 Vladimir Makarov <vmakarov@redhat.com> | |
7697 | ||
7698 | * config/ia64/ia64.c (bundling): Use MFI template instead of MLX. | |
7699 | ||
7700 | 2002-11-19 Vladimir Makarov <vmakarov@redhat.com> | |
7701 | ||
7702 | * haifa-sched.c (choice_entry): New structure. | |
7703 | (choice_stack, cycle_issued_insns): New variables. | |
7704 | (max_issue): Rewrite it. | |
7705 | (choose_ready): Set up ready_try for unknown insns too. | |
7706 | (schedule_block): Allocate and free choice_stack. Set up | |
7707 | and modify cycle_issued_insns. | |
7708 | ||
7709 | * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue | |
7710 | with and without filling the bundle. | |
7711 | (bundling): Combine calls of issue_nops_and_insn. | |
07488f32 | 7712 | |
30028c85 VM |
7713 | 2002-10-17 Vladimir Makarov <vmakarov@redhat.com> |
7714 | ||
7715 | * config/ia64/itanium1.md: New file. | |
7716 | ||
7717 | * config/ia64/itanium2.md: New file. | |
7718 | ||
7719 | * config/ia64/ia64.md: Move DFA descriptions into the new files. | |
7720 | Remove the old pipeline description. | |
07488f32 | 7721 | |
30028c85 VM |
7722 | * config/ia64/ia64.c (ia64_override_options): Add aliases of |
7723 | itanium processor names. | |
07488f32 | 7724 | |
30028c85 VM |
7725 | 2002-10-16 Vladimir Makarov <vmakarov@redhat.com> |
7726 | ||
7727 | * config/ia64/ia64.c (bundling): Print states for Itanium2 too. | |
7728 | (ia64_reorg): Set up queried unit codes for Itanium2 too. | |
7729 | ||
7730 | * config/ia64/ia64.md: Add descriptions for Itanium2. | |
7731 | ||
7732 | 2002-10-08 Vladimir Makarov <vmakarov@redhat.com> | |
7733 | ||
7734 | * config/ia64/ia64.h (processor_type): New enumeration. | |
7735 | (ia64_tune, ia64_tune_string): New external declarations. | |
7736 | (TARGET_OPTIONS): Add option `tune='. | |
7737 | ||
7738 | * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global | |
7739 | variables. | |
7740 | (ia64_override_options): Set up `ia64_tune'. | |
7741 | (ia64_sched_reorder2): Set up `clocks' only for Itanium. | |
7742 | (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium. | |
7743 | (bundling): Add nops for MM-insns only for Itanium. | |
7744 | (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for | |
7745 | Itanium. | |
7746 | ||
7747 | * config/ia64/ia64.md (cpu): New attribute. | |
7748 | (DFA description): Enable it only for Itanium. | |
07488f32 | 7749 | |
30028c85 VM |
7750 | 2002-10-08 Vladimir Makarov <vmakarov@redhat.com> |
7751 | Richard Henderson <rth@redhat.com> | |
7752 | ||
7753 | * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to | |
7754 | MASK_EARLY_STOP_BITS. | |
7755 | (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS. | |
7756 | (TARGET_SWITCHES): Rename option `tune-stop-bits' to | |
7757 | `early-stop-bits'. | |
07488f32 | 7758 | |
30028c85 VM |
7759 | * config/ia64/ia64.c (ia64_dfa_new_cycle, |
7760 | final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS | |
7761 | instead of TARGET_TUNE_STOP_BITS. | |
07488f32 | 7762 | |
30028c85 VM |
7763 | * doc/invoke.texi: Rename option `-mtune-stop-bits' to |
7764 | `-mearly-stop-bits'. | |
7765 | ||
7766 | * config/ia64/ia64.c (automata_option "v"): Comment it. | |
07488f32 | 7767 | |
30028c85 VM |
7768 | 2002-10-07 Vladimir Makarov <vmakarov@redhat.com> |
7769 | ||
07488f32 | 7770 | * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS): |
30028c85 VM |
7771 | New macros. |
7772 | (TARGET_SWITCHES): Add entries for the new option. | |
07488f32 | 7773 | |
30028c85 VM |
7774 | * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx |
7775 | dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC. | |
7776 | (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New | |
7777 | global variables. | |
7778 | (ia64_sched_reorder2): Set up `clocks'. | |
7779 | (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'. | |
7780 | (ia64_dfa_new_cycle): Set up add_cycle. Permit sorting ready | |
7781 | queue when TARGET_TUNE_STOP_BITS. | |
7782 | (bundling): Insert additional nops for MM-insns. | |
7783 | (final_emit_insn_group_barriers): Add insertion of stop bits | |
7784 | according `stops_p'. | |
7785 | (ia64_reorg): Initiate the new varibales. | |
7786 | ||
7787 | * doc/invoke.texi: Add description of option `-mtune-stop-bits'. | |
07488f32 | 7788 | |
30028c85 VM |
7789 | 2002-10-02 Vladimir Makarov <vmakarov@redhat.com> |
7790 | ||
7791 | * haifa-sched.c (schedule_block): Modify INSN_TICK of depended | |
7792 | insns at the end of block insn scheduling. | |
7793 | ||
7794 | 2002-09-30 Vladimir Makarov <vmakarov@redhat.com> | |
7795 | ||
7796 | * sched-deps.c (remove_dependence, group_leader): Remove it. | |
7797 | (add_dependence): Add dependence to group leader to. | |
7798 | (set_sched_group_p): Add dependence to the first insn of the | |
7799 | schedule group too. | |
7800 | (sched_analyze_insn): Make dependence to jump as anti-dependence. | |
7801 | Change true dependence by anti-dependence when | |
7802 | `reg_pending_barrier'. | |
7803 | ||
7804 | * sched-rgn.c (init_ready_list, can_schedule_ready_p, | |
7805 | add_branch_dependences): Ignore schedule groups. | |
7806 | ||
7807 | * sched-ebb.c (init_ready_list): Ditto. | |
7808 | ||
7809 | * (move_insn, set_priorities): Ditto. | |
7810 | ||
7811 | * config/ia64/ia64.c (ia64_sched_init): Check that schedule group | |
7812 | flag is clear after reload. | |
7813 | (adjust_cost): Change cost only for output dependencies. | |
07488f32 | 7814 | |
30028c85 | 7815 | * config/ia64/ia64.md: Add more insns into bypass for MM-insns. |
07488f32 | 7816 | |
30028c85 VM |
7817 | 2002-09-26 Vladimir Makarov <vmakarov@redhat.com> |
7818 | ||
7819 | * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry. | |
7820 | ||
7821 | * target.h (gcc_target): Add member | |
7822 | `dependencies_evaluation_hook'. | |
7823 | ||
7824 | * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New | |
7825 | macro. | |
7826 | (TARGET_SCHED): Add initiatialization of the new member. | |
7827 | ||
7828 | * sched-ebb.c: Include `target.h'. | |
7829 | (schedule_ebb): Call `dependencies_evaluation_hook'. | |
7830 | ||
7831 | * sched-rgn.c (schedule_region): Call | |
7832 | `dependencies_evaluation_hook'. | |
7833 | ||
7834 | * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): | |
7835 | New macro. | |
7836 | (ia64_dependencies_evaluation_hook): New function. | |
7837 | ||
7838 | * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): | |
7839 | Describe the new hook. | |
07488f32 | 7840 | |
30028c85 VM |
7841 | 2002-09-25 Vladimir Makarov <vmakarov@redhat.com> |
7842 | ||
7843 | * target.h (gcc_target): Add members | |
7844 | `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'. | |
7845 | ||
7846 | * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE, | |
7847 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New | |
7848 | macros. | |
7849 | (TARGET_SCHED): Add initiatialization of the new members. | |
7850 | ||
7851 | * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st | |
7852 | insn scheduling too. | |
7853 | (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to | |
7854 | initialize `ready_try'. | |
7855 | (schedule_block): Use `dfa_new_cycle'. Sort `ready' only unless | |
7856 | `dfa_new_cycle' says not to do it. | |
07488f32 | 7857 | |
30028c85 VM |
7858 | * config/ia64/ia64.md: Add DFA Itanium 1 description for insn |
7859 | bundling. | |
7860 | ||
7861 | * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro. | |
7862 | ||
7863 | * config/ia64/ia64.c: Include `hashtab.h'. | |
7864 | (ia64_first_cycle_multipass_dfa_lookahead_guard, | |
7865 | ia64_dfa_new_cycle, final_emit_insn_group_barriers, | |
7866 | ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state, | |
7867 | initiate_bundle_states, finish_bundle_states, bundle_state_hash, | |
7868 | bundle_state_eq_p, insert_bundle_state, | |
7869 | initiate_bundle_state_table, finish_bundle_state_table, | |
7870 | try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos, | |
7871 | get_template, get_next_important_insn, bundling): New functions. | |
7872 | (ia64_internal_sched_reorder): Remove it. | |
7873 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD, | |
7874 | TARGET_SCHED_DFA_NEW_CYCLE): New macros. | |
7875 | (ia64_safe_itanium_requires_unit0): Remove it. | |
7876 | (group_barrier_needed_p): Place group barrier right before a real | |
7877 | insn. | |
7878 | (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets): | |
7879 | Remove them. | |
7880 | (bundle_name): New variable. | |
7881 | (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_, | |
7882 | _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_, | |
7883 | _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5, | |
7884 | pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size, | |
7885 | temp_dfa_state, prev_cycle_state): New global variables. | |
7886 | (insn_matches_slot, maybe_rotate, finish_last_head, | |
7887 | rotate_one_bundle, rotate_one_bundles, nop_cycles_until, | |
7888 | cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn, | |
7889 | find_best_packet, itanium_reorder, dump_current_packet, | |
7890 | schedule_stop, gen_nop_type, ia64_emit_nops): Remove them. | |
7891 | (sched_data, sched_ready, sched_types): Remove them. | |
7892 | (ia64_sched_init): Initiate only `last_scheduled_insn' and call | |
7893 | `init_insn_group_barriers'. | |
7894 | (ia64_sched_reorder, ia64_sched_reorder2): Call | |
7895 | ia64_dfa_sched_reorder. | |
7896 | (ia64_variable_issue): Rewrite it. | |
7897 | (bundle_state): New structure. | |
7898 | (index_to_bundle_states, bundle_states_num, | |
7899 | allocated_bundle_states_chain, free_bundle_state_chain): New | |
7900 | global variables. | |
7901 | (ia64_sched_finish): Add stop bits and call `bundling' after the | |
7902 | 2nd insn scheduling. | |
7903 | (ia64_use_dfa_pipeline_interface): Return zero always. | |
7904 | (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd | |
7905 | insn scheduling. | |
7906 | (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size', | |
7907 | `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'. | |
7908 | (ia64_reorg): Add bundling insns. | |
7909 | ||
7910 | * doc/tm.texi | |
7911 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD, | |
7912 | TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks. | |
07488f32 | 7913 | |
30028c85 VM |
7914 | 2002-09-23 Vladimir Makarov <vmakarov@redhat.com> |
7915 | ||
7916 | * config/ia64/ia64.md: Add Itanium1 DFA description. | |
7917 | (itanium_class): Add `nop' and `pre_cycle'. Add | |
7918 | define_function_unit for `nop'. | |
7919 | (nop): Change attribute `itanium_class'. | |
7920 | (pre_cycle): New define_insn. | |
7921 | ||
7922 | * config/ia64/ia64-protos.h (bundling_p): New external variable. | |
7923 | (ia64_st_address_bypass_p, ia64_ld_address_bypass_p, | |
7924 | ia64_produce_address_p): New function prototypes. | |
7925 | ||
7926 | * config/ia64/ia64.c (bundling_p): New global variable. | |
7927 | (ia64_use_dfa_pipeline_interface, | |
7928 | ia64_first_cycle_multipass_dfa_lookahead, | |
7929 | ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New | |
7930 | functions. | |
7931 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
7932 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
7933 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
7934 | TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros. | |
7935 | (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2, | |
7936 | ia64_variable_issue, ia64_sched_finish): Do nothing before reload. | |
7937 | (dfa_pre_cycle_insn): New variable. | |
07488f32 | 7938 | |
30028c85 VM |
7939 | 2002-09-20 Vladimir Makarov <vmakarov@redhat.com> |
7940 | ||
7941 | * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New | |
7942 | constructions. | |
7943 | ||
7944 | * genattrtab.h (gen_final_presence_set, gen_final_absence_set): | |
7945 | New function prototypes. | |
7946 | ||
7947 | * genattrtab.c (main): Process the new constructions. | |
7948 | ||
7949 | * genautomata.c (gen_presence_absence_set, | |
7950 | process_presence_absence_names, process_presence_absence_patterns, | |
7951 | add_presence_absence, check_absence_pattern_sets): Add parameter | |
7952 | `final_p'. | |
7953 | (unit_decl): Add new members `final_presence_list' and | |
7954 | `final_absence_list'. | |
7955 | (unit_pattern_rel_decl): Add new member `final_p'. | |
7956 | (gen_final_presence_set, gen_final_absence_set): New functions. | |
7957 | (process_decls): Use member `final_p'. | |
7958 | (temp_reserv): New global variable. | |
7959 | (reserv_sets_are_intersected): Add processing `final_presence_set' | |
7960 | and `final_absence_set'. | |
7961 | (initiate_states): Allocate `temp_reserv'. | |
7962 | (unit_final_presence_set_table, unit_final_absence_set_table): New | |
7963 | gloabal variables. | |
7964 | (initiate_presence_absence_pattern_sets): Initiate them. | |
7965 | (NDFA_to_DFA): Fix typo. | |
7966 | (output_description): Output `final_presence_set' and | |
7967 | `final_absence_set'. | |
7968 | ||
7969 | * doc/md.texi (final_presence_set, final_absence_set): Describe | |
7970 | them. | |
07488f32 | 7971 | |
30028c85 VM |
7972 | 2002-09-20 Vladimir Makarov <vmakarov@redhat.com> |
7973 | ||
7974 | * genautomata.c (transform_3): Process a missing case (nothing on | |
7975 | unit place). | |
7976 | ||
7977 | 2002-09-20 Vladimir Makarov <vmakarov@redhat.com> | |
7978 | ||
7979 | * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change | |
7980 | comments about queried units and the minimization. | |
07488f32 | 7981 | |
30028c85 | 7982 | * doc/md.texi: Ditto. |
07488f32 | 7983 | |
30028c85 VM |
7984 | * genautomata.c (create_composed_state): Return nonzero if the new |
7985 | state has been created. | |
7986 | (first_cycle_unit_presence): New function. | |
7987 | (state_is_differed): Add new parameter. Use the new function. | |
7988 | Take queried units into account. | |
7989 | (partition_equiv_class): Pass additional parameter to | |
7990 | `state_is_differed'. | |
7991 | (merge_states): Process composed states too. | |
7992 | (build_automaton, create_automata, output_min_issue_delay_table, | |
7993 | output_tables, output_statistics): Output more information. | |
7994 | (output_reserved_units_table): Use function | |
7995 | `first_cycle_unit_presence'. | |
7996 | (output_tables): Output table of queried units even if the | |
7997 | minimization is switched on. | |
7998 | (write_automata): Output code for querying units even if the | |
7999 | minimization is switched on. | |
07488f32 | 8000 | |
30028c85 VM |
8001 | 2002-09-19 Vladimir Makarov <vmakarov@redhat.com> |
8002 | ||
8003 | * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended | |
8004 | syntax of the constructions. | |
07488f32 | 8005 | |
30028c85 VM |
8006 | * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of |
8007 | extended syntax of the constructions. | |
07488f32 | 8008 | |
30028c85 VM |
8009 | * genautomata.c (unit_rel_decl): Rename it to |
8010 | `unit_pattern_rel_decl'. | |
8011 | (pattern_set_el, pattern_reserv): New structures. | |
8012 | (pattern_set_el_t, pattern_reserv_t): New types. | |
8013 | (gen_presence_absence_set): New function. | |
8014 | (process_presence_absence): Remove it. | |
8015 | (process_presence_absence_names, | |
8016 | process_presence_absence_patterns): New functions. | |
8017 | (get_presence_absence_set): Remove it. | |
8018 | (initiate_presence_absence_sets): Rename it on | |
8019 | `initiate_presence_absence_pattern_sets'. Use new function | |
8020 | `form_reserv_sets_list'. | |
8021 | (form_reserv_sets_list, check_presence_pattern_sets, | |
8022 | check_absence_pattern_sets, output_pattern_set_el_list): New | |
8023 | functions. | |
8024 | (unit_decl): Change types of members `presence_list' and | |
8025 | `absence_list'. | |
8026 | (unit_rel_decl): Rename member `names_num' to `all_names_num'. | |
8027 | (decl): Change types of members `excl', `presence', and `absence'. | |
8028 | (get_str_vect): Rename `par_flag' to `paren_p'. Add null element | |
8029 | at the end of the vector. | |
8030 | (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set, | |
8031 | gen_automaton, gen_regexp_repeat, gen_regexp_allof, | |
8032 | gen_regexp_oneof, gen_regexp_sequence): Use boolean values. | |
8033 | (gen_presence_set, gen_absence_set): Use new function | |
8034 | `gen_presence_absence_set'. | |
8035 | (add_presence_absence): Process `pattern_list' instead of | |
8036 | `source_list'. | |
8037 | (process_decls): USe new functions | |
8038 | `process_presence_absence_names' and | |
8039 | `process_presence_absence_patterns'. | |
8040 | (reserv_sets_are_intersected): Use new function | |
8041 | `check_presence_pattern_sets'. | |
8042 | (presence_set, absence_set): Remove them. | |
8043 | (unit_presence_set_table, unit_absence_set_table): New global | |
8044 | variables. | |
8045 | (output_description): Use new function | |
8046 | `output_pattern_set_el_list'. | |
8047 | (generate): Use `initiate_presence_absence_pattern_sets'. | |
07488f32 | 8048 | |
30028c85 VM |
8049 | 2002-09-18 Vladimir Makarov <vmakarov@redhat.com> |
8050 | ||
8051 | * genattr.c (main): Add output of prototype of new interface | |
8052 | function `dfa_clean_insn_cache'. | |
8053 | ||
8054 | * genautomata.c (output_dfa_clean_insn_cache_func): New function. | |
8055 | (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro. | |
8056 | (output_dfa_start_func): Use function `dfa_clean_insn_cache' in | |
8057 | the generated code. | |
8058 | (write_automata): Call the new function. | |
07488f32 | 8059 | |
cb297538 JH |
8060 | Thu Jan 9 22:47:38 CET 2003 Jan Hubicka <jh@suse.cz> |
8061 | ||
17211ab5 GK |
8062 | * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt |
8063 | correctly. | |
cb297538 | 8064 | |
3a6e2189 PC |
8065 | 2003-01-09 Paolo Carlini <pcarlini@unitus.it> |
8066 | ||
8067 | * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo. | |
8068 | ||
97488870 R |
8069 | Thu Jan 9 17:26:40 2003 J"orn Rennecke <joern.rennecke@superh.com> |
8070 | ||
8071 | * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument. | |
8072 | (EXTRA_ADDRESS_CONSTRAINT): Likewise. | |
8073 | (CONSTRAINT_LEN): Provide default definition. | |
8074 | (CONST_OK_FOR_CONSTRAINT_P): Likewise. | |
8075 | (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise. | |
8076 | (EXTRA_CONSTRAINT_STR): Likewise. | |
8077 | (REG_CLASS_FROM_CONSTRAINT): Define. | |
8078 | * genoutput.c (check_constraint_len, constraint_len): New functions. | |
8079 | (validate_insn_alternatives): Check CONSTRAINT_LEN for each | |
8080 | constraint / modifier. | |
8081 | (gen_insn): Call check_constraint_len. | |
8082 | * local-alloc.c (block_alloc): Update to use new macros / pass | |
8083 | second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT. | |
8084 | * ra-build.c (handle_asm_insn): Likewise. | |
8085 | * recog.c (asm_operand_ok, preprocess_constraints): Likewise. | |
8086 | (constrain_operands, peep2_find_free_register): Likewise. | |
8087 | * regclass.c (record_operand_costs, record_reg_classes): Likewise. | |
8088 | * regmove.c (find_matches): Likewise. | |
8089 | * reload.c (push_secondary_reload, find_reloads): Likewise. | |
8090 | (alternative_allows_memconst): Likewise. | |
8091 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
8092 | (reload_cse_simplify_operands): Likewise. | |
8093 | * stmt.c (parse_output_constraint, parse_input_constraint): Likewise. | |
8094 | * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document. | |
8095 | (CONST_OK_FOR_CONSTRAINT_P): Likewise. | |
8096 | (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise. | |
8097 | (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument. | |
8098 | * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise. | |
e2c734c1 R |
8099 | |
8100 | * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5. | |
8101 | ||
fc182093 KH |
8102 | 2003-01-09 Kazu Hirata <kazu@cs.umass.edu> |
8103 | ||
8104 | * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn | |
8105 | length. | |
8106 | (*extzv_1_r_h8300hs): Likewise. | |
8107 | (*extzv_1_r_inv_h8300): Likewise. | |
8108 | (*extzv_1_r_inv_h8300hs): Likewise. | |
8109 | ||
3b1c9927 KH |
8110 | 2003-01-09 Kazu Hirata <kazu@cs.umass.edu> |
8111 | ||
8112 | * config/h8300/h8300.h (PREDICATE_CODES): New. | |
8113 | ||
867504e6 KH |
8114 | 2003-01-09 Kazu Hirata <kazu@cs.umass.edu> |
8115 | ||
8116 | * config/h8300/h8300.md (*addsi3_upper): New. | |
8117 | (*iorsi3_shift): Likewise. | |
8118 | (two splitters): Likewise. | |
8119 | (*addsi3_shift): Likewise. | |
8120 | (two splitters): Likewise. | |
8121 | ||
4a69cf79 JZ |
8122 | 2003-01-09 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> |
8123 | ||
8124 | * Makefile.in (optabs.o): Add dependency on basic-block.h. | |
8125 | * basic-block.h (control_flow_insn_p): Fuction was exported. | |
8126 | * cfgbuild.c (control_flow_insn_p): Fuction was made non-static. | |
8127 | * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL | |
8128 | notes only when the region is contained in a single basic block. | |
8129 | ||
4c46ea23 EB |
8130 | 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> |
8131 | ||
8132 | PR inline-asm/8832 | |
8133 | * tree.h (expand_asm): New prototype. | |
8134 | * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed | |
8135 | to do so. | |
8136 | * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier | |
8137 | down to expand_asm. | |
8138 | * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier. | |
8139 | * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag. | |
8140 | (volatile_refs_p) [ASM_INPUT]: Likewise. | |
8141 | (side_effects_p) [ASM_INPUT]: Likewise. | |
8142 | ||
f56e86bd JH |
8143 | Thu Jan 9 12:00:36 CET 2003 Jan Hubicka <jh@suse.cz> |
8144 | ||
8145 | * i386.md (*mul*): FIx constraints; remove confused comment; fix | |
8146 | athlon_decode attributes | |
8147 | (imul/k8 optimization peep2s): New. | |
8148 | ||
8149 | * athlon.md (athlon_ssecmp*): Handle ssecomi as well. | |
8150 | * i386.md (type attribute): Add ssecomi. | |
8151 | (unit, memory, prefix attributes): Handle ssecomi. | |
8152 | (cvt?2? patterns): Fix athlon_decode attribute | |
8153 | (comi patterns): Set attribute to ssecomi. | |
8154 | ||
8155 | PR target/8343 | |
8156 | * m68k.md (umulsidi, mulsidi expanders): Use register operand. | |
8157 | ||
98c29f71 RS |
8158 | 2003-01-09 Richard Sandiford <rsandifo@redhat.com> |
8159 | ||
8160 | * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates | |
8161 | that match register_operands. | |
8162 | * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make | |
8163 | register_operand the default case. | |
8164 | ||
bbb818c6 EB |
8165 | 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> |
8166 | ||
8167 | PR c/8032 | |
8168 | * c-typeck.c (process_init_element) [RECORD_TYPE]: For | |
8169 | an empty element, do not advance the pointer to unfilled | |
8170 | fields if there are pending initializers. | |
8171 | ||
90961eff AJ |
8172 | 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
8173 | ||
8174 | * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR. | |
8175 | (install-gcc-tooldir, install-cpp, installdirs, | |
8176 | install-common, install-driver, install-info, install-man, | |
8177 | install-headers, install-include-dir, install-headers-tar, | |
8178 | install-headers-cpio, install-headers-cp, install-mkheaders, | |
8179 | install-collect2, uninstall): Prepend $(DESTDIR) to | |
8180 | destination paths in all (un)installation commands. | |
8181 | (install-driver): Rewrite $(LN) commands to support DESTDIR | |
8182 | with "ln" as well as with "ln -s". | |
8183 | (installdirs): Simply use mkinstalldirs. | |
8184 | (install-libgcc, install-multilib): Also pass DESTDIR. | |
8185 | * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the | |
8186 | installation destination variable ldir. | |
8187 | * config/alpha/t-osf4, config/arm/t-netbsd, | |
8188 | config/ia64/t-hpux, config/mips/t-iris5-6, | |
8189 | config/pa/t-hpux-shlib, config/rs6000/t-aix43, | |
8190 | config/rs6000/t-aix52, config/t-slibgcc-elf-ver, | |
8191 | config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir) | |
8192 | in the definition of SHLIB_INSTALL. | |
8193 | * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to | |
8194 | $(libsubdir) in the installation commands. | |
8195 | ||
8b26829f KK |
8196 | 2003-01-08 Kaz Kojima <kkojima@gcc.gnu.org> |
8197 | ||
8198 | * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a | |
8199 | non-optimizing compile. | |
8200 | (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing | |
8201 | compile. | |
8202 | ||
fe77449a DR |
8203 | 2003-01-08 Douglas B Rupp <rupp@gnat.com> |
8204 | ||
8205 | * config/i386/i386.c (ix86_attribute_table): Add new attributes | |
8206 | ms_struct and gcc_struct. | |
8207 | (ix86_handle_struct_attribute): New function. | |
8208 | (ix86_ms_bitfield_layout_p): Update to take new attributes | |
8209 | into account. | |
8210 | * doc/extend.texi: Document new attributes. | |
8211 | * testsuite/gcc.dg/bf-ms-attrib.c: New test. | |
8212 | ||
98417968 DS |
8213 | 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net> |
8214 | ||
07488f32 ZW |
8215 | PR optimization/8750 |
8216 | * config/i386/i386.c (ix86_expand_prologue): Don't allow | |
8217 | scheduling pass to move insns across __alloca call. | |
98417968 | 8218 | |
e46e3130 DJ |
8219 | 2003-01-08 Dale Johannesen <dalej@apple.com> |
8220 | ||
07488f32 ZW |
8221 | * config/rs6000/rs6000.md: Replace *store_multiple_string |
8222 | with *stmsi[3-8]. | |
e46e3130 | 8223 | |
c40e5172 JS |
8224 | 2003-01-08 Jeff Sturm <jsturm@one-point.com> |
8225 | ||
8226 | PR target/9210 | |
8227 | * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): | |
8228 | Set SYMBOL_REF_FLAG on local data sym_ref. | |
8229 | ||
de62b72c | 8230 | 2003-01-08 Dale Johannesen <dalej@apple.com> |
07488f32 ZW |
8231 | |
8232 | * function.c (assign_parms): Don't set pretend_args_size if | |
de62b72c | 8233 | REG_PARM_STACK_SPACE. |
07488f32 | 8234 | config/rs6000/rs6000.c (setup_incoming_varargs): Don't set |
de62b72c DJ |
8235 | pretend_args_size. |
8236 | ||
25839c41 NN |
8237 | 2003-01-08 Nathanael Nerode <neroden@gcc.gnu.org> |
8238 | ||
8239 | * gcc.hlp: Delete. | |
8240 | ||
4bdc8610 JH |
8241 | Thu Jan 9 00:57:15 CET 2003 Jan Hubicka <jh@suse.cz> |
8242 | ||
8243 | * i386.c (ix86_expand_int_addcc): Fix thinko. | |
8244 | ||
5b71a4e7 DE |
8245 | 2003-01-08 David Edelsohn <edelsohn@gnu.org> |
8246 | ||
8247 | * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode. | |
8248 | * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine | |
8249 | as hook_bool_tree_hwi_hwi_tree_true. | |
8250 | (rs6000_emit_allocate_stack): Use TARGET_32BIT. | |
8251 | (rs6000_emit_epilogue): Same. | |
8252 | (rs6000_output_mi_thunk): Re-implement as RTL. | |
8253 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call | |
8254 | xcoffout_declare_function if any debugging enabled. | |
8255 | ||
2d2a50c3 CD |
8256 | 2003-01-08 Chris Demetriou <cgd@broadcom.com> |
8257 | ||
8258 | * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New | |
8259 | targets, to support MIPS32 Release 2 (MIPS32R2) configurations. | |
8260 | * config/mips/mips.h (enum processor_type): Rename | |
8261 | PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to | |
8262 | PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC. | |
8263 | Add PROCESSOR_M4K. | |
8264 | (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming. | |
8265 | (ISA_MIPS32R2): New define. | |
8266 | (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC) | |
8267 | (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO) | |
8268 | (ISA_HAS_PREFETCH): Add support for MIPS32R2. | |
8269 | (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation. | |
8270 | (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new | |
8271 | predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64. | |
8272 | (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if | |
8273 | compiling MIPS16 code. | |
8274 | (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix | |
8275 | comment. | |
8276 | (ISA_HAS_SEB_SEH): New define. | |
8277 | (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker. | |
8278 | * config/mips/mips.c (mips_cpu_info_table): Adjust for enum | |
8279 | processor_type value renaming. Add support for MIPS32R2. | |
8280 | Clean up comments, and move "sb1" entry with other MIPS64 CPU | |
8281 | entries. | |
8282 | (override_options): Reimplement -mipsN option handling so that | |
8283 | it will work correctly for -mips32r2. Avoid branch-likely | |
8284 | instructions on MIPS32R2. | |
8285 | * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2. | |
8286 | (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH. | |
8287 | (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH. | |
8288 | (extendhisi2_hw, extendqisi2_hw): New. | |
8289 | * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support | |
8290 | for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32, | |
8291 | MIPS32R2, and MIPS64. | |
8292 | (LINK_SPEC): Pass -mips32r2 to linker. | |
8293 | * config/mips/t-isa3264: Built -mips32r2 multilibs. | |
8294 | * doc/invoke.texi (MIPS Options): Add -mips32r2, add support | |
8295 | for mips32r2 in the -march description. Alphabetically sort | |
8296 | CPU names in the -march description. Add long-missed -mips32 | |
8297 | and -mips64 to MIPS option summary. | |
8298 | ||
8299 | * config.gcc: Update copyright years to include 2003. | |
8300 | * config/mips/mips.c: Likewise. | |
8301 | * config/mips/mips.h: Likewise. | |
8302 | * config/mips/mips.md: Likewise. | |
8303 | * config/mips/netbsd.h: Likewise. | |
8304 | * doc/invoke.texi: Likewise. | |
8305 | ||
918c4fe4 AS |
8306 | 2003-01-08 Andreas Schwab <schwab@suse.de> |
8307 | ||
8308 | * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache | |
8309 | variable. | |
8310 | * configure: Regenerated. | |
8311 | ||
c5e7ce43 KH |
8312 | 2003-01-08 Kazu Hirata <kazu@cs.umass.edu> |
8313 | ||
8314 | * config/h8300/h8300.c (output_logical_op): Replace byte/word | |
8315 | extraction of det with b0, b1, w0, w2, etc. | |
8316 | (compute_logical_op_length): Likewise. | |
8317 | (compute_logical_op_cc): Likewise. | |
8318 | ||
eb8a8ec4 KH |
8319 | 2003-01-08 Kazu Hirata <kazu@cs.umass.edu> |
8320 | ||
8321 | * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and | |
8322 | HIGH on all variants. | |
8323 | ||
56f15830 | 8324 | Wed Jan 8 14:06:34 CET 2003 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz> |
07488f32 | 8325 | |
56f15830 JZ |
8326 | * Makefile.in (PARTITION_H): New. |
8327 | (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H). | |
8328 | * basic-block.h: Include hard-reg-set.h. | |
8329 | ||
ab57893b RE |
8330 | 2003-01-08 Richard Earnshaw <rearnsha@arm.com> |
8331 | ||
8332 | * arm.h (ENABLE_XF_PATTERNS): Delete. | |
8333 | * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2) | |
8334 | (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2) | |
8335 | (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn) | |
8336 | (cmpxf_trap): Delete. | |
8337 | (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS. | |
8338 | ||
7b52eede JH |
8339 | Wed Jan 8 12:10:57 CET 2003 Jan Hubicka <jh@suse.cz> |
8340 | ||
8341 | * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern. | |
8342 | (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns. | |
8343 | (add??cc): New expanders. | |
8344 | * i386.c (expand_int_addcc): New function. | |
8345 | * i386-protos.h (expand_int_addcc): Declare. | |
8346 | ||
8347 | * alias.c (memory_modified_1): New static function. | |
8348 | (memory_modified): New static varaible. | |
8349 | (memory_modified_in_insn_p): New global function. | |
8350 | * rtl.h (memory_modified_in_insn_p): Declare. | |
8351 | * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory | |
8352 | references. | |
8353 | ||
8354 | * expr.h (emit_conditional_add): Declare. | |
8355 | ||
74049755 JJ |
8356 | 2003-01-07 Janis Johnson <janis187@us.ibm.com> |
8357 | ||
8358 | PR other/8947 | |
8359 | * doc/invoke.texi (-malign-double): Explain that the option breaks | |
8360 | binary compatibility. | |
8361 | ||
e7edc5a0 AS |
8362 | 2003-01-08 Andreas Schwab <schwab@suse.de> |
8363 | ||
8364 | * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld, | |
8365 | should come from the generic *-*-linux* entry. | |
8366 | ||
9635cfad JH |
8367 | Tue Jan 7 22:29:56 CET 2003 Jan Hubicka <jh@suse.cz> |
8368 | ||
8369 | * cselib.c (cselib_current_insn_in_libcall): New static variable. | |
8370 | (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether | |
8371 | we are inside libcall. | |
8372 | * cselib.h (elt_loc_list): Add in_libcall. | |
8373 | * gcse.c (do_local_cprop): Do not copy propagate using insns | |
8374 | in libcalls. | |
8375 | ||
3ee04299 DE |
8376 | 2003-01-07 David Edelsohn <edelsohn@gnu.org> |
8377 | ||
8378 | * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do | |
8379 | not normally affect to issue rate. | |
8380 | ||
068f5dea JH |
8381 | Tue Jan 7 21:46:57 CET 2003 Jan Hubicka <jh@suse.cz> |
8382 | ||
8383 | * genopinit.c (optabs): Add addc_optab. | |
8384 | * ifcvt.c (noce_try_store_flag): Rename to ... | |
8385 | (noce_try_addcc): ... this one; handle generic conditional increment. | |
8386 | (noce_process_if_block): Update noce_try_addcc call. | |
8387 | * optabs.c (emit_conditional_add): New. | |
8388 | (init_obtabs): Initialize addc_optab. | |
8389 | * optabs.h (optab_index): Add OTI_addcc. | |
8390 | (addcc_optab): New macro. | |
8391 | * md.texi: Document addMcc | |
8392 | ||
8393 | PR target/8322 | |
8394 | * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads. | |
8395 | * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts. | |
8396 | * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts. | |
8397 | ||
8398 | * reload1.c (delete_output_reload): Avoid repeated attempts | |
8399 | to delete insn. | |
8400 | ||
eb70d86d AS |
8401 | 2003-01-07 Andreas Schwab <schwab@suse.de> |
8402 | ||
e7edc5a0 AS |
8403 | * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY. |
8404 | Move --enable-initfini-array check ... | |
8405 | * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define | |
8406 | HAVE_INITFINI_ARRAY also when --enable-initfini-array is given. | |
8407 | Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN. | |
8408 | * configure: Rebuild. | |
eb70d86d | 8409 | |
1afdf91c RH |
8410 | 2003-01-07 Richard Henderson <rth@redhat.com> |
8411 | ||
e7edc5a0 AS |
8412 | * alias.c (find_base_value): Only use new_reg_base_value shortcut |
8413 | if the register is set once. | |
1afdf91c | 8414 | |
36210500 | 8415 | 2003-01-07 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de> |
07488f32 | 8416 | |
36210500 SP |
8417 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): |
8418 | __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX. | |
8419 | * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX. | |
8420 | ||
cb25b0ce BK |
8421 | 2003-01-07 Benjamin Kosnik <bkoz@redhat.com> |
8422 | Sunil Davasam <sunil.k.davasam@intel.com> | |
8423 | ||
07488f32 | 8424 | PR libstdc++/9076 |
cb25b0ce BK |
8425 | * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined, |
8426 | DW_CFA_same_value, read next and ignore. | |
8427 | ||
94c040bd RH |
8428 | 2003-01-07 Richard Henderson <rth@redhat.com> |
8429 | ||
8430 | * cfganal.c (flow_call_edges_add): Don't crash on noreturn call. | |
8431 | ||
f6cb56fa DB |
8432 | 2003-01-07 Daniel Berlin <dberlin@dberlin.org> |
8433 | ||
8434 | * cfg.c: Include alloc-pool.h | |
8435 | (edge_pool): New pool. | |
8436 | (bb_pool): New pool. | |
8437 | (first_deleted_edge): Remove. | |
8438 | (first_deleted_block): Remove. | |
8439 | (init_flow): Alloc/free the pools. | |
8440 | (free_edge): Use pools. | |
8441 | (alloc_block): Ditto. | |
8442 | (expunge_block): Ditto. | |
8443 | (cached_make_edge): Ditto. | |
8444 | ||
8445 | * Makefile.in (cfg.o): Add alloc-pool.h dependency. | |
8446 | ||
8447 | 2003-01-07 Daniel Berlin <dberlin@dberlin.org> | |
8448 | ||
8449 | * et-forest.c: Include alloc-pool.h. | |
8450 | (struct et_forest): Add node_pool and occur_pool. | |
8451 | (et_forest_create): Create the new pools. | |
8452 | (et_forest_delete): Delete them. | |
8453 | (et_forest_add_node): Allocate and free using pools. | |
8454 | (et_forest_add_edge): Ditto. | |
8455 | (et_forest_remove_node): Ditto. | |
8456 | (et_forest_remove_edge): Ditto. | |
8457 | ||
8458 | * Makefile.in (et-forest.o): Add alloc-pool.h dependency. | |
8459 | ||
f9ac2f95 KH |
8460 | 2003-01-07 Kazu Hirata <kazu@cs.umass.edu> |
8461 | ||
8462 | * config/h8300/h8300.c (output_logical_op): Simplify and | |
8463 | optimize the handling of SImode. | |
8464 | * config/h8300/h8300.c (compute_logical_op_length): Update | |
8465 | accordingly. | |
8466 | * config/h8300/h8300.c (compute_logical_op_cc): Likewise. | |
8467 | ||
83282119 RS |
8468 | 2003-01-07 Richard Sandiford <rsandifo@redhat.com> |
8469 | ||
8470 | * config/mips/mips.c (mips_va_arg): In the EABI code, apply the | |
8471 | big-endian correction to indirect arguments too. | |
8472 | ||
59a4c851 AH |
8473 | 2003-01-06 Aldy Hernandez <aldyh@redhat.com> |
8474 | ||
8475 | Segher Boessenkool <segher@koffie.nl> | |
8476 | ||
36210500 SP |
8477 | * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers. |
8478 | (alt_reg_names): Ditto, fix formatting. | |
8479 | * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting. | |
59a4c851 | 8480 | |
7798db98 KH |
8481 | 2003-01-06 Kazu Hirata <kazu@cs.umass.edu> |
8482 | ||
8483 | * config/h8300/h8300.c (final_prescan_insn): Constify uid. | |
8484 | (output_logical_op): Constify intval and det. | |
8485 | (compute_logical_length): Likewise. | |
8486 | (compute_logical_cc): Likewise. | |
8487 | (output_a_shift): Constify mask. | |
8488 | (h8300_encode_label): Constify len. | |
8489 | ||
4705d102 KH |
8490 | 2003-01-06 Kazu Hirata <kazu@cs.umass.edu> |
8491 | ||
8492 | * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize. | |
8493 | (h8300_expand_epilogue): Likewise. | |
8494 | ||
98c9a8e8 AH |
8495 | 2003-01-06 Aldy Hernandez <aldyh@redhat.com> |
8496 | ||
8497 | Segher Boessenkool <segher@koffie.nl> | |
8498 | ||
36210500 SP |
8499 | * config/rs6000/altivec.md: Remove spaces from assembler |
8500 | instruction argument lists. | |
07488f32 | 8501 | |
86143814 MH |
8502 | 2003-01-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
8503 | ||
8504 | * config/c4x/c4x.c (c4x_naked_function_p): Rename from | |
8505 | c4x_assembler_function_p. | |
8506 | (c4x_null_epilogue_p): Complement return value, all uses updated. | |
8507 | (c4x_insert_attributes): Add naked. | |
8508 | * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses. | |
8509 | * doc/extend.texi: Update C4x function attributes. | |
8510 | ||
52fd80fb RH |
8511 | 2003-01-06 Richard Henderson <rth@redhat.com> |
8512 | ||
8513 | * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str | |
8514 | properly when changing "local-ness". | |
8515 | * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols. | |
8516 | ||
a16b43c5 DJ |
8517 | 2003-01-06 Dale Johannesen <dalej@apple.com> |
8518 | ||
8519 | * config/darwin-protos.h: Add prototypes for new section functions. | |
8520 | ||
ef8dfae6 CD |
8521 | 2003-01-06 Chris Demetriou <cgd@broadcom.com> |
8522 | ||
8523 | * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI | |
8524 | to EABI. | |
8525 | ||
44f9a8e4 ZW |
8526 | 2003-01-06 Zack Weinberg <zack@codesourcery.com> |
8527 | ||
8528 | * hwint.h: If the current compiler has no 64-bit type at all, | |
8529 | make HOST_WIDEST_INT 32 bits. | |
8530 | ||
2610198a EC |
8531 | 2003-01-06 Eric Christopher <echristo@redhat.com> |
8532 | ||
8533 | * config/mips/mips.md (movdf_internal2): Fix constraints. | |
8534 | ||
efbd757f KH |
8535 | 2003-01-06 Kazu Hirata <kazu@cs.umass.edu> |
8536 | ||
8537 | * config/h8300/h8300.md (*twoshifts_l16_r1): New. | |
8538 | ||
727b9b8c RS |
8539 | 2003-01-06 Richard Sandiford <rsandifo@redhat.com> |
8540 | ||
8541 | * config/mips/mips.md (leadi): Use dla rather than la. | |
8542 | ||
4705d102 | 8543 | 2003-01-06 Svein E. Seldal <Svein.Seldal@solidas.com> |
cebdac46 SS |
8544 | |
8545 | * config/c4x/c4x.h: Updated specs for new gas format. Fixed bug | |
8546 | in C33_FLAG. Added proper C33 support in ASM_FILE_START macro. | |
8547 | ||
4705d102 | 8548 | 2003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl> |
fe1e789f | 8549 | |
44f9a8e4 | 8550 | * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX |
fe1e789f HB |
8551 | redefinition. |
8552 | ||
dff0ea43 KH |
8553 | 2003-01-05 Kazu Hirata <kazu@cs.umass.edu> |
8554 | ||
8555 | * config/h8300/h8300.md (*extzv_8_23): New. | |
8556 | ||
94e6fd3e JDA |
8557 | 2003-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8558 | ||
8559 | * pa64-hpux.h (JCR_SECTION_NAME): Define. | |
8560 | (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of | |
8561 | USE_EH_FRAME_REGISTRY when defining. | |
8562 | ||
cd9b5ca8 KH |
8563 | 2003-01-05 Kazu Hirata <kazu@cs.umass.edu> |
8564 | ||
8565 | * config/h8300/h8300.c (output_a_shift): Do not output a | |
8566 | variable shift. | |
8567 | * config/h8300/h8300.md (two splitters): New. | |
8568 | ||
1ba8a9c4 RS |
8569 | 2003-01-05 Richard Sandiford <rsandifo@redhat.com> |
8570 | ||
8571 | * config/mips/mips.md: Disable the movstrsi define_split. | |
8572 | ||
c7c50494 KG |
8573 | 2003-01-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8574 | ||
8575 | * alloc-pool.c: Don't include "libiberty.h". | |
8576 | * config/sparc/gmon-sol2.c: Include <fcntl.h>. | |
8577 | * convert.c (convert_to_real): Hide unused variable. | |
8578 | ||
83fa8d7a KG |
8579 | 2003-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8580 | ||
8581 | * Makefile.in (gtyp-gen.h): Const-ify. | |
8582 | * gcov-dump.c (tag_table): Likewise. | |
8583 | ||
871dab3e BK |
8584 | 2003-01-04 Bruce Korb <bkorb@gnu.org> |
8585 | ||
8586 | * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function | |
8587 | of *both* the file name and the fix name. | |
8588 | ||
90961eff | 8589 | 2003-01-04 John David Anglin <dave.anglin@nrc.ca> |
35d434ed JDA |
8590 | |
8591 | * config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use | |
8592 | collect2. | |
8593 | * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine. | |
8594 | (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define. | |
8595 | * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP, | |
8596 | GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP, | |
8597 | GNU_FINI_ARRAY_SECTION_ASM_OP): Define. | |
8598 | (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using | |
8599 | elfos.h. | |
8600 | (EH_FRAME_IN_DATA_SECTION): Delete define. | |
8601 | (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine. | |
8602 | (STARTFILE_SPEC): Use crtbegin.o. | |
8603 | (ENDFILE_SPEC): Use crtend.o. | |
8604 | (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION, | |
8605 | SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK, | |
8606 | PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB, | |
8607 | DTOR_LIST_BEGIN): Define. | |
8608 | * pa.c (TARGET_ASM_CONSTRUCTOR): Define. | |
8609 | (pa_asm_out_constructor, pa_asm_out_destructor): New functions. | |
8610 | * som.h (SUPPORTS_INIT_PRIORITY): Delete define. | |
8611 | ||
b0588013 BK |
8612 | 2002-12-31 Larin Hennessy <larin@science.oregonstate.edu> |
8613 | ||
8614 | * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur. | |
8615 | * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX, | |
8616 | m88k-*-sysv3*, Sony NewsOS. Remove references to i860. | |
8617 | Cleanup handling of replacement text. | |
8618 | * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1* | |
8619 | ||
8620 | 2003-01-04 Bruce Korb <bkorb@gnu.org> | |
8621 | ||
8622 | * fixinc/tests/base/math.h: removed obsolete results | |
8623 | * fixinc/tests/base/stdlib.h: ditto | |
8624 | * fixinc/tests/base/sys/param.h: ditto | |
8625 | * fixinc/tests/base/sys/stat.h: ditto | |
8626 | * fixinc/tests/base/time.h: ditto | |
8627 | * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file | |
8628 | * fixinc/tests/base/sys/byteorder.h: ditto | |
8629 | * fixinc/inclhack.def: Remove superfluous backslashes | |
8630 | ||
68ee6df6 KH |
8631 | 2003-01-04 Kazu Hirata <kazu@cs.umass.edu> |
8632 | ||
8633 | * config/h8300/h8300-protos.h: Add prototypes for | |
8634 | the new functions defined below. | |
8635 | * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not | |
8636 | define. | |
8637 | (dosize): Emit RTL instead of assembly code. | |
8638 | (push): Likewise. | |
8639 | (pop): Likewise. | |
8640 | (h8300_output_function_prologue): Remove. | |
8641 | (h8300_expand_prologue): New. | |
8642 | (h8300_expand_epilogue): New. | |
8643 | (h8300_output_function_epilogue): Do only the reset of | |
8644 | pragma_saveall. | |
8645 | * config/h8300/h8300.md (push_h8300): New. | |
8646 | (push_h8300hs): Likewise. | |
8647 | (pop_h8300): Likewise. | |
8648 | (pop_h8300hs): Likewise. | |
8649 | (*stm_h8300s_2): Change the name to stm_h8300s_2. | |
8650 | (*stm_h8300s_3): Change the name to stm_h8300s_3. | |
8651 | (*stm_h8300s_4): Change the name to stm_h8300s_4. | |
8652 | (*ldm_h8300s_2): New. | |
8653 | (*ldm_h8300s_3): Likewise. | |
8654 | (*ldm_h8300s_4): Likewise. | |
8655 | (return): Likewise. | |
8656 | (*return_1): Likewise. | |
8657 | (prologue): Likewise. | |
8658 | (epilogue): Likewise. | |
8659 | (monitor_prologue): Likewise. | |
8660 | ||
d3c300d2 DJ |
8661 | 2003-01-03 Dale Johannesen <dalej@apple.com> |
8662 | ||
8663 | * config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1, | |
8664 | machopic_picsymbol_stub1. | |
8665 | (EXTRA_SECTION_FUNCTIONS): Ditto. | |
8666 | * rs6000/rs6000.c: Update copyright. | |
8667 | (machopic_output_stub): Use them. Remove an insn from stub code. | |
8668 | ||
6cce57b0 JM |
8669 | 2003-01-02 Jason Merrill <jason@redhat.com> |
8670 | ||
4e8dca1c JM |
8671 | * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better. |
8672 | ||
8673 | * integrate.c (copy_decl_for_inlining): Don't clear the rtl for | |
8674 | static/external decls. | |
2610198a | 8675 | |
6cce57b0 JM |
8676 | * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the |
8677 | outermost scope. | |
8678 | * c-decl.c (c_make_fname_decl): Push the decls there, too. | |
8679 | ||
e392d367 KH |
8680 | 2003-01-03 Kazu Hirata <kazu@cs.umass.edu> |
8681 | ||
8682 | * config/h8300/h8300-protos.h: Add a prototype for | |
8683 | h8300_current_function_interrupt_function_p. | |
8684 | * config/h8300/h8300.c (interrupt_handler): Remove. | |
8685 | (os_task): Likewise. | |
8686 | (monitor): Likewise. | |
8687 | (pragma_interrupt): New. | |
8688 | (WORD_REG_USED): Use | |
8689 | h8300_current_function_interrupt_function_p. | |
8690 | (dosize): Likewise. | |
8691 | (h8300_output_function_prologue): Likewise. | |
8692 | Do not set interrupt_handler, os_task, monitor. | |
8693 | (h8300_output_function_prologue): Use | |
8694 | h8300_current_function_interrupt_function_p. | |
8695 | Do not set interrupt_handler, os_task, monitor. | |
8696 | (h8300_current_function_interrupt_function_p): New. | |
8697 | (h8300_pr_interrupt): Set pragma_interrupt. | |
8698 | (h8300_insert_attributes): Reset pragma_interrupt. | |
8699 | ||
b15da5b7 GP |
8700 | 2003-01-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
8701 | ||
8702 | * doc/install.texi (Configuration): Fix markup for reference to | |
8703 | gcc/config.gcc. | |
8704 | ||
bf16e745 KH |
8705 | 2003-01-02 Kazu Hirata <kazu@cs.umass.edu> |
8706 | ||
8707 | * config/h8300/h8300.md (*iorhi3_zext): Relax the condition. | |
8708 | (*iorhi3_two_qi): Likewise. | |
8709 | (*iorsi3_zexthi): Likewise. | |
8710 | (*xorhi3_zextqi): Likewise. | |
8711 | (*xorsi3_zexthi): Likewise. | |
8712 | (*xorsi3_zextqi): Likewise. | |
8713 | ||
8ccf5d5f KH |
8714 | 2003-01-02 Kazu Hirata <kazu@cs.umass.edu> |
8715 | ||
8716 | * config/h8300/h8300.c (stack_pointer_operand): New. | |
8717 | (const_int_gt_2_operand): Likewise. | |
8718 | (const_int_ge_8_operand): Likewise. | |
8719 | * config/h8300/h8300.md (a splitter): Likewise. | |
8720 | (a peephole2): Likewise. | |
8721 | * config/h8300/h8300-protos.h: Add prototypes for the new | |
8722 | functions above. | |
8723 | ||
43c6a96a SB |
8724 | 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl> |
8725 | ||
8726 | * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h, | |
8727 | objc/objc-act.h: Fix copyright years. | |
8728 | ||
96c4e780 SB |
8729 | 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl> |
8730 | ||
8731 | * doc/passes.texi: Fix documentation for -fssa-ccp | |
8732 | ||
8ed0a104 NB |
8733 | 2003-01-02 Neil Booth <neil@daikokuya.co.uk> |
8734 | ||
8735 | * gccbug.in: Update for new categories. | |
8736 | ||
1b9f0361 KH |
8737 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
8738 | ||
8739 | * config/h8300/h8300.md: Reorder some patterns. | |
8740 | ||
dc5f17ec KH |
8741 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
8742 | ||
8743 | * config/h8300/h8300.c (output_logical_op): Fix a warning. | |
8744 | ||
cd2801fb NB |
8745 | 2003-01-01 Neil Booth <neil@daikokuya.co.uk> |
8746 | ||
8747 | * config/darwin-protos.h, config/c4x/c4x-protos.h, | |
8748 | config/cris/cris-protos.h, config/i370/i370-protos.h, | |
8749 | config/i960/i960-protos.h, config/ia64/ia64-protos.h, | |
8750 | config/v850/v850-protos.h: Use struct, and don't conditionally | |
8751 | compile on GCC_C_PRAGMA_H. | |
8752 | ||
378b1b8e KH |
8753 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
8754 | ||
8755 | * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H. | |
8756 | * config/h8300/h8300-protos.h: Likewise. | |
8757 | * config/sh/sh-protos.h: Likewise. | |
8758 | ||
7106a5bc KH |
8759 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
8760 | ||
8761 | * config/arm/arm-protos.h: Use struct cpp_reader instead of | |
8762 | cpp_reader. | |
8763 | * config/h8300/h8300-protos.h: Likewise. | |
8764 | * config/sh/sh-protos.h: Likewise. | |
8765 | ||
231b51a1 NB |
8766 | 2003-01-01 Neil Booth <neil@daikokuya.co.uk> |
8767 | ||
8768 | * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls, | |
8769 | arm_pr_long_calls_off): Use struct. | |
8770 | * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall) | |
8771 | : Similarly. | |
8772 | Don't include cpplib.h. | |
8773 | * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa, | |
8774 | sh_pr_nosave_low_regs): Similarly. | |
8775 | ||
0f18b2b0 KH |
8776 | 2003-01-01 Kazu Hirata <kazu@cs.umass.edu> |
8777 | ||
8778 | * config/h8300/h8300.c: Include cpplib.h. | |
8779 | ||
b9593599 SB |
8780 | 2003-01-01 Steven Bosscher <s.bosscher@student.tudelft.nl> |
8781 | ||
8782 | * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h, | |
8783 | objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h, | |
8784 | objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with | |
8785 | "GCC" in the copyright header. | |
8786 | ||
c58b209a NB |
8787 | 2003-01-01 Neil Booth <neil@daikokuya.co.uk> |
8788 | ||
8789 | * c-pragma.c (c_register_pragma): New. | |
8790 | (init_pragma): Use it. | |
8791 | * c-pragma.h (cpp_register_pragma): Don't declare. | |
8792 | (c_register_pragma): New. | |
8793 | * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H. | |
8794 | * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update. | |
8795 | * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update. | |
8796 | * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update. | |
8797 | * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update. | |
8798 | * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update. | |
8799 | * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update. | |
8800 | * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update. | |
8801 | * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update. | |
8802 | * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update. | |
8803 | * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update. | |
8804 | * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update | |
8805 | ||
7210d5ae | 8806 | See ChangeLog.8 for earlier changes. |