forked from jcmvbkbc/gcc-xtensa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-1999
21793 lines (16075 loc) · 783 KB
/
ChangeLog-1999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Fri Dec 31 19:10:31 1999 Richard Kenner <[email protected]>
* function.c (update_temp_slot_address): Handle case where sum of
temporary address plus offset in register is a valid address.
1999-12-30 Herman A.J. ten Brugge <[email protected]>
* genrecog.c (change_state) Corrected typo.
1999-12-30 Kaveh R. Ghazi <[email protected]>
* system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
strerror, getrlimit, setrlimit, abort): Add prototype arguments.
1999-12-30 Bernd Schmidt <[email protected]>
* i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
case, expand GT comparisons correctly. Fix a comment before this
part of the code.
1999-12-30 Gabriel Dos Reis <[email protected]>
* dwarfout.c: Include "frame.h"
* dwarf2out.c: Likewise.
* Makefile.in (dwarfout.o): Depend on frame.h
(dwarf2out.o): Likewise.
1999-12-29 "Martin v. Löwis" <[email protected]>
Restore i386 binary compatibility in Dwarf EH info.
* config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
value of FIRST_PSEUDO_REGISTER.
* frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
(struct frame_state): Use DWARF_FRAME_REGISTERS.
* dwarfout.c (output_reg_number): Ditto.
* dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
(DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
1999-12-29 Bruce Korb <[email protected]>
* fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
* fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
(<hack>_RE_CT): not needed
* fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
rewritten to scan the file text once only
"template<..." test added
* fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
(is_cxx_header): declaration added
* fixinc/fixtests.c(is_cxx_header): removed
(apply_fix_p_t): removed
(double_slash_test): is_cxx_header is only called once now
* fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
* fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
within the templates.
The borken spelling of "broken" was fixed.
* fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
The default level depends on FIXINC_DEBUG.
1999-12-29 Kaveh R. Ghazi <[email protected]>
* crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
Otherwise provide a declaration for atexit.
(init_dummy): Make sure dummy call to atexit is nevertheless
called with correct number of args.
* frame.c: Update comments referring to other files.
* libgcc2.c: Likewise.
1999-12-29 Kaveh R. Ghazi <[email protected]>
* cse.c (free_element, get_element): Remove unused prototypes.
* fold-const.c (extract_muldiv): Initialize variables `op0' and
`op1'.
* jump.c (invert_exp): Add explicit braces to avoid ambiguous
`else' clauses.
Wed Dec 29 12:44:54 1999 Donald Lindsay <[email protected]>
* configure.in,configure: case arm for mn10200-*-* now sets
float_format=i32 so that float.h will correctly claim "double"
to be 32 bits. Ran autoconf to generate configure from .in file.
Wed Dec 29 10:53:21 1999 Jeffrey A Law ([email protected])
* pa.md (conditional zero): If op1 is a register, force it into
the same register as op0.
1999-12-28 Mark Mitchell <[email protected]>
* tree.h (BINFO_BASETYPES): Improve documentation.
1999-12-28 Kaveh R. Ghazi <[email protected]>
* configure.in (--enable-checking): Use a more portable `for'
loop syntax.
1999-12-28 Kaveh R. Ghazi <[email protected]>
* configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
* xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
Delete files.
* gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
Delete descriptions.
* i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
xm-svr4.h: Remove all instances of sys_siglist handling.
1999-12-27 Jakub Jelinek <[email protected]>
* config/sparc/sparc.md (cmp_zero_qi,
cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
cmp_zero_extendqidi2_andcc_set): New patterns.
1999-12-28 Manfred Hollstein <[email protected]>
* m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
(LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
(fpgnulib.c, xfgnulib.c): Add rules.
* m68k/t-mot3300-gas: Likewise.
1999-12-27 Ian Lance Taylor <[email protected]>
* configure.in: Avoid [[ by using test and changequote. Add
changequote required by 1999-12-14 change.
* configure: Rebuild.
1999-12-27 Clinton Popetz <[email protected]>
* config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
1999-12-27 Christophe Jaillet <[email protected]>
* alias.c (nonlocal_reference_p): Add else for disjoint ifs.
* flow.c (find_use_as_address): Likewise.
* function.c (fixup_var_refs_1): Likewise.
(walk_fixup_memory_subreg, fixup_stack_1): Likewise.
* jump.c (invert_exp, redirect_exp): Likewise.
* loop.c (replace_call_address): Likewise.
(count_nonfixed_reads): Likewise.
* rtlanal.c (modified_between_p): Likewise.
(modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
(side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
* unroll.c (remap_split_bivs): Likewise.
1999-12-27 Kaveh R. Ghazi <[email protected]>
* diagnostic.c (v_message_with_decl): Use .* format specifier
instead of building the format specifier width manually.
* system.h (strsignal): Don't check HAVE_STRSIGNAL when
determining whether to provide a prototype. Remove the
sys_siglist clause in the conditional.
1999-12-23 Martin v. Löwis <[email protected]>
* fold-const.c (operand_equal_p): Use memcmp to compare string
constants.
Suggested by D. J. Bernstein
1999-12-17 Jakub Jelinek <[email protected]>
* config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
compiling libgcc2.
* config/mips/mips.h (TARGET_64BIT): Likewise.
* config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
* libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
of {SI,DI}type and DIunion. Define these types to QI/HI modes on
dsps. Give routines proper names if SI/DI modes are not used.
* longlong.h: Use DWunion instead of DIunion.
1999-12-26 Zack Weinberg <[email protected]>
* acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
GC_CHECKING, GC_ALWAYS_COLLECT.
* configure.in: Allow --enable-checking with an argument
listing check modes to enable.
* config.in, configure: Rebuilt.
* ggc-page.c, ggc-simple.c: Define GGC_POISON (and
GGC_ALWAYS_VERIFY for ggc-simple.c) only if
ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
ENABLE_GC_ALWAYS_COLLECT.
* rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
throughout.
* tree.h, tree.c: Change ENABLE_CHECKING to
ENABLE_TREE_CHECKING throughout.
Sun Dec 26 07:48:20 1999 Richard Kenner <[email protected]>
* fold-const.c (fold_truthop): Properly check for FP RHS.
1999-12-24 Mark Mitchell <[email protected]>
* toplev.h (note_deferall_of_defined_inline_function): Declare.
* toplev.c (note_deferral_of_defined_inline_function): New
function, split out from ...
(rest_of_compilation): ... here. Use it.
Fri Dec 24 12:34:26 1999 Richard Kenner <[email protected]>
* expr.c (store_constructor): Don't call clear_storage if size is
variable.
1999-12-24 Kaveh R. Ghazi <[email protected]>
* Makefile.in (toplev.o): Depend on loop.h.
* dwarfout.c: Include tm_p.h.
* emit-rtl.c (restore_emit_status): Mark parameter with
ATTRIBUTE_UNUSED.
* final.c (final_scan_insn): Likewise.
* flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
flow_depth_first_order_compute, flow_loop_pre_header_find,
flow_loop_tree_node_add, flow_loops_tree_build,
flow_loop_level_compute, flow_loops_level_compute,
flow_loop_outside_edge_p): Add prototypes.
(recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
* ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
Mark with ATTRIBUTE_NORETURN.
* hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
* local-alloc.c (no_conflict_p): Likewise.
* loop.c (insert_bct): Hide definitions of variables with hidden
usage.
(note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
* regclass.c (memory_move_secondary_cost): Mark variable `mem'
with ATTRIBUTE_UNUSED.
(record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
(reg_scan): Likewise.
* reload.c (find_reloads): Remove unused variables `changed'.
* reload1.c (reload_reg_class_lower): Don't unnecessarily cast
away const-ness.
(allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
Remove unused variable `insn'.
* toplev.c: Include loop.h.
(report_file_and_line): Remove unnecessary prototype.
* tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
* unroll.c (biv_total_increment): Likewise.
Thu Dec 23 23:15:22 1999 J"orn Rennecke <[email protected]>
* reload1.c (emit_input_reload_insns): Restore old behavior
wrt. 'special' reloads.
1999-12-23 Zack Weinberg <[email protected]>
* Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
hash.h. (cse.c): Don't depend on hashtab.h.
* cse.c: Don't include hashtab.h.
(hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
of dead functions.
* ggc-simple.c: Don't include hash.h.
1999-12-22 Jason Merrill <[email protected]>
* dwarf2out.c (add_abstract_origin_attribute): Call
gen_abstract_function on our function context.
Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <[email protected]>
* Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
1999-12-23 Michael Hayes <[email protected]>
* config/c4x/c4x.c (c4x_address_cost): Add statement to default
case in switch.
1999-12-22 Michael Hayes <[email protected]>
* config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
constraints to "a!r".
1999-12-21 Mark Mitchell <[email protected]>
* Makefile.in (calls.o): Depend on function.h.
(alias.o): Likewise.
1999-12-21 Bernd Schmidt <[email protected]>
* reload1.c (emit_reload_insns): Break out code and variables into...
(input_reload_insns, other_input_address_reload_insns,
other_input_reload_insns, input_address_reload_insns,
inpaddr_address_reload_insns, output_reload_insns,
output_address_reload_insns, outaddr_address_reload_insns,
operand_reload_insns, other_operand_reload_insns,
other_output_reload_insns): ... new static variables, and...
(emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
do_output_reload): ... new functions.
Tue Dec 21 07:06:36 1999 Richard Kenner <[email protected]>
* pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
1999-12-21 Michael Hayes <[email protected]>
* md.texi: Add c4x constraints documentation.
1999-12-21 Martin v. Löwis <[email protected]>
* config/i386/dgux.c (struct option): Rename to
lang_independent_option.
(struct m_options): Add description field.
(output_options): Rename option type, add sep declaration, output
ix86_cpu_string and ix86_arch_string only if set.
(output_file_start): Rename option type.
Mon Dec 20 23:15:36 1999 Mike Stump <[email protected]>
* Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
stmp-int-hdrs.
(libgcc2.a): Similarly.
Mon Dec 20 23:06:47 1999 David Edelsohn <[email protected]>
* longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
Mon Dec 20 23:02:03 1999 Jeffrey A Law ([email protected])
* fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
Remove redundant initialization of "frexpon" and "expon".
Mon Dec 20 15:00:04 1999 Richard Kenner <[email protected]>
* tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
* expr.c (store_constructor): New argument SIZE; pass to clear_storage.
(store_constructor_field, expand_expr): Pass new arg.
1999-12-20 Mark Mitchell <[email protected]>
* Makefile.in (explow.o): Depend on function.h.
* stor-layout.c (set_sizetype): Fix typo.
1999-12-20 Bernd Schmidt <[email protected]>
* function.c (cfun): Renamed from current_function. All users
changed.
* function.h (cfun): Rename declaration as well.
* reload.h (struct insn_chain): Change live_throughout and dead_or_set
to be of type regset_head, not regset. All users changed by adding
address operator.
* reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
1999-12-20 Michael Hayes <[email protected]>
* config/c4x/rtems.h: New file.
1999-12-19 Bernd Schmidt <[email protected]>
* reload1.c (spill_failure): Take class of failed reload as argument
and print it. Caller changed.
Sun Dec 19 07:50:42 1999 Richard Kenner <[email protected]>
* rs6000.h (SUBTARGET_DEFAULT): New macro.
(TARGET_SWITCHES): Allow subtargets to default switches.
* rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
1999-12-18 Mark Mitchell <[email protected]>
* crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
in a main program.
Sat Dec 18 20:42:43 1999 Richard Henderson <[email protected]>
* cccp.c (main): Define __STDC_VERSION__ as necessary.
* cppinit.c (cpp_handle_option): Likewise.
* ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
determine when to define.
Sat Dec 18 20:34:00 1999 Richard Henderson <[email protected]>
* alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
cmove with mismatched test and data modes.
Sat Dec 18 20:30:15 1999 Richard Henderson <[email protected]>
* c-typeck.c (c_expand_start_case): Don't warn for long switch
in system headers.
Sat Dec 18 16:28:43 1999 Richard Kenner <[email protected]>
* alias.c: Minor reformatting.
* flow.c: Likewise.
* regs.h: Likewise.
* stor-layout.c: Likewise.
* fold-const.c: Likewise.
(OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
(struct cb_args, const_binop_1, const_binop): Pass type of arg,
not arg itself.
(size_int_wide): Cache nodes even if garbage collecting.
(twoval_comparison_p): Reenable SAVE_EXPR case if operand
of SAVE_EXPR has no side effects.
* cse.c: Move a comment.
* tree.c: Minor reformatting.
(int_size_in_bytes): Return -1 if constant overflows.
Sat Dec 18 18:30:20 1999 J"orn Rennecke <[email protected]>
* unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
1999-12-18 10:42 -0800 Zack Weinberg <[email protected]>
* objc/objc-parse.c: Regenerate. This file must be rebuilt
after any change to c-parse.in, even if objc-parse.y didn't
change. Oops.
1999-12-18 David S. Miller <[email protected]>
* toplev.c (rest_of_compilation): Restore BLOCK tree
reconstruction and branch shortening changes lost in
December 18th change.
Sat Dec 18 05:29:29 1999 Scott Bambrough <[email protected]>
* config/arm/linux-elf.h: Change all instances of
ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
* config/arm/uclinux-elf.h: Likewise.
1999-12-18 Gabriel Dos Reis <[email protected]>
* toplev.c (notice, vmessage, v_message_with_file_and_line,
v_message_with_decl, file_and_line_for_asm,
v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
pfatal_with_name, fatal_io_error, need_error_newline,
last_error_function, last_error_tick, announce_function,
default_print_error_function, print_error_function,
report_error_function, fnotice, error_with_file_and_line,
error_with_decl, error_for_asm, error, set_fatal_function, fatal,
_fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
warning_with_decl, warning_for_asm, warning, pedwarn,
pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
diagnostic.c
(compile_file): Use fnotice instead of notice. Adjust call.
* diagnostic.c: New file.
* Makefile.in (OBJS): Include diagnostic.o
(diagnostic.o): Define dependence.
1999-12-18 Michael Hayes <[email protected]>
* config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
Tweak formatting.
1999-12-18 Michael Hayes <[email protected]>
* config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
1999-12-17 13:21 -0800 Zack Weinberg <[email protected]>
* fixtests.c (is_cxx_header): New fn, split out of
double_slash_test.
(else_endif_label): Allow "#endif // comment" in C++ headers,
as determined by is_cxx_header.
* fixfixes.c (else_endif_label_fix): Update comment.
* fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
a tty.
* genfixes: Correct double thinko in commandline parsing.
* hackshell.tpl: Generate correct sh syntax for bypass
entries.
* inclhack.def (all): Whenever an inserted preprocessor
conditional is split over multiple lines, use double
backslashes in this file so the fixed header will be readable.
(AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
and add bypass entry for correct version of this header.
(AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
(AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
(hpux8_bogus_inlines): New fix, split from...
(ultrix_atof_param) ... here.
(math_expression): Add bypass entry keyed to glibc comment
indicating the problem has been dealt with; disable
unnecessary sed operations; update commentary.
(math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
add select and bypass entries, simplify shell operation.
(math_huge_val_ifndef): Split from math_gcc_ifndefs.
(ip_missing_semi, rs6000_param, tinfo_cplusplus,
ultrix_atof_param): Add select entry.
(stdio_va_list, sunos_mather_decl): Add bypass entry.
(systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
comments with the fixes they describe.
* c-parse.in (string action): Do not warn about ANSI string
concatenation in system headers. Affects C parser only.
* c-parse.y, c-parse.c, c-parse.h: Rebuild.
1999-12-16 Jakub Jelinek <[email protected]>
* config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
compiling libgcc2 the macro depends always on arch cpp defines.
Fri Dec 17 10:34:16 1999 Richard Earnshaw <[email protected]>
* loop.c (insert_loop_mem): Don't record MEMs from inside
EXPR_LISTs.
Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <[email protected]>
* regclass.c (regclass): Do not use flowgraph when not optimizing.
* gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
notes too, create one when replacement failed, attempt to simplify
resulting notes.
(cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
or REG_EQUIV notes.
1999-12-16 Mark Mitchell <[email protected]>
* crtstuff.c (__dso_handle): Declare.
(__cxa_finalize): Likewise.
(do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
non-NULL.
* invoke.texi: Document -fuse-cxa-atexit.
* tree.h (ptr_type_node): Document.
(const_ptr_type_node): Likewise.
Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <[email protected]>
* regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
(optimize_reg_copy_2): Likewise.
(optimize_reg_copy_3): Likewise.
(fixup_match_2): Likewise.
(regmove_optimize): Likewise.
(fixup_match_1): Liekwise.
* i386.md (HI to SImode promoting splitters): Rewrite.
(pushsf mem peep2): New.
(testhi to andhi peep2): Remove.
* i386.h (x86_promote_QImode): New.
(TARGET_PROMOTE_QImode): New.
(PREDICATE_CODES): Add promotable_binary_operator.
* i386.c (x86_promote_QImode0: New.
(promotable_binary_operator): New.
* i386-protos.h (promotable_binary_operator): New.
* i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
condition.
(one_cmpl?i*): Pass "NOT" to unary_operator_ok.
1999-12-16 Mark Mitchell <[email protected]>
* Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
* function.c (insert_block_after_note): Remove.
(retrofit_block): Likewise.
(identify_blocks): Fix indentation.
(reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
* function.h (insert_block_after_note): Remove prototype.
(retrofit_block): Likewise.
* integrate.c (expand_inline_function): Don't call
find_loop_tree_blocks. Use expand_start_bindings_and_block, not
just expand_start_bindings. Use the block_map to remap old
NOTE_BLOCKs to new ones.
(integrate_decl_tree): Keep track of remapped blocks.
* integrate.h (struct inline_remap): Add block_map.
* stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
NOTE_BLOCK on the notes.
(expand_start_bindings): Rename to ...
(expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
(expand_end_bindings): Set NOTE_BLOCK.
* toplev.c (rest_of_compilation): In function-at-a-time-mode,
reconstruct the BLOCK tree.
* tree.h (expand_start_bindings): Macroize. Call ...
(expand_start_bindings_and_block): New function.
1999-12-16 Jakub Jelinek <[email protected]>
* config/sparc/sparc.c (print_operand): Cast fprintf arguments
to match the format.
1999-12-16 David S. Miller <[email protected]>
* expr.c (emit_move_insn_1): Only emit clobbers if one of
the outputs is a SUBREG.
* rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
change.
* config/sparc/sparc.c (epilogue_renumber): Add default case
to switch stmt.
Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <[email protected]>
* toplev.c (rest_of_compilation): Run branch shortening after
reg-stack.
* regclass.c (loop_depth): Remove
(scan_one_insn): Do not handle LOOP_NOTE insns.
(regclass): Go through basic blocks and set loop_cost
Thu Dec 16 02:56:25 1999 Zack Weinberg <[email protected]>
* tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <[email protected]>
* i386.md (movqi): Use "nonimmediate_operand" for output operand.
(movstrictqi, movdi, movsf, movdf, movxf): Likewise.
(adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
Thu Dec 16 02:41:26 1999 Richard Henderson ([email protected])
* loop.c (insert_loop_mem): Ignore memory clobbers.
* combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
to (OP A B).
Thu Dec 16 02:26:11 1999 Jeffrey A Law ([email protected])
* profile.c: Remove redundant #include "output.h".
* h8300.md (HImode preinc peephole): Fix typo.
1999-12-15 Jason Merrill <[email protected]>
* function.c (retrofit_block): Abort if we don't find a suitable insn.
(insert_block_after_note): Abort if we don't have a previous block.
Remove FN parameter.
* function.h: Adjust.
1999-12-15 Mark Mitchell <[email protected]>
* builtins.c (expand_builtin_mathfn): Make sure not to expand the
argument more than once.
1999-12-15 Jason Merrill <[email protected]>
* stmt.c (expand_decl): Expand upper bound of a dynamic array.
1999-12-15 Jakub Jelinek <[email protected]>
* expr.c (emit_group_load): Use dst mode if src is VOIDmode.
Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <[email protected]>
* function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
(assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
update stack_alignment_needed.
(prepare_function_start): Initialize stack_alignment_needed
* function.h (struct function): Add field stack_alignment_needed.
Wed Dec 15 14:55:24 1999 J"orn Rennecke <[email protected]>
* caller-save.c (insert_one_insn): Returns struct insn_chain *.
Handle live_throughout / dead_or_set instead of live_before /
live_after.
(save_call_clobbered_regs): Get register livenessinformation from
chain->live_throughout.
(add_stored_regs): New function.
(insert_restore, insert_save): Add restored / saved registers to
dead_or_set.
* global.c (reg_dies): New parameter chain.
(reg_becomes_live): Third parameter is regs_set now.
Changed all callers.
(reg_dies): New parameter chain. Changed all callers.
(build_insn_chain): Set live_throughout instead of
live_before / live_after.
* reload.h (struct insn_chain): Replace members live_before /
live_after with live_throughout / dead_or_set.
* reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
instead of live_before / live_after.
(maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
(order_regs_for_reload, find_reg, finish_spills): Likewise.
(choose_reload_regs_init): Likewise.
* stupid.c (current_chain, find_clobbered_regs): Delete.
(stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
instead of chain->live_before / chain->live_after.
(mark_hard_ref): New function.
(stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
1999-12-15 David S. Miller <[email protected]>
* rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <[email protected]>
* flow.c (calculate_loop_depth): Make global, remove prototype,
rewrite to use new loop infrastructure.
(find_basic_block): Remove calculate_loop_depth call.
* toplev.c (rest_of_compilation): Call find_basic_block.
* output.h (calculate_loop_depth): Declare.
* flow.c (dump_flow_info): Dump loop_depth.
(flow_loops_nodes_find): Increase loop_depth for basic block in the
body.
(flow_loops_find): Initialize the loop_depth for each basic block.
1999-12-15 Jason Merrill <[email protected]>
* tree.c (decl_function_context): Handle virtual functions.
* tlink.c (scan_linker_output): Don't look in demangled name when
looking for linker output keywords.
* dwarfout.c (output_type): We can defer namespace-scope classes.
Wed Dec 15 01:23:29 1999 Jeffrey A Law ([email protected])
* regclass.c (record_reg_classes): Update comment for merging
register class preferences in reg->reg copies. Tighten conditions
for merging register class preferences in reg->reg copies.
Wed Dec 15 02:19:32 1999 David Edelsohn <[email protected]>
* rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
1999-12-14 Geoff Keating <[email protected]>
* config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
(INIT_SECTION_ASM_OP): Delete.
(FINI_SECTION_ASM_OP): Delete.
(STARTFILE_SPEC): Define to hold just crtbegin.o.
1999-12-14 Jason Merrill <[email protected]>
* dwarf2out.c (add_abstract_origin_attribute): Do call abort if
the abstract origin wasn't emitted.
* dwarf2out.c (class_scope_p): New fn.
(gen_subprogram_die): Use it.
(gen_variable_die): Use it. Tweak logic.
(gen_struct_or_union_type_die): Check context_die to determine
if we're function-local.
(dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
1999-12-14 Bernd Schmidt <[email protected]>
* loop.c (check_dbra_loop): Can't reverse a biv that has
maybe_multiple set.
1999-12-14 Nick Clifton <[email protected]>
* config/arm/arm.c: Add support for -mcpu=arm720 command line
switch.
Tue Dec 14 18:13:32 1999 J"orn Rennecke <[email protected]>
* loop.c (strength_reduce): Fix sign of giv lifetime calculation
for givs made from biv increments.
Tue Dec 14 08:11:27 1999 Richard Henderson <[email protected]>
* configure.in (alpha-osf, alpha-linux): Handle ev6[78].
* alpha.c (override_options): Recognize -mcpu=ev67.
* alpha.h (CPP_CPU_EV67_SPEC): New.
(CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
(EXTRA_SPECS): Update.
Tue Dec 14 08:04:28 1999 Richard Henderson <[email protected]>
* cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
appropriate for -lang-c89 and -std=*.
* cppinit.c (cpp_handle_option): Likewise.
(new_pending_define): New, split out from cpp_handle_option.
* gcc.c (default_compilers): Don't define __STRICT_ANSI__
or enable trigraphs for -ansi/-std=*.
* ginclude/stdarg.h (__va_copy): New.
(va_copy): Don't define for C89.
Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <[email protected]>
* config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
for long long multiply-accumulate.
Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <[email protected]>
* regclass.c (scan_one_insn): Set loop_cost to 1 when
optimizing for size.
1999-12-14 Bernd Schmidt <[email protected]>
* reload1.c (reload): Can't avoid select_reload_regs/finish_spills
if something changed. Back out that part of yesterday's changes.
* loop.c (loop_max_reg): New static variable.
(loop_optimize): Initialize it. Eliminate one unnecessary call to
max_reg_num.
(scan_loop): Call reg_scan_update whenever we may have added new
registers, and update loop_max_reg.
Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <[email protected]>
* regclass.c (record_reg_classes): Do not do the copying preferrencing
when source does not die.
* regclass.c (record_reg_classes): Handle INOUT operands properly.
1999-12-14 Jakub Jelinek <[email protected]>
* config/sparc/linux64.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
variants on Linux.
* config/sparc/linux.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Likewise.
* config/sparc/linux-aout.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Likewise.
* config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
(CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
not %g2.
(MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
as sparc64 block profiling register.
* config/sparc/sparc.c (sparc_override_options): Allow block
profiling with -m32.
(sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
profiling register.
* config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
* config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
* config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
for sparc64.
* config/sparc/sparc.h: Likewise.
* config/sparc/xm-sysv4-64.h: Likewise.
* config/float-sparc.h: Likewise.
* glimits.h: Likewise.
* longlong.h: Likewise.
* config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
(ASM_IDENTIFY_GCC): Remove.
1999-12-14 Bernd Schmidt <[email protected]>
* combine.c (combine_simplify_rtx): Don't make shared rtl.
(simplify_logical): Likewise.
1999-12-14 Mumit Khan <[email protected]>
* cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
* cppfiles.c (INO_T_EQ): Likewise.
1999-12-14 Mumit Khan <[email protected]>
* i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
* i386/mingw32.h (LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
* i386/uwin.h (LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
* i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
* i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
Mon Dec 13 20:25:29 1999 Jeffrey A Law ([email protected])
* combine.c (combine_simplify_rtx): Fix order of checks for
(ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
1999-12-13 Clinton Popetz <[email protected]>
* config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
1999-12-10 Bernd Schmidt <[email protected]>
* hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
defined.
* regclass.c (inv_reg_alloc_order): New array.
(regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
* reload.h (struct insn_chain): Delete fields group_size, group_mode,
counted_for_groups, counted_for_nongroups. Add fields rld and
n_reloads.
* reload.c (push_secondary_reload): Don't set nongroup field of
new reloads.
(push_reload): Likewise.
(find_reloads): Delete code to compute nongroup fields.
* reload1.c (reload_insn_firstobj): New static variable.
(pseudos_counted, spilled_pseudos): Now of type regset_head. All
users changed.
(calculate_needs, find_tworeg_group, find_group, possible_group_p,
count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
functions.
(count_pseudo, select_reload_regs, copy_reloads, find_reg): New
functions.
(struct hard_reg_n_uses): Deleted.
(potential_reload_regs): Deleted.
(init_reload): Initialize spilled_pseudos and pseudos_counted.
(reload): Don't try to allocate reload registers if we already know
we have to make another pass. Call select_reload_regs. Free memory
starting with reload_firstobj when starting another pass.
Don't allocate spilled_pseudos.
(calculate_needs_all_insns): Call copy_reloads for an insn that
needs reloads; don't call calculate_needs.
(spill_cost): New static array.
(used_spill_regs_local): New static variable.
(order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
to compute potential_reload_regs.
(find_reload_regs): Completely rewritten to use find_reg.
(allocate_reload_reg): Don't test counted_for_groups or
counted_for_nongroups. Lose NOERROR arg and code to give an error;
all cllers changed.
(choose_reload_regs): Add fallback code that uses the existing
register allocation from find_reload_regs.
Mon Dec 13 00:54:14 1999 Philippe De Muyter <[email protected]>
* flow.c (create_edge_list): Cast xmalloc return value.
Mon Dec 13 00:47:58 1999 Jeffrey A Law ([email protected])
* doprnt.c: Remove incorrect comment closure.
* cse.c: Fix a few minor whitespace goofs.
1999-12-13 Don Bowman <[email protected]>
* mips/vxworks.h: Fix problem with comment termination.
(EXTRA_SECTIONS): Add in_sbss.
(EXTRA_SECTION_FUNCTIONS): Corresponding changes.
1999-12-12 David S. Miller <[email protected]>
* cse.c (struct cse_reg_info): Add hash_next member,
reorder rest of struct for better packing on 64-bit
hosts.
(cse_reg_info_tree): Kill.
(REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
REGHASH_FN): New custom pow2 hash mechanism.
(NBUCKETS): Kill.
(HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
use a pow2 hash table.
(get_cse_reg_info): Rework to use new REGHASH.
(new_basic_block): Likewise, use HASH_SIZE, and inline
free_element call.
(remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
and inline free_element call.
(lookup_as_function, insert, flush_hash_table, invalidate,
remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
invalidate_for_call, use_related_value, find_comparison_args,
fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
(hash_cse_reg_info, cse_reg_info_equal_p, free_element,
get_element): Kill.
Sun Dec 12 21:31:44 1999 Jeffrey A Law ([email protected])
* cse.c (cse_basic_block): Free qty_table consistently.
1999-12-12 David S. Miller <[email protected]>
Jakub Jelinek <[email protected]>
* config/sparc/sparc.md (movtf reg/reg split): Don't generate
SUBREGs by hand, gen the appropriate hard reg directly.
(movtf reg/mem split): Likewise and alter_subreg on destination
if necessary.
(movtf mem/reg split): Similarly.
(movdf_cc_sp64): Rename from hidden pattern.
(movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
(movtf_cc_sp64, following split): New pattern and splitter.
(movdf_cc_reg_sp64): Rename from hidden pattern.
(movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
TARGET_HARD_QUAD.
(movtf_cc_reg_sp64, following split): New pattern and splitter.
1999-12-12 Stephen L Moshier <[email protected]>
* loop.c (load_mems): Don't hoist written floating point mem
if -ffloat-store.
1999-12-12 Mark Mitchell <[email protected]>
* except.h (struct eh_queue): Add `next' pointer.