]>
Commit | Line | Data |
---|---|---|
cac01076 JJ |
1 | 2002-05-05 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | PR target/6561 | |
4 | * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2. | |
5 | ||
98791e3a RH |
6 | 2002-05-05 Richard Henderson <rth@redhat.com> |
7 | ||
8 | * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but | |
9 | memory latency adjustments. | |
10 | (alpha_variable_issue): Remove. | |
11 | (alpha_use_dfa_pipeline_interface): New. | |
12 | (alpha_multipass_dfa_lookahead): New. | |
13 | * config/alpha/alpha.md: Remove define_function_unit scheduling; | |
14 | include new dfa scheduling. | |
15 | (attr type): Add none. | |
16 | (blockage): Use it. | |
17 | * config/alpha/ev4.md: New. | |
18 | * config/alpha/ev5.md: New. | |
19 | * config/alpha/ev6.md: New. | |
20 | ||
309527ce DM |
21 | 2002-05-05 David S. Miller <davem@redhat.com> |
22 | ||
23 | * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL. | |
24 | ||
68252e27 KH |
25 | 2002-05-05 Kazu Hirata <kazu@cs.umass.edu> |
26 | ||
27 | * cse.c: Fix formatting. | |
28 | * emit-rtl.c: Likewise. | |
29 | ||
30cc9d00 VM |
30 | 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> |
31 | ||
32 | * genautomata.c (initiate_states): Add additional guard to | |
33 | initialize `units_array'. | |
34 | ||
deb09eff VM |
35 | 2002-05-05 Vladimir Makarov <vmakarov@redhat.com> |
36 | ||
37 | * genautomata.c (form_the_same_automaton_unit_lists_from_regexp, | |
38 | process_unit_to_form_the_same_automaton_unit_lists, | |
39 | form_the_same_automaton_unit_lists | |
40 | check_unit_distributions_to_automata): New prototypes and | |
41 | functions. | |
42 | (check_automata): Rename it into `check_automata_insn_issues'. | |
43 | (unit_decl): New fields `the_same_automaton_unit' and | |
44 | `the_same_automaton_message_reported_p'. | |
45 | (unit_decl_t): New typedef. | |
46 | (the_same_automaton_lists): New gloval variable. | |
47 | (unit_regexp, unit_set_el, units_array, units_cmp, | |
48 | output_get_cpu_unit_code_func): Use the typedef. | |
49 | (evaluate_max_reserv_cycles): Increment | |
50 | `description->max_insn_reserv_cycles'. | |
51 | (initiate_states): Don't increment `max_cycles_num'. | |
52 | (transform_insn_regexps): Move code around transformation of | |
53 | regexps from `generate'. | |
54 | (generate): Remove call of `transform_insn_regexps'. | |
55 | (expand_automata): Call `transform_insn_regexps' and | |
56 | `check_unit_distributions_to_automata'. Check errors before | |
57 | `generate'. | |
58 | ||
59 | * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into | |
60 | automaton `ultrasparc3_1'. | |
61 | ||
2443d4e1 NB |
62 | 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk> |
63 | ||
64 | * c-common.c (c_common_init): Set up CPP arithmetic. | |
65 | * cppinit.c (cpp_create_reader): Default CPP arithmetic to | |
66 | something reasonable for the host. | |
67 | (sanity_checks): Add checks. | |
68 | (cpp_read_main_file): Call sanity_checks() from here... | |
69 | (cpp_post_options): ... not here. | |
70 | * cpplex.c (cpp_interpret_charconst): Get max_chars right. | |
71 | * cpplib.h (struct cpp_options): New member int_precision. | |
72 | ||
791a949f FS |
73 | 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
74 | ||
75 | * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements. | |
76 | ||
091fb516 DM |
77 | 2002-05-04 David S. Miller <davem@redhat.com> |
78 | ||
f60ebeb7 DM |
79 | * config/sparc/linux.h, config/sparc/linux64.h |
80 | (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice. | |
81 | ||
214c6394 DM |
82 | * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of |
83 | more RTX codes. | |
84 | * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes. | |
85 | ||
091fb516 DM |
86 | * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL |
87 | of SETs. | |
88 | ||
f2fdc802 TJ |
89 | 2002-05-05 Tim Josling <tej@melbpc.org.au> |
90 | ||
91 | * treelang; New directory for new sample language treelang. | |
92 | ||
3d90d290 NB |
93 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
94 | ||
95 | * Makefile.in (c-lex.o): Update. | |
96 | * c-lex.c: Include target.h. | |
97 | (cb_register_builtins): New. | |
98 | (init_c_lex): Set builtins callback. | |
99 | * c-lex.h (cpp_define, cpp_assert): New prototypes. | |
100 | * cppinit.c (init_builtins): Use callback, including for | |
101 | GXX_WEAK. | |
102 | * cpplib.h (struct cpp_callbacks): New member. | |
103 | * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New. | |
104 | (TARGET_INITIALIZER): Update. | |
105 | * target.h (struct gcc_target): New hook. | |
106 | * tree.c (default_register_cpp_builtins): New. | |
107 | * tree.h (default_register_cpp_builtins): New. | |
108 | doc: | |
109 | * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document. | |
110 | ||
625458d0 NB |
111 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
112 | ||
113 | * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h | |
114 | (cpp_post_options): Move sanity checks to... | |
115 | (sanity_checks): New. | |
116 | * cpplex.c (maybe_read_ucs): Fix prototype. | |
117 | (parse_string, cpp_parse_escape): Cast for %c format specifier. | |
118 | * cpplib.h (cppchar_t): Use unsigned long or unsigned long long | |
119 | if necessary. | |
120 | ||
916b60b7 BS |
121 | 2002-05-04 Bernd Schmidt <bernds@redhat.com> |
122 | ||
123 | * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2 | |
124 | builtins. Use V2DI patterns instead of TI for logical operations. | |
125 | (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins. | |
126 | Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps. | |
127 | (ix86_expand_builtins): Change the pattern used for movntdq. | |
128 | * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3, | |
129 | sse2_nandv2di3): New patterns. | |
130 | (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes | |
131 | on operands. | |
132 | (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted. | |
133 | (cvtdq2pd): Correct mode on operand 1. | |
134 | (sse2_umulsidi3): Describe without unspec. | |
135 | (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate | |
136 | machine modes. | |
137 | (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec. | |
138 | (ashlv2di3): Likewise, from sse2_ashlv2di3. | |
139 | (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3, | |
140 | ashlv4si3, ashlv2di3): Use SImode for shift count. | |
141 | (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti, | |
142 | lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti): | |
143 | New patterns. | |
144 | * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi): | |
145 | New typedefs. | |
146 | (__m128i, __m128d): New macros. | |
147 | (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd, | |
148 | _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd, | |
149 | _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd, | |
150 | _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd, | |
151 | _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd, | |
152 | _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd, | |
153 | _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd, | |
154 | _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd, | |
155 | _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd, | |
156 | _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd, | |
157 | _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd, | |
158 | _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd, | |
159 | _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd, | |
160 | _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps, | |
161 | _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32, | |
162 | _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32, | |
163 | _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd, | |
164 | _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd, | |
165 | _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16, | |
166 | _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32, | |
167 | _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32, | |
168 | _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64, | |
169 | _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16, | |
170 | _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64, | |
171 | _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16, | |
172 | _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16, | |
173 | _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64, | |
174 | _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32, | |
175 | _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64, | |
176 | _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32, | |
177 | _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128, | |
178 | _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32, | |
179 | _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16, | |
180 | _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8, | |
181 | _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16, | |
182 | _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd, | |
183 | _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New | |
184 | functions. | |
185 | (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32, | |
186 | _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros. | |
187 | ||
c26fbbca KH |
188 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
189 | ||
190 | * dwarf2out.c: Fix formatting. | |
191 | * varasm.c: Likewise. | |
192 | ||
0387639b DE |
193 | 2002-05-04 David Edelsohn <edelsohn@gnu.org> |
194 | ||
195 | PR c/6543 | |
196 | * config/rs6000/rs6000.md (sCC pattern and splitter): Remove | |
197 | clobber and use result as temporary value. | |
198 | ||
8a28dbcc JH |
199 | Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz> |
200 | ||
201 | * expr.c (force_operand): Use expand_simple_* to handle more | |
202 | cases. | |
203 | ||
4268e8bb NB |
204 | 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk> |
205 | ||
206 | * c-lex.c (lex_string): Let cpp_parse_escape handles truncation | |
207 | and sign-extension. | |
208 | (lex_charconst): Update for change in prototype of | |
209 | cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT | |
210 | appropriately. | |
211 | * cpphash.h (BITS_PER_CPPCHAR_T): New. | |
212 | * cppinit.c (cpp_create_reader): Initialize them for no | |
213 | change in semantics. | |
214 | (cpp_post_options): Add sanity checks. | |
215 | * cpplex.c (cpp_parse_escape): Handle precision, sign-extension | |
216 | and truncation issues. Calculate in type cppchar_t. | |
217 | (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove. | |
218 | (cpp_interpret_charconst): Calculate in type cppchar_t. Handle | |
219 | run-time dependent precision correctly. Return whether the | |
220 | result is signed or not. | |
221 | * cpplib.c (dequote_string): Use cppchar_t; update. | |
222 | * cpplib.h (cppchar_signed_t): New. | |
223 | struct cpp_options): New precision members. | |
224 | (cpp_interpret_charconst, cpp_parse_escape): Update prototypes. | |
ae1a07e0 | 225 | * cppexp.c (eval_token): Update. |
4268e8bb | 226 | |
af54350e DM |
227 | 2002-05-03 David S. Miller <davem@redhat.com> |
228 | ||
2ce04b6b DM |
229 | * config/sparc/sparc-protos.h (sparc_rtx_costs): New. |
230 | * config/sparc/sparc.c (sparc_rtx_costs): New function | |
231 | implementing RTX_COSTS and CONST_COSTS. | |
232 | * config/sparc/sparc.h (CONST_COSTS): Delete. | |
233 | (RTX_COSTS_CASES): Define. | |
234 | (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do | |
235 | the work. | |
236 | ||
a1d9bd0c DM |
237 | * config/sparc/sparc.md (DFA schedulers): Split out... |
238 | * config/sparc/cypress.md, config/sparc/hypersparc.md, | |
239 | config/sparc/sparclet.md, config/sparc/supersparc.md, | |
240 | config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here. | |
241 | ||
e87bb82e DM |
242 | * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef |
243 | checks on it, always defined for Sparc. | |
244 | ||
af54350e DM |
245 | * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): |
246 | Tweak, and add more detailed comments. | |
247 | ||
935bfb44 ZW |
248 | 2002-05-03 Zack Weinberg <zack@codesourcery.com> |
249 | ||
250 | * Re-apply patch accidentally reverted with | |
251 | DFA scheduler merge: remove all rules and variables to slurp | |
252 | source files out of libiberty and rebuild them with HOST_CC. | |
253 | ($(HOST_PREFIX_1)varray.o): New rule. | |
254 | (genattrtab rule): Word wrap. | |
255 | ||
fa7a0712 JT |
256 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
257 | ||
258 | * config/i386/netbsd64.h (CPP_LP64_SPEC): Define. | |
259 | (CPP_SUBTARGET_SPEC): Define. | |
260 | (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and | |
261 | cpp_subtarget specs. | |
262 | (CPP_SPEC): Redefine to include %(cpp_subtarget). | |
263 | ||
14c93978 DM |
264 | 2002-05-03 David S. Miller <davem@redhat.com> |
265 | ||
266 | * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete. | |
267 | * target.h (struct gcc_target): Delete cycle_display member. | |
268 | ||
14d118d6 DM |
269 | * config/ia64/ia64.c (ia64_emit_insn_before): Put it back. |
270 | (rtx_needs_barrier): Delete reference to cycle_display unspec. | |
271 | (ia64_sched_reorder2): Mention need for cycle display handling | |
272 | once such notes exist. | |
935bfb44 | 273 | |
b3ae1ccd RH |
274 | 2002-05-03 Richard Henderson <rth@redhat.com> |
275 | ||
276 | * real.c (etoasc): Strip most trailing zeros for clarity. | |
277 | * sched-vis.c: Include real.h. | |
278 | (print_value): Use REAL_VALUE_TO_DECIMAL as needed. | |
279 | * Makefile.in (sched-vis.o): Add real.h. | |
280 | ||
8f39865a DM |
281 | 2002-05-03 David S. Miller <davem@redhat.com> |
282 | ||
283 | * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change, | |
284 | no longer needed. | |
285 | ||
b44140e7 AH |
286 | 2002-05-03 Aldy Hernandez <aldyh@redhat.com> |
287 | ||
935bfb44 ZW |
288 | * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out |
289 | when we get an out of range literal. | |
290 | (altivec_expand_ternop_builtin): Same. | |
291 | (altivec_expand_unop_builtin): Same. | |
292 | (altivec_expand_builtin): Same, for dss. | |
293 | (altivec_expand_builtin): Use trees instead of rtl when | |
294 | determining literal argument validity. | |
b44140e7 | 295 | |
aaaed752 DM |
296 | 2002-05-03 David S. Miller <davem@redhat.com> |
297 | ||
298 | Delete cycle display scheduling hook. | |
299 | * config/ia64/ia64.c (ia64_cycle_display, | |
300 | TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete. | |
301 | (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display | |
302 | and use emit_insn_before instead of ia64_emit_insn_before. | |
303 | * config/ia64/ia64.md (unspec usage): Delete cycle display. | |
304 | (cycle_display): Delete insn pattern. | |
305 | * config/sparc/sparc.md (unspec usage): Delete cycle display. | |
306 | (cycle_display): Delete insn pattern. | |
307 | * config/sparc/sparc.c (sparc_cycle_display, | |
308 | TARGET_SCHED_CYCLE_DISPLAY): Delete. | |
309 | * doc/md.texi (cycle_display): Don't mention. | |
310 | * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise. | |
935bfb44 | 311 | |
b37c2614 RH |
312 | 2002-05-03 Richard Henderson <rth@redhat.com> |
313 | ||
314 | * recog.c (store_data_bypass_p, if_test_bypass_p): New. | |
315 | * recog.h: Declare them. | |
316 | ||
317 | * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove. | |
318 | * config/sparc/sparc.md: Use store_data_bypass_p instead. | |
319 | * config/sparc/sparc-protos.h: Update. | |
935bfb44 | 320 | |
e1c1132e JT |
321 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
322 | ||
323 | * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove | |
324 | -D__arch64__. Add -D_LP64. | |
325 | (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version | |
326 | from sparc.h. | |
327 | (CPP_ARCH64_SPEC): Likewise. | |
328 | (NO_BUILTIN_PTRDIFF_TYPE): Undef. | |
329 | (NO_BUILTIN_SIZE_TYPE): Undef. | |
330 | ||
0b2fb0d7 VM |
331 | 2002-05-03 Vladimir Makarov <vmakarov@redhat.com> |
332 | ||
333 | * genautomata.c (min_issue_delay_pass_states): Change return type | |
334 | in the prototype. | |
335 | (min_issue_delay_pass_states): Change the algorithm. | |
336 | (min_issue_delay): Set up min_insn_issue_delay for the state. | |
337 | (output_min_issue_delay_table): Interchange the nested loops and | |
338 | and initiate min_insn_issue_delay for states. | |
935bfb44 | 339 | |
3d4ce12a JH |
340 | Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz> |
341 | ||
342 | * cfgcleanup.c (try_optimize_cfg): Call merge_block only when | |
343 | jump is simplejump. | |
344 | ||
345 | Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz> | |
37ad04a5 JH |
346 | |
347 | * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops | |
348 | sequence. | |
349 | ||
b5482208 RH |
350 | 2002-05-03 Richard Henderson <rth@redhat.com> |
351 | ||
352 | PR opt/6534 | |
353 | * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, | |
354 | noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove, | |
355 | noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new | |
356 | code before JUMP, not EARLIEST. | |
357 | ||
5a3085c5 JM |
358 | 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk> |
359 | ||
360 | * c-format.c (check_format_info_main): Don't check for presence of | |
361 | parameter for * width until after operand number has been read, | |
362 | and only check for it if format parameters are available. | |
363 | Fixes PR c/6547. | |
364 | ||
40039424 JT |
365 | 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com> |
366 | ||
367 | * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64. | |
368 | (LINK_SPEC): Undef before defining. | |
369 | ||
8157303b JJ |
370 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
371 | ||
372 | PR preprocessor/6489 | |
373 | * tradcpp.c (fixup_newlines): New. | |
374 | (main, finclude): Use it. | |
375 | ||
66319f5c RS |
376 | 2002-05-03 Richard Sandiford <rsandifo@redhat.com> |
377 | ||
378 | * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section. | |
379 | * config/mips/mips.c (mips_unique_section): Strip encoding from | |
380 | decl name. | |
381 | ||
ce8076ad JJ |
382 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
383 | ||
384 | * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper | |
385 | mode. | |
386 | ||
975c6e4e RO |
387 | 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
388 | ||
389 | * doc/install.texi (Installing): Mention GCC 3.1 buildstats. | |
390 | (Specific): Removed buildstats references. | |
391 | (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0. | |
392 | (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1. | |
393 | Accomodate Solaris versions beyond 8. | |
394 | (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1. | |
395 | (Specific, *-*-solaris2.8): Removed, obsolete. | |
396 | ||
d70e94ec JJ |
397 | 2002-05-03 Jakub Jelinek <jakub@redhat.com> |
398 | ||
399 | PR target/6542 | |
400 | * config/sparc/sparc.h (leaf_reg_remap): Remove const. | |
401 | (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make | |
402 | fill leaf_reg_remap with identity. | |
403 | * config/sparc/sparc.c (leaf_reg_remap): Remove const. | |
404 | ||
6b148bd9 KH |
405 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
406 | ||
407 | * config/h8300/crti.asm: Remove trailing spaces. | |
408 | * config/h8300/h8300.c: Likewise. | |
409 | * config/h8300/lib1funcs.asm: Likewise. | |
410 | ||
609688f3 JM |
411 | 2002-05-02 Jason Merrill <jason@redhat.com> |
412 | ||
413 | * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c. | |
414 | * c-decl.c (c_init_decl_processing): Use it. | |
415 | * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE. | |
416 | * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define. | |
417 | * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define. | |
418 | ||
3b03c671 KH |
419 | 2002-05-03 Kazu Hirata <kazu@cs.umass.edu> |
420 | ||
421 | * regrename.c: Fix formatting. | |
422 | * tree.c: Likewise. | |
423 | ||
3b4961bd JH |
424 | Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz> |
425 | ||
426 | * i386.md (attribute memory): Handle compares properly. | |
427 | ||
19cba4a0 JH |
428 | Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz> |
429 | ||
3b4961bd | 430 | * i386.md (sse_clrsf, sse_clrsi): Set memory attribute |
19cba4a0 JH |
431 | to none. |
432 | ||
797a6ac1 KH |
433 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
434 | ||
435 | * function.c: Fix formatting. | |
436 | ||
6d0de005 JH |
437 | 2002-05-02 Jan Hubicka <jh@suse.cz> |
438 | ||
439 | * haifa-sched.c (schedule_insn): Print table of instructions and | |
440 | reservations. | |
441 | (sched_block): Do not print ready list at verbosity level 1. | |
442 | * sched-vis.c (print_insn): Make global. | |
443 | * sched-ebb.c (ebb_print_insn): Rename from... | |
444 | (print_insn): ... this one. | |
445 | * sched-int.h (print_insn): Declare | |
446 | ||
0bfb9a69 RH |
447 | 2002-05-02 Richard Henderson <rth@redhat.com> |
448 | ||
449 | * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn | |
450 | emitted by cycle_display. | |
451 | ||
6b976d99 LR |
452 | 2002-05-02 Loren J. Rittle <ljrittle@acm.org> |
453 | ||
454 | * doc/install.texi (*-*-freebsd*): Update to latest status. | |
455 | ||
0a295052 JJ |
456 | 2002-05-02 Jakub Jelinek <jakub@redhat.com> |
457 | ||
458 | PR target/6540 | |
459 | * config.gcc (sparc*-*-solaris2*): Set float_format to i128. | |
460 | * config/float-sparc.h: Assume 128-bit long double if | |
461 | __LONG_DOUBLE_128__ is defined. | |
462 | ||
842d5d6c VM |
463 | 2002-05-02 Vladimir Makarov <vmakarov@redhat.com> |
464 | ||
465 | * genattrtab.c (write_function_unit_info): Add a dummy element | |
466 | when num_units == 0. | |
467 | ||
3d7a6309 HB |
468 | 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
469 | ||
470 | * predict.c: (propagate_freq, estimate_bb_frequencies): Use | |
471 | TYPE_MODE (double_type_node) instead of DFmode. | |
472 | ||
1b6763cf JH |
473 | Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz> |
474 | ||
475 | * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed | |
476 | jumps post reload. | |
477 | * toplev.c (rest_of_compilation): Revert Richard's patch. | |
478 | ||
b303008e JDA |
479 | 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
480 | ||
481 | * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS. | |
482 | ||
6ed7412a CM |
483 | 2002-05-02 Catherine Moore <clm@redhat.com> |
484 | ||
485 | * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20. | |
486 | ||
e0a2f705 KH |
487 | 2002-05-02 Kazu Hirata <kazu@hxi.com> |
488 | ||
b32d6163 | 489 | * combine.c: Fix comment typos. |
e0a2f705 KH |
490 | * expr.c: Likewise. |
491 | * genautomata.c: Likewise. | |
492 | * stmt.c: Likewise. | |
493 | * tree.h: Likewise. | |
494 | ||
38e23049 JM |
495 | 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk> |
496 | ||
497 | * doc/install.texi: State GNAT version requirements. | |
498 | ||
40f4a97d NC |
499 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
500 | ||
501 | * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form | |
502 | of the frame pointer or arg pointer register which strict register | |
503 | checking is not enabled. | |
504 | ||
0d6d6892 AH |
505 | 2002-05-02 Aldy Hernandez <aldyh@redhat.com> |
506 | ||
b5482208 | 507 | * gcc.dg/altivec-8.c: New. |
0d6d6892 | 508 | |
b5482208 RH |
509 | * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow |
510 | PRE_INC and PRE_DEC for altivec modes. | |
0d6d6892 | 511 | |
abaa8559 BK |
512 | 2002-05-01 Bruce Korb <bkorb@gnu.org> |
513 | ||
514 | * fixinc/check.tpl(set-writable): make sure the function exists first | |
515 | * fixinc/inclhack.def(alpha_assert): fix test_text | |
516 | * fixinc/tests/base/assert.h: add in missing result | |
517 | ||
ecab2143 JL |
518 | 2002-05-01 Jeff Law <law@redhat.com> |
519 | ||
520 | * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the | |
521 | 'T' constraint. | |
522 | ||
ea619b46 JB |
523 | 2002-05-01 Joel Brobecker <brobecker@gnat.com> |
524 | ||
525 | * dbxout.c (dbxout_type): Emit size information for range types, | |
526 | as well, but only when using GDB extensions. | |
527 | ||
c72931a6 RH |
528 | 2002-05-01 Richard Henderson <rth@redhat.com> |
529 | ||
530 | * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with | |
531 | target-independent gnu binutils date test. | |
532 | ||
2150ad33 RH |
533 | 2002-05-01 Richard Henderson <rth@redhat.com> |
534 | ||
535 | * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump | |
536 | info before expunging the block. | |
537 | ||
1651cc96 JJ |
538 | 2002-05-01 Jakub Jelinek <jakub@redhat.com> |
539 | ||
540 | * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here... | |
541 | (cpp_post_options): ...but here. Disable -dD, -dN and -dI when | |
542 | -M -or -MM is in effect. | |
543 | ||
8998d5bf ZW |
544 | 2002-05-01 Zack Weinberg <zack@codesourcery.com> |
545 | ||
546 | * config.gcc: Correct test of --enable-obsolete. Obsolete all | |
547 | A29k configurations. | |
548 | * doc/install.texi: Update to match. | |
549 | ||
a81eed10 FS |
550 | 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
551 | ||
552 | PR bootstrap/6514 | |
553 | * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check | |
554 | for duplicates. Always loop over whole list. | |
555 | ||
8d53318f RK |
556 | Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
557 | ||
558 | * reload.c (find_reloads, case 'p'): Set BADOP to 0. | |
559 | ||
4109b118 JS |
560 | 2002-05-01 Joel Sherrill <joel@OARcorp.com> |
561 | ||
562 | * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly | |
563 | support routines. | |
564 | ||
c4a9c570 JS |
565 | 2002-05-01 Joel Sherrill <joel@OARcorp.com> |
566 | ||
567 | * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning. | |
568 | ||
ea112fc4 DE |
569 | 2002-05-01 David Edelsohn <edelsohn@gnu.org> |
570 | ||
571 | * rs6000.md (abssi2_nopower): Convert to define_insn_and_split. | |
572 | (nabs_nopower): Same. | |
573 | (floatdisf2): New pattern. | |
574 | (absdi2): Convert to define_insn_and_split. | |
575 | (nabsdi2): Same. | |
576 | (trunctfsf2): Same. | |
577 | (floatditf2): Same. | |
578 | (floatsitf2): Same. | |
579 | (fix_trunctfdi2): Same. | |
580 | (fix_trunctfsi2): Same. | |
581 | ||
dda78254 JM |
582 | 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk> |
583 | ||
584 | * doc/install.texi: Update Texinfo version requirement | |
585 | documentation. | |
586 | ||
26aeede4 JJ |
587 | 2002-05-01 Jakub Jelinek <jakub@redhat.com> |
588 | ||
589 | PR target/6512, PR target/5628 | |
590 | * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32 | |
591 | when memory is not aligned. | |
592 | (movdf_insn_v9only_vis): Likewise. | |
593 | * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS | |
594 | temporary for EXTRA_FP_REGS DFmode load from unaligned memory. | |
595 | (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly. | |
596 | ||
9b7bc465 AH |
597 | 2002-05-01 Aldy Hernandez <aldyh@redhat.com> |
598 | ||
8998d5bf | 599 | * gcc.dg/altivec-7.c: New. |
9b7bc465 | 600 | |
8998d5bf | 601 | * config/rs6000/altivec.h: Cleanup. |
9b7bc465 | 602 | |
08b57fb3 AH |
603 | 2002-04-30 Aldy Hernandez <aldyh@redhat.com> |
604 | ||
8998d5bf ZW |
605 | * doc/invoke.texi (Option Summary): Add -mvrsave=. |
606 | (RS/6000 and PowerPC Options): Document -mvrsave=. | |
08b57fb3 | 607 | |
8998d5bf ZW |
608 | * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global. |
609 | (rs6000_altivec_vrsave_string): Same. | |
610 | (rs6000_override_options): Call rs6000_parse_vrsave_option. | |
611 | (rs6000_parse_vrsave_option): New. | |
612 | (rs6000_stack_info): Only generate vrsave instructions when | |
613 | TARGET_ALTIVEC_VRSAVE. | |
08b57fb3 | 614 | |
8998d5bf ZW |
615 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option. |
616 | (rs6000_altivec_vrsave_string): Define extern. | |
617 | (rs6000_altivec_vrsave): Same. | |
618 | (TARGET_ALTIVEC_VRSAVE): New. | |
08b57fb3 | 619 | |
8e8c38cd RH |
620 | 2002-04-30 Richard Henderson <rth@redhat.com> |
621 | ||
622 | PR opt/6516 | |
623 | * toplev.c (rest_of_compilation): Don't run cross-jump before | |
624 | bb-reorder. | |
625 | ||
4be9e9cb TR |
626 | 2002-04-30 Tom Rix <trix@redhat.com> |
627 | ||
8998d5bf | 628 | * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity |
4be9e9cb TR |
629 | check which_alternative. |
630 | ||
1eeeb6a4 KH |
631 | 2002-04-30 Kazu Hirata <kazu@hxi.com> |
632 | ||
633 | * cpplex.c: Fix comment formatting. | |
634 | * function.c: Likewise. | |
635 | * integrate.c: Likewise. | |
636 | * regrename.c: Likewise. | |
637 | * sibcall.c: Likewise. | |
638 | * simplify-rtx.c: Likewise. | |
639 | * tree-inline.c: Likewise. | |
640 | ||
ed9d6ff9 JDA |
641 | 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca> |
642 | ||
643 | * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*, | |
644 | hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*, | |
645 | hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*, | |
646 | hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file. | |
647 | * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete. | |
648 | * pa/x-ada: New file. Define ADA_CFLAGS. | |
649 | ||
1f2641b6 HPN |
650 | 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com> |
651 | ||
652 | * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed | |
653 | from MMIX_LAST_REGISTER_FILE_REGNUM. | |
654 | (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment. | |
655 | (struct machine_function): New member highest_saved_stack_register | |
656 | previously static variable in mmix.c. | |
657 | (MACHINE_DEPENDENT_REORG): Define. | |
658 | * config/mmix/mmix.c (highest_saved_stack_register): Deleted. | |
659 | (MMIX_OUTPUT_REGNO): New. | |
660 | (mmix_target_asm_function_prologue): Move calculation of last used | |
661 | saved-stack-register into... | |
662 | (mmix_machine_dependent_reorg): New function. Update to also handle | |
663 | !TARGET_ABI_GNU. | |
664 | (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting | |
665 | register names, simplify somewhat by new variable regno. | |
666 | <case 'p'>: Remove fixed FIXME. Always emit highest used saved | |
667 | register. | |
668 | (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when | |
669 | emitting register names. | |
670 | (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto. | |
671 | (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too. | |
672 | Remove fixed FIXME. | |
673 | * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): | |
674 | Declare. | |
675 | ||
676 | * config/mmix/mmix.md ("divmoddi4"): Update head comment. | |
677 | ||
73985940 RH |
678 | 2002-04-30 Richard Henderson <rth@redhat.com> |
679 | ||
680 | * config/sparc/sparc.c (emit_soft_tfmode_libcall, | |
681 | emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt, | |
682 | emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop, | |
683 | emit_tfmode_cvt): New. | |
684 | * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2, | |
685 | trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2, | |
686 | fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2, | |
687 | addtf3, subtf3, multf3, divtf3, sqrttf2): Use them. | |
688 | * config/sparc/sparc-protos.h: Update. | |
689 | ||
2b46bc67 JJ |
690 | 2002-04-30 Janis Johnson <janis187@us.ibm.com> |
691 | ||
692 | * install.texi (Final install): Add to the list of info to include | |
693 | in a report of a successful bootstrap, and add link to 3.1 list. | |
694 | ||
3d34cd91 JH |
695 | Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz> |
696 | ||
697 | * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1. | |
698 | (mode): Add vector modes | |
699 | (i387): Kill attribute. | |
700 | (unit): New attribute. | |
701 | (length_immediate): Grok new types. | |
702 | (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX. | |
703 | (modrm): Use "unit". | |
704 | (memory): Handle MMX/SSE properly. | |
705 | (scheduling descriptions): Kill uses of fop1. | |
706 | (sse, mmx, fp patterns): Set type and mode properly. | |
707 | ||
3193c415 JL |
708 | Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@cygnus.com) |
709 | ||
30482eb0 JL |
710 | * pa.c (override_options): Default to PA8000 scheduling. |
711 | * doc/invoke.texi (HP-PA options): Mention newly added 7300 | |
712 | scheduling parameter. | |
713 | ||
3193c415 JL |
714 | * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine |
715 | handling of double precision multiplies. | |
716 | ||
717 | * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of | |
718 | fpdiv and fpsqrt instructions. | |
719 | (7200 & 7300 scheduling): Fix typo in handling of | |
720 | store-load and store-store penalties. | |
721 | ||
c0a34cb7 GP |
722 | 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
723 | ||
724 | * doc/contrib.texi (Contributors): Use MIPS instead of Mips and | |
725 | mips. Add two missing commas. | |
726 | ||
8bce0628 PC |
727 | 2002-04-30 Paolo Carlini <pcarlini@unitus.it> |
728 | ||
729 | * doc/contrib.texi (Contributors): Update Paolo Carlini's | |
730 | and Benjamin Kosnik's entries. | |
731 | ||
84643cbf DM |
732 | 2002-04-29 David S. Miller <davem@redhat.com> |
733 | ||
734 | * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK, | |
735 | SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III. | |
736 | * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise. | |
737 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
738 | ||
da6886f6 FS |
739 | 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
740 | ||
741 | * combine.c (find_split_point): Use gen_int_mode. | |
742 | ||
fae15c93 VM |
743 | 2002-04-29 Vladimir Makarov <vmakarov@redhat.com> |
744 | ||
745 | Merging code from dfa-branch: | |
8998d5bf | 746 | |
fae15c93 VM |
747 | 2002-04-24 Vladimir Makarov <vmakarov@redhat.com> |
748 | ||
749 | * genautomata.c (output_reserv_sets): Fix typo. | |
750 | ||
751 | 2002-04-23 Vladimir Makarov <vmakarov@redhat.com> | |
752 | ||
753 | * genautomata.c (output_reserv_sets): Remove | |
754 | next_cycle_output_flag. | |
755 | ||
756 | Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com) | |
757 | ||
8998d5bf ZW |
758 | * sched-rgn.c (init_ready_list): Make the DFA code handle |
759 | USE/CLOBBER insns in the same way as the traditional | |
760 | scheduler. | |
761 | (new_ready): Similarly.. | |
fae15c93 VM |
762 | |
763 | 2002-04-17 Vladimir Makarov <vmakarov@redhat.com> | |
764 | ||
765 | * haifa-sched.c (schedule_block): Change the DFA state only after | |
766 | issuing insn. | |
767 | ||
768 | Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com) | |
769 | ||
770 | * pa.c (hppa_use_dfa_pipeline_interface): New function. | |
771 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define. | |
772 | (override_options): Add PA7300 scheduling support. | |
773 | (pa_adjust_cost): Update various comments. Properly | |
774 | handle anti and output dependencies when using the | |
775 | DFA scheduler. | |
776 | (pa_issue_rate): Add PA7300 scheduling support. | |
777 | (pa_can_combine_p): Call extract_insn before calling | |
778 | constrain_operands (taken from mainline tree). | |
779 | * pa.h (enum processor_type): Add PROCESSOR_PA7300. | |
780 | * pa.md (cpu attr): Add 7300. Rewrite pipeline | |
781 | descriptions using DFA descriptions. Add PA7300 | |
782 | scheduling support. | |
783 | ||
784 | 2002-03-30 David S. Miller <davem@redhat.com> | |
785 | ||
786 | Add UltraSPARC-III DFA scheduling support. | |
787 | * config/sparc/sparc.md (define_attr type): Add fpcrmove. | |
788 | Update FP conditional move on register insn patterns to use it, as | |
789 | appropriate. | |
790 | (define_attr cpu): Add ultrasparc3. | |
791 | (define_attr us3load_type): New, update integer load patterns to | |
792 | set it, as appropriate. | |
793 | (define_automaton): Add ultrasparc3_0 and ultrasparc3_1. | |
794 | (rest): Add UltraSPARC3 scheduling description. | |
795 | * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New. | |
796 | (PROCESSOR_ULTRASPARC3): New. | |
797 | ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3. | |
798 | ({ASM,CPP}_CPU_SPEC): Likewise. | |
799 | (REGISTER_MOVE_COST): Likewise. | |
800 | (RTX_COSTS): Likewise. | |
801 | * config/sparc/sparc.c (sparc_override_options, | |
802 | sparc_initialize_trampoline, sparc64_initialize_trampoline, | |
803 | sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead, | |
804 | sparc_issue_rate): Likewise. | |
805 | * config/sparc/sol2.h: Likewise. | |
806 | * config/sparc/sol2-sld-64.h: Likewise. | |
807 | * config/sparc/linux64.h: Likewise. | |
8998d5bf | 808 | |
fae15c93 VM |
809 | 2002-03-22 Vladimir Makarov <vmakarov@redhat.com> |
810 | ||
811 | * doc/md.texi: Add comments about usage the latency time for the | |
812 | different dependencies and about case when two or more conditions | |
813 | in different define_insn_reservations returns TRUE for an insn. | |
814 | ||
815 | * doc/md.texi: Add reference for automaton based pipeline | |
816 | description. | |
8998d5bf | 817 | |
fae15c93 VM |
818 | 2002-03-04 Vladimir Makarov <vmakarov@redhat.com> |
819 | ||
820 | * doc/passes.texi: Add missed information about genattrtab. | |
821 | ||
822 | 2002-03-01 Vladimir Makarov <vmakarov@redhat.com> | |
823 | ||
824 | * genautomata.c (output_automata_list_transition_code): Check | |
825 | automata_list on NULL. | |
826 | ||
827 | 2002-02-28 Vladimir Makarov <vmakarov@redhat.com> | |
828 | ||
829 | * genautomata.c (output_insn_code_cases, | |
830 | output_automata_list_min_issue_delay_code, | |
831 | output_automata_list_transition_code, | |
832 | output_automata_list_state_alts_code): Comment the functions. | |
833 | ||
834 | 2002-02-22 Vladimir Makarov <vmakarov@redhat.com> | |
835 | ||
836 | * genautomata.c (automata_list_el_t): New typedef. | |
837 | (get_free_automata_list_el,free_automata_list_el, | |
838 | free_automata_list, automata_list_hash, automata_list_eq_p, | |
839 | initiate_automata_lists, automata_list_start, automata_list_add, | |
840 | automata_list_finish, finish_automata_lists, | |
841 | output_insn_code_cases, output_automata_list_min_issue_delay_code, | |
842 | output_automata_list_transition_code, | |
843 | output_automata_list_state_alts_code, add_automaton_state, | |
844 | form_important_insn_automata_lists): New functions and prototypes. | |
845 | (insn_reserv_decl): Add members important_automata_list and | |
846 | processed_p. | |
847 | (ainsn): Add members important_p. | |
848 | (automata_list_el): New structure. | |
849 | (first_free_automata_list_el, current_automata_list, | |
850 | automata_list_table): New global variables. | |
851 | (create_ainsns): Initiate member important_p. | |
852 | (output_internal_min_issue_delay_func): Generate the switch and | |
853 | call output_insn_code_cases. | |
854 | (output_internal_trans_func, output_internal_state_alts_func): | |
855 | Ditto. | |
856 | (generate): Call initiate_automata_lists. | |
857 | (automaton_states): New global variable. | |
858 | (expand_automata): Call form_important_insn_automata_lists. | |
859 | (write_automata): Call finish_automata_lists. | |
8998d5bf | 860 | |
fae15c93 VM |
861 | 2002-02-21 Vladimir Makarov <vmakarov@redhat.com> |
862 | ||
863 | * genautomata.c (add_excls, add_presence_absence): Check that | |
8998d5bf | 864 | cpu units in the sets belong the same automaton. |
fae15c93 VM |
865 | |
866 | * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment | |
867 | about that cpu units in the sets belong the same automaton. | |
868 | ||
869 | * doc/md.texi: Ditto. | |
8998d5bf | 870 | |
2799d721 VM |
871 | 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com> |
872 | Nitin Gupta <niting@noida.hcltech.com> | |
8998d5bf | 873 | |
fae15c93 VM |
874 | * config/sh/sh.c (sh_use_dfa_interface): New function. |
875 | ||
876 | (sh_issue_rate): New Function. | |
877 | TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define. | |
878 | TARGET_SCHED_ISSUE_RATE: define. | |
879 | ||
880 | * config/sh/sh.md: Add DFA based pipeline description for SH4. | |
881 | ||
8998d5bf ZW |
882 | (define_attr insn_class): New attribute used for DFA |
883 | scheduling. | |
fae15c93 VM |
884 | (define_insn cmpgtsi_t): Set attribute insn_class mt_group. |
885 | (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t, | |
886 | cmpeqdi_t): Likewise. | |
887 | ||
888 | (add,addc1,addsi3,subc,subc1,*subsi3_internal, | |
8998d5bf | 889 | negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class |
fae15c93 VM |
890 | ex_group. |
891 | (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise. | |
8998d5bf | 892 | |
fae15c93 VM |
893 | 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> |
894 | ||
895 | * haifa-sched.c (queue_to_ready): Remove unnecessary condition for | |
896 | break. | |
897 | ||
898 | 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> | |
899 | ||
900 | * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro. | |
901 | (output_dfa_insn_code_func): Expand dfa_insn_codes if it is | |
902 | necessary. | |
903 | (output_dfa_start_func): Initiate new variable insn_codes_length, | |
904 | (write_automata): Output definition of the new variable. | |
8998d5bf | 905 | |
fae15c93 VM |
906 | 2001-10-02 David S. Miller <davem@redhat.com> |
907 | ||
908 | * haifa-sched.c (advance_one_cycle): New function. | |
909 | (schedule_block): Use it. | |
910 | (queue_to_ready): Use it, and also make sure to advance the DFA | |
911 | state on all stall cycles, not just those where insn_queue links | |
912 | are found. | |
913 | ||
914 | 2001-10-02 Richard Sandiford <rsandifo@redhat.com> | |
915 | ||
916 | * haifa-sched.c (max_issue): Remove last_p argument. Only return | |
917 | non-zero if the highest-priority instruction could be scheduled. | |
918 | (choose_ready): Remove last argument from max_issue call. | |
919 | ||
920 | 2001-09-28 David S. Miller <davem@redhat.com> | |
921 | ||
922 | * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for | |
923 | ultrasparc and 3 for other multi-issue sparcs. | |
924 | ||
925 | 2001-09-27 David S. Miller <davem@redhat.com> | |
926 | ||
927 | * config/sparc/sparc.md (cycle_display): New pattern. | |
928 | * config/sparc/sparc.c (sparc_cycle_display): New. | |
929 | (TARGET_SCHED_CYCLE_DISPLAY): Set it. | |
930 | ||
931 | 2001-09-25 David S. Miller <davem@redhat.com> | |
932 | ||
933 | Convert all of Sparc scheduling to DFA | |
934 | * config/sparc/sparc.md: Kill all define_function_unit | |
935 | directives and replace with DFA equivalent. | |
936 | * config/sparc/sparc.c (ultrasparc_adjust_cost, | |
937 | mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p, | |
938 | ultra_fpmode_conflict_exists, ultra_find_type, | |
939 | ultra_build_types_avail, ultra_flush_pipeline, | |
940 | ultra_rescan_pipeline_state, ultrasparc_sched_reorder, | |
941 | ultrasparc_variable_issue, ultrasparc_sched_init, | |
942 | sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask, | |
943 | ultra_schedule_insn, ultra_code_names, ultra_pipe_hist, | |
944 | ultra_cur_hist, ultra_cycles_elapsed): Kill. | |
945 | (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead, | |
946 | ultrasparc_store_bypass_p): New. | |
947 | * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p): | |
948 | Declare. | |
949 | ||
950 | 2001-09-24 David S. Miller <davem@redhat.com> | |
951 | ||
952 | * haifa-sched.c (ready_remove): Fix thinko, we want to copy around | |
953 | ready->vec[foo] not ready[foo]. | |
954 | ||
955 | 2001-09-07 Vladimir Makarov <vmakarov@redhat.com> | |
956 | ||
957 | * doc/md.texi: Correct examples for define_insn_reservations | |
958 | `mult' and `div'. | |
959 | ||
960 | 2001-09-07 Vladimir Makarov <vmakarov@redhat.com> | |
961 | ||
962 | * genautomata.c (create_automata): Print message about creation of | |
963 | each automaton. | |
964 | (generate): Remove printing meease about creation of | |
965 | automata. | |
966 | ||
967 | 2001-09-05 David S. Miller <davem@redhat.com> | |
968 | ||
969 | * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC. | |
970 | * config/sparc/linux64.h: Likewise. | |
971 | ||
972 | 2001-08-31 Vladimir Makarov <vmakarov@redhat.com> | |
973 | ||
974 | * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready, | |
975 | schedule_block, sched_init, sched_finish): Add missed calls of | |
976 | use_dfa_pipeline_interface. | |
977 | ||
978 | * sched-rgn.c (init_ready_list, new_ready, debug_dependencies): | |
979 | Ditto. | |
980 | ||
981 | * sched-vis.c (get_visual_tbl_length): Ditto. | |
8998d5bf | 982 | |
fae15c93 VM |
983 | 2001-08-27 Richard Henderson <rth@redhat.com> |
984 | ||
985 | * genattr.c (main): Emit state_t even when not doing scheduling. | |
986 | ||
987 | 2001-08-27 Richard Henderson <rth@redhat.com> | |
988 | ||
989 | * genautomata.c (expand_automata): Always create a description. | |
990 | ||
991 | 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com> | |
992 | ||
8998d5bf | 993 | * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET, |
fae15c93 VM |
994 | PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON, |
995 | AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New | |
996 | RTL constructions. | |
997 | ||
998 | * genattr.c (main): New variable num_insn_reservations. Increase | |
999 | it if there is DEFINE_INSN_RESERVATION. Output automaton based | |
1000 | pipeline hazard recognizer interface. | |
1001 | ||
1002 | * genattrtab.h: New file. | |
1003 | ||
1004 | * genattrtab.c: Include genattrtab.h. | |
1005 | (attr_printf, check_attr_test, make_internal_attr, | |
1006 | make_numeric_value): Move protypes into genattrtab.h. Define them | |
1007 | as external. | |
1008 | (num_dfa_decls): New global variable. | |
1009 | (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, | |
1010 | DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET, | |
1011 | DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION, | |
1012 | DEFINE_INSN_RESERVATION. Call expand_automata and write_automata. | |
1013 | ||
1014 | * genautomata.c: New file. | |
1015 | ||
1016 | * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them. | |
1017 | ||
8998d5bf | 1018 | * sched-int.h: (curr_state): Add the external definition for |
fae15c93 VM |
1019 | automaton pipeline interface. |
1020 | (haifa_insn_data): Add comments for members blockage and units. | |
1021 | ||
1022 | * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
1023 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
1024 | TARGET_SCHED_DFA_PRE_CYCLE_INSN, | |
1025 | TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, | |
1026 | TARGET_SCHED_DFA_POST_CYCLE_INSN, | |
1027 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
1028 | TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New | |
1029 | macros. | |
1030 | (TARGET_SCHED): Use the new macros. | |
1031 | ||
1032 | * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn, | |
1033 | dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn, | |
1034 | first_cycle_multipass_dfa_lookahead, init_dfa_bubbles, | |
1035 | dfa_bubble): New members in gcc_target.sched. | |
1036 | ||
8998d5bf | 1037 | * haifa-sched.c (insert_schedule_bubbles_p): New variable. |
fae15c93 VM |
1038 | (MAX_INSN_QUEUE_INDEX): New macro for automaton interface. |
1039 | (insn_queue): Redefine it as pointer to array. | |
1040 | (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of | |
1041 | INSN_QUEUE_SIZE. | |
1042 | (max_insn_queue_index_macro_value): New variable. | |
1043 | (curr_state, dfa_state_size, ready_try): New varaibles for | |
1044 | automaton interface. | |
1045 | (ready_element, ready_remove, max_issue): New function prototypes | |
1046 | for automaton interface. | |
1047 | (choose_ready): New function prototype. | |
1048 | (insn_unit, blockage_range): Add comments. | |
1049 | (unit_last_insn, unit_tick, unit_n_insns): Define them for case | |
1050 | FUNCTION_UNITS_SIZE == 0. | |
1051 | (insn_issue_delay, actual_hazard_this_instance, schedule_unit, | |
1052 | actual_hazard, potential_hazard): Add comments. | |
1053 | (insn_cost): Use cost -1 as undefined value. Remove | |
1054 | LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton | |
1055 | pipeline interface. | |
1056 | (ready_element, ready_remove): New functions for automaton | |
1057 | interface. | |
1058 | (schedule_insn): Add new code for automaton pipeline interface. | |
1059 | (queue_to_ready): Add new code for automaton pipeline interface. | |
1060 | Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE. | |
1061 | (debug_ready_list): Print newline when the queue is empty. | |
1062 | (max_issue): New function for automaton pipeline interface. | |
1063 | (choose_ready): New function. | |
1064 | (schedule_block): Add new code for automaton pipeline interface. | |
1065 | Print ready list before scheduling each insn. | |
1066 | (sched_init): Add new code for automaton pipeline interface. | |
1067 | Initiate insn cost by -1. | |
1068 | (sched_finish): Free the current automaton state and finalize | |
1069 | automaton pipeline interface. | |
1070 | ||
1071 | * sched-rgn.c: Include target.h. | |
1072 | (init_ready_list, new_ready, debug_dependencies): Add new code for | |
1073 | automaton pipeline interface. | |
1074 | ||
1075 | * sched-vis.c: Include target.h. | |
1076 | (get_visual_tbl_length): Add code for automaton interface. | |
1077 | (target_units, print_block_visualization): Add comments. | |
1078 | ||
8998d5bf | 1079 | * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB, |
fae15c93 VM |
1080 | USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables. |
1081 | (sched-rgn.o, sched-vis.o): Add new dependency file target.h. | |
1082 | (getruntime.o, genautomata.o): New entries. | |
1083 | (genattrtab.o): Add new dependency file genattrtab.h. | |
1084 | (genattrtab): Add new dependencies. Link it with `libm.a'. | |
1085 | (getruntime.o, hashtab.o): New entries for canadian cross. | |
1086 | ||
1087 | * doc/md.texi: Description of automaton based model. | |
1088 | ||
1089 | * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST): | |
1090 | Add comments. | |
1091 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE, | |
1092 | TARGET_SCHED_DFA_PRE_CYCLE_INSN, | |
1093 | TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, | |
1094 | TARGET_SCHED_DFA_POST_CYCLE_INSN, | |
1095 | TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, | |
1096 | TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, | |
1097 | TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new | |
1098 | hook descriptions. | |
1099 | (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE, | |
1100 | MAX_DFA_ISSUE_RATE): New macro descriptions. | |
1101 | ||
1102 | * doc/contrib.texi: Add dfa based scheduler contribution. | |
1103 | ||
1104 | * doc/gcc.texi: Add more information about genattrtab. | |
1105 | ||
a2ff290c RK |
1106 | Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1107 | ||
1108 | * reload1.c (eliminate_regs, case SUBREG): Fix typo in | |
1109 | adjust_address_nv call. | |
1110 | ||
f97903cc JJ |
1111 | 2002-04-29 Janis Johnson <janis187@us.ibm.com> |
1112 | ||
1113 | * doc/install.texi (Testing): Provide additional information, and | |
1114 | a stronger encouragement, for running the testsuites. | |
1115 | ||
f41a6bf1 DD |
1116 | 2002-04-29 DJ Delorie <dj@redhat.com> |
1117 | ||
1118 | * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is | |
1119 | given in upper case. | |
1120 | ||
d8af0868 RO |
1121 | 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1122 | ||
1123 | * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in | |
1124 | Solaris 2 <widec.h> if missing. | |
1125 | * fixinc/fixincl.x: Regenerate. | |
1126 | * fixinc/tests/base/widec.h: New file. | |
1127 | ||
1034407f NC |
1128 | 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com> |
1129 | ||
1130 | * toplev.c (f_options): Add "profile" switch so that | |
1131 | -fno-profile can be used to disable -p. | |
1132 | ||
fbe5eb6d BS |
1133 | 2002-04-29 Bernd Schmidt <bernds@redhat.com> |
1134 | ||
1135 | * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode, | |
1136 | UV2DImode. | |
1137 | * tree.c (build_common_tree_nodes_2): Likewise. | |
1138 | * tree.h (enum tree_index): Likewise. | |
1139 | (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define. | |
1140 | ||
1141 | * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2 | |
1142 | entries. | |
1143 | (init_mmx_sse_builtins): Initialize SSE2 builtins. | |
1144 | (ix86_expand_builtin): Add support for SSE2 builtins. | |
1145 | * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro. | |
1146 | (VALID_SSE_REG_MODE): Use it. | |
1147 | (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well. | |
1148 | (enum ix86_builtins): Add SSE2 builtins. | |
1149 | * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal, | |
1150 | movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi, | |
1151 | addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3, | |
1152 | divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3, | |
1153 | sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2, | |
1154 | vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3, | |
1155 | vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb, | |
1156 | sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps, | |
1157 | cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi, | |
1158 | cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss, | |
1159 | cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3, | |
1160 | ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3, | |
1161 | subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3, | |
1162 | mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3, | |
1163 | sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3, | |
1164 | sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd, | |
1165 | sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3, | |
1166 | gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3, | |
1167 | ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3, | |
1168 | ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3, | |
1169 | sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw, | |
1170 | sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq, | |
1171 | sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd, | |
1172 | sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq, | |
1173 | sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd, | |
1174 | sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence, | |
1175 | lfence_insn): New patterns. | |
1176 | (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from | |
1177 | sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2. | |
1178 | ||
44aefada JH |
1179 | Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz> |
1180 | ||
1181 | * i386.md (sse_mov?fcc*): Revert patch of Mar 14th. | |
1182 | ||
d5482cdc GP |
1183 | 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1184 | ||
1185 | * doc/contrib.texi (Contributors): Add Paolo Carlini and | |
1186 | Janis Johnson. | |
1187 | Update Richard Henderson, Jakub Jelinek, and Mark Mitchell. | |
1188 | Refer to Objective-C instead of ObjC, SPARC instead of sparc, | |
1189 | and CPU instead of cpu. | |
1190 | ||
2c4b77f3 JH |
1191 | Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz> |
1192 | ||
1193 | * toplev.c (flag_if_conversion, flag_if_conversion2): New static | |
1194 | variables. | |
1195 | (lang_independent_options): Add -fif-conversion, -fif-conversion2 | |
1196 | (rest_of_compilation): Do if conversion only when asked for. | |
1197 | (parse_options_and_default_flags): Set new variables to 1 for -O1 | |
1198 | * invoke.texi (-fif-conversion, -fif-conversion2): Document. | |
1199 | ||
3de72741 JH |
1200 | Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz> |
1201 | ||
1202 | * i386.c (dbx64_register_map): Fix typo. | |
1203 | ||
8aa18a7d JH |
1204 | Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz> |
1205 | ||
1206 | * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base, | |
1207 | real_one_half, real_bb_freq_max): New static variables. | |
1208 | (debug_profile_bbauxs): Kill. | |
1209 | (process_note_predictions): Kill unused variable. | |
1210 | (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of | |
1211 | volatile double. | |
1212 | (propagate_freq): Use REAL_ARITHMETICS. | |
1213 | (estimate_bb_frequencies): Likevise; init new static variables. | |
1214 | * Makefile.in (predict.o): Add dependency on real.h | |
1215 | ||
1bbad4c6 DM |
1216 | 2002-04-28 David S. Miller <davem@redhat.com> |
1217 | ||
1218 | PR target/6500 | |
1219 | * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs. | |
1220 | 64-bit TARGET_V9. Do not use prefetch page, use prefetch for | |
1221 | several {reads,writes} instead. | |
1222 | * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): | |
1223 | Define. | |
1224 | ||
3ef3f384 DM |
1225 | 2002-04-27 David S. Miller <davem@redhat.com> |
1226 | ||
1227 | PR target/6494 | |
1228 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful | |
1229 | of the stack bias. | |
1230 | ||
1231 | * config/sparc/linux.h, config/sparc/linux64.h: Don't bother | |
1232 | including signal.h and sys/ucontext.h, not needed. | |
1233 | ||
ec493bcb HPN |
1234 | 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com> |
1235 | ||
1236 | * varasm.c (output_constant_def): Correct test for not calling | |
1237 | ENCODE_SECTION_INFO for INTEGER_CST. | |
1238 | ||
60284a59 NB |
1239 | 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk> |
1240 | ||
1241 | * cppexp.c (lex): Move some code to _cpp_parse_expr, but | |
1242 | keep most cases as function eval_token. | |
1243 | (eval_token): New function. | |
1244 | (_cpp_parse_expr): Read token here for improved diagnostics. | |
1245 | Don't use op_as_text. Detect bad ':' here. | |
1246 | (reduce): Don't detect bad ':' here. | |
1247 | (op_as_text): Remove. | |
1248 | * cpphash.h (_cpp_test_assertion): Change prototype. | |
1249 | * cpplib.c (_cpp_test_assertion): Change prototype. | |
1250 | ||
349a4b40 RH |
1251 | 2002-04-28 Richard Henderson <rth@redhat.com> |
1252 | ||
1253 | PR c/5154 | |
8998d5bf | 1254 | * ggc-common.c (ggc_mark_rtx_children_1): Rename from... |
349a4b40 RH |
1255 | (ggc_mark_rtx_children): New. |
1256 | ||
7a03f82f JJ |
1257 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
1258 | ||
1259 | PR target/6496 | |
1260 | * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump | |
1261 | after call peepholes for UltraSPARC. | |
1262 | (call + jump 64-bit peepholes): Remove. | |
1263 | ||
80103f96 FS |
1264 | 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1265 | ||
1266 | PR c/6497 | |
1267 | * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use | |
1268 | result as temporary value. | |
1269 | ||
06990986 JJ |
1270 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
1271 | ||
1272 | PR c++/6396 | |
1273 | * toplev.c (rest_of_compilation): Only run regrename and copy | |
1274 | propagation if optimizing. | |
1275 | ||
a20fd5ac JJ |
1276 | 2002-04-28 Jakub Jelinek <jakub@redhat.com> |
1277 | ||
1278 | PR optimization/6475 | |
1279 | * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo | |
1280 | register of REGNO_DECL (i). | |
1281 | * Makefile.in (reload1.o): Add $(TREE_H). | |
1282 | ||
87ed109f NB |
1283 | 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk> |
1284 | ||
1285 | * cppexp.c (lex): Update to use state.skip_eval. | |
1286 | (struct op): Remove prio and flags members. | |
1287 | (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS, | |
1288 | SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove. | |
1289 | (LEFT_ASSOC): New macro. | |
1290 | (optab): New table of operator priorities and flags. | |
1291 | (SHIFT): Update. | |
1292 | (_cpp_parse_expr): Clean up logic. Return bool. Use a | |
1293 | malloc-ed parser stack. | |
1294 | (reduce): New; reduce the operator stack. | |
1295 | (_cpp_expand_op_stack): Expand the operator stack as necessary. | |
1296 | * cpphash.h (struct op): Predeclare. | |
1297 | (struct cpp_reader): New members op_stack, op_limit. | |
1298 | (struct lexer_state): New member skip_eval. | |
1299 | (_cpp_parse_expr): Update. | |
1300 | (_cpp_expand_op_stack): New. | |
1301 | * cpplib.c (do_if): Update. | |
1302 | * cppinit.c (cpp_create_reader): Create op stack. | |
1303 | (cpp_destroy): And destroy it. | |
1304 | * cpplib.h (CPP_LAST_CPP_OP): Correct. | |
1305 | (TTYPE_TABLE): Correct. | |
1306 | ||
45806a3f FS |
1307 | 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
1308 | ||
1309 | PR c/6343 | |
1310 | * c-decl.c (duplicate_decls): Call merge_weak. | |
1311 | * c-pragma.c (apply_pragma_weak): Warn about misuse. | |
1312 | * output.h (merge_weak): Prototype merge_weak. | |
1313 | * varasm.c (merge_weak): New function. | |
1314 | (declare_weak): Make sure we don't give an error on VAR_DECLs. | |
1315 | Mark RTL with SYMBOL_REF_WEAK. | |
1316 | ||
a6227154 KG |
1317 | 2002-04-27 Kurt Garloff <garloff@suse.de> |
1318 | ||
1319 | * tree-inline.c (inlinable_function_p): Improve heuristics | |
1320 | by using a smoother function to cut down allowable inlinable size. | |
1321 | * param.def: Add parameters max-inline-insns-single, | |
1322 | max-inline-slope, min-inline-insns that determine the exact | |
1323 | shape of the above function. | |
1324 | * param.h: Likewise. | |
1325 | ||
94a50397 RH |
1326 | 2002-04-26 Richard Henderson <rth@redhat.com> |
1327 | ||
1328 | * c-parse.in (malloced_yyss, malloced_yyvs): New. | |
1329 | (yyoverflow): Re-add. Set them. | |
1330 | (free_parser_stacks): New. | |
1331 | * c-common.h: Declare it. | |
1332 | * c-lex.c (c_common_parse_file): Call it. | |
1333 | ||
9c0a0632 RH |
1334 | 2002-04-26 Richard Henderson <rth@redhat.com> |
1335 | ||
1336 | * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn | |
1337 | for fallthru search. | |
1338 | ||
b875d2ee EC |
1339 | 2002-04-26 Eric Christopher <echristo@redhat.com> |
1340 | ||
1341 | PR optimization/3700 | |
1342 | * config/mips/mips.c (mips_issue_rate): Define. New function. | |
1343 | (TARGET_SCHED_ISSUE_RATE): Use. | |
1344 | ||
1db828df DM |
1345 | 2002-04-25 David S. Miller <davem@redhat.com> |
1346 | ||
1347 | PR target/6422 | |
1348 | * reorg.c (optimize_skip): Do not allow exception causing | |
1349 | instructions to be considered for delay slots. | |
1350 | (fill_simply_delay_slots, fill_slots_from_thread): Likewise. | |
1351 | (relax_delay_slots): Do not try to consider exception causing | |
1352 | instructions as redundant. | |
1353 | ||
ae5d234e RH |
1354 | 2002-04-26 Richard Henderson <rth@redhat.com> |
1355 | ||
1356 | PR c/5225 | |
1357 | * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue. | |
1358 | ||
7d793e9b MM |
1359 | 2002-04-26 Mark Mitchell <mark@codesourcery.com> |
1360 | ||
1361 | PR bootstrap/6445 | |
1362 | * config/i386/i386.md (untyped_call): Return the value in a float | |
1363 | register if TARGET_FLOAT_RETURNS_IN_80387, not just if | |
1364 | TARGET_80387. | |
1365 | ||
b13ab42c AO |
1366 | 2002-04-26 Alexandre Oliva <aoliva@redhat.com> |
1367 | ||
1368 | * tree.c (tree_int_cst_lt): Compare constants whose types differ | |
1369 | in unsigned-ness correctly. | |
1370 | ||
5e56f909 JDA |
1371 | 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
1372 | ||
1373 | * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the | |
1374 | portable runtime model. | |
1375 | ||
bde3c0c0 RH |
1376 | 2002-04-26 Richard Henderson <rth@redhat.com> |
1377 | ||
a6227154 | 1378 | * c-parse.in (yyoverflow): Revert. |
bde3c0c0 | 1379 | |
5276df18 DE |
1380 | 2002-04-26 David Edelsohn <edelsohn@gnu.org> |
1381 | Richard Henderson <rth@redhat.com> | |
1382 | ||
1383 | * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use | |
1384 | result as temporary value. | |
1385 | ||
b84a3874 RH |
1386 | 2002-04-26 Richard Henderson <rth@redhat.com> |
1387 | ||
1388 | PR c/3581 | |
1389 | * c-common.c (fix_string_type): Split out of ... | |
1390 | (combine_strings): ... here. Take a varray, not a tree list. | |
1391 | (c_expand_builtin_printf): Use fix_string_type. | |
1392 | * c-common.h: Update decls. | |
1393 | * c-parse.in (string): Remove. Update all uses to use STRING | |
1394 | instead, and not call combine_strings. | |
1395 | (yylexstring): New. | |
1396 | (_yylex): Use it. | |
1397 | * c-typeck.c (simple_asm_stmt): Don't call combine_strings. | |
1398 | (build_asm_stmt): Likewise. | |
1399 | * objc/objc-act.c (my_build_string): Use fix_string_type. | |
1400 | (build_objc_string_object): Build varray for combine_strings. | |
1401 | ||
d8ae8cd4 BT |
1402 | 2002-04-26 Bo Thorsen <bo@suse.co.uk> |
1403 | ||
1404 | * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for | |
1405 | x86-64. | |
1406 | ||
f8b954fc NB |
1407 | 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk> |
1408 | ||
1409 | * cppexp.c (CPP_UMINUS, CPP_UPLUS): New. | |
1410 | (HAVE_NO_R_OPERAND): Remove. | |
1411 | (HAVE_VALUE): Remove. | |
1412 | (op_to_prio): Update. | |
1413 | (UNARY): Don't alter flags. | |
1414 | (_cpp_parse_expr): want_value used to indicate whether | |
1415 | a number or unary operator is expected next. Distinguish | |
1416 | unary and binary +/-. | |
1417 | (op_as_text): Update for unary operators. | |
1418 | ||
6052bef0 RH |
1419 | 2002-04-25 Richard Henderson <rth@redhat.com> |
1420 | ||
1421 | PR c/2161 | |
1422 | * c-parse.in (yyoverflow): New. | |
1423 | ||
5c5b2283 RH |
1424 | 2002-04-25 Richard Henderson <rth@redhat.com> |
1425 | ||
1426 | PR c/2098 | |
1427 | * c-common.c (shorten_compare): Simplfy conditions leading to | |
1428 | the generation of a warning. | |
1429 | ||
28ce94d4 RH |
1430 | 2002-04-25 Richard Henderson <rth@redhat.com> |
1431 | ||
1432 | PR c/2035 | |
1433 | * expmed.c (extract_bit_field): Fall through to generic code rather | |
1434 | than aborting on subreg special case. | |
1435 | ||
6bfd0c63 DM |
1436 | 2002-04-25 David S. Miller <davem@redhat.com> |
1437 | ||
1438 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check | |
1439 | for DECL being NULL. | |
1440 | ||
7a430e3b SC |
1441 | 2002-04-25 Steve Christiansen <smc@us.ibm.com> |
1442 | ||
1443 | * doc/md.texi (Machine Constraints): Add IA-64 constraints. | |
1444 | ||
45c42d7d EB |
1445 | 2002-04-25 Eric Botcazou <ebotcazou@multimania.com> |
1446 | ||
1447 | * c-decl.c (grokdeclarator): Remove outdated ??? note | |
1448 | on invalid declaration of flexible array members. | |
1449 | ||
eb7715a4 RH |
1450 | 2002-04-25 Richard Henderson <rth@redhat.com> |
1451 | ||
1452 | * doc/invoke.texi: Document -gdwarf{,-2} vs debug level. | |
1453 | ||
cf5ee720 UW |
1454 | 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
1455 | ||
1456 | * config/s390/s390.c (s390_emit_epilogue): Always restore registers | |
1457 | needed by the compiler, even if they are used as global regs. | |
1458 | ||
d604bca3 MH |
1459 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
1460 | ||
1461 | * mips.c (mips_class_max_nregs, mips_register_move_cost): New | |
1462 | functions. | |
1463 | * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls | |
1464 | of the corresponding functions. | |
1465 | * mips-protos.h (mips_class_max_nregs, mips_register_move_cost): | |
1466 | New prototypes. | |
b875d2ee | 1467 | |
d604bca3 MH |
1468 | 2002-04-25 Matt Hiller <hiller@redhat.com> |
1469 | ||
1470 | * config/mips/mips.h (mips_sw_reg_names): Declare as extern. | |
1471 | ||
1472 | (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro. | |
1473 | (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor | |
1474 | registers, adjust comment accordingly. | |
1475 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS, | |
1476 | reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES, | |
1477 | DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries | |
1478 | for coprocessor registers. | |
1479 | (ADDITIONAL_REGISTER_NAMES): Include | |
1480 | ALL_COP_ADDITIONAL_REGISTER_NAMES. | |
b875d2ee | 1481 | |
d604bca3 MH |
1482 | (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM, |
1483 | COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM, | |
1484 | COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM, | |
1485 | COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P, | |
1486 | COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros. | |
1487 | ||
1488 | (mips_char_to_class): Adjust comment to include coprocessor | |
1489 | constraint letters. | |
1490 | ||
1491 | * config/mips/mips.c (coprocessor_operand, coprocessor2_operand): | |
1492 | New functions. | |
1493 | (mips_reg_names, mips_regno_to_class): Include coprocessor | |
1494 | information. | |
1495 | (mips_sw_reg_names): Ditto, make non-static. | |
1496 | (mips_move_1word): Handle moves to and from coprocessor registers. | |
1497 | (mips_move_2words): Handle moves to and from coprocessor | |
1498 | registers. | |
1499 | (mips_class_max_nregs, mips_register_move_cost): Handle | |
1500 | coprocessor register classes. | |
1501 | (override_options): Initialize mips_char_to_class and | |
1502 | mips_hard_regno_mode_ok properly for coprocessor registers. | |
1503 | ||
1504 | * config/mips/mips.md (movdi_internal, movdi_internal2, | |
1505 | movsi_internal1, movsi_internal2): Add constraint-sets for | |
1506 | coprocessor registers. | |
1507 | * testsuite/gcc.c-torture/mipscop-1.c: New testcase. | |
1508 | * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target | |
1509 | isn't mips. | |
1510 | * testsuite/gcc.c-torture/mipscop-2.c: New testcase. | |
1511 | * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target | |
1512 | isn't mips. | |
1513 | * testsuite/gcc.c-torture/mipscop-3.c: New testcase. | |
1514 | * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target | |
1515 | isn't mips. | |
1516 | * testsuite/gcc.c-torture/mipscop-4.c: New testcase. | |
1517 | * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target | |
1518 | isn't mips. | |
b875d2ee | 1519 | |
d604bca3 MH |
1520 | * doc/tm.texi: Document feature. |
1521 | ||
b9a26d09 NB |
1522 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
1523 | ||
1524 | * integrate.c (function_attribute_inlinable_p): Simplify. | |
1525 | Check the table pointer is not NULL. | |
1526 | ||
ab5973b7 SB |
1527 | 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl> |
1528 | ||
1529 | * doc/c-tree.texi: Fix typo in introduction. | |
1530 | ||
ff45c01e NB |
1531 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
1532 | ||
1533 | * c-common.h (c_common_parse_file): Update. | |
1534 | * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
1535 | * c-lex.c (YYDEBUG): Get from c-lex.h. | |
1536 | (c_common_parse_file): Update. | |
1537 | * c-lex.h (YYDEBUG, yydebug): New. | |
1538 | * c-parse.in (YYDEBUG): Get from c-lex.h. | |
1539 | (c_set_yydebug): Remove. | |
1540 | * c-tree.h (c_set_yydebug): Remove. | |
1541 | * langhooks-def.h (lhd_do_nothing_i): New. | |
1542 | (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove. | |
1543 | (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update. | |
1544 | * langhooks.c (lhd_do_nothing_i): New. | |
1545 | (lhd_set_yydebug): Remove. | |
1546 | * langhooks.h (struct lang_hooks): Update. | |
1547 | * toplev.c (set_yydebug): New. | |
1548 | (compile_file): Update call to parse_file hook. | |
1549 | (decode_d_option): Update. | |
1550 | objc: | |
1551 | * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove. | |
1552 | ||
fcae219a R |
1553 | Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1554 | ||
1555 | * loop.c (load_mems): Don't change the interface of called functions. | |
1556 | ||
1557 | * calls.c (expand_call): Take current_function_pretend_args_size | |
1558 | into account when setting argblock for sibcalls. | |
1559 | ||
d0fea45a MH |
1560 | 2002-04-24 Matt Hiller <hiller@redhat.com> |
1561 | ||
1562 | * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS. | |
1563 | * c-lex.c: Ditto. | |
1564 | ||
1565 | * cpplex.c (skip_line_comment): Process comment one multibyte | |
1566 | character at a time rather than one char at a time, if | |
1567 | appropriate. | |
1568 | (parse_string): Process string one multibyte character at a time | |
1569 | rather than one char at a time, if appropriate. | |
1570 | * c-lex.c (lex_string): Lex and copy multibyte strings | |
1571 | appropriately. | |
1572 | * cpplib.h (cppchar_t): Change to unsigned. | |
1573 | ||
2d1b5436 RH |
1574 | 2002-04-24 Richard Henderson <rth@redhat.com> |
1575 | ||
1576 | PR c/3467 | |
1577 | * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays | |
1578 | for c99. | |
1579 | ||
5e039e6b R |
1580 | Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com> |
1581 | ||
1582 | * sh.c (sh_va_arg): If argument was passed by reference, | |
1583 | dereference the pointer. | |
309d8365 R |
1584 | |
1585 | * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
51214775 R |
1586 | |
1587 | * sh.md (divsi3_i4_media): Use match_operand for input values | |
1588 | rather than hard registers. | |
1589 | (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values | |
1590 | unnecessarily through hard registers. Keep copies of pseudo | |
1591 | registers outside of the libcall sequence. | |
1592 | ||
1593 | * sh.md (casesi_shift_media): Add modes. | |
b700634a R |
1594 | |
1595 | * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode | |
1596 | values in memory. | |
1597 | ||
349ae713 NB |
1598 | 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk> |
1599 | ||
1600 | * attribs.c (c_common_attribute_table): Move table and handlers | |
1601 | to c-common.c. | |
1602 | (format_attribute_table, lang_attribute_table, | |
1603 | lang_attribute_common): Remove. | |
1604 | (init_attributes): Replace NULL pointers with pointers to the | |
1605 | empty table. | |
1606 | (handle_packed_attribute, handle_nocommon_attribute, | |
1607 | handle_common_attribute, handle_noreturn_attribute, | |
1608 | handle_noinline_attribute, handle_always_inline_attribute, | |
1609 | handle_used_attribute, handle_unused_attribute, | |
1610 | handle_const_attribute, handle_transparent_union_attribute, | |
1611 | handle_constructor_attribute, handle_destructor_attribute, | |
1612 | handle_mode_attribute, handle_section_attribute, | |
1613 | handle_aligned_attribute, handle_weak_attribute, | |
1614 | handle_alias_attribute, handle_visibility_attribute, | |
1615 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
1616 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
1617 | handle_deprecated_attribute, handle_vector_size_attribute, | |
1618 | vector_size_helper): Move to c-common.c. | |
1619 | * c-common.c (c_common_attribute_table, | |
1620 | handle_packed_attribute, handle_nocommon_attribute, | |
1621 | handle_common_attribute, handle_noreturn_attribute, | |
1622 | handle_noinline_attribute, handle_always_inline_attribute, | |
1623 | handle_used_attribute, handle_unused_attribute, | |
1624 | handle_const_attribute, handle_transparent_union_attribute, | |
1625 | handle_constructor_attribute, handle_destructor_attribute, | |
1626 | handle_mode_attribute, handle_section_attribute, | |
1627 | handle_aligned_attribute, handle_weak_attribute, | |
1628 | handle_alias_attribute, handle_visibility_attribute, | |
1629 | handle_no_instrument_function_attribute, handle_malloc_attribute, | |
1630 | handle_no_limit_stack_attribute, handle_pure_attribute, | |
1631 | handle_deprecated_attribute, handle_vector_size_attribute, | |
1632 | vector_size_helper): Move from attribs.c. | |
1633 | * c-common.h (c_common_attribute_table, | |
1634 | c_common_format_attribute_table): New. | |
1635 | * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
1636 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
1637 | * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, | |
1638 | LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New. | |
1639 | (LANG_HOOKS_INITIALIZER): Update. | |
1640 | * langhooks.h (struct lang_hooks): 3 new attribute hooks. | |
1641 | * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL. | |
1642 | * target.h: Update comment. | |
1643 | * tree.c (default_target_attribute_table): Remove. | |
1644 | * tree.h (default_target_attribute_table, format_attribute_table, | |
1645 | lang_attribute_table, lang_attribute_common): Remove. | |
1646 | objc: | |
1647 | * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, | |
1648 | LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine. | |
1649 | ||
84f0ace0 JM |
1650 | 2002-04-24 Jason Merrill <jason@redhat.com> |
1651 | ||
1652 | * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector. | |
1653 | * dwarf2out.c (dwarf_attr_name): Support it. | |
1654 | (gen_array_type_die): Emit it. | |
1655 | (lookup_type_die): No special handling for VECTOR_TYPE. | |
1656 | (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die. | |
1657 | ||
120eaf28 RH |
1658 | 2002-04-24 Richard Henderson <rth@redhat.com> |
1659 | ||
1660 | * config/mips/mips.md (movdi_usd): Renumber. | |
1661 | ||
e732178c DM |
1662 | 2002-04-24 David S. Miller <davem@redhat.com> |
1663 | ||
1664 | PR target/6420 | |
1665 | * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if | |
1666 | 32-bit Sparc and current_function_returns_struct is true. | |
1667 | ||
e879eb2f JH |
1668 | Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
1669 | ||
1670 | * loop.c (canonicalize_condition): Use gen_int_mode. | |
1671 | ||
4287a893 AH |
1672 | 2002-04-24 Aldy Hernandez <aldyh@redhat.com> |
1673 | ||
1674 | * config/rs6000/altivec.h: Cleanup file. Add non individual | |
1675 | variants. | |
1676 | (vec_vaddubm): New. | |
1677 | (vec_vadduhm): New. | |
1678 | (vec_vadduwm): New. | |
1679 | (vec_vaddfp): New. | |
1680 | (vec_vaddcuw): New. | |
1681 | (vec_vaddubs): New. | |
1682 | (vec_vaddsbs): New. | |
1683 | (vec_vadduhs): New. | |
1684 | (vec_vadduws): New. | |
1685 | (vec_vaddsws): New. | |
1686 | (vec_vand): New. | |
1687 | (vec_vandc): New. | |
1688 | (vec_vavgub): New. | |
1689 | (vec_vavgsb): New. | |
1690 | (vec_vavguh): New. | |
1691 | (vec_vavgsh): New. | |
1692 | (vec_vavguw): New. | |
1693 | (vec_vavgsw): New. | |
1694 | (vec_vrfip): New. | |
1695 | (vec_vcmpbfp): New. | |
1696 | (vec_vcmpequb): New. | |
1697 | (vec_vcmpequh): New. | |
1698 | (vec_vcmpequw): New. | |
1699 | (vec_vcmpeqfp): New. | |
1700 | (vec_vcmpgefp): New. | |
1701 | (vec_vcmpgtub): New. | |
1702 | (vec_vcmpgtsb): New. | |
1703 | (vec_vcmpgtuh): New. | |
1704 | (vec_vcmpgtsh): New. | |
1705 | (vec_vcmpgtuw): New. | |
1706 | (vec_vcmpgtsw): New. | |
1707 | (vec_vcmpgtfp): New. | |
1708 | (vec_vcmpgefp): New. | |
1709 | (vec_vcfux): New. | |
1710 | (vec_vcfsx): New. | |
1711 | (vec_vctsxs): New. | |
1712 | (vec_vctuxs): New. | |
1713 | (vec_vexptefp): New. | |
1714 | (vec_vrfim): New. | |
1715 | (vec_lvx): New. | |
1716 | (vec_lvebx): New. | |
1717 | (vec_lvehx): New. | |
1718 | (vec_lde): Add vector float variant. | |
1719 | (vec_lvewx): New. | |
1720 | (vec_lvxl): New. | |
1721 | (vec_vlogefp): New. | |
1722 | (vec_vmaddfp): New. | |
1723 | (vec_vmhaddshs): New. | |
1724 | (vec_vmaxub): New. | |
1725 | (vec_vmaxsb): New. | |
1726 | (vec_vmaxuh): New. | |
1727 | (vec_vmaxsh): New. | |
1728 | (vec_vmaxuw): New. | |
1729 | (vec_vmaxsw): New. | |
1730 | (vec_vmaxsw): New. | |
1731 | (vec_vmaxfp): New. | |
1732 | (vec_vmrghb): New. | |
1733 | (vec_vmrghh): New. | |
1734 | (vec_vmrghw): New. | |
1735 | (vec_vmrglb): New. | |
1736 | (vec_vmrglh): New. | |
1737 | (vec_vmrglw): New. | |
1738 | (vec_vminub): New. | |
1739 | (vec_vminsb): New. | |
1740 | (vec_vminuh): New. | |
1741 | (vec_vminsh): New. | |
1742 | (vec_vminuw): New. | |
1743 | (vec_vminsw): New. | |
1744 | (vec_vminfp): New. | |
1745 | (vec_vmladduhm): New. | |
1746 | (vec_vmhraddshs): New. | |
1747 | (vec_msumubm): New. | |
1748 | (vec_vmsummbm): New. | |
1749 | (vec_vmsumuhm): New. | |
1750 | (vec_vmsumshm): New. | |
1751 | (vec_vmsumuhs): New. | |
1752 | (vec_vmsumshs): New. | |
1753 | (vec_vmuleub): New. | |
1754 | (vec_vmulesb): New. | |
1755 | (vec_vmuleuh): New. | |
1756 | (vec_vmulesh): New. | |
1757 | (vec_vmuloub): New. | |
1758 | (vec_mulosb): New. | |
1759 | (vec_vmulouh): New. | |
1760 | (vec_vmulosh): New. | |
1761 | (vec_vnmsubfp): New. | |
1762 | (vec_vnor): New. | |
1763 | (vec_vor): New. | |
1764 | (vec_vpkuhum): New. | |
1765 | (vec_vpkuwum): New. | |
1766 | (vec_vpkpx): New. | |
1767 | (vec_vpkuhus): New. | |
1768 | (vec_vpkshss): New. | |
1769 | (vec_vpkuwus): New. | |
1770 | (vec_vpkswss): New. | |
1771 | (vec_vpkshus): New. | |
1772 | (vec_vpkswus): New. | |
1773 | (vec_vperm): New. | |
1774 | (vec_vrefp): New. | |
1775 | (vec_vrlb): New. | |
1776 | (vec_vrlh): New. | |
1777 | (vec_vrlw): New. | |
1778 | (vec_vrfin): New. | |
1779 | (vec_vrsqrtefp): New. | |
1780 | (vec_vsel): New. | |
1781 | (vec_vslb): New. | |
1782 | (vec_vslh): New. | |
1783 | (vec_vslw): New. | |
1784 | (vec_vsldoi): New. | |
1785 | (vec_vsl): New. | |
1786 | (vec_vslo): New. | |
1787 | (vec_vspltb): New. | |
1788 | (vec_vsplth): New. | |
1789 | (vec_vspltw): New. | |
1790 | (vec_vspltisb): New. | |
1791 | (vec_vspltish): New. | |
1792 | (vec_vspltisw): New. | |
1793 | (vec_vsrb): New. | |
1794 | (vec_vsrh): New. | |
1795 | (vec_vsrw): New. | |
1796 | (vec_vsrab): New. | |
1797 | (vec_vsrah): New. | |
1798 | (vec_vsraw): New. | |
1799 | (vec_vsr): New. | |
1800 | (vec_vsro): New. | |
1801 | (vec_stvx): New. | |
1802 | (vec_stvebx): New. | |
1803 | (vec_stvehx): New. | |
1804 | (vec_stvewx): New. | |
1805 | (vec_stvxl): New. | |
1806 | (vec_vsububm): New. | |
1807 | (vec_vsubuhm): New. | |
1808 | (vec_vsubuwm): New. | |
1809 | (vec_vsubfp): New. | |
1810 | (vec_vsubcuw): New. | |
1811 | (vec_vsububs): New. | |
1812 | (vec_vsubsbs): New. | |
1813 | (vec_vsubuhs): New. | |
1814 | (vec_vsubshs): New. | |
1815 | (vec_vsubuws): New. | |
1816 | (vec_vsubsws): New. | |
1817 | (vec_vsum4ubs): New. | |
1818 | (vec_vsum4sbs): New. | |
1819 | (vec_vsum4shs): New. | |
1820 | (vec_vsum2sws): New. | |
1821 | (vec_vsumsws): New. | |
1822 | (vec_vrfiz): New. | |
1823 | (vec_vupkhsb): New. | |
1824 | (vec_vupkhpx): New. | |
1825 | (vec_vupkhsh): New. | |
1826 | (vec_vupklsb): New. | |
1827 | (vec_vupklpx): New. | |
1828 | (vec_vupklsh): New. | |
1829 | (vec_vxor): New. | |
1830 | ||
cff27795 EB |
1831 | 2002-04-23 Eric Botcazou <ebotcazou@multimania.com> |
1832 | ||
1833 | PR c/5430 | |
1834 | * fold-const.c (split_tree): Add MINUS_LITP parameter; separate | |
1835 | added literals from substracted literals. | |
1836 | (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR. | |
1837 | (fold) [associate]: Preserve MINUS_EXPR if needed. | |
1838 | ||
952bca84 ZW |
1839 | 2002-04-23 Zack Weinberg <zack@codesourcery.com> |
1840 | ||
1841 | * doc/install.texi: Clarify which versions of alpha*-dec-osf* | |
1842 | are obsoleted. | |
1843 | ||
50cb2154 TT |
1844 | 2002-04-23 Tom Tromey <tromey@redhat.com> |
1845 | ||
1846 | * gcc.c: Added --resource. For PR java/6314. | |
1847 | ||
271f61fb DB |
1848 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
1849 | ||
9566d1e9 | 1850 | * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg. |
271f61fb DB |
1851 | * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of |
1852 | these libraries. | |
1853 | ||
bdabbc80 DB |
1854 | 2002-04-23 David O'Brien <obrien@FreeBSD.org> |
1855 | ||
1856 | * config/freebsd.h(OBJECT_FORMAT_ELF): Define. | |
1857 | ||
74411039 JH |
1858 | Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz> |
1859 | ||
1860 | * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug | |
1861 | workaround. | |
1862 | (ix86_expand_int_movcc): Avoid x86_64 compilation chrash. | |
1863 | (ix86_expand_clrstr): Fix typo. | |
1864 | * loop.c (gen_load_of_final_value): New. | |
1865 | (loop_givs_rescan, strength_reduce, check_dbra_loop): | |
1866 | Use it. | |
1867 | ||
1a887f86 RS |
1868 | 2002-04-23 Roger Sayle <roger@eyesopen.com> |
1869 | ||
1870 | * builtins.c (builtin_memset_gen_str): New function. | |
1871 | (expand_builtin_memset): Optimize the case of constant length, but | |
1872 | unknown value. | |
1873 | ||
8d3441e0 AH |
1874 | 2002-04-23 Aldy Hernandez <aldyh@redhat.com> |
1875 | ||
cff27795 EB |
1876 | * config/rs6000/altivec.h (vec_step): Remove extraneous |
1877 | parentheses. | |
1878 | (vec_ctu): Cast return. | |
8d3441e0 | 1879 | |
f6f315fe AM |
1880 | 2002-04-23 Alan Modra <amodra@bigpond.net.au> |
1881 | ||
1882 | PR target/6413 | |
1883 | * function.h: (struct function): Add profile_label_no field. | |
1884 | (current_function_profile_label_no): Define. | |
1885 | * function.c: (profile_label_no): New static var. | |
1886 | (expand_function_start): Increment it, and copy to | |
1887 | current_function_profile_label_no. | |
1888 | * output.h (profile_label_no): Delete. | |
1889 | * final.c (profile_label_no): Delete. | |
1890 | (profile_function): Use current_function_profile_label_no. | |
1891 | (final_end_function): Don't increment profile_label_no here. | |
1892 | * config/i386/i386.c (ix86_osf_output_function_prologue): Replace | |
1893 | profile_label_no with current_function_profile_label_no. | |
1894 | * config/pa/pa.c (current_function_number): Delete. | |
1895 | (pa_output_function_prologue): Don't output profile label here. | |
1896 | (hppa_profile_hook): Use label_no param rather than | |
1897 | current_function_number. | |
1898 | (FUNC_BEGIN_PROLOG_LABEL): Move to .. | |
1899 | * config/pa/pa.h: .. here. | |
1900 | (FUNCTION_PROFILER): Output profile label here. | |
1901 | ||
d239cdc0 EC |
1902 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
1903 | ||
1904 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert | |
1905 | patch of 2002-04-09 due to binutils issues. | |
1906 | (FUNCTION_ARG_REGNO_P): Ensure even numbered float register. | |
1907 | ||
04428ad4 AH |
1908 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
1909 | ||
cff27795 EB |
1910 | * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm' |
1911 | constraint to 'o' for m=r and r=m alternatives. | |
1912 | ("*movv8hi_internal1"): Same. | |
1913 | ("*movv16qi_internal1"): Same. | |
1914 | ("*movv4sf_internal1"): Same. | |
04428ad4 | 1915 | |
2adc7f12 JJ |
1916 | 2002-04-22 Janis Johnson <janis187@us.ibm.com> |
1917 | ||
1918 | * rtl.h (RTX_FLAG): New macro. | |
1919 | * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags. | |
1920 | * final.c (alter_subreg): Use macro to access rtx flag. | |
1921 | * integrate.c (copy_rtx_and_substitute): Use new access macro. | |
1922 | * print-rtl.c (print_rtx): Use new access macro. | |
1923 | ||
1924 | * cse.c (insert): Check rtx code before accessing flag. | |
1925 | ||
1926 | * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P, | |
1927 | ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New. | |
1928 | (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test, | |
1929 | convert_const_symbol_ref, make_canonical, make_alternative_compare, | |
1930 | evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp, | |
1931 | simplify_test_exp, optimize_attrs, simplify_by_exploding, | |
1932 | find_and_mark_used_attributes, unmark_used_attributes, | |
1933 | add_values_to_cover, simplify_with_current_value, | |
1934 | simplify_with_current_value_aux, clear_struct_flag, walk_attr_value, | |
1935 | copy_rtx_unchanging, main): Use new access macros. | |
1936 | ||
b7c89afe TR |
1937 | 2002-04-22 Tom Rix <trix@redhat.com> |
1938 | ||
1939 | * expmed.c (init_expmed): Generate shifted constant once. | |
1940 | ||
9340544b ZW |
1941 | 2002-04-22 Zack Weinberg <zack@codesourcery.com> |
1942 | ||
1943 | * c-lex.c (lex_charconst): Call convert to get constant in | |
1944 | proper type; don't just smash the type field. | |
1945 | Fixes PR c/6300. | |
1946 | ||
1947 | * config.gcc: Add list of obsolete configurations. Disallow | |
1948 | building these without --enable-obsolete. | |
1949 | * doc/install.texi: Document --enable-obsolete and obsoletion | |
1950 | policy. Mention obsoletion of individual targets in | |
1951 | appropriate places. | |
1952 | ||
f942d7a5 RH |
1953 | 2002-04-22 Richard Henderson <rth@redhat.com> |
1954 | ||
1955 | * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New. | |
1956 | ||
1957 | 2002-04-22 Mark Mitchell <mark@codesourcery.com> | |
8ed8f731 MM |
1958 | |
1959 | PR f/6138. | |
1960 | * function.c (fixup_memory_subreg): Add promoted_mode parameter. | |
1961 | (walk_fixup_memory_subreg): Likewise. | |
1962 | (fixup_var_refs_insn): Adjust accordingly. | |
1963 | (fixup_var_refs_1): Likewise. | |
1964 | ||
232b0b45 UW |
1965 | 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com> |
1966 | ||
1967 | * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC, | |
1968 | LIBPATH_ARCH64_SPEC): Define. | |
1969 | (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64. | |
1970 | (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath. | |
1971 | (LINK_ARCH31_SPEC): Add libpath_arch31 to search path. | |
1972 | (LINK_ARCH64_SPEC): Add libpath_arch64 to search path. | |
1973 | ||
1b61552b JS |
1974 | 2002-04-22 Joel Sherrill <joel@OARcorp.com> |
1975 | ||
1976 | * gthr-rtems.h: Correct prototypes to remove warnings. | |
1977 | ||
0fe854a7 RH |
1978 | 2002-04-22 Richard Henderson <rth@redhat.com> |
1979 | ||
1980 | PR c/6344 | |
1981 | * alias.c (canon_true_dependence): Special case (mem:blk (scratch)). | |
1982 | ||
1983 | * gcse.c (free_insn_expr_list_list): New. | |
1984 | (clear_modify_mem_tables): Use it. Fix bit set usage. | |
1985 | (canon_list_insert): Use EXPR_LISTs for expressions. | |
1986 | (record_last_mem_set_info): Factor BLOCK_NUM (insn). | |
1987 | ||
af0d16cd NB |
1988 | 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk> |
1989 | ||
1990 | * cppfiles.c (_cpp_pop_file_buffer): Return void. Move | |
1991 | file change and include code to _cpp_pop_buffer. | |
1992 | * cpphash.h (struct pending_option): Predeclare. | |
1993 | (struct cpp_reader): New member next_include_file. | |
1994 | (_cpp_pop_file_buffer): Update. | |
1995 | (_cpp_push_next_buffer): Update, rename. | |
1996 | * cppinit.c (cpp_destroy): Free include chain and pending here. | |
1997 | (cpp_finish_options): Simplify. | |
1998 | (_cpp_push_next_buffer): Rename and clean up. | |
1999 | * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer. | |
2000 | Clarify. | |
2001 | * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here. | |
2002 | ||
0d918572 AH |
2003 | 2002-04-22 Aldy Hernandez <aldyh@redhat.com> |
2004 | ||
0fe854a7 RH |
2005 | * config/rs6000/altivec.h (vec_xor): Add variant for both args |
2006 | being vector signed int. | |
2007 | (vec_andc): Same. | |
2008 | (vec_xor): Add variant for both args being vector signed char. | |
2009 | Remove redundant variant. | |
2010 | (vec_andc): Same. | |
0d918572 | 2011 | |
77e2c290 DM |
2012 | 2002-04-21 David S. Miller <davem@redhat.com> |
2013 | ||
2014 | * config/sparc/sparc.md (set then compare DI mode peephole2): Fix | |
2015 | compare mode in output RTL. | |
2016 | ||
ee2ca2a2 DE |
2017 | 2002-04-22 David Edelsohn <edelsohn@gnu.org> |
2018 | ||
2019 | * config/rs6000/rs6000.c (rs6000_override_options): Correct | |
2020 | style and formatting of previous patch. | |
2021 | ||
894bdff6 AM |
2022 | 2002-04-22 Alan Modra <amodra@bigpond.net.au> |
2023 | ||
2024 | * config/rs6000/rs6000.c (rs6000_override_options): Always clear | |
2025 | flag_pic for ABI_AIX. | |
2026 | ||
562a5c27 NB |
2027 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
2028 | ||
2029 | * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar. | |
2030 | * cppfiles.c (read_include_file): Similarly. | |
2031 | * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen, | |
2032 | uxstrdup ustrchr, ufputs): Similarly. | |
2033 | * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly. | |
2034 | * cpplex.c (parse_slow, unescaped_terminator_p, save_comment, | |
2035 | cpp_ideq, parse_identifier, parse_number): Similarly. | |
2036 | * cpplib.c (struct directive, dequote_string, D, run_directive, | |
2037 | cpp_push_buffer): Similarly. | |
2038 | * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string, | |
2039 | _cpp_create_definition, check_trad_stringification, | |
2040 | cpp_macro_definition): Similarly. | |
2041 | ||
9ac3b1be NB |
2042 | 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk> |
2043 | ||
2044 | * cppmacro.c (funlike_invocation_p): Don't step back | |
2045 | over CPP_EOF. | |
2046 | ||
9dda4cc8 DE |
2047 | 2002-04-21 David Edelsohn <edelsohn@gnu.org> |
2048 | ||
2049 | * config/rs6000/rs6000.c (output_profile_hook): Do not increment | |
2050 | labelno. | |
2051 | ||
20764052 JM |
2052 | 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk> |
2053 | ||
2054 | * doc/invoke.texi: Remove Chill references. | |
2055 | * doc/gcc.texi: Update last modified date. | |
2056 | ||
26b29884 KH |
2057 | 2002-04-20 Kazu Hirata <kazu@hxi.com> |
2058 | ||
2059 | * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary | |
2060 | push and pop. Replace add.l with add.w. | |
2061 | ||
59184677 TM |
2062 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
2063 | ||
2064 | * config/h8300/lib1funcs.asm (___mulsi3): Use hardware | |
2065 | multiply instructions for H8/300H case. | |
2066 | ||
b1113e0a TM |
2067 | 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> |
2068 | ||
2069 | * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2): | |
2070 | Bum three instructions from each routine. | |
2071 | ||
b03e38e1 NB |
2072 | 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk> |
2073 | ||
2074 | * Makefile.in: Update. | |
2075 | * decl.c (push_c_function_context, pop_c_function_context, | |
2076 | mark_c_function_context): Rename for consistency. | |
2077 | * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere. | |
2078 | * c-tree.h (push_c_function_context, pop_c_function_context, | |
2079 | mark_c_function_context): Rename for consistency. | |
2080 | * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
2081 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
2082 | * function.c (init_lang_status, save_lang_status, | |
2083 | restore_lang_status, mark_lang_status, free_lang_status): | |
2084 | Move to langhooks.h. | |
2085 | (push_function_context_to, pop_function_context_from, | |
2086 | free_after_parsing, prepare_function_start, ggc_mark_struct_function): | |
2087 | Update. | |
2088 | * function.h (init_lang_status, save_lang_status, | |
2089 | restore_lang_status, mark_lang_status, free_lang_status): | |
2090 | Move to langhooks.h. | |
2091 | * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT, | |
2092 | LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
2093 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK, | |
2094 | LANG_HOOKS_FUNCTION_INITIALIZER): New. | |
2095 | (LANG_HOOKS_INITIALIZER): Update. | |
2096 | (lhd_do_nothing_f): New. | |
2097 | * langhooks.h (struct lang_hooks_for_functions): New. | |
2098 | (struct lang_hooks): New hooks. | |
2099 | * langhooks.c (lhd_do_nothing_f): New. | |
2100 | objc: | |
2101 | * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
2102 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine. | |
2103 | ||
db430d26 DM |
2104 | 2002-04-19 David S. Miller <davem@redhat.com> |
2105 | ||
2106 | * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. | |
2107 | * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise. | |
2108 | ||
0f2a3457 JJ |
2109 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
2110 | ||
2111 | PR optimization/3756 | |
2112 | * config/i386/i386.c (ix86_expand_int_movcc): Optimize | |
2113 | x = ((int) y < 0) ? cst1 : cst2. | |
2114 | ||
ce5e43d0 JJ |
2115 | 2002-04-19 Jakub Jelinek <jakub@redhat.com> |
2116 | ||
2117 | PR c/6358 | |
2118 | * function.c: Reapply patch for c/6358. | |
2119 | (expand_function_end): Copy decl_rtl's mode, not | |
2120 | current_function_return_rtx mode. | |
2121 | ||
2122 | 2002-04-19 Joel Sherrill <joel@OARcorp.com> | |
9eb83f6c JS |
2123 | |
2124 | * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF | |
2125 | targets. | |
2126 | ||
40e7f8ea TT |
2127 | 2002-04-19 Tom Tromey <tromey@redhat.com> |
2128 | ||
2129 | * doc/install.texi (Specific): Update status of Solaris 2.8. | |
2130 | For PR libgcj/6158. | |
2131 | ||
62a12b27 AS |
2132 | 2002-04-19 Andreas Schwab <schwab@suse.de> |
2133 | ||
2134 | * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE. | |
2135 | (PUT_REAL): Restore old definition. | |
2136 | ||
1405141b DN |
2137 | 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu> |
2138 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
2139 | ||
2140 | * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that | |
2141 | binutils 2.11.2 and higher generate smaller binaries than Sun's | |
2142 | native tools. | |
2143 | ||
303a3927 MM |
2144 | 2002-04-19 Mark Mitchell <mark@codesourcery.com> |
2145 | ||
2146 | PR c++/6352 | |
2147 | * toplev.c (rest_of_compilation): Do not defer functions for which | |
2148 | TREE_SYMBOL_REFERENCED has already been set. | |
2149 | ||
de80110b JH |
2150 | Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz> |
2151 | ||
2152 | * i386.md (movsi_1, movhi_1): Force reload to use more flexible | |
2153 | alternative. | |
2154 | ||
ab393bf1 NB |
2155 | 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk> |
2156 | ||
2157 | * builtins.c: Include langhooks.h. | |
2158 | (lang_type_promotes_to): Remove. | |
2159 | (expand_builtin_va_arg): Use new hook. | |
2160 | * c-common.c (c_common_nodes_and_builtins): Don't set hook. | |
2161 | (simple_type_promotes_to): Move to c-typeck.c. | |
2162 | * c-common.h (simple_type_promotes_to): Remove. | |
2163 | * c-decl.c (duplicate_decls, grokdeclarator): Update. | |
2164 | * c-format.c: Include langhooks.h. | |
2165 | (check_format_types): Update. | |
2166 | * c-tree.h (c_type_promotes_to): New. | |
2167 | * c-typeck.c (c_type_promotes_to): Move from c-common.c. | |
2168 | (type_lists_compatible_p): Update. | |
2169 | * langhooks-def.h (lhd_type_promotes_to): New. | |
2170 | (LANG_HOOKS_TYPE_PROMOTES_TO): New. | |
2171 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
2172 | * langhooks.c (lhd_type_promotes_to): New. | |
2173 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
2174 | * tree.h (lang_type_promotes_to): Remove. | |
2175 | objc: | |
2176 | * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine. | |
2177 | ||
0cd3301b RH |
2178 | 2002-04-18 Richard Henderson <rth@redhat.com> |
2179 | ||
58533fa2 | 2180 | * function.c: Revert patch for c/6358. |
0cd3301b RH |
2181 | |
2182 | 2002-04-18 Richard Henderson <rth@redhat.com> | |
2183 | ||
58533fa2 RH |
2184 | * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN |
2185 | blocks. Handle multiple references to the TRAP block. Handle | |
2186 | non-adjacent THEN and OTHER blocks. | |
0cd3301b | 2187 | |
58533fa2 RH |
2188 | 2002-04-18 Richard Henderson <rth@redhat.com> |
2189 | ||
2190 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't | |
2191 | crash with no type for by-mode libcalls. | |
2192 | ||
2193 | * config/ia64/ia64.md (conditional_trap): Fix predicate polarity. | |
0cd3301b | 2194 | |
57174693 BW |
2195 | 2002-04-18 Bob Wilson <bob.wilson@acm.org> |
2196 | ||
2197 | * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill, | |
2198 | __xtensa_nonlocal_goto): Use a syscall instructions to flush | |
2199 | the register windows. | |
2200 | ||
46468cd9 ZW |
2201 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
2202 | ||
2203 | * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as | |
2204 | appropriate. Document need for extended precision even when | |
2205 | MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here, | |
2206 | based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size | |
2207 | REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error | |
2208 | instead of relying on later syntax error when REAL_WIDTH > 5. | |
2209 | * real.c: Define NE based only on whether or not we have a | |
2210 | full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT). | |
2211 | Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally | |
2212 | define GET_REAL and PUT_REAL as simple memcpy operations; no | |
2213 | need to byteswap or round. | |
2214 | Use #error instead of #ifdef-ing out the entire file, for | |
2215 | prompt error detection. | |
2216 | ||
2217 | * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here. | |
2218 | ||
2f82dbf8 DM |
2219 | 2002-04-18 David S. Miller <davem@redhat.com> |
2220 | ||
2221 | * config/sparc/sparc.h (BRANCH_COST): Define. | |
2222 | ||
2223 | * fold-const.c (BRANCH_COST): Don't provide default here, expr.h | |
2224 | does it. | |
2225 | ||
566576e7 HPN |
2226 | 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com> |
2227 | ||
2228 | * flow.c (update_life_info): Ignore return value of cleanup_cfg. | |
2229 | Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in | |
2230 | propagate_block calls after relaxation loop using new variable | |
2231 | stabilized_prop_flags. | |
2232 | ||
51dcde6f RH |
2233 | 2002-04-18 Richard Henderson <rth@redhat.com> |
2234 | ||
2235 | * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New. | |
2236 | (ia64_va_arg): Expect variable sized types by reference. | |
2237 | * config/ia64/ia64-protos.h: Update. | |
46468cd9 | 2238 | * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use |
51dcde6f RH |
2239 | ia64_function_arg_pass_by_reference. |
2240 | ||
26406018 RH |
2241 | 2002-04-18 Richard Henderson <rth@redhat.com> |
2242 | ||
46468cd9 ZW |
2243 | * ifcvt.c: Include except.h. |
2244 | (block_has_only_trap): Break out from find_cond_trap. | |
2245 | (find_cond_trap): Use it. Always delete the trap block. | |
2246 | (merge_if_block): Allow then block null. Be less simplistic about | |
2247 | what insns can end a block. | |
2248 | * Makefile.in (ifcvt.o): Depend on except.h. | |
96b453dc | 2249 | |
26406018 RH |
2250 | * config/ia64/ia64.md (trap, conditional_trap): New. |
2251 | ||
a3acf46d JJ |
2252 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
2253 | ||
2254 | PR c/6358 | |
2255 | * function.c (assign_parms): Assign hard current_function_return_rtx | |
2256 | register here... | |
2257 | (expand_function_end): ...not here. | |
2258 | ||
7a228918 NB |
2259 | 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk> |
2260 | ||
2261 | * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
2262 | * c-tree.h (c_incomplete_type_error): New. | |
2263 | * c-typeck.c (require_complete_type, build_component_ref): Update. | |
2264 | (incomplete_type_error): Rename. | |
2265 | * langhooks-def.h (lhd_incomplete_type_error): New. | |
2266 | (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New. | |
2267 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update. | |
2268 | * langhooks.c (lhd_incomplete_type_error): New. | |
2269 | * langhooks.h (struct lang_hooks_for_types): New hook. | |
2270 | * tree.c (size_in_bytes): Use new hook. | |
2271 | * tree.h (incomplete_type_error): Remove. | |
2272 | objc: | |
2273 | * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. | |
2274 | ||
f18664c1 ZW |
2275 | 2002-04-18 Zack Weinberg <zack@codesourcery.com> |
2276 | ||
2277 | * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT != | |
2278 | TARGET_FLOAT_FORMAT blocks. | |
2279 | ||
8ecab453 GP |
2280 | 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2281 | ||
2282 | * doc/install.texi (Downloading the source): Do not mention Chill | |
2283 | any longer, but mention Ada. | |
2284 | (Configuration): Do not mention Chill any longer. | |
2285 | ||
528d8489 HPN |
2286 | 2002-04-18 Hans-Peter Nilsson <hp@axis.com> |
2287 | ||
2288 | * config/cris/cris.h (TARGET_VERSION): Remove local version number. | |
2289 | ||
91da27c5 JH |
2290 | Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz> |
2291 | ||
2292 | * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution | |
2293 | in last patch. | |
2294 | ||
a32db605 JJ |
2295 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
2296 | ||
2297 | * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) | |
2298 | instead of unsigned_type. | |
2299 | ||
5a28d8cc JH |
2300 | Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz> |
2301 | ||
2302 | * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check. | |
2303 | * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped | |
2304 | later. | |
2305 | ||
3d980b9f BS |
2306 | 2002-04-18 Bernd Schmidt <bernds@redhat.com> |
2307 | ||
2308 | * attribs.c (vector_type_node_list): New static variable. | |
2309 | (handle_vector_size_attribute): Use it to avoid generating a | |
2310 | new type node each time we are called. | |
2311 | ||
2e676d78 BS |
2312 | * combine.c (subst): Avoid trying to make a vector mode subreg of |
2313 | an integer constant. | |
2314 | (gen_lowpart_for_combine): Likewise. | |
46468cd9 | 2315 | |
58c2956c RS |
2316 | 2002-04-18 Roger Sayle <roger@eyesopen.com> |
2317 | Jakub Jelinek <jakub@redhat.com> | |
2318 | ||
2319 | * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c) | |
2320 | for integer constant c (if x has unsigned type or sign bit is not | |
2321 | set in c). This folds the zero/sign extension into the bit-wise and | |
2322 | operation. | |
2323 | ||
692efa8e JJ |
2324 | 2002-04-18 Jakub Jelinek <jakub@redhat.com> |
2325 | ||
2326 | PR middle-end/6205 | |
2327 | * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2, | |
2328 | otherwise xorps. | |
2329 | ||
1372d4ce NY |
2330 | 2002-04-17 NIIBE Yutaka <gniibe@m17n.org> |
2331 | ||
2332 | * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL. | |
2333 | ||
169ce44d NC |
2334 | 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com> |
2335 | ||
2336 | * gcc.c (read_specs): Detect and fail if an attempt is made to | |
2337 | rename a spec string to an already existing string. | |
2338 | ||
b30d2115 UW |
2339 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
2340 | ||
2341 | * config/s390/s390.c (legitimize_pic_address): Do not generate | |
2342 | illegal address constant without CONST. | |
2343 | ||
d6964c30 KG |
2344 | 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2345 | ||
2346 | * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64. | |
2347 | * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
2348 | ||
7c82a1ed UW |
2349 | 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
2350 | ||
2351 | PR optimization/6305 | |
2352 | * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement | |
2353 | to make sure previous reloads are taken into account. Generate | |
2354 | better code if one operand is an in-range immediate constant. | |
2355 | ||
58db9d1a AH |
2356 | 2002-04-16 Andrew Haley <aph@cambridge.redhat.com> |
2357 | ||
2358 | * doc/install.texi (Building): libgcj requires GNU make. | |
2359 | ||
2a732575 JJ |
2360 | 2002-04-17 Jakub Jelinek <jakub@redhat.com> |
2361 | ||
2362 | PR bootstrap/6315 | |
2363 | * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting | |
2364 | even if hard quad and register is not floating. | |
2365 | (movtf reg<-mem split): Disallow splitting if hard quad and | |
2366 | register is floating. | |
2367 | (movtf mem<-reg split): Likewise. | |
2368 | * config/sparc/sparc.c (fp_register_operand): New predicate. | |
2369 | * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand. | |
2370 | ||
75a65e46 ZW |
2371 | 2002-04-17 Zack Weinberg <zack@codesourcery.com> |
2372 | ||
2373 | * Makefile.in (PROTO_OBJS): Add cppdefault.o. | |
2374 | (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line. | |
2375 | (unprotoize.o): Ditto. Build from protoize.c. Define | |
2376 | UNPROTOIZE on command line. | |
2377 | * protoize.c: Include cppdefault.h. Delete include_defaults. | |
2378 | (in_system_include_dir): Use cpp_include_defaults (defined in | |
2379 | cppdefault.o). | |
2380 | * unprotoize.c: Delete file. | |
2381 | ||
650f0e97 AH |
2382 | 2002-04-17 Aldy Hernandez <aldyh@redhat.com> |
2383 | ||
46468cd9 ZW |
2384 | * config/rs6000/altivec.h (vec_ld): Add array variants. |
2385 | (vec_lde): Same. | |
2386 | (vec_ldl): Same. | |
650f0e97 | 2387 | |
71a0ab0c | 2388 | 2002-04-17 Alan Matsuoka <alanm@redhat.com> |
46468cd9 | 2389 | Aldy Hernandez <aldyh@redhat.com> |
71a0ab0c | 2390 | |
46468cd9 ZW |
2391 | * config/rs6000/altivec.h: Define __ALTIVEC__. |
2392 | (bool): New. | |
2393 | (__pixel): New. | |
2394 | (pixel): New. | |
2395 | (vec_cfux): New. | |
2396 | (vec_vmaddfp): New. | |
2397 | (vec_vsldoi): New. | |
2398 | Add parentheses to all macro arguments. | |
71a0ab0c | 2399 | |
ff2c46ac RH |
2400 | 2002-04-16 Richard Henderson <rth@redhat.com> |
2401 | ||
2402 | PR c++/6320 | |
2403 | * except.c (remove_eh_handler): Insert inner regions at beginning | |
2404 | of sibling chain. Refactor expressions. | |
2405 | ||
f1ba94dd RH |
2406 | 2002-04-16 Richard Henderson <rth@redhat.com> |
2407 | ||
f0871dfe RH |
2408 | * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New. |
2409 | * config/sparc/sol2-gas-bi.h: New file. | |
2410 | * config.gcc (sparc*-solaris): Add it as needed. | |
2411 | * configure.in (AS_SPARC64_FLAG): Remove check. | |
2412 | * config.in, configure: Regenerate. | |
2413 | ||
2414 | * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64. | |
2415 | ||
2416 | 2002-04-16 Richard Henderson <rth@redhat.com> | |
2417 | ||
2418 | * config/mips/mips.c (override_options): Don't override N32 for | |
2419 | a 64-bit ISA. | |
409d3c60 | 2420 | |
f1ba94dd RH |
2421 | PR 6202 |
2422 | * config/mips/mips.md (can_delay): Split out of existing define_delays. | |
2423 | (HILO_delay): Set can_delay false. | |
2424 | ||
178c3eff DJ |
2425 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
2426 | ||
2427 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute | |
2428 | instruction addresses. | |
2429 | (rs6000_output_function_epilogue): Likewise. | |
2430 | ||
7d6f6369 PC |
2431 | 2002-04-16 Paolo Carlini <pcarlini@unitus.it> |
2432 | ||
2433 | * c-parse.in (poplevel, compstmt_start, | |
2434 | compstmt_primary_start): Add ending ';', in accordance | |
2435 | with POSIX. | |
2436 | ||
8947df0c RH |
2437 | 2002-04-16 Richard Henderson <rth@redhat.com> |
2438 | ||
2439 | * config.gcc (sparcv9-solaris): Configure for 64-bit default. | |
2440 | Adjust tm_file order to get TARGET_DEFAULT set properly. | |
2441 | (sparc-solaris): Configure 2.[78] for 64-bit multilibs. | |
2442 | * doc/install.texi (sparc-solaris): Update. | |
2443 | ||
3148ad6d DJ |
2444 | 2002-04-16 Dale Johannesen <dalej@apple.com> |
2445 | ||
2446 | * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of | |
2447 | comparison operands do not match each other or if modes of | |
2448 | conditions do not match result. | |
2449 | ||
014cb9b6 | 2450 | 2002-04-16 Hartmut Penner <hpenner@de.ibm.com> |
562a69be | 2451 | |
014cb9b6 HP |
2452 | PR target/6305 |
2453 | * config/s390/s390.md (mulsidi3): Set both subregs of the | |
46468cd9 | 2454 | multiword register. |
562a69be | 2455 | |
014cb9b6 | 2456 | 2002-04-16 Aldy Hernandez <aldyh@redhat.com> |
4c8c0dec | 2457 | |
8947df0c | 2458 | * config/rs6000/altivec.h (vec_addc): Type check. |
4c8c0dec | 2459 | |
a9772b60 JJ |
2460 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
2461 | ||
2462 | PR middle-end/6279 | |
2463 | * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target. | |
2464 | ||
2465 | * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET. | |
2466 | ||
861829ed RH |
2467 | 2002-04-15 Richard Henderson <rth@redhat.com> |
2468 | ||
2469 | * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set | |
2470 | call_really_used_regs too. | |
2471 | ||
bcf2fe9c RH |
2472 | 2002-04-15 Richard Henderson <rth@redhat.com> |
2473 | ||
2474 | * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd. | |
2475 | ||
629111c7 DM |
2476 | 2002-04-15 David S. Miller <davem@redhat.com> |
2477 | ||
2478 | * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs | |
2479 | as being CLOBBERed. | |
2480 | ||
98ef3137 JJ |
2481 | 2002-04-16 Jakub Jelinek <jakub@redhat.com> |
2482 | ||
2483 | PR c/6290 | |
2484 | * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the | |
2485 | CONST_VECTOR is { 0, ... 0 }. | |
2486 | ||
0aa911c5 LR |
2487 | 2002-04-15 Loren J. Rittle <ljrittle@acm.org> |
2488 | ||
2489 | * doc/install.texi (Installing GCC: Configuration): Clarify | |
2490 | the only supported ways to configure gcc. | |
2491 | ||
83248d49 | 2492 | 2002-04-15 Roland McGrath <roland@frob.com> |
46468cd9 | 2493 | |
83248d49 RM |
2494 | * config.gcc (alpha*-*-gnu*): New target configuration. |
2495 | * config/alpha/gnu.h: New file for it. | |
2496 | * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define. | |
2497 | ||
b2123dc0 MM |
2498 | 2002-04-16 Mark Mitchell <mark@codesourcery.com> |
2499 | ||
2500 | * c-common.h (STMT_EXPR_NO_SCOPE): New macro. | |
2501 | * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE. | |
2502 | * tree.h (expand_start_stmt_expr): Update prototype. | |
2503 | * stmt.c (expand_start_stmt_expr): Add has_scope parameter. | |
2504 | * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE | |
2505 | on the STMT_EXPR created for the inline function. | |
46468cd9 | 2506 | |
8fe2d853 RH |
2507 | 2002-04-15 Richard Henderson <rth@redhat.com> |
2508 | ||
2509 | * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h, | |
2510 | config/i386/linux-aout.h, config/i386/linux-oldld.h, | |
2511 | config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h, | |
2512 | config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h, | |
2513 | config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h, | |
2514 | config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h, | |
2515 | config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES): | |
2516 | Define __gnu_linux__, not gnu_linux. | |
2517 | * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd. | |
2518 | ||
07cdae91 MM |
2519 | 2002-04-15 Mark Mitchell <mark@codesourcery.com> |
2520 | ||
2521 | Remove Chill front end. | |
2522 | * gcc.c (default_compilers): Remove Chill entries. | |
2523 | * ch: Remove directory. | |
2524 | * doc/frontends.texi: Remove information about Chill. | |
2525 | * doc/sourcebuild.texi: Likewise. | |
2526 | * doc/standards.texi: Likewise. | |
2527 | ||
41823c5e DR |
2528 | 2002-04-15 Douglas B Rupp <rupp@gnat.com> |
2529 | ||
2530 | * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include. | |
2531 | (LONGLONG_STANDALONE): Define. | |
2532 | ||
eb29ddb6 DM |
2533 | 2002-04-15 David S. Miller <davem@redhat.com> |
2534 | ||
2535 | * config/sparc/sparc.c (sparc_emit_float_lib_cmp): | |
2536 | Call emit_library_call with LCT_NORMAL. | |
2537 | (sparc_initialize_trampoline): Use LCT_foo instead of | |
2538 | magic constant in emit_library_call invocations. | |
2539 | (sparc64_initialize_trampoline): Likewise. | |
2540 | (sparc_profile_hook): Likewise. | |
2541 | * config/sparc/sparc.md: Likewise. | |
2542 | ||
2543 | * config/sparc/sparc.c (sparc_extra_constraint_check): | |
2544 | Fix type of argument 'c'. | |
2545 | * config/sparc/sparc-protos.h (sparc_extra_constraint_check): | |
2546 | Likewise. | |
2547 | ||
bd6bec6b GDR |
2548 | 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
2549 | ||
2550 | * diagnostic.h (output_buffer_state): Redefine. | |
2551 | (output_format_decoder): New macro. | |
2552 | (output_prefixing_rule): Likewise. | |
2553 | (output_line_cutoff): Likewise. | |
2554 | (diagnostic_format_decoder): Adjust. | |
2555 | (diagnostic_prefixing_rule): Likewise. | |
2556 | (diagnostic_line_cutoff): Likewise. | |
2557 | (diagnostic_state): Likewise. | |
2558 | (diagnostic_kind_count): Likewise. | |
2559 | (diagnostic_buffer): Now a macro. | |
2560 | ||
2561 | * diagnostic.c (diagnostic_buffer): Remove definition. | |
2562 | (output_is_line_wrapping): Adjust. | |
2563 | (set_real_maximum_length): Likewise. | |
2564 | (output_set_maximum_length): Likewise. | |
2565 | (init_output_buffer): Likewise. | |
2566 | (lhd_print_error_function): Likewise. | |
2567 | (output_do_verbatim): Likewise. | |
2568 | ||
ebef4e8c NB |
2569 | 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk> |
2570 | ||
2571 | * cpperror.c (print_location): Don't print include chain | |
2572 | if line == 0. | |
2573 | (cpp_begin_message): Update to use DL_ macros. | |
2574 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
2575 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
2576 | cpp_notice, cpp_notice_from_errno): Remove. | |
2577 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
2578 | level. | |
2579 | (cpp_errno): New. | |
2580 | * cppexp.c (CPP_ICE): Remove. | |
2581 | (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined, | |
2582 | lex, integer_overflow, _cpp_parse_expr): Update. | |
2583 | * cppfiles.c (read_include_file, find_include_file, | |
2584 | handle_missing_header, _cpp_read_file, remap_filename): Update. | |
2585 | * cpphash.h (enum error_type): Remove. | |
2586 | (_cpp_begin_message): Update. | |
2587 | * cppinit.c (append_include_chain, remove_dup_dirs, output_deps, | |
2588 | cpp_handle_option, cpp_post_options): Update. | |
2589 | * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment, | |
2590 | skip_whitespace, parse_identifier, parse_slow, parse_string, | |
2591 | _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape, | |
2592 | cpp_interpret_charconst): Update. | |
2593 | * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive, | |
2594 | lex_macro_node, do_undef, glue_header_name, parse_include, | |
2595 | do_include_common, read_flag, do_line, do_linemarker, do_ident, | |
2596 | cpp_register_pragma, do_pragma_once, do_pragma_system_header, | |
2597 | do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else, | |
2598 | do_elif, do_endif, parse_answer, parse_assertion, do_assert, | |
2599 | _cpp_pop_buffer, do_diagnostic): Update. | |
2600 | * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR, | |
2601 | DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New. | |
2602 | (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning, | |
2603 | cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line, | |
2604 | cpp_notice, cpp_notice_from_errno): Remove. | |
2605 | (cpp_error, cpp_error_with_line): Update to take a diagnostic | |
2606 | level. | |
2607 | (cpp_errno): New. | |
2608 | * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens, | |
2609 | collect_args, enter_macro_context, save_parameter, parse_params, | |
2610 | _cpp_create_definition, check_trad_stringification, | |
2611 | cpp_macro_definition): Update. | |
2612 | * cppmain.c (cpp_preprocess_file): Update. | |
2613 | * fix-header.c (read_scan_file): Update. | |
2614 | ||
c19a3859 AS |
2615 | 2002-04-14 Andreas Schwab <schwab@suse.de> |
2616 | ||
2617 | * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash. | |
2618 | ||
10fdbed6 JD |
2619 | 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> |
2620 | ||
2621 | * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define. | |
2622 | ||
77660a9a MM |
2623 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
2624 | ||
2625 | * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, | |
2626 | not gnu_hurd. | |
2627 | ||
e0ff1ded HPN |
2628 | 2002-04-13 Hans-Peter Nilsson <hp@axis.com> |
2629 | ||
2630 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo. | |
2631 | ||
2341c7ea JS |
2632 | 2002-04-13 Joel Sherrill <joel@OARcorp.com> |
2633 | ||
2634 | * config/sparc/t-elf: Enable v8 multilibs. Impacts | |
2635 | sparc-elf and sparc-rtems targets. | |
2636 | ||
d29350c0 MM |
2637 | 2002-04-13 Mark Mitchell <mark@codesourcery.com> |
2638 | ||
2639 | * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is | |
2640 | defined, and __gnu_hurd__ wherever __GNU__ is defined. | |
2641 | * arm/linux-elf.h: Likewise. | |
2642 | * cris/aout.h: Likewise. | |
2643 | * cris/linux.h: Likewise. | |
2644 | * i370/linux.h: Likewise. | |
2645 | * i386/gnu.h: Likewise. | |
2646 | * i386/linux-aout.h: Likewise. | |
2647 | * i386/linux-oldld.h: Likewise. | |
2648 | * i386/linux.h: Likewise. | |
2649 | * i386/linux64.h: Likewise. | |
2650 | * ia64/linux.h: Likewise. | |
2651 | * m68k/linux-aout.h: Likewise. | |
2652 | * m68k/linux.h: Likewise. | |
2653 | * mips/linux.h: Likewise. | |
2654 | * pa/pa-linux.h: Likewise. | |
2655 | * pj/linux.h: Likewise. | |
2656 | * rs6000/sysv4.h: Likewise. | |
2657 | * s390/linux.h: Likewise. | |
2658 | * sh/linux.h: Likewise. | |
2659 | * sparc/linux-aout.h: Likewise. | |
2660 | * sparc/linux.h: Likewise. | |
2661 | * sparc/linux64.h: Likewise. | |
2662 | * xtensa/linux.h: Likewise. | |
2663 | ||
fc552851 RS |
2664 | 2002-04-13 Richard Sandiford <rsandifo@redhat.com> |
2665 | ||
2666 | * stmt.c (check_unique_operand_names): Expect operand names to | |
2667 | be strings rather than identifiers. Use simple_cst_equal to | |
2668 | compare them. | |
2669 | (resolve_operand_name_1): Make same identifier to string change here. | |
2670 | * c-parse.in (asm_operand): Convert a named operand into a string. | |
2671 | * cp/parse.y (asm_operand): Likewise. | |
2672 | ||
1d405c5e AS |
2673 | 2002-04-13 Andreas Schwab <schwab@suse.de> |
2674 | ||
2675 | * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu). | |
2676 | ||
c740732f MM |
2677 | 2002-04-12 Mark Mitchell <mark@codesourcery.com> |
2678 | ||
2679 | Revert these changes: | |
2680 | ||
2681 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> | |
2682 | ||
2683 | PR c++/5571 | |
2684 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
2685 | ||
3fc602a0 RH |
2686 | 2002-04-12 Richard Henderson <rth@redhat.com> |
2687 | ||
2688 | * config.gcc (sparcv9-*-solaris2): Default to 32-bit code. | |
2689 | (sparc*-*-solaris): Clean up header files. | |
2690 | * configure.in (AS_SPARC64_FLAG): Error out if can't find it | |
2691 | and plan on generating 64-bit code. | |
2692 | * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2. | |
2693 | * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code. | |
2694 | * config/sparc/sol2-sld-64.h: Rename ... | |
2695 | * config/sparc/sol2-bi.h: ... here. Remove the bits that checked | |
2696 | for AS_SPARC64_FLAG not defined. | |
2697 | * config/sparc/sol2-gld-bi.h: New. | |
2698 | * config/sparc/sol2-sld.h: Remove. | |
2699 | * config/sparc/sol26-sld.h: New. | |
2700 | * config/sparc/sol2.h: Tidy comments. | |
2701 | * doc/install.texi: Document sparc-solaris configury changes. | |
2702 | ||
2f15e255 RH |
2703 | 2002-04-12 Richard Henderson <rth@redhat.com> |
2704 | ||
2705 | * recog.c (offsettable_address_p): Match the logic in adjust_address. | |
2706 | ||
2707 | * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode | |
2708 | in 64-bit mode only. Use only for 32-bit or MEDLOW. | |
2709 | ||
cc8475cb RO |
2710 | 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2711 | ||
2712 | * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings. | |
2713 | ||
6f133a4a JL |
2714 | Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com) |
2715 | ||
ef1b8858 | 2716 | * pa.c (pa_can_combine_p): Call extract_insn before calling |
6f133a4a JL |
2717 | constrain_operands. |
2718 | ||
1329e600 DR |
2719 | 2002-04-12 Douglas B Rupp <rupp@gnat.com> |
2720 | ||
2721 | * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define. | |
2722 | (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define. | |
2723 | (DEFAULT_PCC_STRUCT_RETURN): Define as 0. | |
2d424b9f | 2724 | (CPP_PREDEFINES): Handle __declspec. |
1329e600 DR |
2725 | * config/i386/t-interix (USER_H): Remove. |
2726 | ||
0339d239 DD |
2727 | 2002-04-12 DJ Delorie <dj@redhat.com> |
2728 | ||
2729 | * integrate.c (compare_blocks): Make comparisons safe for when | |
2730 | sizeof(int) < sizeof(char *). | |
2731 | (find_block): Likewise. | |
2732 | ||
cc4d5fec JH |
2733 | 2002-04-12 Jan Hubicka <jh@suse.cz> |
2734 | David Edelsohn <edelsohn@gnu.org> | |
2735 | ||
2736 | * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT | |
2737 | registers. | |
2738 | (symbol_ref_operand): New. | |
2739 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand. | |
2740 | * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand. | |
2741 | ||
93215a1b AS |
2742 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
2743 | ||
2744 | * config/ia64/ia64.h (ASM_SPEC): Moved from here ... | |
2745 | * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it | |
2746 | overrides the definition in config/svr4.h. | |
46468cd9 | 2747 | |
1d80248e EN |
2748 | 2002-04-12 Eric Norum <eric.norum@usask.ca> |
2749 | ||
2750 | * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, | |
2751 | config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h, | |
2752 | config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h, | |
2753 | config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h, | |
2754 | config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h, | |
2755 | config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h, | |
2756 | config/v850/rtems.h (*-rtems*): Cleanup pass to move common | |
2757 | definitions to config/rtems.h and make the targets more similar. | |
2758 | ||
fa1591cb RK |
2759 | Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2760 | ||
fa06ab5c RK |
2761 | * expr.c (expand_assigment): Remove duplicate conversions #ifdef |
2762 | POINTERS_EXTEND_UNSIGNED. | |
2763 | (store_constructor, expand_expr, case COMPONENT_REF): Likewise. | |
2764 | (store_expr): Use TYPE_MODE (sizetype), not ptr_mode. | |
2765 | ||
fa1591cb RK |
2766 | * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET |
2767 | not specified. | |
2768 | ||
12e85a0e R |
2769 | Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2770 | ||
2771 | * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG | |
2772 | depends on TARGET_SHMEDIA, not TARGET_SH5. | |
2773 | ||
1ab3e58a HPN |
2774 | 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com> |
2775 | ||
2776 | * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>: | |
2777 | For paradoxical (subreg VAR), replace VAR, don't try the subreg. | |
2778 | ||
18778292 R |
2779 | Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2780 | ||
2781 | * sh.c (broken_move): Constant 0. / 1. load is OK if there is | |
2782 | no r0 clobber. | |
2783 | ||
9002507c AS |
2784 | 2002-04-12 Andreas Schwab <schwab@suse.de> |
2785 | ||
2786 | * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash. | |
2787 | ||
9be40833 RH |
2788 | 2002-04-12 Richard Henderson <rth@redhat.com> |
2789 | ||
2790 | PR bootstrap/4191 | |
2791 | * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef. | |
2792 | ||
2793 | * flow.c (mark_used_reg): Manage reg_cond_dead properly for | |
2794 | modes spanning multiple hard regs. | |
46468cd9 | 2795 | |
9be40833 RH |
2796 | * recog.c (peephole2_optimize): Rebuild jump labels as needed. |
2797 | ||
3d9268b6 JDA |
2798 | 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2799 | ||
2800 | * pa.c (pa_output_function_prologue): Don't accumulate the total | |
2801 | number of code bytes when using TARGET_64BIT, or gas, SOM and not | |
2802 | the portable runtime. | |
2803 | (output_deferred_plabels): Handle 64bit plabels. | |
2804 | (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when | |
2805 | generating pic code using the GAS assembler for object formats that | |
2806 | are not SOM (ie., ELF32 and ELF64). | |
2807 | (output_millicode_call): Check attribute type if attribute length is 28. | |
2808 | Likewise use $PIC_pcrel$0. Only call get_attr_length and | |
2809 | dbr_sequence_length once. | |
2810 | (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and | |
2811 | dbr_sequence_length once. | |
2812 | * pa.h (TARGET_SOM): Define if not defined. | |
2813 | * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0 | |
2814 | with GAS and not SOM. | |
2815 | (jump, call_internal_reg, call_value_internal_reg): Likewise. | |
2816 | * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining. | |
2817 | ||
d360fd18 DB |
2818 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
2819 | ||
2820 | * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value. | |
2821 | (DEFAULT_PCC_STRUCT_RETURN) Do not redefine. | |
2822 | (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP, | |
2823 | DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): | |
2824 | elfos.h and dbxelf.h values are fine now. | |
2825 | * config/i386/freebsd.h, config/alpha/freebsd.h | |
2826 | (DEFAULT_PCC_STRUCT_RETURN): Define to 0. | |
2827 | ||
5b8fcab6 DB |
2828 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
2829 | ||
2830 | * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__ | |
2831 | or set Acpu or Amachine. Reformat. | |
2832 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
2833 | define. | |
2834 | (LINK_SPEC): Do not need to undef. | |
2835 | * config/ia64/elf.h (ASM_EXTRA_SPEC): Define. | |
2836 | * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef. | |
2837 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
2838 | define. | |
2839 | * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define. | |
2840 | (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead. | |
2841 | (LINK_SPEC): Do not need to undef. | |
2842 | (DONT_USE_BUILTIN_SETJMP): Do not define. | |
2843 | * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add. | |
2844 | (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64. | |
2845 | (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define. | |
2846 | Remove trailing spaces. | |
2847 | * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__, | |
2848 | __ELF__, or set Acpu or Amachine. Reformat. | |
2849 | (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not | |
2850 | define. | |
2851 | ||
fee42cc1 DB |
2852 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
2853 | ||
2854 | * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match | |
2855 | all other *-*-freebsd* targets. | |
2856 | ||
77a403e4 RH |
2857 | 2002-04-11 Richard Henderson <rth@redhat.com> |
2858 | ||
2859 | * config.gcc (alpha*-*-linux*ecoff): Detect and reject. | |
2860 | ||
cf0005c6 DB |
2861 | 2002-04-11 David O'Brien <obrien@FreeBSD.org> |
2862 | ||
2863 | * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms): | |
2864 | Include {cpu}/{cpu}.h thru tm_file. | |
2865 | (alpha*-*-linux*ecoff): Remove target. | |
2866 | * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__. | |
2867 | (LINK_SPEC): Remove, is not OS independent. | |
2868 | * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__. | |
2869 | (LINK_SPEC): Do not need to #undef any longer. | |
2870 | * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef | |
2871 | any longer. | |
2872 | * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define | |
2873 | __ELF__. | |
2874 | (LINK_SPEC): Moved here from alpha/elf.h. | |
2875 | * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of | |
2876 | SUB_CPP_PREDEFINES. | |
2877 | * config/alpha/linux-ecoff.h: Remove. | |
2878 | * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__. | |
2879 | (CPP_SPEC): Define _POSIX_SOURCE as needed. | |
2880 | (CPP_SUBTARGET_SPEC): Do not define. | |
2881 | (LINK_SPEC): Do not need to #undef any longer. | |
2882 | * config/alpha/openbsd.h: Do not directly include alpha/alpha.h. | |
2883 | * config/alpha/vms.h: Likewise. | |
2884 | ||
9be40833 | 2885 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
7825d1cf RS |
2886 | |
2887 | * doc/extend.texi: Remove old claim that typedefs cannot have | |
2888 | an alignment attribute. | |
2889 | ||
010f87c4 JJ |
2890 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
2891 | ||
2892 | PR optimization/6177 | |
2893 | * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if | |
2894 | bitpos is 0 and bitsize CONCAT size. | |
2895 | ||
578fc63d JJ |
2896 | 2002-04-11 Jakub Jelinek <jakub@redhat.com> |
2897 | ||
2898 | PR c/6223 | |
2899 | * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz. | |
2900 | ||
bf9b85ce DB |
2901 | 2002-04-10 David O'Brien <obrien@FreeBSD.org> |
2902 | ||
2903 | * config/alpha/freebsd.h: Minor reformatting. | |
2904 | (CPP_SPEC): Define ELF and add cpp_subtarget. | |
2905 | (ASM_SPEC): No longer needed. | |
2906 | ||
7425707d RH |
2907 | 2002-04-11 Richard Henderson <rth@redhat.com> |
2908 | ||
2909 | * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative. | |
2910 | (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory. | |
2911 | (dimode mem/zero splitter): New. | |
2912 | ||
1a05e874 HPN |
2913 | 2002-04-11 Hans-Peter Nilsson <hp@axis.com> |
2914 | ||
2915 | * config/cris/cris.c (cris_override_options): Tweak error message | |
2916 | for PIC not implemented. | |
2917 | ||
2918 | * config/cris/cris.h: Tweak comments related to parameter-passing. | |
2919 | ||
2920 | * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here. | |
2921 | ||
6f3d0447 RH |
2922 | 2002-04-10 Richard Henderson <rth@redhat.com> |
2923 | ||
2924 | * except.c (add_ehl_entry): Allow duplicates after landing pad | |
2925 | creation. | |
2926 | ||
174bf2b1 DE |
2927 | 2002-04-10 David Edelsohn <edelsohn@gnu.org> |
2928 | ||
2929 | * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64. | |
2930 | ||
03f10472 TM |
2931 | 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl> |
2932 | ||
2933 | * c-decl.c (c_init_decl_processing): Move generation of | |
2934 | decls for g77_integer_type_node and friends from here ... | |
2935 | * c-common.c (c_common_nodes_and_builtins): ... to here. | |
2936 | ||
2f460a0a UW |
2937 | 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com> |
2938 | ||
2939 | * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM | |
2940 | is only used as frame pointer when frame_pointer_needed is true. | |
2941 | ||
0be5cf85 RE |
2942 | 2002-04-10 Richard Earnshaw <rearnsha@arm.com> |
2943 | ||
2944 | PR target/817 | |
2945 | * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow | |
2946 | for the fact that the pool entry uses two words. | |
2947 | (movdf_hard_insn): Similarly. Also, ADR instruction can span | |
2948 | 1k bytes. | |
2949 | (movdf_soft_insn): Similarly. | |
2950 | (movxf_hard_insn): Adjust neg_pool_range attribute to allow | |
2951 | for the fact that the pool entry uses three words. | |
2952 | ||
bf6d4777 RS |
2953 | 2002-04-10 Richard Sandiford <rsandifo@redhat.com> |
2954 | ||
2955 | * config/mips/mips.c (mips_va_arg): When using the struct version | |
2956 | of the EABI va_list, allow arguments in the register save area to | |
2957 | take up less room than a stack argument. | |
2958 | ||
c2e9dc85 RH |
2959 | 2002-04-10 Richard Henderson <rth@redhat.com> |
2960 | ||
2961 | * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers | |
2962 | if EXPAND_INITIALIZER. | |
2963 | ||
bc8e8e97 RH |
2964 | 2002-04-09 Richard Henderson <rth@redhat.com> |
2965 | ||
2966 | * config/alpha/alpha.md (movdi_er_maybe_g): New. | |
2967 | * config/alpha/alpha.c (alpha_expand_mov): Use it. | |
2968 | ||
a6a063b8 AM |
2969 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
2970 | ||
2971 | PR optimization/6233 | |
2972 | * rtlanal.c (pure_call_p): New function. | |
2973 | * rtl.h (pure_call_p): Declare. | |
2974 | * loop.c (prescan_loop): Use it to set has_nonconst_call. | |
2975 | * gcse.c (store_killed_in_insn): Use pure_call_p here too. | |
2976 | ||
7b2e1077 EC |
2977 | 2002-04-09 Eric Christopher <echristo@redhat.com> |
2978 | ||
2979 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional | |
2980 | information to .comm directive. | |
2981 | ||
d8a50944 RH |
2982 | 2002-04-09 Richard Henderson <rth@redhat.com> |
2983 | ||
2984 | PR c/5078 | |
2985 | * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers. | |
2986 | ||
6a58eee9 RH |
2987 | 2002-04-09 Richard Henderson <rth@redhat.com> |
2988 | ||
2989 | * basic-block.h (flow_delete_block_noexpunge): Declare. | |
2990 | (expunge_block_nocompact): Declare. | |
2991 | * cfg.c (expunge_block_nocompact): Split out from ... | |
2992 | (expunge_block): ... here. | |
2993 | * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels. | |
2994 | (flow_delete_block_noexpunge): Split out from ... | |
2995 | (flow_delete_block): ... here. | |
2996 | * cfgcleanup.c (delete_unreachable_blocks): Compact while | |
2997 | removing dead blocks. | |
2998 | * except.c (exception_handler_labels): Remove. | |
2999 | (exception_handler_label_map): New. | |
3000 | (struct eh_region): Add aka member. | |
3001 | (mark_ehl_map_entry, mark_ehl_map, free_region): New. | |
3002 | (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New. | |
3003 | (for_each_eh_label, for_each_eh_label_1): New. | |
3004 | (init_eh): Register exception_handler_label_map. | |
3005 | (free_eh_status): Use free_region. | |
3006 | (find_exception_handler_labels): Use the map, not the list. | |
3007 | (remove_exception_handler_label): Likewise. | |
3008 | (maybe_remove_eh_handler): Likewise. | |
3009 | (remove_eh_handler): Use the region aka bitmap. | |
3010 | * except.h (exception_handler_labels): Remove. | |
3011 | (for_each_eh_label): Declare. | |
3012 | * jump.c (rebuild_jump_labels): Don't check exception_handler_labels. | |
3013 | * loop.c (invalidate_loops_containing_label): New. | |
3014 | (find_and_verify_loops): Use it. Use for_each_eh_label. | |
3015 | * sched-rgn.c (is_cfg_nonregular): Use | |
3016 | current_function_has_exception_handlers. | |
3017 | ||
b47374fa RH |
3018 | 2002-04-09 Richard Henderson <rth@redhat.com> |
3019 | ||
3020 | * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b, | |
3021 | sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c): | |
3022 | Do not return changed status. | |
3023 | (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg, | |
3024 | sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg): | |
3025 | New functions that do return changed status. | |
3026 | * sbitmap.h: Update decls. | |
3027 | * gcse.c, lcm.c: Use _cg functions as needed. | |
3028 | ||
1951818c R |
3029 | Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com> |
3030 | ||
3031 | * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h. | |
3032 | (sh64-*-elf*, sh-*-rtemself*): Likewise. | |
3033 | * config/sh/embed_bb.c: New file. | |
3034 | * config/sh/embed-elf.h: New file. | |
3035 | * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__ | |
3036 | if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec. | |
3037 | (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
3038 | __PTRDIFF_TYPE__ . | |
3039 | (SUBTARGET_CPP_PTR_SPEC): Don't define. | |
3040 | (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec. | |
3041 | Add subtarget_asm_endian_spec. | |
3042 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
3043 | (SUBTARGET_ASM_ENDIAN_SPEC): Define. | |
3044 | (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5. | |
3045 | (WCHAR_UNSIGNED): Define. | |
3046 | (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define. | |
3047 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
3048 | (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5. | |
3049 | Fix value. | |
3050 | * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5. | |
3051 | (sh_adjust_cost): Likewise. | |
3052 | sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and | |
3053 | __PTRDIFF_TYPE__ . | |
3054 | (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define. | |
3055 | (WCHAR_TYPE_SIZE): Likewise. | |
3056 | (ASM_SPEC): Use subtarget_asm_endian_spec. | |
3057 | (SH_ELF_WCHAR_TYPE): #undef/ #define. | |
3058 | (MAX_WCHAR_TYPE_SIZE): Don't #undef. | |
3059 | * config/sh/elf.h (WCHAR_UNSIGNED): #undef . | |
3060 | (MAX_WCHAR_TYPE_SIZE): Don't #define . | |
3061 | (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define . | |
3062 | (USER_LABEL_PREFIX): Don't #undef /#define . | |
3063 | (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. | |
3064 | * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define . | |
3065 | (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise. | |
3066 | (ASM_SPEC): Likewise. | |
3067 | (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define . | |
3068 | (CC1_SPEC): don't supply -m3 for -m4*, -m5*. | |
3069 | * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE. | |
3070 | (LIB2FUNCS_EXTRA): Define. | |
3071 | * t-sh64 (LIB2FUNCS_EXTRA): Define. | |
3072 | * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine. | |
3073 | (LIB1ASMFUNCS_CACHE): Define. | |
3074 | (LIB2FUNCS_EXTRA): Redefine empty. | |
3075 | ||
34295799 RH |
3076 | 2002-04-08 Richard Henderson <rth@redhat.com> |
3077 | ||
3078 | * reorg.c (get_branch_condition): Use reversed_comparison_code. | |
3079 | ||
e8766a39 SC |
3080 | 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3081 | ||
3082 | * config/m68hc11/larith.asm (__map_data_section): Fix condition | |
3083 | and optimize for size. | |
3084 | (__do_global_ctors): Fix pointer comparison. | |
3085 | (__do_global_dtors): Likewise. | |
3086 | ||
f451b552 DM |
3087 | 2002-04-09 David S. Miller <davem@redhat.com> |
3088 | ||
3089 | * config/sparc/sparc.c (sparc_extra_constraint_check): New | |
3090 | function, implementing EXTRA_CONSTRAINTS. For memory constraints, | |
3091 | allow reloading pseudos. | |
3092 | * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it. | |
3093 | * config/sparc/sparc-protos.h: Declare it. | |
3094 | ||
3095 | * config/sparc/sparc.c (const64_is_2insns): Kill signed vs. | |
3096 | unsigned comparison warning. | |
3097 | (output_restore_regs): Mark leaf_function as unused. | |
3098 | ||
1ce7f3c2 RK |
3099 | Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3100 | ||
3101 | * expr.c (is_aligning_offset): New function. | |
3102 | (expand_expr, case COMPONENT_EXPR): Call it. | |
3103 | ||
7a31a340 DM |
3104 | 2002-04-08 David S. Miller <davem@redhat.com> |
3105 | ||
3106 | PR target/6082 | |
3107 | * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW | |
3108 | ||
3109 | Make init_priority work on Sparc when using GNU ld. | |
3110 | * config/sparc/linux.h, config/sparc/linux64.h, | |
3111 | config/sparc/netbsd-elf.h, config/sparc/freebsd.h | |
3112 | (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. | |
3113 | * config/sparc/sol2-gld.h: New file to do the same. | |
3114 | * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add | |
3115 | sparc/sol2-gld.h to tm_file. | |
3116 | ||
3117 | PR optimization/4328 | |
3118 | * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. | |
3119 | * doc/md.texi: Document it. | |
3120 | * config/sparc/sparc.md (movdi_insn_sp64_novis, | |
3121 | movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, | |
3122 | movdf_insn_v9only_vis, movdf_insn_sp64_novis, | |
3123 | movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. | |
3124 | * config/sparc/sparc.c (mem_min_alignment): Fix comment. | |
3125 | ||
11579f33 AJ |
3126 | 2002-04-08 Andreas Jaeger <aj@suse.de> |
3127 | ||
3128 | * stmt.c (expand_asm_operands): Revert last patch from Richard | |
3129 | Henderson. | |
3130 | ||
b57215d9 GP |
3131 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
3132 | ||
3133 | * doc/contrib.texi (Contributors): Add John David Anglin and Loren | |
3134 | J. Rittle (the latter also to Testers). Update David O'Brien's entry. | |
3135 | ||
3136 | 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
3137 | ||
3138 | * doc/contrib.texi (Contributors): Add David O'Brien. | |
3139 | ||
534d0cc0 AM |
3140 | 2002-04-08 Alan Modra <amodra@bigpond.net.au> |
3141 | ||
3142 | * configure.in (auto-build.h): Use target_alias and build_alias | |
3143 | when running configure. | |
3144 | (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too. | |
3145 | (gcc_cv_nm, gcc_cv_objdump): Set for build != host too. | |
3146 | * configure: Regenerate. | |
3147 | ||
19fe522a DM |
3148 | 2002-04-07 David S. Miller <davem@redhat.com> |
3149 | ||
3150 | * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file. | |
3151 | ||
bf2d0b8e JDA |
3152 | 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3153 | ||
3154 | PR 5933 | |
3155 | * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when | |
3156 | generating 32-bit pic code. | |
3157 | ||
477cdac7 JT |
3158 | 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com> |
3159 | ||
3160 | * cppinit.c (cpp_create_reader): Initialize | |
3161 | discard_comments_in_macro_exp. | |
3162 | (COMMAND_LINE_OPTIONS): Add "-CC" option. | |
3163 | (cpp_handle_option): Handle "-CC" option. | |
3164 | * cpplex.c (save_comment): If saving a C++ comment in | |
3165 | a directive, convert it to a C comment. | |
3166 | (_cpp_lex_direct): Pass second comment start character to | |
3167 | save_comment to indicate comment type. | |
3168 | * cpplib.c (_cpp_handle_directive): If processing | |
3169 | a "#define" directive and discard_comments_in_macro_exp | |
3170 | is false, re-enable saving of comments. | |
3171 | (lex_macro_node): If discard_comments_in_macro_exp is false, | |
3172 | discard any comments before the macro identifier. | |
3173 | * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp | |
3174 | member. | |
3175 | * cppmacro.c (cpp_get_token): If expanding a macro while | |
3176 | processing a directive, discard any comments we might encounter. | |
3177 | (parse_params): If discard_comments_in_macro_exp is false, | |
3178 | ignore comments in the macro parameter list. | |
3179 | * gcc.c (cpp_unique_options): Add "-CC" option. | |
3180 | (option_map): Map "--comments-in-macros" to "-CC". | |
3181 | * doc/cppopts.texi: Document "-CC" option. | |
3182 | * f/lang-specs.h: Add "-CC" option. | |
3183 | * testsuite/gcc.dg/cpp/maccom1.c: New test. | |
3184 | * testsuite/gcc.dg/cpp/maccom2.c: New test. | |
3185 | * testsuite/gcc.dg/cpp/maccom3.c: New test. | |
3186 | * testsuite/gcc.dg/cpp/maccom4.c: New test. | |
3187 | * testsuite/gcc.dg/cpp/maccom5.c: New test. | |
3188 | * testsuite/gcc.dg/cpp/maccom6.c: New test. | |
3189 | ||
f1526122 JDA |
3190 | 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3191 | ||
3192 | PR middle-end/6180 | |
3193 | * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes. | |
3194 | ||
b1896e61 MM |
3195 | 2002-04-06 Mark Mitchell <mark@codesourcery.com> |
3196 | ||
0154eaa8 MM |
3197 | PR c++/5571 |
3198 | * stor-layout.c (layout_decl): Reset the RTL for the decl. | |
3199 | ||
b1896e61 MM |
3200 | PR opt/5120 |
3201 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear | |
3202 | RTX_UNCHANGING_P for the functions arguments when a tail call | |
3203 | is made. | |
3204 | ||
b0148884 JM |
3205 | 2002-04-06 Jason Merrill <jason@redhat.com> |
3206 | ||
3207 | * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2. | |
3208 | (parse_options_and_default_flags): Set them appropriately. | |
3209 | * c-common.c (c_common_post_options): Don't set flag_really_no_inline. | |
3210 | ||
392fc5b0 HPN |
3211 | 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com> |
3212 | ||
3213 | * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc | |
3214 | here. | |
3215 | ||
3216 | * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious | |
3217 | semicolon. | |
3218 | ||
3219 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size | |
3220 | types come in by-reference. Fix typo in comment. | |
3221 | ||
2d69e3cb DM |
3222 | 2002-04-05 David S. Miller <davem@redhat.com> |
3223 | ||
3224 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits. | |
3225 | * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos, | |
3226 | sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*, | |
3227 | {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file. | |
3228 | ||
3229 | 2002-04-05 David S. Miller <davem@redhat.com> | |
3230 | ||
3231 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we | |
3232 | are not going to emit return instructions, emit at least a nop | |
3233 | for the sake of sane backtraces. | |
3234 | ||
5f9fb0e3 RH |
3235 | 2002-04-05 Richard Henderson <rth@redhat.com> |
3236 | ||
3237 | * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)). | |
3238 | ||
49f37a0d JJ |
3239 | 2002-04-05 Jakub Jeilnek <jakub@redhat.com> |
3240 | ||
3241 | * mklibgcc.in: Use $tmpmapfile, not tmp-$@. | |
3242 | ||
974a3101 AO |
3243 | 2002-04-05 Alexandre Oliva <aoliva@redhat.com> |
3244 | ||
3245 | * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, | |
3246 | ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, | |
3247 | ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16. | |
3248 | ||
2e04a694 AS |
3249 | 2002-04-05 Andreas Schwab <schwab@suse.de> |
3250 | ||
a40179bd | 3251 | * c-convert.c: Include c-common.h. |
2e04a694 AS |
3252 | * Makefile.in (c-convert.o): Updated. |
3253 | ||
1f785b7c JJ |
3254 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
3255 | ||
3256 | * mklibgcc.in: Use separate libgcc.map for each multilib. | |
3257 | * Makefile.in (distclean): Don't remove libgcc.map here. | |
3258 | ||
4d2fb38b JJ |
3259 | 2002-04-05 Jakub Jelinek <jakub@redhat.com> |
3260 | ||
3261 | * Makefile.in (s-mlib): Handle --disable-multilib by separate | |
3262 | genmultilib invocation. | |
3263 | ||
bb63e5a0 RS |
3264 | 2002-04-04 Richard Sandiford <rsandifo@redhat.com> |
3265 | ||
3266 | * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs | |
3267 | to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs | |
3268 | to num_gprs for symmetry. | |
3269 | * config/mips/mips.c: Adjust accordingly. | |
3270 | ||
8ab80eaa NB |
3271 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
3272 | ||
3273 | * c-common.c (truthvalue_conversion): Rename, update. | |
3274 | * c-common.h (c_common_truthvalue_conversion): New. | |
3275 | * c-convert.c (convert): Update. | |
3276 | * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
3277 | * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update. | |
3278 | * c-typeck.c (build_binary_op, build_unary_op, | |
3279 | build_conditional_expr): Update. | |
3280 | * fold-const.c (constant_boolean_node, fold): Use langhook. | |
3281 | * langhooks-def.h (LANGHOOK_INITIALIZER): Update. | |
3282 | * langhooks.h (struct lang_hooks): New hook. | |
3283 | * stmt.c (expand_decl_cleanup): Use langhook. | |
3284 | * tree.h (truthvalue_conversion): Remove. | |
3285 | objc: | |
3286 | * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
3287 | ||
a2e9374a AM |
3288 | 2002-04-05 Alan Modra <amodra@bigpond.net.au> |
3289 | ||
3290 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o | |
3291 | Add rules to make null object file. | |
3292 | ||
64d08263 JB |
3293 | 2002-04-04 Jim Blandy <jimb@redhat.com> |
3294 | ||
3295 | * cppmacro.c (cpp_macro_definition): Do not emit spaces after | |
3296 | macro formal parameter names. | |
3297 | ||
aa7634dd DM |
3298 | 2002-04-04 David S. Miller <davem@redhat.com> |
3299 | ||
3300 | * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg. | |
3301 | ||
ecc114f7 RH |
3302 | 2002-04-04 Richard Henderson <rth@redhat.com> |
3303 | ||
3304 | PR middle-end/5099 | |
3305 | * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok. | |
3306 | Support copies into and out of memory. Don't accept allows_reg | |
3307 | and allows_mem as gospel. | |
3308 | ||
c4484b8f RH |
3309 | 2002-04-04 Richard Henderson <rth@redhat.com> |
3310 | ||
3311 | PR opt/6165 | |
3312 | * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict. | |
3313 | (write_dependence_p): Likewise. | |
3314 | ||
39002160 RH |
3315 | 2002-04-04 Richard Henderson <rth@redhat.com> |
3316 | ||
3317 | * predict.c (estimate_bb_frequencies): Do frequency calculation | |
3318 | with a volatile temporary. | |
3319 | ||
f53ebe71 UW |
3320 | 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com> |
3321 | ||
3322 | * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define. | |
3323 | ||
15e0ecab JJ |
3324 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
3325 | ||
3326 | PR c++/6119 | |
3327 | * final.c (final_start_function): Don't bump profile_label_no here... | |
3328 | (final_end_function): ...but here. | |
3329 | ||
ffd386b0 JJ |
3330 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
3331 | ||
3332 | * config/sparc/sparc.md (pic): New attribute. | |
3333 | (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9 | |
3334 | into stack slots. | |
3335 | (split after do_builtin_setjmp_setup): New. | |
3336 | ||
8b156b3e JJ |
3337 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
3338 | ||
3339 | PR fortran/6106 | |
3340 | * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01 | |
3341 | change. | |
3342 | ||
014c0998 JJ |
3343 | 2002-04-04 Jakub Jelinek <jakub@redhat.com> |
3344 | ||
3345 | * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by | |
3346 | UNITS_PER_WORD for zero sized aggregates. | |
3347 | ||
4d8611d9 DM |
3348 | 2002-04-03 David S. Miller <davem@redhat.com> |
3349 | ||
3350 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new | |
3351 | one-character spec for this, just use %(link_gcc_c_sequence). | |
3352 | ||
b03ad99d DM |
3353 | 2002-04-03 David S. Miller <davem@redhat.com> |
3354 | ||
3355 | * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian | |
3356 | handling. | |
3357 | ||
823fbbce JDA |
3358 | 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3359 | ||
3360 | * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move. | |
3361 | (DWARF_FRAME_RETURN_COLUMN): Move. | |
3362 | (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
3363 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define. | |
3364 | * pa.c (except.h, predict.h): Include. | |
3365 | (FRP): Delete. | |
3366 | (store_reg_modify, set_reg_plus_d): Revise prototypes. | |
3367 | (output_ascii): Add cast. | |
3368 | (store_reg_modify): Revise to add frame notes. | |
3369 | (set_reg_plus_d): Likewise. | |
3370 | (compute_frame_size): Include space for eh data registers in frame if | |
3371 | the current function calls eh_return. | |
3372 | (hppa_expand_prologue): Ensure register %r2 is saved if the current | |
3373 | function calls eh_return. Save eh data registers if the current | |
3374 | function calls eh_return. Fix code to add frame notes. Emit | |
3375 | blockage to prevent insns with frame notes being scheduled in the | |
3376 | delay slot of calls. | |
3377 | (hppa_expand_epilogue): Restore eh data registers and do final stack | |
3378 | adjustment if the current function calls eh_return. Don't add frame | |
3379 | notes. | |
3380 | (output_call): Revise for change in length of call insn. Don't do | |
3381 | return pointer adjustment for an unconditional jump in the delay slot | |
3382 | of a call when using frame notes. | |
3383 | * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility. | |
3384 | (EH_RETURN_HANDLER_RTX): Use saved value on stack. | |
3385 | (ARG_POINTER_CFA_OFFSET): Define. | |
3386 | * pa.md (return_external_pic): New pattern. | |
3387 | (prologue): Correct formatting. Use return_external_pic if current | |
3388 | function calls eh_return. | |
3389 | (call_internal_symref, call_value_internal_symref, | |
3390 | sibcall_internal_symref, sibcall_value_internal_symref): Change default | |
3391 | lengths of short, long non-pic, and long pic calls to 8, 68, and 84, | |
3392 | respectively. | |
3393 | (exception_receiver): Use hppa_pic_save_rtx () to restore pic register. | |
3394 | ||
3395 | * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to | |
3396 | list of targets to check using "nop" insn. | |
3397 | * configure: Rebuilt. | |
3398 | ||
4078e224 AM |
3399 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
3400 | ||
3401 | * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define. | |
3402 | ||
bbd7687d DM |
3403 | 2002-04-03 David S. Miller <davem@redhat.com> |
3404 | ||
3405 | * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c | |
3406 | library sequence passed to the linker. | |
3407 | (LINK_COMMAND_SPEC): Use it. | |
3408 | * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as | |
3409 | a macro a target can use to avoid overriding LINK_COMMAND_SPEC. | |
3410 | * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
3411 | ||
659e5a7a JM |
3412 | 2002-04-03 Jason Merrill <jason@redhat.com> |
3413 | ||
3414 | * except.c (struct eh_status): Remove protect_list. | |
3415 | (begin_protect_partials, end_protect_partials): Remove. | |
3416 | (add_partial_entry): Remove. | |
3417 | * except.h: Remove prototypes. | |
3418 | ||
3419 | * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use | |
3420 | expand_decl_cleanup_eh. | |
3421 | ||
3422 | PR c++/5636 | |
3423 | * tree.h (CLEANUP_EH_ONLY): New macro. | |
3424 | * stmt.c (expand_decl_cleanup_eh): New fn. | |
3425 | (expand_cleanups): Check CLEANUP_EH_ONLY. | |
3426 | * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT. | |
3427 | Use expand_decl_cleanup_eh. | |
3428 | (expand_stmt): Adjust. | |
3429 | * c-common.h: Adjust prototype. | |
3430 | ||
053d3344 HPN |
3431 | 2002-04-04 Hans-Peter Nilsson <hp@axis.com> |
3432 | ||
3433 | * config/cris/cris.c (cris_target_asm_function_prologue): Cast | |
3434 | uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings. | |
3435 | (cris_target_asm_function_epilogue): Ditto. | |
3436 | (cris_initial_frame_pointer_offset): Ditto. | |
3437 | (cris_simple_epilogue): Ditto. | |
3438 | (cris_expand_builtin_va_arg): Variable-size types come in | |
3439 | by-reference. | |
3440 | ||
61ab5260 DM |
3441 | 2002-04-03 David S. Miller <davem@redhat.com> |
3442 | ||
3443 | * config/sparc/crtfastmath.c (FPRS_NS): Get it right for | |
3444 | little-endian. | |
3445 | (set_fast_math): Correct 'fsr' type. | |
3446 | ||
ef4f94ac RH |
3447 | 2002-04-03 Richard Henderson <rth@redhat.com> |
3448 | ||
36c2272c | 3449 | PR opt/3569 |
ef4f94ac RH |
3450 | * langhooks.h (lang_hooks.decls.warn_unused_global): New. |
3451 | * toplev.c (check_global_declarations): Use it. | |
3452 | * langhooks-def.h (lhd_warn_unused_global_decl): Declare. | |
3453 | (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
3454 | (LANG_HOOKS_DECLS): Add it. | |
3455 | * langhooks.c (lhd_warn_unused_global_decl): New. | |
3456 | * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
3457 | * c-objc-common.c (c_warn_unused_global_decl): New. | |
3458 | * c-tree.h (c_warn_unused_global_decl): Declare. | |
3459 | * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New. | |
3460 | ||
599bba86 NB |
3461 | 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk> |
3462 | ||
3463 | * langhooks-def.h (lhd_set_decl_assembler_name, | |
3464 | LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New. | |
3465 | (LANG_HOOKS_INITIALIZER): Update. | |
3466 | * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c | |
3467 | * langhooks.h (struct lang_hooks): New hook. | |
3468 | * tree.c (set_decl_assembler_name): Move to langhooks.c. | |
3469 | (lang_set_decl_assembler_name): Remove. | |
3470 | (init_obstacks): Don't set hook. | |
3471 | (decl_assembler_name): New function. | |
3472 | * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call. | |
3473 | (decl_assembler_name): New. | |
3474 | (lang_set_decl_assembler_name): Remove. | |
3475 | ||
cf7b8b0d JJ |
3476 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
3477 | ||
3478 | * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32() | |
3479 | works properly with .hidden symbols. | |
3480 | * configure: Rebuilt. | |
3481 | * config.in: Rebuilt. | |
3482 | * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
3483 | DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work | |
3484 | properly with .hidden symbols. | |
3485 | ||
faf6db38 JJ |
3486 | 2002-04-03 Jakub Jelinek <jakub@redhat.com> |
3487 | ||
3488 | PR middle-end/6102 | |
3489 | * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access | |
3490 | USE argument. | |
3491 | ||
68c17f30 RH |
3492 | 2002-04-03 Richard Henderson <rth@redhat.com> |
3493 | ||
3494 | PR opt/4120 | |
3495 | * sched-rgn.c (sets_likely_spilled): New. | |
3496 | (sets_likely_spilled_1): New. | |
3497 | (add_branch_dependences): Use it. | |
3498 | ||
6584b4aa RH |
3499 | 2002-04-02 Richard Henderson <rth@redhat.com> |
3500 | ||
3501 | PR opt/4311 | |
3502 | * loop.h (LOOP_FIRST_PASS): New. | |
3503 | * loop.c (strength_reduce): Mind it when deciding to unroll. | |
3504 | * toplev.c (rest_of_compilation): Set it. | |
3505 | ||
0acf409f DM |
3506 | 2002-04-02 David S. Miller <davem@redhat.com> |
3507 | ||
3508 | * config/sparc/sparc.md (ldd peephole2s): Fix final arg to | |
3509 | mems_ok_for_ldd_peep when the order of the loads being examined | |
3510 | is reversed. | |
3511 | * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon | |
3512 | existing comment to increase comprehension of this situation. | |
3513 | ||
85654444 ZW |
3514 | 2002-04-02 Zack Weinberg <zack@codesourcery.com> |
3515 | ||
3516 | * config/sh/sh.md: Don't use union real_extract. | |
3517 | ||
543828ca RH |
3518 | 2002-04-02 Richard Henderson <rth@redhat.com> |
3519 | ||
3520 | * libgcc2.c (__bb_exit_func): Revert 03-31 change. | |
3521 | ||
39ed301b DB |
3522 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
3523 | ||
3524 | * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems, | |
3525 | i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-, | |
3526 | i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1, | |
3527 | i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos, | |
3528 | i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd, | |
3529 | i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf, | |
3530 | i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix, | |
3531 | i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout, | |
3532 | i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32, | |
3533 | i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd, | |
3534 | i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems, | |
3535 | i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv, | |
3536 | i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta, | |
3537 | i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd): | |
3538 | Include as many configury headers via tm_file as possible. This | |
3539 | includes among others i386/unix.h, i386/bsd.h, i386/gas.h. | |
3540 | * config/openbsd-oldgas.h: New file. | |
3541 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h, | |
3542 | config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h, | |
3543 | config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h, | |
3544 | config/i386/i386-coff.h, config/i386/i386-interix.h, | |
3545 | config/i386/iscdbx.h, config/i386/linux-aout.h, | |
3546 | config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h, | |
3547 | config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h, | |
3548 | config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h, | |
3549 | config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h, | |
3550 | config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h, | |
3551 | config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h, | |
3552 | config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h, | |
3553 | config/i386/vxi386.h: Do not directly include configury headers. | |
3554 | * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h: | |
3555 | Directly include configury headers that are no longer automatically | |
3556 | included by the above headers. | |
3557 | * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define. | |
3558 | * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h, | |
3559 | config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h, | |
3560 | config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h, | |
3561 | config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h, | |
3562 | config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h, | |
3563 | config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h | |
3564 | (TARGET_VERSION): Define. | |
3565 | * config/i386/beos-elf.h, config/i386/freebsd.h, | |
3566 | config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, | |
3567 | config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h, | |
3568 | config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h, | |
3569 | config/i386/sco5.h, config/i386/sysv4.h | |
3570 | (TARGET_VERSION): Do not need to protect. | |
3571 | * config/i386/freebsd64.h (TARGET_VERSION): Fix style. | |
3572 | * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h, | |
3573 | config/i386/freebsd-aout.h, config/i386/i386-aout.h, | |
3574 | config/i386/i386-interix.h, config/i386/linux-aout.h, | |
3575 | config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h, | |
3576 | config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h | |
3577 | (YES_UNDERSCORES): Do not define - not needed. | |
3578 | * config/i386/bsd.h, config/i386/gas.h (LPREFIX, | |
3579 | ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
3580 | USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case. | |
3581 | * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h | |
3582 | (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL, | |
3583 | USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case) | |
3584 | * config/i386/isc.h: Preserve comment from config/i386/isccoff.h. | |
3585 | * config/i386/isccoff.h, config/i386/v3gas.h: Remove. | |
3586 | ||
9432c136 EB |
3587 | 2002-04-02 Eric Botcazou <ebotcazou@multimania.com> |
3588 | Richard Henderson <rth@redhat.com> | |
3589 | ||
3590 | PR c/5484 | |
3591 | * function.c (assign_temp): Accept either type or decl argument. | |
3592 | Detect variables whose size is too large to fit into an integer. | |
3593 | * stmt.c (expand_decl): Pass the decl, not the type. | |
3594 | ||
058b1275 DB |
3595 | 2002-04-02 David O'Brien <obrien@FreeBSD.org> |
3596 | ||
3597 | * protoize.c: Match include directory usage with cppdefault.c. | |
3598 | ||
5add6d1a | 3599 | 2002-04-03 Jeffrey A Law (law@redhat.com) |
9be40833 | 3600 | Hans-Peter Nilsson <hp@bitrange.com> |
5add6d1a JL |
3601 | |
3602 | * combine.c (simplify_comparison): Avoid narrowing a comparison | |
3603 | with a paradoxical subreg when doing so would drop signficant bits. | |
3604 | ||
1e533e4b SE |
3605 | 2002-04-02 Steve Ellcey <sje@cup.hp.com> |
3606 | ||
3607 | * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode | |
3608 | if POINTERS_EXTEND_UNSIGNED is defined. | |
3609 | ||
7a145e92 RH |
3610 | 2002-04-02 Richard Henderson <rth@redhat.com> |
3611 | ||
3612 | PR opt/3967 | |
3613 | * local-alloc.c (contains_replace_regs): LO_SUM may contain | |
3614 | replace regs. | |
3615 | ||
3a079822 RH |
3616 | 2002-04-02 Richard Henderson <rth@redhat.com> |
3617 | ||
3618 | * doc/standards.texi: Document required freestanding libc entry points. | |
3619 | ||
c94ccb87 AM |
3620 | 2002-04-02 Alan Modra <amodra@bigpond.net.au> |
3621 | ||
3622 | * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and | |
3623 | associated splitter. Remove MQ constraint. | |
3624 | (ctrdi_internal4): Correct CCmode clobber. | |
3625 | ||
fe660a1a JDA |
3626 | 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3627 | ||
3628 | * milli64.S ($$dyncall): New function. | |
3629 | * t-linux (LIB1ASMFUNCS): Revise module list. | |
3630 | (LIB1ASMSRC): Use pa/milli64.S. | |
3631 | ||
eadc0202 RH |
3632 | 2002-04-02 Richard Henderson <rth@redhat.com> |
3633 | ||
3634 | * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and | |
3635 | rename solaris_sys_varargs_h. | |
3636 | ||
a1471322 RK |
3637 | Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3638 | ||
3639 | * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array | |
3640 | the same mode as its component. | |
3641 | ||
c8b94768 RH |
3642 | 2002-04-02 Richard Henderson <rth@redhat.com> |
3643 | ||
3644 | PR opt/190 | |
3645 | * final.c (this_is_asm_operands): Export. | |
3646 | * output.h (this_is_asm_operands): Declare. | |
3647 | * config/i386/i386.c (print_operand): Error odd asm operands. | |
3648 | ||
161eb4fc RH |
3649 | 2002-04-02 Richard Henderson <rth@redhat.com> |
3650 | ||
3651 | PR opt/420 | |
3652 | * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra. | |
3653 | ||
b88a94c6 RH |
3654 | 2002-04-01 Richard Henderson <rth@redhat.com> |
3655 | ||
3656 | PR target/1538 | |
3657 | * fixinc/inclhack.def (solaris_sys_varargs_h): New. | |
3658 | * fixinc/fixincl.x: Rebuild. | |
3659 | ||
72e32876 RH |
3660 | 2002-04-01 Richard Henderson <rth@redhat.com> |
3661 | ||
3662 | * config/ia64/unwind-ia64.c: Include ia64intrin.h. | |
3663 | (atomic_alloc, atomic_free): New. | |
3664 | (SIZE, MASK_FOR, PTR_IN): New. | |
3665 | (emergency_reg_state, emergency_reg_state_free): New. | |
3666 | (emergency_labeled_state, emergency_labeled_state_free): New. | |
3667 | (reg_state_alloced, labeled_state_alloced): New. | |
3668 | (alloc_reg_state, free_reg_state): New. | |
3669 | (alloc_label_state, free_label_state, free_label_states): New. | |
3670 | (push, pop, dup_state_stack, free_state_stack): Use them. | |
3671 | (desc_label_state): Likewise. | |
3672 | (uw_frame_state_for): Free label states and state stack. | |
3673 | (uw_update_reg_address): Eliminate warnings. | |
3674 | ||
84d76074 VM |
3675 | 2002-04-01 Vladimir Makarov <vmakarov@redhat.com> |
3676 | ||
3677 | * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, | |
9be40833 | 3678 | ASM_OUTPUT_ALIGNED_LOCAL): Redefine them. |
84d76074 | 3679 | |
dffd7eb6 NB |
3680 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
3681 | ||
3682 | * c-decl.c (grokdeclarator): Update. | |
3683 | * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
3684 | * c-tree.h (c_mark_addressable): New. | |
3685 | * c-typeck.c (default_function_array_conversion, build_unary_op, | |
3686 | build_array_ref, convert_for_assignment): Update. | |
3687 | (mark_addressable): Rename. | |
3688 | * calls.c (try_to_integrate, expand_call): Use langhook. | |
3689 | * expr.c (expand_expr): Use langhook. | |
3690 | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update. | |
3691 | * langhooks.h (struct lang_hooks): New hook. | |
3692 | * stmt.c (expand_asm_operands): Use langhook. | |
3693 | * tree.h (mark_addressable): Remove. | |
3694 | objc: | |
3695 | * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
3696 | ||
544ef5b5 BW |
3697 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
3698 | ||
9be40833 RH |
3699 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning |
3700 | in previous change. | |
544ef5b5 | 3701 | |
bcf88f9b BW |
3702 | 2002-04-01 Bob Wilson <bob.wilson@acm.org> |
3703 | ||
3704 | * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments | |
3705 | for which MUST_PASS_IN_STACK is true (e.g., variable-sized types). | |
3706 | ||
ceef8ce4 NB |
3707 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
3708 | ||
3709 | * c-common.c (unsigned_conversion_warning, convert_and_check, | |
3710 | unsigned_type, signed_type, shorten_compare, | |
3711 | c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks. | |
3712 | (unsigned_type, signed_type, signed_or_unsigned_type): Rename. | |
3713 | * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
3714 | New. | |
3715 | * c-decl.c (grokdeclarator): Update. | |
3716 | * c-format.c (check_format_types): Update. | |
3717 | * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
3718 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
3719 | * c-typeck.c (build_binary_op, convert_for_assignment): Update. | |
3720 | * convert.c (convert_to_integer): Use new hooks. | |
3721 | * expmed.c (make_tree): Use new hooks. | |
3722 | * expr.c (store_expr): Use new hooks. | |
3723 | * fold-const.c (operand_equal_for_comparison_p, build_range_check, | |
3724 | all_ones_mask_p, unextend, fold): Use new hooks. | |
3725 | * langhooks.h (struct lang_hooks_for_types): New hooks. | |
3726 | * tree.h (signed_or_unsigned_type, signed_type, | |
3727 | unsigned_type): Remove. | |
3728 | objc: | |
3729 | * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
3730 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
3731 | ||
1d9ad0e0 RH |
3732 | 2002-03-31 Richard Henderson <rth@redhat.com> |
3733 | ||
3734 | * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset. | |
3735 | (desc_frgr_mem): Fix reference to f16-f31. | |
3736 | ||
d544bc39 KG |
3737 | 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3738 | ||
3739 | * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2, | |
3740 | RTVEC_ELT): Const-ify. | |
d8750784 KG |
3741 | * varray.h (VARRAY_CHECK): Const-ify. |
3742 | * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree, | |
3743 | ggc_mark_rtvec, ggc_mark): Const-ify. | |
d544bc39 | 3744 | |
b18101c7 NB |
3745 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
3746 | ||
3747 | * diagnostic.c: Include langhooks-def.h. | |
3748 | * Makefile.in (diagnostic.o): Update. | |
3749 | ||
48a7a235 NB |
3750 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
3751 | ||
3752 | * c-common.c (c_unsafe_for_reeval): Rename. | |
3753 | * c-common.h (c_unsafe_for_reeval): Rename. | |
3754 | * c-decl.c (finish_incomplete_decl): Rename. | |
3755 | (c_init_decl_processing): Don't set langhook. | |
3756 | * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
3757 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
3758 | * c-objc-common.c (c_objc_common_init): Don't set langhook. | |
3759 | * c-tree.h (finish_incomplete_decl): Rename. | |
3760 | * langhooks-def.h (lhd_unsafe_for_reeval): New. | |
3761 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New. | |
3762 | (LANG_HOOKS_INITIALIZER): Update. | |
3763 | * langhooks.c (lhd_unsafe_For_reeval): New. | |
3764 | * langhooks.h (struct langhooks): New hooks. | |
3765 | * toplev.c (incomplete_decl_finalize_hook): Remove. | |
3766 | (wrapup_global_declarations): Update. | |
3767 | * tree.c (lang_unsafe_for_reeval): Remove. | |
3768 | (unsafe_for_reeval): Update. | |
3769 | * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook): | |
3770 | Remove. | |
3771 | objc: | |
3772 | * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, | |
3773 | LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. | |
3774 | ||
7cb32822 NB |
3775 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
3776 | ||
3777 | * diagnostic.c (print_error_function): Remove. | |
3778 | (default_print_error_function): Rename. | |
3779 | (report_error_function): Update. | |
3780 | * diagnostic.h (print_error_function): Remove. | |
3781 | (default_print_error_function): Remove. | |
3782 | * langhooks-def.h (struct diagnostic_context): Predeclare. | |
3783 | (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New. | |
3784 | (LANG_HOOKS_INITIALIZER): Update. | |
3785 | * langhooks.h (struct diagnostic context): Predeclare. | |
3786 | (struct lang_hooks): New hook. | |
3787 | ||
1db02437 FS |
3788 | 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
3789 | ||
3790 | * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New. | |
3791 | (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if | |
3792 | !flag_pic. | |
3793 | (CONDITIONAL_REGISTER_USAGE): Adjust accordingly. | |
3794 | * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead | |
3795 | of PIC_OFFSET_TABLE_REGNUM thruout. | |
3796 | * config/rs6000/rs6000.md: Likewise. | |
3797 | * config/rs6000/darwin.h: Likewise. | |
3798 | ||
3bf1e984 RK |
3799 | Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3800 | ||
3801 | * emit-rtl.c (adjust_address_1, offset_address): Cast value to | |
3802 | unsigned HOST_WIDE_INT, not unsigned int. | |
3803 | ||
0864c526 JJ |
3804 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
3805 | ||
3806 | PR middle-end/6096, middle-end/6098, middle-end/6099 | |
3807 | * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for | |
3808 | CODE_LABELs. | |
3809 | (fill_slots_from_thread): Likewise. | |
3810 | ||
105b2084 JJ |
3811 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
3812 | ||
3813 | * config/sparc/sparc.c (function_arg_record_value_1): Pass complex | |
3814 | floating fields in float regs. | |
3815 | (function_arg_record_value_2): Likewise. | |
3816 | ||
db08fddf HPN |
3817 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
3818 | ||
3819 | * config/mmix/mmix.md (define_constants): Remove misleading | |
3820 | FIXME. Add MMIX_fp_rO_OFFSET. | |
3821 | ("nonlocal_goto_receiver"): Don't have stack-frame address of | |
3822 | saved rO as part of the pattern. Remove FIXME. | |
3823 | ("*nonlocal_goto_receiver_expanded"): Similar. Generate address | |
3824 | here, at output-time. | |
3825 | ||
4f31cce8 JJ |
3826 | 2002-03-31 Jakub Jelinek <jakub@redhat.com> |
3827 | ||
3828 | PR middle-end/6100 | |
3829 | * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not | |
3830 | REG_BR_PRED. | |
3831 | (output_v9branch): Likewise. | |
3832 | ||
ba2b7435 AO |
3833 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
3834 | ||
3835 | * gcc.c: Revert previous patch for now. | |
3836 | * config/i386/djgpp.h: Likewise. | |
3837 | ||
aa66aa5f | 3838 | 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com> |
8f840f57 HPN |
3839 | |
3840 | * config/mmix/crti.asm (_init): Register _fini with atexit. | |
3841 | * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0". | |
3842 | ||
41ba8a20 RH |
3843 | 2002-03-31 Richard Henderson <rth@redhat.com> |
3844 | ||
3845 | PR target/3997 | |
3846 | * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy. | |
3847 | (ASM_OUTPUT_DEF_FROM_DECLS): New. | |
3848 | ||
adc186ef RH |
3849 | 2002-03-31 Richard Henderson <rth@redhat.com> |
3850 | ||
3851 | * libgcc2.c (__bb_exit_func): Make static. | |
3852 | ||
9be40833 | 3853 | * config/alpha/alpha.md (trap): New. |
a7648399 | 3854 | |
9602f5a0 RH |
3855 | 2002-03-31 Richard Henderson <rth@redhat.com> |
3856 | ||
3857 | * builtins.c (expand_builtin_va_arg): Give warnings not errors for | |
3858 | promoted argument types; build trap. | |
3859 | (expand_builtin_trap): New. | |
3860 | (expand_builtin): Use it. | |
3861 | * stmt.c (expand_nl_goto_receivers): Likewise. | |
3862 | * expr.h (expand_builtin_trap): Declare. | |
3863 | * libfuncs.h (LTI_abort, abort_libfunc): New. | |
3864 | * optabs.c (init_optabs): Init abort_libfunc. | |
3865 | ||
1a0a7539 AO |
3866 | 2002-03-31 Alexandre Oliva <aoliva@redhat.com> |
3867 | ||
3868 | * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here... | |
3869 | (LINK_COMMAND_SPEC): ... from here. | |
7b2e1077 | 3870 | (init_gcc_specs): Duplicate it here too, omitting |
1a0a7539 AO |
3871 | shared_name in the second copy. |
3872 | (init_spec): Test for duplicate | |
3873 | * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'. | |
3874 | ||
b5de1a27 DM |
3875 | 2002-03-30 David S. Miller <davem@redhat.com> |
3876 | ||
3877 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
3878 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise. | |
3879 | ||
78414d74 | 3880 | 2002-03-30 Roger Sayle <roger@eyesopen.com> |
9be40833 | 3881 | Richard Henderson <rth@redhat.com> |
78414d74 | 3882 | |
9be40833 RH |
3883 | * regmove.c (combine_stack_adjustments_for_block): Avoid |
3884 | emitting a stack adjustment of zero bytes. Let delete_insn | |
3885 | update bb->head. | |
78414d74 | 3886 | |
33074e5f RH |
3887 | 2002-03-30 Richard Henderson <rth@redhat.com> |
3888 | ||
3889 | * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE. | |
3890 | (sparc_emitting_epilogue): New. | |
3891 | (leaf_label, output_return, sparc_return_peephole_ok): Remove. | |
3892 | * config/sparc/sparc-protos.h: Update. | |
3893 | * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove. | |
3894 | (TARGET_SWITCHES): Update. | |
3895 | * config/sparc/sparc.md (return): Remove. | |
3896 | (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE. | |
3897 | * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h, | |
3898 | config/sparc/liteelf.h, config/sparc/netbsd-elf.h, | |
3899 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
3900 | config/sparc/sp64-aout.h, config/sparc/sp64-elf.h, | |
3901 | config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h, | |
3902 | config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT): | |
3903 | Remove MASK_EPILOGUE. | |
3904 | * doc/invoke.texi: Update. | |
3905 | ||
606cc056 DB |
3906 | 2002-03-30 Daniel Berlin <dan@dberlin.org> |
3907 | ||
3908 | * dwarf2out.c (dwarf2out_define): Remove start_source_file call, | |
3909 | CPP will start the file for us. | |
7b2e1077 | 3910 | |
bdbe5b8d RH |
3911 | 2002-03-30 Richard Henderson <rth@redhat.com> |
3912 | ||
3913 | PR target/5446 | |
3914 | * config/ia64/ia64.c (group_barrier_needed_p): Special case | |
3915 | prologue_allocate_stack. | |
3916 | (ia64_single_set): Use insn codes for recognition of special | |
3917 | cases, not rtl matching. | |
3918 | * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out. | |
3919 | ||
4ab95d82 JH |
3920 | Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz> |
3921 | ||
3922 | * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks. | |
3923 | ||
89a8b315 RH |
3924 | 2002-03-30 Richard Henderson <rth@redhat.com> |
3925 | ||
3926 | PR target/6032 | |
3927 | * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic | |
3928 | or -fomit-frame-pointer with profiling. | |
3929 | (SUBTARGET_OVERRIDE_OPTIONS): Remove. | |
3930 | (FUNCTION_PROFILER): Do nothing. | |
3931 | (PROFILE_HOOK): New. | |
3932 | * config/sparc/sparc.c (sparc_override_options): Don't check | |
3933 | code models for profiling. | |
3934 | (sparc_function_profiler): Remove. | |
3935 | (sparc_profile_hook): New. | |
3936 | * config/sparc/sparc-protos.h: Update. | |
3937 | ||
30984c57 JJ |
3938 | 2002-03-30 Jakub Jelinek <jakub@redhat.com> |
3939 | ||
3940 | PR optimization/6086 | |
3941 | * combine.c (combine_simplify_rtx): If simplify_rtx failed because | |
3942 | of SUBREG of volatile MEM or because the MEM was mode dependent, | |
3943 | return CLOBBER instead of unmodified SUBREG. | |
3944 | ||
1540f9eb JH |
3945 | Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> |
3946 | ||
89a8b315 RH |
3947 | * local-alloc.c (local_alloc): Avoid call of update_equiv_regs |
3948 | when not optimizing. | |
1540f9eb JH |
3949 | |
3950 | * toplev.c (rest_of_compilation): Cann mark_constant_function | |
3951 | only when optimizing. | |
3952 | ||
89a8b315 RH |
3953 | * flow.c (calculate_global_regs_live): Ensure that all AUX fields |
3954 | are NULL. | |
1540f9eb JH |
3955 | |
3956 | * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK. | |
3957 | (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it. | |
3958 | (try_optimize_cfg): clear all AUX fields. | |
3959 | ||
3960 | * i386.c (aligned_operand): Be prepared for SUBREGed registers. | |
3961 | (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. | |
3962 | (ix86_address_cost): Be prepared for SUBREGed registers. | |
3963 | (legitimate_address_p): Accept SUBREGed registers. | |
3964 | ||
70d95bac RH |
3965 | 2002-03-29 Richard Henderson <rth@redhat.com> |
3966 | ||
3967 | PR target/5672 | |
3968 | * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place. | |
3969 | ||
d3294cd9 FS |
3970 | 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
3971 | ||
3972 | * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count | |
3973 | for aggregate and TFmode types. | |
3974 | ||
a106c875 HPN |
3975 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
3976 | ||
3977 | * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i]. | |
3978 | ||
7d7a5d6f RH |
3979 | 2002-03-29 Richard Henderson <rth@redhat.com> |
3980 | ||
6e2d670b | 3981 | PR target/5886 |
7d7a5d6f RH |
3982 | * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. |
3983 | * config/ia64/hpux.h, config/ia64/linux.h: Likewise. | |
3984 | ||
30c99a84 RH |
3985 | 2002-03-29 Richard Henderson <rth@redhat.com> |
3986 | ||
6e2d670b | 3987 | PR target/6041 |
30c99a84 RH |
3988 | * config/i386/i386.c (x86_arch_always_fancy_math_387): New. |
3989 | (override_options): Disable NO_FANCY_MATH_387 if the arch allows. | |
3990 | * config/i386/i386.h (x86_arch_always_fancy_math_387): New. | |
3991 | * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix | |
3992 | conditional. | |
3993 | * docs/invoke.texi: Update -mno-fancy-math-387 docs. | |
3994 | ||
02a566dc DJ |
3995 | 2002-03-29 Dale Johannesen <dalej@apple.com> |
3996 | ||
3997 | * loop.c (combine_movables): Do allow combination of pseudos. | |
3998 | ||
bc3a44db LR |
3999 | 2002-03-29 Loren J. Rittle <ljrittle@acm.org> |
4000 | ||
4001 | * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so. | |
4002 | * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it. | |
4003 | No functional change except ... | |
4004 | * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file. | |
4005 | * doc/install.texi (*-*-freebsd*): Document port configuration. | |
4006 | ||
b0c48229 NB |
4007 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
4008 | ||
4009 | * Makefile.in (convert.o, calls.o, expmed.o): Update. | |
4010 | * attribs.c (handle_mode_attribute, handle_vector_size_attribute): | |
4011 | Use new hooks. | |
4012 | * builtin-types.def (BT_PTRMODE): Update. | |
4013 | * c-common.c (type_for_size): Rename c_common_type_for_size. | |
4014 | (type_for_mode): Similarly. | |
4015 | (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins): | |
4016 | Use new hook. | |
4017 | * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New. | |
4018 | * c-decl.c (finish_enum, build_enumerator): Use new hooks. | |
4019 | * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE): | |
4020 | Redefine. | |
4021 | * c-typeck.c (common_type, comptypes, default_conversion): | |
4022 | Use new hooks. | |
4023 | * calls.c: Include langhooks.h. | |
4024 | (emit_library_call_value_1): Use new hooks. Avoid redundant | |
4025 | calls. | |
4026 | * convert.c: Include langhooks.h | |
4027 | (convert_to_pointer, convert_to_integer): Use new hooks. | |
4028 | * except.c (init_eh): Similarly. | |
4029 | * expmed.c: Include langhooks.h. | |
4030 | (expand_mult_add): Use new hooks. | |
4031 | * expr.c (store_expr, store_constructor, expand_expr, do_jump, | |
4032 | try_casesi): Similarly. | |
4033 | * fold-const.c (optimize_bit_field_compare, make_range, | |
4034 | decode_field_reference, fold_truthop, fold): Similarly. | |
4035 | * function.c (assign_stack_local_1, assign_stack_temp_for_type, | |
4036 | put_var_into_stack): Similarly. | |
4037 | * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE, | |
4038 | LANG_HOOKS_TYPE_FOR_SIZE): New. | |
4039 | (LANG_HOOKS_TYPES_INITIALIZER): Update. | |
4040 | * langhooks.h (lang_hooks_for_types): New hooks. | |
4041 | * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks. | |
4042 | * tree.c (get_unwidened, get_narrower): Similarly. | |
4043 | * tree.h (type_for_mode, type_for_size): Remove. | |
4044 | * varasm.c (force_const_mem): Use new hooks. | |
4045 | * utils2.c (nonbinary_modular_operation): Update. | |
4046 | objc: | |
4047 | * objc-act.c (handle_impent): Update. | |
4048 | * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE): | |
4049 | Redefine. | |
4050 | ||
e206a74f SE |
4051 | 2002-03-29 Steve Ellcey <sje@cup.hp.com> |
4052 | ||
4053 | * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New. | |
4054 | * config/ia64/ia64.c (basereg_operand): New. | |
4055 | * config/ia64/ia64-protos.h (basereg_operand): Declare. | |
4056 | * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand. | |
4057 | ||
7d9b6378 HPN |
4058 | 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com> |
4059 | ||
4060 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct | |
4061 | unwind information when frame_pointer_needed. | |
4062 | (mmix_assemble_integer): Tweak wording in comment. | |
4063 | ||
f1e639b1 NB |
4064 | 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk> |
4065 | ||
4066 | * Makefile.in (except.o): Update. | |
4067 | * except.c: Include langhooks.h. | |
4068 | (init_eh): Use langhook. | |
4069 | * langhooks-def.h (LANG_HOOKS_MAKE_TYPE, | |
4070 | LANG_HOOKS_FOR_TYPES_INITIALIZER): New. | |
4071 | (LANG_HOOKS_INITIALIZER): Update. | |
4072 | * langhooks.h (lang_hooks_for_types): New. | |
4073 | (struct lang_hooks): Add it. | |
4074 | * tree.c (make_lang_type_fn, make_lang_type): Remove. | |
4075 | * tree.h (make_lang_type_fn, make_lang_type): Remove. | |
4076 | config: | |
4077 | * alpha/alpha.c: Include langhooks.h. | |
4078 | (alpha_build_va_list): Use langhook. | |
4079 | * d30v/d30v.c: Include langhooks.h. | |
4080 | (d30v_build_va_list): Use langhook. | |
4081 | * i386/i386.c: Include langhooks.h. | |
4082 | (ix86_build_va_list): Use langhook. | |
4083 | * rs6000/rs6000.c (rs6000_build_va_list): Use langhook. | |
4084 | * s390/s390.c: Include langhooks.h. | |
4085 | (s390_build_va_list): Use langhook. | |
4086 | * stormy16/stormy16.c: Include langhooks.h. | |
4087 | (stormy16_build_va_list): Use langhook. | |
4088 | ||
f17f9332 JJ |
4089 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
4090 | ||
4091 | PR c++/5964 | |
4092 | * config/sparc/sparc.md (empty_delay_slot, branch_type): New | |
4093 | attributes. | |
4094 | (length): Compute variable length for branches/calls/jumps here. | |
4095 | (branch, inverted_branch, normal_fp_branch, inverted_fp_branch, | |
4096 | normal_fpe_branch, inverted_fpe_branch): Remove length attribute, | |
4097 | define branch_type attribute. | |
4098 | (divsi3_sp32): Maximum length is 6 not 7. | |
4099 | (call_address_struct_value_sp32, call_symbolic_struct_value_sp32, | |
4100 | call_address_untyped_struct_value_sp32, | |
4101 | call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2. | |
4102 | * config/sparc/sparc.c (empty_delay_slot): New function. | |
4103 | * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove. | |
4104 | * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype. | |
4105 | ||
0a0440c9 JJ |
4106 | 2002-03-29 Jakub Jelinek <jakub@redhat.com> |
4107 | ||
4108 | * combine.c (set_nonzero_bits_and_sign_copies): Don't call | |
4109 | nonzero_bits if not needed. | |
4110 | (nonzero_bits) [XOR]: Likewise. | |
4111 | (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if | |
4112 | reg_last_set_mode and mode are both MODE_INT, but not equal. | |
4113 | (record_value_for_reg): Compute reg_last_set_nonzero_bits | |
4114 | in nonzero_bits_mode for MODE_INT modes. | |
4115 | ||
c9045f47 RH |
4116 | 2002-03-28 Richard Henderson <rth@redhat.com> |
4117 | ||
4118 | PR target/5715 | |
4119 | * config/alpha/osf.h (ASM_SPEC): Don't pass any special options | |
4120 | to GAS. Correct drift between alternatives. | |
4121 | ||
f8ed1958 RH |
4122 | 2002-03-28 Richard Henderson <rth@redhat.com> |
4123 | ||
4124 | PR target/6087 | |
4125 | * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence. | |
4126 | ||
54e20385 LR |
4127 | 2002-03-28 Alexandre Oliva <aoliva@redhat.com> |
4128 | ||
4129 | * config/i386/freebsd.h (LINK_SPEC): Don't pass default | |
4130 | emulation to the linker. | |
4131 | ||
4132 | 2002-03-28 Loren J. Rittle <ljrittle@acm.org> | |
4133 | ||
4134 | * config/alpha/freebsd.h (LINK_SPEC): Likewise. | |
4135 | * config/sparc/freebsd.h (LINK_SPEC): Likewise. | |
4136 | ||
8bc52806 JL |
4137 | Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com) |
4138 | ||
4139 | * combine.c (simplify_and_const_int): Make sure to apply mask | |
4140 | when force_to_mode returns a constant integer. PR3311. | |
4141 | ||
279dccc5 JDA |
4142 | 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
4143 | ||
4144 | * pa-linux.h (LOCAL_LABEL_PREFIX): Define. | |
4145 | ||
62aaa62c GP |
4146 | 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
4147 | ||
4148 | * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options | |
4149 | and Objective-C Dialect Options. | |
4150 | ||
b8de5050 RH |
4151 | 2002-03-28 Richard Henderson <rth@redhat.com> |
4152 | ||
4153 | * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE | |
4154 | comparison should be done vs !=0 not >0 return code. Tidy cases. | |
4155 | ||
619708cc RH |
4156 | 2002-03-28 Richard Henderson <rth@redhat.com> |
4157 | ||
4158 | * c-decl.c (finish_function): New arg can_defer_p. Pass it | |
4159 | on to c_expand_body. | |
4160 | * c-tree.h (finish_function): Update decl. | |
4161 | * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls. | |
4162 | ||
b1d874d7 JH |
4163 | Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz> |
4164 | ||
4165 | * ifcvt.c (if_convert): Clear aux_for_blocks early enought. | |
4166 | ||
f5eb5fd0 JH |
4167 | Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz> |
4168 | ||
4169 | * rtlanal.c: Include flags.h | |
4170 | (may_trap_p): Do not mark FP operations if trapping | |
4171 | if !flag_trapping_math | |
4172 | * Makefile.in (rtlanal.o): Add dependency on flag.h | |
4173 | * ifcvt.c (noce_operand_ok): Avoid the lameness. | |
4174 | ||
81b4c798 ZW |
4175 | 2002-03-27 Zack Weinberg <zack@codesourcery.com> |
4176 | ||
4177 | * mips.md: Use dconst1, not 1.0, as first argument of | |
4178 | REAL_VALUE_LDEXP. Don't use union real_extract. | |
4179 | ||
55a2ea2a AM |
4180 | 2002-03-28 Alan Modra <amodra@bigpond.net.au> |
4181 | ||
4182 | * configure.in (gcc_cv_as): Use $target_alias in directory searchs | |
4183 | rather than $target. Heed program_prefix and | |
4184 | program_transform_name. Search for gas in cross-compiler case too. | |
4185 | "test -x" rather than "test -f". | |
4186 | (gcc_cv_ld): Likewise. | |
4187 | (gcc_cv_nm): Heed program_prefix and program_transform_name. | |
4188 | (gcc_cv_objdump): Likewise. | |
4189 | * configure: Regenerate. | |
4190 | ||
7ffb4fd2 NB |
4191 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
4192 | ||
4193 | * Makefile.in (attribs.o): Update. | |
4194 | * attribs.c: Include langhooks.h. | |
4195 | (decl_attributes): Use langhook. | |
4196 | * c-decl.c (insert_default_attributes): Rename. | |
4197 | * c-tree.h (c_insert_default_attributes): New. | |
4198 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New. | |
4199 | (LANG_HOOKS_INITIALIZER): Update. | |
4200 | * langhooks.h (struct lang_hooks): New hook. | |
4201 | * tree.h (insert_default_attributes): Remove. | |
4202 | objc: | |
4203 | * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine. | |
4204 | ||
e4dbaed5 AS |
4205 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
4206 | ||
4207 | * config/i386/i386.c (classify_argument): Also check for | |
4208 | QUAL_UNION_TYPE. | |
4209 | ||
18b467f1 RO |
4210 | 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4211 | ||
4212 | * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj | |
4213 | any more. | |
4214 | ||
d337d653 JH |
4215 | Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz> |
4216 | ||
4217 | * i960.md (ret): Set PC. | |
4218 | (nonlocal_goto): Fix expander. | |
4219 | * builtins.c (epxand_builin_longjmp): Check that we've emitted | |
4220 | some jump or call. | |
4221 | ||
218aa620 JH |
4222 | Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz> |
4223 | ||
4224 | * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting | |
4225 | of libcall regions. | |
4226 | ||
e27a4eaf ZD |
4227 | Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4228 | ||
4229 | * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of | |
4230 | assigning to BLOCK_FOR_INSN directly. | |
4231 | ||
8a12f34c JH |
4232 | Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz> |
4233 | ||
4234 | * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround. | |
4235 | ||
c9d892a8 NB |
4236 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
4237 | ||
4238 | * c-common.c (c_expand_expr): Fix prototype. | |
4239 | * c-common.h (c_expand_expr): Always declare, update. | |
4240 | * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
4241 | * c-objc-common.c (c_objc_common_init): No global hook. | |
4242 | * expr.c (expand_expr): Use langhook. | |
4243 | * expr.h (enum expand_modifier): Conditionally declare. | |
4244 | * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New. | |
4245 | (LANG_HOOKS_INITIALIZER): Update. | |
4246 | * langhooks.c (lhd_expand_expr): New. | |
4247 | * langhooks.h (struct lang_hooks): New hook. | |
4248 | * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete. | |
4249 | (lang_independent_init): Don't default hook. | |
4250 | objc: | |
4251 | * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
4252 | ||
6dad5a56 RH |
4253 | 2002-03-27 Richard Henderson <rth@redhat.com> |
4254 | ||
4255 | PR target/6054 | |
4256 | * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for | |
4257 | TARGET_CONST_GP. Simplify conditions. | |
4258 | ||
59f96879 RH |
4259 | 2002-03-27 Richard Henderson <rth@redhat.com> |
4260 | ||
4261 | * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
4262 | config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h, | |
4263 | config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define. | |
4264 | ||
f3f1190d DS |
4265 | 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net> |
4266 | ||
4267 | * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, | |
4268 | TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches. | |
4269 | (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS): | |
4270 | Remove unnecessary masks. | |
4271 | (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit. | |
4272 | (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin, | |
4273 | -mwindows, -mdll switches and their negations. | |
4274 | ||
31c816cf NB |
4275 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
4276 | ||
4277 | * gcc-common.c (lang_mark_false_label_stack): Remove. | |
4278 | * ggc.h (lang_mark_false_label_stack): Similarly. | |
4279 | ||
7b2e1077 | 4280 | 2002-03-26 Vladimir Makarov <vmakarov@redhat.com> |
aee8f532 VM |
4281 | |
4282 | * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__. | |
4283 | ||
4284 | * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__ | |
4285 | or __rtems_ is defined. | |
4286 | ||
1ef9531b RH |
4287 | 2002-03-26 Richard Henderson <rth@redhat.com> |
4288 | ||
4289 | * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note | |
4290 | if a non-trivial load was emitted. | |
4291 | (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko | |
4292 | in high+extra+low case. | |
4293 | ||
300d4093 RH |
4294 | 2002-03-26 Richard Henderson <rth@redhat.com> |
4295 | ||
4296 | * config.gcc (sparc*-solaris): Use float_format=sparc. | |
4297 | ||
b3689904 RH |
4298 | 2002-03-26 Richard Henderson <rth@redhat.com> |
4299 | ||
4300 | * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
4301 | * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef. | |
4302 | * config/sparc/linux.h, config/sparc/linux64.h: Likewise. | |
4303 | * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine. | |
4304 | (WINT_TYPE_SIZE): Fix at 32. | |
4305 | ||
1eefb6c1 RH |
4306 | 2002-03-26 Richard Henderson <rth@redhat.com> |
4307 | ||
4308 | * toplev.c (rest_of_compilation): Delay emit_initial_value_sets | |
4309 | until after eh landing pad generation. | |
4310 | * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. | |
4311 | * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs. | |
4312 | ||
361ea006 RH |
4313 | 2002-03-26 Richard Henderson <rth@redhat.com> |
4314 | ||
4315 | * expr.h (ADD_PARM_SIZE): One more convert for INC. | |
4316 | ||
1de38a88 PE |
4317 | 2002-03-26 Phil Edwards <pme@gcc.gnu.org> |
4318 | ||
4319 | * gcc.c (cpp_options): Preserve relative ordering of -pedantic | |
4320 | and warning switches. | |
4321 | (cc1_options): Likewise. | |
4322 | ||
d7e60e95 | 4323 | 2002-03-26 Hans Boehm <Hans_Boehm@hp.com> |
361ea006 | 4324 | |
d7e60e95 HB |
4325 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): |
4326 | Restore more of the signal context. Set no_reg_stack_frame. | |
4327 | * config/ia64/unwind-ia64.c (unw_state_record): | |
4328 | Add no_reg_stack_frame, comments. | |
4329 | (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER. | |
4330 | (uw_update_context): Adjust bsp when unwinding from leaf, | |
4331 | but not signal frame. | |
4332 | ||
7032923b DE |
4333 | 2002-03-26 David Edelsohn <edelsohn@gnu.org> |
4334 | ||
4335 | * config/rs6000/aix51.h (WCHAR_TYPE): Define. | |
4336 | ||
8be56275 BW |
4337 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
4338 | ||
4339 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types. | |
4340 | ||
56fbb855 RE |
4341 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
4342 | ||
4343 | PR target/5621 | |
4344 | * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999: | |
4345 | "Add a pool_range attribute", which was lost during the ARM/Thumb | |
4346 | merge. | |
4347 | ||
3437320b BW |
4348 | 2002-03-26 Bob Wilson <bob.wilson@acm.org> |
4349 | ||
4350 | * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from | |
4351 | a register into the MAC16 accumulator. | |
4352 | ||
173028e5 AC |
4353 | 2002-03-26 Andrew Cagney <ac131313@redhat.com> |
4354 | ||
4355 | * doc/invoke.texi (Option Summary): Mention -Wswitch-enum. | |
4356 | (Warning Options): Document -Wswitch-enum. | |
4357 | * toplev.c (W_options): Add -Wswitch-enum. Update comment on | |
4358 | -Wswitch. | |
4359 | (warn_switch_enum): Define variables. | |
4360 | * flags.h (warn_switch_enum): Declare variables. | |
4361 | * stmt.c (expand_end_case_type): When warn_switch_enum / | |
4362 | -Wswitch-enum, perform switch checks. | |
4363 | Fix PR c/5044. | |
7b2e1077 | 4364 | |
e14365a7 RE |
4365 | 2002-03-26 Richard Earnshaw <rearnsha@arm.com> |
4366 | ||
4367 | * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi) | |
4368 | (reload_mulsi_compare0_scratch, reload_muladdsi_compare0) | |
4369 | (reload_muladdsi_compare0_scratch): Delete. | |
4370 | ||
46fc709d LR |
4371 | 2002-03-26 Loren J. Rittle <ljrittle@acm.org> |
4372 | ||
4373 | * doc/install.texi (*-*-freebsd*): Update. | |
4374 | ||
f36dea3c RH |
4375 | 2002-03-26 Richard Henderson <rth@redhat.com> |
4376 | ||
8e5fe23f RH |
4377 | * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype. |
4378 | (SUB_PARM_SIZE): Cast DEC to ssizetype. | |
4379 | ||
4380 | * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK | |
4381 | types from the normal argument frame. | |
4382 | ||
f36dea3c RH |
4383 | * config/sparc/sparc.c (function_arg_pass_by_reference): Pass |
4384 | variable sized objects by reference. | |
4385 | (sparc_va_arg): Receive them by reference too. | |
4386 | ||
1447dc69 HP |
4387 | 2002-03-26 Hartmut Penner <hpenner@de.ibm.com> |
4388 | ||
4389 | * config/s390/s390.c (s390_emit_epilogue): Change epilogue | |
7b2e1077 | 4390 | code to not restoring global registers. |
1447dc69 | 4391 | |
4f0ade92 NB |
4392 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
4393 | ||
4394 | * Makefile.in (ggc-common.o): Update. | |
4395 | * c-decl.c (lang_mark_tree): Rename c_mark_tree. | |
4396 | * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
4397 | * c-tree.h (c_mark_tree): New. | |
4398 | * ggc-common.c: Include langhooks.h. | |
4399 | (gcc_mark_trees): Use new langhook. | |
4400 | * ggc-callbacks.c: Delete file. | |
4401 | * ggc.h (lang_mark_tree): Remove. | |
4402 | * langhooks-def.h (LANG_HOOKS_MARK_TREE): New. | |
4403 | (LANG_HOOKS_INITIALIZER): Update. | |
4404 | * langhooks.h (struct lang_hooks): New hook. | |
4405 | objc: | |
4406 | * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine. | |
4407 | ||
caba570b ZW |
4408 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
4409 | ||
4410 | * doc/cpp.texi: Exclude entire Top node from printed manual. | |
4411 | Move option index after directive index. Insert page breaks | |
4412 | before GFDL and concept index. Index environment variables | |
4413 | with command line options. | |
4414 | * doc/cppenv.texi: Use @vtable for environment variable list. | |
4415 | Add paragraph explaining semantics of empty elements in path | |
4416 | variables. Exclude a cross-reference to Fishkill from the | |
4417 | manpage. Remove an unnecessary cross-reference of the entry | |
4418 | right above the referer. Don't use @anchor in text that goes | |
4419 | into manpage. | |
4420 | * doc/cppopts.texi: Cross-reference the environment variables | |
4421 | section, not the specific environment variable, for consistency. | |
4422 | ||
6b2e80b7 RH |
4423 | 2002-03-25 Richard Henderson <rth@redhat.com> |
4424 | ||
4425 | * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes | |
4426 | anywhere in the block. Don't refer to insns that have been | |
4427 | removed from the chain. Iterate backward through the new insns. | |
4428 | Don't refer to edges that have been removed. | |
4429 | ||
67e469d7 AM |
4430 | 2002-03-26 Alan Modra <amodra@bigpond.net.au> |
4431 | ||
4432 | * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct | |
4433 | test for overflow of constant. | |
4434 | ||
f2356393 RE |
4435 | 2002-03-25 Richard Earnshaw <rearnsha@arm.com> |
4436 | ||
4437 | PR target/2623 | |
4438 | * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc) | |
4439 | (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use | |
4440 | these patterns on arm_archv4. | |
4441 | ||
355426ab DS |
4442 | 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net> |
4443 | ||
4444 | * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned | |
4445 | int". | |
4446 | ||
15e5ad76 ZW |
4447 | 2002-03-25 Zack Weinberg <zack@codesourcery.com> |
4448 | ||
4449 | * toplev.c: Don't include setjmp.h. Kill float_handler_set, | |
4450 | float_handled, float_handler, float_signal, set_float_handler, | |
4451 | and do_float_handler. Set handler for SIGFPE to crash_signal. | |
4452 | * toplev.h: Don't prototype do_float_handler. | |
4453 | ||
4454 | * c-lex.c: Fold parse_float into lex_number. Make warning | |
4455 | about portability of hex float constants more informative, and | |
4456 | don't issue it on top of a syntax error. | |
4457 | * fold-const.c: Fold const_binop_1 and fold_convert_1 into | |
4458 | their callers. | |
4459 | * real.h: Define REAL_VALUE_ABS here... | |
4460 | * simplify-rtx.c: ... not here. Fold check_fold_consts, | |
4461 | simplify_unary_real, simplify_binary_real, and | |
4462 | simplify_binary_is2orm1 into their callers. | |
4463 | * tree.c: Fold build_real_from_int_cst_1 into caller. | |
4464 | ||
4465 | * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. | |
4466 | ||
4467 | * tsystem.h: Include float.h here... | |
4468 | * libgcc2.c: ... not here. | |
4469 | ||
56ae9405 NC |
4470 | 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com> |
4471 | ||
4472 | Fixes for: PR bootstrap/3591, target/5676 | |
4473 | * config/mcore/mcore.h (CC1_SPEC): Define only if not already | |
4474 | defined. Do not disable exceptions or rtti. | |
4475 | * config/mcore/mcore-pe.h (CC1_SPEC): Define before including | |
4476 | mcore.h. Disable exceptions and rtti, since they are not | |
4477 | supported by EPOC. | |
4478 | ||
c88770e9 NB |
4479 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
4480 | ||
4481 | * c-decl.c (maybe_build_cleanup): Remove. | |
4482 | * expr.c (expand_expr): Use langhook. | |
4483 | * langhooks-def.h (lhd_return_null_tree, | |
4484 | LANG_HOOKS_MAYBE_BUILD_CLEANUP): New. | |
4485 | (LANGHOOKS_INITIALIZER): Update. | |
4486 | * langhooks.c (lhd_return_null_tree): New. | |
4487 | * langhooks.h (struct lang_hooks): New hook. | |
4488 | * tree-inline.c (initialize_inlined_parameters): Use langhook. | |
4489 | * tree.h (maybe_build_cleanup): Remove. | |
4490 | ||
2ed1f154 JJ |
4491 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
4492 | ||
4493 | * regrename.c (build_def_use): Move recog_memoized | |
4494 | before extract_insn. | |
4495 | ||
6ddae612 JJ |
4496 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
4497 | ||
4498 | PR target/6043 | |
4499 | * expr.c (emit_group_store): Handle storing into CONCAT. | |
4500 | ||
ea475b23 JJ |
4501 | 2002-03-25 Jakub Jelinek <jakub@redhat.com> |
4502 | ||
4503 | * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and | |
4504 | corresponding MATCH_DUP. | |
4505 | ||
e7d482b9 RH |
4506 | 2002-03-24 Richard Henderson <rth@redhat.com> |
4507 | ||
cd39fc13 RH |
4508 | * unroll.c (unroll_loop): Zero label_map. |
4509 | ||
e7d482b9 RH |
4510 | * gcse.c: Include except.h. |
4511 | * Makefile.in (gcse.o): Update. | |
4512 | ||
1bd6476f RH |
4513 | 2002-03-24 Richard Henderson <rth@redhat.com> |
4514 | ||
4515 | * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change. | |
4516 | Do resolve_unique_section before shared data clause. | |
4517 | ||
2e6c150a RH |
4518 | 2002-03-24 Richard Henderson <rth@redhat.com> |
4519 | ||
4520 | * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static. | |
4521 | ||
b29afcf8 RH |
4522 | 2002-03-24 Richard Henderson <rth@redhat.com> |
4523 | ||
15e5ad76 | 4524 | * recog.c (peephole2_optimize): Split blocks when EH insns are |
b29afcf8 RH |
4525 | generated in the middle of a block. Do global life update if |
4526 | zapped EH edges. | |
4527 | ||
05ed1296 RH |
4528 | 2002-03-24 Richard Henderson <rth@redhat.com> |
4529 | ||
4530 | * mips.c (mips_function_value): Only promote_mode for non-libcalls. | |
4531 | ||
3ddbb8a9 NB |
4532 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
4533 | ||
4534 | preprocessor/3951 | |
15e5ad76 | 4535 | * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF. |
3ddbb8a9 NB |
4536 | * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD. |
4537 | (init_dependency_output): Don't make no_output decision here. | |
4538 | ||
740b77b6 AC |
4539 | 2002-03-24 Andrew Cagney <ac131313@redhat.com> |
4540 | ||
4541 | * stmt.c (check_for_full_enumeration_handling): Remove tests of | |
4542 | warn_switch. Update description. | |
4543 | (expand_end_case_type): Call check_for_full_enumeration_handling | |
4544 | when warn_switch. | |
4545 | ||
7590cfd0 SC |
4546 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4547 | ||
4548 | * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function. | |
4549 | (m68hc11_split_move): Call it to see if the source and destination | |
4550 | operands use the same direction auto inc/dec mode, otherwise make the | |
c61f581f | 4551 | source an offsetable memory operand and generate an add. |
7590cfd0 | 4552 | |
2e3d3481 SC |
4553 | 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
4554 | ||
4555 | * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address | |
4556 | register for operand 2. | |
4557 | ("*subsi3_zero_extendqi"): Likewise. | |
4558 | ("*iorhi3_gen"): Do the operation on the upper bits and then lower | |
4559 | bits so that it is compatible with a pop. | |
4560 | ("*andhi3_gen"): Likewise. | |
4561 | ("xorhi3"): Likewise. | |
4562 | ||
2784528c NB |
4563 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
4564 | ||
4565 | * cppinit.c (cpp_handle_option): Set warn_endif_labels if | |
4566 | -pedantic here... | |
4567 | (cpp_post_options): ... not here. | |
4568 | ||
aaf93206 NB |
4569 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
4570 | Aldy Hernandez <aldyh@redhat.com> | |
4571 | ||
4572 | Removal of separate preprocessor cpp0. | |
4573 | ||
4574 | * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS, | |
4575 | cpp0, install-common): Update. | |
4576 | * c-common.c (flag_preprocess_only): New. | |
4577 | (c_common_init): Preprocess for -E. | |
4578 | * c-common.h (flag_preprocess_only): New. | |
4579 | * c-decl.c (c_decode_option): Handle -E and -std=c++98. | |
4580 | * c-objc-common.c (c_init_decl_processing): Exit quickly | |
4581 | for NULL return from c_common_init. | |
4582 | * cpplib.h (cpp_preprocess_file): New. | |
4583 | * cppmain.c (main, general_init, pfile, progname): Remove. | |
4584 | (do_preprocessing): Rename cpp_preprocess_file, don't call | |
4585 | cpp_finish. Don't close stdout here. | |
4586 | (setup_callbacks): Update prototype. | |
4587 | * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers): | |
4588 | Update. | |
4589 | * tradcpp.c (main): Ignore -quiet. | |
4590 | objc: | |
4591 | * lang-specs.h (default_compilers): Preprocess with cc1obj. | |
4592 | ||
c6e6f5c1 RH |
4593 | 2002-03-24 Richard Henderson <rth@redhat.com> |
4594 | ||
4595 | PR optimization/5742 | |
4596 | * machmode.def: Add inner mode field to complex modes. | |
4597 | * config/mips/mips.c (mips_function_value): Always define. Add | |
4598 | new argument to handle libcalls. | |
4599 | * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value. | |
4600 | (FUNCTION_VALUE): Likewise. | |
4601 | * config/mips/abi64.h (FUNCTION_VALUE): Remove. | |
4602 | * config/mips/mips-protos.h: Update. | |
4603 | ||
d88e57d1 RH |
4604 | 2002-03-23 Richard Henderson <rth@redhat.com> |
4605 | ||
4606 | * config/sparc/sparc.c (sparc_emit_floatunsdi): New. | |
4607 | * config/sparc/sparc-protos.h: Update. | |
4608 | * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New. | |
4609 | ||
6dfaf9ba RH |
4610 | 2002-03-23 Richard Henderson <rth@redhat.com> |
4611 | ||
4612 | * config/sparc/gmon-sol2.c (internal_mcount): Assume either | |
4613 | _start or _init begins the text segment. | |
4614 | ||
0c769cf8 DE |
4615 | 2002-03-23 David Edelsohn <edelsohn@gnu.org> |
4616 | ||
4617 | * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT | |
4618 | not HOST_WIDEST_INT. | |
4619 | (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes. | |
4620 | ||
64e92a26 RE |
4621 | 2002-03-23 Richard Earnshaw <rearnsha@arm.com> |
4622 | ||
4623 | PR java/5489 | |
4624 | * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the | |
4625 | operand argument to output_return_instruction. | |
15e5ad76 | 4626 | * arm.c (arm_print_operand, case 'd'): If the operand is |
64e92a26 RE |
4627 | const_true_rtx then just return. |
4628 | (arm_print_operand, case 'D'): If the operand is const_true_rtx | |
4629 | then abort. | |
4630 | ||
d6961341 AC |
4631 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
4632 | ||
4633 | * doc/invoke.texi (Option Summary): Mention -Wswitch-default. | |
4634 | (Warning Options): Document -Wswitch-default. | |
4635 | * toplev.c (W_options): Add -Wswitch-default. Update comment on | |
4636 | -Wswitch. | |
4637 | (warn_switch_default): Define variable. | |
4638 | (warn_switch): Update comment. | |
4639 | * flags.h (warn_switch_default): Declare variable. | |
4640 | (warn_switch): Update comment. | |
4641 | * stmt.c (expand_end_case): Check for and, when | |
4642 | warn_switch_no_default, warn of a missing default case. | |
15e5ad76 | 4643 | |
d4c5ac1f AM |
4644 | 2002-03-23 Alan Modra <amodra@bigpond.net.au> |
4645 | ||
bbaa9790 AM |
4646 | * real.h (N): Special case 128 bit doubles. |
4647 | ||
d4c5ac1f AM |
4648 | * combine.c (simplify_comparison): When widening modes, ignore |
4649 | sign extension on CONST_INTs. | |
4650 | ||
84bf8c2c BW |
4651 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
4652 | ||
4653 | * config/xtensa/xtensa.c (print_operand): Fix incorrect mode | |
4654 | passed to adjust_address. Fix comment formatting. | |
4655 | ||
4656 | ||
b216cd4a ZW |
4657 | 2002-03-22 Zack Weinberg <zack@codesourcery.com> |
4658 | ||
4659 | * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE. | |
4660 | Always make REAL_VALUE_TYPE a struct containing an array of | |
4661 | HOST_WIDE_INT, not a double. Tidy up the code deciding how | |
4662 | big it is. Don't declare or use union real_extract. | |
4663 | ||
4664 | * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1, | |
4665 | decode_rtx_const, output_constant_pool), config/a29k/a29k.c | |
4666 | (print_operand), config/arm/arm.c (output_move_double), | |
4667 | config/arm/arm.md (consttable_4, consttable_8), | |
4668 | config/romp/romp.c (output_fpops), config/s390/s390.h | |
4669 | (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c | |
4670 | (xtensa_output_literal): Don't use union real_extract. | |
4671 | ||
4672 | * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c | |
4673 | (sfmode_constant_to_ulong), config/ns32k/merlin.h | |
4674 | (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand), | |
4675 | config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h | |
4676 | (PRINT_OPERAND): Don't use local version of union | |
4677 | real_extract. | |
4678 | ||
4679 | * config/convex/convex.c (check_float_value), config/vax/vax.c | |
4680 | (vax_float_literal), config/m88k/m88k.md (divdf3), | |
4681 | config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2), | |
4682 | config/pdp11/pdp11.c (output_move_quad): Don't do host | |
4683 | arithmetic on target floating point quantities. | |
4684 | ||
4685 | * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c | |
4686 | (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT. | |
4687 | ||
4688 | * fold-const.c (fold), simplify-rtx.c (simplify_binary_real): | |
4689 | Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY. | |
4690 | ||
4691 | * real.c (earith): Test INFINITY rather than REAL_INFINITY; | |
4692 | NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef | |
4693 | INFINITY. | |
4694 | * print-rtl.c (print_rtx): Disable code which needs | |
4695 | floating-point emulator. | |
4696 | * libgcc2.c: Include float.h and use DBL_MANT_DIG, | |
4697 | FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than | |
4698 | depending on HOST_FLOAT_FORMAT to be defined properly. | |
4699 | ||
4700 | * config/1750a/1750a.c (get_double, float_label): Delete. | |
4701 | (print_operand): Delete huge commented-out chunk. Use | |
4702 | REAL_VALUE_TO_DECIMAL. | |
4703 | * config/1750a/1750a-protos.h: Delete prototypes of deleted | |
4704 | functions. | |
4705 | * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to | |
4706 | IEEE_FLOAT_FORMAT. | |
4707 | * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]): | |
4708 | Use REAL_VALUE_TO_DECIMAL as ELF version does. | |
4709 | * config/m88k/m88k.c (real_power_of_2_operand, | |
4710 | legitimize_operand): Take the REAL_VALUE_TYPE and/or union | |
4711 | real_extract out of the union; run the input through | |
4712 | REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords | |
4713 | from that into the union. | |
4714 | * config/pdp11/pdp11.c (output_move_double): Rearrange | |
4715 | parentheses to make automatic indenter happy. | |
4716 | ||
4717 | * doc/tm.texi (Cross-compilation): Rename node to "Floating | |
4718 | Point" and rewrite to describe current situation. Also adjust | |
4719 | documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to | |
4720 | match code. | |
4721 | * doc/rtl.texi: Adjust cross reference. | |
4722 | ||
a8cacfd2 BW |
4723 | 2002-03-22 Bob Wilson <bob.wilson@acm.org> |
4724 | ||
4725 | * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove. | |
4726 | (xtensa_valid_move, xtensa_preferred_reload_class): Define. | |
4727 | * config/xtensa/xtensa.c (non_acc_reg_operand): Remove. | |
4728 | (xtensa_valid_move, xtensa_preferred_reload_class): Define to | |
4729 | prevent use of sp as a reload register. | |
4730 | (xtensa_emit_move_sequence): Use xtensa_valid_move instead of | |
4731 | non_acc_reg_operand. | |
4732 | * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand. | |
4733 | (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class. | |
4734 | * config/xtensa/xtensa.md (movsi_internal, movhi_internal, | |
4735 | movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand. | |
4736 | ||
d4e6133f NB |
4737 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
4738 | ||
b216cd4a ZW |
4739 | * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. |
4740 | * cpplex.c (unterminated): Delete. | |
4741 | (parse_string): No string literal may extend over multiple | |
4742 | lines. Suppress the error when preprocessing assembly. | |
d4e6133f NB |
4743 | * cppmain.c (scan_translation_unit): Strings are single-line. |
4744 | ||
b216cd4a | 4745 | * doc/cpp.texi: Update to match. |
d4e6133f | 4746 | |
65e6c005 JJ |
4747 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
4748 | ||
4749 | PR optimization/5854 | |
4750 | * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0. | |
4751 | Shut up warnings. | |
4752 | (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0. | |
4753 | (EXTRA_CONSTRAINT): Use S for non-push memory operand. | |
4754 | * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from | |
4755 | const0 if scratch register was not allocated. | |
4756 | (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart, | |
4757 | m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
4758 | with GEN_INT (...). | |
4759 | (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs. | |
4760 | * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...) | |
4761 | with GEN_INT (...) everywhere. Remove constraints in define_split | |
4762 | patterns. | |
4763 | (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't | |
4764 | require scratch register for setting 0 into regs/non-pushable memory. | |
4765 | ||
7f48c9e1 AO |
4766 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
4767 | ||
4768 | * config/mips/mips.h (MASK_RETURN_ADDR): Define. | |
4769 | (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define. | |
4770 | ||
909de5da PE |
4771 | 2002-03-22 Phil Edwards <pme@gcc.gnu.org> |
4772 | ||
4773 | * cpplib.h (struct cpp_options): New member, warn_endif_labels. | |
4774 | * cppinit.c (cpp_create_reader): On by default. | |
4775 | (cpp_handle_option): Handle -W[no-]endif-labels. | |
4776 | (cpp_post_options): Also enable if -pedantic. | |
4777 | * cpplib.c (do_else): Use it. | |
4778 | (do_endif): Likewise. | |
4779 | * doc/cppopts.texi: Document new option. | |
4780 | * doc/invoke.texi: Document new option. | |
4781 | ||
d8bf17f9 LB |
4782 | 2002-03-22 Lars Brinkhoff <lars@nocrew.org> |
4783 | ||
4784 | * config/i386/i386.c, config/i386/i386.md: Change all occurences | |
4785 | of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...). | |
4786 | ||
70e0ccd0 AO |
4787 | 2002-03-22 Alexandre Oliva <aoliva@redhat.com> |
4788 | ||
4789 | * flow.c (calculate_global_regs_live): Clear aux fields of | |
4790 | ENTRY and EXIT. | |
4791 | ||
68882f0f JJ |
4792 | 2002-03-22 Jakub Jelinek <jakub@redhat.com> |
4793 | ||
4794 | * config/v850/v850.c (v850_reorg): Only call alter_subreg on | |
4795 | REG or MEM subregs, pass rtx * instead of rtx to it. | |
4796 | * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass | |
4797 | rtx * instead of rtx to alter_subreg. | |
4798 | * config/m32r/m32r.c (gen_split_move_double): Likewise. | |
4799 | * config/pj/pj.c (pj_output_rval): Likewise. | |
4800 | ||
648fe28b RH |
4801 | 2002-03-22 Richard Henderson <rth@redhat.com> |
4802 | ||
4803 | PR target/3177 | |
4804 | * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs. | |
4805 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update. | |
4806 | * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs. | |
4807 | (ia64_expand_prologue): Look at int_regs, not words, for number | |
4808 | of incomming int regs. | |
4809 | ||
e8dcd824 AM |
4810 | 2002-03-22 Andrew MacLeod <amacleod@redhat.com> |
4811 | ||
4812 | * expr.c (expand_expr): A RESULT_DECL is part of a call. | |
4813 | ||
96327cdc JH |
4814 | Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz> |
4815 | ||
4816 | * toplev.c (flag_loop_optimize, flag_crossjumping): | |
4817 | New static variables. | |
4818 | (rest_of_compilation): Conditionalize crossjumping and | |
4819 | loop optimizer. | |
4820 | (parse_options_and_default_flags): Default loop_optimize and | |
4821 | crossjumping. | |
4822 | (lang_independent_options): Add -fcrossjumping and -floop-optimize | |
4823 | * invoke.texi (crossjumping, loop-optimize): Document. | |
4824 | ||
bc185257 RS |
4825 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
4826 | ||
4827 | * real.c (eiisneg): Move outside #ifdef NANS. | |
4828 | ||
0a2ed1f1 JH |
4829 | Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz> |
4830 | ||
4831 | * cfgcleanup.c (outgoing_edges_math): Fix condition; relax | |
4832 | frequencies match; avoid match on different loop depths. | |
4833 | (try_crossjump_to_bb): Kill tests that no longer brings time | |
4834 | savings. | |
4835 | * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth | |
4836 | updating code. | |
4837 | (split_edge): Likewise. | |
4838 | ||
4839 | * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized | |
4840 | variable. | |
4841 | ||
4842 | * Makefile.in (cfgrtl): Add insn-config.h depenendency. | |
4843 | * cfgrtl.c: Include insn-config.h | |
4844 | (split_block) Dirtify block in presence of conditional execution | |
4845 | ||
4d72536e RS |
4846 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
4847 | ||
4848 | * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine. | |
4849 | * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare. | |
4850 | (function_arg): Constify CUMULATIVE_ARGS. | |
4851 | (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise. | |
4852 | * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT. | |
4853 | (UNITS_PER_DOUBLE): New macro. | |
4854 | (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs. | |
4855 | (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and | |
4856 | last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs, | |
4857 | fp_regs and stack_words. | |
4858 | (EABI_FLOAT_VARARGS_P): New macro. | |
4859 | * config/mips/mips.c (struct mips_arg_info): New. | |
4860 | (mips_arg_info): New function. | |
4861 | (function_arg_advance): Use it. Add adjustment instructions here | |
4862 | rather than in function_arg. | |
4863 | (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check | |
4864 | for VOIDmode at the beginning of the function. | |
4865 | (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info. | |
4866 | (function_arg_pass_by_reference): Likewise. | |
4867 | (mips_setup_incoming_varags): New, largely based on old abi64.h code. | |
4868 | (mips_build_va_list): Test EABI_FLOAT_VARARGS_P. | |
4869 | (mips_va_start): Likewise. Use the new stack_words field of | |
4870 | CUMULATIVE_ARGS to set up overflow area. Reformat. | |
4871 | (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of | |
4872 | doubles and other types, aligning the overflow pointer for non-doubles | |
4873 | too. Remove some code duplication. Replace hard-coded constants. | |
4874 | ||
e6f884cd RS |
4875 | 2002-03-22 Richard Sandiford <rsandifo@redhat.com> |
4876 | ||
4877 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify. | |
4878 | (CLASS_UNITS): Undefine. | |
4879 | (CLASS_MAX_NREGS): Use FP_INC. | |
4880 | * config/mips/mips.c (compute_frame_size): Likewise. | |
4881 | (override_options): Use FP_INC and UNITS_PER_FPVALUE. | |
4882 | ||
10cf9bde NB |
4883 | 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk> |
4884 | ||
4885 | * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust | |
4886 | prototype, and handle lexing numbers and identifiers. | |
4887 | (parse_identifier): Update to new form of parse_slow. | |
4888 | (parse_number): Fast path only, use parse_slow otherwise. | |
4889 | (_cpp_lex_direct): Update calls to parse_number. | |
4890 | ||
fbc2782e DD |
4891 | 2002-03-21 DJ Delorie <dj@redhat.com> |
4892 | ||
4893 | * bb-reorder.c (make_reorder_chain_1): Protect against | |
4894 | when redundant edges are omitted. | |
4895 | * predict.c (dump_prediction): Likewise. | |
4896 | ||
fba39eaf RH |
4897 | 2002-03-21 Richard Henderson <rth@redhat.com> |
4898 | ||
4899 | PR target/5996 | |
4900 | * fixinc/inclhack.def (solaris_stdio_tag): New. | |
4901 | * fixinc/fixincl.x: Regenerate. | |
4902 | ||
eba80994 EB |
4903 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
4904 | ||
4905 | PR c/5597 | |
4906 | * c-typeck.c (process_init_element): Flag non-static | |
4907 | initialization of a flexible array member as illegal. | |
4908 | ||
2a78758b AM |
4909 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
4910 | ||
4911 | * config/rs6000/t-linux64: New. | |
4912 | * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and | |
4913 | t-ppccomm. Use t-rs6000 and t-linux64. | |
4914 | (powerpc64-*-gnu* <tmake_file>): Likewise. | |
bac015e7 AM |
4915 | * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable. |
4916 | * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo. | |
4917 | * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc. | |
2a78758b | 4918 | |
2cb921f4 AH |
4919 | 2002-03-21 Aldy Hernandez <aldyh@redhat.com> |
4920 | ||
eba80994 EB |
4921 | * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check |
4922 | flag_really_no_inline instead of optimize == 0. | |
2cb921f4 | 4923 | |
eba80994 | 4924 | * c-objc-common.c (c_cannot_inline_tree_fn): Same. |
2cb921f4 | 4925 | |
eba80994 | 4926 | * cp/tree.c (cp_cannot_inline_tree_fn): Same. |
2cb921f4 | 4927 | |
eba80994 | 4928 | * flags.h (flag_really_no_inline): New. |
2cb921f4 | 4929 | |
659e5a7a | 4930 | * c-common.c (c_common_post_options): Initialize |
eba80994 | 4931 | flag_really_no_inline. |
2cb921f4 | 4932 | |
eba80994 | 4933 | * toplev.c (flag_really_no_inline): New. |
2cb921f4 | 4934 | |
239b8b9d JJ |
4935 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
4936 | ||
4937 | * config/avr/avr.md (length): Fix length computation for | |
4938 | conditional branches. | |
4939 | ||
43577e6b NB |
4940 | 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk> |
4941 | ||
4942 | * Makefile.in (fold-const.o, stor-layout.o, stmt.o, | |
4943 | sdbout.o, profile.o): Update. | |
4944 | * c-common.c (c_common_nodes_and_builtins): Use pushdecl | |
4945 | langhook. | |
4946 | * c-common.h (gettags): Move here from tree.h. | |
4947 | * c-tree.h (pushdecl, pushlevel, poplevel, set_block, | |
4948 | insert_block, getdecls, kept_level_p, global_bindings_p): New. | |
4949 | * dbxout.c (dbxout_init): Use getdecls langhook. | |
4950 | * expr.c (expand_expr): Use insert_block langhook. | |
4951 | * fold-const.c: Include langhooks.h. | |
4952 | (fold_range_test, fold_binary_op_with_conditional_arg, | |
4953 | fold): Use global_bindings_p langhook. | |
4954 | * integrate.c (expand_inline_function): Use insert_block langhook. | |
4955 | * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL, | |
4956 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P, | |
4957 | LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL, | |
4958 | LANG_HOOKS_GETDECLS): New. | |
4959 | (LANG_HOOKS_INITIALIZER): Update. | |
4960 | * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p | |
4961 | langhook. | |
4962 | * langhooks.h (struct lang_hooks_for_decls): New. | |
4963 | (struct lang_hooks): Update. | |
4964 | * profile.c: Include langhooks.h. | |
4965 | (output_func_start_profiler): Use new langhooks. | |
4966 | * sdbout.c: Include langhooks.h. | |
4967 | (sdbout_init, sdbout_finish): Use getdecls langhook. | |
4968 | * stmt.c: Include langhooks.h. | |
4969 | (expand_fixup, fixup_gotos): Use new langhooks. | |
4970 | * stor-layout.c: Include langhooks.h. | |
4971 | (variable_size): Use global_bindings_p langhook. | |
4972 | * toplev.c (compile_file): Use getdecls langhook. | |
4973 | * tree-inline.c (remap_block): Use insert_block langhook. | |
4974 | * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags, | |
4975 | insert_block, getdecls, kept_level_p, global_bindings_p): Remove. | |
4976 | ||
5b19b10c RH |
4977 | 2002-03-21 Richard Henderson <rth@redhat.com> |
4978 | ||
4979 | * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic | |
4980 | constants in .data when -fpic. | |
4981 | ||
e05af335 GP |
4982 | 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
4983 | ||
4984 | * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux | |
4985 | where appropriate. | |
4986 | ||
60ffc997 TT |
4987 | 2002-03-21 Tom Tromey <tromey@redhat.com> |
4988 | ||
4989 | * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948. | |
4990 | ||
75897075 RK |
4991 | Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4992 | ||
a73afd69 | 4993 | * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse. |
46399021 | 4994 | |
75897075 RK |
4995 | * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT. |
4996 | ||
312687cf EB |
4997 | 2002-03-21 Eric Botcazou <ebotcazou@multimania.com> |
4998 | Richard Henderson <rth@redhat.com> | |
4999 | ||
5000 | PR c/5354 | |
5001 | * c-common.c (c_expand_expr): Preserve result of a statement | |
5002 | expression if needed. | |
5003 | ||
f0e1f482 JJ |
5004 | 2002-03-21 Jakub Jelinek <jakub@redhat.com> |
5005 | ||
5006 | PR bootstrap/4195 | |
5007 | * genrecog.c (maybe_both_true_mode): Remove. | |
5008 | (maybe_both_true_2, write_switch): Revert 2001-07-17 changes. | |
5009 | * machmode.def (Pmode): Likewise. | |
5010 | ||
c14b9960 JW |
5011 | Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com) |
5012 | ||
5013 | * alias.c: (nonlocal_mentioned_p): Use for_each_rtx. | |
5014 | (nonlocal_mentioned_p_1): New function. | |
5015 | (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise. | |
5016 | (nonlocal_set_p, nonlocal_set_p_1): Likewise. | |
5017 | (mark_constant_function): Recognize pure functions. | |
5018 | * rtl.h (global_reg_mentioned_p): New prototype. | |
5019 | * rtlanal.c (global_reg_mentioned_p, | |
5020 | global_reg_mentioned_p_1): New function. | |
5021 | ||
aaa4d130 RO |
5022 | 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5023 | ||
5024 | * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64 | |
5025 | UNIX assert.h. | |
5026 | * fixinc/fixincl.x: Regenerate. | |
5027 | ||
e5c4bd1b JM |
5028 | 2002-03-20 Jason Merrill <jason@redhat.com> |
5029 | ||
5030 | * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0. | |
5031 | ||
852b81bb MM |
5032 | 2002-03-20 Michael Meissner <meissner@redhat.com> |
5033 | ||
5034 | * doc/invoke.texi (Optimize Options): Document that -O2 sets | |
5035 | -fstrict-aliasing. | |
5036 | ||
86d8c251 BW |
5037 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
5038 | ||
5039 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a | |
5040 | ".literal_position" directive before the constant pool. | |
5041 | ||
0a39c350 GP |
5042 | 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
5043 | ||
5044 | * doc/contrib.texi (Contributors): Update Geoffrey Keating. | |
5045 | Add Craig Rodrigues. | |
5046 | Add Brad Lucier to testers. | |
5047 | ||
71a83373 JJ |
5048 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
5049 | ||
5050 | PR target/4792 | |
5051 | * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode | |
5052 | to if_then_else. | |
5053 | (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise. | |
5054 | * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached | |
5055 | instead of insn_extract. | |
5056 | ||
a29b099d JJ |
5057 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
5058 | ||
5059 | PR bootstrap/4192 | |
71a83373 | 5060 | * config/fr30/fr30.md (jump): Remove clobber of fixed register. |
a29b099d JJ |
5061 | |
5062 | * genemit.c (output_added_clobbers_hard_reg_p): Only output return | |
5063 | stmt if some case has been output. | |
5064 | ||
048b1c95 JJ |
5065 | 2002-03-20 Jakub Jelinek <jakub@redhat.com> |
5066 | ||
5067 | PR c/5972 | |
5068 | * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc, | |
5069 | movsfcc_1, movdfcc_1): Add %O2. | |
5070 | * config/i386/i386.c (print_operand): Handle %ON. | |
5071 | Print . before float condition codes in Sun as cmov syntax. | |
5072 | * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as. | |
5073 | * config.gcc (i[34567]86-*-solaris2*): Remove comment which is | |
5074 | no longer true. | |
5075 | ||
f4864588 PB |
5076 | 2002-03-20 Philip Blundell <pb@nexus.co.uk> |
5077 | ||
5078 | * config/arm/arm.c (arm_output_epilogue): Don't generate separate | |
5079 | return instruction if PC was popped. | |
5080 | ||
3a307de4 BW |
5081 | 2002-03-20 Bob Wilson <bob.wilson@acm.org> |
5082 | ||
5083 | * config/xtensa/xtensa.md: Remove unused type attributes. | |
5084 | (adddi_carry, subddi_carry): Change type attribute to "multi". | |
5085 | ||
048b1c95 | 5086 | 2002-03-19 Dale Johannesen <dalej@apple.com> |
ed7d44bc DJ |
5087 | |
5088 | PR optimization/5999, middle-end/5731 | |
5089 | * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into | |
5090 | multiplications by reciprocals. | |
5091 | ||
7afff7cf NB |
5092 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
5093 | ||
5094 | * Makefile.in: Update. | |
5095 | * c-common.c: Include langhooks.h. | |
5096 | (inline_forbidden_p): Use new hook. | |
5097 | * diagnostic.c: Include langhooks.h. | |
5098 | (format_with_decl, announce_function, | |
5099 | default_print_error_function): Use new hook. | |
5100 | * dwarf2out.c (dwarf2_name): Use new hook. | |
5101 | * function.c: Include langhooks.h. | |
5102 | (init_function_start): Use new hook. | |
5103 | * langhooks-def.h (lhd_decl_printable_name): New. | |
5104 | (LANGHOOKS_DECL_PRINTABLE_NAME): New. | |
5105 | (LANGHOOKS_INITIALIZER): Update. | |
5106 | * langhooks.c (lhd_decl_printable_name): New. | |
5107 | * langhooks.h (struct lang_hooks): New hook. | |
5108 | * toplev.c (decl_name, decl_printable_name): Remove. | |
5109 | (open_dump_file): Use new hook. | |
5110 | (process_options): Remove old hook. | |
5111 | * tree.h (decl_printable_name): Remove. | |
5112 | objc: | |
5113 | * objc-act.c (objc_init): Remove old hook. | |
5114 | (objc_printable_name): Export. | |
5115 | * objc-act.h (objc_printable_name): New. | |
5116 | * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
5117 | ||
f78ce0b7 JB |
5118 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
5119 | ||
5120 | * c-lex.c (cb_file_change): Pass the #inclusion's line number to | |
5121 | the start_source_file debug hook, not the current line number. | |
5122 | ||
15b5aef3 RH |
5123 | 2002-03-19 Richard Henderson <rth@redhat.com> |
5124 | ||
5125 | * flow.c (EH_USES): Provide default. | |
5126 | (calculate_global_regs_live): Use it for EH edges and noreturn calls. | |
5127 | * doc/tm.texi (EH_USES): New. | |
5128 | ||
5129 | * config/ia64/ia64.c (ia64_eh_uses): New. | |
5130 | * config/ia64/ia64-protos.h: Update. | |
5131 | * config/ia64/ia64.h (EH_USES): New. | |
5132 | ||
02a7a3fd RH |
5133 | 2002-03-19 Richard Henderson <rth@redhat.com> |
5134 | ||
5135 | * varasm.c (output_constant_def): Fix stupid typo. | |
5136 | ||
93f82d60 RH |
5137 | 2002-03-19 Richard Henderson <rth@redhat.com> |
5138 | ||
2842be05 | 5139 | PR 5879 |
93f82d60 RH |
5140 | * except.c (current_function_has_exception_handlers): New. |
5141 | * except.h: Declare it. | |
5142 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it. | |
5143 | Combine tests that disable all sibcalls for the function. | |
5144 | ||
ed4fbfa0 OH |
5145 | 2002-03-19 Olivier Hainque <hainque@act-europe.fr> |
5146 | ||
5147 | * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO | |
5148 | for INTEGER_CST. | |
5149 | ||
ebf0e888 RH |
5150 | 2002-03-19 Richard Henderson <rth@redhat.com> |
5151 | ||
1e82682b | 5152 | PR 5977, 5991 |
ebf0e888 RH |
5153 | * config/ia64/ia64.c: Revert 2002-03-01 patch. |
5154 | * config/ia64/ia64.h (INIT_EXPANDERS): New. | |
5155 | ||
e37b38d7 JB |
5156 | 2002-03-19 Jim Blandy <jimb@redhat.com> |
5157 | ||
5158 | * cppmacro.c (cpp_macro_definition): Emit a space after the macro | |
5159 | name, even if the replacement list contains no tokens, as required | |
5160 | by Dwarf. | |
5161 | ||
2a4ea326 JM |
5162 | 2002-03-19 Jason Merrill <jason@redhat.com> |
5163 | ||
f9d09ae5 JM |
5164 | * varasm.c (globalize_decl): Get the name from the RTL, not |
5165 | DECL_ASSEMBLER_NAME. | |
5166 | ||
2a4ea326 JM |
5167 | * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g. |
5168 | ||
99b96edb BW |
5169 | 2002-03-19 Bob Wilson <bob.wilson@acm.org> |
5170 | ||
5171 | * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3, | |
5172 | subdi_carry): Define. | |
5173 | ||
3774b567 DE |
5174 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
5175 | ||
5176 | * config/rs6000/rs6000.c (rs6000_override_options): Only warn | |
5177 | about -fpic/-fPIC if extra_warnings set. | |
5178 | ||
21ef78aa DE |
5179 | 2002-03-19 David Edelsohn <edelsohn@gnu.org> |
5180 | ||
5181 | * expr.c (expand_expr): Sign-extend CONST_INT generated from | |
5182 | TREE_STRING_POINTER. | |
0c2fdcdf | 5183 | * fold-const.c (fold): Delete #if 0 ARRAY_REF case. |
21ef78aa | 5184 | |
91d4b3fd RK |
5185 | Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5186 | ||
5187 | * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP | |
5188 | in favor of SP if FRAME_POINTER_REQUIRED is false. | |
5189 | ||
2496c7bd LB |
5190 | 2002-03-19 Lars Brinkhoff <lars@nocrew.org> |
5191 | ||
5192 | * emit-rtl.c (gen_int_mode): New function. | |
5193 | * rtl.h: Prototype for it. | |
5194 | * combine.c (make_extraction, simplify_comparison), expmed.c | |
5195 | (store_bit_field, expand_mult_highpart, expand_divmod), expr.c | |
5196 | (convert_modes, store_field), optabs.c (expand_fix), | |
5197 | simplify-rtx.c (neg_const_int, simplify_unary_real), | |
5198 | ||
5199 | * config/rs6000/rs6000.c, config/rs6000/rs6000.md: | |
5200 | Use it instead of GEN_INT (trunc_int_for_mode (...)). | |
5201 | ||
f735a153 JJ |
5202 | 2002-03-19 Jakub Jelinek <jakub@redhat.com> |
5203 | ||
5204 | PR c/5656 | |
5205 | * langhooks.h (struct lang_hooks_for_tree_inlining): Add | |
5206 | convert_parm_for_inlining. | |
5207 | * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
5208 | Define. | |
5209 | * langhooks-def.h: Likewise. | |
5210 | * objc/objc-lang.c: Likewise. | |
5211 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New | |
5212 | function. | |
5213 | * tree-inline.c (initialize_inlined_parameters): | |
5214 | Call convert_parm_for_inlining lang hook if needed. | |
5215 | * c-typeck.c (c_convert_parm_for_inlining): New function. | |
5216 | * c-tree.h (c_convert_parm_for_inlining): Add prototype. | |
5217 | ||
1929c971 MM |
5218 | 2002-03-18 Mark Mitchell <mark@codesourcery.com> |
5219 | ||
b216cd4a | 5220 | * calls.c (precompute_arguments): Do not assume that temporaries |
1929c971 MM |
5221 | can be destroyed after expanding the argument. |
5222 | (expand_call): Likewise. | |
5223 | ||
c79ca0ac EC |
5224 | 2002-03-15 Eric Christopher <echristo@redhat.com> |
5225 | ||
5226 | * config/mips/mips.md (movdf_internal2): Add two new move constraints. | |
5227 | Fix register preference on last change. | |
5228 | * config/mips/mips.c (mips_return_in_memory): New function. | |
5229 | * config/mips/mips.h (RETURN_IN_MEMORY): Use. | |
5230 | * config/mips/mips-protos.h: Declare. | |
5231 | * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above. | |
5232 | * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults. | |
5233 | ||
07e2e444 AO |
5234 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
5235 | ||
1bfbbbcf AO |
5236 | * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to |
5237 | a register too. | |
5238 | (anddi3, iorsi3): Likewise. | |
5239 | ||
c066429e AO |
5240 | * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't |
5241 | use %gprel for symbols that are going to be placed in linkonce | |
5242 | sections. | |
5243 | ||
07e2e444 AO |
5244 | * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate |
5245 | RETURN_ADDRESS_POINTER_REGNUM to $ra. | |
5246 | (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is | |
5247 | not needed. Disregard leaf_function_p(). | |
5248 | (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to | |
5249 | mips16 frame pointer. | |
5250 | * config/mips/mips.md (store ra): Only to small SP offsets. | |
5251 | 2001-08-22 Graham Stott <grahams@redhat.com> | |
5252 | * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function | |
5253 | return a REG rtx for the return address register. | |
5254 | ||
eb8e00ea BW |
5255 | 2002-03-18 Bob Wilson <bob.wilson@acm.org> |
5256 | ||
5257 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat | |
5258 | constant-pool addresses as "mode-dependent". | |
5259 | (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments. | |
5260 | ||
cbb92744 JJ |
5261 | 2002-03-18 Jakub Jelinek <jakub@redhat.com> |
5262 | ||
5263 | PR target/5740 | |
5264 | * expr.c (emit_group_load): Use extract_bit_field if | |
5265 | needed for CONCAT arguments. | |
5266 | ||
657d9449 RE |
5267 | 2002-03-18 Richard Earnshaw <rearnsha@arm.com> |
5268 | ||
91f3a802 | 5269 | PR target/4863 |
657d9449 RE |
5270 | * arm.md (tablejump): Make this a define_expand. For PIC add the |
5271 | offset to the base of the table. | |
5272 | (thumb_tablejump): Matcher for Thumb tablejump insn. | |
5273 | * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries | |
5274 | as the difference of two labels. | |
5275 | * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
5276 | * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump | |
5277 | tables in the code. | |
5278 | * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. | |
5279 | * arm.c (get_jump_table_size): If the table is not in the text | |
5280 | section, return zero. | |
c79ca0ac | 5281 | |
5d5603e2 BS |
5282 | 2002-03-18 Bernd Schmidt <bernds@redhat.com> |
5283 | ||
5284 | * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead | |
5285 | of gen_rtx_SUBREG. | |
5286 | (arm_reload_out_hi): Use gen_lowpart instead of | |
5287 | gen_rtx_SUBREG to access QImode components. | |
5288 | * config/arm/arm.md: Disable zero_extend split for QImode | |
5289 | subregs in BIG_ENDIAN mode. | |
5290 | (storehi_bigend): Match use of least significant byte. | |
5291 | (storeinthi): Remove extraneous SUBREG. | |
66c17b64 | 5292 | Add missing construction of operands[2]. |
5d5603e2 BS |
5293 | (movhi): Use gen_lowpart in place of gen_rtx_SUBREG. |
5294 | (movqi): Use gen_lowpart in place of gen_rtx_SUBREG. | |
5295 | Replace gen_rtx (SUBREG) with gen_rtx_SUBREG. | |
5296 | ||
df15fbc7 AH |
5297 | 2002-03-18 Aldy Hernandez <aldyh@redhat.com> |
5298 | ||
2496c7bd LB |
5299 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to |
5300 | any_operand. | |
df15fbc7 | 5301 | |
b83b7fa3 RH |
5302 | 2002-03-17 Richard Henderson <rth@redhat.com> |
5303 | ||
5304 | * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns | |
5305 | explicitly. | |
5306 | ||
6f7c00fe HPN |
5307 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
5308 | ||
5309 | * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI | |
5310 | (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)). | |
5311 | ||
155038f2 KG |
5312 | 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5313 | ||
720d42fa KG |
5314 | * ifcvt.c (dead_or_predicable): Fix uninitialized variable. |
5315 | ||
155038f2 KG |
5316 | * predict.c (estimate_bb_frequencies): Delete unused variables. |
5317 | ||
e6542f4e RH |
5318 | 2002-03-17 Richard Henderson <rth@redhat.com> |
5319 | ||
5320 | * config/ia64/ia64.c (ia64_attribute_table): Move before | |
5321 | targetm definition. Make static. | |
5322 | ||
52dabb6c NB |
5323 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
5324 | ||
5325 | * c-common.h (yyparse, c_common_parse_file): New. | |
5326 | * c-lang.c: Include c-common.h. | |
5327 | (LANG_HOOKS_PARSE_FILE): Redefine. | |
5328 | * c-lex.c: Include c-common.h. | |
5329 | (yyparse): Rename c_common_parse_file. Call yyparse. | |
5330 | * c-parse.in (yyparse): Remove macro. | |
5331 | * c-tree.h (yyparse_1): Remove. | |
5332 | * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New. | |
5333 | (LANG_HOOKS_INITIALIZER): Update. | |
5334 | * langhooks.h (struct lang_hoooks): New hook parse_file. | |
5335 | * toplev.c (compile_file): Use parse_file hook. | |
5336 | * tree.h (yyparse): Remove. | |
e6542f4e | 5337 | * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine. |
52dabb6c | 5338 | |
b5ffe606 HPN |
5339 | 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com> |
5340 | ||
ba82f58b HPN |
5341 | * config/mmix/mmix.md ("truncdfsf2"): Correct operator is |
5342 | float_truncate, not fix. | |
5343 | ("*truncdfsf2_real"): Ditto. | |
5344 | ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. | |
5345 | ||
b5ffe606 HPN |
5346 | * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. |
5347 | ||
c8d1b2b7 AO |
5348 | 2002-03-16 Alexandre Oliva <aoliva@redhat.com> |
5349 | ||
cfb773f9 AO |
5350 | * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp |
5351 | (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses | |
5352 | where appropriate. Make the second reference to | |
5353 | leaf_function_p a function call, as intended. Reindented. | |
5354 | ||
4dffef52 AO |
5355 | * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16. |
5356 | * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'. | |
5357 | ||
4f5bd6d7 AO |
5358 | * config/mips/mips.md (addsi3, adddi3): Use scratch register to |
5359 | add register to non-constant into sp. | |
5360 | ||
c8d1b2b7 AO |
5361 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New. |
5362 | * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose. | |
5363 | (mips16_gp_pseudo_rtx): Lose. | |
5364 | (INIT_EXPANDERS): Deleted. | |
5365 | * config/mips/mips.c (mips_init_machine_status): New. | |
5366 | (mips_free_machine_status): New. | |
5367 | (mips_mark_machine_status): New. | |
5368 | (override_options): Set them. | |
5369 | (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to... | |
5370 | (struct machine_function): ... new. Replaced all references. | |
5371 | (mips_add_gc_roots): Don't mark them. | |
5372 | (embedded_pic_fnaddr_reg): New, extracted from... | |
5373 | (embedded_pic_offset): ... here. | |
5374 | * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg. | |
5375 | (movsi): Likewise. | |
5376 | ||
b3124fac NB |
5377 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
5378 | ||
5379 | * cppinit.c: Revert -MD removal. | |
5380 | ||
121449b6 SC |
5381 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5382 | ||
5383 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use | |
5384 | soft registers by default for 68HC12. | |
5385 | (m68hc11_conditional_register_usage): Don't use Z register for 68HC12 | |
5386 | when compiling with -fomit-frame-pointer. | |
5387 | (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12. | |
5388 | (expand_epilogue): Likewise. | |
5389 | (m68hc11_gen_rotate): Use exg when rotating by 8. | |
5390 | ||
840e2ff1 SC |
5391 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5392 | ||
5393 | * config/m68hc11/m68hc11-protos.h (ix_reg): Declare. | |
5394 | * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources. | |
5395 | (splits): Remove unused add splits. | |
5396 | ("*addhi3_68hc12"): Tune constraints. | |
5397 | ("addhi_sp"): Try to use X instead of Y in all cases and if the | |
5398 | constant fits in 8-bits and D is dead use abx/aby instructions. | |
5399 | ("*addhi3"): Remove extern declaration of ix_reg. | |
5400 | ("*subsi3"): Optimize and provide new split. | |
5401 | ("subhi3"): Cleanup. | |
5402 | ("*subhi3_sp"): Avoid saving X if we know it is dead. | |
5403 | (arith splits): For 68hc12 save the address register on the stack | |
5404 | and do the arithmetic operation with a pop. | |
5405 | ||
3c9a5efe SC |
5406 | 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5407 | ||
5408 | * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid | |
5409 | allocating QImode in address registers. | |
5410 | ("*movqi_m68hc11"): Likewise. | |
5411 | ||
e41f3392 JH |
5412 | Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz> |
5413 | ||
5414 | * cfgcleanup.c (cleanup_cfg): Fix updating of liveness. | |
5415 | ||
576786b0 NB |
5416 | 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk> |
5417 | ||
5418 | * cppinit.c (print_help): Display -MD and -MMD. | |
5419 | Don't display usage string. Update assertion syntax and | |
5420 | typo. | |
5421 | (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD. | |
5422 | (cpp_handle_option): Update. | |
5423 | ||
1ac458d4 CD |
5424 | 2002-03-15 Chris Demetriou <cgd@broadcom.com> |
5425 | ||
5426 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an | |
5427 | MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC, | |
5428 | and define it so that regardless of target CPU size, | |
5429 | __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms | |
5430 | of "int" rather than "long." | |
5431 | ||
1fcd592b RH |
5432 | 2002-03-15 Richard Henderson <rth@redhat.com> |
5433 | ||
5434 | * config/alpha/alpha.c (alpha_va_arg): Manipulate the type | |
5435 | size as a tree. | |
5436 | ||
a0df6910 SC |
5437 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5438 | ||
5439 | * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst. | |
5440 | ("tstqi" split): Avoid using memory for tstqi on address register. | |
5441 | (splits): Remove constraints. | |
5442 | ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12. | |
5443 | ("cmpdf", "cmpsf"): Remove since not used. | |
5444 | ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2. | |
5445 | (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing. | |
5446 | ||
015a2e59 SC |
5447 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5448 | ||
5449 | * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case. | |
5450 | ("neghi2"): Tighten constraints. | |
5451 | ("one_cmplsi2"): Optimize and simplify split. | |
5452 | * config/m68hc11/larith.asm (__negsi2): Likewise for library. | |
5453 | ||
cd28557c SC |
5454 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5455 | ||
5456 | * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints | |
5457 | and split of AND operation to clear the upper bits. | |
5458 | ("*logicalsi3_zextqi"): Likewise. | |
5459 | ("*logicallhi3_zexthi_ashift8"): Likewise. | |
5460 | ("*logicalsi3_silshr16"): Likewise. | |
5461 | ("logicalsi3_silshl16"): Likewise. | |
5462 | ("anddi3", "iordi3", "xordi3" splits): Remove constraints. | |
5463 | ||
932657df SC |
5464 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5465 | ||
5466 | * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function. | |
5467 | (m68hc11_indirect_p): New function. | |
5468 | (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12. | |
5469 | (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of | |
5470 | TARGET_M6812. | |
5471 | (asm_print_register): Likewise. | |
5472 | * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare. | |
5473 | (m68hc11_indirect_p): Declare. | |
5474 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'. | |
5475 | (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New. | |
5476 | (TARGET_SWITCHES): New option -mrelax. | |
5477 | * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for | |
5478 | destination. | |
5479 | ("iorsi3", "xorsi3"): Likewise. | |
5480 | ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand. | |
5481 | ("*andhi3_mem"): New to handle destination in memory with bclr | |
5482 | and a scratch register. | |
5483 | ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise. | |
5484 | ("*andhi3_const"): New when operand2 is constant. | |
5485 | ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise. | |
5486 | ("*andhi3_gen"): Cleanup of the old "andhi3". | |
5487 | ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise. | |
5488 | ("xorqi3"): Update constraints. | |
5489 | ||
fdffea1a SC |
5490 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5491 | ||
5492 | * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look | |
5493 | for reg_equiv_memory_loc when the operand is a register that does | |
5494 | not get a hard register (stack location). | |
5495 | (tst_operand): After reload, accept all memory operand. | |
5496 | (symbolic_memory_operand): Fix detection of symbolic references. | |
5497 | * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12 | |
5498 | accept symbols and any constant. | |
5499 | ||
6272bc68 SC |
5500 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5501 | ||
5502 | * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC | |
5503 | note on the insn that sets the soft frame register. | |
5504 | (must_parenthesize): ix and iy are also reserved names. | |
5505 | (print_operand_address): One more place where parenthesis are required | |
5506 | to avoid confusion with register names. | |
5507 | (m68hc11_gen_movhi): Allow push of stack pointer. | |
5508 | (m68hc11_check_z_replacement): Fix handling of parallel with a | |
5509 | clobber. | |
5510 | (m68hc11_z_replacement): Must update the REG_INC notes to tell what | |
5511 | the replacement register is. | |
5512 | * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS | |
5513 | and D8_REGS classes. | |
5514 | (MODES_TIEABLE_P): All modes are tieable except QImode. | |
5515 | ||
1d2d9def SC |
5516 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5517 | ||
5518 | * config/m68hc11/larith.asm (___adddi3): Optimize saving of result. | |
5519 | (___subdi3): Likewise. | |
5520 | (__mulsi3, __mulhi32): Avoid using _.tmp scratch location. | |
5521 | (__map_data_section): Optimize 68hc11 case. | |
5522 | ||
a0ccf503 SC |
5523 | 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5524 | ||
5525 | * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher | |
5526 | than a shift to avoid adding a register with itself. | |
5527 | (m68hc11_memory_move_cost): Take into account NO_REGS. | |
5528 | (m68hc11_register_move_cost): Update and use memory move cost | |
5529 | for soft registers. | |
5530 | (m68hc11_address_cost): Make cost of valid offset not 0 so that | |
5531 | it gives more opportunities to cse to optimize. | |
5532 | * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode. | |
5533 | * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update. | |
5534 | ||
6e4ae815 MM |
5535 | 2002-03-15 Mark Mitchell <mark@codesourcery.com> |
5536 | ||
5537 | * c-common.c (statement_code_p): Handle CLEANUP_STMT. | |
5538 | * c-common.def (CLEANUP_STMT): New tree node. | |
5539 | * c-common.h (CLEANUP_DECL): New macro. | |
5540 | (CLEANUP_EXPR): Likewise. | |
5541 | * c-semantics.c (expand_stmt): Handle CLEANUP_STMT. | |
5542 | * expr.c (expand_expr): Tidy. | |
5543 | * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT. | |
5544 | * tree-inline.c (initialize_inlined_parameters): Clean up | |
5545 | new local variables. | |
5546 | ||
a42519be JJ |
5547 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
5548 | ||
5549 | PR bootstrap/4128 | |
5550 | * config/sparc/sparc.c (gen_v9_scc): Move early clobber test | |
5551 | before movrXX only, use reg_overlap_mentioned_p. | |
5552 | Only special case NE if just one insn can be generated. | |
5553 | ||
15409448 JM |
5554 | 2002-03-15 Jason Merrill <jason@redhat.com> |
5555 | ||
5556 | * varasm.c (assemble_variable): Call resolve_unique_section before | |
5557 | checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL | |
5558 | of error_mark_node. | |
5559 | ||
3a4edb44 RE |
5560 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
5561 | ||
5562 | PR target/5170 | |
5563 | * arm.md (split pattern for thumb shiftable immediates): Add comment | |
5564 | explaining non-obvious test. | |
5565 | ||
32defa36 RE |
5566 | 2002-03-15 Richard Earnshaw <rearnsha@arm.com> |
5567 | ||
5568 | PR target/5712 | |
5569 | * arm.md (movaddr, movaddr_insn): Delete. | |
5570 | ||
5cc90635 JM |
5571 | 2002-03-15 Jason Merrill <jason@redhat.com> |
5572 | ||
5573 | * toplev.c (wrapup_global_declarations): Clarify variable handling. | |
5574 | -fkeep-static-consts doesn't apply to comdats. | |
5575 | ||
ecb0eece RH |
5576 | 2002-03-14 Richard Henderson <rth@redhat.com> |
5577 | ||
5578 | * c-decl.c: Include c-pragma.h. | |
5579 | (start_decl, start_function): Invoke maybe_apply_pragma_weak. | |
5580 | (finish_function): Tidy. | |
5581 | * c-pragma.c: Include c-common.h. | |
5582 | (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New. | |
5583 | (handle_pragma_weak): Use them. | |
5584 | (init_pragma): Register pending_weaks. | |
5585 | * c-pragma.h (maybe_apply_pragma_weak): Declare. | |
5586 | * print-tree.c (print_node): Print DECL_WEAK. | |
5587 | * varasm.c (mark_weak_decls): Remove. | |
5588 | (remove_from_pending_weak_list): Remove. | |
5589 | (add_weak): Remove. | |
5590 | (asm_emit_uninitialised): Call globalize_decl for weak commons. | |
5591 | (weak_decls): Make a tree_list. | |
5592 | (declare_weak): Cons weak_decls directly. | |
5593 | (globalize_decl): Remove weak_decls elements directly. | |
5594 | (weak_finish): Simplify weak_decls walk. Don't weaken unused | |
5595 | symbols. Don't pretend to handle aliases. | |
5596 | (init_varasm_once): Update weak_decls registry. | |
5597 | * Makefile.in: Update dependencies. | |
5598 | ||
98d2b17e RH |
5599 | 2002-03-14 Richard Henderson <rth@redhat.com> |
5600 | ||
5601 | PR target/5312 | |
5602 | * config/ia64/ia64.c: Include tm_p.h last. | |
5603 | (gen_nop_type): Remove duplicate definition. | |
5604 | (cycle_end_fill_slots): Set sched_data for second L slot. | |
5605 | (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots. | |
5606 | (nop_cycles_until): Fix typos. | |
5607 | ||
f2f4927e JJ |
5608 | 2002-03-15 Jakub Jelinek <jakub@redhat.com> |
5609 | ||
5610 | PR optimization/5891 | |
5611 | * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag. | |
5612 | ||
5025a549 DM |
5613 | 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com> |
5614 | ||
5615 | * config/ia64/unwind-ia64.c: Handle copy_state and label_state | |
5616 | descriptors correctly. | |
5617 | ||
03e9dbc9 MM |
5618 | 2002-03-14 Michael Meissner <meissner@redhat.com> |
5619 | ||
5620 | * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to | |
5621 | 100, allowing MAX_UNROLLED_INSNS to be overridden. | |
5622 | ||
5623 | * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by | |
5624 | --param. | |
5625 | ||
5626 | * unroll.c (params.h): Include. | |
5627 | (MAX_UNROLLED_INSNS): Delete, now in params.h. | |
5628 | ||
5629 | * doc/invoke.texi (--param max-unroll-insns): Document. | |
5630 | ||
5631 | * Makefile.in (unroll.o): Add $(PARAMS_H) dependency. | |
5632 | ||
12249385 RE |
5633 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
5634 | ||
5635 | * arm.md: Fix warnings about constraints in peepholes and splits. | |
5636 | ||
f0cce04a ZW |
5637 | 2002-03-14 Zack Weinberg <zack@codesourcery.com> |
5638 | ||
5639 | * cpphash.h (struct lexer_state): Remove line_extension member. | |
5640 | * cpplib.c (dequote_string, do_linemarker): New functions. | |
5641 | (linemarker_dir): New data object. | |
5642 | (DIRECTIVE_TABLE): No longer need to interpret #line in | |
5643 | preprocessed source. Delete obsolete comment about return | |
5644 | values of handlers. | |
5645 | (end_directive, directive_diagnostics, _cpp_handle_directive): | |
5646 | Don't muck with line_extension. | |
5647 | (directive_diagnostics): No need to issue warnings for | |
5648 | linemarkers here. | |
5649 | (_cpp_handle_directive): Issue warnings for linemarkers here, | |
5650 | when appropriate. Dispatch linemarkers to do_linemarker, not | |
5651 | do_line. | |
5652 | (do_line): Code to handle linemarkers split out to do_linemarker. | |
5653 | Convert escape sequences in filename argument, both places. | |
5654 | ||
5655 | * cppmacro.c (quote_string): Rename cpp_quote_string and | |
5656 | export. All callers changed. | |
5657 | * cpplib.h (cpp_quote_string): Prototype. | |
5658 | * cppmain.c (print_line): Call cpp_quote_string on to_file | |
5659 | before printing it. | |
5660 | ||
5661 | * doc/cpp.texi: Document that escapes are now interpreted in | |
5662 | #line and in linemarkers, and that non-printing characters are | |
5663 | converted to octal escapes when linemarkers are generated. | |
5664 | ||
5665 | Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz> | |
83a49407 JH |
5666 | |
5667 | * emit-rtl.c (try_split): Use delete_insns. | |
5668 | * recog.c (split_all_insns): Fix terminating condition. | |
5669 | ||
c882c7ac RE |
5670 | 2002-03-14 Richard Earnshaw <rearnsha@arm.com> |
5671 | Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> | |
5672 | ||
5673 | PR target/5828 | |
5674 | * arm.c (arm_output_epilogue): Fix floating-point register save | |
5675 | adjustment when using a frame pointer. | |
5676 | ||
3f26edaa RS |
5677 | 2002-03-14 Richard Sandiford <rsandifo@redhat.com> |
5678 | ||
5679 | * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros. | |
5680 | * config/mips/mips.c (compute_frame_size): Retrofit them here. | |
5681 | (save_restore_insns, mips_expand_epilogue): And here. | |
5682 | (build_mips16_call_stub): And here. | |
5683 | (mips_function_value): Use the new macros to decide whether a single | |
5684 | or complex float can be returned in floating-point registers. Return | |
5685 | a parallel rtx in the complex case. | |
5686 | ||
1e3881c2 JH |
5687 | Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz> |
5688 | ||
5689 | * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup | |
5690 | call after liveness analysis. | |
5691 | ||
5692 | * recog.c (split_insn): Use delete_insn_and_edges. | |
5693 | ||
5694 | * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump | |
5695 | instructions to have branch prediction notes. | |
5696 | * ia64reorg.c (ia64_reorg): Do not rebuild CFG. | |
5697 | ||
200ef634 GK |
5698 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
5699 | ||
5700 | * configure.in: Don't pass -Wno-long-long to a ADA compiler | |
5701 | that doesn't support it. | |
5702 | * configure: Regenerate. | |
5703 | ||
0b82d204 JJ |
5704 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
5705 | ||
5706 | PR target/5626 | |
5707 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
5708 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
5709 | inverted_fp_branch): Adjust calls to output_cbranch. | |
5710 | Set length attribute. | |
5711 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to | |
5712 | output_v9branch. Set length attribute. | |
5713 | * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New | |
5714 | predicates. | |
5715 | (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode. | |
5716 | (output_cbranch): Likewise. Handle far branches. | |
5717 | (output_v9branch): Handle far branches. | |
5718 | * config/sparc/sparc-protos.h (output_cbranch, output_v9branch): | |
5719 | Adjust prototypes. | |
5720 | * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and | |
5721 | noov_compare64_op predicates. | |
5722 | ||
7a8de19b JM |
5723 | 2002-03-13 Jason Merrill <jason@redhat.com> |
5724 | ||
5725 | * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr | |
5726 | into the function and constify it. | |
5727 | * gthr-dce.h, gthr-solaris.h: Likewise. | |
5728 | ||
2a55fd42 DE |
5729 | 2002-03-13 David Edelsohn <edelsohn@gnu.org> |
5730 | ||
5731 | * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define. | |
5732 | * config/rs6000/rs6000.c (rs6000_va_arg): Use | |
5733 | std_expand_builtin_va_arg if not ABI_V4. | |
5734 | ||
19c5b1cf JM |
5735 | 2002-03-13 Jason Merrill <jason@redhat.com> |
5736 | ||
5737 | * varasm.c (globalize_decl): New fn. | |
5738 | (assemble_start_function): Use it. | |
5739 | (asm_emit_uninitialized): Use it. | |
5740 | (assemble_alias): Use it. | |
5741 | (assemble_variable): Use it. | |
5742 | ||
2a15f5e1 HPN |
5743 | 2002-03-13 Hans-Peter Nilsson <hp@axis.com> |
5744 | ||
5745 | * config/cris/cris.c (cris_target_asm_function_prologue): Revert | |
f0cce04a | 5746 | 2002-03-12 internal visibility change. |
2a15f5e1 HPN |
5747 | (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding |
5748 | visibility into SYMBOL_REF_FLAG. | |
5749 | ||
c0a3eeac UW |
5750 | 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com> |
5751 | ||
5752 | * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with | |
5753 | VOIDmode operand. Add compile-time optimization for constant results. | |
5754 | ||
a1652cee JM |
5755 | 2002-03-12 Jason Merrill <jason@redhat.com> |
5756 | ||
5757 | * c-typeck.c (convert_for_assignment): Don't allow conversions | |
5758 | between pointers and references. Only allow lvalues to convert to | |
5759 | reference. | |
5760 | ||
c52a375d HP |
5761 | 2002-03-13 Hartmut Penner <hpenner@de.ibm.com> |
5762 | ||
f0cce04a ZW |
5763 | * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code |
5764 | before prologue, to avoid scheduling problems. | |
c52a375d | 5765 | |
e387e99b JJ |
5766 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
5767 | ||
5768 | * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove. | |
5769 | (ELIMINABLE_REGS): Add sfp->sp. | |
5770 | (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too. | |
5771 | ||
5772 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> | |
09948ece JJ |
5773 | |
5774 | PR optimization/5892 | |
5775 | * config/ia64/ia64.c (rotate_one_bundle): Update current packet. | |
5776 | ||
4061c1a3 JJ |
5777 | 2002-03-13 Jakub Jelinek <jakub@redhat.com> |
5778 | ||
5779 | * loop.c (basic_induction_var): Don't call convert_modes if mode | |
5780 | classes are different. | |
5781 | ||
5b43fed1 RH |
5782 | 2002-03-12 Richard Henderson <rth@redhat.com> |
5783 | ||
9f53e965 RH |
5784 | PR optimization/5901 |
5785 | * function.c (reposition_prologue_and_epilogue_notes): Position | |
5786 | the markers after/before the last/first insn not deleted. | |
5787 | ||
5788 | 2002-03-12 Richard Henderson <rth@redhat.com> | |
5789 | ||
5790 | PR optimization/5878 | |
5b43fed1 RH |
5791 | * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h, |
5792 | config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h | |
5793 | (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic. | |
5794 | ||
5795 | * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h, | |
5796 | config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set | |
5797 | PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic. | |
5798 | ||
5799 | * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New. | |
5800 | * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM. | |
5801 | (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK | |
5802 | also. Don't set it if not flag_pic. | |
5803 | * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM | |
5804 | to be INVALID_REGNUM when not used. | |
5805 | ||
4e9bb42b AH |
5806 | 2002-03-13 Aldy Hernandez <aldyh@redhat.com> |
5807 | ||
5b43fed1 RH |
5808 | * expmed.c (store_bit_field): Reset alias set for memory. |
5809 | (extract_bit_field): Same. | |
4e9bb42b | 5810 | |
2f9834e8 KG |
5811 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5812 | ||
5813 | * c-common.c (c_tree_code_type, c_tree_code_length, | |
5814 | c_tree_code_name, add_c_tree_codes): Delete. | |
5815 | * c-common.h (add_c_tree_codes): Delete. | |
5816 | * c-lang.c (tree_code_type, tree_code_length, tree_code_name): | |
5817 | Define. | |
5818 | * c-objc-common.c (c_objc_common_init): Don't call | |
5819 | add_c_tree_codes, instead set lang_unsafe_for_reeval. | |
5820 | * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, | |
5821 | objc_tree_code_name, add_objc_tree_codes): Delete. | |
5822 | (objc_init): Don't call add_objc_tree_codes. | |
5823 | * objc/objc-lang.c (tree_code_type, tree_code_length, | |
5824 | tree_code_name): Define. | |
5825 | * toplev.c (lang_independent_init): Don't set | |
5826 | tree_code_length[IDENTIFIER_NODE]. | |
5827 | * tree.c (tree_code_type, tree_code_length, tree_code_name): | |
5828 | Delete definitions, moved to language front-ends. | |
5829 | * tree.def (IDENTIFIER_NODE): Hardwire the length. | |
5830 | * tree.h (tree_code_type, tree_code_length, tree_code_name): | |
5831 | Const-ify. | |
5832 | (tree_code_length): Change type to unsigned char. | |
5833 | ||
36ad2436 RH |
5834 | 2002-03-12 Richard Henderson <rth@redhat.com> |
5835 | ||
5836 | * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03 | |
5837 | internal visibility change. | |
5838 | ||
0ae02efa BW |
5839 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
5840 | ||
5841 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Use | |
5842 | validize_mem() instead of change_address to avoid clobbering | |
5843 | memory attributes. | |
5844 | ||
35bb2bee NB |
5845 | 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk> |
5846 | ||
5847 | * c-lex.h (position_after_whitespace): Remove. | |
5848 | ||
62ae2529 JJ |
5849 | 2002-03-12 Jakub Jelinek <jakub@redhat.com> |
5850 | ||
5851 | * c-lex.c (cb_ident, c_lex): Remove unnecessary cast. | |
5852 | (lex_string): Use unsigned char pointers. | |
5853 | ||
6a45951f UW |
5854 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
5855 | ||
5856 | * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent | |
5857 | is not a valid memory_operand. | |
5858 | ||
e2fb85da BW |
5859 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
5860 | ||
5861 | * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS. | |
5862 | * config/xtensa/lib1funcs.asm: Fix copyright to include | |
5863 | special case for libgcc files. | |
5864 | (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0. | |
5865 | (__divsi3): Likewise. | |
5866 | (__umodsi3): Likewise. | |
5867 | (__modsi3): Likewise. | |
5868 | * config/xtensa/lib2funcs.S: Fix copyright to include | |
5869 | special case for libgcc files. | |
5870 | ||
5b8619f8 TR |
5871 | 2002-03-12 Tom Rix <trix@redhat.com> |
5872 | ||
5873 | * collect2.c (resolve_lib_name): Move outside of | |
f0cce04a | 5874 | OBJECT_FORMAT_COFF ifdef. |
5b8619f8 TR |
5875 | (ignore_library): Same. |
5876 | ||
089c8f97 BW |
5877 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
5878 | ||
5879 | * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define. | |
5880 | ||
958c70ff BW |
5881 | 2002-03-12 Bob Wilson <bob.wilson@acm.org> |
5882 | ||
5883 | * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch | |
5884 | to function_section before writing out the constant pool. | |
5885 | ||
a65c591c DE |
5886 | 2002-03-12 David Edelsohn <edelsohn@gnu.org> |
5887 | ||
5888 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and | |
5889 | zero_constant. | |
5890 | * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting. | |
5891 | ||
5892 | 2002-03-12 Alan Modra <amodra@bigpond.net.au> | |
5893 | ||
5894 | * config/rs6000/rs6000.md (addsi3): Optimize sign extension. | |
5895 | (adddi3): Likewise. | |
5896 | (movdf): Likewise. | |
5897 | (movdi): Likewise. | |
5898 | (cmpsi splitter): Likewise. | |
5899 | (modsi3): Fail if <= 0. | |
5900 | * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove | |
5901 | redundant test when HOST_BITS_PER_WIDE_INT != 32. | |
5902 | (reg_or_sub_cint64_operand): Likewise. | |
5903 | (num_insns_constant_wide): Optimize sign extension. | |
5904 | (rs6000_legitimize_address): Likewise. | |
5905 | ||
17720332 AM |
5906 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
5907 | ||
5908 | * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
5909 | * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. | |
5910 | ||
cd49f073 AM |
5911 | 2002-03-12 Andrew MacLeod <amacleod@redhat.com> |
5912 | ||
5913 | * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in | |
5914 | address calculation. | |
5915 | ||
6a4e49c1 UW |
5916 | 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com> |
5917 | ||
5918 | * config/s390/s390.md (reload_insi, reload_indi): Change mode of | |
5919 | scratch register to DImode / TImode. | |
5920 | config/s390/s390.c (s390_expand_plus_operand): Make sure scratch | |
5921 | register used does not overlap the target. | |
5922 | ||
54b6670a KG |
5923 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5924 | ||
5925 | * Makefile.in (debug.o): Depend on debug.h. | |
5926 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. | |
5927 | * debug.c (do_nothing_debug_hooks): Likewise. | |
5928 | * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, | |
5929 | sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, | |
5930 | dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. | |
5931 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
5932 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
5933 | * integrate.c (output_inline_function): Likewise. | |
5934 | * objc/objc-act.c (synth_module_prologue): Likewise. | |
5935 | * sdbout.c (sdb_debug_hooks): Likewise. | |
5936 | * toplev.c (debug_hooks): Likewise. | |
5937 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
5938 | ||
2465bf76 KG |
5939 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5940 | ||
5941 | * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h, | |
5942 | dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, | |
5943 | m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h, | |
5944 | ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h, | |
5945 | v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete. | |
5946 | * defaults.h (POINTER_SIZE): Define. | |
5947 | * doc/tm.texi (POINTER_SIZE): Document default. | |
5948 | ||
53f3e9ca KG |
5949 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5950 | ||
5951 | * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. | |
5952 | ||
44d3eb5b RH |
5953 | 2002-03-11 Richard Henderson <rth@redhat.com> |
5954 | ||
5955 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges | |
5956 | if rebuild_label_notes_after_reload. | |
5957 | ||
4a085d2e HPN |
5958 | 2002-03-12 Hans-Peter Nilsson <hp@axis.com> |
5959 | ||
5960 | * config/cris/cris.c (cris_target_asm_function_prologue): Do not | |
5961 | emit pic register load if "internal" visibility. | |
5962 | (cris_print_operand): Avoid traditional-warning for 0xffffffff. | |
5963 | (cris_expand_builtin_va_arg): Do all computations on trees. | |
5964 | ||
bc204393 RH |
5965 | 2002-03-11 Richard Henderson <rth@redhat.com> |
5966 | ||
5967 | * rtlanal.c: Include recog.h. | |
5968 | (keep_with_call_p): Fix thinko. | |
5969 | * Makefile.in (rtlanal.o): Update dependencies. | |
5970 | ||
6b8b9d7b CM |
5971 | 2002-03-11 Chris Meyer <cmeyer@gatan.com> |
5972 | ||
5973 | * genflags.c (gen_insn): Use IS_VSPACE. | |
5974 | * genoutput.c (output_insn_data): Likewise. | |
5975 | (process_template): Likewise. | |
5976 | ||
6c40858f RH |
5977 | 2002-03-11 Richard Henderson <rth@redhat.com> |
5978 | ||
5979 | * toplev.c (rest_of_compilation): Don't compile if we've had errors. | |
5980 | ||
40adaa27 NB |
5981 | 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk> |
5982 | ||
5983 | * Makefile.in: Update. | |
6c40858f | 5984 | * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi. |
40adaa27 | 5985 | Update documentation. |
6c40858f RH |
5986 | * doc/gcc.texi: Include cppopts.texi and cppenv.texi. |
5987 | * doc/cpp.texi: Include cppopts.texi and cppenv.texi. | |
40adaa27 | 5988 | |
049b03f4 ZW |
5989 | 2002-03-11 Zack Weinberg <zack@codesourcery.com> |
5990 | ||
5991 | * Makefile.in: Give texi2pod its input file as a command line | |
5992 | argument, not on stdin. | |
5993 | ||
61eece67 DN |
5994 | 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu> |
5995 | Daniel Berlin <dan@dberlin.org> | |
5996 | ||
5997 | C++ alias analysis improvement. | |
f0cce04a | 5998 | * alias.c (record_component_aliases): Record aliases for base |
61eece67 DN |
5999 | classes too. |
6000 | ||
a65c591c DE |
6001 | 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
6002 | ||
ff080aba UW |
6003 | * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register. |
6004 | ||
1682dbb1 DR |
6005 | 2002-03-11 Douglas B Rupp <rupp@gnat.com> |
6006 | ||
fa2d765a DR |
6007 | * toplev.c (vms_fopen): Remove, not needed. |
6008 | ||
6f1fd286 DR |
6009 | * vmsdbgout.c (lookup_filename): Adjust creation date for GMT. |
6010 | ||
b230e057 DR |
6011 | * config/alpha/xm-vms.h (__UNIX_FWRITE): Define. |
6012 | ||
cb9a8e97 DR |
6013 | * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space |
6014 | for FP, already done later. | |
6015 | ||
1682dbb1 DR |
6016 | * toplev.c (debug_args): Add entry for VMS_DEBUG. |
6017 | * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. | |
6018 | ||
3fcaac1d RS |
6019 | 2002-03-11 Richard Sandiford <rsandifo@redhat.com> |
6020 | ||
6021 | * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New. | |
6022 | (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if | |
6023 | LARGEST_EXPONENT_IS_NORMAL for the given mode. | |
6024 | (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO. | |
6025 | * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO. | |
6026 | (ediv, emul, eldexp, esqrt): Likewise. | |
6027 | (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise. | |
6028 | (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL. | |
6029 | (saturate): New function. | |
6030 | (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL. | |
6031 | (make_nan): Use a saturation value instead of a NaN if | |
6032 | LARGEST_EXPONENT_IS_NORMAL. Warn when this happens. | |
6033 | * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing | |
6034 | inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as | |
6035 | zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO. | |
6036 | (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL. | |
6037 | (_fpmul_parts, _fpdiv_parts): Only round to nearest if | |
6038 | !ROUND_TOWARDS_ZERO. | |
6039 | * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document. | |
6040 | (ROUND_TOWARDS_ZERO): Document. | |
6041 | ||
d25558be AJ |
6042 | 2002-03-11 Andreas Jaeger <aj@suse.de> |
6043 | ||
6044 | * cfg.c (dump_flow_info): Remove unused variable. | |
6045 | ||
c71f9ae7 HPN |
6046 | 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com> |
6047 | ||
6048 | * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all | |
6049 | computations on trees. | |
6050 | ||
561c9153 RH |
6051 | 2002-03-10 Richard Henderson <rth@redhat.com> |
6052 | ||
932b4e3e | 6053 | PR 5693: |
561c9153 RH |
6054 | * reload.c (copy_replacements_1): New. |
6055 | (copy_replacements): Use it to recurse through the rtx. | |
6056 | ||
26b738be RH |
6057 | 2002-03-10 Richard Henderson <rth@redhat.com> |
6058 | ||
6059 | * loop.c (strength_reduce): Compute number of iterations as | |
6060 | unsigned HOST_WIDE_INT. | |
6061 | ||
8d8a083e RH |
6062 | 2002-03-10 Richard Henderson <rth@redhat.com> |
6063 | ||
6064 | * sched-rgn.c (add_branch_dependences): Don't allow insns that throw | |
6065 | to move away from the end of the block. | |
6066 | ||
32810ba3 NB |
6067 | 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
6068 | ||
6069 | PR preprocessor/5899 | |
6070 | * cppinit.c (init_dependency_output): Don't ignore -dM etc. | |
d25558be | 6071 | |
2b03d201 KG |
6072 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6073 | ||
f90c544c KG |
6074 | * mbchar.c (JIS_state_table, JIS_action_table): Const-ify. |
6075 | ||
2b03d201 KG |
6076 | * attribs.c (decl_attributes): Fix signed/unsigned warning. |
6077 | ||
3ec1b4cb HPN |
6078 | 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com> |
6079 | ||
6080 | * config/mmix/mmix.c: Improve comments. | |
6081 | (mmix_target_asm_function_prologue): Drop variable | |
6082 | empty_stack_frame. Don't allocate unused slot above fp. | |
6083 | (mmix_target_asm_function_epilogue): Mirror prologue changes. | |
6084 | * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have | |
6085 | brace in first column. | |
6086 | (enum reg_class): Ditto. | |
6087 | (FIRST_PARM_OFFSET): Now 0. | |
6088 | (USER_LABEL_PREFIX): Remove #if 0:d definition. | |
6089 | ||
27e486c5 KG |
6090 | 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6091 | ||
6092 | * combine.c (make_extraction): Fix error in last change. | |
6093 | ||
0139adca KG |
6094 | 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6095 | ||
6096 | * c4x.c (c4x_fp_reglist): Const-ify. | |
6097 | * cris.c (cris_print_operand): Likewise. | |
6098 | * i386.c (ix86_va_arg): Likewise. | |
6099 | * ia64/unwind-ia64.c (unw_decode_table): Likewise. | |
6100 | * m32r.c (m32r_hard_regno_mode_ok): Likewise. | |
6101 | * m32r.h (m32r_hard_regno_mode_ok): Likewise. | |
6102 | * mcore.c (regno_reg_class, mcore_unique_section): Likewise. | |
6103 | * mcore.h (regno_reg_class): Likewise. | |
6104 | * mips.c (gen_int_relational): Likewise. | |
6105 | * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. | |
6106 | * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. | |
a4334c36 | 6107 | * pdp11.c (move_costs): Likewise. |
0139adca KG |
6108 | * pj.h (INITIALIZE_TRAMPOLINE): Likewise. |
6109 | * s390.c (s390_branch_condition_mnemonic, regclass_map): | |
6110 | Likewise. | |
6111 | * s390.h (regclass_map): Likewise. | |
6112 | * sh.c (shift_amounts): Likewise. | |
a4334c36 | 6113 | * sh.md (rotlsi3): Likewise. |
0139adca | 6114 | |
889b90a1 GK |
6115 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
6116 | ||
6117 | * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. | |
6118 | (ne0+5): Use new clobber to generate proper shift pattern. | |
6119 | Patch by Michael Matz <matz@kde.org>. | |
6120 | ||
2877e0ae AS |
6121 | 2002-03-09 Andreas Schwab <schwab@suse.de> |
6122 | ||
6123 | * gcc.c (validate_all_switches): Also handle `%W{...}'. | |
6124 | ||
79b51cd7 GK |
6125 | 2002-03-09 Geoffrey Keating <geoffk@redhat.com> |
6126 | ||
6127 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. | |
6128 | ||
e0f1be5c JJ |
6129 | 2002-03-09 Jakub Jelinek <jakub@redhat.com> |
6130 | ||
6131 | PR middle-end/5877 | |
6132 | * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW | |
6133 | even for non-representable constants. | |
6134 | ||
0a7ec763 RK |
6135 | Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6136 | ||
93fe8e92 RK |
6137 | * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. |
6138 | * function.c (fixup_var_refs): Add MAY_SHARE parameter. | |
6139 | (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. | |
6140 | (fixup_var_refs_insn, fixup_var_refs_1): Likewise. | |
6141 | (pop_function_context): Compute MAY_SHARE parameter for | |
6142 | fixup_var_refs. | |
6143 | (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. | |
6144 | (gen_mem_addressof): Call fixup_var_refs with new parm. | |
6145 | ||
0a7ec763 RK |
6146 | * combine.c (make_extraction): Don't make extension of CONST_INT. |
6147 | ||
a85cd407 AO |
6148 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
6149 | ||
9445b814 AO |
6150 | * config/mips/mips.c (function_arg_pass_by_reference): Force to 0 |
6151 | in o32 and o64 ABIs. | |
6152 | * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, | |
6153 | but getting fixed-size structs passed in registers regardless of | |
6154 | padding in o32 and o64 ABIs. | |
6155 | ||
a85cd407 AO |
6156 | * config/mips/mips.c (mips_va_arg): Apply big-endianness address |
6157 | offset before loading address of argument passed by transparent | |
6158 | reference. | |
6159 | ||
c51fbe40 JDA |
6160 | 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6161 | ||
6162 | * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete. | |
6163 | ||
918e70dd AO |
6164 | 2002-03-09 Alexandre Oliva <aoliva@redhat.com> |
6165 | ||
6166 | * config/mips/mips.c (mips_expand_prologue): Set regno of vararg | |
6167 | marker such that registers after it are saved. | |
6168 | ||
3070dd00 KG |
6169 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6170 | ||
6171 | * sparc.c (arith_4096_operand): Fix error in last change. | |
6172 | ||
e25d11b0 AO |
6173 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
6174 | ||
6175 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate | |
6176 | defaults for MEABI. | |
6177 | ||
41daaf0e AH |
6178 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
6179 | ||
5b43fed1 RH |
6180 | * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for |
6181 | vectors. | |
41daaf0e | 6182 | |
fa139b00 AH |
6183 | 2002-03-08 Aldy Hernandez <aldyh@redhat.com> |
6184 | ||
5b43fed1 | 6185 | * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. |
fa139b00 | 6186 | |
c51d95ec JH |
6187 | Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz> |
6188 | ||
6189 | * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been | |
6190 | removed; fix return value. | |
6191 | * combine.c (combine_instructions): Dirtify blocks where we failed to | |
6192 | update liveness; purge dead edges; use update_life_info_in_dirty_blocks. | |
6193 | * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. | |
6194 | ||
3b25fbfe KG |
6195 | 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6196 | ||
6197 | * gcse.c (insert_insn_end_bb): Fix typo in last change. | |
6198 | ||
189ae0f4 JH |
6199 | Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz> |
6200 | ||
6201 | * recog.c (peephole2_optimize): Re-distribute EH edges. | |
6202 | ||
24965e7a NB |
6203 | 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk> |
6204 | ||
6205 | * expr.c (expand_expr): Use unsave lang hook. | |
6206 | * langhooks-def.h (LANG_HOOKS_UNSAVE): New. | |
6207 | (LANG_HOOKS_INITIALIZER): Update. | |
6208 | * langhooks.h (struct lang_hooks): New hook unsave. | |
6209 | * tree.c (lang_unsave, lang_unsave_expr_now): Remove. | |
6210 | (unsave_expr_1): Remove unused lang_unsave_expr_now. | |
6211 | (unsave_expr_now_r): Rename lhd_unsave. Update. Return input. | |
6212 | (unsave_expr_now): Remove. | |
6213 | * tree.h (unsave_expr_now, lang_unsave, | |
6214 | lang_unsave_expr_now): Remove. | |
6215 | (lhd_unsave): New. | |
6216 | ||
1e4e95d6 AJ |
6217 | 2002-03-08 Andreas Jaeger <aj@suse.de> |
6218 | ||
6219 | * flow.c (propagate_block_delete_insn): Remove unused variable. | |
6220 | ||
054ef905 KH |
6221 | 2002-03-08 Kazu Hirata <kazu@hxi.com> |
6222 | ||
6223 | * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten | |
6224 | insn length for memory load/store. | |
6225 | ||
5304400d | 6226 | 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> |
1e4e95d6 | 6227 | |
5304400d CR |
6228 | * doc/install.texi (--with-libiconv-prefix): Document. |
6229 | ||
81034129 MB |
6230 | 2002-03-08 Michael Y. Brukman <myb2@cornell.edu> |
6231 | ||
6232 | * doc/sourcebuild.texi: Fix typo. | |
6233 | ||
71db7d03 JJ |
6234 | 2002-03-08 Jakub Jelinek <jakub@redhat.com> |
6235 | ||
6236 | PR c/3711 | |
6237 | * builtins.c (std_expand_builtin_va_arg): Do all computations on | |
6238 | trees. | |
6239 | ||
127c1ba5 RK |
6240 | Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6241 | ||
6242 | * rtl.c (copy_most_rtx): Move from here ... | |
6243 | * emit-rtl.c (copy_most_rtx): ... to here. | |
6244 | ||
8a13c092 AO |
6245 | 2002-03-08 Alexandre Oliva <aoliva@redhat.com> |
6246 | ||
5faae4f7 AO |
6247 | * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with |
6248 | SUBTARGET_CPP_SIZE_SPEC. | |
6249 | * config/mips/abi64.h (LONG_MAX_SPEC): Delete. | |
6250 | ||
8a13c092 AO |
6251 | * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify. |
6252 | ||
4ec59de2 MH |
6253 | 2002-03-07 Matt Hiller <hiller@redhat.com> |
6254 | ||
6255 | * gensupport.c (first_dir_md_include): Renamed from include; | |
6256 | change all references. | |
6257 | (last_dir_md_include): Renamed from last_include; change all | |
6258 | references. | |
6259 | (init_md_reader): Unconditionally initialize base_dir whether or | |
6260 | not filename is a relative path. | |
6261 | ||
12f61e77 AO |
6262 | 2002-03-07 Alexandre Oliva <aoliva@redhat.com> |
6263 | ||
95356058 AO |
6264 | * config/fp-bit.c (_unord_f2): Compile it in even if |
6265 | US_SOFTWARE_GOFAST is enabled. | |
6266 | ||
12f61e77 AO |
6267 | * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as |
6268 | NULL_RTX. Set all HFmode operations as NULL_RTX. | |
6269 | * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is | |
6270 | NULL_RTX, try reversing the comparison and the operands. | |
6271 | ||
6d7a1c4c UW |
6272 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
6273 | ||
6274 | * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP. | |
6275 | genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP | |
6276 | and MATCH_OP_DUP. | |
6277 | ||
66d54344 JH |
6278 | Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz> |
6279 | ||
6280 | * reload1.c (reload_cse_delete_noop_set): Purge dead edges. | |
6281 | ||
068473ec JH |
6282 | Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
6283 | ||
6284 | * basic-block.h (fixup_abnormal_edges): Declare. | |
6285 | * reload1.c (fixup_abnormal_edges): New function. | |
6286 | * reg-stack.c (convert_regs): Use it. | |
6287 | ||
6288 | * gcse.c (insert_insn_end_bb): Handle trapping insns. | |
6289 | ||
6290 | * gcse.c (hash_scan_set): Refuse instructions with EH edges. | |
6291 | ||
71925bc0 RS |
6292 | 2002-03-07 Richard Sandiford <rsandifo@redhat.com> |
6293 | ||
6294 | * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New. | |
6295 | (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New. | |
6296 | * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New. | |
6297 | (HONOR_SIGN_DEPENDENT_ROUNDING): New. | |
6298 | * builtins.c (expand_builtin_mathfn): Use HONOR_NANS. | |
6299 | * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y | |
6300 | unless x and y could be infinite. | |
6301 | (expand_unordered_cmp): New, mostly split from expand_tree_builtin. | |
6302 | Check that the common type of both arguments is a real, even for | |
6303 | targets without unordered comparisons. Allow an integer argument | |
6304 | to be compared against a real. | |
6305 | (expand_tree_builtin): Use expand_unordered_cmp. | |
6306 | * combine.c (combine_simplify_rtx): Use the new HONOR_... macros. | |
6307 | * cse.c (fold_rtx): Likewise. Fix indentation. | |
6308 | * fold-const.c (fold_real_zero_addition_p): New. | |
6309 | (fold): Use it, and the new HONOR_... macros. | |
6310 | * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros. | |
6311 | * jump.c (reversed_comparison_code_parts): After searching for | |
6312 | the true comparison mode, use HONOR_NANS to decide whether it | |
6313 | can be safely reversed. | |
6314 | (reverse_condition_maybe_unordered): Remove IEEE check. | |
6315 | * simplify-rtx.c (simplify_binary_operation): Use the new macros | |
6316 | to decide which simplifications are valid. Allow the following | |
6317 | simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b), | |
6318 | and (a - -b) to (a + b). | |
6319 | (simplify_relational_operation): Use HONOR_NANS. | |
6320 | * doc/tm.texi: Document the MODE_HAS_... macros. | |
6321 | ||
145d3bf2 RE |
6322 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
6323 | ||
6324 | * combine.c (simplify_comparison): If simplifying a logical shift | |
6325 | right and compare with constant, force the comparison to unsigned. | |
6326 | ||
76a773f3 AH |
6327 | 2002-03-07 Aldy Hernandez <aldyh@redhat.com> |
6328 | ||
5b43fed1 | 6329 | * doc/invoke.texi: Add documentation for -mabi=no-altivec. |
76a773f3 | 6330 | |
5b43fed1 RH |
6331 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add |
6332 | -mabi=no-altivec | |
6333 | (alt_reg_names): Remove % for vrsave. | |
76a773f3 | 6334 | |
ab55f58c RH |
6335 | 2002-03-06 Richard Henderson <rth@redhat.com> |
6336 | ||
5ddec02e | 6337 | PR optimization/5844 |
ab55f58c RH |
6338 | * genemit.c (gen_exp): New argument used. Invoke copy_rtx |
6339 | if used indicates we've already emitted one copy of an operand. | |
6340 | (gen_insn, gen_expand, output_add_clobbers): Supply a null used. | |
6341 | (gen_split): Supply a non-null used. | |
6342 | ||
e16e3291 UW |
6343 | 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
6344 | ||
5b43fed1 | 6345 | * reload1.c (reload): Unshare all rtl after reload is done. |
e16e3291 | 6346 | |
1e4e95d6 | 6347 | * simplify-rtx.c (simplify_plus_minus): Do not abort, |
e16e3291 UW |
6348 | but simply fail if the expression is too complex to simplify. |
6349 | (simplify_gen_binary): Handle simplify_plus_minus failures. | |
6350 | ||
2ca6672b JH |
6351 | Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz> |
6352 | ||
6353 | * toplev.c (rest_of_compilation): Do jump threading before SSA path; | |
6354 | consistently call delete_trivially_dead_insns after CSE and GCSE; | |
6355 | fix DFI_life dumping; do jump threading after liveness; do crossjumping | |
6356 | after liveness2; update comment in last crossjumping. | |
6357 | * cfgcleanup.c (try_crossjump_to_edge): Dirtify block. | |
6358 | ||
31d0dd4f JL |
6359 | Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com) |
6360 | ||
d094b0b3 JL |
6361 | * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains |
6362 | after completing fast dead code elimination. | |
6363 | ||
31d0dd4f JL |
6364 | * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a |
6365 | COMPARE operator. | |
1e4e95d6 | 6366 | |
f2b958b1 PE |
6367 | 2002-03-06 Phil Edwards <pme@gcc.gnu.org> |
6368 | ||
6369 | * version.c: Fix misplaced leading blanks on first line. | |
6370 | ||
a2877a09 JH |
6371 | Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz> |
6372 | ||
6373 | * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source. | |
6374 | ||
fe477d8b JH |
6375 | Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz> |
6376 | ||
6377 | * cfgcleanup.c (mentions_nonequal_regs): New function. | |
6378 | (thread_jump): Use it. | |
6379 | * toplev.c (rest_of_compilation): Run jump threading after | |
6380 | liveness. | |
6381 | ||
2041cde4 JJ |
6382 | 2002-03-06 Jakub Jelinek <jakub@redhat.com> |
6383 | ||
6384 | * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05 | |
6385 | patch. | |
6386 | ||
82d68d46 JH |
6387 | Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz> |
6388 | ||
6389 | * predict.c (estimate_bb_frequencies): Do not reload the | |
6390 | frequencies from notes. | |
6391 | ||
3dec4024 JH |
6392 | Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz> |
6393 | ||
6394 | * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New. | |
6395 | * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare | |
6396 | ||
6397 | * basic-block.h (update_life_info, update_life_info_in_dirty_blocks, | |
6398 | delete_noop_moves): Return indeger. | |
6399 | * flow.c (ndead): New variable. | |
6400 | (propagate_block_delete_insn): Use delete_insn_and_edges; remove | |
6401 | BB argument; update callers. | |
6402 | (propagate_block_delete_libcall): Use delete_insn_chain_and_edges. | |
6403 | (life_analysis): Do not call purge_all_dead_edges. | |
6404 | (update_life_info): Return number of deleted insns; print statistics. | |
6405 | (update_life_info_in_dirty_blocks): likewise. | |
6406 | (delete_noop_moves): Use delete_insn_and_edges; print statistics; | |
6407 | return number of insns deleted. | |
6408 | ||
6409 | * cse.c: Include timevar.h | |
6410 | (delete_trivially_dead_insns): Kill preserve_basic_blocks argument; | |
6411 | iterate until stabilizes; print statistics; return number of killed | |
6412 | insns. | |
6413 | * Makefile.in: (cse.o): Add timevar.h dependency | |
6414 | * rtl.h (delete_trivially_dead_insns): New. | |
6415 | * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer. | |
6416 | * toplev.c (rest_of_compilation): Update callers. | |
6417 | ||
6418 | * cfgcleanup.c (try_optimize_cfg): Kill blocks. | |
6419 | (try_optimize_cfg): Do not update liveness. | |
6420 | (cleanup-cfg): Loop until try_optimize_cfg and dead code | |
6421 | removal stabilizes; use delete_trivially_dead_insns. | |
6422 | ||
6423 | * cfgrtl.c (verify_flow_info): Sanity check outgoing edges. | |
6424 | ||
c7544dd8 ZW |
6425 | 2002-03-05 Zack Weinberg <zack@codesourcery.com> |
6426 | ||
6427 | * cppmain.c (setup_callbacks): Disable #pragma and #ident | |
6428 | callbacks when processing assembly language. | |
6429 | ||
50b424a9 JDA |
6430 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
6431 | ||
6432 | * pa.h (ASM_FILE_END): Define. | |
6433 | * som.h (ASM_FILE_END): Delete. | |
6434 | ||
6435 | * pa.c (function_arg): Don't pass floats in general registers in | |
6436 | indirect calls if TARGET_ELF32. | |
6437 | ||
6185f217 RH |
6438 | 2002-03-05 Richard Henderson <rth@redhat.com> |
6439 | ||
6440 | * config/i386/i386.md (floatsidf2): Conditionalize on hard-float. | |
6441 | ||
3020a4b2 DS |
6442 | 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net> |
6443 | ||
6444 | * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define. | |
6445 | ||
65649daa JJ |
6446 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
6447 | ||
6448 | * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc | |
6449 | -r command line. Don't hide any symbols if not building | |
6450 | shared libgcc. | |
6451 | ||
5a1a3e5e JH |
6452 | Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz> |
6453 | ||
6454 | * cfg.c (dump_flow_info): Warn about profile mismatches. | |
6455 | * cfgrtl.c (verify_flow_info): Few aditional sanity checks. | |
6456 | (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps. | |
6457 | ||
170c56da JJ |
6458 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
6459 | ||
6460 | * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 | |
6461 | wide volatile memory by parts. | |
6462 | ||
6d051694 JJ |
6463 | 2002-03-05 Jakub Jelinek <jakub@redhat.com> |
6464 | ||
6465 | * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def | |
6466 | is NULL. | |
6467 | ||
28bcfd4d RH |
6468 | 2002-03-05 Richard Henderson <rth@redhat.com> |
6469 | ||
5b43fed1 | 6470 | * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error. |
28bcfd4d | 6471 | |
75227a33 GK |
6472 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
6473 | ||
6474 | * toplev.c (documented_lang_options): Document more | |
6475 | language-specific options. | |
6476 | * doc/invoke.texi (Warning Options): Correct documentation for | |
6477 | -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers. | |
6478 | * c-decl.c (c_decode_option): Use a table to handle warning options. | |
6479 | ||
4f1aac42 HPN |
6480 | 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com> |
6481 | ||
6482 | * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second | |
6483 | parameter to mmix_encode_section_info. | |
6484 | (LINK_SPEC): Don't defsym __.MMIX.start..text if linking | |
6485 | relocatably. Always produce ELF, not mmo if linking relocatably. | |
6486 | * config/mmix/mmix.c (mmix_encode_section_info): If new parameter | |
6487 | first is non-zero, don't add symbol prefix. | |
6488 | * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak | |
6489 | prototype accordingly. | |
6490 | ||
12345543 KW |
6491 | 2002-03-04 Krister Walfridsson <cato@df.lth.se> |
6492 | ||
6493 | * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file. | |
6494 | ||
8e97db8f JM |
6495 | 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk> |
6496 | ||
6497 | * configure.in: Increase required makeinfo version to 4.1. | |
6498 | * configure: Regenerate. | |
6499 | ||
06487868 GK |
6500 | 2002-03-04 Geoffrey Keating <geoffk@redhat.com> |
6501 | ||
6502 | * .cvsignore: Remove *.info* and genrtl*; these files are generated | |
6503 | elsewhere now. | |
6504 | ||
cff42170 JM |
6505 | 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk> |
6506 | ||
6507 | * doc/include/texinfo.tex: Update to version 2002-03-01.06. | |
6508 | * doc/invoke.texi: Fix @math uses. | |
6509 | ||
974a7f56 JH |
6510 | Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz> |
6511 | ||
6512 | * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables | |
6513 | removal | |
6514 | ||
3b7d0e98 AH |
6515 | 2002-03-03 Aldy Hernandez <aldyh@redhat.com> |
6516 | ||
5b43fed1 RH |
6517 | * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian. |
6518 | (powerpc-*-eabisimaltivec*): Same. | |
3b7d0e98 | 6519 | |
5b43fed1 | 6520 | * config/rs6000/t-ppcendian: New. |
3b7d0e98 | 6521 | |
65f2f288 HB |
6522 | 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
6523 | ||
6524 | * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions | |
6525 | nonimmediate_src_operand and nonimmediate_lsrc_operand to | |
6526 | disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE. | |
6527 | ||
8ce0a8a5 RH |
6528 | 2002-03-03 Richard Henderson <rth@redhat.com> |
6529 | ||
6530 | * toplev.c (rest_of_decl_compilation): Revert last two changes. | |
6531 | ||
ba31d94e ZW |
6532 | 2002-03-03 Zack Weinberg <zack@codesourcery.com> |
6533 | ||
6534 | * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c, | |
6535 | print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c, | |
6536 | tree.c, config/m68k/m68k.c: | |
6537 | Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef | |
6538 | REAL_ARITHMETIC blocks unconditional. Delete some further | |
6539 | #ifdef blocks predicated on REAL_ARITHMETIC. | |
6540 | * flags.h, toplev.c: Delete remaining references to | |
6541 | flag_pretend_float. | |
6542 | ||
6543 | * doc/invoke.texi: Remove documentation of -fpretend-float. | |
6544 | * doc/tm.texi: Describe the various REAL_* macros as provided by | |
6545 | real.h, not by the target configuration files. | |
6546 | ||
6547 | * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h, | |
6548 | config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h, | |
6549 | config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
6550 | config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h, | |
6551 | config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h, | |
6552 | config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h, | |
6553 | config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h, | |
6554 | config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h, | |
6555 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
6556 | config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h, | |
6557 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
6558 | config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, | |
6559 | config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h, | |
6560 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, | |
6561 | config/xtensa/xtensa.h: | |
6562 | Do not define, undefine, or mention in comments any of | |
6563 | REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF, | |
6564 | REAL_VALUE_ISNAN, REAL_VALUE_ISINF, | |
6565 | REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE, | |
6566 | REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL, | |
6567 | REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS, | |
6568 | REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX, | |
6569 | REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT, | |
6570 | REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE, | |
6571 | REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT. | |
6572 | ||
9a571cfd KG |
6573 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6574 | ||
e81dd381 KG |
6575 | * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h, |
6576 | convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h, | |
6577 | i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, | |
6578 | m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, | |
6579 | pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, | |
6580 | stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD): | |
6581 | Delete. | |
6582 | * defaults.h (BITS_PER_WORD): Define. | |
ba31d94e | 6583 | * doc/tm.texi (BITS_PER_WORD): Document default value. |
e81dd381 | 6584 | |
9a571cfd KG |
6585 | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, |
6586 | m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, | |
6587 | stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. | |
6588 | ||
ca7558fc KG |
6589 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6590 | ||
6591 | * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in | |
6592 | lieu of explicit sizeof/sizeof. | |
6593 | * i386.c (override_options, ix86_init_mmx_sse_builtins, | |
6594 | ix86_expand_builtin): Likewise. | |
6595 | * mips.c (mips_add_gc_roots): Likewise. | |
6596 | * mmix.c (mmix_output_condition): Likewise. | |
6597 | * rs6000.c (rs6000_override_options, altivec_expand_builtin, | |
6598 | altivec_init_builtins): Likewise. | |
6599 | * sparc.c (mark_ultrasparc_pipeline_state): Likewise. | |
6600 | * cppexp.c (Nsuff, parse_number): Likewise. | |
6601 | * cppinit.c (builtin_array_end): Likewise. | |
6602 | * gcc.c (n_default_compilers, process_command): Likewise. | |
6603 | * genpreds.c (output_predicate_decls): Likewise. | |
6604 | * ggc-page.c (NUM_EXTRA_ORDERS): Likewise. | |
6605 | * lcm.c (N_ENTITIES): Likewise. | |
6606 | * stor-layout.c (set_sizetype): Likewise. | |
ba31d94e | 6607 | |
41c78c88 RH |
6608 | 2002-03-03 Richard Henderson <rth@redhat.com> |
6609 | ||
6610 | * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl | |
6611 | for types or labels. | |
6612 | ||
9e9b71e6 RH |
6613 | 2002-03-03 Richard Henderson <rth@redhat.com> |
6614 | ||
6615 | * c-decl.c (start_decl): Initialized variables are not common. | |
6616 | ||
c26a6db8 PB |
6617 | 2002-03-02 Per Bothner <per@bothner.com> |
6618 | ||
6619 | * gcc.c (option_map): Suport new --bootclasspath option. | |
6620 | --CLASSPATH is now just an alias for --classpath. | |
6621 | ||
9e8aab55 RH |
6622 | 2002-03-02 Richard Henderson <rth@redhat.com> |
6623 | ||
6624 | * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register | |
6625 | load if "internal" visibility. | |
6626 | * doc/extend.texi: Document visibility meanings. | |
6627 | ||
b3bbd220 RH |
6628 | 2002-03-02 Richard Henderson <rth@redhat.com> |
6629 | ||
6630 | * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies | |
6631 | to functions as well. | |
6632 | ||
b14707c3 RH |
6633 | 2002-03-02 Richard Henderson <rth@redhat.com> |
6634 | ||
6635 | * attribs.c (handle_alias_attribute): Don't call assemble_alias. | |
6636 | (handle_visibility_attribute): Don't call assemble_visibility. | |
6637 | * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even | |
6638 | without asmspec. Invoke assemble_alias when needed. | |
6639 | * varasm.c (maybe_assemble_visibility): New. | |
6640 | (assemble_start_function, assemble_variable, assemble_alias): Use it. | |
6641 | ||
b2003250 RH |
6642 | 2002-03-02 Richard Henderson <rth@redhat.com> |
6643 | ||
6644 | * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; | |
6645 | invoke ENCODE_SECTION_INFO with first call flag. | |
6646 | ||
6647 | * config/darwin-protos.h, config/darwin.c, config/darwin.h, | |
6648 | config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c, | |
ba31d94e | 6649 | config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h, |
b2003250 RH |
6650 | config/arm/arm.h, config/arm/pe.c, config/arm/pe.h, |
6651 | config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h, | |
6652 | config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h, | |
6653 | config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h, | |
6654 | config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h, | |
6655 | config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h, | |
6656 | config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c, | |
6657 | config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, | |
6658 | config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
ba31d94e ZW |
6659 | config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c, |
6660 | config/m68hc11/m68hc11.h, config/m88k/m88k.h, | |
b2003250 RH |
6661 | config/mcore/mcore-protos.h, config/mcore/mcore.c, |
6662 | config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h, | |
6663 | config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h, | |
ba31d94e | 6664 | config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c, |
b2003250 RH |
6665 | config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h, |
6666 | config/sh/sh.h, config/sparc/sparc.h, | |
6667 | config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c, | |
6668 | config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h, | |
6669 | config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes | |
6670 | FIRST argument. As needed, examine it and do nothing. | |
6671 | ||
ba31d94e | 6672 | * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h, |
b2003250 RH |
6673 | config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, |
6674 | config/mcore/mcore.h: Remove REDO_SECTION_INFO_P. | |
6675 | ||
6676 | * config/arm/t-pe (pe.o): Add dependencies. | |
6677 | ||
5c60f03d KG |
6678 | 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6679 | ||
6680 | * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h, | |
6681 | cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, | |
6682 | i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, | |
6683 | mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, | |
6684 | pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, | |
6685 | vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. | |
6686 | * defaults.h (BITS_PER_UNIT): Define. | |
6687 | * doc/tm.texi (BITS_PER_UNIT): Document default value. | |
6688 | ||
86855e8c KH |
6689 | 2002-03-02 Kazu Hirata <kazu@hxi.com> |
6690 | ||
6691 | * config/h8300/h8300-protos.h: Add a prototype for | |
6692 | compute_a_shift_length. | |
6693 | * config/h8300/h8300.c (h8300_asm_insn_count): New. | |
6694 | (compute_a_shift_length): Likewise. | |
6695 | (h8300_adjust_insn_length): Do not adjust insn length of shift | |
6696 | insns. | |
6697 | * config/h8300/h8300.md (anonymous shift patterns): Use | |
6698 | compute_a_shift_length. | |
6699 | ||
f6041ed8 RK |
6700 | Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6701 | ||
35aa3c1c RK |
6702 | * config/sparc/sparc.c (sparc_initialize_trampoline): Use |
6703 | trunc_int_for_mode. | |
6704 | ||
f6041ed8 RK |
6705 | * emit-rtl.c (offset_address): Call update_temp_slot_address. |
6706 | ||
27b41650 KG |
6707 | 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6708 | ||
6709 | * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss. | |
6710 | * doc/invoke.texi (-fno-zero-initialized-in-bss): Document. | |
6711 | * flags.h (flag_zero_initialized_in_bss): Declare. | |
6712 | * toplev.c (flag_zero_initialized_in_bss): New flag. | |
6713 | (lang_independent_options): Add flag_zero_initialized_in_bss. | |
6714 | * tree.c (initializer_zerop): New function. | |
6715 | * tree.h (initializer_zerop): Declare. | |
6716 | * varasm.c (assemble_variable): If we can emit bss, put zero | |
6717 | initializers in the bss section. | |
6718 | ||
ca734b39 AM |
6719 | 2002-03-02 Alan Modra <amodra@bigpond.net.au> |
6720 | ||
6721 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't | |
6722 | like more than one symbol per .weak directive. | |
6723 | ||
49b72306 RH |
6724 | 2002-03-01 Richard Henderson <rth@redhat.com> |
6725 | ||
6726 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not | |
6727 | adjust argument_pointer by pretend_args_size. | |
6728 | (ia64_va_start): Adjust va_start address by -pretend_args_size. | |
6729 | ||
fbf0fe41 KH |
6730 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
6731 | ||
6732 | * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up. | |
6733 | ||
0010687d JH |
6734 | Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz> |
6735 | ||
6736 | * toplev.c (rest_of_compilation): Delete dead jumptables before | |
6737 | loop. | |
6738 | * flow.c (delete_dead_jumptables): Make global. | |
6739 | * rtl.h (delete_dead_jumptables): Declare. | |
6740 | ||
9429c84c DE |
6741 | 2002-03-01 David Edelsohn <edelsohn@gnu.org> |
6742 | ||
6743 | * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. | |
6744 | * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. | |
0c2fdcdf | 6745 | * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete. |
9429c84c | 6746 | |
f0b6f9a6 KH |
6747 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
6748 | ||
6749 | * config/h8300/h8300-protos.h: Fix formatting. | |
6750 | * config/h8300/h8300.c: Likewise. | |
6751 | * config/h8300/h8300.h: Likewise. | |
6752 | ||
bc8db8a1 KH |
6753 | 2002-03-01 Kazu Hirata <kazu@hxi.com> |
6754 | ||
6755 | * config/h8300/h8300.c (print_operand): Support 16-bit | |
6756 | constant addresses. | |
6757 | * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New. | |
6758 | ||
32b069d3 RH |
6759 | 2002-02-28 Richard Henderson <rth@redhat.com> |
6760 | ||
6761 | * expmed.c (store_bit_field): Prevent generation of CONCATs; | |
6762 | pun complex values as integers; use gen_lowpart instead of | |
6763 | gen_rtx_SUBREG. | |
6764 | (extract_bit_field): Likewise. | |
6765 | ||
79c4e63f AM |
6766 | 2002-03-01 Alan Modra <amodra@bigpond.net.au> |
6767 | David Edelsohn <edelsohn@gnu.org> | |
6768 | ||
6769 | * doc/tm.texi (ASM_WEAKEN_DECL): Document. | |
6770 | (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL. | |
6771 | (SUPPORTS_WEAK): Likewise. | |
6772 | * output.h (add_weak): Add tree param. | |
6773 | * varasm.c (add_weak): Likewise. Save decl. | |
6774 | (struct weak_syms): Add decl field. | |
6775 | (mark_weak_decls): New function. | |
6776 | (init_varasm_once): ggc_add_root mark_weak_decls. | |
6777 | (assemble_start_function): Use ASM_WEAKEN_DECL. | |
6778 | (assemble_variable): Likewise. | |
6779 | (assemble_alias): Likewise. | |
6780 | (declare_weak): Pass decl to add_weak. | |
6781 | (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl. | |
6782 | (remove_from_pending_weak_list): Declare and define for | |
6783 | ASM_WEAKEN_DECL. | |
6784 | * c-pragma.c (handle_pragma_weak): Adjust add_weak call. | |
6785 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too. | |
6786 | * defaults.h (SUPPORTS_WEAK): Likewise. | |
6787 | * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
6788 | .weak for code sym. Do emit .size for descriptor sym. | |
6789 | (ASM_DECLARE_FUNCTION_SIZE): Define. | |
6790 | * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define. | |
6791 | (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output | |
6792 | .lglobl unless TARGET_XCOFF. Formatting fixes. | |
6793 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit | |
6794 | .weak for code sym. | |
6795 | (HANDLE_PRAGMA_WEAK): Remove. | |
6796 | (ASM_WEAKEN_LABEL): Remove. | |
6797 | * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define. | |
6798 | ||
6f30f1f1 JM |
6799 | 2002-03-01 Jason Merrill <jason@redhat.com> |
6800 | ||
6801 | * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros. | |
6802 | (TARGET_EXPR_CLEANUP): New macro. | |
6803 | ||
7879b81e SE |
6804 | 2002-02-28 Steve Ellcey <sje@cup.hp.com> |
6805 | ||
6806 | * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition | |
6807 | to take ptr_extend into account as third type of extension. | |
6808 | (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit | |
6809 | fields used by SUBREG_PROMOTED_UNSIGNED_P. | |
6810 | * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro. | |
6811 | (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1. | |
6812 | * calls.c (precompute_arguments): Use new macro. | |
6813 | (expand_call): Ditto. | |
6814 | * combine.c (nonzero_bits): Ditto. | |
6815 | (record_promoted_value): Ditto. | |
6816 | * expr.c (store_expr): Ditto. | |
6817 | (expand_expr): Ditto. | |
6818 | * function.c (assign_parms): Ditto. | |
6819 | ||
42d579d8 AO |
6820 | 2002-02-28 Alexandre Oliva <aoliva@redhat.com> |
6821 | ||
6822 | * gcc.c (init_gcc_specs): Get -static and -static-libgcc to | |
6823 | override -shared and -shared-libgcc. | |
6824 | ||
e0054185 DB |
6825 | 2002-02-28 David O'Brien <obrien@FreeBSD.org> |
6826 | ||
6827 | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification | |
6828 | of "ultrasparc". | |
6829 | * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears | |
6830 | to be broken. | |
6831 | ||
abda4f1c RH |
6832 | 2002-02-28 Richard Henderson <rth@redhat.com> |
6833 | ||
6834 | * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have | |
6835 | 4 cycle latency from MM producers. | |
6836 | (ia64_internal_sched_reorder): Likewise with pipeline flush. | |
6837 | ||
c0f08649 JJ |
6838 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
6839 | ||
6840 | * mklibgcc.in: Don't use GNU make extension. | |
6841 | ||
f79f2651 NB |
6842 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
6843 | ||
6844 | * c-parse.in (STATIC): New terminal. | |
6845 | (scspec): New non-terminal. Update productions accordingly. | |
6846 | (program): Remove bogus ifc / end ifc. | |
6847 | (array_declarator): Simplify production using STATIC. | |
6848 | ||
001e3fee JM |
6849 | 2002-02-28 Jim Meyering <meyering@lucent.com> |
6850 | ||
6851 | * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: | |
6852 | \a still means TARGET_BELL. | |
6853 | ||
89076bb3 RH |
6854 | 2002-02-28 Richard Henderson <rth@redhat.com> |
6855 | ||
6856 | * haifa-sched.c (sched_emit_insn): New. | |
6857 | (schedule_block): Use last_scheduled_insn to track last insn. | |
6858 | * sched-int.h (sched_emit_insn): Prototype. | |
6859 | * config/ia64/ia64.c (last_issued): Remove. | |
6860 | (ia64_variable_issue): Don't set it. | |
6861 | (nop_cycles_until): Use sched_emit_insn. | |
6862 | ||
e3aaacf4 AM |
6863 | 2002-02-28 Andrew MacLeod <amacleod@redhat.com> |
6864 | ||
6865 | * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign | |
6866 | extended constants. | |
6867 | ||
7f473594 KH |
6868 | 2002-02-28 Kazu Hirata <kazu@hxi.com> |
6869 | ||
6870 | * config/h8300/h8300.c: Fix formatting. | |
6871 | * config/h8300/h8300.h: Likewise. | |
6872 | ||
b96c434c MM |
6873 | 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl> |
6874 | ||
6875 | * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 | |
6876 | which may overwrite the high byte of the frame pointer. | |
6877 | ||
9b420a6a BT |
6878 | 2002-02-28 Bo Thorsen <bo@suse.de> |
6879 | ||
6880 | * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation. | |
6881 | (STARTFILE_SPEC): Add 64 bit files. | |
6882 | (ENDFILE_SPEC): Likewise. | |
6883 | ||
6f30f1f1 | 6884 | 2002-02-28 Jason Merrill <jason@redhat.com> |
46cfb101 JM |
6885 | |
6886 | * c-decl.c (finish_function): Only warn about missing return | |
6887 | statement with -Wreturn-type. | |
6888 | ||
70da1d03 JH |
6889 | Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz> |
6890 | ||
6891 | * cfgrtl.c (purge_dead_edges): Fix handling of EH edges. | |
6892 | ||
6893 | * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to | |
6894 | PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM | |
6895 | ||
38c1593d JH |
6896 | Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz> |
6897 | ||
6898 | * basic-block.h (BB_REACHABLE): Renumber. | |
6899 | (BB_DIRTY, BB_NEW): New flags. | |
6900 | (clear_bb_flags): Declare. | |
6901 | (update_life_info_in_dirty_blocks): Declare. | |
6902 | * cfg.c (clear_bb_flags): New function. | |
6903 | * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW. | |
6904 | * emit-rtl.c (add_insn_after, add_insn_before, remove_insn, | |
6905 | reorder_insns, emit_insn_after): Mark block as dirty. | |
6906 | * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS. | |
6907 | (update_life_info_in_dirty_blocks): New function. | |
6908 | * recog.c (apply_change_group): Dirtify block. | |
6909 | ||
6910 | * cse.c (cse_insn): Reorder emitting of jump insn to keep | |
6911 | cfg consistent. | |
6912 | * gcse.c (delete_null_pointer_checks): Likewise. | |
6913 | ||
6914 | * toplev.c (dump_file_index): Move cse2 after bp, | |
6915 | add DFI_null | |
6916 | (dump_file_info): Similary. | |
6917 | (rest_of_compilation): Avoid most of CFG rebuilds; | |
6918 | do first if converision after null pointer checks, do cse2 | |
6919 | after branch prediction; avoid full liveness rebuild after | |
6920 | initializing subregs. | |
6921 | * invoke.texi (-d options): Document -du, renumber. | |
6922 | ||
6923 | * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE. | |
6924 | (notice_new_block): Do not set BB_UPDATE_LIFE. | |
6925 | (try_forward_edges, merge_blocks_move_predecessor_nojumps, | |
6926 | merge_blocks_move_successor_nojumps, merge_blocks, | |
6927 | try_crossjump_to_edge): Likewise. | |
6928 | (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks. | |
6929 | * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a. | |
6930 | * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill. | |
6931 | (merge_of_block): Do not use life_data_ok. | |
6932 | (find_if_case_1): Do not use SET_UPDATE_LIFE. | |
6933 | (if_convert): Use BB_DIRTY mechanizm to update life. | |
6934 | * lcm.c (optimize_mode_switching): Update | |
6935 | update_life_info_in_dirty_blocks | |
6936 | ||
63e1b1c4 NB |
6937 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
6938 | ||
6939 | * Makefile.in (integrate.o): Update. | |
6940 | * c-decl.c (copy_lang_decl): Rename. | |
6941 | * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
6942 | * integrate.c: Include langhooks.h. | |
6943 | (copy_decl_for_inlining): Update to use langhook. | |
6944 | * langhooks-def.h (lhd_do_nothing_t, | |
6945 | LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New. | |
6946 | (LANG_HOOKS_INITIALIZER): Update. | |
6947 | * langhooks.c (lhd_do_nothing_t): New. | |
6948 | * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl. | |
6949 | * tree.h (copy_lang_decl): Remove. | |
6950 | objc: | |
6951 | * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine. | |
6952 | ||
f472fa29 AM |
6953 | 2002-02-27 Andrew MacLeod <amacleod@redhat.com> |
6954 | ||
ba31d94e | 6955 | * dwarf2out.c (stack_adjust_offset): Add support for POST_INC, |
f472fa29 AM |
6956 | POST_DEC, and POST_MODIFY. |
6957 | ||
273cf2e4 ZW |
6958 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
6959 | ||
6960 | * c-typeck.c (digest_init): Remove unused parameter; all | |
6961 | callers changed. | |
6962 | ||
4e07d762 GK |
6963 | 2002-02-27 Geoffrey Keating <geoffk@redhat.com> |
6964 | ||
6965 | * expmed.c (expand_shift): Correctly test for low part of a | |
6966 | subreg. | |
6967 | ||
6bc627b3 UW |
6968 | 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
6969 | ||
6970 | * config/s390/s390.c (s390_chunkify_pool): Do not confuse | |
6971 | insn UIDs with insn addresses. | |
6972 | ||
f458d1d5 ZW |
6973 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
6974 | ||
6975 | * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in, | |
6976 | c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h, | |
6977 | cppmacro.c, objc/lang-specs.h, objc/objc-act.c, | |
6978 | builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c, | |
6979 | gcc.c, toplev.c: Delete code implementing -traditional mode. | |
6980 | ||
6981 | * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi, | |
6982 | doc/invoke.texi, doc/standards.texi, doc/trouble.texi: | |
6983 | Document removal of -traditional mode for compilation, and | |
6984 | remove documentation only relevant to that mode. | |
6985 | ||
6986 | * config/nextstep.h, config/ptx4.h, config/svr4.h, | |
6987 | config/convex/convex.h, config/d30v/d30v.h, | |
6988 | config/i386/dgux.h, config/i386/osf1elf.h, | |
6989 | config/i386/osfelf.h, config/i386/osfrose.h, | |
6990 | config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h, | |
6991 | config/m68k/hp310.h, config/m88k/dgux.h, | |
6992 | config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c, | |
6993 | config/m88k/m88k.h, config/m88k/openbsd.h, | |
6994 | config/mips/abi64.h, config/mips/osfrose.h, | |
6995 | config/mips/svr4-5.h, config/mips/svr4-t.h, | |
6996 | config/sparc/sol2-sld-64.h, config/sparc/sol2.h, | |
6997 | config/stormy16/stormy16.h: Remove all references to | |
6998 | -traditional from target specs. Delete all mention of the | |
6999 | no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also | |
7000 | delete a couple of commented-out definitions of | |
7001 | DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring | |
7002 | to -traditional. | |
7003 | ||
7004 | * system.h: Poison TRADITIONAL_RETURN_FLOAT. | |
7005 | * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro. | |
7006 | ||
e0b3a8ff ZW |
7007 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
7008 | ||
7009 | * mklibgcc.in: Don't use \n in a line subject to | |
7010 | interpretation by echo. | |
7011 | ||
5c6a85b7 GS |
7012 | 2002-02-27 Graham Stott <grahams@redhat.com> |
7013 | ||
72b05af1 GS |
7014 | * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): |
7015 | Constify NAME. | |
7016 | ||
7d104885 GS |
7017 | * loop.c (prescan_loop): Handle PARALLEL. |
7018 | ||
8ed805d2 GS |
7019 | * unroll.c (loop_iterations): Return 0 if the add_val for |
7020 | a BIV is REG. | |
7021 | ||
fd478a0a GS |
7022 | * final.c (output_operand_lossage): Constify PFX_STR. |
7023 | ||
5c6a85b7 GS |
7024 | * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. |
7025 | ||
cd98ad03 JH |
7026 | Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz> |
7027 | ||
7028 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. | |
7029 | * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define. | |
7030 | ||
639ae55b JH |
7031 | Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz> |
7032 | ||
7033 | * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
7034 | ||
e808ec9c NB |
7035 | 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk> |
7036 | ||
7037 | * cpplex.c (_cpp_lex_token): Handle directives in macro | |
7038 | arguments. | |
7039 | * cpplib.c (_cpp_handle_directive): Save and restore state | |
7040 | if parsing macro args when entering a directive. | |
7041 | * cppmacro.c (collect_args): No need to handle directives | |
7042 | in macro arguments. | |
7043 | (enter_macro_context, replace_args): Use the original macro | |
7044 | definition in case it was redefined whilst collecting arguments. | |
7045 | doc: | |
7046 | * cpp.texi: Update. | |
7047 | ||
f585a356 DE |
7048 | 2002-02-26 David Edelsohn <edelsohn@gnu.org> |
7049 | ||
7050 | * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete. | |
7051 | * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete. | |
7052 | * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient | |
7053 | method on AIX. | |
7054 | * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand. | |
7055 | (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same. | |
7056 | (load_toc_v4_PIC_2): Same. | |
7057 | ||
7058 | 2002-02-26 Alan Modra <amodra@bigpond.net.au> | |
7059 | ||
7060 | * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE. | |
7061 | ||
d699058e RH |
7062 | 2002-02-26 Richard Henderson <rth@redhat.com> |
7063 | ||
7064 | * config/alpha/alpha.md (ashldi_se): Re-enable. | |
7065 | ||
eadccfbb RH |
7066 | 2002-02-26 Richard Henderson <rth@redhat.com> |
7067 | ||
7068 | * config/alpha/alpha.c (alpha_encode_section_info): Examine | |
7069 | MODULE_LOCAL_P; improve commentary. | |
7070 | ||
7080ada1 ZW |
7071 | 2002-02-26 Zack Weinberg <zack@codesourcery.com> |
7072 | ||
7073 | * doc/cpp.texi: Clarify documentation of relationship between | |
7074 | #line and #include. | |
7075 | ||
b42cff6b KH |
7076 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
7077 | ||
7078 | * config/h8300/h8300-protos.h: Update the prototype for | |
7079 | compute_logical_op_length. Add the prototype for | |
7080 | compute_logical_op_cc. | |
7081 | * config/h8300/h8300.c (compute_logical_op_length): Figure out | |
7082 | code from operands. | |
7083 | (compute_logical_op_cc): New. | |
7084 | * config/h8300/h8300.md: Combine all the logical op patterns | |
7085 | in HImode and SImode. Use compute_logical_op_cc. | |
7086 | ||
831c4e87 KC |
7087 | 2002-02-26 Kelley Cook <kelleycook@comcast.net> |
7088 | ||
7089 | * config/i386/i386.c (print_operand): Don't append ATT-style | |
7090 | length suffixs to x87 opcodes when in Intel mode. | |
7091 | ||
ff88fe10 RS |
7092 | 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca> |
7093 | ||
7094 | * emit-rtl.c (gen_const_vector_0): Remove TYPE argument. | |
7095 | (init_emit_once): Update calls. | |
7096 | * fixinc/gnu-regex.c (_GNU_SOURCE): Remove. | |
7097 | (init_syntax_once): Prototype. | |
7098 | ||
d4108589 JDA |
7099 | 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca> |
7100 | ||
7101 | * pa-linux.h (LIB_SPEC): Update definition. | |
7102 | * pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
7103 | ||
e013f3c7 RH |
7104 | 2002-02-26 Richard Henderson <rth@redhat.com> |
7105 | ||
7106 | * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers | |
7107 | if we emitted a stop bit. | |
7108 | ||
9e944a16 JJ |
7109 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
7110 | ||
7111 | * configure.in (libgcc_visibility): Substitute. | |
7112 | * configure: Rebuilt. | |
7113 | * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global | |
7114 | defined symbols .hidden. | |
7115 | ||
47bd70b5 JJ |
7116 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
7117 | ||
7118 | * attribs.c (c_common_attribute_table): Add visibility. | |
7119 | (handle_visibility_attribute): New function. | |
7120 | * varasm.c (assemble_visibility): New function. | |
7121 | * output.h (assemble_visibility): Add prototype. | |
7122 | * tree.h (MODULE_LOCAL_P): Define. | |
7123 | * crtstuff.c (__dso_handle): Use visibility attribute. | |
7124 | * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG | |
7125 | for MODULE_LOCAL_P symbols too. | |
7126 | * config/ia64/ia64.c (ia64_encode_section_info): Handle | |
7127 | MODULE_LOCAL_P symbols the same way as local symbols. | |
7128 | Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced | |
7129 | into .sdata/.sbss by the user. | |
7130 | * doc/extend.texi (Function Attributes): Document visibility | |
7131 | attribute. | |
7132 | ||
6d73371a JJ |
7133 | 2002-02-26 Jakub Jelinek <jakub@redhat.com> |
7134 | ||
7135 | PR debug/5770 | |
7136 | * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for | |
7137 | STRING_CST initializer spanning the whole variable without | |
7138 | embedded zeros. | |
7139 | If expand_expr returned MEM, don't use it. | |
7140 | ||
06e224f7 AO |
7141 | 2002-02-26 Alexandre Oliva <aoliva@redhat.com> |
7142 | ||
7143 | * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract, | |
7144 | generate a die for the lexical block. | |
7145 | ||
40367e2d KH |
7146 | 2002-02-26 Kazu Hirata <kazu@hxi.com> |
7147 | ||
7148 | * config/h8300/h8300-protos.h: Add a prototype for | |
7149 | compute_logical_op_length. | |
7150 | * config/h8300/h8300.c (compute_logical_op_length): New. | |
7151 | * config/h8300/h8300.md (anonymous logical patterns): Use | |
7152 | compute_logical_op_length for length. | |
7153 | ||
0e98f924 AH |
7154 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
7155 | ||
831c4e87 KC |
7156 | * dwarf2out.c (modified_type_die): Do not call type_main_variant |
7157 | for vectors. | |
7158 | (gen_type_die): Same. | |
0e98f924 | 7159 | |
831c4e87 | 7160 | * attribs.c (handle_vector_size_attribute): Set debug information. |
0e98f924 | 7161 | |
a50cfd52 DE |
7162 | 2002-02-26 Daniel Egger <degger@fhm.edu> |
7163 | ||
831c4e87 KC |
7164 | * config/rs6000/rs6000.md: Swap define_insn attributes to |
7165 | fix incorrect generation of merge high instructions instead | |
7166 | of merge low. | |
a50cfd52 | 7167 | |
b7997284 AH |
7168 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
7169 | ||
831c4e87 KC |
7170 | * c-typeck.c (really_start_incremental_init): Use |
7171 | bitsize_zero_node for vectors. | |
b7997284 | 7172 | |
376aec5d AH |
7173 | 2002-02-26 Aldy Hernandez <aldyh@redhat.com> |
7174 | ||
831c4e87 KC |
7175 | * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo. |
7176 | ("*set_vrsave_internal"): Same. | |
376aec5d | 7177 | |
3b40e71b RH |
7178 | 2002-02-25 Richard Henderson <rth@redhat.com> |
7179 | ||
7180 | * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law | |
7181 | in EXPAND_SUM case. Use host_integerp/tree_low_cst. | |
7182 | ||
232b8f52 JJ |
7183 | 2002-02-25 Jakub Jelinek <jakub@redhat.com> |
7184 | ||
7185 | PR target/5755 | |
7186 | * config/i386/i386.c (ix86_return_pops_args): Only pop | |
7187 | fake structure return argument if it was passed on the stack. | |
7188 | ||
67282790 JM |
7189 | 2002-02-25 Jason Merrill <jason@redhat.com> |
7190 | ||
7191 | * attribs.c (decl_attributes): Also re-layout PARM_DECL and | |
7192 | RESULT_DECL. | |
7193 | ||
5c181756 AO |
7194 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
7195 | ||
7196 | * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to | |
7197 | link with shared_name only. | |
7198 | * doc/invoke.texi (Link Options): Document new behavior. | |
7199 | ||
6786d201 AH |
7200 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
7201 | ||
831c4e87 | 7202 | * c-typeck.c (push_init_level): Handle vectors. |
6786d201 | 7203 | |
7d6040e8 AO |
7204 | 2002-02-25 Alexandre Oliva <aoliva@redhat.com> |
7205 | ||
7206 | * config/sparc/sparc.c (const64_high_operand): Zero-extend | |
7207 | operands of SPARC_SETHI_P. | |
7208 | (input_operand): Likewise. | |
7209 | (sparc_emit_set_const32): Likewise. | |
7210 | * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64. | |
7211 | (SPARC_SETHI32_P): Zero-extend operand from 32 bits. | |
7212 | (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI. | |
7213 | * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'. | |
7214 | (movdi_insn_sp64_vis): Likewise. | |
7215 | (movdi split, movdf split): Use SETHI32. | |
7216 | * doc/md.texi: Document SPARC constraints L, M and N. | |
7217 | ||
b188f760 AH |
7218 | 2002-02-25 Aldy Hernandez <aldyh@redhat.com> |
7219 | ||
831c4e87 KC |
7220 | * config/rs6000/rs6000.md ("get_vrsave_internal"): New. |
7221 | ("*set_vrsave_internal"): use mfspr for Darwin. | |
b188f760 | 7222 | |
831c4e87 KC |
7223 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Call |
7224 | gen_get_vrsave_internal. | |
b188f760 | 7225 | |
8041889f RK |
7226 | Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7227 | ||
7228 | * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND. | |
7229 | ||
a47ed310 NB |
7230 | 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk> |
7231 | ||
7232 | * cpplex.c (cpp_interpret_charconst): Get signedness or | |
7233 | otherwise of wide character constants correct. | |
7234 | * cppexp.c (lex): Get signedness of wide charconsts correct. | |
7235 | ||
cb8f73be RK |
7236 | Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7237 | ||
7238 | * optabs.c (widen_operand): Only call convert_modes for | |
7239 | promoted SUBREG if signedness matches. | |
7240 | * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns. | |
7241 | ||
2450e0b8 NB |
7242 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
7243 | ||
7244 | * cpplib.c (glue_header_name): Use local buffer to build up | |
7245 | header name. | |
7246 | ||
70b6aaed NB |
7247 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
7248 | ||
7249 | * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM. | |
7250 | ||
6be580c7 KH |
7251 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
7252 | ||
7253 | * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and | |
7254 | H8/300[HS] separately. | |
7255 | * config/h8300/h8300.md: Remove the early clobber constraint | |
7256 | from bit field patterns. | |
7257 | ||
35dad9f1 KH |
7258 | 2002-02-23 Kazu Hirata <kazu@hxi.com> |
7259 | ||
7260 | * config/h8300/h8300.md (mulqihi3): Tighten predicates to | |
7261 | register_operand. | |
7262 | (mulhisi3): Likewise. | |
7263 | (umulqisi3): Likewise. | |
7264 | (umulhisi3): Likewise. | |
7265 | ||
ab8e2228 NB |
7266 | 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk> |
7267 | ||
7268 | * cppinit.c (output_deps): Correct test for stdout output. | |
7269 | (init_dependency_output): Cure warning. | |
7270 | ||
ac6f8a15 RK |
7271 | Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7272 | ||
7273 | * expr.c (store_expr): When converting expression to promoted | |
7274 | equivalent type, allow using SUBREG_REG of TARGET as the target | |
7275 | of the expansion of EXP. | |
7276 | * loop.c (basic_induction_var, case SUBREG): Always look inside. | |
7277 | * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl. | |
7278 | (alpha_emit_set_const): Handle SImode when can't make new pseudos. | |
7279 | (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos. | |
7280 | * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing. | |
7281 | ||
f282ffb3 JM |
7282 | 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk> |
7283 | ||
7284 | * doc/contribute.texi, doc/extend.texi, doc/install.texi, | |
7285 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi, | |
7286 | doc/standards.texi, doc/tm.texi: Remove trailing whitespace. | |
7287 | ||
44c5edc0 JJ |
7288 | 2002-02-23 Jakub Jelinek <jakub@redhat.com> |
7289 | ||
7290 | PR optimization/5747 | |
7291 | * loop.c (scan_loop): Update reg info if move_movables created new | |
7292 | pseudos. | |
7293 | ||
f98e43c0 DE |
7294 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
7295 | ||
7296 | * gcc.c (init_gcc_spec): Revert last change. | |
7297 | ||
e72247f4 DE |
7298 | 2002-02-23 David Edelsohn <edelsohn@gnu.org> |
7299 | ||
7300 | * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use | |
7301 | gpc_reg_operand constraint. | |
7302 | ||
7303 | 2002-02-23 Alan Modra <amodra@bigpond.net.au> | |
7304 | ||
7305 | * config/rs6000/rs6000.c (num_insns_constant): Fix formatting. | |
7306 | Simplify comparison of `low'. | |
7307 | (add_operand): Fix formatting. | |
7308 | (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P. | |
57deb3a1 | 7309 | (mask_operand): Disallow mask to wrap in 64-bit mode. |
e72247f4 DE |
7310 | (rs6000_stack_info): Remove redundant test setting push_p. |
7311 | (output_toc): Fix formatting. | |
7312 | * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use | |
7313 | cc_reg_not_cr0_operand constraint. | |
7314 | (booldi3, boolcdi3 splitters): Same. | |
7315 | ||
a5c30531 AH |
7316 | 2002-02-23 Aldy Hernandez <aldyh@redhat.com> |
7317 | ||
831c4e87 | 7318 | * config/rs6000/altivec.h: Add extra level of parentheses on casts. |
a5c30531 | 7319 | |
43710f9f DE |
7320 | 2002-02-22 David Edelsohn <edelsohn@gnu.org> |
7321 | ||
7322 | * gcc.c (init_gcc_spec): Do not link with static libgcc.a if | |
7323 | gcc invoked with -shared-libgcc. | |
7324 | ||
3256b817 JJ |
7325 | 2002-02-22 Jakub Jelinek <jakub@redhat.com> |
7326 | ||
7327 | PR c++/5748 | |
7328 | * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union | |
7329 | decl if any of elements was TREE_USED. | |
7330 | ||
9e0625a3 AO |
7331 | 2002-02-22 Alexandre Oliva <aoliva@redhat.com> |
7332 | ||
7333 | * config/sparc/sol2.h: Don't include sys/mman.h. | |
7334 | * config/sparc/sparc.c (arith_operand): Use SMALL_INT32. | |
7335 | (arith_4096_operand): Don't throw high bits away. | |
7336 | (const64_operand): Take sign extension of CONST_INTs into account. | |
7337 | (const64_high_operand, sparc_emit_set_const32): Likewise. | |
7338 | (GEN_HIGHINT64): Likewise. | |
7339 | (sparc_emit_set_const64_quick1): Likewise. | |
7340 | (const64_is_2insns): Likewise. | |
7341 | (print_operand): Use trunc_int_for_mode for sign extension. | |
7342 | * config/sparc/sparc.h (SMALL_INT32): Likewise. | |
7343 | * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE | |
7344 | chars. Assume CONST_INT is already properly sign-extended. | |
7345 | (movdi split): Sign-extend each SImode part. | |
7346 | (andsi3 split): Don't mask high bits off, so that result | |
7347 | remains properly sign-extend. | |
7348 | (iorsi3 split): Likewise. | |
7349 | (xorsi3 split): Likewise. | |
7350 | ||
54fec3d5 RS |
7351 | 2002-02-22 Richard Sandiford <rsandifo@redhat.com> |
7352 | ||
7353 | * fold-const.c (fold): Fix typo in comments. | |
7354 | ||
667ada9b DN |
7355 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
7356 | ||
7357 | * Makefile.in (langhooks.o): Update dependencies. | |
7358 | ||
29ac78d5 DN |
7359 | 2002-02-21 Diego Novillo <dnovillo@redhat.com> |
7360 | ||
7361 | * langhooks.c: Include flags.h. | |
7362 | ||
6aa77e6c AH |
7363 | 2002-02-21 Aldy Hernandez <aldyh@redhat.com> |
7364 | ||
7365 | * testsuite/gcc.dg/attr-alwaysinline.c: New. | |
7366 | ||
7367 | * c-common.c (c_common_post_options): Set inline trees by | |
7368 | default. | |
7369 | ||
7370 | * doc/extend.texi (Function Attributes): Document always_inline | |
7371 | attribute. | |
7372 | Update documentation about inlining when not optimizing. | |
7373 | ||
7374 | * cp/decl.c (duplicate_decls): Merge always_inline attribute. | |
7375 | ||
7376 | * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0 | |
7377 | unless DECL_ALWAYS_INLINE. | |
7378 | ||
7379 | * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0 | |
7380 | unless DECL_ALWAYS_INLINE. | |
7381 | (c_disregard_inline_limits): Disregard if always_inline set. | |
7382 | ||
7383 | * langhooks.c (lhd_tree_inlining_disregard_inline_limits): | |
7384 | Disregard if always_inline set. | |
7385 | (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0 | |
7386 | unless DECL_ALWAYS_INLINE. | |
7387 | ||
7388 | * attribs.c (handle_always_inline_attribute): New. | |
7389 | (c_common_attribute_table): Add always_inline. | |
7390 | ||
7391 | * config/rs6000/altivec.h: Add prototypes for builtins | |
7392 | requiring the always_inline attribute. | |
7393 | ||
c410d49e EC |
7394 | 2002-02-21 Eric Christopher <echristo@redhat.com> |
7395 | ||
7396 | * expmed.c (store_bit_field): Try to simplify the subreg | |
7397 | before generating a new one when when the mode size of | |
7398 | value is less than maxmode. | |
7399 | ||
e3c8ea67 RH |
7400 | 2002-02-21 Richard Henderson <rth@redhat.com> |
7401 | ||
7402 | * emit-rtl.c (offset_address): Use simplify_gen_binary rather | |
7403 | than gen_rtx_PLUS to form the sum. | |
7404 | * explow.c (force_reg): Rearrange to not allocate new pseudo | |
7405 | when force_operand returns a register. | |
7406 | * expr.c (expand_assignment): Allow offset_rtx expansion to | |
7407 | return a sum. Do not force addresses into registers. | |
7408 | (expand_expr): Likewise. | |
7409 | * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus | |
7410 | to canonicalize arithmetic that didn't simpify. | |
7411 | (simplify_plus_minus): New argument force; update | |
7412 | all callers. Don't split CONST unless we can do something with it, | |
7413 | and wouldn't lose the constness of the operands. | |
7414 | ||
7415 | * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs | |
7416 | that we generated earlier. | |
7417 | ||
c1a046e5 TT |
7418 | 2002-02-21 Tom Tromey <tromey@redhat.com> |
7419 | ||
7420 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
7421 | (output_line_info): Use constant `1', with a long explanatory | |
7422 | comment. | |
7423 | * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison. | |
7424 | ||
31fbaad4 R |
7425 | Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7426 | ||
7427 | * jump.c (redirect_jump): If old label has no UID, don't try to | |
7428 | delete it. | |
7429 | ||
a7f52356 R |
7430 | Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7431 | ||
7432 | * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG. | |
7433 | If input is constant, do shifts at compile time. | |
7434 | ||
924fcc4e JM |
7435 | 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk> |
7436 | ||
7437 | * doc/extend.texi: Fix some more overfull hboxes. | |
7438 | ||
e5a20888 JJ |
7439 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
7440 | ||
7441 | PR optimization/4994 | |
7442 | * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX | |
7443 | register moves. | |
7444 | ||
7445 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> | |
22273300 JJ |
7446 | |
7447 | PR c++/4574 | |
7448 | * expr.h (expand_and): Add mode argument. | |
7449 | * expmed.c (expand_and): Add mode argument. | |
7450 | (expand_mult_highpart_adjust, emit_store_flag): Adjust callers. | |
7451 | * expr.c (store_field, expand_expr, do_store_flag): Likewise. | |
7452 | * except.c (expand_builtin_extract_return_addr): Likewise. | |
7453 | * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise. | |
7454 | * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise. | |
7455 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise. | |
7456 | Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x). | |
7457 | * config/c4x/c4x.md: Use GEN_INT (x) instead of | |
7458 | gen_rtx (CONST_INT, VOIDmode, x). | |
7459 | ||
7133e992 JJ |
7460 | 2002-02-21 Jakub Jelinek <jakub@redhat.com> |
7461 | ||
7462 | PR c/4697: | |
7463 | * stmt.c (warn_if_unused_value): Move side effects test once more. | |
7464 | ||
e2ec05a6 TG |
7465 | 2002-02-20 Torbjorn Granlund <tege@swox.com> |
7466 | ||
7467 | * config/avr/avr.md: Add more patterns for mized-mode add and subtract | |
831c4e87 | 7468 | (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend). |
e2ec05a6 | 7469 | |
9dd791c8 AO |
7470 | Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com> |
7471 | ||
7472 | * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of | |
7473 | SUBREG or ZERO_EXTEND. | |
7474 | ||
7ab56274 R |
7475 | Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com> |
7476 | ||
7477 | * sh.h (current_function_anonymous_args): Remove. | |
7478 | (SETUP_INCOMING_VARARGS): Don't set it - just check that one | |
7479 | of current_function_varargs and current_function_stdarg is set. | |
7480 | * sh.c (sh_expand_prologue): Check current_function_varargs / | |
7481 | current_function_stdarg / TARGET_SH5 instead of | |
7482 | current_function_anonymous_args. | |
7483 | ||
7484 | * sh64.h (TARGET_VERSION): Define. | |
7485 | ||
b1765bde DE |
7486 | 2002-02-20 David Edelsohn <edelsohn@gnu.org> |
7487 | ||
7488 | * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize | |
7489 | VRSAVE_REGNO on TARGET_ALTIVEC. | |
7490 | ||
7491 | 2002-02-20 Alan Modra <amodra@bigpond.net.au> | |
7492 | ||
7493 | * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant | |
7494 | bits of SImode const_int. | |
7495 | (includes_rshift_p): Likewise. | |
7496 | (print_operand): Call mask_operand and mask64_operand with correct | |
c410d49e | 7497 | mode. |
b1765bde DE |
7498 | (rs6000_output_function_epilogue): Pad traceback table to word. |
7499 | * config/rs6000/rs6000.h (MASK_64BIT): Correct comment. | |
7500 | (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and | |
7501 | mask64_operand with correct mode. | |
b1765bde DE |
7502 | (FUNCTION_ARG_REGNO_P): Correct parentheses. |
7503 | ||
149d6f9e JJ |
7504 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
7505 | ||
7506 | PR debug/4461 | |
7507 | * varasm.c (get_pool_constant_mark): New. | |
7508 | * rtl.h (get_pool_constant_mark): Add prototype. | |
7509 | * dwarf2out.c (mem_loc_descriptor): A pool constant cannot | |
7510 | be represented if it has not been output. | |
7511 | ||
4161da12 AO |
7512 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
7513 | ||
7514 | * combine.c (do_SUBST): Sanity check substitutions of | |
7515 | CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs. | |
7516 | (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a | |
7517 | CONST_INT into its operand. | |
7518 | (known_cond): Likewise, for ZERO_EXTEND. | |
7519 | * simplify-rtx.c (simplify_unary_operation): Fix condition to | |
7520 | allow for simplification of wide modes. Reject CONST_INTs in | |
7521 | ZERO_EXTEND when their actual mode is not given. | |
7522 | ||
3704ef74 AO |
7523 | 2002-02-20 Alexandre Oliva <aoliva@redhat.com> |
7524 | ||
7525 | * c-decl.c (pushdecl): If no global declaration is found for an | |
7526 | extern declaration in block scope, try a limbo one. | |
7527 | ||
7552da58 JJ |
7528 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
7529 | ||
7530 | PR c++/4401 | |
7531 | * c-common.c (pointer_int_sum): Moved from... | |
7532 | * c-typeck.c (pointer_int_sum): ...here. | |
7533 | * c-common.h (pointer_int_sum): Add prototype. | |
7534 | ||
00fae85d JJ |
7535 | 2002-02-20 Jakub Jelinek <jakub@redhat.com> |
7536 | ||
7537 | PR c++/5713 | |
7538 | * c-decl.c (duplicate_decls): Return 0 if issued error about | |
7539 | redeclaration. | |
7540 | ||
4636c87e JJ |
7541 | 2002-02-20 Roger Sayle <roger@eyesopen.com> |
7542 | Jakub Jelinek <jakub@redhat.com> | |
7543 | ||
7544 | PR c/4389 | |
7545 | * tree.c (host_integerp): Ensure that the constant integer is | |
7546 | representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT | |
7547 | when pos is zero or non-zero respectively. Clarify comment. | |
7548 | * c-format.c (check_format_info_recurse): Fix host_integerp | |
7549 | usage; the pos argument should be zero when assigning to a | |
7550 | signed HOST_WIDE_INT. | |
7551 | ||
59bef189 RH |
7552 | 2002-02-20 Richard Henderson <rth@redhat.com> |
7553 | ||
7554 | * config/i386/i386.c (ix86_expand_vector_move): Use the mode | |
7555 | of the operand, rather than assuming TImode. | |
7556 | (ix86_expand_binop_builtin): Cope with commutative patterns | |
7557 | using nonimmediate_operand for both operands. | |
7558 | (ix86_expand_timode_binop_builtin): Likewise. | |
7559 | (ix86_expand_store_builtin): Validate operand 1. | |
7560 | (ix86_expand_unop1_builtin): Likewise. | |
7561 | ||
9338ffe6 | 7562 | 2002-02-20 Philip Blundell <philb@gnu.org> |
c410d49e | 7563 | |
9338ffe6 PB |
7564 | PR 5705 |
7565 | * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro. | |
7566 | ||
f322b423 RH |
7567 | 2002-02-20 Richard Henderson <rth@redhat.com> |
7568 | ||
7569 | PR c/5615 | |
7570 | * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype. | |
7571 | ||
d94084f7 TT |
7572 | 2002-02-20 Tom Tromey <tromey@redhat.com> |
7573 | ||
7574 | * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
7575 | * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
7576 | * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
7577 | * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. | |
7578 | * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define | |
7579 | unconditionally. | |
7580 | ||
37fa124a AM |
7581 | Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> |
7582 | ||
7583 | * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look | |
7584 | for (const_int 0) in X not just INTVAL. | |
7585 | ||
6e5bb5ad JM |
7586 | 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk> |
7587 | ||
7588 | * doc/extend.texi: Avoid or reduce overfull hboxes. | |
7589 | ||
420e7dfa DN |
7590 | 2002-02-20 Diego Novillo <dnovillo@redhat.com> |
7591 | ||
7592 | * expmed.c (store_bit_field): Do not store bit fields using SUBREG | |
7593 | operations if the field does not start at a mode boundary. | |
7594 | ||
1b7a2af6 JS |
7595 | 2001-02-20 Joel Sherrill <joel@OARcorp.com> |
7596 | ||
7597 | * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, | |
7598 | config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem(). | |
7599 | Also done for -Acpu and -Amachine. | |
7600 | ||
56cd5b95 NB |
7601 | 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk> |
7602 | ||
7603 | * cppinit.c (init_dependency_output): Take deps output file | |
7604 | from -o if none given with -MF. Suppress normal output. | |
c410d49e | 7605 | * gcc.c (cpp_unique_options): Have -M and -MM imply -E. |
56cd5b95 NB |
7606 | * doc/cpp.texi, doc/invoke.texi: Update. |
7607 | ||
042cdf71 ZW |
7608 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
7609 | ||
7610 | * toplev.c (output_quoted_string): Write unprintable | |
7611 | characters with octal escapes. | |
7612 | ||
c1f11548 DE |
7613 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
7614 | ||
7615 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set | |
7616 | really_call_used[VRSAVE_REGNO] if not Altivec. | |
7617 | ||
7618 | 2002-02-19 Alan Modra <amodra@bigpond.net.au> | |
c410d49e | 7619 | |
c1f11548 DE |
7620 | * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with |
7621 | MODE_MASK. | |
7622 | (constant_pool_expr_1): Fix formatting. | |
7623 | (rs6000_legitimize_reload_address): Likewise. | |
7624 | ||
c964d90e RK |
7625 | Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7626 | ||
7627 | * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx | |
7628 | now that we have one. | |
7629 | ||
ae34ac46 ZW |
7630 | 2002-02-19 Zack Weinberg <zack@codesourcery.com> |
7631 | ||
7632 | * tree.h (struct tree_common): Remove aux. Add unused_0 at | |
7633 | end of first block of bitfields (which was only seven bits); | |
7634 | rename dummy to unused_1; remove comment which is no longer true. | |
7635 | ||
293c28ee GS |
7636 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
7637 | ||
7638 | * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo. | |
7639 | ||
7b8781c8 PB |
7640 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
7641 | ||
0cb6c58d | 7642 | PR 5399 |
7b8781c8 PB |
7643 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything |
7644 | if generating PIC. | |
7645 | ||
7646 | PR 5054 | |
7647 | * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use | |
7648 | arm_is_longcall_p rather than inspecting call-type cookie | |
7649 | directly. | |
7650 | (call_value_insn) [TARGET_THUMB]: Likewise. | |
7651 | ||
5c464583 GS |
7652 | 2002-02-19 Graham Stott <grahams@redhat.com> |
7653 | ||
7654 | * config/i386/i386.c (ix86_expand_builtin): Fix typo. | |
7655 | ||
71c061e6 DE |
7656 | 2002-02-19 David Edelsohn <edelsohn@gnu.org> |
7657 | ||
7658 | * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64. | |
7659 | ({STARTFILE,ENDFILE}_LINUX_SPEC): Define. | |
6d1def5c | 7660 | (FP_SAVE_INLINE): Delete. |
71c061e6 DE |
7661 | |
7662 | * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o. | |
7663 | * config/rs6000/eabi.asm: Remove ABI save restore routines. | |
7664 | * config/rs6000/t-ppccomm: Build crtsavres.o. | |
7665 | * config/rs6000/crtsavres.asm: New file. | |
7666 | ||
3a7731fd PB |
7667 | 2002-02-19 Philip Blundell <philb@gnu.org> |
7668 | ||
7669 | * config/arm/arm.c (use_return_insn): Don't reject interrupt | |
7670 | functions. | |
7671 | (arm_compute_save_reg_mask): Save LR for interrupt functions too. | |
7672 | (output_return_instruction): Allow interrupt functions to return with | |
7673 | ldmfd sp!, {... pc}^. Use LDR to restore any single register. | |
7674 | (arm_expand_prologue): Subtract 4 before stacking LR in an | |
7675 | interrupt function. | |
7676 | ||
14f583b8 PB |
7677 | 2002-02-19 Philip Blundell <pb@nexus.co.uk> |
7678 | ||
7679 | * config/arm/arm.c (arm_encode_call_attribute): Operate on any | |
7680 | decl, not just FUNCTION_DECL. | |
7681 | (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF. | |
7682 | (arm_assemble_integer): Likewise. | |
7683 | * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be | |
7684 | marked local. | |
c410d49e | 7685 | |
4cb7482c MG |
7686 | 2002-02-19 matthew green <mrg@eterna.com.au> |
7687 | ||
7688 | * config.gcc (sparc-*-netbsdelf*): Enable target. | |
7689 | (sparc64-*-netbsd*): New target. | |
7690 | * config/sparc/netbsd-elf.h: New file. | |
7691 | * config/sparc/t-netbsd64: New file. | |
7692 | ||
2df3a718 GS |
7693 | 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk> |
7694 | ||
7695 | * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo. | |
7696 | ||
77f6c1eb RS |
7697 | 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca> |
7698 | ||
7699 | * doc/invoke.texi: explicitly list the style guidelines that | |
7700 | -Weffc++ checks for. | |
7701 | ||
fd973d56 JH |
7702 | Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz> |
7703 | ||
7704 | * regmove.c (regmove_optimize): Avoid increasing of register pressure. | |
7705 | ||
30518e45 NB |
7706 | 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk> |
7707 | ||
7708 | PR other/5718 | |
7709 | * gcc.c (cpp_unique_options): Treat -o as indicating object file | |
7710 | only if not -E. If -E, pass -o through to the preprocessor. | |
7711 | ||
39ea5704 KH |
7712 | 2002-02-19 Kazu Hirata <kazu@hxi.com> |
7713 | ||
7714 | * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal | |
7715 | register number with an appropriate macro. | |
7716 | ||
7355dba7 BM |
7717 | 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
7718 | ||
7719 | * doc/rtl.texi (Constants): Close @code tag. | |
7720 | ||
91c8aa9e AH |
7721 | 2002-02-19 Aldy Hernandez <aldyh@redhat.com> |
7722 | ||
7723 | * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector. | |
7724 | ("mmx_uavgv4hi3"): Same. | |
7725 | ("pmulhrwv4hi3"): Same. | |
7726 | ||
7727 | * tree-inline.c (walk_tree): Handle vectors. | |
7728 | ||
7729 | * c-common.c (constant_expression_warning): Handle vectors. | |
7730 | (overflow_warning): Same. | |
7731 | ||
7732 | * sched-deps.c (sched_analyze_2): Handle vectors. | |
7733 | ||
7734 | * rtlanal.c (rtx_unstable_p): Handle vectors. | |
7735 | (rtx_varies_p): Same. | |
7736 | (count_occurrences): Same. | |
7737 | (regs_set_between_p): Same. | |
7738 | (modified_between_p): Same. | |
7739 | (modified_in_p): Same. | |
7740 | (volatile_insn_p): Same. | |
7741 | (volatile_refs_p): Same. | |
7742 | (side_effects_p): Same. | |
7743 | (may_trap_p): Same. | |
7744 | (inequality_comparisons_p): Same. | |
7745 | (replace_regs): Same. | |
7746 | (computed_jump_p_1): Same. | |
7747 | ||
7748 | * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th | |
7749 | argument. | |
7750 | (inner_mode_array): New. | |
7751 | (copy_rtx): Handle vectors. | |
7752 | (copy_most_rtx): Same. | |
7753 | (rtx_equal_p): Same. | |
7754 | (get_mode_alignment): Adjust for vectors. | |
7755 | ||
7756 | * resource.c (mark_referenced_resources): Handle vectors. | |
7757 | (mark_set_resources): Same. | |
7758 | ||
7759 | * reload1.c (eliminate_regs): Handle vectors. | |
7760 | (elimination_effects): Same. | |
7761 | (scan_paradoxical_subregs): Same. | |
7762 | ||
7763 | * reload.c (subst_reg_equivs): Handle vectors. | |
7764 | ||
7765 | * regrename.c (scan_rtx): Handle vectors. | |
7766 | ||
7767 | * regclass.c (reg_scan_mark_refs): Handle vectors. | |
7768 | ||
7769 | * recog.c (find_single_use_1): Handle vectors. | |
7770 | ||
7771 | * local-alloc.c (equiv_init_varies_p): Handle vectors. | |
7772 | (contains_replace_regs): Same. | |
7773 | (memref_referenced_p): Same. | |
7774 | ||
7775 | * integrate.c (copy_rtx_and_substitute): Handle vectors. | |
7776 | (subst_constants): Same. | |
7777 | ||
7778 | * genattrtab.c (attr_copy_rtx): Handle vectors. | |
7779 | (encode_units_mask): Same. | |
7780 | (clear_struct_flag): Same. | |
7781 | (count_sub_rtxs): Same. | |
7782 | ||
7783 | * gcse.c (want_to_gcse_p): Handle vectors. | |
7784 | (oprs_unchanged_p): Same. | |
7785 | (hash_expr_1): Same. | |
7786 | (oprs_not_set_p): Same. | |
7787 | (expr_killed_p): Same. | |
7788 | (compute_transp): Same. | |
7789 | (store_ops_ok): Same. | |
7790 | ||
7791 | * function.c (purge_addressof_1): Do not allow paradoxical subregs | |
7792 | of vectors. | |
7793 | (fixup_var_refs_1): Same. | |
7794 | (instantiate_virtual_regs_1): Same. | |
7795 | ||
7796 | * fold-const.c (operand_equal_p): Handle vectors. | |
7797 | (fold): Same. | |
7798 | (rtl_expr_nonnegative_p): Same. | |
7799 | ||
7800 | * flow.c (mark_used_regs): Handle vectors. | |
7801 | ||
7802 | * df.c (df_uses_record): Handle vectors. | |
7803 | ||
7804 | * cselib.c (cselib_subst_to_values): Handle vectors. | |
7805 | (cselib_mem_conflict_p): Same. | |
7806 | (hash_rtx): Same. | |
7807 | ||
7808 | * cse.c (canon_reg): Handle vectors. | |
7809 | (fold_rt): Same. | |
7810 | (cse_process_notes): Same. | |
7811 | (count_reg_usage): Same. | |
7812 | (canon_hash): Same. | |
7813 | ||
7814 | * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR. | |
7815 | ||
7816 | * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR. | |
7817 | ||
7818 | * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors. | |
7819 | (gen_rtx): Handle CONST_VECTOR. | |
7820 | (gen_const_vector_0): New. | |
7821 | (copy_rtx_if_shared): CONST_VECTORs can be shared. | |
7822 | (reset_used_flags): Same. | |
7823 | (copy_insn_1): Same. | |
7824 | (initializer_constant_valid_p): Handle VECTOR_CST. | |
7825 | ||
7826 | * doc/c-tree.texi (Expression trees): Document VECTOR_CST. | |
7827 | ||
7828 | * doc/rtl.texi (Constants): Document const_vector. | |
7829 | (CONST0_RTX): Update for vectors. | |
7830 | (RTL sharing): Same. | |
7831 | ||
7832 | * print-tree.c (print_node): Add case for VECTOR_CST. | |
7833 | ||
7834 | * tree.h (TREE_VECTOR_CST_ELTS): New. | |
7835 | (struct tree_vector): New. | |
7836 | (union tree_node): Add vector node. | |
7837 | (build_vector): Add prototype. | |
7838 | ||
7839 | * tree.def (VECTOR_CST): New. | |
7840 | ||
7841 | * tree.c (build_vector): New. | |
7842 | ||
7843 | * expmed.c (make_tree): Handle CONST_VECTOR. | |
7844 | ||
7845 | * rtl.h (CONSTANT_P): CONST_VECTORs are constants too. | |
7846 | (CONST_VECTOR_ELT): New. | |
7847 | (CONST_VECTOR_NUNITS): New. | |
7848 | ||
7849 | * machmode.h (GET_MODE_INNER): New. | |
7850 | (DEF_MACHMODE): Accept 8th arg. | |
7851 | ||
7852 | * machmode.def: Add 8th argument for vector inner mode. | |
7853 | Add inner vector modes for vectors. | |
7854 | ||
7855 | * rtl.def (VEC_CONST): Remove. | |
7856 | (CONST_VECTOR): New. | |
7857 | ||
7858 | * expr.c (clear_storage): Allow vectors. | |
7859 | (is_zeros_p): Handle VECTOR_CST. | |
7860 | ||
7861 | * varasm.c (output_constant_pool): Handle vectors. | |
7862 | (rtx_const): Add veclo and vechi fields. | |
7863 | (kind): Add RTX_VECTOR. | |
7864 | (decode_rtx_const): Add case for vector. | |
7865 | ||
7866 | * config/rs6000/rs6000-protos.h: Add zero_constant. | |
c410d49e | 7867 | |
91c8aa9e AH |
7868 | * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector |
7869 | constants. Force easy vector constants into memory. | |
7870 | (easy_vector_constant): New. | |
7871 | (emit_easy_vector_constant): New. | |
7872 | (rs6000_legitimize_reload_address): Do not generate bad reloads on | |
7873 | darwin. | |
7874 | ||
7875 | * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what | |
7876 | instruction does. | |
7877 | ("altivec_lvxl"): Same. | |
7878 | (altivec_lvebx): Same. | |
7879 | (altivec_lvehx): Same. | |
7880 | (altivec_lvewx): Same. | |
7881 | ("*movv4si_const0"): New. | |
7882 | ("*movv4sf_const0"): New. | |
7883 | ("*movv8hi_const0"): New. | |
7884 | ("*movv16qi_const0"): New. | |
7885 | ||
d4d6d0ce KH |
7886 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
7887 | ||
7888 | * config/h8300/h8300.c (notice_update_cc): Use | |
7889 | cc_status.value2. | |
7890 | ||
4915d3aa KH |
7891 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
7892 | ||
7893 | * config/h8300/h8300.md (divmod patterns): Change the | |
7894 | constraints for operands[1] to register_operand. | |
7895 | ||
82be00ee KH |
7896 | 2002-02-18 Kazu Hirata <kazu@hxi.com> |
7897 | ||
7898 | * config/h8300/h8300-protos.h: Remove the prototype for | |
7899 | p_operand. | |
7900 | * config/h8300/h8300.c (p_operand): Remove. | |
7901 | * config/h8300/h8300.md: Replace p_operand with | |
7902 | const_int_operand. | |
7903 | ||
1768c26f PB |
7904 | 2002-02-18 Philip Blundell <pb@nexus.co.uk> |
7905 | ||
7906 | * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in | |
7907 | comment. | |
7908 | (output_return_instruction): Allow use of LDR to unstack | |
7909 | return addresss even for interrupt handlers or when | |
7910 | interworking. If compiling for ARMv5, use interworking-safe | |
7911 | return instructions by default. Remove duplicated code and | |
7912 | lengthy "strcat" sequences. | |
7913 | ||
ccd84f51 FS |
7914 | 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
7915 | ||
7916 | * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static. | |
7917 | (LINK_EH_SPEC): Define. | |
7918 | * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. | |
7919 | ||
2c153108 UW |
7920 | 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
7921 | ||
7922 | * config/s390/s390.c (s390_emit_prologue): Do not set the | |
7923 | frame_related flag for call-clobbered registers. | |
7924 | ||
e95d6b23 JH |
7925 | Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz> |
7926 | ||
7927 | * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode. | |
7928 | (construct_container): Fix handling of SSE operands. | |
7929 | (ix86_expand_builtin): Fix handling of 64bit pointers. | |
7930 | (mmx_maskmovq_rex): New pattern. | |
7931 | ||
c43a12b5 JH |
7932 | Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz> |
7933 | ||
7934 | * regrename.c (kill_set_value): Handle subregs properly. | |
7935 | ||
aeb85a15 DB |
7936 | 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com> |
7937 | ||
7938 | * objc/objc-act.c (handle_impent): Remove leading '*' | |
c410d49e | 7939 | from objc_class_name. |
aeb85a15 | 7940 | |
a615ca3e RH |
7941 | 2002-02-17 Richard Henderson <rth@redhat.com> |
7942 | ||
7943 | * config/alpha/alpha.c (some_small_symbolic_operand, | |
7944 | some_small_symbolic_operand_1, split_small_symbolic_operand, | |
7945 | split_small_symbolic_operand_1): Rename from *symbolic_mem_op*. | |
7946 | Handle small SYMBOL_REFs anywhere, not just inside memories. | |
7947 | * config/alpha/alpha-protos.h: Update. | |
7948 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
7949 | * config/alpha/alpha.md (small symbolic operand splitter): Update. | |
7950 | ||
ddb28441 RM |
7951 | 2002-02-17 Roland McGrath <roland@frob.com> |
7952 | ||
7953 | * config.gcc (powerpc-*-gnu-gnualtivec*, | |
7954 | powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. | |
7955 | * config/rs6000/gnu.h: New file. | |
7956 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): | |
7957 | Grok "gnu" in rs6000_abi_name. | |
7958 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, | |
7959 | CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): | |
7960 | Grok -mcall-gnu analogous to -mcall-linux et al. | |
7961 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
7962 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. | |
7963 | (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. | |
7964 | ||
f6f8ada3 JJ |
7965 | 2002-02-17 Jakub Jelinek <jakub@redhat.com> |
7966 | ||
7967 | PR c/3444: | |
7968 | * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit | |
7969 | shortening. | |
7970 | ||
e16b32fc PT |
7971 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
7972 | ||
7973 | * config/cris/cris.h: Undefine STARTFILE_SPEC and | |
7974 | ENDFILE_SPEC before (re)defining them. | |
7975 | ||
f9477efd KH |
7976 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
7977 | ||
7978 | * config/h8300/h8300.c: Fix formatting. | |
7979 | * config/h8300/h8300.h: Likewise. | |
7980 | ||
404ae494 PT |
7981 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
7982 | ||
7983 | * doc/tm.texi: Explain why empty strings should not be | |
7984 | marked for translation. | |
7985 | ||
a52453cc PT |
7986 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
7987 | ||
7988 | * final.c (output_operand_lossage): Changed to accept | |
7989 | printf style arguments. Change calls where necessary. | |
7990 | * output.h (output_operand_lossage): Change declaration | |
7991 | accordingly. Update copyright. | |
7992 | * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c | |
7993 | config/m88k/m88k.c : Adapt all calls to output_operand_lossage. | |
7994 | Update copyright date where necessary. | |
c410d49e | 7995 | |
a52453cc PT |
7996 | * config/i386/i386.c (print_operand): Likewise. Remove use of |
7997 | sprintf. | |
7998 | ||
7999 | * config/cris/cris.c (cris_operand_lossage): Likewise. | |
8000 | Rename parameter so that exgettext recognizes it as | |
8001 | translatable message. | |
8002 | (LOSE_AND_RETURN): Rename parameter to msgid. | |
8003 | ||
1c11abc4 KH |
8004 | 2002-02-17 Kazu Hirata <kazu@hxi.com> |
8005 | ||
8006 | * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a | |
8007 | hard coded register number with an appropriate macro. | |
8008 | (HARD_REGNO_MODE_OK): Likewise. | |
8009 | (ARG_POINTER_REGNUM): Likewise. | |
8010 | (STATIC_CHAIN_REGNUM): Likewise. | |
8011 | (RETURN_ADDRESS_POINTER_REGNUM): Likewise. | |
8012 | * config/h8300/h8300.md (define_constants): Define more | |
8013 | register numbers. | |
8014 | ||
a5d17ff3 PT |
8015 | 2002-02-17 Philipp Thomas <pthomas@suse.de> |
8016 | ||
8017 | * config/i386/i386.h: Don't mark empty strings for translation. | |
8018 | ||
1a7289c4 L |
8019 | 2002-02-16 H.J. Lu <hjl@gnu.org> |
8020 | ||
8021 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New. | |
8022 | ||
afb58288 ZW |
8023 | 2002-02-16 Zack Weinberg <zack@codesourcery.com> |
8024 | ||
8025 | * cppinit.c (merge_include_chains): Check for brack being | |
8026 | NULL before attempting to merge it with qtail. | |
8027 | ||
d2af4dbd AC |
8028 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
8029 | ||
8030 | * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to | |
8031 | DBX_DEBUG. | |
8032 | ||
2e1ed1e3 JDA |
8033 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8034 | ||
8035 | * pa/t-pa, pa/t-pro, som.h: Revert last patch. | |
8036 | ||
604c75b2 JDA |
8037 | 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8038 | ||
8039 | * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. | |
8040 | * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. | |
8041 | * som.h (DO_GLOBAL_DTORS_BODY): Delete define. | |
8042 | ||
1a42b072 RK |
8043 | Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8044 | ||
7303604f | 8045 | * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms; |
1a42b072 RK |
8046 | now only if !TARGET_FIX. |
8047 | (*movsi_nt_vms_fix): New pattern. | |
8048 | ||
c2ea1ac6 DR |
8049 | 2002-02-16 Douglas B Rupp <rupp@gnat.com> |
8050 | ||
8051 | * config/alpha/alpha.c: Implement null frame procedure types on VMS. | |
8052 | (alpha_procedure_type): Replaces alpha_is_stack_procedure. | |
8053 | (alpha_sa_mask, alpha_sa_size): Reflect above change. | |
8054 | (alpha_pv_save_size, alpha_expand_prologue): Likewise. | |
8055 | (alpha_start_function, alpha_expand_epilogue): Likewise. | |
8056 | (unicosmk_gen_dsib): Likewise. | |
8057 | ||
725e58b1 RK |
8058 | Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8059 | ||
8060 | * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE. | |
8061 | ||
13e58269 UW |
8062 | 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com> |
8063 | ||
c410d49e | 8064 | * config/s390/s390.c (pool_stop_uid, other_chunk, far_away, |
13e58269 UW |
8065 | check_and_change_labels, s390_final_chunkify): Delete. |
8066 | (s390_split_branches, s390_chunkify_pool): New functions. | |
8067 | (s390_function_prologue): Call them. | |
c410d49e | 8068 | |
13e58269 UW |
8069 | * config/s390/s390.h (S390_REL_MAX): Delete. |
8070 | (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values. | |
8071 | ||
c410d49e | 8072 | * config/s390/s390.md (cjump, icjump, jump): Fix length |
13e58269 UW |
8073 | attribute calculation. |
8074 | ||
8075 | ||
34d1b01d DE |
8076 | 2002-02-15 David Edelsohn <edelsohn@gnu.org> |
8077 | ||
8078 | * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. | |
8079 | * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. | |
8080 | ||
be5cc51a JDA |
8081 | 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8082 | ||
8083 | * gcc.c (init_gcc_specs): Revert patch from 2002-02-15. | |
8084 | * config/pa/pa-linux.h (LIB_SPEC): Likewise. | |
8085 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise. | |
8086 | ||
ee96ce90 RS |
8087 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
8088 | ||
8089 | * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls. | |
8090 | ||
05fa709d RS |
8091 | 2002-02-15 Richard Sandiford <rsandifo@redhat.com> |
8092 | ||
8093 | * reload.c (find_dummy_reload): Check that an output register | |
8094 | is valid for its mode. | |
8095 | ||
4606272b AO |
8096 | 2002-02-14 Alexandre Oliva <aoliva@redhat.com> |
8097 | ||
9a360704 AO |
8098 | * combine.c (known_cond): After replacing the REG of a SUBREG, try |
8099 | to simplify it. | |
8100 | ||
4606272b AO |
8101 | * function.c (assign_parms): Demote promoted argument passed by |
8102 | transparent reference. | |
8103 | ||
e62d89a1 JS |
8104 | 2001-02-14 Joel Sherrill <joel@OARcorp.com> |
8105 | ||
8106 | * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant | |
8107 | -Acpu() and -Amachine() to eliminate warnings. | |
8108 | ||
6c4cf695 UW |
8109 | 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com> |
8110 | ||
8111 | * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
8112 | ||
037f11ef KH |
8113 | 2002-02-14 Kazu Hirata <kazu@hxi.com> |
8114 | ||
8115 | * config/h8300/h8300-protos.h: Update the prototype for | |
8116 | const_costs. | |
8117 | * config/h8300/h8300.c (const_costs): Treat SET as a little | |
8118 | more expensive operation. | |
8119 | * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the | |
8120 | reference to const_costs. | |
8121 | ||
fdc76b09 HPN |
8122 | 2002-02-14 Hans-Peter Nilsson <hp@axis.com> |
8123 | ||
8124 | * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting. | |
8125 | ||
d76e6800 JJ |
8126 | 2002-02-14 Jakub Jelinek <jakub@redhat.com> |
8127 | ||
8128 | PR c/5503: | |
8129 | * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL, | |
8130 | use arguments from newtype. | |
8131 | ||
5ae590d7 EC |
8132 | 2002-02-13 Eric Christopher <echristo@redhat.com> |
8133 | ||
8134 | * config/mips/mips.c (override_options): Add check for march/mipsX | |
8135 | on the same command line. Fix error message in cpu processing. | |
8136 | Remove architecture and ISA checks. | |
8137 | ||
b8513691 AH |
8138 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
8139 | ||
831c4e87 | 8140 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors. |
b8513691 | 8141 | |
831c4e87 | 8142 | * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX. |
b8513691 | 8143 | |
78c875e8 AH |
8144 | 2002-02-14 Aldy Hernandez <aldyh@redhat.com> |
8145 | ||
831c4e87 KC |
8146 | * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r |
8147 | alternatives. | |
8148 | ("*movv8hi_internal1"): Same. | |
8149 | ("*movv16qi_internal1"): Same. | |
8150 | ("*movv4sf_internal1"): Same. | |
78c875e8 | 8151 | |
831c4e87 KC |
8152 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do |
8153 | not push_reload for altivec modes. | |
78c875e8 | 8154 | |
d76e6800 | 8155 | 2002-02-13 Joel Sherrill <joel@OARcorp.com> |
f22b4bc4 JS |
8156 | |
8157 | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across | |
8158 | all RTEMS targets including removal of #includes from config/*/rtems*.h | |
8159 | file and adding them to tm_file setting. Added xm_defines=POSIX to | |
8160 | many targets. | |
8161 | * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. | |
8162 | * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. | |
8163 | * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. | |
8164 | * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. | |
8165 | * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, | |
8166 | config/m68k/rtemself.h: Ditto. | |
8167 | * config.gcc (mips*-*-rtems*), config/mips/rtems.h, | |
8168 | config/mips/rtems64.h: Ditto. | |
8169 | * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. | |
8170 | * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: | |
8171 | Ditto. | |
8172 | * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, | |
8173 | config/sparc/rtemself.h: Ditto. | |
8174 | * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. | |
8175 | * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved | |
8176 | arm-rtems stanza closer to other arm-elf targets and made arm-rtems | |
8177 | more like arm-elf. | |
8178 | * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, | |
8179 | config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself | |
8180 | target made more similar to i386-elf. | |
8181 | * config/i386/t-rtems-i386: Added soft float support and multilibs. | |
8182 | * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to | |
8183 | be similar to config/m68k/t-m68kelf. | |
8184 | * gthr-rtems.h: Encapsulate with extern "C" for C++. | |
8185 | ||
8686336f JH |
8186 | Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz> |
8187 | ||
8188 | * regmove.c (kill_value): Handle subregs. | |
8189 | ||
558740bf JH |
8190 | Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz> |
8191 | ||
8192 | * i386.md (mul patterns): Allow memory operand to be first; | |
8193 | add expanders where needed; fix constraints. | |
8194 | (min?f_nonieee, max?f_nonieee, SSE TImode patterns): | |
8195 | Allow memory operand to be the first. | |
8196 | ||
8197 | * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping | |
8198 | operands. | |
8199 | ||
21117a17 JJ |
8200 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
8201 | ||
8202 | PR c/5681: | |
8203 | * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of | |
8204 | GET_MODE (x). | |
8205 | ||
ec65b2e3 JJ |
8206 | 2002-02-13 Jakub Jelinek <jakub@redhat.com> |
8207 | ||
8208 | PR optimization/5547: | |
8209 | * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify | |
8210 | all valid IA-32 address modes involving non-scaled %ebx and | |
8211 | GOT/GOTOFF as displacement. | |
8212 | ||
ce50cae8 UW |
8213 | 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
8214 | ||
8215 | * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches | |
8216 | after emitting ltorg insns. | |
8217 | ||
8218 | * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0, | |
8219 | *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3, | |
8220 | *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2, | |
8221 | *abssf2): Fix "op_type" attribute. | |
8222 | ||
09eb789b DR |
8223 | 2002-02-13 Douglas B Rupp <rupp@gnat.com> |
8224 | ||
2dbe67bb DR |
8225 | * mkconfig.sh: Avoid using a subshell redirect. |
8226 | ($output.T): Change to $(output)T. | |
8227 | (ENABLE_NLS): Remove unneeded undef. | |
8228 | ||
ea5b9a1f DR |
8229 | * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define. |
8230 | * config/alpha/x-vms (libsubdir): Define. | |
8231 | ||
3deb00ce DR |
8232 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle |
8233 | register frame procedures. Optimize retrieving context. | |
8234 | ||
09eb789b DR |
8235 | * config/alpha/t-vms (MULTILIB_OPTIONS): Define. |
8236 | (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise. | |
8237 | * config/alpha/vms.h (ASM_FILE_START): Write .arch directive. | |
8238 | ||
1abade85 RK |
8239 | Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8240 | ||
8241 | * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND): | |
8242 | Make same change as for find_base_value. | |
8243 | ||
c283e63f KH |
8244 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
8245 | ||
8246 | * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination | |
8247 | of QImode and SImode. | |
8248 | ||
86039100 KH |
8249 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
8250 | ||
8251 | * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the | |
8252 | length computation of movsi. | |
8253 | * config/h8300/h8300.md (movsi_h8300hs): Correct the length. | |
8254 | ||
e1429da0 KH |
8255 | 2002-02-13 Kazu Hirata <kazu@hxi.com> |
8256 | ||
8257 | * config/h8300/h8300.md (subqi3): Tighten the predicate for | |
8258 | operands[2] to register_operand. | |
8259 | ||
aebfea10 JH |
8260 | Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz> |
8261 | ||
8262 | * i386.md (fop_*_comm_*): allow nonimmediate in the first operand. | |
8263 | ||
0ec4e2a8 AH |
8264 | 2002-02-12 Aldy Hernandez <aldyh@redhat.com> |
8265 | ||
831c4e87 KC |
8266 | * config/rs6000/rs6000.md: Use predicate altivec_register_operand |
8267 | for altivec_lvx* and altivec_stvx*. | |
8268 | ("*movv4si_internal"): Add constraint for loading from GPRs. | |
8269 | ("*movv8hi_internal1"): Same. | |
8270 | ("*movv16qi_internal1"): Same. | |
8271 | ("*movv4sf_internal1"): Same. | |
0ec4e2a8 | 8272 | |
831c4e87 | 8273 | * config/rs6000/rs6000.c (altivec_register_operand): New. |
0ec4e2a8 | 8274 | |
831c4e87 KC |
8275 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add |
8276 | altivec_register_operand. | |
0ec4e2a8 | 8277 | |
b007569d HPN |
8278 | 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com> |
8279 | ||
8280 | * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't | |
8281 | handle SYMBOL_REF. | |
8282 | ||
e6834654 SS |
8283 | 2002-02-13 Stan Shebs <shebs@apple.com> |
8284 | ||
831c4e87 KC |
8285 | * c-typeck.c (digest_init): Handle vectors. |
8286 | (really_start_incremental_init): Same. | |
8287 | (pop_init_level): Same. | |
8288 | (process_init_element): Same. | |
e6834654 | 8289 | |
831c4e87 | 8290 | * varasm.c (output_constant): Same. |
e6834654 | 8291 | |
831c4e87 KC |
8292 | * expr.c (clear_storage): Same. |
8293 | (store_constructor): Same. | |
e6834654 | 8294 | |
d9b3eb63 EC |
8295 | 2002-02-12 Eric Christopher <echristo@redhat.com> |
8296 | ||
8297 | * explow.c (hard_function_value): Add comment explaining | |
8298 | signed/unsigned comparison. | |
8299 | ||
56d44285 JJ |
8300 | 2002-02-12 Jakub Jelinek <jakub@redhat.com> |
8301 | ||
8302 | * jump.c (never_reached_warning): Add finish argument. | |
8303 | If finish is NULL, stop on CODE_LABEL, otherwise stop before first | |
8304 | real insn after end. | |
8305 | * rtl.h (never_reached_warning): Adjust prototype. | |
8306 | * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. | |
8307 | * cfgrtl.c (flow_delete_block): Pass b->end as finish to | |
8308 | never_reached_warning. | |
8309 | ||
fc209487 GS |
8310 | 2002-02-12 Graham Stott <grahams@redhat.com> |
8311 | ||
8312 | * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos. | |
8313 | ||
1e41e866 KH |
8314 | 2002-02-12 Kazu Hirata <kazu@hxi.com> |
8315 | ||
8316 | * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit | |
8317 | logical shifts on H8/300. | |
8318 | (shift_alg_si): Improve several shifts on H8/300. | |
8319 | (get_shift_alg): Likewise. | |
8320 | ||
a36a47ad GS |
8321 | 2002-02-12 Graham Stott <grahams@redhat.com> |
8322 | ||
8323 | * config/pa/pa.c (compute_movstrsi_length): Fix typos. | |
8324 | ||
0aacc8ed RK |
8325 | Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8326 | ||
8327 | * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND): | |
8328 | Handle #ifdef POINTERS_EXTEND_UNSIGNED. | |
8329 | ||
a02ac966 HPN |
8330 | 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com> |
8331 | ||
8332 | * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle | |
8333 | non-CONST_INT through default_assemble_integer. | |
8334 | <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF. | |
8335 | <case 8>: Abort for CONST_DOUBLE. | |
8336 | ||
d6e06ddc JDA |
8337 | 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8338 | ||
8339 | * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" | |
8340 | is specified. | |
8341 | * config/pa/pa-linux.h (LIB_SPEC): Delete. | |
8342 | * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete. | |
8343 | ||
515342a8 AH |
8344 | 2002-02-11 Andrew Haley <aph@cambridge.redhat.com> |
8345 | ||
8346 | * config/stormy16/stormy16.md (zero_extendqihi2): New. | |
8347 | ||
cddd8b72 AO |
8348 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
8349 | ||
66df7a98 AO |
8350 | * regrename.c (regrename_optimize): Don't accept a |
8351 | part-clobbered register if the replaced register is not part | |
8352 | clobbered. | |
8353 | ||
841404cd AO |
8354 | * calls.c (store_one_arg): In the non-BLKmode non-partial case, |
8355 | take padding into account when computing the argument value. | |
8356 | ||
1d1ade42 AO |
8357 | * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error. |
8358 | ||
cddd8b72 AO |
8359 | * combine.c (try_combine): Apply substitutions in |
8360 | CALL_INSN_FUNCTION_USAGE too. | |
8361 | ||
5c665b88 AH |
8362 | 2002-02-11 Aldy Hernandez <aldyh@redhat.com> |
8363 | ||
77f6c1eb RS |
8364 | * config/rs6000/rs6000.c (altivec_init_builtins): Handle |
8365 | __builtin_altivec_abs*. | |
8366 | (bdesc_abs): New. | |
5c665b88 | 8367 | |
77f6c1eb RS |
8368 | * config/rs6000/rs6000.h (rs6000_builtins): Add |
8369 | ALTIVEC_BUILTIN_ABS*. | |
5c665b88 | 8370 | |
77f6c1eb RS |
8371 | * config/rs6000/altivec.h: Use const char for builtins expecting |
8372 | literals. | |
8373 | (vec_abs): New versions for C and C++. | |
8374 | (vec_abss): Same. | |
5c665b88 | 8375 | |
3494f1b4 KH |
8376 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
8377 | ||
8378 | * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by | |
8379 | using Pmode. | |
8380 | ||
72431aef KH |
8381 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
8382 | ||
8383 | * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the | |
8384 | constant definition from h8300.md. | |
8385 | (FRAME_POINTER_REGNUM): Likewise. | |
8386 | * config/h8300/h8300.md (define_constants): Add FP_REG. | |
8387 | ||
87e4ee91 KH |
8388 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
8389 | ||
8390 | * config/h8300/h8300.c (print_operand): Remove redundant code. | |
8391 | ||
9c188705 KH |
8392 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
8393 | ||
8394 | * config/h8300/h8300-protos.h: Remove the prototype for byte_reg. | |
8395 | * config/h8300/h8300.c (byte_reg): Make it static. | |
8396 | ||
fba78abb RH |
8397 | 2002-02-10 Richard Henderson <rth@redhat.com> |
8398 | ||
8399 | PR c/5623 | |
8400 | * c-typeck.c (incomplete_type_error): Handle flexible array members. | |
8401 | ||
65739e62 RH |
8402 | 2002-02-10 Richard Henderson <rth@redhat.com> |
8403 | ||
8404 | PR c++/5624 | |
8405 | * tree.c (append_random_chars): Don't abort if main_input_filename | |
8406 | does not exist. | |
8407 | ||
247cb9df HPN |
8408 | 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com> |
8409 | ||
8410 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable. | |
8411 | ||
232bd029 KH |
8412 | 2002-02-10 Kazu Hirata <kazu@hxi.com> |
8413 | ||
65739e62 | 8414 | * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used. |
232bd029 KH |
8415 | (pushhi1): Likewise. |
8416 | ||
276ef573 JDA |
8417 | 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca> |
8418 | ||
8419 | * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand. | |
8420 | * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand. | |
8421 | ||
617e9ee5 DB |
8422 | 2002-02-09 David O'Brien <obrien@FreeBSD.org> |
8423 | ||
8424 | * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and | |
8425 | remove MASK_VIS. | |
8426 | (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine. | |
8427 | ||
6dfa4005 KH |
8428 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
8429 | ||
8430 | * config/h8300/h8300.c (output_logical_op): Use sub.w to clear | |
8431 | a half of an SImode register on H8/300. | |
8432 | ||
749e7b80 JH |
8433 | Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz> |
8434 | ||
8435 | * i386.md (movdi_2): Add missing '!'. | |
8436 | ||
ca77d87c KH |
8437 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
8438 | ||
8439 | * config/h8300/h8300.h: Fix formatting. Remove commented-out | |
8440 | definitions. | |
8441 | ||
16c96304 KH |
8442 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
8443 | ||
8444 | * config/h8300/h8300.md (length): Correct the distance valid | |
8445 | for the short branch. | |
8446 | ||
a364bc90 KH |
8447 | 2002-02-09 Kazu Hirata <kazu@hxi.com> |
8448 | ||
8449 | * config/h8300/h8300.md (iorhi3): Tighten the predicates. | |
8450 | ||
e4ec2cac AO |
8451 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> |
8452 | ||
a138247b AO |
8453 | * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered |
8454 | registers in SImode. | |
8455 | (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as | |
8456 | part-clobbered. | |
8457 | ||
2b1fd83f AO |
8458 | * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's |
8459 | patch. | |
d9b3eb63 | 8460 | |
fa5322fa AO |
8461 | Contribute sh64-elf. |
8462 | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> | |
8463 | * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... | |
8464 | (sh_cannot_modify_jumps_p): New function. | |
8465 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> | |
8466 | * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... | |
8467 | (sh_ms_bitfield_layout_p): New function. | |
8468 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> | |
8469 | Zack Weinberg <zack@codesourcery.com> | |
8470 | * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use | |
8471 | expand_simple_binop instead of expand_binop. | |
8472 | 2002-02-03 Alexandre Oliva <aoliva@redhat.com> | |
8473 | * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable | |
8474 | use of .quad and .uaquad. | |
8475 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, | |
8476 | TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. | |
8477 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
8478 | * config/sh/sh.md (movdi_const, movdi_const_32bit, | |
8479 | movdi_const_16bit): Make sure all CONSTs have modes. | |
8480 | (sym2PIC): Ditto, but by adjusting all callers. | |
8481 | * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live | |
8482 | if the prologue calls the SHmedia argument decoder or register | |
8483 | saver. | |
8484 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
8485 | * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. | |
8486 | (TARGET_ASM_ALIGNED_DI_OP): Likewise. | |
8487 | (sh_expand_epilogue): Don't emit USE of return target register. | |
8488 | (prepare_move_operands): Legitimize DImode PIC addresses. | |
8489 | (sh_media_register_for_return): Skip tr0, used to initialize the | |
8490 | PIC register. | |
8491 | (sh_expand_prologue): Remove explicit USE of return register. | |
8492 | (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in | |
8493 | CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. | |
8494 | * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. | |
8495 | (OVERRIDE_OPTIONS): Don't disable PIC on SH5. | |
8496 | (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of | |
8497 | EXTRA_CONSTRAINT_T. | |
8498 | (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. | |
8499 | (MOVI_SHORI_BASE_OPERAND_P): New. | |
8500 | (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. | |
8501 | (EXTRA_CONSTRAINT_T): Define in terms of them. | |
8502 | (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. | |
8503 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, | |
8504 | movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to | |
8505 | alternatives supporting TARGET_REGS. | |
8506 | (UNSPEC_GOTPLT): New constant. | |
8507 | (movdi split): Move incrementing of LABEL_NUSES... | |
8508 | (movdi_const, movdi_const_32bit): Here. Use | |
8509 | MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. | |
8510 | (movdi_const_16bit): New. | |
8511 | (call, call_value) [flag_pic]: Use GOTPLT. | |
8512 | (call_pop, call_value_pop): New expands. | |
8513 | (call_pop_compact, call_pop_rettramp): New insns. | |
8514 | (call_value_pop_compact, call_value_pop_rettramp): New insns. | |
8515 | (sibcall) [flag_pic]: Use GOT. | |
8516 | (builtint_setjmp_receiver): Remove bogus, unused expand. | |
8517 | (GOTaddr2picreg): Implement for SHcompact and SHmedia. | |
8518 | (*pt, *ptb, ptrel): New insns. | |
8519 | (sym2GOT): Handle DImode GOT. | |
8520 | (sym2GOTPLT, symGOTPLT2reg): New expands. | |
8521 | (sym2PIC): New expand. | |
8522 | (shcompact_return_tramp): Use GOTPLT to return trampoline. | |
8523 | (shcompact_return_tramp_i): Use return register explicitly. | |
8524 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't | |
8525 | disable flag_reorder_blocks. | |
8526 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> | |
8527 | * config/sh/sh.md (sibcall_compact): Reorder return, uses and | |
8528 | clobbers, for clarity. | |
8529 | (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and | |
8530 | restoring of r0 in macl as MAYBE_DEAD. | |
8531 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
8532 | * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. | |
8533 | * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of | |
8534 | alter_subreg all over. | |
8535 | (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after | |
8536 | reload, instead of emitting instructions that would require | |
8537 | reloading. | |
8538 | (casesi_load_media): Add missing modes. | |
8539 | 2001-11-09 Alexandre Oliva <aoliva@redhat.com> | |
8540 | * config/sh/sh.c (sh_expand_prologue): Mark the PIC register | |
8541 | as used if the argument decoder is called. | |
8542 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
8543 | * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in | |
8544 | Pmode, then extend it to DImode if necessary. | |
8545 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
8546 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode | |
8547 | constants in FPU-enabled SHmedia, let them be loaded from memory. | |
8548 | 2001-08-28 Alexandre Oliva <aoliva@redhat.com> | |
8549 | * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): | |
8550 | Adjust whitespace in assembly output templates. | |
8551 | 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> | |
8552 | * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust | |
8553 | mode of if_then_else. | |
8554 | 2001-08-04 Alexandre Oliva <aoliva@redhat.com> | |
8555 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in | |
8556 | sh.h. | |
8557 | 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> | |
8558 | Joern Rennecke <amylaar@redhat.com> | |
8559 | * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. | |
8560 | (SUBTARGET_CPP_PTR_SPEC): New. | |
8561 | (SUBTARGET_CPP_SPEC): Remove. | |
8562 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
8563 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
8564 | Fix typo in previous checkin. | |
8565 | 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> | |
8566 | * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. | |
8567 | 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> | |
8568 | Alexandre Oliva <aoliva@redhat.com> | |
8569 | * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than | |
8570 | what single FP register can hold for SHmedia target. | |
8571 | 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> | |
8572 | Alexandre Oliva <aoliva@redhat.com> | |
8573 | * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): | |
8574 | Do not split into SUBREG. | |
8575 | 2001-06-14 Alexandre Oliva <aoliva@redhat.com> | |
8576 | * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures | |
8577 | and added new functions as specified in SH5 ABI r9. | |
8578 | 2001-06-04 Alexandre Oliva <aoliva@redhat.com> | |
8579 | * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an | |
8580 | 8-byte boundary. | |
8581 | 2001-06-03 Alexandre Oliva <aoliva@redhat.com> | |
8582 | * config/sh/sh.c (dump_table): Add const0_rtx in calls of | |
8583 | gen_consttable_4 and gen_consttable_8. Emit multiple labels | |
8584 | and consttable_window_ends. | |
8585 | 2001-06-03 Graham Stott <grahams@redhat,com> | |
8586 | * config/sh/sh.md (movdi split): Remove unused variable last_insn. | |
8587 | 2001-05-16 Alexandre Oliva <aoliva@redhat.com> | |
8588 | * config/sh/sh.c (print_operand): Handle floating-point pair, | |
8589 | vector and matrix registers. | |
8590 | * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer | |
8591 | vector modes into account. | |
8592 | * config/sh/sh.md (movv2sf): Split move between registers into | |
8593 | movdf. | |
8594 | (movv4sf, movv16sf): Introduce insns that get split only after | |
8595 | reload. | |
8596 | * config/sh/shmedia.h: Fix Copyright dates. | |
8597 | * config/sh/ushmedia.h: Likewise. Move loop counter | |
8598 | declarations into conditionals that uses them. | |
8599 | (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in | |
8600 | loop boundary. | |
8601 | * config/sh/sshmedia.h: Fix Copyright dates. | |
8602 | (sh_media_PUTCFG): Fix constraints. | |
8603 | 2001-05-12 Alexandre Oliva <aoliva@redhat.com> | |
8604 | * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to | |
8605 | ptrmemfunc_vbit_in_delta for SH5. | |
8606 | 2001-05-08 Alexandre Oliva <aoliva@redhat.com> | |
8607 | * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. | |
8608 | * invoke.texi: Likewise. | |
8609 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
8610 | * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, | |
8611 | GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, | |
8612 | GCC_pop_shmedia_regs_nofpu): New global symbols. | |
8613 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. | |
8614 | * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. | |
8615 | * config/sh/sh.c (calc_live_regs): Account for PR's saving in | |
8616 | compact function with nonlocal labels. | |
8617 | (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. | |
8618 | (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. | |
8619 | (initial_elimination_offset): Account for their stack space. | |
8620 | * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. | |
8621 | * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, | |
8622 | movhi_media, movdi_media, movdi_media_nofpu, movdf_media, | |
8623 | movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at | |
8624 | least one of the operands to be a register. | |
8625 | (movv2sf): Likewise. Renamed to movv2sf_i. | |
8626 | (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): | |
8627 | prepare_move_operands() before emitting SHmedia insns. | |
8628 | 2001-04-03 Alexandre Oliva <aoliva@redhat.com> | |
8629 | * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: | |
8630 | Don't save nor initialize r12. Don't mis-align the stack. | |
8631 | Pad the code with a nop. | |
8632 | * config/sh/crti.asm: Don't restore r12. Don't mis-align the | |
8633 | stack. | |
8634 | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> | |
8635 | * gcc/longlong.h (__umulsidi3, count_leading_zeros) | |
8636 | [__SHMEDIA__]: Implement. | |
8637 | 2001-03-11 Alexandre Oliva <aoliva@redhat.com> | |
8638 | * config/sh/sh.md: Set latency of `pt' closer to reality. | |
8639 | (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, | |
8640 | movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): | |
8641 | Set move, load and store type attributes. | |
8642 | * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. | |
8643 | * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable | |
8644 | profiling. | |
8645 | * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. | |
8646 | * config/sh/sh-protos.h (sh_media_register_for_return): Declare. | |
8647 | * config/sh/sh.c (sh_media_register_for_return): New function. | |
8648 | (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available | |
8649 | branch-target register. | |
8650 | (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. | |
8651 | * config/sh/sh.md (return_media_i): Use any call-clobbered | |
8652 | branch-target register. | |
8653 | (return_media): If r18 wasn't copied in the prologue, copy it | |
8654 | here. | |
8655 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: | |
8656 | Clear class FP0_REGS. | |
8657 | * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied | |
8658 | from elf.h. | |
8659 | 2001-03-08 DJ Delorie <dj@redhat.com> | |
8660 | * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. | |
8661 | 2001-02-09 Alexandre Oliva <aoliva@redhat.com> | |
8662 | * config/sh/sh.md (sibcall_compact): Set fp_mode to single. | |
8663 | 2001-02-07 Alexandre Oliva <aoliva@redhat.com> | |
8664 | * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. | |
8665 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> | |
8666 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode | |
8667 | return value correctly for call_cookie. | |
8668 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> | |
8669 | * config/sh/crt1.asm (start): Modified so as to call | |
8670 | ___setup_argv_and_call_main. | |
8671 | 2001-01-26 Alexandre Oliva <aoliva@redhat.com> | |
8672 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in | |
8673 | SHmedia mode. | |
8674 | 2001-01-20 Alexandre Oliva <aoliva@redhat.com> | |
8675 | * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. | |
8676 | (STRIP_NAME_ENCODING): Use it. | |
8677 | (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). | |
8678 | 2001-01-19 Alexandre Oliva <aoliva@redhat.com> | |
8679 | * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of | |
8680 | prepare_scc_operands(). | |
8681 | * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... | |
8682 | (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. | |
8683 | 2001-01-17 Alexandre Oliva <aoliva@redhat.com> | |
8684 | * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. | |
8685 | 2001-01-13 Alexandre Oliva <aoliva@redhat.com> | |
8686 | * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. | |
8687 | * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, | |
8688 | used in shcompact_incoming_args. | |
8689 | * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous | |
8690 | change. | |
8691 | * config/sh/crt1.asm (start) [SH5]: Switch to single-precision | |
8692 | mode. | |
8693 | * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): | |
8694 | Adjust accordingly. | |
8695 | * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): | |
8696 | Simplify. Adjust. Add sanity check. | |
8697 | * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set | |
8698 | FPU_SINGLE_BIT. | |
8699 | * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match | |
8700 | TARGET_SHCOMPACT. | |
8701 | (udivsi3, divsi3): Use them. | |
8702 | (force_mode_for_call): New insn. | |
8703 | (call, call_value, sibcall_value): Emit it before SHcompact | |
8704 | calls. | |
8705 | 2001-01-11 Alexandre Oliva <aoliva@redhat.com> | |
8706 | * config/sh/sh.md (call, call_value, sibcall): Make sure the | |
8707 | call cookie is non-NULL before taking its value. | |
8708 | 2001-01-10 Alexandre Oliva <aoliva@redhat.com> | |
8709 | * config.gcc (sh64): Set target_requires_64bit_host_wide_int. | |
8710 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> | |
8711 | * config/sh/sh.md (shcompact_incoming_args): Set argument memory | |
8712 | block. | |
8713 | * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. | |
8714 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as | |
8715 | temporary for stack adjusts. Use MACL and MACH to pass | |
8716 | arguments to shcompact_incoming_args. | |
8717 | * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't | |
8718 | clobber r1. | |
8719 | * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. | |
8720 | (nested_trampoline): Load static chain address into r1. | |
8721 | * config/sh/sh.md (movdi_media splits): Fix sign-extension. | |
8722 | 2001-01-07 Alexandre Oliva <aoliva@redhat.com | |
8723 | * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call | |
8724 | fp_arith_reg_operand(). | |
8725 | 2001-01-06 Alexandre Oliva <aoliva@redhat.com> | |
8726 | * config/sh/sh.md (casesi): Sign-extend the first two operands, | |
8727 | and use signed compares for them. | |
8728 | * config/sh/sh.c (dump_table): Don't emit 8-byte constants after | |
8729 | 4-byte ones. Instead, inter-leave them, maintaining the 8-byte | |
8730 | ones properly aligned. | |
8731 | (find_barrier): Account for extra alignment needed for 8-byte wide | |
8732 | constants. | |
8733 | (machine_dependent_reorg): Require a label for the second 4-byte | |
8734 | constant after an 8-byte one. | |
8735 | * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's | |
8736 | change. | |
8737 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
8738 | * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset | |
8739 | last_float when switching float modes. | |
8740 | * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer | |
8741 | auto-increment for general-purpose registers. | |
8742 | * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the | |
8743 | result. | |
8744 | * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary | |
8745 | for stack adjust. | |
8746 | * config/sh/sh.c (sh_builtin_saveregs): Support using all | |
8747 | registers for varargs. | |
8748 | 2001-01-01 Alexandre Oliva <aoliva@redhat.com> | |
8749 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. | |
8750 | * config/sh/sh.h (CALL_COOKIE_STACKSEQ, | |
8751 | CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. | |
8752 | (CALL_COOKIE_INT_REG_SHIFT): Adjust. | |
8753 | (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust | |
8754 | call_cookie accordingly. | |
8755 | (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. | |
8756 | (SHCOMPACT_BYREF): Likewise. | |
8757 | (SHCOMPACT_FORCE_ON_STACK): New macro. | |
8758 | * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. | |
8759 | (sh_builtin_saveregs): Likewise. | |
8760 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
8761 | shcompact_incoming_args): Use new shift values. Support | |
8762 | sequences of consecutive and non-consecutive pushes/pops. | |
8763 | * config/sh/sh.md (return): Don't explicitly use PR_REG. | |
8764 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
8765 | * config/sh/sh.h (TEXT_SECTION): Define. | |
8766 | * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. | |
8767 | 2001-01-05 Alexandre Oliva <aoliva@redhat.com> | |
8768 | * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. | |
8769 | * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for | |
8770 | return values on FPU-enabled SHmedia. | |
8771 | (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on | |
8772 | FPU-enabled SHmedia. | |
8773 | (INIT_CUMULATIVE_ARGS): Set up return trampoline only if | |
8774 | value is returned in a non-FP reg and is not returned by | |
8775 | reference. | |
8776 | * config/sh/sh.md (shcompact_return_tramp_i): Change type to | |
8777 | jump_ind. | |
8778 | 2000-01-04 Alexandre Oliva <aoliva@redhat.com> | |
8779 | * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. | |
8780 | (FUNCTION_ARG_CALLEE_COPIES): Require argument to be | |
8781 | quad-aligned to be passed by callee-copy reference. | |
8782 | 2001-01-03 Alexandre Oliva <aoliva@redhat.com> | |
8783 | * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. | |
8784 | * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. | |
8785 | 2001-01-02 Alexandre Oliva <aoliva@redhat.com> | |
8786 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in | |
8787 | copying low-numbered FP regs to r7 and r8. | |
8788 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of | |
8789 | FP regs to general-purpose regs only if the copy was passed on the | |
8790 | stack. | |
8791 | * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in | |
8792 | copying FP reg to r9. | |
8793 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to | |
8794 | copy FP regs to general-purpose regs only in outgoing calls. | |
8795 | * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect | |
1e4e95d6 | 8796 | change from 2000-10-30. Adjust for 64-bit (or 32-bit) |
fa5322fa AO |
8797 | HOST_WIDE_INT. |
8798 | * config/sh/sh.h (struct sh_args): Document all fields. | |
8799 | (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments | |
8800 | passed partially on the stack should not consider making | |
8801 | sibcalls. | |
8802 | * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to | |
8803 | stack_regs only for incoming calls. When passing FP args, | |
8804 | make sure there are FP regs available before modifying | |
8805 | call_cookie. | |
8806 | (SHCOMPACT_BYREF): Pass double args in general-purpose | |
8807 | registers by reference. | |
8808 | 2000-12-30 Alexandre Oliva <aoliva@redhat.com> | |
8809 | * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't | |
8810 | attempt to generate sibcalls if the caller got any arguments | |
8811 | by reference. | |
8812 | * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. | |
8813 | * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode | |
8814 | to 8-byte boundaries. | |
8815 | * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. | |
8816 | * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. | |
8817 | * config/sh/sh.c (sh_expand_prologue): Preserve args that will be | |
8818 | stored in the stack. | |
8819 | * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange | |
8820 | for the offsets to have the ISA bit set. | |
8821 | (shcompact_call_trampoline): Document. Swap r0 and r1, to match | |
8822 | invocation. Use beq instead of bgt to mark end of sequence of | |
8823 | loads. | |
8824 | (shcompact_incoming_args): Fix store of r2. Use beq instead of | |
8825 | bgt to mark end of sequence of stores. | |
8826 | * config/sh/sh.c (arith_operand): Don't check whether | |
8827 | CONST_OK_FOR_J for now. | |
8828 | * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT | |
8829 | instead of long for conversion. | |
8830 | 2000-12-29 Alexandre Oliva <aoliva@redhat.com> | |
8831 | * config/sh/sh.c (print_operand_address): Convert INTVAL to int | |
8832 | before passing it to fprintf. | |
8833 | 2000-12-28 Alexandre Oliva <aoliva@redhat.com> | |
8834 | * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. | |
8835 | Call set_fpscr before reading/writing SR. | |
8836 | * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. | |
8837 | Call set_fpscr. | |
8838 | * config/sh/lib1funcs.asm: Add `.align 2' directives before | |
8839 | SHmedia code. | |
8840 | (FMOVD_WORKS): Define on SH5 with FPU. | |
8841 | (set_fpscr): Define on SH5. Remove separate _fpscr_values | |
8842 | setting. | |
8843 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of | |
8844 | _fpscr_values. | |
8845 | 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> | |
8846 | * config/sh/lib1funcs.asm (ct_main_table): Align contents to even | |
8847 | address. | |
8848 | (ia_main_table): Ditto. | |
8849 | 2000-12-27 Alexandre Oliva <aoliva@redhat.com> | |
8850 | * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. | |
8851 | * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate | |
8852 | the definitions from sh.h. | |
8853 | * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on | |
8854 | TARGET_SH5. | |
8855 | (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. | |
8856 | * config/sh/elf.h (PTRDIFF_TYPE): Likewise. | |
8857 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
8858 | 2000-12-26 Alexandre Oliva <aoliva@redhat.com> | |
8859 | * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. | |
8860 | Increment LABEL_NUSES. | |
d9b3eb63 | 8861 | |
fa5322fa AO |
8862 | * config/sh/sh.h (SIZE_TYPE): Define as conditional on |
8863 | TARGET_SH5. | |
8864 | (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always | |
8865 | defined. | |
8866 | * config/sh/elf.h (SIZE_TYPE): Likewise. | |
8867 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. | |
8868 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
8869 | shcompact_incoming_args): Load switch table addresses using | |
8870 | datalabel. | |
8871 | * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
8872 | (NO_BUILTIN_SIZE_TYPE): Define. | |
8873 | (SIZE_TYPE): Don't define. | |
8874 | * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__. | |
8875 | * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the | |
8876 | definition of __SH5__=32 for -m5-compact-nofpu. | |
8877 | * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after | |
8878 | ADDR_DIFF_VEC. | |
8879 | 2000-12-24 Alexandre Oliva <aoliva@redhat.com> | |
8880 | * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed. | |
8881 | 2000-12-23 Alexandre Oliva <aoliva@redhat.com> | |
8882 | * config/sh/sh.h (TARGET_CACHE32): Enable on SH5. | |
8883 | (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia. | |
8884 | (INSN_LENGTH_ALIGNMENT): Likewise. | |
8885 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
8886 | * config/sh/sh.md (call, call_value, sibcall): Simplify | |
8887 | copying of non-branch-target register. | |
8888 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
1e4e95d6 | 8889 | * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch. |
fa5322fa AO |
8890 | * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia. |
8891 | 2000-12-22 Alexandre Oliva <aoliva@redhat.com> | |
8892 | * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex | |
8893 | floating-point values as structs. | |
8894 | (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG. | |
8895 | (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before | |
8896 | general-purpose register. | |
8897 | (SH5_PROTOTYPED_FLOAT_ARG): New macro. | |
8898 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
8899 | * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia. | |
8900 | * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too. | |
8901 | * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST. | |
8902 | (ENCODE_SECTION_INFO): Enclose variables and constants in | |
8903 | DATALABEL unspecs. | |
8904 | (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define. | |
8905 | (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off. | |
8906 | (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define. | |
8907 | * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL | |
8908 | only for LABEL_REFs. For SYMBOL_REFs, prepend | |
8909 | SH_DATALABEL_ENCODING to the symbol name. | |
8910 | * config/sh/sh.md (indirect_jump): Use SUBREG instead of | |
8911 | convert_mode(). | |
8912 | 2000-12-20 Alexandre Oliva <aoliva@redhat.com> | |
8913 | * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in | |
8914 | UNSPEC_DATALABEL. | |
8915 | * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs. | |
8916 | * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise. | |
8917 | (DATALABEL_REF_P): Don't require CONST. | |
8918 | (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before | |
8919 | REL label. | |
8920 | 2000-12-19 Alexandre Oliva <aoliva@redhat.com> | |
8921 | * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift | |
8922 | right. | |
8923 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
8924 | * config/sh/sh.md (movsi_media, call, call_value, sibcall): | |
8925 | Use shallow_copy_rtx and PUT_MODE to change the mode of | |
8926 | SYMBOL_REFs, LABEL_REFs, CONSTs, etc. | |
8927 | * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs | |
8928 | on SHmedia using GENERAL_REGs. | |
8929 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
8930 | bltu_media_i): Fix reversion of conditions. | |
8931 | 2000-12-18 Alexandre Oliva <aoliva@redhat.com> | |
8932 | * config/sh/sh.md (zero_extendhidi2): Use logical shift right. | |
8933 | * config/sh/sh.c (output_far_jump): Save r13 in macl. | |
8934 | 2000-12-17 Alexandre Oliva <aoliva@redhat.com> | |
8935 | * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC. | |
8936 | 2000-12-16 Alexandre Oliva <aoliva@redhat.com> | |
8937 | * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5. | |
8938 | (GCC_nested_trampoline): Likewise. | |
8939 | * config/sh/sh-protos.h (gen_datalabel_ref): Declare. | |
8940 | * config/sh/sh.c (gen_datalabel_ref): Define. | |
8941 | * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5. | |
8942 | (INITIALIZE_TRAMPOLINE): Likewise. | |
8943 | (TRAMPOLINE_ADJUST_ADDRESS): Define. | |
8944 | (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define. | |
8945 | (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs. | |
8946 | (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs. | |
8947 | * config/sh/sh.md (UNSPEC_DATALABEL): New constant. | |
8948 | (ic_invalidate): Adjust for SH5. | |
8949 | (ic_invalidate_line_media, ic_invalidate_line_compact): New insns. | |
8950 | * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and | |
8951 | _nested_trampoline. | |
8952 | 2000-12-15 Alexandre Oliva <aoliva@redhat.com> | |
8953 | * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere. | |
8954 | (MOVE_MAX_PIECES): Set to 8 on SHmedia too. | |
8955 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
8956 | * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb. | |
8957 | * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise. | |
8958 | 2000-12-14 Alexandre Oliva <aoliva@redhat.com> | |
8959 | * config/sh/sh.c (target_reg_operand): Match only target-branch | |
8960 | registers and pseudos that aren't virtual registers. | |
8961 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
8962 | Copy operands that don't match target_reg_operand to pseudos. | |
8963 | (call_media, call_value_media, sibcall_media): Use | |
8964 | target_reg_operand instead of target_operand. | |
8965 | 2000-12-13 Alexandre Oliva <aoliva@redhat.com> | |
d9b3eb63 | 8966 | * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. |
fa5322fa AO |
8967 | * config/sh/sh.c (target_reg_operand): Match hardware registers |
8968 | other than branch-target registers. | |
8969 | * config/sh/sh.md (zero_extendqidi2): Input operand is %1. | |
8970 | * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global. | |
8971 | (fpscr_values) [SH5 == 32]: Define. | |
8972 | * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values. | |
8973 | * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]: | |
8974 | Handle function addresses coming in SUBREGs. | |
8975 | 2000-12-12 Alexandre Oliva <aoliva@redhat.com> | |
8976 | * config/sh/lib1funcs.asm (shcompact_call_trampoline, | |
8977 | shcompact_return_trampoline): Use datalabel where appropriate. | |
8978 | 2000-12-09 Alexandre Oliva <aoliva@redhat.com> | |
8979 | * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a | |
8980 | general-purpose register to copy one branch-target register to | |
8981 | another. | |
8982 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
8983 | * config/sh/sh.c (target_operand): Accept LABEL_REFs and | |
8984 | SYMBOL_REFs with VOIDmode. | |
8985 | * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i, | |
8986 | bltu_media_i): New insns. | |
8987 | 2000-12-06 Alexandre Oliva <aoliva@redhat.com> | |
8988 | * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI. | |
8989 | (INIT_CUMULATIVE_ARGS): Likewise. | |
8990 | 2000-12-01 Alexandre Oliva <aoliva@redhat.com> | |
8991 | * machmode.def (V16SFmode): New mode. | |
8992 | * c-common.c (type_for_mode): Support V2SF and V16SF. | |
8993 | * tree.c (build_common_tree_nodes_2): Likewise. | |
8994 | * tree.h (tree_index): Likewise. | |
8995 | * calls.c (emit_call_1): Take args_so_far. Adjust all | |
8996 | callers. Introduce CALL_POPS_ARGS. | |
8997 | * tm.texi (CALL_POPS_ARGS): Document. | |
8998 | * config/sh/crt1.asm: Implement in SHmedia mode. | |
8999 | * config/sh/crti.asm, config/sh/crtn.asm: Likewise | |
9000 | * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags. | |
9001 | (DBX_REGISTER_NUMBER): Renumber registers for SH5. | |
9002 | * config/sh/lib1funcs.asm: Disable functions unused in SH5. | |
9003 | Implement divsi and udivsi in SHmedia mode. Introduce | |
9004 | SHcompact trampolines. | |
9005 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode | |
9006 | only in SHmedia64. | |
9007 | (regno_reg_class): Rewrite. | |
9008 | (fp_reg_names): Remove. | |
9009 | (sh_register_names, sh_additional_register_names): New. | |
9010 | (print_operand): Added `u'. Support SUBREGs in addresses. | |
9011 | Add parentheses around shifted CONSTs. | |
9012 | (output_file_start): Output .mode and .abi directives. | |
9013 | (shiftcosts, addsubcosts, multcosts): Adjust. | |
9014 | (output_stack_adjust): Compute alignment. Sanity-check SIZE. | |
9015 | (push_regs): Take array of HOST_WIDE_INTs. Adjust callers. | |
9016 | (calc_live_regs): Output to array of HOST_WIDE_INTs. Count | |
9017 | bytes, not registers. Take into account the need for the | |
9018 | SHcompact incoming args trampoline. Adjust all callers. | |
9019 | (sh_expand_prologue): Take stack_regs into account. Call | |
9020 | incoming args trampoline. Keep stack aligned as per SH5 ABI. | |
9021 | (sh_expand_epilogue): Take stack_regs into accoutn. Keep | |
9022 | stack aligned as per SH5 ABI. | |
9023 | (sh_builtin_saveregs): Support SH5 ABI. | |
9024 | (sh_build_va_list, sh_va_start): Likewise. | |
9025 | (initial_elimination_offset): Take alignment into account. | |
9026 | Compute location of PR according to the SH5 stack frame. | |
9027 | (arith_reg_operand): Reject branch-target registers. | |
9028 | (shmedia_6bit_operand): New. | |
9029 | (logical_operand): Use CONST_OK_FOR_P on SHmedia. | |
9030 | (target_reg_operand): Match DImode only. Accept SUBREGs. | |
9031 | (target_operand): New. | |
9032 | * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags. | |
9033 | (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize | |
9034 | SIBCALL_REGS for SHmedia. | |
9035 | (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too. | |
9036 | (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New. | |
9037 | (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New. | |
9038 | (TARGET_SWITCHES): New SH5 flags. | |
9039 | (OVERRIDE_OPTIONS): Set SH5-specific options. Use | |
9040 | VALID_REGISTER_P to disable unsupported registers. | |
9041 | (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set. | |
9042 | (POINTER_SIZE, PARM_BOUNDARY): Adjust. | |
9043 | (FUNCTION_ARG_PADDING): Define. | |
9044 | (FASTEST_ALIGNMENT): Adjust. | |
9045 | (SH_REGISTER_NAMES_INITIALIZER): New. | |
9046 | (sh_register_names): Declare. | |
9047 | (DEBUG_REGISTER_NAMES): Define. | |
9048 | (REGISTER_NAMES): Define based on sh_register_names. | |
9049 | (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New. | |
9050 | (sh_additional_register_names): Declare. | |
9051 | (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia. | |
9052 | (FIRST_TARGET_REG, LAST_TARGET_REG): Define. | |
9053 | (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define. | |
9054 | (REGISTER_NATURAL_MODE): Define. | |
9055 | (FIRST_PSEUDO_REGISTER): Adjust. | |
9056 | (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust. | |
9057 | (HARD_REGNO_CALL_PART_CLOBBERED): Define. | |
9058 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust. | |
9059 | (VECTOR_MODE_SUPPORTED_P): Define. | |
9060 | (REG_CLASS_CONTENTS): Adjust. | |
9061 | (SMALL_REGISTER_CLASSES): Adjust. | |
9062 | (REG_ALLOC_ORDER): Adjust. | |
9063 | (INDEX_REG_CLASS): Adjust. | |
9064 | (CONST_OK_FOR_O, CONST_OK_FOR_P): New. | |
9065 | (CONST_OK_FOR_LETTER_P): Adjust. | |
9066 | (PREFERRED_RELOAD_CLASS): Adjust. | |
9067 | (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust. | |
9068 | (SECONDARY_INPUT_RELOAD_CLASS): Adjust. | |
9069 | (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust. | |
9070 | (FIRST_FP_PARM_REG): Adjust. | |
9071 | (CALL_POPS_ARGS): Define. | |
9072 | (FUNCTION_ARG_REGNO_P): Adjust. | |
9073 | (struct sh_args): New fields. | |
9074 | (GET_SH_ARG_CLASS): Adjust. | |
9075 | (INIT_CUMULATIVE_ARGS): Adjust. | |
9076 | (INIT_CUMULATIVE_INCOMING_ARGS): Define. | |
9077 | (FUNCTION_ARG_ADVANCE): Adjust. | |
9078 | (FUNCTION_ARG): Adjust. | |
9079 | (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define. | |
9080 | (FUNCTION_ARG_CALLEE_COPIES): Define. | |
9081 | (SH5_PROTOTYPELESS_FLOAT_ARG): Define. | |
9082 | (STRICT_ARGUMENT_NAMING): Define. | |
9083 | (PRETEND_OUTGOING_VARARGS_NAMED): Adjust. | |
9084 | (FUNCTION_ARG_PARTIAL_NREGS): Adjust. | |
9085 | (SH5_WOULD_BE_PARTIAL_NREGS): Define. | |
9086 | (SETUP_INCOMING_VARARGS): Adjust. | |
9087 | (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust. | |
9088 | (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust. | |
9089 | (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust. | |
9090 | (SUBREG_OK_FOR_INDEX_P): Adjust. | |
9091 | (EXTRA_CONSTRAINT_S): Update. | |
9092 | (EXTRA_CONSTRAINT_T): New. | |
9093 | (EXTRA_CONSTRAINT): Adjust. | |
9094 | (GO_IF_LEGITIMATE_INDEX): Adjust. | |
9095 | (GO_IF_LEGITIMATE_ADDRESS): Adjust. | |
9096 | (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust. | |
9097 | (MOVE_MAX): Adjust. | |
9098 | (MAX_MOVE_MAX): Define. | |
9099 | (Pmode): Adjust. | |
9100 | (CONST_COSTS): Adjust. | |
9101 | (REGISTER_MOVE_COST): Adjust. | |
9102 | (BRANCH_COST): Adjust. | |
9103 | (TEXT_SECTION_ASM_OP): Adjust. | |
9104 | (DBX_REGISTER_NUMBER): Adjust. | |
9105 | (ASM_OUTPUT_DOUBLE_INT): New. | |
9106 | (UNALIGNED_DOUBLE_INT_ASM_OP): New. | |
9107 | (PREDICATE_CODES): Adjust. | |
9108 | (PROMOTE_MODE): Adjust. | |
9109 | (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia. | |
9110 | * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber. | |
9111 | (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber. | |
9112 | (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New. | |
9113 | (DR0_REG, DR2_REG, DR4_REG): Renumber. | |
9114 | (TR0_REG, TR1_REG, TR2_REG): New. | |
9115 | (XD0_REG): Renumber. | |
9116 | (UNSPEC_COMPACT_ARGS): New. | |
9117 | (type): Added pt and ptabs. | |
9118 | (length): Default to 4 on SHmedia. Default pt length to 12 | |
1e4e95d6 | 9119 | and 20 on SHmedia32 and SHmedia64, respectively. |
fa5322fa AO |
9120 | (pt): New function unit. |
9121 | (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES. | |
9122 | Add whitespace between operands of SHmedia instructions. | |
9123 | (movdicc): Fix. | |
9124 | (adddi3_media, addsi3_media): Adjust constraints. | |
9125 | (subsi3) [SHmedia]: Force operand 1 into a register. | |
9126 | (udivsi3_i1_media, udivsi3_i4_media): New. | |
9127 | (udivsi3): Support SHmedia. | |
9128 | (divsi3_i1_media, divsi3_i4_media): New. | |
9129 | (divsi3): Support SHmedia. | |
9130 | (anddi3, iordi3, xordi3): Adjust constraints. | |
9131 | (zero_extendhidi2, zero_extendqidi2): New. | |
9132 | (extendsidi2, extendhidi2, extendqidi2): New. | |
9133 | (push, pop, push_e, push_fpul, push_4): Disable on SH5. | |
9134 | (pop_e, pop_fpul, pop_4): Likewise. | |
9135 | (movsi_media): Support FP and BT registers. | |
9136 | (movsi_media_nofpu): New. Adjust splits to DImode. | |
9137 | (lduw, ldub): Renamed to zero_extend* above. | |
9138 | (movqi_media): Fix typo. | |
9139 | (movdi_media): Support FP and BT registers. | |
9140 | (movdi_media_nofpu): New. Adjust splits for SHmedia32. | |
9141 | (movdi_const_32bit): New. | |
9142 | (shori_media): Require immediate operand. Use `u' for output. | |
9143 | (movdf_media, movsf_media): Simplified. | |
9144 | (movdf_media_nofpu, movsf_media_nofpu): New. | |
9145 | (movdf, movsf): Adjust | |
9146 | (movv2sf, movv2sf, movv16sf): New. | |
9147 | (beq_media, beq_media_i): Adjust constraints. Don't use | |
9148 | scratch BT register. | |
9149 | (bne_media, bne_media_i): Likewise. | |
9150 | (bgt_media, bgt_media_i): Likewise. | |
9151 | (bge_media, bge_media_i): Likewise. | |
9152 | (bgtu_media, bgtu_media_i): Likewise. | |
9153 | (bgeu_media, bgeu_media_i): Likewise. | |
9154 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu, | |
9155 | bunordered): Emit jump insn. Force operands to registers when | |
9156 | needed. | |
9157 | (jump_media, jump): Simplify. | |
9158 | (call_compact, call_compact_rettramp): New. | |
9159 | (call_value_compact, call_value_compact_rettramp): New. | |
9160 | (call_media, call_value_media): Simplify. | |
9161 | (sibcall_compact, sibcall_media): New. | |
9162 | (call, call_value): Adjust for SHmedia and SHcompact. | |
9163 | (sibcall, sibcall_value, untyped_call): Likewise. | |
9164 | (sibcall_epilogue): Preserve r0 across epilogue for SHcompact. | |
9165 | (indirect_jump): Adjust for SHmedia. | |
9166 | (casesi_jump_media): New. | |
9167 | (nop): Re-enable for SHmedia. | |
9168 | (call_site): Restrict to SH1. | |
9169 | (casesi): Adjust for SHmedia. | |
9170 | (casesi_shift_media, casesi_load_media): New. | |
9171 | (return): Explicitly use PR register. Call return trampoline | |
9172 | on SHcompact. | |
9173 | (return_i): Explicitly use PR register. | |
9174 | (shcompact_return_tramp, shcompact_return_tramp_i): New. | |
9175 | (return_media): Adjust. | |
9176 | (shcompact_incoming_args): New. | |
9177 | (epilogue): Adjust. | |
9178 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
9179 | (movstrsi): Disable on SH5. | |
9180 | (fpu_switch0, fpu_switch1, movpsi): Enable on SH4. | |
9181 | (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU. | |
9182 | (subsf3, subsf3_media): Likewise. | |
9183 | (mulsf3, mulsf3_media, mac_media): Likewise. | |
9184 | (divsf3, divsf3_media): Likewise. | |
9185 | (floatdisf2, floatsisf2_media): Likewise. Adjust constraints. | |
9186 | (floatsisf2, fux_truncsfsi2): Likewise. | |
9187 | (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust | |
9188 | constraints. | |
9189 | (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise. | |
9190 | (cmpunsf_media, cmpsf): Likewise. | |
9191 | (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise. | |
9192 | (abssf2, abssf2_media): Likewise. | |
9193 | (adddf3, adddf3_media, subdf3, subdf3_media): Likewise. | |
9194 | (muldf3, muldf3_media, divdf3, divdf3_media): Likewise. | |
9195 | (floatdidf2, floatsidf2_media): Likewise. Adjust constraints. | |
9196 | (floatsidf2, fix_truncdfsi2): Likewise. | |
9197 | (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust | |
9198 | constraints. | |
9199 | (cmpeqdf_media, cmpgtdf_media): Likewise. | |
9200 | (cmpgedf_media, cmpundf_media, cmpdf): Likewise. | |
9201 | (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise. | |
9202 | (absdf2, absdf2_media): Likewise. | |
9203 | (extendsfdf2, extendsfdf2_media): Likewise. | |
9204 | (truncsfdf2, truncsfdf2_media): Likewise. | |
9205 | * config/sh/sh64.h: New file. | |
9206 | * config/sh/t-sh64: New file. | |
9207 | * config/sh/shmedia.h: New file. | |
9208 | * config/sh/ushmedia.h: New file. | |
9209 | * config/sh/sshmedia.h: New file. | |
9210 | * configure.in: Added sh64-*-elf. | |
9211 | * configure: Rebuilt. | |
9212 | 2000-10-10 Alexandre Oliva <aoliva@redhat.com> | |
9213 | * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros. | |
9214 | (reg_class_from_letter): Use `b' for TARGET_REGS. | |
9215 | (print_operand): Support `%M', `%m', `AND' and | |
9216 | `ASHIFTRT'. Do not precede constants with `#' on SHmedia. | |
9217 | (andcosts): Adjust for SHmedia. | |
9218 | (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue): | |
9219 | Likewise. | |
9220 | (target_reg_operand): New function. | |
9221 | * config/sh/sh-protos.h (target_reg_operand): Declare. | |
9222 | * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable | |
9223 | FP registers on SH5. | |
9224 | (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable | |
9225 | on SH4. | |
9226 | (TARGET_REGISTER_P): New macro. | |
9227 | (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS. | |
9228 | (FUNCTION_VALUE): Use DImode for promoted types on SHmedia. | |
9229 | (EXTRA_CONSTRAINT_S): New macro. | |
9230 | (EXTRA_CONSTRAINT): Adjust. | |
9231 | (FLOAT_TYPE_SIZE): Define to 32. | |
9232 | (Pmode): DImode on SHmedia. | |
9233 | (CONST_COSTS): Adjust for SHmedia literals. | |
9234 | (PREDICATE_CODES): Added target_reg_operand. | |
9235 | (PROMOTE_MODE): Promote signed types to DImode on SHmedia. | |
9236 | * config/sh/sh.md: Remove all attrs from SHmedia insns. | |
9237 | (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns. | |
9238 | (cmpdi): Accept SHmedia. | |
9239 | (movdicc_false, movdicc_true): New insns. | |
9240 | (movdicc): New expand. | |
9241 | (adddi3): Accept arith_operand for op2, but FAIL on SH1 if | |
9242 | no_new_pseudos. | |
9243 | (addsi3_media): Match `S' constraint. | |
9244 | (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns. | |
9245 | (negdi2): Expand for SHmedia. | |
9246 | (one_cmpldi2): New expand. | |
9247 | (zero_extendsidi2): Change from expand to insn. | |
9248 | (extendsidi2): Add constraints. | |
9249 | (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for | |
9250 | LD/ST address. Fix SI immediate loading split. | |
9251 | (movhi_media, movqi_media, lduw, ldub): New insns. | |
9252 | (movhi, movqi): Accept SHmedia. | |
9253 | (shori_media, movdi_media): Relax input constraints. Split | |
9254 | symbolic constants. | |
9255 | (movdf_media, movsf_media): New insn. New split to movdi. | |
9256 | (movdf, movsf): Match on SHmedia. | |
9257 | (beq_media, bne_media, bgt_media, bge_media, bgtu_media, | |
9258 | bgeu_media): New insns and splits. New insns with `_i' suffix. | |
9259 | (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust. | |
9260 | (bunordered): New expand. | |
9261 | (jump_compact): Renamed from `jump'. | |
9262 | (jump_media): New insn. | |
9263 | (jump): New expand. | |
9264 | (call_media, call_value_media): New insns. | |
9265 | (call, call_value): Adjust. | |
9266 | (indirect_jump_compact): Renamed from `indirect_jump'. | |
9267 | (indirect_jump_media): New insn. | |
9268 | (indirect_jump): New expand. | |
9269 | (untyped_call, return): Accept SHmedia. | |
9270 | (return_media): New insn. | |
9271 | (prologue, epilogue, blockage): Accept SHmedia. | |
9272 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust. | |
9273 | (sunordered): New expand. | |
9274 | (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2, | |
9275 | cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia. | |
9276 | (addsf3_media, subsf3_media, mulsf3_media, mac_media, | |
9277 | divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2, | |
9278 | fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media, | |
9279 | cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media, | |
9280 | abssf2_media): New insns. | |
9281 | (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2, | |
9282 | cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia. | |
9283 | (adddf3_media, subdf3_media, muldf3_media, divdf3_media, | |
9284 | floatdidf2, floatsidf2_media, fix_truncdfdi2, | |
9285 | fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media, | |
9286 | cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media, | |
9287 | absdf2_media): New insns. | |
9288 | (extendsfdf2, truncdfsf2): Adjust for SHmedia. | |
9289 | (extendsfdf2_media, truncdfsf2_media): New insns. | |
9290 | 2000-09-14 Alexandre Oliva <aoliva@redhat.com> | |
9291 | * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now. | |
9292 | * config/sh/sh.h (CONST_OK_FOR_J): Document. | |
9293 | (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia. | |
9294 | * config/sh/sh.md (adddi3): New expand. | |
9295 | (adddi3_media, adddi3z_media): New insns. | |
9296 | (adddi3_compact): Renamed from adddi3. | |
9297 | (addsi3_media): Use add.l r63 to add constant zero. | |
9298 | (subdi3): New expand. | |
9299 | (subdi3_media): New insn. | |
9300 | (subdi3_compact): Renamed from subdi3. | |
9301 | (mulsidi3): New expand. | |
9302 | (mulsidi3_media): New insn. | |
9303 | (mulsidi3_compact): Renamed from mulsidi3. | |
9304 | (umulsidi3): New expand. | |
9305 | (umulsidi3_media): New insn. | |
9306 | (umulsidi3_compact): Renamed from umulsidi3. | |
9307 | (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns. | |
9308 | (ashlsi3, ashrsi3, lshrsi3): Use them. | |
9309 | (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns. | |
9310 | (ashldi3, ashrdi3, lshrdi3): Use them. | |
9311 | (zero_extendsidi2): New expand. | |
9312 | (extendsidi2): New insn. | |
9313 | (movsi_media): New insn. Split to movdi to load constants. | |
9314 | (movsi): Enable for shmedia. | |
9315 | (movdi_media): New insn. Use shori_media to load wide constants. | |
9316 | (short_media): New insn. | |
9317 | (movdi): Enable for shmedia. | |
9318 | 2000-09-08 Alexandre Oliva <aoliva@redhat.com> | |
9319 | * config/sh/sh.h (CPP_SPEC): Added `m5'. | |
9320 | (SUBTARGET_CPP_SPEC): Added `!m5'. | |
9321 | (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros. | |
9322 | (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT | |
9323 | to all other SH variants. | |
9324 | (TARGET_DEFAULT): Set to SH1_BIT. | |
9325 | (OVERRIDE_OPTIONS): Recognize sh5 CPU. | |
9326 | (BITS_PER_WORD): Raise to 64 on shmedia. | |
9327 | (MAX_BITS_PER_WORD): Change to 64. | |
9328 | (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD. | |
9329 | (INT_TYPE_SIZE): Keep as 32. | |
9330 | (UNITS_PER_WORD): Raise to 8 on shmedia. | |
9331 | (MIN_UNITS_PER_WORD): Keep as 4. | |
9332 | (POINTER_SIZE): Raise to 64 on shmedia. | |
9333 | (CONST_OK_FOR_J): New macro. | |
9334 | (CONST_OK_FOR_LETTER_P): Use it. | |
9335 | (processor_type): Add PROCESSOR_SH5. | |
9336 | * config/sh/sh.md: Conditionalize all expands, insns and | |
9337 | splits to TARGET_SH1. | |
9338 | (cpu): Added sh5. | |
9339 | (addsi3_compact): Renamed from... | |
9340 | (addsi3): Now an expand. | |
9341 | (addsi3_media, subsi3_media): New insns. | |
9342 | (subsi3): Don't negate constants with SHmedia. | |
9343 | ||
e4ec2cac AO |
9344 | * hooks.c: New file. |
9345 | * hooks.h: New file. | |
9346 | * Makefile.in (HOOKS_H): New. | |
9347 | (TARGET_DEF_H): Added $(HOOKS_H). | |
9348 | (OBJS): Added hooks.o. | |
9349 | (cfgcleanup.o, bb-reorder.o): Added target.h. | |
9350 | (hooks.o): Added dependencies. | |
9351 | * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to... | |
9352 | (TARGET_INITIALIZER): this. | |
9353 | * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document. | |
9354 | * target.h (struct gcc_target): Added cannot_modify_jumps_p. | |
9355 | * bb-reorder.c: Include target.h. | |
9356 | (reorder_basic_blocks): Skip if cannot modify jumps. | |
9357 | * cfgcleanup.c: Include target.h. | |
9358 | (try_optimize_cfg): Skip merge blocking if cannot modify jumps. | |
9359 | ||
246a46e0 CD |
9360 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
9361 | ||
831c4e87 KC |
9362 | * config/mips/mips.md (casesi_internal, casesi_internal_di): |
9363 | Protect jump delay slot instructions with .set noreorder and | |
9364 | .set nomacro. | |
246a46e0 CD |
9365 | |
9366 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> | |
6a5ea3f4 CD |
9367 | |
9368 | * config/mips/mips.md (casesi_internal_di): Calculate | |
9369 | the index into the target offset table correctly. | |
9370 | ||
fdf473ae RH |
9371 | 2002-02-08 Richard Henderson <rth@redhat.com> |
9372 | ||
9373 | * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also. | |
9374 | * final.c (output_addr_const): Accept and discard SUBREG. | |
9375 | * varasm.c (decode_addr_const): Don't abort on unknown expressions -- | |
9376 | mark them unknown instead. | |
9377 | (simplify_subtraction): Handle RTX_UNKNOWN. | |
9378 | (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode. | |
9379 | ||
c50503ac DE |
9380 | 2002-02-08 David Edelsohn <edelsohn@gnu.org> |
9381 | ||
9382 | * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo. | |
9383 | ||
3660d217 RH |
9384 | 2002-02-08 Richard Henderson <rth@redhat.com> |
9385 | ||
9386 | * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New. | |
9387 | ||
56547299 AJ |
9388 | 2002-02-08 Andreas Jaeger <aj@suse.de> |
9389 | ||
9390 | * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment. | |
9391 | * config/i386/t-linux64: New file. | |
9392 | ||
1cf537c5 JJ |
9393 | 2002-02-08 Jakub Jelinek <jakub@redhat.com> |
9394 | ||
9395 | * c-common.c (c_expand_expr): Revert 2002-02-06 patch. | |
9396 | * c-parse.in (compstmt): Clear last_expr_type. | |
9397 | ||
5c7f5a5f RH |
9398 | 2002-02-07 Richard Henderson <rth@redhat.com> |
9399 | ||
9400 | * loop.c (strength_reduce): Sink final_value when not | |
9401 | eliminating a biv. | |
9402 | ||
b1138bf3 DB |
9403 | 2002-02-07 David O'Brien <obrien@FreeBSD.org> |
9404 | ||
9405 | * config/sparc/freebsd.h: Fix mismatched spec {. | |
9406 | ||
b6878a45 RH |
9407 | 2002-02-07 Richard Henderson <rth@redhat.com> |
9408 | ||
9409 | * cfgrtl.c: Include recog.h and insn-config.h. | |
9410 | (keep_with_call_p): Fix general_operand invocation. | |
9411 | * Makefile.in (cfgrtl.o): Update dependencies. | |
9412 | ||
ae19f5ef KH |
9413 | 2002-02-07 Kazu Hirata <kazu@hxi.com> |
9414 | ||
9415 | * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a | |
9416 | comment. Accept HImode only if TARGET_H8300. | |
9417 | ||
b137f9fc EC |
9418 | 2002-02-07 Eric Christopher <echristo@redhat.com> |
9419 | ||
9420 | * config/mips/crtn.asm: Cleanup #ifdefs. | |
9421 | ||
9422 | 2002-02-07 Eric Christopher <echristo@redhat.com> | |
9423 | ||
9424 | * config/mips/crti.asm: Add changes for mips16. mips16 uses | |
9425 | register 7 as RA instead of $31. | |
9426 | * config/mips/crtn.asm: Ditto. | |
9427 | * config/mips/mips.c (mips_move_2words): Add case for | |
9428 | TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64. | |
9429 | (compute_frame_size): Fix typo. | |
9430 | (save_restore_insns): Ditto. Make documentation about using | |
9431 | register $7 as return register more precise. | |
9432 | (mips_expand_epilogue): Fix comment. Add code to work around not | |
9433 | being able to add to the stack pointer directly. | |
9434 | * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number | |
9435 | to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the | |
9436 | epilogue. | |
9437 | ||
768070a0 TR |
9438 | 2002-02-07 Tom Rix <trix@redhat.com> |
9439 | ||
b137f9fc | 9440 | * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For |
768070a0 TR |
9441 | immediates in ldu and stdu DS opcode field. |
9442 | * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use. | |
9443 | * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand. | |
9444 | * config/rs6000/rs6000.h (PREDICATE_CODES): Same. | |
9445 | ||
225909c3 JS |
9446 | 2002-02-07 Jeff Sturm <jsturm@one-point.com> |
9447 | ||
9448 | * config/sparc/sparc.c (compute_frame_size): Don't correct frame | |
9449 | offset for stack bias. | |
9450 | ||
15fae023 L |
9451 | 2002-02-07 H.J. Lu <hjl@gnu.org> |
9452 | ||
9453 | * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. | |
9454 | ||
fde5badd UW |
9455 | 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com> |
9456 | ||
9457 | * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option. | |
9458 | ||
162f023b JH |
9459 | Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz> |
9460 | ||
9461 | * i386-protos.h (x86_order_regs_for_local_alloc): Declare | |
9462 | * i386.c (x86_order_regs_for_local_alloc): New global function. | |
9463 | * i386.h (REG_ALLOC_ORDER): CLeanup. | |
9464 | (ORDER_REGS_FOR_LOCAL_ALLOC): New. | |
9465 | ||
9b462c42 RH |
9466 | 2002-02-07 Richard Henderson <rth@redhat.com> |
9467 | ||
85aa876c | 9468 | PR optimization/2463 |
9b462c42 RH |
9469 | * alias.c (find_base_value): Recall base values for fixed hard regs. |
9470 | * loop.c (loop_regs_update): Don't use single_set on non-insns. | |
9471 | ||
06e455a9 AO |
9472 | 2002-02-07 Alexandre Oliva <aoliva@redhat.com> |
9473 | ||
9474 | * config/mips/mips.md (define_delay) [mips16]: Adjust required | |
9475 | length. | |
9476 | ||
edd1967d RH |
9477 | 2002-02-06 Richard Henderson <rth@redhat.com> |
9478 | ||
9479 | PR c/5609 | |
9480 | * stmt.c (resolve_operand_name_1): Take more care with mixed | |
9481 | named and unnamed operands. | |
9482 | ||
a2cd028f JJ |
9483 | 2002-02-06 Janis Johnson <janis187@us.ibm.com> |
9484 | Jan Hubicka <jh@suse.cz> | |
9485 | ||
9486 | * loop.c (remove_constant_addition): Avoid clobbering a shared | |
9487 | CONST expression. | |
9488 | ||
e8487c04 UW |
9489 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
9490 | ||
9491 | * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. | |
9492 | * config/s390/t-linux64: New file. | |
9493 | * config/s390/libgcc-glibc.ver: New file. | |
9494 | ||
58d10f89 UW |
9495 | 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
9496 | ||
9497 | * config/s390/linux64.h: Delete file. | |
9498 | * config/s390/s390x.h: New file. | |
9499 | * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h | |
9500 | as target header file. | |
9501 | * config/s390/linux.h (TARGET_VERSION): Define depending on | |
9502 | DEFAULT_TARGET_64BIT. | |
9503 | (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. | |
9504 | (SIZE_TYPE, PTRDIFF_TYPE): Likewise. | |
9505 | (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. | |
9506 | (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. | |
9507 | (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. | |
9508 | (EXTRA_SPEC): New define. | |
9509 | * config/s390/s390.h (TARGET_VERSION): Define depending on | |
9510 | DEFAULT_TARGET_64BIT. | |
9511 | (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. | |
9512 | ||
5ce89b2e JM |
9513 | 2002-02-06 Jason Merrill <jason@redhat.com> |
9514 | ||
9515 | * c-decl.c (finish_function): Warn about a non-void function with | |
9516 | no return statement and no abnormal exit. | |
9517 | (current_function_returns_abnormally): New variable. | |
9518 | (start_function): Clear it. | |
9519 | (struct c_language_function): Add returns_abnormally. | |
9520 | (push_c_function_context): Save it. | |
9521 | (pop_c_function_context): Restore it. | |
9522 | (builtin_function): Set TREE_THIS_VOLATILE on return fns. | |
9523 | (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without | |
9524 | an explicit return type. | |
9525 | * c-tree.h: Declare current_function_returns_abnormally. | |
9526 | (C_FUNCTION_IMPLICIT_INT): New macro. | |
9527 | * c-typeck.c (build_function_call): Set it. | |
9528 | (c_expand_return): Set current_function_returns_value even if the | |
9529 | value is erroneous. | |
9530 | ||
caaf2272 JJ |
9531 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
9532 | ||
9533 | PR c/5420: | |
9534 | * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR | |
9535 | unsafe for reevaluation. | |
9536 | ||
d5129288 JJ |
9537 | 2002-02-06 Jakub Jelinek <jakub@redhat.com> |
9538 | ||
9539 | PR c/5482: | |
9540 | * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not | |
9541 | EXPR_STMT, but COMPOUND_STMT, recurse into it. | |
9542 | ||
7fb75099 RH |
9543 | 2002-02-06 Richard Henderson <rth@redhat.com> |
9544 | ||
9545 | * cfganal.c (keep_with_call_p): Source for fixed_reg dest must | |
9546 | be a general_operand. Dest for function value must be a pseudo. | |
9547 | ||
d3a8b6a6 NC |
9548 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
9549 | ||
9550 | * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well | |
9551 | as SYMBOL_REFs from the constant pool. | |
9552 | ||
3c1299c5 AO |
9553 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
9554 | ||
9555 | * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters | |
9556 | passed by invisible reference. | |
9557 | ||
c2c9f6c9 RH |
9558 | 2002-02-05 Richard Henderson <rth@redhat.com> |
9559 | ||
9560 | * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias. | |
9561 | ||
a824924d HPN |
9562 | 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com> |
9563 | ||
9564 | Implement using "base addresses" in insn operands as default. | |
9565 | * config/mmix/mmix.c (mmix_conditional_register_usage): if | |
9566 | -mabi=gnu, modify fixed_regs to fit the GNU ABI. | |
9567 | (mmix_extra_constraint): Use 'R' to indicate that GETA should be | |
9568 | used to read the rtx value. | |
9569 | (mmix_target_asm_function_epilogue): Fix spacing. | |
9570 | (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES. | |
9571 | (mmix_legitimate_address): Ditto. | |
9572 | (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that | |
9573 | should be loaded with a GETA insn. Don't allocate needless extra | |
9574 | char for nul termination and fix misleading comment. | |
9575 | (mmix_print_operand_address): Handle constants if | |
9576 | TARGET_BASE_ADDRESSES. | |
9577 | (mmix_output_register_setting): Use base addressing if | |
9578 | TARGET_BASE_ADDRESSES and the number of insns is 3. | |
9579 | * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New. | |
9580 | * config/mmix/mmix.md ("movdi"): Change the alternative with GETA | |
9581 | to use R as constraint, add LDA to match s. | |
9582 | * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New. | |
9583 | (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES. | |
9584 | (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses. | |
9585 | (FIXED_REGISTERS): Make registers $231..$246 fixed by default. | |
9586 | (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in | |
9587 | order with other fixed registers. | |
9588 | (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with | |
9589 | other parameter/call-clobbered registers. | |
9590 | * doc/invoke.texi (Option Summary) <MMIX Options>: Add | |
9591 | -mbase-addresses, -mno-base-addresses. | |
9592 | (MMIX Options): Ditto. | |
9593 | ||
73c342b9 JDA |
9594 | 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9595 | ||
9596 | * pa.h (PREDICATE_CODES): Add reg_before_reload_operand. | |
9597 | ||
ef238c58 AH |
9598 | 2002-02-06 Aldy Hernandez <aldyh@redhat.com> |
9599 | ||
831c4e87 | 9600 | * config/rs6000/altivec.h: Change elem to _S_elem. |
ef238c58 | 9601 | |
ad08e60e JT |
9602 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
9603 | ||
9604 | * config/netbsd.h (WCHAR_TYPE): Define. | |
9605 | (WCHAR_TYPE_SIZE): Ditto. | |
9606 | (WINT_TYPE): Ditto. | |
9607 | * config/alpha/netbsd.h (WCHAR_TYPE): Remove. | |
9608 | (WCHAR_UNSIGNED): Ditto. | |
9609 | (WCHAR_TYPE_SIZE): Ditto. | |
9610 | (WINT_TYPE): Ditto. | |
9611 | * config/arm/netbsd.h: Likewise. | |
9612 | * config/i386/netbsd-elf.h: Likewise. | |
9613 | * config/i386/netbsd.h: Likewise. | |
9614 | * config/m68k/netbsd-elf.h: Likewise. | |
9615 | * config/m68k/netbsd.h: Likewise. | |
9616 | * config/ns32k/netbsd.h: Likewise. | |
9617 | * config/sparc/netbsd.h: Likewise. | |
9618 | * config/vax/netbsd.: Likewise. | |
9619 | ||
f913c102 AO |
9620 | 2002-02-05 Alexandre Oliva <aoliva@redhat.com> |
9621 | ||
9622 | * target.h (struct gcc_target): Added ms_bitfield_layout_p. | |
9623 | * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to... | |
9624 | (TARGET_INITIALIZER): this. | |
9625 | * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document. | |
9626 | (BITFIELD_NBYTES_LIMITED): Markup fix. | |
9627 | * tree.h (default_ms_bitfield_layout_p): Declare. | |
9628 | (record_layout_info): Added prev_field. | |
9629 | * tree.c (default_ms_bitfield_layout_p): New fn. | |
9630 | * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and | |
9631 | PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout. | |
9632 | * stor-layout.c: Include target.h. | |
9633 | (start_record_layout): Initialize prev_field. | |
9634 | (place_field): Handle MS bit-field layout, and disregard | |
9635 | EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and | |
9636 | PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field. | |
9637 | * Makefile.in (stor-layout.o): Adjust dependencies. | |
9638 | ||
c13db5d1 JM |
9639 | 2002-02-05 Jason Merrill <jason@redhat.com> |
9640 | ||
c13db5d1 JM |
9641 | * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. |
9642 | ||
4505024e AJ |
9643 | 2002-02-05 Andreas Jaeger <aj@suse.de> |
9644 | ||
9645 | * crtstuff.c: Fix comments. | |
9646 | ||
794ad79d RH |
9647 | 2002-02-05 Richard Henderson <rth@redhat.com> |
9648 | ||
2e279a9b RH |
9649 | PR fortran/3393 |
9650 | * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well. | |
9651 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
9652 | ||
794ad79d RH |
9653 | PR fortran/3392 |
9654 | * config/mips/mips.c (function_arg): Handle TImode. | |
9655 | (function_arg_advance): Likewise. | |
9656 | ||
8f909017 AH |
9657 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
9658 | ||
c13db5d1 JM |
9659 | * config/rs6000/altivec.h (vec_step_help): Rename to |
9660 | __vec_step_help. | |
8f909017 | 9661 | |
66daa9e3 AH |
9662 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
9663 | ||
c13db5d1 | 9664 | * config/rs6000/altivec.h: Fix typos. |
66daa9e3 | 9665 | |
2696e97b JT |
9666 | 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com> |
9667 | ||
9668 | * config/arm/netbsd.h: Correct a comment. | |
9669 | ||
3deb2758 AH |
9670 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
9671 | ||
c13db5d1 JM |
9672 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo |
9673 | building void typed builtins. | |
3deb2758 | 9674 | |
c13db5d1 JM |
9675 | * config/rs6000/altivec.h (vec_ld*): Fix typos. |
9676 | (vec_step): Implement for C++. | |
3deb2758 | 9677 | |
c13db5d1 | 9678 | Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2c79137a RK |
9679 | |
9680 | * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND. | |
9681 | ||
ebbb0a63 RH |
9682 | 2002-02-04 Richard Henderson <rth@redhat.com> |
9683 | ||
9684 | * combine.c (nonzero_bits): Re-introduce special case for | |
9685 | sp/fp/ap wrt REGNO_POINTER_ALIGN. | |
9686 | ||
ae4b4a02 AH |
9687 | 2002-02-05 Aldy Hernandez <aldyh@redhat.com> |
9688 | ||
c13db5d1 JM |
9689 | * doc/extend.texi: Warn about unsupported usage of altivec |
9690 | builtins. | |
ae4b4a02 | 9691 | |
c13db5d1 JM |
9692 | * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove. |
9693 | (altivec_predicate_*): New. | |
ae4b4a02 | 9694 | |
c13db5d1 JM |
9695 | * config/rs6000/altivec.h: Rewrite predicates to use new builtins. |
9696 | Add C++ version of vec_*() functions. | |
ae4b4a02 | 9697 | |
c13db5d1 JM |
9698 | * config/rs6000/rs6000.c (bdesc_altivec_preds): New. |
9699 | (bdesc_2arg): Remove altivec predicates. | |
9700 | (altivec_expand_builtin): Handle predicates. | |
9701 | (altivec_init_builtins): Handle predicates. | |
9702 | (altivec_expand_predicate_builtin): New. | |
ae4b4a02 | 9703 | |
f6bcf44c JDA |
9704 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9705 | ||
9706 | * pa.c (DO_FRAME_NOTES): Move forward. | |
9707 | (store_reg): Revise handling of frame notes. | |
9708 | (load_reg): Likewise. | |
9709 | (set_reg_plus_d): Likewise. | |
9710 | (hppa_expand_prologue): Likewise. | |
9711 | (hppa_expand_epilogue): Likewise. | |
b137f9fc | 9712 | |
703b0080 JDA |
9713 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9714 | ||
9715 | * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined. | |
9716 | ||
6f9fdf4d JJ |
9717 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
9718 | ||
9719 | PR c/4475, c++/3780: | |
9720 | * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand. | |
9721 | * c-common.h (SWITCH_TYPE): Define. | |
9722 | * c-typeck.c (c_start_case): Set SWITCH_TYPE. | |
9723 | * stmt.c (all_cases_count): Set lastval to thisval at end of loop. | |
9724 | Rename spareness variable to sparseness. | |
9725 | (expand_end_case_type): Renamed from expand_end_case, use orig_type | |
9726 | if non-NULL instead of TREE_TYPE (orig_index). | |
9727 | * tree.h (expand_end_case_type): Renamed from expand_end_case. | |
9728 | (expand_end_case): Define using expand_end_case_type. | |
9729 | * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE | |
9730 | to expand_end_case_type. | |
9731 | * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE. | |
9732 | ||
79109502 JDA |
9733 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9734 | ||
9735 | * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. | |
9736 | (BIGGEST_ALIGNMENT): Change to 128. | |
9737 | ||
e62a5987 JDA |
9738 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9739 | ||
9740 | * pa32-linux.h (LINK_COMMAND_SPEC): Define. | |
9741 | ||
219f24a4 JDA |
9742 | 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca> |
9743 | ||
9744 | * pa.md (call_internal_reg_64bit): Remove unused variable. | |
9745 | ||
3cb66fd7 NC |
9746 | 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com> |
9747 | ||
9748 | * config/arm/arm.h (machine_function): Add uses_anonymous_args | |
9749 | field. | |
831c4e87 | 9750 | (SETUP_INCOMING_VARARGS): Set uses_anonymous_args. |
3cb66fd7 | 9751 | * config/arm/arm.c (current_function_anonymous_args): Delete, |
831c4e87 KC |
9752 | replace uses with cfun->machine->uses_anonymous_args. |
9753 | (arm_reorg): Do not reset uses_anonymous_args. | |
3cb66fd7 NC |
9754 | |
9755 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in | |
9756 | any geenral register. | |
b137f9fc | 9757 | |
5d5603e2 | 9758 | 2001-02-04 Bernd Schmidt <bernds@redhat.com>s |
24c545ff BS |
9759 | |
9760 | * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect | |
9761 | the entry block. | |
9762 | ||
563c12b0 RH |
9763 | 2002-02-04 Richard Henderson <rth@redhat.com> |
9764 | ||
9765 | * combine.c (force_to_mode): Remove STACK_BIAS code. | |
9766 | (nonzero_bits): Likewise. Replace sp/fp special case with | |
9767 | REGNO_POINTER_ALIGN. | |
9768 | ||
9769 | * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP. | |
9770 | (HARD_FRAME_POINTER_REGNUM): New. | |
9771 | (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update. | |
9772 | (FIXED_REGS, CALL_USED_REGS): Update. | |
9773 | (REG_ALLOC_ORDER, REGISTER_NAMES): Update. | |
9774 | (CONDITIONAL_REGISTER_USAGE): Update for HFP. | |
9775 | (HARD_REGNO_NREGS): Update for SFP. | |
9776 | (STACK_POINTER_OFFSET): Include bias here ... | |
9777 | (FIRST_PARM_OFFSET): ... not here. | |
9778 | (STACK_BIAS): Remove. | |
9779 | (INIT_EXPANDERS): New. | |
9780 | (STARTING_FRAME_OFFSET): Do not include bias. | |
9781 | (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New. | |
9782 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP. | |
9783 | (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise. | |
9784 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP. | |
9785 | * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise. | |
9786 | * config/sparc/sparc.c (mem_min_alignment): Update for HFP. | |
9787 | (sparc_nonflat_function_prologue, epilogue_renumber): Likewise. | |
9788 | (MUST_SAVE_REGISTER): Likewise. | |
9789 | (sparc_flat_function_prologue): Likewise. | |
9790 | (sparc_flat_function_epilogue): Likewise. | |
9791 | (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK. | |
9792 | (sparc_init_modes): SFP is GENERAL_REGS. | |
9793 | (sparc_builtin_saveregs): SFP does not have bias applied. | |
9794 | ||
14691f8d RH |
9795 | 2002-02-04 Richard Henderson <rth@redhat.com> |
9796 | ||
9797 | * config/alpha/alpha.c (current_function_is_thunk): Don't check | |
9798 | current_function_is_thunk. | |
9799 | (alpha_sa_mask): Distinguish between current_function_is_thunk | |
9800 | called from ASM_OUTPUT_MI_THUNK and not. | |
9801 | (alpha_does_function_need_gp): Thunks always need gp. | |
9802 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
9803 | (alpha_output_mi_thunk_osf): New. | |
9804 | * config/alpha/alpha-protos.h: Update. | |
9805 | * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New. | |
9806 | ||
af702de8 RS |
9807 | 2002-02-04 Richard Sandiford <rsandifo@redhat.com> |
9808 | ||
9809 | * c-typeck.c (build_c_cast): Warn when qualifiers are added to | |
9810 | function types, not when they're taken away. | |
9811 | ||
5b1cacd8 JL |
9812 | Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com) |
9813 | ||
9814 | * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated | |
9815 | CODE_LABEL and jump table when replacing a table jump with a | |
9816 | simple jump. | |
9817 | ||
f3e9edff UW |
9818 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
9819 | ||
9820 | * config/s390/s390-protos.h (legitimize_la_operand, | |
9821 | s390_secondary_input_reload_class, s390_plus_operand, | |
9822 | s390_expand_plus_operand): Add prototypes. | |
9823 | ||
9824 | config/s390/s390.c (s390_secondary_input_reload_class, | |
9825 | s390_plus_operand, s390_expand_plus_operand): New functions. | |
9826 | ||
9827 | (struct s390_address): New member 'pointer'. | |
9828 | (s390_decompose_address): Compute it. | |
9829 | (legitimate_la_operand_p): Use it. | |
9830 | (legitimize_la_operand): New function. | |
9831 | (movti, movdi, movdf splitters): Call it. | |
9832 | ||
9833 | config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define. | |
9834 | (PREDICATE_CODES): Add s390_plus_operand. | |
9835 | ||
9836 | config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete. | |
9837 | (la_ccclobber): Allow GENERAL_REGS as output operand. | |
9838 | ||
9839 | (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0, | |
9840 | *reload_la_64, *reload_la_31 and splitters): Delete, replace by ... | |
9841 | (*la_64, *la_31, reload_indi, reload_insi): ... these. | |
9842 | ||
3c9a08ec UW |
9843 | 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
9844 | ||
9845 | * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed | |
9846 | register names for regular asm () construct. | |
9847 | ||
ac300a45 JJ |
9848 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
9849 | ||
9850 | * config/i386/i386.md (movsf_1): Allow moving SF values in MMX | |
9851 | registers. | |
9852 | ||
fa852403 JJ |
9853 | 2002-02-04 Jakub Jelinek <jakub@redhat.com> |
9854 | ||
9855 | * combine.c (recog_for_combine): Create a dummy insn with PATTERN | |
9856 | pat for recog. | |
9857 | ||
fecaac37 HP |
9858 | 2002-02-04 Hartmut Penner <hpenner@de.ibm.com> |
9859 | ||
831c4e87 KC |
9860 | * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in |
9861 | constant pool to be identical by string address and index. | |
fecaac37 | 9862 | |
10c45943 AG |
9863 | 2002-02-04 Anthony Green <green@redhat.com> |
9864 | ||
9865 | * output.h (SECTION_OVERRIDE): Define. | |
9866 | * varasm.c (named_section): Obey SECTION_OVERRIDE. | |
9867 | ||
69474c3c JT |
9868 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
9869 | ||
9870 | * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match | |
9871 | by existing arm*-*-netbsd* (a.out) target. | |
9872 | (ns32k-*-netbsdelf*): Likewise. | |
9873 | (sparc-*-netbsdelf*): Likewise. | |
9874 | (vax-*-netbsdelf*): Likewise. | |
9875 | ||
939a46f6 | 9876 | 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net> |
3b56934f CF |
9877 | |
9878 | * gthr-win32.h: Protect against conflicting typedef for BOOL in windows | |
9879 | headers and libobjc headers. | |
9880 | ||
9881 | 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu> | |
9882 | ||
9883 | * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. | |
9884 | (_mingw.h): Remove duplicate include. | |
9885 | ||
2fd95d71 JT |
9886 | 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com> |
9887 | ||
9888 | * config.gcc: Set cpu_type to m68k for 68010, as well. | |
9889 | (m68010-*-netbsdelf*): New... | |
9890 | (m68k*-*-netbsdelf*): ...targets. | |
9891 | * config/m68k/netbsd-elf.h: New file. | |
9892 | ||
0ea6f6a0 KH |
9893 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
9894 | ||
9895 | * config/h8300/h8300.c (hand_list): Move inside function_arg. | |
9896 | ||
cbf1b2da KH |
9897 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
9898 | ||
9899 | * config/h8300/h8300.c (h8_push_ops): Move inside | |
9900 | h8300_init_once. | |
9901 | (h8_pop_ops): Likewise. | |
9902 | (h8_move_ops): Likewise. | |
9903 | ||
0869f126 KH |
9904 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
9905 | ||
9906 | * config/h8300/h8300.c (os_task): Make it static. | |
9907 | (monitor): Likewise. | |
9908 | (pragma_saveall): Likewise. | |
9909 | ||
90e65b70 AO |
9910 | 2002-02-02 Alexandre Oliva <aoliva@redhat.com> |
9911 | ||
9912 | * config/sh/sh.md (ic_invalidate_line): Make sure the immediate | |
9913 | constant is a valid sign-extension for Pmode. | |
9914 | ||
9cbcd983 KH |
9915 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
9916 | ||
9917 | * config/h8300/h8300.c: Fix formatting. | |
9918 | ||
7a27efc4 KH |
9919 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
9920 | ||
9921 | * config/h8300/h8300.md: Fix formatting. | |
9922 | ||
54175a44 KH |
9923 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
9924 | ||
9925 | * config/h8300/h8300.md (one_cmpl patterns): Tighten the | |
9926 | predicates of operands[1]. Split the patterns for each | |
9927 | processor variant. | |
9928 | ||
eceb1755 KH |
9929 | 2002-02-02 Kazu Hirata <kazu@hxi.com> |
9930 | ||
9931 | * config/h8300/h8300.md (xor patterns): Tighten the predicates | |
9932 | of operands[1] to register_operand. | |
9933 | ||
0fef3fd0 NB |
9934 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
9935 | ||
9936 | * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__. | |
9937 | * cpphash.c (_cpp_init_hashtable): Similarly. | |
9938 | * cppinit.c (cpp_create_reader): Default the signed_char flag. | |
9939 | (init_builtins): Define __CHAR_UNSIGNED__ appropriately. | |
9940 | (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char. | |
9941 | (cpp_handle_option): Handle the new options. | |
9942 | * cpplex.c (cpp_interpret_charconst): Use new flag. | |
9943 | * cpplib.h (struct cpp_options): New member signed_char. | |
9944 | * gcc.c (cpp_unique_options): Remove %c spec and documentation. | |
9945 | (cpp_options): Handle -fsigned-char and -funsigned-char. | |
9946 | (static_specs): Remove signed_char_spec. | |
9947 | (do_spec1): Don't handle %c. | |
9948 | * system.h: Poison SIGNED_CHAR_SPEC. | |
9949 | * tradcif.y (yylex): Use flag_signed_char. | |
9950 | * tradcpp.h (flag_signed_char): New. | |
9951 | * tradcpp.c (flag_signed_char): New. | |
9952 | (main): Handle new command-line options. | |
9953 | (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate. | |
9954 | config: | |
9955 | * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove. | |
9956 | * avr/avr.h: Remove old comments. | |
9957 | * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*. | |
9958 | (CC1_SPEC): Pass -fsigned-char if -mic*. | |
9959 | (SIGNED_CHAR_SPEC): Remove. | |
9960 | doc: | |
9961 | * tm.texi (SIGNED_CHAR_SPEC): Remove documentation. | |
9962 | ||
0617ed52 EC |
9963 | 2002-02-01 Eric Christopher <echristo@redhat.com> |
9964 | ||
9965 | From Daniel Jacobowitz <dmj+@andrew.cmu.edu> | |
9966 | * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling. | |
9967 | * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine. | |
9968 | (ASM_OUTPUT_REG_POP): Ditto. | |
9969 | ||
dfd48d76 NB |
9970 | 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk> |
9971 | ||
9972 | * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield | |
9973 | patch. | |
9974 | ||
4a23409e JJ |
9975 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
9976 | ||
9977 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators. | |
9978 | ||
d3c52658 JJ |
9979 | 2002-02-02 Jakub Jelinek <jakub@redhat.com> |
9980 | ||
9981 | PR c/5304: | |
9982 | * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1 | |
9983 | unconditionally. | |
9984 | ||
02c5a3bd JJ |
9985 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
9986 | ||
9987 | * cfganal.c: Include tm_p.h. | |
9988 | (keep_with_call_p): Fix the test that determines if a register holds | |
9989 | the return value of a call. | |
9990 | ||
3968de80 DD |
9991 | 2002-02-01 DJ Delorie <dj@redhat.com> |
9992 | ||
9993 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If | |
9994 | we are given conflicting registers, switch to the other one we | |
9995 | had allocated for us. | |
9996 | * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2] | |
9997 | as TImode so we know when the "other" register is available. | |
9998 | ||
1338ea6c DB |
9999 | 2002-02-01 David O'Brien <obrien@FreeBSD.org> |
10000 | ||
10001 | * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than | |
10002 | sparc/sparc_bi.h. | |
10003 | ||
f015be23 JJ |
10004 | 2002-02-01 Janis Johnson <janis187@us.ibm.com> |
10005 | ||
10006 | * cfganal.c (keep_with_call_p): New function. | |
10007 | (flow_call_edges_add): Prevent splitting a block between a call and | |
10008 | a single-set instruction that should be kept in the same block. | |
10009 | ||
63708ffc CR |
10010 | 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org> |
10011 | ||
10012 | * doc/install.texi (avr): Update outdated URL. | |
10013 | ||
5ee4950e AH |
10014 | 2002-01-30 Andrew Haley <aph@cambridge.redhat.com> |
10015 | ||
831c4e87 KC |
10016 | * config/stormy16/stormy16.md (pushqi): New. |
10017 | (popqi): New. | |
10018 | (pushhi): New. | |
10019 | (pophi): New. | |
10020 | (movhi): Remove stack operands. | |
10021 | (movqi): Likewise. | |
10022 | * config/stormy16/stormy16.h (PREDICATE_CODES): Add | |
10023 | nonimmediate_nonstack_operand. | |
10024 | * config/stormy16/stormy16.c (nonimmediate_nonstack_operand): | |
10025 | New. | |
10026 | * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand) | |
10027 | New. | |
5ee4950e | 10028 | |
b88c0704 JM |
10029 | 2002-01-31 Jason Merrill <jason@redhat.com> |
10030 | ||
10031 | * Makefile.in (c-parse.c): Handle .output file. | |
10032 | * objc/Make-lang.in (objc-parse.c): Likewise. | |
10033 | ||
ac282977 AO |
10034 | 2002-02-01 Alexandre Oliva <aoliva@redhat.com> |
10035 | ||
10036 | * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if | |
10037 | the -me[lb] option is given. Don't output the default flag | |
10038 | twice. | |
10039 | ||
bebc7e8b ZW |
10040 | 2002-01-31 Zack Weinberg <zack@codesourcery.com> |
10041 | ||
10042 | * c-lex.c (yyparse): Call debug_hooks->start_source_file for | |
10043 | the primary source file; this has not been done yet. | |
10044 | * c-decl.c (c_expand_body): Reset input_filename from | |
10045 | DECL_SOURCE_FILE (fndecl) before calling init_function_start. | |
10046 | ||
5809eb5f KH |
10047 | 2002-01-31 Kazu Hirata <kazu@hxi.com> |
10048 | ||
10049 | * rtlanal.c (subreg_regno_offset): Do not use | |
10050 | SUBREG_REGNO_OFFSET. | |
10051 | * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list. | |
10052 | * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove. | |
10053 | ||
8512bbd7 JM |
10054 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
10055 | ||
10056 | * gccbug.in: Follow GNU Coding Standards for --version. Use GCC | |
10057 | version rather than GNATS version in --version output. | |
10058 | ||
74cb3cc8 RS |
10059 | 2002-01-31 Richard Sandiford <rsandifo@redhat.com> |
10060 | ||
10061 | * ifcvt.c (noce_process_if_block): Make a copy of the destination | |
10062 | when copying back from a temporary. | |
10063 | ||
874b5b14 RH |
10064 | 2002-01-30 Richard Henderson <rth@redhat.com> |
10065 | ||
10066 | * ifcvt.c (dead_or_predicable): Handling merging when other_bb | |
10067 | and new_dest are the same. | |
10068 | ||
e803a64b RH |
10069 | 2002-01-30 Richard Henderson <rth@redhat.com> |
10070 | ||
89cf7be5 | 10071 | PR opt/5076 |
e803a64b RH |
10072 | * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New. |
10073 | * rtl.c (note_insn_name): Update. | |
10074 | * emit-rtl.c (remove_unnecessary_notes): Kill it. | |
10075 | * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND | |
10076 | to perform loop rotation. | |
10077 | (expand_exit_loop_top_cond): New. | |
10078 | * tree.h (expand_exit_loop_top_cond): Declare it. | |
10079 | * c-semantics.c (genrtl_while_stmt): Use it. | |
10080 | (genrtl_for_stmt): Likewise. | |
10081 | ||
0b51254d AO |
10082 | 2002-01-30 Alexandre Oliva <aoliva@redhat.com> |
10083 | ||
10084 | * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of | |
10085 | arguments to 64-bit boundaries on 64-bit ABIs. | |
10086 | ||
71cef493 SE |
10087 | 2002-01-30 Steve Ellcey <sje@cup.hp.com> |
10088 | ||
10089 | * loop.c (loop_invariant_p): Special case pic_offset_table_rtx. | |
10090 | ||
6169e5fd JM |
10091 | 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk> |
10092 | ||
10093 | * c-decl.c (grokdeclarator): Handle type being a typedef for an | |
10094 | invalid type. | |
10095 | ||
86f808dc DB |
10096 | 2002-01-30 David O'Brien <obrien@FreeBSD.org> |
10097 | ||
10098 | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. | |
10099 | * config/sparc/sparc_bi.h: Remove file. | |
10100 | * config/sparc/biarch64.h: New file (rename of sparc_bi.h). | |
10101 | ||
5748ebeb RH |
10102 | 2002-01-30 Richard Henderson <rth@redhat.com> |
10103 | ||
10104 | * sched-deps.c (sched_analyze): Make a call read the frame pointer. | |
10105 | ||
20d32cc2 ZW |
10106 | 2002-01-30 Zack Weinberg <zack@codesourcery.com> |
10107 | ||
10108 | * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1. | |
10109 | ||
b88c0704 | 10110 | 2002-01-30 Jason Merrill <jason@redhat.com> |
6bb28965 JM |
10111 | |
10112 | * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes. | |
10113 | (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended. | |
10114 | (reg_save): Use DW_CFA_offset_extended_sf instead. | |
10115 | ||
10116 | * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors. | |
10117 | ||
37060e78 JJ |
10118 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
10119 | ||
10120 | * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result | |
10121 | in cselib_lookup. | |
10122 | ||
d18dba68 AH |
10123 | 2002-01-29 Aldy Hernandez <aldyh@redhat.com> |
10124 | ||
bebc7e8b ZW |
10125 | * rs6000.md ("*call_value_local32"): Remove constraints. |
10126 | ("*call_value_local64"): Same. | |
10127 | ("*call_value_indirect_nonlocal_aix32"): Same. | |
10128 | ("*call_value_nonlocal_aix32"): Same. | |
10129 | ("*call_value_indirect_nonlocal_aix64"): Same. | |
10130 | ("*call_value_nonlocal_aix64"): Same. | |
10131 | ("*call_value_nonlocal_sysv"): Same. | |
d18dba68 | 10132 | |
80a8aac6 RH |
10133 | 2002-01-29 Richard Henderson <rth@redhat.com> |
10134 | ||
10135 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef. | |
10136 | ||
12beba6f RH |
10137 | 2002-01-29 Richard Henderson <rth@redhat.com> |
10138 | ||
10139 | * expr.c (force_operand): Ignore flag_pic for detecting pic | |
10140 | address loads. | |
10141 | * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic | |
10142 | for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered. | |
10143 | * resource.c (mark_target_live_regs): Use regs_invalidated_by_call | |
10144 | instead of open-coded loop. | |
10145 | * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must | |
10146 | be fixed when in use. | |
10147 | ||
2583081e RH |
10148 | 2002-01-29 Richard Henderson <rth@redhat.com> |
10149 | ||
10150 | * sched-int.h (struct deps_reg): Add uses_length, clobbers_length. | |
10151 | * sched-rgn.c (propagate_deps): Update them. | |
10152 | * sched-deps.c (sched_analyze_insn): Update them. Flush the | |
10153 | clobbers list when either gets too long. | |
10154 | ||
3b8d200e JJ |
10155 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
10156 | ||
10157 | * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS | |
10158 | and INDEX_REGS the same as GENERAL_REGS. | |
10159 | (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. | |
10160 | ||
2d3115eb NB |
10161 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
10162 | ||
bebc7e8b | 10163 | * tree.c (build_nonstandard_integer_type): Correct prototype. |
2d3115eb | 10164 | |
ecbe845e UW |
10165 | 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com> |
10166 | ||
bebc7e8b | 10167 | * config/s390/s390.md (movstrsico, movstrdix_64, |
ecbe845e | 10168 | movstrsix_31): Remove, replace by ... |
bebc7e8b | 10169 | (movstrdi_short, movstrsi_short, movstrdi_long, |
ecbe845e UW |
10170 | movstrsi_long): ... these. New. |
10171 | (movstrdi, movstrsi): Adapt. | |
10172 | ||
10173 | (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64, | |
bebc7e8b | 10174 | ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3): |
ecbe845e UW |
10175 | Remove unnecessary CC clobber. |
10176 | (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64, | |
10177 | *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New. | |
10178 | ||
10179 | (divmoddi4): Don't partially initialize TImode register. | |
10180 | ||
0b32fca5 GK |
10181 | 2002-01-29 Geoffrey Keating <geoffk@redhat.com> |
10182 | ||
10183 | * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory. | |
10184 | ||
08ef5437 RH |
10185 | 2002-01-29 Richard Henderson <rth@redhat.com> |
10186 | ||
10187 | * flow.c (print_rtl_and_abort): Remove. | |
10188 | (print_rtl_and_abort_fcn): Remove. | |
10189 | (verify_local_live_at_start): Use dump_bb instead. | |
10190 | (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints. | |
10191 | (verify_wide_reg_1): Return 2 on mode test failure. | |
10192 | ||
8469e54e NB |
10193 | 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk> |
10194 | ||
10195 | PR c/3325, c/3326, c/2511, c/3347 | |
10196 | * c-decl.c (enum_decl_context): Remove BITFIELD. | |
10197 | (grokdeclarator): Take bitfield width as an input. | |
10198 | Ensure bitfields are given the correct type. Perform | |
10199 | bitfield width validation with build_bitfield_integer_type | |
10200 | rather than waiting for finish_struct. | |
10201 | (grok_typename, grok_typename_in_parm_context, start_decl, | |
10202 | push_parmdecl, grokfield, start_function): Update calls to | |
10203 | grokdeclarator. | |
10204 | (build_bitfield_integer_type): New function. | |
10205 | (finish_struct): Move bitfield validation to grokdeclarator | |
bebc7e8b | 10206 | and build_bitfield_integer_type. |
8469e54e NB |
10207 | * tree.c (build_nonstandard_integer_type): New function. |
10208 | * tree.h (build_nonstandard_integer_type): New prototype. | |
10209 | objc: | |
10210 | * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge. | |
10211 | ||
ffdeea47 JJ |
10212 | 2002-01-29 Jakub Jelinek <jakub@redhat.com> |
10213 | ||
10214 | PR other/1502: | |
10215 | * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero, | |
10216 | don't ignore unrecognized -W* options. | |
10217 | (cpp_handle_options): Pass 1 as last argument to cpp_handle_option. | |
10218 | * cpplib.h (cpp_handle_option): Adjust prototype. | |
10219 | * c-decl.c (c_decode_options): Pass 0 as last argument to | |
10220 | cpp_handle_option. | |
10221 | ||
10222 | PR c/2896: | |
10223 | * gcc.c (cpp_unique_options): Split from cpp_options. | |
10224 | (cpp_options): Source cpp_unique_options. | |
10225 | (default_compilers): Use cpp_unique_options instead of cpp_options | |
10226 | when used together with cc1_options. | |
10227 | (static_specs): Add cpp_unique_options. | |
10228 | * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options | |
10229 | when used together with cc1_options. | |
10230 | ||
1a275226 KH |
10231 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
10232 | ||
10233 | * config/h8300/h8300-protos.h: Update the prototype of | |
10234 | output_a_shift. | |
10235 | * config/h8300/h8300.c (output_a_shift): Remove an unused | |
10236 | argument 'insn'. Remove redundant code. | |
10237 | * config/h8300/h8300.md: Adust to the new prototype of | |
10238 | output_a_shift. | |
10239 | ||
a11d9dfc KH |
10240 | 2002-01-29 Kazu Hirata <kazu@hxi.com> |
10241 | ||
10242 | * config/h8300/h8300-protos.h: Update the prototypes of | |
10243 | emit_a_rotate and expand_a_rotate. | |
10244 | * config/h8300/h8300.c (emit_a_rotate): Change the type of the | |
10245 | first argument to 'enum rtx_code'. | |
10246 | (expand_a_rotate): Likewise. | |
10247 | ||
871f73e3 KH |
10248 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
10249 | ||
10250 | * config/h8300/h8300-protos.h: Update the prototype of | |
10251 | output_simode_bld. | |
10252 | * config/h8300/h8300.c (output_simode_bld): Remove an argumen | |
10253 | 'log2'. | |
10254 | * config/h8300/h8300.md: Adjust to the new prototype. | |
10255 | ||
5fc4b751 KH |
10256 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
10257 | ||
10258 | * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove | |
10259 | redundant code. | |
10260 | ||
2d67bd7b JDA |
10261 | 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10262 | ||
10263 | * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM | |
10264 | is a fixed register before returning pic_offset_table_rtx. | |
10265 | * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx | |
10266 | when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined. | |
10267 | ||
5a852b3e JM |
10268 | 2002-01-28 Jason Merrill <jason@redhat.com> |
10269 | ||
6bb28965 | 10270 | * dwarf2.h: Sync with src version. |
5a852b3e | 10271 | |
3bca17dd PK |
10272 | 2002-01-28 Paul Koning <pkoning@equallogic.com> |
10273 | ||
10274 | * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace | |
10275 | BT_FN_VOID_PTR_VAR. | |
10276 | * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const. | |
10277 | * doc/extend.texi (__builtin_prefetch): Update documentation: | |
10278 | first argument is now const void ptr. | |
10279 | ||
7dc3f8c0 KH |
10280 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
10281 | ||
10282 | * config/h8300/h8300-protos.h: Remove an unused prototype. | |
10283 | ||
e83cb5f0 RZ |
10284 | 2002-01-28 Roman Zippel <zippel@linux-m68k.org> |
10285 | ||
10286 | * toplev.c (lang_independent_init): Round up identifier size. | |
10287 | ||
5721cd84 RE |
10288 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
10289 | ||
10290 | * config.gcc: Revert previous change. | |
10291 | ||
d534119e AP |
10292 | 2002-01-28 Andris Pavenis <pavenis@latnet.lv> |
10293 | ||
10294 | * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION | |
10295 | ||
5a721dab RE |
10296 | 2002-01-28 Richard Earnshaw <rearnsha@arm.com> |
10297 | ||
10298 | * config.gcc (*-*-netbsdelf*): Set up generic parameters. | |
10299 | (*-*-netbsd*): Always use collect2. Remove collect2 settings from | |
10300 | other non-elf netbsd config frags. | |
10301 | * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since | |
10302 | collect2 will does that. | |
10303 | * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that | |
10304 | shared-lib frobbing will work. | |
10305 | ||
da1775d6 KH |
10306 | 2002-01-28 Kazu Hirata <kazu@hxi.com> |
10307 | ||
10308 | * config/h8300/h8300.h: Fix formatting. | |
10309 | * config/h8300/h8300.md: Likewise. | |
10310 | ||
8f2e963b LR |
10311 | 2002-01-28 Loren J. Rittle <ljrittle@acm.org> |
10312 | ||
10313 | * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on | |
10314 | the old, removed AAA_standards fix. | |
10315 | * fixinc/fixincl.x: Rebuilt. | |
10316 | ||
fdae5767 HPN |
10317 | 2002-01-28 Hans-Peter Nilsson <hp@axis.com> |
10318 | ||
10319 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit | |
10320 | atexit call in crtbegin, hooked in after call to frame_dummy; | |
10321 | register EH before registering __fini__start. | |
10322 | ||
2a2ecb63 AH |
10323 | 2002-01-28 Aldy Hernandez <aldyh@redhat.com> |
10324 | ||
10325 | * config/rs6000/altivec.h: Remove spurious semicolons. | |
10326 | ||
8ed43adf KH |
10327 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
10328 | ||
10329 | * config/h8300/h8300.md: Replace dead bit extraction patterns | |
10330 | with ones that work. | |
10331 | ||
917afb0c RK |
10332 | Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10333 | ||
10334 | * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode | |
10335 | if not STRICT_ALIGNMENT. | |
10336 | * rtl.h (MEM_ALIGN): Likewise. | |
10337 | ||
f70a54cb CR |
10338 | 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org> |
10339 | ||
10340 | * doc/invoke.texi (-fdump-translation-unit): Revert this | |
10341 | patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org> | |
10342 | ||
d8fd4914 KH |
10343 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
10344 | ||
10345 | * config/h8300/h8300.md (define_constants): New. | |
10346 | (anonymous patterns) Use defined constants appropriately. | |
10347 | ||
15e0e275 KH |
10348 | 2002-01-27 Kazu Hirata <kazu@hxi.com> |
10349 | ||
10350 | * config/h8300/h8300.c (function_arg): Remove redundant code. | |
10351 | ||
37a0f8a5 RH |
10352 | 2002-01-26 Richard Henderson <rth@redhat.com> |
10353 | ||
10354 | * sched-deps.c (reg_pending_uses_head): New. | |
10355 | (reg_pending_barrier): Rename from reg_pending_sets_all. | |
10356 | (find_insn_list): Don't mark inline. | |
10357 | (find_insn_mem_list): Remove. | |
10358 | (add_dependence_list, add_dependence_list_and_free): New. | |
10359 | (flush_pending_lists): Replace only_write param with separate | |
10360 | for_read and for_write parameters. Update all callers. Use | |
10361 | add_dependence_list_and_free. | |
10362 | (sched_analyze_1): Do not add reg dependencies here; just set | |
10363 | the pending bits. Use add_dependence_list. | |
10364 | (sched_analyze_2): Likewise. | |
10365 | (sched_analyze_insn): Replace schedule_barrier_found with | |
10366 | reg_pending_barrier. Add all dependencies for pending reg | |
10367 | uses, sets, and clobbers. | |
10368 | (sched_analyze): Don't add reg dependencies for calls, just | |
10369 | set pending bits. Use regs_invalidated_by_call. Treat | |
10370 | sched_before_next_call as a normal list, not a fake insn. | |
10371 | (init_deps): No funny init for sched_before_next_call. | |
10372 | (free_deps): Free pending mems lists. Don't zero reg_last. | |
10373 | (init_deps_global): Init reg_pending_uses. | |
10374 | (finish_deps_global): Free it. | |
10375 | * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs. | |
10376 | (find_insn_mem_list): Remove. | |
10377 | * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New. | |
10378 | (propagate_deps): Use them. Zero temp mem lists. | |
10379 | ||
cea3bd3e RH |
10380 | 2002-01-26 Richard Henderson <rth@redhat.com> |
10381 | ||
10382 | * Makefile.in (CRTSTUFF_CFLAGS): New. | |
10383 | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. | |
10384 | * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain | |
10385 | crtstuff.c instead of alpha assembly version. | |
10386 | * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the | |
10387 | entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN | |
10388 | not FORCE_{INIT,FINI}_SECTION_ALIGN. | |
10389 | (__do_global_dtors_aux): Mark used. | |
10390 | (frame_dummy, __do_global_ctors_aux): Mark used. | |
10391 | (fini_dummy, init_dummy): Remove. | |
10392 | ||
10393 | * config/alpha/crtbegin.asm: Remove file. | |
10394 | * config/alpha/crtend.asm: Remove file. | |
10395 | * config/alpha/t-crtbe: Remove file. | |
10396 | * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. | |
10397 | (LINK_EH_SPEC): New. | |
10398 | ||
10399 | * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old | |
10400 | FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before | |
10401 | calling constructors. | |
10402 | * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. | |
10403 | ||
10404 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. | |
10405 | * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old | |
10406 | CRT_END_INIT_DUMMY hack. | |
10407 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace | |
10408 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
10409 | ||
10410 | * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace | |
10411 | FORCE_{INIT,FINI}_SECTION_ALIGN. | |
10412 | ||
10413 | * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new | |
10414 | invocation sequence. | |
10415 | * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. | |
10416 | ||
10417 | * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. | |
10418 | (FORCE_CODE_SECTION_ALIGN): New. | |
10419 | ||
60ffa0e5 RH |
10420 | 2002-01-26 Richard Henderson <rth@redhat.com> |
10421 | ||
10422 | * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT. | |
10423 | ||
61334ebe RH |
10424 | 2002-01-26 Richard Henderson <rth@redhat.com> |
10425 | ||
10426 | * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too. | |
10427 | (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs. | |
10428 | ||
1d788fb6 KH |
10429 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
10430 | ||
10431 | * config/h8300/h8300.md: Remove bit extraction patterns that | |
10432 | cannot be triggered. | |
10433 | Restrict each bit extraction pattern to a variant on which the | |
10434 | pattern is tested. | |
10435 | ||
87611f88 JM |
10436 | 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk> |
10437 | ||
10438 | * doc/include/texinfo.tex: Update to version 2002-01-04.07. | |
10439 | ||
cd74ec59 KH |
10440 | 2002-01-26 Kazu Hirata <kazu@hxi.com> |
10441 | ||
10442 | * config/h8300/h8300.md: Remove bit test patterns that cannot | |
10443 | be triggered. | |
10444 | Restrict each bit test pattern to a variant on which the | |
10445 | pattern is tested. | |
10446 | ||
93051e0f KG |
10447 | 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10448 | ||
10449 | * builtins.c (expand_builtin_strncat): Remove redundant check for | |
10450 | INTEGER_CST. | |
10451 | ||
216c995f DB |
10452 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
10453 | ||
10454 | * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide | |
10455 | default setting. | |
10456 | * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override | |
10457 | existing setting. | |
10458 | ||
33c7f925 GK |
10459 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
10460 | ||
10461 | * dbxout.c (dbxout_init): Use assemble_name rather than just | |
10462 | stripping off the first character. | |
10463 | (dbxout_source_file): Likewise. | |
10464 | ||
6cd444b4 DD |
10465 | 2002-01-25 DJ Delorie <dj@redhat.com> |
10466 | ||
10467 | * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare | |
10468 | using rtx_equal_p, not by comparing pointers. | |
10469 | ||
751551d5 SE |
10470 | 2002-01-25 Steve Ellcey <sje@cup.hp.com> |
10471 | ||
10472 | * emit-rtl.c (gen_rtx_REG): Always return the same rtx | |
10473 | for PIC_OFFSET_TABLE_REGNUM. | |
10474 | (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx. | |
10475 | ||
e564e618 DB |
10476 | 2002-01-25 David O'Brien <obrien@FreeBSD.org> |
10477 | ||
10478 | * config.gcc (x86_64-*-freebsd*): New target. | |
10479 | (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its | |
10480 | value. | |
10481 | (i[34567]86-*-freebsd*): Don't include svr4.h. | |
10482 | * config/i386/freebsd64.h: New file. | |
10483 | ||
ff3aaf17 DR |
10484 | 2002-01-25 Douglas B Rupp <rupp@gnat.com> |
10485 | ||
4857d29d DR |
10486 | * config/alpha/x-vms (version): Make static. |
10487 | ||
10488 | * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error | |
10489 | in previous checkin. | |
10490 | ||
ff3aaf17 DR |
10491 | * Makefile.in (install-headers-cp): New target. |
10492 | * config.gcc (alpha-dec-*vms*): Install headers with | |
10493 | install-headers-cp | |
10494 | ||
48d79c43 JH |
10495 | Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz> |
10496 | ||
10497 | * unroll.c (unroll_loop): Lower final_value to nonmemory operand; | |
10498 | avoid it's copies. | |
10499 | ||
995b5904 RK |
10500 | Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10501 | ||
10502 | * builtins.c (expand_builtin_strncpy): Use integer_zerop instead | |
10503 | of compare_tree_int. | |
10504 | (expand_builtin_strncat): Likewise. | |
10505 | * c-decl.c (finish_struct): Use tree_low_cst. | |
10506 | * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT. | |
10507 | * tree.c (compare_tree_int): Likewise. | |
10508 | ||
75eefe3f UW |
10509 | 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com> |
10510 | ||
10511 | * reload1.c (eliminate_regs_in_insn): Recognize frame pointer | |
10512 | adjustments even if they are implemented by more than two insns. | |
10513 | ||
5a133afd JH |
10514 | Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz> |
10515 | ||
995b5904 | 10516 | * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg. |
5a133afd JH |
10517 | * df.h (struct ref): Kill B. |
10518 | (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN. | |
10519 | ||
10520 | * basic-block.h (PROP_EQUAL_NOTES): New flag. | |
10521 | * flow.c (propagate_one_insn): Use it. | |
10522 | (mark_used_regs): Handle NIL. | |
10523 | ||
ead39bdf | 10524 | 2002-01-25 Geoffrey Keating <geoffk@redhat.com> |
3d8dd3c0 GK |
10525 | |
10526 | * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM | |
10527 | to help folding. | |
10528 | ||
01a2ccd0 DE |
10529 | 2002-01-25 David Edelsohn <edelsohn@gnu.org> |
10530 | ||
10531 | * rs6000.md (prefetch): Make address V4SI mode so that the address | |
10532 | is restricted to legitimate form for instruction. | |
10533 | ||
fd29f6ea BW |
10534 | 2002-01-25 Bob Wilson <bob.wilson@acm.org> |
10535 | ||
10536 | * doc/install.texi (xtensa-*-elf): New target. | |
10537 | (xtensa-*-linux*): New target. | |
10538 | * doc/contrib.texi: Add myself. | |
10539 | ||
55492b32 NC |
10540 | 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> |
10541 | ||
10542 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general | |
10543 | purpose register to hold an SImode (or smaller) value. | |
10544 | ||
72c7c913 JJ |
10545 | 2002-01-25 Jakub Jelinek <jakub@redhat.com> |
10546 | ||
10547 | * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* | |
10548 | registry only. | |
10549 | * crtstuff.c: Likewise. | |
10550 | ||
c4df4ceb KH |
10551 | 2002-01-25 Kazu Hirata <kazu@hxi.com> |
10552 | ||
10553 | * config/h8300/h8300.md (negation patterns): Tighten | |
10554 | predicates to register_operand. | |
10555 | ||
70e531f5 AH |
10556 | 2002-01-24 Aldy Hernandez <aldyh@redhat.com> |
10557 | ||
3bca17dd PK |
10558 | * loop.c (emit_prefetch_instructions): Use the prefetch insn's |
10559 | mode, not Pmode. | |
70e531f5 | 10560 | |
3bca17dd | 10561 | * builtins.c (expand_builtin_prefetch): Same. |
70e531f5 | 10562 | |
a4f76ef9 AO |
10563 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
10564 | ||
10565 | * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have | |
10566 | modes. | |
10567 | ||
9bf25b09 KH |
10568 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
10569 | ||
10570 | * config/h8300/h8300.c (print_operand): Remove support for | |
10571 | operand character 'A'. | |
10572 | * config/h8300/h8300.md (three anonymous patterns): Replace | |
10573 | operand character 'A' with either 'T' or 'S'. | |
10574 | ||
974af6a5 KH |
10575 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
10576 | ||
10577 | * config/h8300/h8300.c (print_operand): Remove support for | |
10578 | operand character 'U'. | |
10579 | ||
7a5bb7b8 AP |
10580 | 2002-01-24 Andris Pavenis <pavenis@latnet.lv> |
10581 | ||
3bca17dd | 10582 | * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR. |
7a5bb7b8 | 10583 | |
92a4639e NC |
10584 | 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com> |
10585 | ||
10586 | * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode | |
10587 | values to be assigned to the stack pointer. | |
10588 | ||
467cb2da HP |
10589 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
10590 | ||
bebc7e8b | 10591 | * emit_rtl.c (gen_lowpart_common): Conversion from const_int |
467cb2da HP |
10592 | to const_double needs to be done right for big-endian systems. |
10593 | ||
3b6cb920 JM |
10594 | 2002-01-24 Jason Merrill <jason@redhat.com> |
10595 | ||
b08dd119 | 10596 | PR c++/2432 |
3b6cb920 JM |
10597 | * config/sparc/sparc.md (call-jump peepholes): Pass the right insn |
10598 | to can_throw_internal. | |
10599 | ||
f3077311 RH |
10600 | 2002-01-23 Richard Henderson <rth@redhat.com> |
10601 | ||
10602 | * fold-const.c (fold): Change UINT_MAX test to check vs precision | |
10603 | rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation. | |
10604 | ||
e1d71275 AO |
10605 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
10606 | ||
10607 | * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands. | |
10608 | (symGOT2reg): Use them, then set as GOT value as unchanging. | |
10609 | (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo | |
10610 | as a temporary, if possible. | |
10611 | (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit | |
10612 | sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2). | |
10613 | ||
dc271dbe KH |
10614 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
10615 | ||
10616 | * config/h8300/h8300.md: Fix xorqi and xorqi so that they will | |
10617 | accept to accept 0x80 as operands[2]. | |
10618 | ||
1a9017f9 AO |
10619 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
10620 | ||
10621 | * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode. | |
10622 | ||
6932f033 RH |
10623 | 2002-01-23 Richard Henderson <rth@redhat.com> |
10624 | ||
10625 | * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. | |
10626 | ||
709619d9 AH |
10627 | 2002-01-23 Aldy Hernandez <aldyh@redhat.com> |
10628 | ||
3bca17dd PK |
10629 | * c-parse.in (parmlist_or_identifiers): Add maybe_attribute. |
10630 | (parmlist_or_identifiers_1): Verify that only a parmlist follows | |
10631 | an attribute. | |
709619d9 | 10632 | |
3d709fd3 RH |
10633 | 2002-01-23 Richard Henderson <rth@redhat.com> |
10634 | ||
10635 | * expr.c (move_by_pieces_1): Extend size before negation. | |
10636 | ||
88a446c0 RH |
10637 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060. |
10638 | (MULTILIB_MATCHES): Remove 68040 and 68060 aliases. | |
10639 | (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060. | |
10640 | * config/m68k/t-m68kelf: Likewise. | |
10641 | ||
03984308 BW |
10642 | 2002-01-23 Bob Wilson <bob.wilson@acm.org> |
10643 | ||
10644 | * config/xtensa/elf.h: New file. | |
10645 | * config/xtensa/lib1funcs.asm: New file. | |
10646 | * config/xtensa/lib2funcs.S: New file. | |
10647 | * config/xtensa/linux.h: New file. | |
10648 | * config/xtensa/t-xtensa: New file. | |
10649 | * config/xtensa/xtensa-config.h: New file. | |
10650 | * config/xtensa/xtensa-protos.h: New file. | |
10651 | * config/xtensa/xtensa.c: New file. | |
10652 | * config/xtensa/xtensa.h: New file. | |
10653 | * config/xtensa/xtensa.md: New file. | |
10654 | * config.gcc (xtensa-*-elf*): New target. | |
10655 | (xtensa-*-linux*): New target. | |
10656 | * cse.c (canon_hash): Compare rtx pointers instead of register | |
10657 | numbers. This is required for the Xtensa port. | |
10658 | * integrate.c (copy_insn_list): Handle case where the static | |
10659 | chain is in memory and the memory address has to be copied to | |
10660 | a register. | |
10661 | * doc/invoke.texi (Option Summary): Add Xtensa options. | |
10662 | (Xtensa Options): New node. | |
10663 | * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. | |
10664 | ||
c3d5c3fa ZW |
10665 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
10666 | ||
a63bea75 ZW |
10667 | * diagnostic.c (internal_error): Do ICE suppression only |
10668 | when ENABLE_CHECKING is not defined. | |
10669 | ||
c3d5c3fa ZW |
10670 | * c-typeck.c (require_complete_type): Return error_mark_node |
10671 | if type is error_mark_node. | |
10672 | ||
1398974c JJ |
10673 | 2002-01-23 Janis Johnson <janis187@us.ibm.com> |
10674 | ||
10675 | * toplev.c (process_options): Disable -fprefetch-loop-arrays with | |
10676 | -Os and issue a warning. | |
10677 | ||
807633e5 ZW |
10678 | 2002-01-23 Zack Weinberg <zack@codesourcery.com> |
10679 | ||
10680 | * doc/fragments.texi, doc/hostconfig.texi: Update to reflect | |
10681 | current (lack of) need for host configuration by hand. | |
10682 | ||
10683 | * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross | |
10684 | references. Documentation of some target macros moved from | |
10685 | hostconfig.texi to tm.texi. | |
10686 | ||
cf8002d0 WC |
10687 | 2002-01-23 Will Cohen <wcohen@redhat.com> |
10688 | ||
10689 | * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently | |
10690 | defined. | |
10691 | ||
d1e76310 KH |
10692 | 2002-01-23 Kazu Hirata <kazu@hxi.com> |
10693 | ||
10694 | * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an | |
10695 | operand[3]. | |
10696 | ||
b2115575 JM |
10697 | 2002-01-23 Jason Merrill <jason@redhat.com> |
10698 | ||
f893c16e JM |
10699 | * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF. |
10700 | ||
b2115575 JM |
10701 | * function.c (assign_parms): Don't put args of inline functions |
10702 | into registers when not optimizing. | |
10703 | ||
6bacc7b0 NC |
10704 | 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com> |
10705 | ||
10706 | * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant. | |
10707 | (prologue_use): New pattern. | |
10708 | * config/arm/arm.c (expand_prologue): Use gen_prologue_use in | |
10709 | preference to gen_rtx_USE. | |
10710 | (thumb_expand_prologue): Use gen_prologue_use in preference to | |
10711 | gen_rtx_USE. | |
10712 | (thumb_expand_epilogue): Use gen_prologue_use in preference to | |
10713 | gen_rtx_USE. | |
10714 | ||
a415f7bc HPN |
10715 | 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com> |
10716 | ||
10717 | * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0. | |
10718 | ||
5372b3fb NB |
10719 | 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk> |
10720 | ||
10721 | PR c/3504 | |
10722 | * doc/extend.texi: Correct documentation of __alignof__. | |
10723 | ||
bd571ffc ZW |
10724 | 2002-01-22 Zack Weinberg <zack@codesourcery.com> |
10725 | ||
10726 | * params.h: Rename arguments of DEFPARAM so that it will be | |
10727 | recognized as a translation keyword. | |
10728 | ||
333c8841 AH |
10729 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
10730 | ||
bd571ffc ZW |
10731 | * extend.texi: Document altivec functions. |
10732 | Fix N-bit adjectives in X86 builtin documentation. | |
333c8841 | 10733 | |
38979c65 AO |
10734 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
10735 | ||
10736 | * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and | |
10737 | auto_inc_dec values. | |
10738 | ||
7458a9f0 RE |
10739 | 2002-01-22 Richard Earnshaw <rearnsha@arm.com> |
10740 | ||
10741 | * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space | |
10742 | after backslash. | |
10743 | (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line. | |
10744 | ||
129bd0c4 AO |
10745 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
10746 | ||
10747 | * config/i386/freebsd-aout.h (ASM_QUAD): Undefine. | |
10748 | ||
8b9b74a9 RH |
10749 | 2002-01-22 Richard Henderson <rth@redhat.com> |
10750 | ||
10751 | * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use | |
10752 | copy_insn not copy_rtx. | |
10753 | ||
d0c9db30 AM |
10754 | 2002-01-23 Alan Modra <amodra@bigpond.net.au> |
10755 | ||
10756 | * combine.c (simplify_and_const_int): Don't trunc_int_for_mode | |
10757 | "nonzero" as that might add "1" bits. Ensure "constop" is | |
10758 | properly sign extened. | |
10759 | (force_to_mode): Tweak for sign extended constop. | |
10760 | ||
1e7e480e RH |
10761 | 2002-01-22 Richard Henderson <rth@redhat.com> |
10762 | ||
10763 | * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use | |
10764 | for_each_rtx instead of assuming we're already looking at the MEM. | |
10765 | (split_small_symbolic_mem_operand): Likewise. | |
10766 | * config/alpha/alpha.h (PREDICATE_CODES): Update. | |
10767 | * config/alpha/alpha.md (small symbolic memory splitters): Update. | |
10768 | ||
10769 | 2002-01-22 Richard Henderson <rth@redhat.com> | |
2e271932 RH |
10770 | |
10771 | * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse | |
10772 | sequence number for the literal. | |
10773 | (divmoddi_internal_er): Likewise. | |
10774 | ||
b7f2fb96 CR |
10775 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
10776 | ||
10777 | PR java/4972 | |
10778 | * aclocal.m4 (AM_ICONV): Put linking flags for libiconv | |
10779 | in LIBICONV variable. | |
10780 | * configure: Regenerated. | |
10781 | ||
f66a0046 KW |
10782 | 2002-01-22 Krister Walfridsson <cato@df.lth.se> |
10783 | ||
10784 | * dependence.c (build_def_use): Remove array_idx. | |
10785 | ||
e3b0efd1 KW |
10786 | * dwarfout.c (last_filename): Remove. |
10787 | (output_compile_unit_die): Remove last_filename. | |
10788 | ||
d8086cbb RS |
10789 | 2002-01-22 Roger Sayle <roger@eyesopen.com> |
10790 | Richard Henderson <rth@redhat.com> | |
10791 | ||
10792 | PR opt/3640 | |
10793 | * fold-const.c (fold): Optimize unsigned comparisons against | |
10794 | UINT_MAX (and similar unsigned constants). | |
10795 | ||
e8d52ba0 JJ |
10796 | 2002-01-22 Janis Johnson <janis187@us.ibm.com> |
10797 | ||
d8086cbb | 10798 | * Makefile.in (loop.o): Depend on OPTABS_H. |
1398974c | 10799 | * loop.c (emit_prefetch_instructions): Check the prefetch operand |
d8086cbb | 10800 | against the predicate. |
11303d15 | 10801 | |
e8d52ba0 JJ |
10802 | PR target/5379 |
10803 | * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint | |
10804 | for the address operand. | |
10805 | ||
cc7b420e RH |
10806 | 2002-01-22 Richard Henderson <rth@redhat.com> |
10807 | ||
10808 | * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove. | |
10809 | ||
816e265a CR |
10810 | 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org> |
10811 | ||
10812 | PR other/5450 | |
cc7b420e RH |
10813 | * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU |
10814 | preprocessor flags. | |
816e265a | 10815 | |
7c884404 JT |
10816 | 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com> |
10817 | ||
10818 | * config.gcc (x86_64-*-netbsd*): New target. | |
10819 | * config/i386/netbsd64.h: New file. | |
10820 | ||
2b672c08 AH |
10821 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> |
10822 | ||
d8086cbb | 10823 | * regrename.c (kill_value): Fix typo. |
2b672c08 AH |
10824 | |
10825 | 2002-01-22 Aldy Hernandez <aldyh@redhat.com> | |
10826 | ||
d8086cbb | 10827 | * doc/tm.texi: Remove STARTING_FRAME_PHASE. |
2b672c08 | 10828 | |
d8086cbb | 10829 | * config/rs6000/rs6000.h: Same. |
2b672c08 | 10830 | |
d8086cbb RS |
10831 | * function.c (instantiate_virtual_regs): Remove |
10832 | STARTING_FRAME_PHASE. | |
10833 | (assign_stack_local_1): Same. | |
10834 | Calculate frame phase. | |
2b672c08 | 10835 | |
4b02997f NC |
10836 | 2002-01-22 Nick Clifton <nickc@redhat.com> |
10837 | ||
10838 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno' | |
10839 | variable declaration to outer scope in order to simplify | |
10840 | future extensions. | |
10841 | (HARD_REGNO_MODE_OK): Replace macro body with a with a call to | |
10842 | arm_hard_regno_mode_ok. | |
10843 | * config/arm/arm-protos.h: Add a prototype for | |
10844 | arm_hard_regno_mode_ok. | |
10845 | * config/arm/arm.c (soft_df_operand): Remove now redundant | |
10846 | check for DImode values using IP_REGNUM. | |
10847 | (nonimmediate_soft_df_operand): Remove now redundant check for | |
10848 | DImode values using IP_REGNUM. | |
10849 | (arm_hard_regno_mode_ok): New function. New check: make sure | |
10850 | that DImode values are not stored in IP_REGNUM. | |
c14a3a45 NC |
10851 | |
10852 | * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD | |
10853 | note with a USE. | |
10854 | (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE. | |
10855 | ||
8a827ab2 JM |
10856 | 2002-01-22 Jason Merrill <jason@redhat.com> |
10857 | ||
10858 | * c-semantics.c (genrtl_compound_stmt): Only check nesting | |
10859 | consistency if this COMPOUND_STMT is scoped. | |
10860 | ||
cf403648 KH |
10861 | 2002-01-22 Kazu Hirata <kazu@hxi.com> |
10862 | ||
10863 | * predict.c: Fix formatting. | |
10864 | * print-tree.c: Likewise. | |
10865 | * protoize.c: Likewise. | |
10866 | * real.h: Likewise. | |
10867 | * rtl.h: Likewise. | |
10868 | * sbitmap.h: Likewise. | |
10869 | * scan.c: Likewise. | |
10870 | * sched-deps.c: Likewise. | |
10871 | * sched-vis.c: Likewise. | |
10872 | * sdbout.c: Likewise. | |
10873 | * sibcall.c: Likewise. | |
10874 | * ssa.c: Likewise. | |
10875 | * ssa-ccp.c: Likewise. | |
10876 | * ssa-dce.c: Likewise. | |
10877 | * stmt.c: Likewise. | |
10878 | * stor-layout.c: Likewise. | |
10879 | * system.h: Likewise. | |
10880 | ||
aea9695c RK |
10881 | Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10882 | ||
a8765ae7 RK |
10883 | * tree.c (int_fits_type_p): If bounds of a subtype are variable, see |
10884 | if fits in bounds of base type. | |
10885 | ||
aea9695c RK |
10886 | * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls. |
10887 | (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New. | |
10888 | (add_bound_info, default): If can't find a context, make a | |
10889 | SAVE_EXPR. | |
10890 | (dwarf2out_finish): Check for SAVE_EXPR in node->created_for. | |
10891 | ||
58bf601b HPN |
10892 | 2002-01-22 Hans-Peter Nilsson <hp@axis.com> |
10893 | ||
10894 | * c-typeck.c (parser_build_binary_op): If result from | |
10895 | build_binary_op is ERROR_MARK just return error_mark_node without | |
10896 | further processing. | |
10897 | ||
f982f805 JT |
10898 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
10899 | ||
10900 | * config/netbsd.h (TARGET_HAS_F_SETLKW): define. | |
10901 | Split a.out-specific bits into... | |
10902 | * config/netbsd-aout.h: ...this. | |
10903 | * config/netbsd-elf.h: New file. | |
10904 | * config/alpha/netbsd-elf.h: Remove. | |
10905 | * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. | |
10906 | * config/i386/netbsd-elf.h (LIB_SPEC): Remove. | |
bd571ffc | 10907 | (STARTFILE_SPEC): Remove redundant definition. |
f982f805 JT |
10908 | (ENDFILE_SPEC): Likewise. |
10909 | (LINK_SPEC): Likewise. | |
10910 | (CPP_SPEC): Likewise. | |
10911 | (ASM_SPEC): Likewise. | |
10912 | (LIB_SPEC): Likewise. | |
10913 | (SWITCH_TAKES_ARG): Likewise. | |
10914 | (TARGET_MEM_FUNCTIONS): Likewise. | |
10915 | (CPP_PREDEFINES): Redefine. | |
10916 | (ASM_FINAL_SPEC): Remove redefinition. | |
10917 | (ASM_COMMENT_START): Redefine. | |
10918 | (FUNCTION_PROFILER): Define. | |
10919 | (TARGET_VERSION): Redefine. | |
10920 | Comment and formatting cleanup. | |
10921 | * config/i386/netbsd.h: Include <netbsd-aout.h>. | |
10922 | * config/m68k/netbsd.h: Include <netbsd-aout.h>. | |
10923 | * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, | |
10924 | big- or little-endian. | |
10925 | * config/ns32k/netbsd.h: Include <netbsd-aout.h>. | |
10926 | * config.gcc (*-*-netbsd*): Add definitions common to all | |
10927 | NetBSD configs. | |
10928 | (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and | |
10929 | gnu_ld definitions. Add netbsd-elf.h to and remove | |
10930 | alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from | |
10931 | tmake_file, and don't lose previous tmake_file contents. | |
10932 | (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. | |
10933 | (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and | |
10934 | gnu_ld definitions. Add netbsd-elf.h to tm_file. | |
10935 | (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. | |
10936 | (mipsel-*-netbsd*): Rename this to... | |
10937 | (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add | |
10938 | mips/little.h to tm_file for mips*el-*. | |
10939 | (powerpc-*-netbsd*): Remove redundant xm_defines definition. | |
10940 | (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. | |
10941 | (vax-*-netbsd*): Add netbsd-aout.h to tm_file. | |
10942 | ||
2e396476 JDA |
10943 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10944 | ||
10945 | * pa-protos.h (reg_before_reload_operand): New function prototype. | |
10946 | * pa.c (reg_before_reload_operand): New function implementation. | |
10947 | * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" | |
10948 | contraints to "*m". | |
10949 | ||
3b5708e7 FS |
10950 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
10951 | ||
10952 | * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP. | |
10953 | ||
85e79f96 JDA |
10954 | 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca> |
10955 | ||
10956 | * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin". | |
10957 | (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/". | |
10958 | (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/". | |
10959 | (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections. | |
10960 | (ENDFILE_SPEC): Undefine. | |
10961 | (STARTFILE_SPEC): Redefine for PA. | |
10962 | ||
38abadee FS |
10963 | 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
10964 | ||
10965 | * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC. | |
10966 | ||
94f1d97c DJ |
10967 | 2002-01-21 Daniel Jacobowitz <drow@mvista.com> |
10968 | ||
10969 | * config.gcc: Add entries to supported PowerPC --with-cpu | |
10970 | types. | |
10971 | ||
0333394e JJ |
10972 | 2002-01-21 Jakub Jelinek <jakub@redhat.com> |
10973 | ||
10974 | * config/i386/i386.c (ix86_function_arg_regno_p): Never return | |
10975 | true for 64-bit mode only SSE registers in 32-bit mode. | |
10976 | ||
e9d1b155 KH |
10977 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
10978 | ||
10979 | * unwind-dw2.c: Fix formatting. | |
10980 | * unwind-dw2-fde.c: Likewise. | |
10981 | * unwind-dw2-fde.h: Likewise. | |
10982 | * unwind-pe.h: Likewise. | |
10983 | * varasm.c: Likewise. | |
10984 | * varray.h: Likewise. | |
10985 | ||
07338cf8 HPN |
10986 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
10987 | ||
10988 | Remove workaround for register stack overwrite bug in mmix. | |
10989 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove | |
10990 | support for TARGET_REG_STACK_FILL_BUG. | |
10991 | * config/mmix/mmix.h: Remove member has_call_without_parameters. | |
10992 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG): | |
10993 | Delete. | |
10994 | (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG. | |
10995 | (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and | |
10996 | -mno-reg-stack-fill-bug-workaround. | |
10997 | * config/mmix/mmix.md ("call", "call_value"): Don't set struct | |
10998 | machine member has_call_without_parameters. | |
10999 | * doc/invoke.texi (Option Summary) <MMIX Options>: Remove | |
11000 | -mreg-stack-fill-bug-workaround and | |
11001 | -mno-reg-stack-fill-bug-workaround. | |
11002 | (MMIX Options): Ditto. | |
11003 | ||
7192cbf1 KH |
11004 | 2002-01-21 Kazu Hirata <kazu@hxi.com> |
11005 | ||
11006 | * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX | |
11007 | as appropriate. | |
11008 | Remove redundant code. | |
11009 | ||
d1552d7b JM |
11010 | 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk> |
11011 | ||
11012 | * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, | |
11013 | config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, | |
11014 | config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, | |
11015 | config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h, | |
11016 | config/stormy16/stormy16.h, config/v850/v850.h: Remove commented | |
11017 | out target macro definitions and non-target-specific comments | |
11018 | mostly taken from old versions of the manual. | |
11019 | ||
ed168e45 KH |
11020 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
11021 | ||
11022 | * config/h8300/h8300.h: Fix comment formatting. | |
11023 | * config/ia64/aix.h: Likewise. | |
11024 | * config/ia64/ia64-protos.h: Likewise. | |
11025 | * config/ia64/ia64.c: Likewise. | |
11026 | * config/ia64/ia64.h: Likewise. | |
11027 | * config/ia64/ia64intrin.h: Likewise. | |
11028 | * config/ia64/linux.h: Likewise. | |
11029 | * config/ia64/unwind-aix.c: Likewise. | |
11030 | * config/ia64/unwind-ia64.c: Likewise. | |
11031 | ||
005e3e05 KH |
11032 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
11033 | ||
11034 | * config/h8300/h8300.c: Revise comments about shift code. | |
11035 | ||
64bead4c KH |
11036 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
11037 | ||
11038 | * config/h8300/h8300.c (function_arg): Update a comment. | |
11039 | ||
ed863595 KH |
11040 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
11041 | ||
11042 | * config/h8300/h8300.md: Update the comments at the beginning | |
11043 | of the file. | |
11044 | ||
5904dc87 KH |
11045 | 2002-01-20 Kazu Hirata <kazu@hxi.com> |
11046 | ||
11047 | * config/i370/i370.c: Fix comment formatting. | |
11048 | * config/i370/i370.h: Likewise. | |
11049 | * config/i370/i370.md: Likewise. | |
11050 | * config/i370/linux.h: Likewise. | |
11051 | ||
9702143f RK |
11052 | Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11053 | ||
cbafacd1 RK |
11054 | * reg-stack.c (subst_stack_regs): Properly check for deleted insn. |
11055 | ||
9702143f RK |
11056 | * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases. |
11057 | (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL | |
11058 | in incomplete case. | |
11059 | ||
6b6996b8 GS |
11060 | 2002-01-20 Graham Stott <grahams@redhat.com> |
11061 | ||
11062 | * cfgloop.c (flow_loop_preheader_scan): Fix typo. | |
11063 | ||
eab854f6 JDA |
11064 | 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11065 | ||
11066 | * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file. | |
11067 | ||
5b029315 TR |
11068 | 2002-01-19 Tom Rix <trix@redhat.com> |
11069 | ||
11070 | * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts. | |
11071 | ||
1d690052 AH |
11072 | 2002-01-18 Aldy Hernandez <aldyh@redhat.com> |
11073 | ||
d8086cbb | 11074 | * doc/tm.texi (STARTING_FRAME_PHASE): Document. |
1d690052 | 11075 | |
d8086cbb RS |
11076 | * function.c (assign_stack_local_1): Adjust x_frame_offset with |
11077 | STARTING_FRAME_PHASE. | |
11078 | (STARTING_FRAME_PHASE): New. | |
11079 | (instantiate_virtual_regs): Check saneness of | |
11080 | STARTING_FRAME_PHASE. | |
1d690052 | 11081 | |
d8086cbb | 11082 | * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New. |
1d690052 | 11083 | |
4dd8c093 AO |
11084 | 2002-01-19 Alexandre Oliva <aoliva@redhat.com> |
11085 | ||
11086 | * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls. | |
11087 | ||
6f2a28d7 CR |
11088 | 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org> |
11089 | ||
11090 | * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot | |
11091 | be used for bootstrapping GCC 3.0. | |
11092 | ||
8763a465 KH |
11093 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
11094 | ||
11095 | * config/h8300/h8300.md: Fix an insn length. | |
11096 | ||
3ef42a0c KH |
11097 | 2002-01-18 Kazu Hirata <kazu@hxi.com> |
11098 | ||
11099 | * bitmap.h: Fix comment formatting. | |
11100 | * combine.c: Likewise. | |
11101 | * cppfiles.c: Likewise. | |
11102 | * c-pragma.h: Likewise. | |
11103 | * c-typeck.c: Likewise. | |
11104 | * df.c: Likewise. | |
11105 | * dwarf2out.c: Likewise. | |
11106 | * function.c: Likewise. | |
11107 | * gcc.c: Likewise. | |
11108 | * genattrtab.c: Likewise. | |
11109 | * gthr-win32.h: Likewise. | |
11110 | * haifa-sched.c: Likewise. | |
11111 | * predict.c: Likewise. | |
11112 | * rtlanal.c: Likewise. | |
11113 | * rtl.h: Likewise. | |
11114 | * unwind-dw2-fde.h: Likewise. | |
11115 | * unwind-pe.h: Likewise. | |
11116 | * vmsdbgout.c: Likewise. | |
11117 | ||
dd4dc3cd RK |
11118 | Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11119 | ||
11120 | * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE | |
11121 | if type_required and passed decl. | |
11122 | ||
5fb4cf24 AH |
11123 | 2002-01-17 Aldy Hernandez <aldyh@redhat.com> |
11124 | ||
d8086cbb RS |
11125 | * config.gcc (cpu_type): Include altivec.h in powerpc |
11126 | extra_headers. | |
11127 | Same for darwin. | |
5fb4cf24 | 11128 | |
d8086cbb | 11129 | * config/rs6000/altivec.h: New. |
5fb4cf24 | 11130 | |
2705baf5 DE |
11131 | 2002-01-17 David Edelsohn <edelsohn@gnu.org> |
11132 | ||
11133 | * doc/install.texi (*-ibm-aix*): Update assembler and exception | |
11134 | handling information. | |
11135 | * doc/trouble.texi (Interoperation): Add libstdc++ information | |
11136 | for AIX. | |
11137 | (Misunderstandings): Add template instantiation and static template | |
11138 | member information for AIX. | |
11139 | ||
dbd680e1 JM |
11140 | 2002-01-17 Jason Merrill <jason@redhat.com> |
11141 | ||
821adc5e JM |
11142 | * dbxout.c (dbxout_type): Support const and volatile. |
11143 | ||
dbd680e1 JM |
11144 | * except.c (add_partial_entry): Remove backwards compatibility code. |
11145 | (end_protect_partials): Likewise. | |
11146 | ||
d0e82870 JJ |
11147 | 2002-01-17 Jakub Jelinek <jakub@redhat.com> |
11148 | ||
11149 | * config/ia64/ia64.md (prologue_use): New. | |
11150 | * config/ia64/ia64.c (ia64_expand_prologue): Use | |
11151 | gen_prologue_use instead of gen_rtx_USE. | |
11152 | (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way | |
11153 | as CODE_FOR_pred_rel_mutex. | |
11154 | (ia64_sched_reorder2): Likewise. | |
11155 | ||
f9f45c65 EC |
11156 | 2002-01-16 Eric Christopher <echristo@redhat.com> |
11157 | ||
11158 | * config/mips/r3900.h: Reformat. | |
11159 | (SUBTARGET_CPP_SIZE_SPEC): Remove. | |
11160 | * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto. | |
11161 | * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "". | |
11162 | (SUBTARGET_CPP_SIZE_SPEC): Rewrite. | |
11163 | * config/mips/t-elf: Remove mips3 multilib. | |
11164 | ||
c66c8b0e L |
11165 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
11166 | ||
11167 | * config/mips/linux.h: Include "mips/abi64.h". | |
11168 | ||
5f083b72 L |
11169 | 2002-01-16 H.J. Lu <hjl@gnu.org> |
11170 | ||
11171 | * config/mips/t-linux: New. | |
11172 | ||
11173 | * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. | |
11174 | ||
11175 | * config/mips/linux.h: Don't include "gofast.h". | |
11176 | (INIT_SUBTARGET_OPTABS): Removed. | |
11177 | ||
af3c90a6 KH |
11178 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
11179 | ||
11180 | * config/h8300/h8300-protos.h: Replace emit_a_shift with | |
11181 | output_a_shift. | |
11182 | * config/h8300/h8300.c: Likewise. | |
11183 | * config/h8300/h8300.md: Likewise. | |
11184 | ||
a1bf0a16 KH |
11185 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
11186 | ||
11187 | * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of | |
11188 | spaces after an opcode name. | |
11189 | (pushqi1_h8300hs): Likewise. | |
11190 | (pushhi1_h8300hs): Likewise. | |
11191 | ||
88ab0d1c KH |
11192 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
11193 | ||
11194 | * doc/extend.texi: Replace "option" with "attribute" | |
11195 | appropriately. | |
11196 | ||
51c561e3 JJ |
11197 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
11198 | ||
11199 | * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into | |
11200 | (and:DI () (const_int -8)). | |
11201 | (split_small_symbolic_mem_operand): Split | |
11202 | (mem (and:DI () (const_int -8)). | |
11203 | ||
b8c1a6b8 JJ |
11204 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
11205 | ||
11206 | PR target/5309: | |
d8086cbb | 11207 | * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the |
b8c1a6b8 JJ |
11208 | same way as TYPE_IMUL. |
11209 | (ultrasparc_sched_reorder): Likewise. | |
11210 | * config/sparc/sparc.md (type): Add comment to update | |
11211 | ultrasparc_sched_reorder when making changes. | |
11212 | ||
1e4e4df2 KH |
11213 | 2002-01-16 Kazu Hirata <kazu@hxi.com> |
11214 | ||
11215 | * doc/invoke.texi: Change the dump file name of block | |
11216 | reordering pass from 28.bbro to 29.bbro. | |
11217 | Mention -dk option. | |
11218 | ||
14d920c0 JH |
11219 | Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz> |
11220 | ||
11221 | * i386.md (minsf splitter): Fix pasto. | |
11222 | ||
2e99323f NC |
11223 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
11224 | ||
11225 | * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note | |
11226 | to frame pointer initialisation instruction. | |
11227 | (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer | |
11228 | initialisation instruction. | |
ab8081c1 NC |
11229 | (soft_df_operand): Do not accept the IP register. |
11230 | (nonimmediate_soft_df_operand): Do not accept the IP register. | |
2e99323f | 11231 | |
c4031a04 JJ |
11232 | 2002-01-16 Jakub Jelinek <jakub@redhat.com> |
11233 | ||
11234 | PR target/5357: | |
11235 | * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and | |
11236 | MASK_V8 being both set. | |
11237 | ||
44b8152b UW |
11238 | 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com> |
11239 | ||
11240 | * config/s390/s390.c (s390_emit_prologue): Do not emit USE | |
11241 | insn for GOT register; add REG_MAYBE_DEAD notes instead. | |
11242 | config/s390/s390.md (call, call_value): Add GOT register to | |
11243 | CALL_INSN_FUNCTION_USAGE where needed. | |
11244 | (call_exp, call_value_exp): New. | |
11245 | ||
1d6e90ac NC |
11246 | 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com> |
11247 | ||
11248 | * config/arm/arm.c: General formatting tidy up. | |
11249 | ||
11250 | 2002-01-16 Graham Stott <grahams@redhat.com> | |
60e8b9f0 GS |
11251 | |
11252 | * calls.c (try_to_integrate): Use "(size_t)" intermediate | |
11253 | cast and when casting an integer literal to "rtx" pointer. | |
11254 | (expand_call): Likewise. | |
11255 | * flow.c (try_pre_increment): Likewise. | |
11256 | (find_use_as_address): Likewise. | |
11257 | * integrate.c (expand_iline_function): Likewise. | |
11258 | * regmove.c (try_auto_increment): Likewise. | |
11259 | ||
1d6e90ac | 11260 | 2002-01-16 Graham Stott <grahams@redhat.com> |
7b25b076 GS |
11261 | |
11262 | * sched-rgn.c (passed): Use sbitmap_free. | |
11263 | (header): Likewise. | |
11264 | (inner): Likewise. | |
11265 | (in_queue): Likewise. | |
11266 | (in_stack): Likewise. | |
11267 | ||
31fce3c4 EC |
11268 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
11269 | ||
11270 | * flow.c (propagate_one_insn): Change to use fatal_insn. | |
11271 | ||
c99d986a KH |
11272 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
11273 | ||
11274 | * expmed.c (extract_fixed_bit_field): Remove unused code. | |
11275 | * system.h: Poison SLOW_ZERO_EXTEND. | |
11276 | * doc/tm.texi: Remove. | |
11277 | * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove. | |
11278 | * config/arm/arm.h: Likewise. | |
11279 | * config/avr/avr.h: Likewise. | |
11280 | * config/clipper/clipper.h: Likewise. | |
11281 | * config/convex/convex.h: Likewise. | |
11282 | * config/d30v/d30v.h: Likewise. | |
11283 | * config/dsp16xx/dsp16xx.h: Likewise. | |
11284 | * config/elxsi/elxsi.h: Likewise. | |
11285 | * config/fr30/fr30.h: Likewise. | |
11286 | * config/h8300/h8300.h: Likewise. | |
11287 | * config/i370/i370.h: Likewise. | |
11288 | * config/i386/i386.h: Likewise. | |
11289 | * config/m68k/m68k.h: Likewise. | |
11290 | * config/mips/mips.h: Likewise. | |
11291 | * config/ns32k/ns32k.h: Likewise. | |
11292 | * config/pdp11/pdp11.h: Likewise. | |
11293 | * config/pj/pj.h: Likewise. | |
11294 | * config/s390/s390.h: Likewise. | |
11295 | * config/sh/sh.h: Likewise. | |
11296 | * config/stormy16/stormy16.h: Likewise. | |
11297 | * config/v850/v850.h: Likewise. | |
11298 | * config/vax/vax.h: Likewise. | |
11299 | * config/we32k/we32k.h: Likewise. | |
11300 | ||
acfab996 AH |
11301 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
11302 | ||
d8086cbb RS |
11303 | * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx. |
11304 | (altivec_lvsl): Change constraint to b. | |
11305 | (altivec_lvsr): Same. | |
11306 | (altivec_lvebx): Same. | |
11307 | (altivec_lvehx): Same. | |
11308 | (altivec_lvewx): Same. | |
11309 | (altivec_lvxl): Same. | |
11310 | (altivec_lvx): Same. | |
11311 | (altivec_stvx): Add parallel. | |
11312 | (altivec_stvxl): Same. | |
11313 | (altivec_stvehx): Same. | |
11314 | (altivec_stvebx): Same. | |
11315 | (altivec_stvebx): Same. | |
acfab996 | 11316 | |
5e505bc9 AH |
11317 | 2002-01-15 Aldy Hernandez <aldyh@redhat.com> |
11318 | ||
d8086cbb | 11319 | * config.gcc: Change altivec.h to altivec-defs.h. |
5e505bc9 | 11320 | |
d8086cbb | 11321 | * config/rs6000/altivec.h: Delete. |
5e505bc9 | 11322 | |
d8086cbb | 11323 | * config/rs6000/altivec-defs.h: Add. |
5e505bc9 | 11324 | |
5c41fdfb JDA |
11325 | 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11326 | ||
11327 | * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV | |
11328 | and UMOD modes. | |
11329 | ||
11330 | * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size | |
11331 | less than or equal to eight bytes. | |
11332 | ||
11333 | * vax.md (andsi3): Remove constraints and change SET destination | |
11334 | operand type to nonimmediate_operand. | |
11335 | (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1 | |
11336 | when it is a CONST_INT. | |
11337 | ||
de097a2d JM |
11338 | 2002-01-15 Jason Merrill <jason@redhat.com> |
11339 | ||
11340 | * c-common.def (FILE_STMT): New code. | |
11341 | * c-common.c (statement_code_p): It's a statement. | |
11342 | * c-common.h (stmt_tree_s): Add x_last_filename. | |
11343 | (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros. | |
11344 | (last_expr_filename): New macro. | |
11345 | * c-semantics.c (begin_stmt_tree): Initialize it. | |
11346 | (add_stmt): If the filename changed, also insert a | |
11347 | FILE_STMT. | |
11348 | (expand_stmt): Handle seeing one. | |
11349 | ||
4a913dd6 EC |
11350 | 2002-01-15 Eric Christopher <echristo@redhat.com> |
11351 | ||
11352 | * flow.c (propagate_one_insn): Add error message and print out | |
11353 | insn for debugging. | |
11354 | ||
006946e4 JM |
11355 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
11356 | ||
11357 | * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN, | |
11358 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison. | |
11359 | * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to | |
11360 | TRAMPOLINE_ALIGNMENT. | |
11361 | * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value | |
11362 | to be in bits. | |
11363 | * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to | |
11364 | PCC_BITFIELD_TYPE_MATTERS. | |
11365 | * config/interix.h (STDC_VALUE): Remove. Use | |
11366 | STDC_0_IN_SYSTEM_HEADERS. | |
11367 | * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h | |
11368 | (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC, | |
11369 | ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove. | |
11370 | ||
751a1458 CR |
11371 | 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org> |
11372 | ||
11373 | * doc/install.texi (hppa*-hp-hpux11): --enable-threads does | |
11374 | not work on this platform currently. | |
11375 | ||
57771fe8 JM |
11376 | 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk> |
11377 | ||
11378 | * c-typeck.c (build_unary_op): Don't wrap msgid argument of | |
11379 | readonly_warning in _(). | |
11380 | ||
0e83ceb1 | 11381 | 2002-01-15 Douglas B Rupp <rupp@gnat.com> |
9a52433e | 11382 | |
0e83ceb1 | 11383 | * gcc.c (delete_if_ordinary): Backout previous change. |
9a52433e | 11384 | |
8e2e89f7 KH |
11385 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
11386 | ||
0e83ceb1 DR |
11387 | * config/h8300/h8300.c (print_operand): Remove support for |
11388 | unused operand characters. | |
11389 | ||
8e2e89f7 KH |
11390 | * read-rtl.c: Fix formatting. |
11391 | * real.c: Likewise. | |
11392 | * recog.c: Likewise. | |
11393 | * regclass.c: Likewise. | |
11394 | * regmove.c: Likewise. | |
11395 | * reg-stack.c: Likewise. | |
11396 | * reload1.c: Likewise. | |
11397 | * rtlanal.c: Likewise. | |
11398 | ||
b531087a KH |
11399 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
11400 | ||
11401 | * config/i386/i386.c: Fix formatting. | |
11402 | ||
7c94ce7f JJ |
11403 | 2002-01-15 Jakub Jelinek <jakub@redhat.com> |
11404 | ||
11405 | * c-typeck.c (process_init_element): Don't save_expr | |
11406 | COMPOUND_LITERAL_EXPR if just its initializer will be used. | |
11407 | ||
6041bf2f DE |
11408 | 2002-01-15 David Edelsohn <edelsohn@gnu.org> |
11409 | ||
11410 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not | |
11411 | emit optional traceback table if optimize_size or TARGET_ELF. | |
11412 | * config/rs6000/rs6000.md (prefetch): New. | |
11413 | ||
8559c8c0 AJ |
11414 | 2002-01-15 Andreas Jaeger <aj@suse.de> |
11415 | ||
11416 | * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. | |
11417 | ||
70f122f2 KH |
11418 | 2002-01-15 Kazu Hirata <kazu@hxi.com> |
11419 | ||
11420 | * mips-tfile.c: Fix formatting. | |
11421 | ||
6a7b4ca6 JH |
11422 | Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz> |
11423 | ||
11424 | * unroll.c (final_reg_note_copy): Fix previous commit. | |
11425 | ||
e7afe229 KH |
11426 | 2002-01-14 Kazu Hirata <kazu@hxi.com> |
11427 | ||
11428 | * config/h8300/h8300-protos.h: Remove the prototype for | |
11429 | eq_operator. | |
11430 | * config/h8300/h8300.c (eq_operator): Remove. | |
11431 | ||
7d378549 RH |
11432 | 2002-01-14 Richard Henderson <rth@redhat.com> |
11433 | ||
11434 | * config/i386/i386.md (prefetch): Tidy. | |
11435 | (prefetch_3dnow): Fix locality operand. | |
11436 | ||
ab093b81 RH |
11437 | 2002-01-14 Richard Henderson <rth@redhat.com> |
11438 | ||
11439 | * config/mips/mips.h (HI_AND_FP_REGS): New register class. | |
11440 | (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode. | |
11441 | ||
d300f51f HPN |
11442 | 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com> |
11443 | ||
11444 | * reload1.c (reload_combine): Pass reg_sum replacement through | |
11445 | copy_rtx in loop performing multiple changes. | |
11446 | ||
655dd289 JJ |
11447 | 2002-01-14 Jakub Jelinek <jakub@redhat.com> |
11448 | ||
11449 | * except.c (remove_unreachable_regions): New. | |
11450 | (free_eh_status): Clear exception_handler_labels. | |
11451 | (convert_from_eh_region_ranges): Call remove_unreachable_regions. | |
11452 | (find_exception_handler_labels): Don't add the same label more than | |
11453 | once. | |
11454 | (remove_exception_handler_label): Don't die if | |
11455 | find_exception_handler_labels hasn't been called for the current | |
11456 | function yet. | |
11457 | ||
1fba46a7 JH |
11458 | Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz> |
11459 | ||
11460 | * toplev.c (rest_of_compilation): Rebuild jump labels after | |
11461 | gcse. | |
11462 | ||
0975678f JM |
11463 | 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk> |
11464 | ||
11465 | * doc/extend.texi: Move documentation of X86 built-in functions | |
11466 | here. | |
11467 | * doc/invoke.texi: From here. | |
11468 | * doc/sourcebuild.texi: Document location of documentation for | |
11469 | machine built-in functions. | |
11470 | ||
969815c7 CF |
11471 | 2002-01-13 Christopher Faylor <cgf@redhat.com> |
11472 | ||
11473 | * cppfiles.c (TEST_THRESHOLD): New macro. | |
11474 | (SHOULD_MMAP): Ditto. | |
11475 | (read_include_file): Use SHOULD_MMAP macro to decide when mmap should | |
11476 | be used. | |
11477 | ||
494c950b JH |
11478 | Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz> |
11479 | ||
11480 | * unroll.c (final_reg_note_copy): Properly handle | |
11481 | REG_LABEL | |
11482 | (unroll_loops): Fix LOOP_CONDITION heuristics. | |
11483 | ||
69a0611f GK |
11484 | 2002-01-14 Geoffrey Keating <geoffk@redhat.com> |
11485 | ||
11486 | * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option. | |
11487 | * doc/md.texi (Machine Constraints): Use @minus{} where appropriate. | |
11488 | ||
b90e45ae JH |
11489 | Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz> |
11490 | ||
11491 | * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite | |
11492 | threaded loop. | |
11493 | ||
8377288b TR |
11494 | 2002-01-14 Tom Rix <trix@redhat.com> |
11495 | ||
11496 | * config/rs6000/rs6000.md: Fix typo with sradi. | |
11497 | ||
9f37ccb1 UW |
11498 | 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com> |
11499 | ||
11500 | * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64, | |
11501 | movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates. | |
11502 | (clrstrdi, clrstrsi): Adapt callers. | |
11503 | ||
11504 | (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. | |
11505 | ||
8559c8c0 | 11506 | (movti splitter): Never use register 0 as base register. |
9f37ccb1 | 11507 | |
6c2d03d0 HP |
11508 | 2002-01-14 Hartmut Penner <hpenner@de.ibm.com> |
11509 | ||
8559c8c0 AJ |
11510 | * combine.c (simplify_shift_const): Always generate new rtx |
11511 | for shift expression instead of reusing given expression. | |
6c2d03d0 | 11512 | |
d3e98208 RK |
11513 | Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11514 | ||
11515 | * config/alpha/alpha.c (alpha_expand_mov): Don't call | |
11516 | alpha_legitimize_address unless mode is Pmode. | |
11517 | ||
9f339dde GK |
11518 | 2002-01-13 Geoffrey Keating <geoffk@redhat.com> |
11519 | ||
11520 | * doc/md.texi (Modifiers): Document the '*' constraint for the | |
11521 | user. | |
11522 | ||
11523 | * doc/md.texi (Machine Constraints): Add constraints for xstormy16. | |
11524 | * doc/extend.texi (Function Attributes): 'interrupt' is valid | |
11525 | for xstormy16 too. | |
11526 | ||
02a10130 RH |
11527 | 2002-01-13 Richard Henderson <rth@redhat.com> |
11528 | ||
11529 | * reload.c (find_reloads): Use a hard reg destination as reload reg | |
11530 | for an input reload of the source. | |
11531 | ||
61d47787 GP |
11532 | 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
11533 | ||
11534 | * doc/install.texi (Binaries): Make link to ftp.writtenword.com | |
11535 | more generic. | |
11536 | ||
f0df8029 DR |
11537 | Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com> |
11538 | ||
11539 | * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
11540 | * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2. | |
11541 | ||
d2a37256 DR |
11542 | * config/alpha/x-vms (USE_COLLECT2): Set to empty. |
11543 | ||
a9e8a5ee RK |
11544 | Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11545 | ||
11546 | * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case. | |
11547 | ||
bc06712d TR |
11548 | 2002-01-12 Tom Rix <trix@redhat.com> |
11549 | ||
8559c8c0 | 11550 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for |
bc06712d TR |
11551 | TARGET_POWERPC64. |
11552 | ||
7cbe9bb7 RH |
11553 | 2002-01-12 Richard Henderson <rth@redhat.com> |
11554 | ||
38b29e64 RH |
11555 | * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A. |
11556 | ||
58605ba0 RH |
11557 | * doc/invoke.texi: Update Alpha options. |
11558 | ||
7cbe9bb7 RH |
11559 | * doc/invoke.texi: Update i386 built-in function lists. |
11560 | ||
9d560860 JH |
11561 | Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz> |
11562 | ||
11563 | * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note | |
11564 | referencing outside. | |
11565 | ||
bb93b973 RK |
11566 | Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11567 | ||
11568 | * diagnostic.c (warn_deprecated_use): Rework to lower indentation. | |
11569 | * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for | |
11570 | offsets, and change line folding. | |
11571 | * optabs.c (expand_binop): Remove warnings. | |
11572 | * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. | |
8559c8c0 | 11573 | |
f9f6b7df GS |
11574 | 2002-01-12 Graham Stott <grahams@redhat.com> |
11575 | ||
11576 | * attribs.c (handle_deprecated_attribute): constify WHAT. | |
11577 | * diagnostic.c (warn_deprecated_use): Add braces, fixes | |
11578 | dangling else warning and constify WHAT. | |
11579 | * except.h (struct function, struct inline_remap): Move | |
11580 | struct tag forward defs before all prototypes. | |
11581 | (duplicate_eh_regions): Whitespace. | |
11582 | ||
4a692617 NC |
11583 | 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com> |
11584 | ||
11585 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
11586 | MODE_BASE_REG_CLASS. | |
11587 | (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS. | |
11588 | ||
e37af218 RH |
11589 | 2002-01-12 Richard Henderson <rth@redhat.com> |
11590 | ||
11591 | * config/i386/i386.c (override_options): If SSE, enable sse prefetch. | |
11592 | (ix86_expand_vector_move): New. | |
11593 | (bdesc_2arg): Remove andps, andnps, orps, xorps. | |
11594 | (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins. | |
11595 | Remove old prefetch builtins. Special case the logicals removed above. | |
11596 | (ix86_expand_builtin): Likewise. | |
11597 | (safe_vector_operand): Use V4SFmode, not TImode. | |
11598 | (ix86_expand_store_builtin): Remove shuffle arg. Update callers. | |
11599 | (ix86_expand_timode_binop_builtin): New. | |
11600 | * config/i386/i386-protos.h: Update. | |
11601 | * config/i386/i386.h (enum ix86_builtins): Update. | |
11602 | * config/i386/i386.md: Correct predicates on MMX/SSE patterns. | |
11603 | Use ix86_expand_vector_move in vector move expanders. | |
11604 | (movti_internal, movti_rex64): Add xorps alternative. | |
11605 | (sse_clrv4sf): Rename and adjust from sse_clrti. | |
11606 | (prefetch): Don't work so hard. | |
11607 | (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC. | |
11608 | * config/i386/xmmintrin.h (__m128): Use V4SFmode. | |
11609 | (_mm_getcsr, _mm_setcsr): Fix typo in builtin name. | |
11610 | ||
6f1a6c5b RH |
11611 | 2002-01-11 Richard Henderson <rth@redhat.com> |
11612 | ||
11613 | * config/i386/mmintrin.h: New file. | |
11614 | * config/i386/xmmintrin.h: New file. | |
11615 | * config.gcc (i?86-*-*): Add extra_headers. | |
11616 | * simplify-rtx.c (simplify_unary_operation): Handle saturating | |
11617 | truncation codes. | |
11618 | (simplify_binary_operation): Handle saturating arithmetic codes. | |
11619 | * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, | |
11620 | not the lowpart subreg. | |
11621 | (ix86_expand_builtin): Return a TImode dummy register instead of 0 | |
11622 | on error. | |
11623 | * config/i386/i386.md (mmx_clrdi): Override memory attribute. | |
11624 | ||
cdb574d3 MH |
11625 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
11626 | ||
11627 | * conflict.c (conflict_graph_compute): Free regsets when finished. | |
11628 | * ssa.c (compute_coalesced_reg_partition): Likewise. | |
8559c8c0 | 11629 | |
cf11ac55 HB |
11630 | 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
11631 | ||
11632 | * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED | |
11633 | every where we allocate a register. | |
11634 | ||
76ac938b MH |
11635 | 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
11636 | ||
11637 | * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free. | |
11638 | * lcm.c (compute_earliest, compute_farthest): Likewise. | |
11639 | ||
a84b4898 JJ |
11640 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
11641 | ||
11642 | * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. | |
11643 | ||
aaef1c12 JJ |
11644 | 2002-01-11 Janis Johnson <janis187@us.ibm.com> |
11645 | ||
11646 | * doc/rtl.texi (Insns): Fix 2 typos. | |
11647 | ||
5d22c1a5 JM |
11648 | 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
11649 | ||
11650 | * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V | |
11651 | options. Use @table @gcctabopt for MMIX options. Add index | |
11652 | entries for MMIX options. Start new paragraph with first | |
11653 | heading of the machine-dependent options. | |
11654 | ||
3e92902c CR |
11655 | 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> |
11656 | ||
11657 | PR other/5299 | |
11658 | * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments. | |
11659 | * combine.c (force_to_mode): Same. | |
11660 | * reload1.c (clear_reload_reg_in_use): Same. | |
11661 | ||
96ae8197 NC |
11662 | 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com> |
11663 | ||
11664 | * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder' | |
11665 | and 'subtargets'. | |
11666 | ||
9b780582 AJ |
11667 | 2002-01-11 Andreas Jaeger <aj@suse.de>, |
11668 | Brad Lucier <lucier@math.purdue.edu> | |
11669 | ||
11670 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong | |
11671 | mcpu. | |
11672 | ||
12300dad DR |
11673 | Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com> |
11674 | ||
11675 | * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors. | |
11676 | Protect with IN_LIBGCC. | |
11677 | (LINK_EH_SPEC): Add required trailing space. | |
11678 | ||
27511a9a NP |
11679 | Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it> |
11680 | ||
9b780582 | 11681 | * c-tree.h: Move function declarations so that they are listed |
27511a9a NP |
11682 | under the filename which contains them. |
11683 | (check_identifier, finish_decl_top_level, | |
11684 | lookup_name_current_level_global, shadow_record_fields): Remove. | |
11685 | ||
4daeab16 AJ |
11686 | 2002-01-11 Andreas Jaeger <aj@suse.de> |
11687 | ||
11688 | * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated | |
11689 | march. | |
11690 | ||
40571d67 RH |
11691 | 2002-01-10 Richard Henderson <rth@redhat.com> |
11692 | ||
11693 | * config/alpha/alpha.c (print_operand): Add 'J'. | |
11694 | * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a | |
11695 | new operand with the sequence number for the lituse. When splitting | |
11696 | the insns, use gen_movdi_er_high_g and generate a sequence number. | |
11697 | (gen_movdi_er_high_g): Print the sequence number if non-zero. | |
11698 | ||
6525c0e7 AH |
11699 | 2002-01-10 Aldy Hernandez <aldyh@redhat.com> |
11700 | ||
d8086cbb RS |
11701 | * config/rs6000/rs6000.c (altivec_init_builtins): Add support for |
11702 | lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, | |
11703 | stvxl. | |
11704 | (altivec_expand_builtin): Same. | |
11705 | (altivec_expand_stv_builtin): New. | |
11706 | ||
11707 | * config/rs6000/rs6000.h (rs6000_builtins): Same. | |
11708 | ||
11709 | * config/rs6000/rs6000.md ("altivec_lvebx"): New. | |
11710 | ("altivec_lvehx"): New. | |
11711 | ("altivec_lvewx"): New. | |
11712 | ("altivec_lvxl"): New. | |
11713 | ("altivec_lvx"): New. | |
11714 | ("altivec_stvx"): New. | |
11715 | ("altivec_stvebx"): New. | |
11716 | ("altivec_stvehx"): New. | |
11717 | ("altivec_stvewx"): New. | |
11718 | ("altivec_stvxl"): New. | |
6525c0e7 | 11719 | |
cda94cbb RH |
11720 | 2002-01-10 Richard Henderson <rth@redhat.com> |
11721 | ||
11722 | * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet. | |
11723 | * reload1.c (delete_output_reload): Zap spill_reg_store. Take | |
11724 | care not to delete instructions twice. | |
11725 | ||
df2c9a44 ZW |
11726 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
11727 | ||
11728 | * toplev.c: Don't declare environ (it's not used anywhere). | |
11729 | * configure.in: Don't check for declaration of environ. | |
11730 | * config/i386/xm-mingw32.h: Don't #define environ. | |
11731 | * config.in, configure: Regenerate. | |
11732 | ||
5dd8a9b1 ZW |
11733 | 2002-01-10 Zack Weinberg <zack@codesourcery.com> |
11734 | ||
11735 | * configure.in: Set stage1_cflags for powerpc-*-darwin*. | |
11736 | * configure: Regenerate. | |
11737 | ||
11738 | * config/interix.h: Set DO_GLOBAL_CTORS_BODY and | |
11739 | DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. | |
11740 | * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in | |
11741 | alpha/xm-vms.h. | |
11742 | * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and | |
11743 | LIMITS_H_TEST here, not in m68k/x-next. | |
11744 | * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and | |
11745 | SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. | |
11746 | ||
11747 | * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, | |
11748 | LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. | |
11749 | * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. | |
11750 | ||
11751 | * config/i386/x-djgpp: Renamed i386/t-djgpp. | |
11752 | * config/m88k/x-dolph: Renamed m88k/t-dolph. | |
11753 | * config/m88k/x-texXD88: Renamed m88k/t-texXD88. | |
11754 | * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for | |
11755 | replacement of quadlib.asm with quadlib.c. | |
11756 | ||
11757 | * config/x-interix3, config/xm-interix.h, config/i386/x-beos, | |
11758 | config/i386/xm-osf1elf.h, config/rs6000/x-darwin, | |
11759 | config/rs6000/xm-beos.h: Delete file. | |
11760 | ||
11761 | * config.gcc: Update to match above changes. | |
11762 | ||
d10dd44c KH |
11763 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
11764 | ||
11765 | * config/h8300/h8300.h: Fix comment typos. | |
11766 | * config/h8300/h8300.md: Likewise. | |
11767 | * config/h8300/lib1funcs.asm: Likewise. | |
11768 | ||
04894c5a DJ |
11769 | 2002-01-10 Dale Johannesen <dalej@apple.com> |
11770 | ||
11771 | PR optimization/5269 | |
11772 | * unroll.c (precondition_loop_p): Make *increment be the correct | |
11773 | sign when n_iterations known, to avoid confusing caller. | |
11774 | ||
adc9fe67 KH |
11775 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
11776 | ||
11777 | * doc/extend.texi (deprecated): Fix a typo. | |
11778 | ||
b446e5a2 JH |
11779 | Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz> |
11780 | ||
11781 | * basic-block.h (update_br_prob_note): Declare. | |
11782 | * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. | |
11783 | (try_forward_edges): Care negative frequencies and update note. | |
11784 | (outgoing_edges_match): Tweek conditional merging heuristics. | |
11785 | (try_crossjump_to_edge): use update_br_prob_note. | |
11786 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
11787 | * cfrtl.c (update_br_prob_note): New. | |
11788 | * ifcvt.c (dead_or_predicable): Call update_br_prob_note. | |
11789 | ||
11790 | * i386.c (ix86_decompose_address): Return -1 if address contains | |
11791 | shift. | |
11792 | (legitimate_address_p): Require ix86_decompose_address to return 1. | |
11793 | ||
11794 | * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. | |
11795 | (cprop_insn): Likewise. | |
11796 | ||
a01da83b KH |
11797 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
11798 | ||
11799 | * toplev.c: Fix formatting. | |
11800 | * tree.c: Likewise. | |
11801 | * tree-dump.c: Likewise. | |
11802 | * unroll.c: Likewise. | |
11803 | * unwind-dw2.c: Likewise. | |
11804 | * unwind-dw2-fde.c: Likewise. | |
11805 | * unwind-dw2-fde-glibc.c: Likewise. | |
11806 | * unwind-sjlj.c: Likewise. | |
11807 | ||
9f85bca7 JM |
11808 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
11809 | ||
11810 | * doc/invoke.texi: Document PDP-11 options. | |
11811 | ||
f48f56b1 KH |
11812 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
11813 | ||
11814 | * config/h8300/h8300.h: Fix formatting. | |
11815 | ||
ead39bdf | 11816 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
11817 | |
11818 | Add __attribute__ ((deprecated)). | |
11819 | * extend.texi: Document __attribute__ ((deprecated)). | |
11820 | * invoke.texi: Document -Wno-deprecated-declarations. | |
11821 | * testsuite/g++.dg/other/deprecated.C: New C++ test. | |
11822 | * testsuite/gcc.dg/deprecated.c: New C test. | |
11823 | * attribs.c (enum attrs): Declare handle_deprecated_attribute(). | |
11824 | (c_common_attribute_table): Add "deprecated" entry. | |
11825 | (handle_deprecated_attribute): New function. | |
11826 | * c-decl.c (deprecated_states): New enum. | |
11827 | deprecated_state: State of "deprecated" handling. | |
11828 | (start_decl): Set deprecated_state based on attributes. | |
11829 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
11830 | * c-typeck.c (build_component_ref): Test for deprecated fields. | |
11831 | (build_external_ref): Test for deprecated primaries. | |
11832 | * diagnostic.c (warn_deprecated_use) New function to issue | |
11833 | warnings about __attribute__ ((depricated)) references. | |
11834 | * flags.h (warn_deprecated_decl): Extern declared for | |
11835 | -W[no-]deprecated-declarations option. | |
11836 | * print-tree.c (print_node): Show deprecated flag status. | |
11837 | * toplev.c (warn_deprecated_decl): Defined. | |
11838 | (W_options): Added "deprecated-declaration". | |
11839 | * toplev.h (warn_deprecated_use): Extern declared. | |
11840 | * tree.h (struct tree_common): Define deprecated_flag. | |
11841 | (TREE_DEPRECATED): New macro to access flag. | |
11842 | * cp/call.c (build_call): Test for deprecated calls. | |
11843 | * cp/class.c (add_implicitly_declared_members): Set global | |
11844 | flag to tell grokdeclarator to not issue deprecated warnings. | |
11845 | * cp/cp-tree.h: Add extern for adding_implicit_members. | |
11846 | * cp/decl.c (deprecated_states): New enum. | |
11847 | (start_decl): Set deprecated_state based on attributes. | |
11848 | (grokdeclarator): Test for deprecated uses, propagate attribute. | |
11849 | * cp/lex.c (do_identifier): Test for deprecated primaries. | |
11850 | * cp/typeck.c (build_component_ref): Test for deprecated fields. | |
11851 | ||
ead39bdf | 11852 | 2002-01-10 Ira Ruben <ira@apple.com> |
7f180628 IR |
11853 | |
11854 | Fix to assign attributes to inline member functions. | |
11855 | * cp/decl.c (start_method): Handle attrlist. | |
11856 | ||
47073a38 KH |
11857 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
11858 | ||
11859 | * combine.c (expand_field_assignment): Use subreg_lsb(). | |
11860 | ||
d288e53d DE |
11861 | 2002-01-10 David Edelsohn <edelsohn@gnu.org> |
11862 | ||
11863 | * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC, | |
11864 | POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY. | |
11865 | (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY. | |
11866 | Recurse for any operand of AND as long as constant is non-zero. | |
11867 | ||
08a02ffa KH |
11868 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
11869 | ||
11870 | * config/h8300/h8300.md: Remove constraints from expanders. | |
11871 | ||
c203e7fe KH |
11872 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
11873 | ||
11874 | * varasm.c: Fix formatting. | |
11875 | * varray.c: Likewise. | |
11876 | * vmsdbgout.c: Likewise. | |
11877 | * xcoffout.c: Likewise. | |
11878 | ||
bcb3bc6d JH |
11879 | Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz> |
11880 | ||
11881 | * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges; | |
cda94cbb | 11882 | update edge probabilities to match. |
bcb3bc6d | 11883 | |
0a553c7e JM |
11884 | 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk> |
11885 | ||
11886 | * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional | |
11887 | dependencies. | |
11888 | * doc/languages.texi, doc/sourcebuild.texi: New files. | |
11889 | * doc/configfiles.texi: Make a subsubsection. Update. | |
11890 | * doc/configterms.texi: Add @node. Remove warning that this isn't | |
11891 | instructions for building GCC. | |
11892 | * doc/makefile.texi: Make a subsection. | |
11893 | * doc/gccint.texi: Update. | |
11894 | ||
adc7fcb8 JH |
11895 | Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz> |
11896 | ||
11897 | * i386.md (sse_mov?fcc_const0_?): Fix constraints. | |
11898 | ||
5a4dd0b3 NP |
11899 | Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it> |
11900 | ||
11901 | * doc/cpp.texi: Document the __OBJC__ preprocessor macro. | |
11902 | ||
3987b9db JH |
11903 | Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz> |
11904 | ||
11905 | * optabs.c (expand_fix): Look for wider integer modes first. | |
11906 | ||
11907 | * i386.md (mov?f): Avoid the fake const double trick for medium | |
11908 | memory model. | |
11909 | (min?f*/max?f*): Prohibit memory operands for i387 variant. | |
11910 | (fop_df_4): Disable for SSE compilation. | |
11911 | ||
ceb15948 | 11912 | 2002-01-10 Graham Stott <grahams@redhat.com> |
117f9d28 GS |
11913 | |
11914 | * dwarf2out.c (indirect_string_alloc, output_indirect_string): | |
cda94cbb | 11915 | Move prototype into DWARF2_DEBUGGING_INFO conditional block. |
117f9d28 | 11916 | |
e1623399 RH |
11917 | 2002-01-10 Richard Henderson <rth@redhat.com> |
11918 | ||
11919 | * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative. | |
11920 | ||
c4abb293 RH |
11921 | 2002-01-10 Richard Henderson <rth@redhat.com> |
11922 | ||
11923 | * regrename.c (find_oldest_value_reg): Fix typo in mode change check. | |
11924 | (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok. | |
11925 | ||
d2604ae9 KH |
11926 | 2002-01-10 Kazu Hirata <kazu@hxi.com> |
11927 | ||
11928 | * combine.c (can_combine_p): Fix a comment typo. | |
11929 | ||
766c7ad1 ZW |
11930 | 2002-01-09 Zack Weinberg <zack@codesourcery.com> |
11931 | ||
11932 | * Makefile.in (s-gencheck, s-options, s-specs): Handle an | |
11933 | empty list correctly. Change loop index $t to $f for | |
11934 | consistency with rest of Makefile. | |
11935 | ||
95385cbb AH |
11936 | 2002-01-08 Aldy Hernandez <aldyh@redhat.com> |
11937 | ||
11938 | * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, | |
11939 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
11940 | ||
11941 | * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for | |
11942 | mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt. | |
11943 | (altivec_init_builtins): Same. | |
11944 | (altivec_expand_unop_builtin): Return NULL_RTX on error. | |
11945 | (altivec_expand_binop_builtin): Same. | |
11946 | (altivec_expand_ternop_builtin): Same. | |
11947 | (bdesc_dst): New. | |
11948 | ||
11949 | * config/rs6000/rs6000.md ("altivec_mtvscr"): New. | |
11950 | ("altivec_vctuxs"): Fix typo. | |
11951 | ("altivec_vnmsubfp"): Same. | |
11952 | ("altivec_dssall"): New. | |
11953 | ("altivec_mfvscr"): New. | |
11954 | ("altivec_dss"): New. | |
11955 | ("altivec_lvsl"): New. | |
11956 | ("altivec_lvsr"): New. | |
11957 | ("altivec_dstt"): New. | |
11958 | ("altivec_dstst"): New. | |
11959 | ("altivec_dststt"): New. | |
11960 | ("altivec_dst"): New. | |
11961 | ||
11962 | * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall, | |
11963 | mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. | |
11964 | ||
e4ac76b4 RH |
11965 | 2002-01-09 Richard Henderson <rth@redhat.com> |
11966 | ||
11967 | * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc. | |
11968 | ||
c893e4a4 HPN |
11969 | 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com> |
11970 | ||
11971 | * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused | |
11972 | function. | |
11973 | * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't | |
11974 | prototype. | |
7387c700 | 11975 | * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro. |
c893e4a4 | 11976 | |
f4f4d0f8 KH |
11977 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
11978 | ||
11979 | * read-rtl.c: Fix formatting. | |
11980 | * real.c: Likewise. | |
11981 | * regclass.c: Likewise. | |
11982 | * regrename.c: Likewise. | |
11983 | * reg-stack.c: Likewise. | |
11984 | * reload1.c: Likewise. | |
11985 | * reload.c: Likewise. | |
11986 | * rtl.c: Likewise. | |
11987 | ||
cc863bea KH |
11988 | 2002-01-09 Kazu Hirata <kazu@hxi.com> |
11989 | ||
11990 | * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST | |
11991 | to extract items in the expr_list chain. | |
11992 | ||
7b4dfe3d RH |
11993 | 2002-01-09 Richard Henderson <rth@redhat.com> |
11994 | ||
11995 | * config/vax/vax.c (vax_rtx_cost): Never abort. | |
11996 | ||
1d969638 RH |
11997 | * config/vax/vax.h (REAL_ARITHMETIC): Define. |
11998 | ||
7d5ab30e JH |
11999 | 2002-01-09 Jan Hubicka <jh@suse.cz> |
12000 | ||
12001 | * gcse.c (cprop_jump): Delete insn if simplified jump is no-op. | |
12002 | ||
9503f3d1 RH |
12003 | 2002-01-09 Richard Henderson <rth@redhat.com> |
12004 | ||
12005 | * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode. | |
12006 | Unify code from various alternatives. | |
12007 | ||
42bd17b7 RH |
12008 | 2002-01-09 Richard Henderson <rth@redhat.com> |
12009 | ||
12010 | * regrename.c (copy_value): Ignore the copy if the source register | |
12011 | is present in the value chain with a narrower mode. | |
12012 | ||
bdca3c33 HB |
12013 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
12014 | ||
cda94cbb RH |
12015 | * real.c (c4xtoe, toc4x): Do some special conversion on long doubles |
12016 | for the c4x target. Also improve layout. | |
bdca3c33 | 12017 | |
c73a5e94 RH |
12018 | 2002-01-09 Richard Henderson <rth@redhat.com> |
12019 | ||
12020 | * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test. | |
12021 | * config/m32r/m32r.md (and ior xor splitters): Swap operands | |
12022 | to match insn patterns. | |
12023 | ||
dd0a18c0 RH |
12024 | 2002-01-09 Richard Henderson <rth@redhat.com> |
12025 | ||
12026 | * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG. | |
12027 | (copyprop_hardreg_forward_1): Likewise. | |
12028 | ||
1fd9ac1e JDA |
12029 | 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12030 | ||
12031 | * pa.md (decrement_and_branch_until_zero): Change predicate for | |
12032 | operand 0 from register_operand to reg_or_nonsymb_mem_operand. | |
12033 | ||
5cb265ec BM |
12034 | 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> |
12035 | ||
12036 | * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ | |
12037 | gets undefined. For Darwin. | |
12038 | ||
fcd8fa8b HB |
12039 | 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> |
12040 | ||
12041 | * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing. | |
12042 | ||
bd3ab23a MH |
12043 | 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
12044 | ||
12045 | * config/c4x/c4x/md: Remove extraneous constraints from define_splits. | |
12046 | ||
21e16bd6 RH |
12047 | 2002-01-08 Richard Henderson <rth@redhat.com> |
12048 | ||
12049 | * regrename.c (copy_value): Ignore overlapping copies. | |
12050 | ||
a5376276 RH |
12051 | 2002-01-08 Richard Henderson <rth@redhat.com> |
12052 | ||
12053 | * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx | |
12054 | as needed to avoid shared structure. | |
12055 | ||
18cf8dda KH |
12056 | 2002-01-08 Kazu Hirata <kazu@hxi.com> |
12057 | ||
12058 | * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on | |
12059 | H8/300H and H8/S. | |
12060 | ||
16c484c7 JM |
12061 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
12062 | ||
12063 | * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR, | |
12064 | LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove | |
12065 | documentation of obsolete macros. | |
12066 | * system.h: Poison these macros. | |
12067 | * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h, | |
12068 | config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, | |
12069 | config/c4x/c4x.h, config/clipper/clipper.h, | |
12070 | config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h, | |
12071 | config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, | |
12072 | config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h, | |
12073 | config/i386/i386.h, config/i860/i860.h, config/i960/i960.h, | |
12074 | config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
12075 | config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, | |
12076 | config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, | |
12077 | config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, | |
12078 | config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h, | |
12079 | config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, | |
12080 | config/sparc/sparc.h, config/stormy16/stormy16.h, | |
12081 | config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove | |
12082 | definitions and commented out definitions of obsolete macros. | |
12083 | * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms | |
12084 | of MAX_INT_TYPE_SIZE. | |
12085 | ||
14b3e8ef UW |
12086 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
12087 | ||
12088 | * config/s390/s390.c (s390_preferred_reload_class): Never | |
12089 | return ADDR_REGS if it isn't a subset of the given class. | |
12090 | * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just | |
12091 | FP_REGS, but all superclasses as well. | |
12092 | ||
12093 | * config/s390/s390.c (s390_function_profiler): Fix thinko. | |
12094 | ||
12095 | * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, | |
12096 | cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare | |
12097 | must not be a const_int. | |
12098 | ||
a693284d RH |
12099 | 2002-01-08 Richard Henderson <rth@redhat.com> |
12100 | ||
12101 | * Makefile.in (toplev.o): Depend on options.h. | |
12102 | (gcc.o): Depend on specs.h. | |
12103 | ||
b3ca30df JJ |
12104 | 2002-01-08 Jakub Jelinek <jakub@redhat.com> |
12105 | ||
12106 | * expr.c (store_expr): Convert VOIDmode constants back to target's | |
12107 | mode. | |
12108 | ||
24dbb440 GP |
12109 | 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
12110 | ||
12111 | * doc/invoke.texi: Markup gcc as @command. Refer to | |
12112 | http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead | |
12113 | of http://gcc.gnu.org/thanks.html. | |
12114 | ||
234e114c DJ |
12115 | 2002-01-08 Dale Johannesen <dalej@apple.com> |
12116 | ||
12117 | * config/rs6000/rs6000.md: Add missing int register | |
12118 | target case to movdf_low. | |
12119 | ||
0d24f4d1 ZW |
12120 | 2002-01-08 Zack Weinberg <zack@codesourcery.com> |
12121 | ||
12122 | * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or | |
12123 | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. | |
12124 | (cppinit.o): Depend on except.h. | |
12125 | (gencheck.h, options.h, specs.h, s-gencheck, s-options, | |
12126 | s-specs): New rules. | |
12127 | ||
12128 | * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. | |
12129 | Don't create specs.h/options.h/gencheck.h here. Remove | |
12130 | unnecessary variable settings from last argument of AC_OUTPUT. | |
12131 | * config.in, configure: Regenerate. | |
12132 | * intl.c: Hardcode package name as "gcc". | |
12133 | ||
12134 | * cppinit.c: Include except.h. | |
12135 | (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when | |
12136 | appropriate. | |
12137 | * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: | |
12138 | Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if | |
12139 | (!)USING_SJLJ_EXCEPTIONS. | |
12140 | * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. | |
12141 | ||
ed722f66 JM |
12142 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
12143 | ||
12144 | * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, | |
12145 | ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, | |
12146 | OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove | |
12147 | documentation of obsolete macros. | |
12148 | * system.h: Poison these macros. | |
12149 | * config/d30v/d30v.h, config/ns32k/encore.h, | |
12150 | config/stormy16/stormy16.h: Remove definitions and commented out | |
12151 | definitions of obsolete macros. | |
12152 | ||
31e5e29a NP |
12153 | Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk> |
12154 | ||
12155 | * objc/objc-act.c (handle_class_ref): Mark the declaration of | |
12156 | %sobjc_class_ref_%s as used - to prevent unwanted compiler | |
12157 | warnings. | |
12158 | ||
bc1fa59c UW |
12159 | 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
12160 | ||
12161 | * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. | |
12162 | * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR | |
12163 | to insn adjusting stack/frame pointer. | |
0d24f4d1 | 12164 | * config/s390/s390.md (reload_la_64, reload_la_31): Do not |
bc1fa59c UW |
12165 | accept operands that cause the insn to be non-splittable. |
12166 | ||
a8086abf GS |
12167 | 2002-01-08 Graham Stott <grahams@redhat.com> |
12168 | ||
12169 | * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. | |
12170 | (C_TYPE_FIELDS_VOLATILE): Likewise. | |
12171 | (C_TYPE_BEING_DEFINED): Likewise. | |
12172 | (C_IS_RESERVED_WORD): Likewise. | |
12173 | (C_TYPE_VARIABLE_SIZE): Likewise. | |
12174 | (C_DECL_VARIABLE_SIZE): Likewise. | |
12175 | (C_MISSING_PROTOTYPE_WARNED): Likewise. | |
12176 | (C_SET_EXP_ORIGINAL_CODE): Likewise. | |
12177 | (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove | |
12178 | parenthesis. | |
12179 | (C_DECL_ANTICIPATED): Likewise. | |
12180 | (c_build_type_variant): Add parenthesis. | |
12181 | ||
3f595aa1 JM |
12182 | 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk> |
12183 | ||
12184 | * gcc.c (option_map): Remove --version. | |
12185 | (process_command): Handle -fversion following the GNU Coding | |
12186 | Standards. Partially addresses PR other/704. | |
12187 | ||
5bc5a8f9 GS |
12188 | 2002-01-08 Graham Stott <grahams@redhat.com> |
12189 | ||
12190 | * combine.c (combine_instructions): Fix typo. | |
12191 | ||
16ec4ebf GS |
12192 | 2002-01-08 Graham Stott <grahams@redhat.com> |
12193 | ||
12194 | * debug.h: Use "tree" and "rtx" throughout. | |
12195 | ||
12196 | * debug.c: Likewise. | |
12197 | ||
4b69f385 NC |
12198 | 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com> |
12199 | ||
12200 | * dbxout.c (dbxout_symbol_location): If a symbol ref is in the | |
12201 | constant pool, use the pool's version of the symbol instead. | |
12202 | ||
57d1019b RH |
12203 | 2002-01-07 Richard Henderson <rth@redhat.com> |
12204 | ||
12205 | * regrename.c (find_oldest_value_reg): Ignore the value chain if | |
12206 | the original register was copied in a mode with a fewer number of | |
12207 | hard registers than the desired mode. | |
12208 | (copyprop_hardreg_forward_1): Likewise. | |
12209 | (debug_value_data): Fix loop test. | |
12210 | * toplev.c (parse_options_and_default_flags): Reenable | |
12211 | -fcprop-registers at -O1. | |
12212 | ||
12213 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> | |
fa066a23 | 12214 | |
0d24f4d1 ZW |
12215 | * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. |
12216 | (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. | |
fa066a23 | 12217 | |
0d24f4d1 ZW |
12218 | * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec |
12219 | predicates. | |
fa066a23 | 12220 | |
0d24f4d1 | 12221 | * config/rs6000/rs6000.md: Add altivec predicate patterns. |
fa066a23 | 12222 | |
8f949e7e JDA |
12223 | 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12224 | ||
12225 | * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. | |
12226 | (pa_output_function_prologue): Output local label at the beginning of | |
12227 | the prologue when profiling. | |
12228 | (hppa_profile_hook): Use the local label rather than the function label. | |
12229 | * pa.h (PROFILE_BEFORE_PROLOGUE): Define. | |
12230 | ||
c62f2db5 AH |
12231 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
12232 | ||
0d24f4d1 ZW |
12233 | * config/rs6000/rs6000.c (print_operand): Remove extra space. |
12234 | (altivec_expand_unop_builtin): Fix thinko. | |
12235 | (altivec_expand_binop_builtin): Same. | |
12236 | (altivec_expand_ternop_builtin): Same. | |
12237 | (altivec_expand_builtin): Same. | |
c62f2db5 | 12238 | |
b5235ba7 RH |
12239 | 2002-01-07 Richard Henderson <rth@redhat.com> |
12240 | ||
12241 | * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag. | |
12242 | ||
7d8ac293 JM |
12243 | 2002-01-07 Jason Merrill <jason@redhat.com> |
12244 | ||
12245 | * unwind-dw2.c (execute_cfa_program): Use < again. | |
12246 | ||
571a03b8 JJ |
12247 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
12248 | ||
12249 | * predict.c (combine_predictions_for_insn): Avoid division by zero. | |
12250 | ||
2e951384 JJ |
12251 | 2002-01-07 Jakub Jelinek <jakub@redhat.com> |
12252 | ||
12253 | * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT. | |
12254 | Don't allow -1 - x -> ~x simplifications in the first pass. | |
12255 | ||
20e26713 AH |
12256 | 2002-01-07 Aldy Hernandez <aldyh@redhat.com> |
12257 | ||
0d24f4d1 ZW |
12258 | * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid |
12259 | arguments. | |
12260 | (altivec_expand_binop_builtin): Same. | |
12261 | (altivec_expand_unop_builtin): Same. | |
12262 | (print_operand): Fix typo. | |
12263 | (bdesc_1arg): Add vupk* variants. | |
20e26713 | 12264 | |
0d24f4d1 | 12265 | * rs6000.h (rs6000_builtins): Add vupk* enums. |
20e26713 | 12266 | |
0d24f4d1 | 12267 | * rs6000.md: Add altivec_vupk* variants. |
20e26713 | 12268 | |
4dd57c18 JM |
12269 | 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk> |
12270 | ||
12271 | * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi, | |
12272 | doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright | |
12273 | and last update dates. | |
12274 | ||
0341c5d2 JJ |
12275 | 2002-01-07 Janis Johnson <janis187@us.ibm.com> |
12276 | ||
12277 | * doc/rtl.texi (Flags): Clean up documentation of RTL flags | |
12278 | ||
c7f3e0b0 MM |
12279 | 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> |
12280 | ||
12281 | * config/avr/avr.c (avr_mcu_types): Add new MCU types. | |
12282 | * config/avr/avr.h (CPP_SPEC): Likewise. | |
12283 | (LINK_SPEC): Likewise. | |
12284 | (CRT_BINUTILS_SPECS): Likewise. | |
12285 | * config/avr/t-avr (MULTILIB_MATCHES): Likewise. | |
12286 | * doc/invoke.texi (AVR Options): Document them. | |
12287 | ||
6ba4d630 JH |
12288 | Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz> |
12289 | ||
12290 | * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and | |
12291 | LABEL_NUSES. | |
12292 | ||
6253d571 GS |
12293 | 2002-01-07 Graham Stott <grahams@redhat.com> |
12294 | ||
0d24f4d1 ZW |
12295 | * config/i386/i386.h: Update copyright date. |
12296 | (HALF_PIC_PTR): Add parenthesis. | |
12297 | (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap. | |
12298 | (CONSTANT_ALIGNMENT): Add parenthesis. | |
12299 | (DATA_ALIGNMENT): Likewise. | |
12300 | (LOCAL_ALIGNMENT): Likewise. | |
12301 | (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap. | |
12302 | (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap. | |
12303 | (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0). | |
12304 | (HARD_REGNO_NREGS): Add paranethesis. | |
12305 | (VALID_SSE_REG_MODE): Whitespace. | |
12306 | (VALID_MMX_REG_MODE): Whitespace. | |
12307 | (VALID_FP_MODE_P): Uppercase macros parameter and whitespace. | |
12308 | (ix86_hard_regno_mode_ok): Add parenthesis. | |
12309 | (HARD_REGNO_CALLER_SAVE_MODE): Whitespace. | |
12310 | (RETURN_IN_MEMORY): Whitespace. | |
12311 | (N_REG_CLASSES): Add parenthesis. | |
12312 | (INTEGER_CLASS_P): Add parenthesis and wrap. | |
12313 | (FLOAT_CLASS_P): Likewise. | |
12314 | (SSE_CLASS_P): Likewise. | |
12315 | (MMX_CLASS_P): Likewise. | |
12316 | (MAYBE_INTEGER_CLASS_P): Likewise. | |
12317 | (MAYBE_FLOAT_CLASS_P): Likewise. | |
12318 | (MAYBE_SSE_CLASS_P): Likewise. | |
12319 | (MAYBE_MMX_CLASS_P): Likewise. | |
12320 | (Q_CLASS_P): Likewise. | |
12321 | (GENERAL_REGNO_P): Uppercase macro parameter. | |
12322 | (REX_INT_REGNO_P): Uppercase macro parameter and wrap. | |
12323 | (FP_REGNO_P): Likewise. | |
12324 | (ANY_FP_REGNO_P): Uppercase macro parameter. | |
12325 | (SSE_REGNO_P): Likewise. | |
12326 | (SSE_REGNO): Likewise. | |
12327 | (SSE_REG_P): Likewise. | |
12328 | (SSE_FLOAT_MODE_P): Likewise. | |
12329 | (MMX_REGNO_P): Likewise. | |
12330 | (MMX_REG_P):Likewise. | |
12331 | (STACK_REG_P): Likewise. | |
12332 | (NON_STACK_REG_P): Likewise. | |
12333 | (STACK_TOP_P): Likewise. | |
12334 | (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis. | |
12335 | (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace. | |
12336 | (SECONDARY_MEMORY_NEEDED): Likewise. | |
12337 | (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace. | |
12338 | (MD_ASM_CLOBBERS): Whitespace and wrap. | |
12339 | (MUST_PASS_IN_STACK): Whitespace and wrap. | |
12340 | (RETURN_POPS_ARGS): Add parenthesis. | |
12341 | (INIT_CUMULATIVE_ARGS): Likewise. | |
12342 | (FUNCTION_ARG): Likewise. | |
12343 | (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace. | |
12344 | (SETUP_INCOMING_VARARGS): Likewise. | |
12345 | (BUILD_VA_LIST_TYPE): Add parenthesis. | |
12346 | (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add | |
12347 | parenthsis. | |
12348 | (EXPAND_BUILTIN_VA_ARG): Likewise. | |
12349 | (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis. | |
12350 | (INITIALIZE_TRAMPOLINE): Add parenthesis. | |
12351 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
12352 | (REGNO_OK_FOR_INDEX_P): Add parenthesis. | |
12353 | (REGNO_OK_FOR_BASE_P): Likewise. | |
12354 | (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap. | |
12355 | (REGNO_OK_FOR_DIREG_P): Likewise. | |
12356 | (REG_OK_FOR_INDEX_P): Whitespace. | |
12357 | (REG_OK_FOR_BASE_P): Whitespace. | |
12358 | (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add | |
12359 | parenthesis. | |
12360 | (FIND_BASE_TERM): Fix typo. | |
12361 | (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis. | |
12362 | (REWRITE_ADDRESS): Uppercase macro parameter and whitespace. | |
12363 | (SYMBOLIC_CONST; Whitespace. | |
12364 | (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap. | |
12365 | (ENCODE_SECTION_INFO): Whitespace. | |
12366 | (FINALIZE_PIC): Remove do { ... } while (0). | |
12367 | (PROMOTE_MODE): Wrap in do { ... } while (0). | |
12368 | (CONST_COSTS): Whitespace. | |
12369 | (RTX_COSTS): Add paramethesis, whitespace and wrap. | |
12370 | (REGISTER_MOVE_COST): Add parenthesis. | |
12371 | (MEMORY_MOVE_COST): Likewise. | |
12372 | (EXTRA_CC_MODES): Whitespace. | |
12373 | (SELECT_CC_MODE): Add parenthesis and whitespace. | |
12374 | (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis. | |
12375 | (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace. | |
12376 | (ASM_OUTPUT_LABEL): Add paramethesis. | |
12377 | (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace. | |
12378 | (ASM_OUTPUT_REG_POP): Likewise. | |
12379 | (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis. | |
12380 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
d9a5f180 | 12381 | |
07933f72 GS |
12382 | * config/i386/i386.c: Update copyright. |
12383 | (CHECK_STACK_LIMIT): Add parenthesis. | |
12384 | (AT_BP): Uppercase macro parameter. | |
12385 | (x86_64_int_parameter_registers): Constify. | |
12386 | (x86_64_int_return_registers): Likewise. | |
12387 | (ix86_compare_op0): Use rtx. | |
12388 | (construct_container): Constify INTREG parameter. | |
12389 | (function_arg): Use rtx. | |
12390 | ||
0b4d32c9 GS |
12391 | * diagnostic.h: Update copyright date. |
12392 | (output_buffer_state): Add parenthesis. | |
12393 | (output_buffer_format_args): Likewise. | |
12394 | ||
6253d571 GS |
12395 | * combine.c (combine_instructions): Replace XEXP (links, 0) |
12396 | with link. | |
12397 | ||
68f3f6f1 L |
12398 | 2002-01-06 H.J. Lu <hjl@gnu.org> |
12399 | ||
12400 | * cfgcleanup.c (thread_jump): Fix 2 typos. | |
12401 | ||
12402 | 2002-01-06 Aldy Hernandez <aldyh@redhat.com> | |
480f7f3a | 12403 | |
0d24f4d1 | 12404 | * config.gcc: Add support for --enable-altivec. |
480f7f3a | 12405 | |
13b8c631 CR |
12406 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
12407 | ||
12408 | * emit-rtl.c (gen_highpart): Add check for NULL_RTX. | |
12409 | ||
58ad89b1 JJ |
12410 | 2002-01-06 Jakub Jelinek <jakub@redhat.com> |
12411 | ||
12412 | * objc/objc-act.c (handle_impent): Use assemble_variable to emit | |
12413 | __objc_class_name_*. | |
12414 | ||
e403b4bc CR |
12415 | 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org> |
12416 | ||
12417 | * doc/install.texi (sparcv9-*-solaris2*): Add documentation. | |
12418 | ||
e41c7831 RH |
12419 | 2002-01-06 Richard Henderson <rth@redhat.com> |
12420 | ||
12421 | * reorg.c (emit_delay_sequence): Remove death notes, not merely | |
12422 | nop them out. Increment label reference count for REG_LABEL. | |
12423 | (fill_slots_from_thread): Frob label reference count around | |
12424 | delete_related_insns. | |
12425 | ||
3b3b1e32 RH |
12426 | 2002-01-05 Richard Henderson <rth@redhat.com> |
12427 | ||
12428 | * cfgcleanup.c (try_forward_edges): Detect infinite loops while | |
12429 | jump threading. | |
12430 | ||
c28abdf0 RH |
12431 | 2002-01-05 Richard Henderson <rth@redhat.com> |
12432 | ||
12433 | * c-decl.c (c_expand_body): Don't call outlining_inline_function. | |
12434 | * integrate.c (output_inline_function): Likewise. | |
12435 | * toplev.c (rest_of_compilation): Do it here instead. Move call | |
12436 | to remove_unnecessary_notes after emitting abstract instance. | |
12437 | Force an emitted nested function to have its parent emited as well. | |
12438 | * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking | |
12439 | for null. | |
12440 | (rtl_for_decl_location): Do not look at reload data structures | |
12441 | before reload has run. | |
12442 | ||
c4f2c499 KH |
12443 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
12444 | ||
12445 | * cse.c: Fix formatting. | |
12446 | * dwarf2asm.c: Likewise. | |
12447 | * dwarf2out.c: Likewise. | |
12448 | * explow.c: Likewise. | |
12449 | * expmed.c: Likewise. | |
12450 | * function.c: Likewise. | |
12451 | * gcov.c: Likewise. | |
12452 | * gencheck.c: Likewise. | |
12453 | * genrecog.c: Likewise. | |
12454 | * ggc-common.c: Likewise. | |
12455 | * ggc-page.c: Likewise. | |
12456 | * global.c: Likewise. | |
12457 | ||
cf0d9408 KH |
12458 | 2002-01-05 Kazu Hirata <kazu@hxi.com> |
12459 | ||
12460 | * combine.c: Fix formatting. | |
12461 | ||
bedca03a CR |
12462 | 2002-01-05 Craig Rodrigues <crodrigu@bbn.com> |
12463 | ||
12464 | PR middle-end/1557 | |
12465 | * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove. | |
12466 | ||
0134bf2d DE |
12467 | 2002-01-05 David Edelsohn <edelsohn@gnu.org> |
12468 | ||
12469 | * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define | |
12470 | as 1 for __powerpc64__ as well. | |
12471 | ||
12472 | * config/rs6000/t-aix43 (T_ADAFLAGS): Define. | |
12473 | ||
12474 | * alias.c (find_base_value, PLUS/MINUS): If we found a base, | |
12475 | return it. | |
12476 | ||
9ca88d5a DB |
12477 | 2002-01-05 Daniel Berlin <dan@dberlin.org> |
12478 | ||
12479 | * lcm.c: Revert change, due to performance regression it causes on | |
12480 | SPEC because it's slightly more conservative (sigh, I hate | |
12481 | edge-based LCM). | |
0d24f4d1 | 12482 | |
1c570418 JH |
12483 | Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz> |
12484 | ||
12485 | * cfgcleanup.c (try_forward_edges): Allow multiple jump threading. | |
12486 | ||
d83bb9f7 NB |
12487 | 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk> |
12488 | ||
12489 | * doc/cppinternals.texi: Update. | |
12490 | ||
3e0f61ac HPN |
12491 | 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com> |
12492 | ||
12493 | * doc/invoke.texi (Option Summary) <MMIX Options>: Document | |
12494 | -mbranch-predict, -mreg-stack-fill-bug-workaround and their | |
12495 | negatives. | |
12496 | (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend. | |
12497 | * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework | |
12498 | kludge for pre-october-14th mmix versions to handle new-found bug | |
12499 | with PUSHJ/PUSHGO and the register stack. | |
12500 | * config/mmix/mmix.h (struct machine_function): Rename member | |
12501 | has_call_value_without_parameters to has_call_without_parameters. | |
12502 | All referers changed. | |
12503 | (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT | |
12504 | TARGET_MASK_BRANCH_PREDICT): New macros. | |
12505 | (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround, | |
12506 | -mno-reg-stack-fill-bug-workaround. | |
12507 | * config/mmix/mmix.md ("call"): Set struct machine member | |
12508 | has_call_without_parameters. | |
12509 | ||
4deaa2f8 JH |
12510 | Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz> |
12511 | ||
12512 | * cfgcleanup.c (thread_jump): Fix handling of reversed branches. | |
12513 | ||
9f16e871 JH |
12514 | Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz> |
12515 | ||
12516 | * cfgcleanup.c: Include tm_p.h | |
12517 | (mark_effect): Fix handling of hard register; fix handling of SET | |
12518 | ||
96eb1157 KH |
12519 | 2002-01-04 Kazu Hirata <kazu@hxi.com> |
12520 | ||
12521 | * config/h8300/h8300.md (anonymous patterns): Check that | |
12522 | operands are registers before using REGNO on them. | |
12523 | ||
48180d68 RM |
12524 | 2002-01-03 Roland McGrath <roland@frob.com> |
12525 | ||
12526 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu. | |
12527 | ||
b0832fe1 JJ |
12528 | 2002-01-04 Jakub Jelinek <jakub@redhat.com> |
12529 | ||
12530 | * tree.h (expand_expr_stmt_value): Add maybe_last argument. | |
12531 | * c-common.h (genrtl_expr_stmt_value): Likewise. | |
12532 | * stmt.c (expand_expr_stmt): Pass 1 as maybe_last. | |
12533 | (expand_expr_stmt_value): Add maybe_last argument. | |
12534 | Don't warn about statement with no effect if it is the last statement | |
12535 | in expression statement. | |
12536 | * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last. | |
12537 | (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to | |
12538 | expand_expr_stmt_value. | |
12539 | (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to | |
12540 | genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope. | |
12541 | * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1 | |
12542 | as maybe_last to expand_expr_stmt_value. | |
12543 | ||
c1e14513 JL |
12544 | Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com) |
12545 | ||
0d24f4d1 ZW |
12546 | * c-common.c (c_expand_start_cond): Expect the IF_STMT node to |
12547 | be passed in, do not build it. | |
12548 | (c_begin_if_stmt): New function. | |
12549 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
12550 | * c-common.h (c_expand_start_cond): Update prototype. | |
12551 | (c_begin_if_stmt): Prototype new function. | |
12552 | (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise. | |
12553 | * c-parse.in (if_prefix): Use c_begin_if_stmt, | |
12554 | c_begin_while_stmt and c_finish_while_stmt_cond. | |
c1e14513 | 12555 | |
b6ec437a WC |
12556 | 2002-01-04 William Cohen <wcohen@redhat.com> |
12557 | ||
12558 | * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag. | |
12559 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
12560 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
12561 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
12562 | ||
ead39bdf | 12563 | 2002-01-04 Daniel Berlin <dan@cgsoftware.com> |
517b711f DB |
12564 | |
12565 | * lcm.c: Include df.h. | |
12566 | Add available_transfer_function prototype. | |
12567 | (compute_available): Rework to use iterative dataflow framework. | |
12568 | (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict | |
12569 | with bb_info in df.h | |
12570 | (available_transfer_function): New function. | |
12571 | ||
12572 | * Makefile.in (lcm.o): add df.h to dependencies. | |
12573 | ||
551cc6fd RH |
12574 | 2002-01-04 Richard Henderson <rth@redhat.com> |
12575 | ||
12576 | * config/alpha/alpha.c (some_operand): Accept HIGH. | |
12577 | (input_operand): Likewise; accept simple references to globals. | |
12578 | (alpha_const_ok_for_letter_p): New, outlined from alpha.h. | |
12579 | (alpha_const_double_ok_for_letter_p): Likewise. | |
12580 | (alpha_extra_constraint): Likewise. | |
12581 | (alpha_preferred_reload_class): Likewise. Do not force | |
12582 | symbolic constants to memory. | |
12583 | (alpha_legitimate_address_p): Accept simple references | |
12584 | to small_symbolic_operand. | |
12585 | (alpha_legitimize_address): New arg scratch. Be prepared to be | |
12586 | called when no_new_pseudos. Emit simple symbolic references. | |
12587 | Split integers into low, high, and rest. | |
12588 | (alpha_expand_mov): Use alpha_legitimize_address. | |
12589 | (some_small_symbolic_mem_operand): New. | |
12590 | (split_small_symbolic_mem_operand): New. | |
12591 | * config/alpha/alpha-protos.h: Update. | |
12592 | * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line. | |
12593 | (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
12594 | (EXTRA_CONSTRAINT): Likewise. | |
12595 | (PREFERRED_RELOAD_CLASS): Likewise. | |
12596 | (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change. | |
12597 | (PREDICATE_CODES): Update. | |
12598 | * config/alpha/alpha.md: New post-reload splitters to convert | |
12599 | simplfied symbolic operands to the form that references $29. | |
12600 | (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g. | |
12601 | (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand. | |
12602 | ||
1eaea054 RH |
12603 | 2002-01-03 Richard Henderson <rth@redhat.com> |
12604 | ||
12605 | * local-alloc.c (function_invariant_p): Update commentary. | |
12606 | ||
c4cc12b7 L |
12607 | 2002-01-04 H.J. Lu <hjl@gnu.org> |
12608 | ||
12609 | * toplev.c (rest_of_compilation): Fix a typo when calling | |
12610 | cleanup_cfg. | |
12611 | ||
173bf5be KH |
12612 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
12613 | ||
12614 | * c-common.c: Fix formatting. | |
12615 | * diagnostic.c: Likewise. | |
12616 | * doloop.c: Likewise. | |
12617 | * dwarf2out.c: Likewise. | |
12618 | ||
187462ac KH |
12619 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
12620 | ||
12621 | * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead | |
12622 | of 'neg.w' when xoring with 0x0000ffff or 0xffff0000. | |
12623 | ||
5d8ebbd8 NB |
12624 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
12625 | ||
12626 | * cpperror.c: Update comments and copyright. | |
12627 | * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c, | |
12628 | cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly. | |
12629 | ||
518c1311 JDA |
12630 | 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12631 | ||
12632 | * collect2.c (main): Use strcmp when testing for "-shared". | |
12633 | ||
d15a58c0 NB |
12634 | 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk> |
12635 | ||
12636 | * cppmacro.c: Don't include intl.h. Update comments. | |
12637 | (new_number_token): Allocate enough buffer for 64-bit unsigned | |
12638 | integers; update prototype. | |
12639 | * cppmain.c: Update comments. | |
12640 | ||
70f4f91c WC |
12641 | 2002-01-03 William Cohen <wcohen@redhat.com> |
12642 | ||
12643 | * function.h (struct function): Add profile. | |
12644 | (current_function_profile): New. | |
12645 | doc/extend.texi: Update documentation. | |
12646 | * final.c (final_start_function): Use current_function_profile | |
12647 | instead of profile_flag. | |
12648 | (profile_after_prologue): Likewise. | |
12649 | * function.c (expand_function_start): Likewise. | |
12650 | (expand_function_start): Likewise. | |
c4cc12b7 | 12651 | * config/alpha/alpha.c (direct_call_operand): |
70f4f91c WC |
12652 | (alpha_does_function_need_gp): Likewise. |
12653 | (alpha_expand_prologue): Likewise. | |
12654 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
12655 | thumb_expand_prologue: Likewise. | |
12656 | * config/d30v/d30v.c (d30v_stack_info): Likewise. | |
12657 | * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise. | |
12658 | (fr30_expand_prologue): Likewise. | |
12659 | * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise. | |
12660 | * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise. | |
12661 | * config/i386/i386.h (FINALIZE_PIC): Likewise. | |
12662 | * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise. | |
12663 | * config/i960/i960.c (i960_output_function_prologue): Likewise. | |
12664 | * config/ia64/ia64.c (ia64_compute_frame_size): Likewise. | |
12665 | * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise. | |
12666 | (m32r_expand_prologue): Likewise. | |
12667 | * config/m88k/m88k.c (m88k_layout_frame): Likewise. | |
12668 | (m88k_expand_prologue): Likewise. | |
12669 | * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise. | |
12670 | * config/mips/mips.c (compute_frame_size): Likewise. | |
12671 | (mips_expand_prologue): Likewise. | |
12672 | (mips_can_use_return_insn): Likewise. | |
12673 | * config/pa/elf.h (ASM_FILE_START): Likewise. | |
12674 | * config/pa/pa-linux.h (ASM_FILE_START): Likewise. | |
12675 | * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise. | |
12676 | * config/pa/som.h (ASM_FILE_START): Likewise. | |
12677 | * config/romp/romp.c (romp_using_r14): Likewise. | |
12678 | * config/rs6000/rs6000.c (first_reg_to_save): Likewise. | |
12679 | (rs6000_stack_info): Likewise. | |
12680 | * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2fd17409 | 12681 | * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. |
70f4f91c WC |
12682 | * config/v850/v850.c (compute_register_save_size): Likewise. |
12683 | ||
cb1ac742 JJ |
12684 | 2002-01-03 Jakub Jelinek <jakub@redhat.com> |
12685 | ||
12686 | * simplify-rtx.c (simplify_binary_operation) [DIV]: If | |
12687 | gen_lowpart_common fails, use gen_lowpart_SUBREG. | |
12688 | ||
61d951df | 12689 | 2002-01-03 Turly O'Connor <turly@apple.com> |
cb1ac742 | 12690 | |
61d951df TC |
12691 | * darwin.c (machopic_output_possible_stub_label): Don't generate |
12692 | stub routines for pseudo-stubs which we've just defined. | |
12693 | ||
505ddab6 KH |
12694 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
12695 | ||
12696 | * builtins.c: Fix formatting. | |
12697 | * c-typeck.c: Likewise. | |
12698 | * combine.c: Likewise. | |
12699 | * expr.c: Likewise. | |
12700 | * loop.c: Likewise. | |
12701 | ||
b7e30d8a AS |
12702 | 2002-01-03 Andreas Schwab <schwab@suse.de> |
12703 | ||
12704 | * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool | |
12705 | and return true if _cpp_push_next_buffer pushed a new include | |
12706 | file. | |
12707 | * cpplib.c (_cpp_pop_buffer): Only call obstack_free if | |
12708 | _cpp_pop_file_buffer did not push a new file. | |
12709 | * cpphash.h (_cpp_pop_file_buffer): Update declaration. | |
12710 | ||
ff81832f EC |
12711 | 2002-01-02 Eric Christopher <echristo@redhat.com> |
12712 | ||
12713 | * final.c (final_scan_insn): Change 0 -> NULL_RTX in | |
12714 | FIND_REG_INC_NOTE call. Update copyright. | |
12715 | * loop.c (canonicalize_condition): Ditto. | |
12716 | * reorg.c (delete_scheduled_jump): Ditto. | |
12717 | ||
8e42ace1 KH |
12718 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
12719 | ||
12720 | * gcse.c: Fix formatting. | |
12721 | ||
fb2bf631 GS |
12722 | 2002-01-03 Graham Stott <grahams@redhat.com> |
12723 | ||
12724 | * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h | |
12725 | forward defs for struct tags rtx_def, union_tree, rtvec_def | |
6253d571 | 12726 | also output corresponding typedefs for rtx, tree, and rtvec. |
fb2bf631 GS |
12727 | |
12728 | * system.h: Move forward defs for struct tags rtx_def, union_tree, | |
12729 | rtvec_def along with corresponding typedefs for rtx, tree, and | |
6253d571 | 12730 | rtvec to config.h, hconfig.h, tconfig.h. |
fb2bf631 GS |
12731 | |
12732 | 2002-01-03 Graham Stott <grahams@redhat.com> | |
b9daac31 GS |
12733 | |
12734 | * tree.h: Update copyright date. | |
12735 | (IS_EXPR_CODE_CLASS): Add parenthesis. | |
12736 | (TREE_SET_CODE): Add whitespace. | |
12737 | (TREE_CHECK): Add parenthesis. | |
12738 | (TREE_CLASS_CODE): Add parenthesis and wrap long line. | |
12739 | (CST_OR_CONSTRUCTOR_CHECK): | |
12740 | (EXPR_CHECK): Add parenthis, whitespace and wrap line. | |
12741 | (TREE_SYMBOL_REFERENCED): Whitespace. | |
12742 | (INT_CST_LT): Likewise. | |
12743 | (INT_CST_LT_UNSIGNED): Likewise. | |
12744 | (tree_real_cst): Unwrap comment. | |
12745 | (tree_string): Likewise. | |
12746 | (tree_complex): Likewise. | |
12747 | (IDENTIFIER_POINTER): correct cast. | |
12748 | (SAVE_EXPR_CONTEXT): Whitespace. | |
12749 | (EXPR_WFL_FILENAME_NODE): Likewise. | |
12750 | (EXPR_WFL_FILENAME): Remove parenthesis. | |
12751 | (DECL_ORIGIN): Add parenthesis. | |
12752 | (DECL_FROM_INLINE): Use NULL_TREE. | |
12753 | (build_int_2): Whitespace. | |
12754 | (build_type_variant): Add parenthesis. | |
12755 | ||
12756 | * gcc/jcf-parse.c: Update copyright date. | |
12757 | (yyparse): Constify resource_filename. | |
12758 | ||
f52eda29 GS |
12759 | 2002-01-03 Graham Stott <grahams@redhat.com> |
12760 | ||
12761 | * rtl.h: Update copyright date. | |
12762 | (RTL_CHECK1): Wrap long line. | |
12763 | (RTL_CHECK2): Likewise. | |
12764 | (RTL_CHECKC1): Wrap long line and whitespace. | |
12765 | (RTL_CHECKC2): Likewise. | |
12766 | (XWINT): Whitespace. | |
12767 | (XINT): Likewise. | |
12768 | (XSTR): Likewise. | |
12769 | (XEXP): Likewise. | |
12770 | (XVEC): Likewise. | |
12771 | (XMODE): Likewise. | |
12772 | (XBITMAP): Likewise. | |
12773 | (XTREE): Likewise. | |
12774 | (XBBDEF): Likewise. | |
12775 | (XTMPL): Likewise. | |
12776 | (X0WINT): Likewise. | |
12777 | (X0INT):Likewise. | |
12778 | (X0UINT): Likewise. | |
12779 | (X0STR): Likewise. | |
12780 | (X0EXP): Likewise. | |
12781 | (X0VEC): Likewise. | |
12782 | (X0MODE): Likewise. | |
12783 | (X0BITMAP): Likewise. | |
12784 | (X0TREE): Likewise. | |
12785 | (X0BBDEF): Likewise. | |
12786 | (X0ADVFLAGS): Likewise. | |
12787 | (X0CSELIB): Likewise. | |
12788 | (X0MEMATTR): Likewise. | |
12789 | (XCWINT): Likewise. | |
12790 | (XCINT): Likewise. | |
12791 | (XCUINT): Likewise. | |
12792 | (XCSTR): Likewise. | |
12793 | (XCEXP): Likewise. | |
12794 | (XCVEC): Likewise. | |
12795 | (XCMODE): Likewise. | |
12796 | (XCBITMAP): Likewise. | |
12797 | (XCTREE): Likewise. | |
12798 | (XCBBDEF): Likewise. | |
12799 | (XCADVFLAGS): Likewise. | |
12800 | (XCCSELIB): Likewise. | |
12801 | (XC2EXP): Likewise. | |
12802 | (INSN_UID): Likewise. | |
12803 | (PREV_INSN): Likewise. | |
12804 | (PATTERN): Likewise. | |
12805 | (INSN_CODE): Likewise. | |
12806 | (PUT_REG_NOTE_KIND): Likewise. | |
12807 | (CODE_LABEL_NUMBER): Likewise. | |
12808 | (NOTE_SOURCE_FILE): Likewise. | |
12809 | (NOTE_BLOCK): Likewise. | |
12810 | (NOTE_EH_HANDLER): Likewise. | |
12811 | (NOTE_RANGE_INFO): Likewise. | |
12812 | (NOTE_LIVE_INFO): Likewise. | |
12813 | (NOTE_BASIC_BLOCK): Likewise. | |
12814 | (NOTE_EXPECTED_VALUE): Likewise. | |
12815 | (NOTE_LINE_NUMBER): Likewise. | |
12816 | (LABEL_NAME): Likewise. | |
12817 | (LABEL_NUSES): Likewise. | |
12818 | (LABEL_ALTERNATE_NAME): Likewise. | |
12819 | (ADDRESSOF_DECL): Likewise. | |
12820 | (JUMP_LABEL): Likewise. | |
12821 | (LABEL_NEXTREF): Likewise. | |
12822 | (REGNO): Likewise. | |
12823 | (ORIGINAL_REGNO: Likewise. | |
12824 | (HARD_REGISTER_NUM_P): Add parenthesis. | |
12825 | (SUBREG_REG): Whitespace. | |
12826 | (SUBREG_BYTE): Likewise. | |
12827 | (ASM_OPERANDS_TEMPLATE): Remove parenthesis. | |
12828 | (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise. | |
12829 | (ASM_OPERANDS_OUTPUT_IDX): Likewise. | |
12830 | (ASM_OPERANDS_INPUT_VEC): Likewise. | |
12831 | (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise. | |
12832 | (ASM_OPERANDS_INPUT): Likewise. | |
12833 | (ASM_OPERANDS_INPUT_LENGTH): Likewise. | |
12834 | (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise. | |
12835 | (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise. | |
12836 | (ASM_OPERANDS_INPUT_MODE): Likewise. | |
12837 | (ASM_OPERANDS_SOURCE_FILE): Likewise. | |
12838 | (ASM_OPERANDS_SOURCE_LINE): Likewise. | |
12839 | (MEM_SET_IN_STRUCT_P): Minor reformat. | |
12840 | (TRAP_CONDITION): Whitespace. | |
12841 | (TRAP_CODE): Likewise. | |
12842 | (COND_EXEC_TEST): Likewise. | |
12843 | (COND_EXEC_CODE): Likewise. | |
12844 | (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis. | |
12845 | (PHI_NODE_P): Add parenthesis. | |
12846 | (plus_constant): Whitespace and add parenthesis. | |
12847 | ||
e03f5d43 KH |
12848 | 2002-01-03 Kazu Hirata <kazu@hxi.com> |
12849 | ||
12850 | * config/avr/avr.c: Fix comment typos. | |
12851 | * config/c4x/c4x.md: Likewise. | |
12852 | * config/dsp16xx/dsp16xx.h: Likewise. | |
12853 | * config/dsp16xx/dsp16xx.md: Likewise. | |
12854 | * config/i386/i386.md: Likewise. | |
12855 | * config/ia64/ia64.c: Likewise. | |
12856 | * config/m32r/m32r.h: Likewise. | |
12857 | * config/m68hc11/m68hc11.md: Likewise. | |
12858 | * config/mmix/mmix.c: Likewise. | |
12859 | * config/mn10200/mn10200.c: Likewise. | |
12860 | * config/romp/romp.c: Likewise. | |
12861 | * config/sh/sh.c: Likewise. | |
12862 | * config/stormy16/stormy16.c: Likewise. | |
12863 | * config/stormy16/stormy16.h: Likewise. | |
12864 | * config/stormy16/stormy16.md: Likewise. | |
12865 | ||
97e300e9 GS |
12866 | 2002-01-03 Graham Stott <grahams@redhat.com> |
12867 | ||
12868 | * loop.h: Update copyright date. | |
0d24f4d1 ZW |
12869 | (LOOP_MOVABLES): Fix typo. |
12870 | (LOOP_REGS): Likewise. | |
12871 | (LOOP_IVS): Likewise. | |
ff81832f | 12872 | |
745b26b3 GS |
12873 | 2002-01-03 Graham Stott <grahams@redhat.com> |
12874 | ||
12875 | * cppinit.c: Update copyright date. | |
12876 | Don't include output.h | |
12877 | * Makefile.in: Update copyright date. | |
12878 | Update dependency. | |
12879 | ||
0a379b7a CR |
12880 | 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> |
12881 | ||
12882 | PR c/5226 | |
12883 | * invoke.texi (-mthreads): Remove from documented RS/6000 options. | |
12884 | (-pthread) Add to RS/6000 options. | |
12885 | ||
a8154559 KH |
12886 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
12887 | ||
12888 | * except.c: Fix comment typos. | |
12889 | * loop.c: Likewise. | |
12890 | * varasm.c: Likewise. | |
12891 | * doc/tm.texi: Fix a typo. | |
12892 | ||
e6ecc89b JJ |
12893 | 2002-01-02 Jakub Jelinek <jakub@redhat.com> |
12894 | ||
12895 | * c-typeck.c (output_init_element): Allow initializing static storage | |
12896 | duration objects with compound literals. | |
12897 | ||
d1094b40 RH |
12898 | 2002-01-02 Richard Henderson <rth@redhat.com> |
12899 | ||
12900 | * objc/objc-act.c (hack_method_prototype): Clear current_function_decl | |
12901 | after abusing it. | |
12902 | ||
0c5d8c82 KG |
12903 | 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12904 | ||
5e65297b KG |
12905 | * gcc.c (default_compilers): Const-ify. |
12906 | * mips-tdump.c (stab_names): Likewise. | |
12907 | * mips-tfile.c (map_coff_types, map_coff_storage, | |
12908 | map_coff_sym_type, map_coff_derived_type, stabs_symbol, | |
12909 | pseudo_ops_t, pseudo_ops): Likewise. | |
12910 | * protoize.c (default_include): Likewise | |
12911 | ||
0c5d8c82 KG |
12912 | * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness. |
12913 | (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify. | |
12914 | Add array size in declaration. | |
12915 | (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi, | |
12916 | emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm, | |
12917 | esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe, | |
12918 | etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe, | |
12919 | eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc, | |
12920 | efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm, | |
12921 | c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens, | |
12922 | emtens, make_nan): Const-ify. | |
12923 | (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan, | |
12924 | DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify. | |
12925 | ||
817e13c4 JM |
12926 | 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk> |
12927 | ||
12928 | * config.gcc (ia64-*-*): Set extra_headers. | |
12929 | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. | |
12930 | * config/alpha/t-osf: Remove. | |
12931 | * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. | |
12932 | ||
98095e2b DE |
12933 | 2002-01-02 David Edelsohn <edelsohn@gnu.org> |
12934 | ||
12935 | * config/rs6000/t-aix43: Revert previous change. | |
12936 | ||
a4200657 JM |
12937 | 2002-01-02 Jason Merrill <jason@redhat.com> |
12938 | ||
12939 | * c-decl.c (c_expand_body): Call outlining_inline_function when | |
12940 | emitting an inline function out of line. | |
12941 | ||
54ba1f0d RH |
12942 | 2002-01-02 Richard Henderson <rth@redhat.com> |
12943 | ||
12944 | * dwarf2out.c (limbo_die_node): Add created_for member. | |
12945 | (new_die): New argument created_for. Update all callers. | |
12946 | (mark_limbo_die_list): New. | |
12947 | (dwarf2out_init): Register limbo_die_list as a root. | |
12948 | (dwarf2out_finish): Force insert limbo dies into their function | |
12949 | context. | |
12950 | ||
323728aa NS |
12951 | 2002-01-02 Nathan Sidwell <nathan@codesourcery.com> |
12952 | ||
12953 | PR c++/5089 | |
12954 | * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts. | |
12955 | ||
aefc5826 KH |
12956 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
12957 | ||
12958 | * config/h8300/fixunssfsi.c: Update copyright. | |
12959 | Fix comment typos. | |
12960 | Fix formatting. | |
12961 | * config/h8300/h8300.c: Update copyright. | |
12962 | Eliminate warnings. | |
12963 | ||
b1c9bc51 KH |
12964 | 2002-01-02 Kazu Hirata <kazu@hxi.com> |
12965 | ||
12966 | * config/romp/romp.c: Fix comment formatting. | |
12967 | * config/romp/romp.h: Likewise. | |
12968 | * config/romp/romp.md: Likewise. | |
12969 | * config/s390/s390.c: Likewise. | |
12970 | * config/stormy16/stormy16.c: Likewise. | |
12971 | * config/stormy16/stormy16.h: Likewise. | |
12972 | ||
1574ef13 AO |
12973 | 2002-01-02 Alexandre Oliva <aoliva@redhat.com> |
12974 | ||
12975 | * c-common.h (genrtl_expr_stmt_value): Declare. | |
12976 | * c-semantics.c (genrtl_goto_stmt): Redirect to... | |
12977 | (genrtl_goto_stmt_value): ... this new function. Pass new | |
12978 | argument down to expand_expr_stmt_value, taking | |
12979 | TREE_ADDRESSABLE into account. | |
12980 | * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a | |
12981 | STMT_EXPR as addressable, i.e., one whose result we want. | |
12982 | * expr.c (expand_expr): Don't save expression statement value | |
12983 | of labeled_blocks or loop_exprs. | |
12984 | * stmt.c (expand_expr_stmt): Redirect to... | |
12985 | (expand_expr_stmt_value): ... this new function. Use new | |
12986 | argument to tell whether to save expression value. | |
12987 | (expand_end_stmt_expr): Reset last_expr_type and | |
12988 | last_expr_value if we don't have either. | |
12989 | * tree-inline.c (declare_return_variable): Mark its use | |
12990 | statement as addressable. | |
12991 | * tree.h: Document new use of TREE_ADDRESSABLE. | |
12992 | (expand_expr_stmt_value): Declare. | |
12993 | ||
252b88f7 TR |
12994 | 2002-01-01 Tom Rix <trix@redhat.com> |
12995 | ||
12996 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by | |
12997 | rs6000_emit_allocate_stack. | |
12998 | ||
29f7a208 JM |
12999 | 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk> |
13000 | ||
13001 | * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of | |
13002 | ${srcdir}/ginclude/ to every entry in extra_headers. | |
13003 | * configure: Regenerate. | |
13004 | * ginclude/math-3300.h: Rename to config/m68k/math-3300.h. | |
13005 | * ginclude/math-68881.h: Rename to config/m68k/math-68881.h. | |
13006 | * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h. | |
13007 | * ginclude/proto.h: Rename to config/convex/proto.h. | |
13008 | ||
2cc2d4bb RK |
13009 | Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
13010 | ||
13011 | * attribs.c (handle_vector_size_attribute): Use host_integerp | |
13012 | and tree_int_cst; remove warnings. | |
13013 | * caller-save.c (insert_restore): Add cast to get rid of warning. | |
13014 | (insert_save): Likewise. | |
13015 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
13016 | * regmove.c (find_matches): Add temporary var to kill a warning. | |
13017 | ||
f01c9bcd DR |
13018 | 2002-01-01 Douglas B Rupp <rupp@gnat.com> |
13019 | ||
16b61764 DR |
13020 | * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX, |
13021 | LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define. | |
13022 | * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o | |
13023 | (vms-dwarf2eh.o): Add Makefile rule. | |
13024 | * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o. | |
13025 | * config/alpha/vms-dwarf2eh.asm: New file. | |
13026 | ||
f01c9bcd DR |
13027 | * gcc.c (delete_if_ordinary): Delete all versions. |
13028 | ||
91312b81 HPN |
13029 | 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
13030 | ||
13031 | * config/mmix/mmix.md: Update FIXME to not mention | |
13032 | define_constants. | |
13033 | (MMIX_rJ_REGNUM): New define_constants constant. | |
13034 | ("movqi", "movsi", "movdi", "*movdicc_real_foldable", | |
13035 | "*movdicc_real"): Adjust contraints formatting. | |
13036 | ("*bCC_foldable"): Add %+ for P in output format and delete FIXME | |
13037 | for branch prediction. | |
13038 | ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in | |
13039 | output template. | |
13040 | ("*call_real", "*call_value_real", "nonlocal_goto_receiver", | |
13041 | "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of | |
13042 | number. Delete related FIXMEs. | |
13043 | * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change | |
13044 | from number to MMIX_rJ_REGNUM. | |
13045 | (TARGET_MASK_BRANCH_PREDICT): New. | |
13046 | (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT. | |
13047 | (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols | |
13048 | value. Add -mbranch-predict and -mno-branch-predict. | |
13049 | (TARGET_VERSION): Drop date. | |
13050 | (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number. | |
13051 | * config/mmix/mmix.c (mmix_encode_section_info): Correct condition | |
13052 | for finding out global symbols. | |
13053 | (mmix_asm_output_labelref): Revert condition for global symbol. | |
13054 | (mmix_print_operand): <case '+'>: Emit P for a likely branch. | |
13055 | (mmix_print_operand_punct_valid_p): A '+' is valid. | |
13056 | ||
619acae7 | 13057 | See ChangeLog.6 for earlier changes. |