forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathChangeLog-1997
3976 lines (2819 loc) · 141 KB
/
ChangeLog-1997
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
Wed Dec 31 14:42:18 1997 Ian Lance Taylor <[email protected]>
* configure.in: Set and substitute host_exeext. Use it when creating
the assembler and linker symlinks.
* configure: Rebuild.
* Makefile.in (exeext): Set to @host_exeext@.
(build_exeext): New variable, set to @build_exeext@.
(FLAGS_TO_PASS): Pass down build_exeext.
(STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
programs.
Wed Dec 31 10:05:44 1997 Jeffrey A Law ([email protected])
* mn10200.md (addsi3, subsi3): Fix thinkos.
Tue Dec 30 00:04:49 1997 Richard Henderson <[email protected]>
* sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
save+restore. Fix pic+big_offset delay slot. Use "pic" case for
unix always, since we want to be able to thunk to functions in a
shared library from an application.
Mon Dec 29 14:37:31 1997 Ian Lance Taylor <[email protected]>
* mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
(LIB1ASMSRC, LIB1ASMFUNCS): Define.
Mon Dec 29 14:03:38 1997 Jeffrey A Law ([email protected])
* expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
offset's mode is not ptr_mode, convert it.
Mon Dec 29 15:58:18 1997 Michael Meissner <[email protected]>
* libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
compiling if it was already defined.
Sun Dec 28 00:32:16 1997 Jeffrey A Law ([email protected])
* flow.c (find_basic_blocks): Don't create a new basic block
for calls in a LIBCALL block.
Sun Dec 28 00:30:24 1997 David Edelsohn <[email protected]>
* config/fp-bit.c (L_df_to_sf): Fix typo in last change.
Sat Dec 27 22:43:12 1997 Jeffrey A Law ([email protected])
* cse.c (rtx_cost): Remove conflicting default case.
Sat Dec 27 21:20:02 1997 Richard Henderson <[email protected]>
* configure.in: Move default enabling of Haifa out of for loop.
* configure: Rebuild.
Thu Dec 25 01:02:54 1997 Jeffrey A Law ([email protected])
* version.c: Bump for snapshot.
1997-12-25 Teemu Torma <[email protected]>
* Makefile.in (GTHREAD_FLAGS): New var.
(LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
(distclean): Remove gthr-default.h.
* configure.in: Accept dce as a thread package.
Check for thread.h and pthread.h.
Link gthr-default.h to appropriate thread file and set
gthread_flags.
(hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
include multilib definitions from pa/t-dce-thr.
(sparc-*-solaris2*): Enable threads by default, if thread.h or
pthread.h is found, preferring posix threads over solaris ones.
* config/pa/t-dce-thr: New file.
* config/pa/t-pa: Removed multilibs.
* config/sparc/t-sol2: Likewise.
* gthr.h: New file.
* gthr-single.h: New file.
* gthr-posix.h: New file.
* gthr-solaris.h: New file.
* gthr-dce.h: New file.
* libgcc-thr.h: Removed.
* objc/thr-dce.c: New file copied from thr-decosf1.c.
* frame.c: Include gthr.h instead of libgcc-thr.h.
* libgcc2.c: Include gthr.h instead of libgcc-thr.h.
(eh_context_initialize): If __gthread_once fails, use static eh
context.
(eh_context_free): Call __gthread_key_dtor.
Wed Dec 24 23:33:17 1997 Jeffrey A Law ([email protected])
* expr.h (MUST_PASS_IN_STACK): Allow target port to override.
Wed Dec 24 23:12:14 1997 Jim Wilson <[email protected]>
* cse.c (max_insn_uid): New variable.
(cse_around_loop): Use max_insn_uid.
(cse_main): Set max_insn_uid.
* abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
and define __LONG_MAX__ appropriately. Add support for -mabi=X,
-mlong64, and -mgp{32,64} options.
* mips.c (mips_abi): Change type to int.
* mips.h (enum mips_abi_type): Delete.
(ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
(mips_abi): Change type to int.
Wed Dec 24 22:38:34 1997 John Carr <[email protected]>
* flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
optimization is now always enabled.
* calls.c (expand_call): Recognize C++ operator new as malloc-like
function.
* alias.c (memrefs_conflict_p): Eliminate tests now done by
base_alias_check.
(*_dependence): Call canon_rtx before base_alias_check.
(init_alias_once): New function to precompute set of registers which
can hold Pmode function arguments.
* rtl.h: Declare init_alias_once.
* toplev.c (compile_file): Call init_alias_once.
Wed Dec 24 22:34:55 1997 Jeffrey A Law ([email protected])
* tree.c (restore_tree_status): Do not dereference a null pointer.
Tue Dec 23 12:56:46 1997 Paul Eggert <[email protected]>
* genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
RLIMIT_STACK. This maintains consistency with the recent, similar
patch to cccp.c and toplev.c.
Tue Dec 23 05:17:28 1997 Richard Henderson <[email protected]>
* genattrtab.c (expand_units): For large nr opclasses, expand
function_units_used with ORX to prevent blowups. Tag with FFS.
(num_unit_opclasses): New variable.
(gen_unit): Update it.
(enum operator): Add ORX_OP.
(operate_exp): Treat ORX as or, except don't expand across an if.
Reuse number rtx's after operating on them.
(check_attr_value): Accept IOR, AND, & FFS.
(write_test_expr): Transmute `in_comparison' to `flags'. Allow
for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
(write_expr_attr_cache, write_toplevel_expr): New functions.
(write_attr_get): Handle FFS-tagged expressions.
(make_canonical): Don't expand const attributes.
(convert_const_symbol_ref): Dike out.
(evaluate_eq_attr): Handle SYMBOL_REF.
(main): Don't emit get_attr_foo for const attributes.
* alpha.c (override_options): Reinstate PROCESSOR_EV6.
(alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
* alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
* alpha.md: Redo all of the scheduling, adding EV6 support, and
combining function units where possible.
(attr "type"): Split loads, stores, cmov into int/fp. Combine
multiplies and divides. Add EV6 sqrt, ftoi, itof.
(attr "opsize"): New attribute.
(sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
(movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
to control register allocation.
(movsi2-1, movdi2-1): Likewise.
Tue Dec 23 03:53:21 1997 Richard Henderson <[email protected]>
* alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
Move OSF/1 specific defines out.
* alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
Move Linux specific defines out.
(LINK_SPEC): Genericize.
(ASM_FILE_START): Emit .arch if using more than the base insn set.
(ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
(SDB_DEBUGGING_INFO): Remove; gas can't handle it.
(HANDLE_SYSV_PRAGMA): Define.
* alpha/osf.h: New file.
* alpha/linux.h: Split. Retain file-format independent defines.
Import Linux bits from elf.h.
(CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES.
(FUNCTION_PROFILER): _mcount takes its address in $28.
(MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
* alpha/linux-ecoff.h: New file.
* alpha/linux-elf.h: New file.
* alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
* alpha/win-nt.h (TARGET_DEFAULT): Define.
* configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
Add new headers as appropriate.
* configure.in (alpha*): Enable Haifa by default.
(*-*-winnt3*): Change to winnt*, since we're not v3 specific.
* configure: Rebuild.
Tue Dec 23 03:14:54 1997 Richard Henderson <[email protected]>
* Makefile.in (clean): Remove the stages with their objects here ...
(distclean): ... instead of here.
Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <[email protected]>
* cse.c (rtx_cost): Add default case in enumeration switch.
* fix-header.c (recognized_macro): Likewise.
(recognized_extern): Likewise.
(write_rbrac): Likewise.
* objc/objc-act.c (encode_aggregate): Likewise.
(gen_declarator): Likewise.
(gen_declspecs): Likewise.
Mon Dec 22 09:58:51 1997 Jeffrey A Law ([email protected])
* haifa-sched.c (create_reg_dead_note): Detect and handle another
case where we kill more regs after sched than were killed before
sched.
* sched.c (create_reg_dead_note): Similarly.
Mon Dec 22 09:18:37 1997 Jeffrey A Law ([email protected])
* c-pragma.c: Include flags.h.
Sun Dec 21 22:10:59 1997 Mumit Khan <[email protected]>
* i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
about system headers.
(LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
and also to resolve symbols in prefix.c.
* i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
when the definitions in auto-config.h is not visible.
(HAVE_BZERO): Likewise.
(HAVE_BCMP): Likewise.
(HAVE_RINDEX): Likewise.
(HAVE_INDEX): Likewise.
Sun Dec 21 21:54:22 1997 Jeffrey A Law ([email protected])
* pa.c (emit_move_sequence): Handle a function label source
operand.
Sun Dec 21 16:13:55 1997 Nick Clifton <[email protected]>
* c-pragma.c (handle_pragma_token): Generate warning messages
about unknown pragmas if warn_unknown_pragmas is set.
* c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
line option to set variable: warn_unknown_pragmas.
Sun Dec 21 15:51:10 1997 Manfred Hollstein <[email protected]>
* m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
definition.
(ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
Sun Dec 21 13:58:39 1997 Jeffrey A Law ([email protected])
* Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
(libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
generate more fine grained floating point emulation libraries.
* config/fp-bit.c: Add protecting #ifdef to all functions so
that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
then compile all suitable functions.
(pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
underscores to avoid namespace pollution.
* t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c.
(FPBIT): Define.
* t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c.
(FPBIT): Define.
(DPBIT): Define.
Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <[email protected]>
Jeff Law <[email protected]>
* bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
of the declaration.
* c-decl.c (finish_decl): Use parentheses around && within ||.
* rtl.c: Include stdlib.h.
(read_skip_spaces): Add parentheses around assignments used as
truth values.
(read_rtx): Initialize list_rtx.
* cppexp.c (parse_number): Use || when operands are truth values.
* alias.c (find_base_value): Add default case.
(memrefs_conflict): Likewise.
* combine.c (sets_function_arg_p): Likewise.
* genemit.c (gen_exp): Likewise.
* local-alloc.c (contains_replace_regs): Likewise.
* rtlanal.c (jmp_uses_reg_or_mem): Likewise.
* fold-const.c (fold_convert): Use "&&" for truth values.
(fold): Add default case.
* sdbout.c (sdbout_field_types): Fix typo in declaration.
(sdbout_one_type): Add default case.
* alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
(some_operand): Add default case.
(input_operand): Likewise.
(signed_comparison_operator): Likewise.
(divmod_operator): Likewise.
(alpha_set_memflags_1): Likewise.
* reload1.c (reload_cse_simplify_operands): Ensure function
always returns a value.
* scan-decls.c (scan_decls): Likewise.
* c-lex.c (skip_white_space): Fix typo in declaration.
* c-typeck.c (comp_target_types): Add parentheses around assignment
used as truth value.
(print_spelling): Likewise.
(constructor_implicit, constructor_result): Remove unused variables.
* collect2.c (scan_library): Protect prototype with
#ifdef SCAN_LIBRARIES.
* emit-rtl.c (find_line_note): Fix typo in declaration.
* final.c (asm_insn_count): Protect prototype with
#ifdef HAVE_ATTR_length.
* flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
(try_pre_increment_1, try_pre_increment): Likewise.
* regclass.c (auto_inc_dec_reg_p): Protect prototype with
#ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
* gcov-io.h (__store_long, __write_long, __read_long): Fix
unsigned/signed comparisons.
* gcov.c (read_files): Remove unused "first_type" variable.
(scan _for_source_files): Initialize s_ptr.
(function_summary): Eliminate "%lf" formatting, use %ld for
longs.
(output_data): Initialize branch_probs and last_line_num.
Eliminate "%lf" formatting, use "%ld" for longs.
Fri Dec 19 17:31:11 1997 Ian Lance Taylor <[email protected]>
* mips16.S: New file.
* libgcc2.c (varargs): Handle mips16.
* expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
expression.
* stmt.c (expand_end_case): Likewise.
* alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
* fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
* rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
Tue Dec 16 15:14:09 1997 Andreas Schwab <[email protected]>
* objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
the build directory.
(libobjc.a): Update dependency list.
(libobjc.dll): Likewise. Use libobjc_entry.o from the build
directory.
(objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
(objc.mostlyclean): Remove runtime-info.h.
Fri Dec 19 00:19:42 1997 Richard Henderson <[email protected]>
* tree.c (build_range_type): Allow creation of ranges with no maximum.
* dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
* dwarf2out.c (add_subscript_info): Likewise.
* dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
* sdbout.c (plain_type_1): Likewise.
* stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
Likewise.
* fold-const.c (int_const_binop, fold_convert, make_range, fold):
Likewise.
Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <[email protected]>
* mips.c (fatal): Remove declaration.
1997-12-18 Mark Mitchell <[email protected]>
* integrate.c (get_label_from_map): New function.
(expand_inline_function): Use it. Initialize the label_map to
NULL_RTX instead of gen_label_rtx.
(copy_rtx_and_substitute): Use get_label_from_map.
* integrate.h (get_label_from_map): New function.
(set_label_from_map): New macro.
* unroll.c (unroll_loop): Use them.
(copy_loop_body): Likewise.
Thu Dec 18 19:19:57 1997 Ian Lance Taylor <[email protected]>
* mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
(INIT_TARGET_OPTABS): Define.
* mips/ecoff.h: Include gofast.h before mips.h.
(INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
* mips/elf64.h: Likewise.
* mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
Thu Dec 18 14:51:12 1997 Jason Merrill <[email protected]>
* except.c: Remove register_exception_table{,_p}.
Thu Dec 18 14:57:29 1997 Gavin Koch <[email protected]>
* unroll.c (calculate_giv_inc): Handle constant increment found in
a MEM with an appropriate REG_EQUAL note.
* calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
* dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
frame pointer in the prologue.
Thu Dec 18 00:19:38 1997 Robert Lipe <[email protected]>
* i386/x-sco5 (CLIB): Deleted.
(ALLOCA): Added.
* i386/xm-sco5.h (USE_C_ALLOCA): Added.
Tue Dec 16 18:51:00 1997 Bill Moyer <[email protected]>
* config/m68k/m68k.c (output_function_prologue): Typecast
dwarf2out_cfi_label to (char *).
* config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
Wed Dec 17 15:06:04 1997 Richard Henderson <[email protected]>
* sparc.md (jump): Don't use the annul bit around an empty loop.
Patch from [email protected].
Wed Dec 17 00:51:36 1997 Stan Cox ([email protected])
* jump.c (jump_optimize): Don't use the return register as a
source1 of a conditional move.
Tue Dec 16 23:45:40 1997 Richard Henderson <[email protected]>
* sparc.c (DF_MODES): Or the mask not the bit number.
(function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
Wed Dec 17 00:13:48 1997 Christian Iseli <[email protected]>
* combine.c (force_to_mode): Return immediately if operand is a
CLOBBER.
Tue Dec 16 23:44:54 1997 Manfred Hollstein <[email protected]>
* fixincludes (size_t): Add support for Motorola's stdlib.h
which fails to provide a definition for size_t.
(fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
(strlen,strspn,strcspn return value): Handle different layout on sysV88.
(hypot): Provide a fake for hypot for m88k-motorola-sysv3.
* m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
prevent unresolved externals in libio.
* m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
Tue Dec 16 23:25:45 1997 H.J. Lu ([email protected])
* config/sparc/linux64.h (LIBGCC_SPEC): Removed.
(CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
(LIB_SPEC): Updated for glibc 2.
Tue Dec 16 20:11:36 1997 Jeffrey A Law ([email protected])
* ginclude/stdarg.h: Undo BeOS changes, they break hpux.
* ginclude/varargs.h: Likewise.
Tue Dec 16 00:32:01 1997 Jeffrey A Law ([email protected])
* version.c: Bump for snapshot.
Tue Dec 16 00:14:29 1997 H.J. Lu ([email protected])
* frame.h (__register_frame, __register_frame_table,
__deregister_frame): New.
* frame.c (__register_frame, __register_frame_table,
__deregister_frame): New.
* frame.c (__deregister_frame_info): Return void *.
* frame.h (__deregister_frame_info): Likewise.
* collect2.c (__deregister_frame_info): Likewise.
Mon Dec 15 18:40:08 1997 Richard Henderson <[email protected]>
* expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
Mon Dec 15 18:31:43 1997 Richard Henderson <[email protected]>
* alpha.c (alpha_cpu_name): New variable.
(alpha_mlat_string): Likewise.
(alpha_memory_latency): Likewise.
(override_options): Handle -mmemory-latency.
(alpha_adjust_cost): Adjust load cost for latency.
* alpha.h (TARGET_OPTIONS): Add memory-latency.
(REGISTER_MOVE_COST): Define in terms of memory_latency. Take
TARGET_CIX into account.
(MEMORY_MOVE_COST): Define in terms of memory_latency.
* invoke.texi (DEC Alpha Options): Document -mmemory-latency.
* alpha.h (ASM_COMMENT_START): New macro.
Mon Dec 15 17:48:05 1997 Richard Henderson <[email protected]>
* reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
* reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
SUBREG_REG if the word count is unchanged.
* reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
subregs of identical word size for push_reload.
Mon Dec 15 11:41:32 1997 Mark Mitchell <[email protected]>
* toplev.c (rest_of_compilation): Don't call save_for_inline_copy
if all we're doing is dealing with -Wreturn-type.
Mon Dec 15 09:44:39 1997 Richard Henderson <[email protected]>
* alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
Use and 255 instead of zapnot 1, since it schedules better.
Mon Dec 15 08:48:24 1997 Jeffrey A Law ([email protected])
* stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
it as volatile.
Mon Dec 15 00:04:48 1997 Jeffrey A Law ([email protected])
* haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
dependency we delete. Properly update prev for multiple consecutive
deletions.
(priority): Skip deleted dependence.
Fri Dec 12 18:54:23 1997 Per Bothner <[email protected]>
* expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
Fri Dec 12 01:19:48 1997 Jason Merrill <[email protected]>
* flow.c (flow_analysis): Be consistent with find_basic_blocks in
determining when a new basic block starts.
* alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
* pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
* pa.md (iorsi3): Add missing args to *_operand calls.
* except.c (call_get_eh_context): Don't mess with sequences.
(emit_eh_context): Include the call in the sequence here.
1997-12-11 Paul Eggert <[email protected]>
* collect2.c (write_c_file_glob): Allocate initial frame object
in static storage and pass its address.
Thu Dec 11 23:33:48 1997 Jason Merrill <[email protected]>
* except.c (call_get_eh_context): Don't take a parm.
Put the call at the top of the function.
(emit_eh_context): Adjust.
(get_eh_context): Replace with former use_eh_context.
(get_eh_context_once, get_saved_pc_ref): Remove.
(start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
* except.h: Adjust.
* integrate.c (expand_inline_function): Adjust.
* toplev.c (rest_of_compilation): Don't call emit_unwinder.
Fri Oct 10 17:58:31 1997 Marc Lehmann <[email protected]>
* i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
(DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
Thu Dec 11 23:55:17 1997 Manfred Hollstein <[email protected]>
* fixincludes (strlen,strspn,strcspn return value): Handle different
layout on sysV88.
(hypot): Provide a fake for hypot which is broken on
m88k-motorola-sysv3.
Thu Dec 11 23:50:17 1997 John F. Carr <[email protected]>
* tree.c, tree.h: Change tree_code_type, tree_code_length, and
tree_code_name from pointers to arrays.
* tree.c: Remove standard_tree_code_* variables, no longer used.
* print-tree.c: Remove declaration of tree_code_name.
* cp/lex.c (init_lex): Update for tree_code_* changes.
* objc/objc-act.c (init_objc): Likewise.
* tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
changes.
Thu Dec 11 23:34:54 1997 Fred Fish <[email protected]>
* config.sub: Add support for BeOS target.
* configure.in: Likewise.
* ginclude/stdarg.h: Likewise.
* ginclude/stddef.h: Likewise.
* ginclude/varargs.h: Likewise.
* rs6000/beos.h: New file for BeOS.
* rs6000/t-beos: Likewise.
* rs6000/x-beos: Likewise.
* rs6000/xm-beos.h: Likewise.
* toplev.c (get_run_time): Just return 0 on BeOS.
Thu Dec 11 23:25:23 1997 Jeffrey A Law ([email protected])
Toon Moene ([email protected])
* m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
old and broken Sun3 assemblers. Newer versions handle large
offsets correctly as does the GNU assembler.
Thu Dec 11 23:06:48 1997 H.J. Lu ([email protected])
* objc/objc-act.c (lang_report_error_function): Disable.
* objc/objc-parse.y: Include "output.h".
(yyerror): Remove redundant decl.
(yyprint): Fix prototype.
(apply_args_register_offset): Remove redundant decl.
(get_file_function_name): Likewise.
Thu Dec 11 22:02:10 1997 Jason Merrill <[email protected]>
* flow.c (find_basic_blocks): A CALL_INSN that can throw starts
a new basic block.
(find_basic_blocks_1): Likewise.
Thu Dec 11 21:08:48 1997 Jason Merrill <[email protected]>
* except.c (use_eh_context): Don't copy_rtx a REG.
(emit_throw): Lose old unwinder support.
(expand_internal_throw): Likewise.
* libgcc2.c (struct eh_context): Likewise.
(new_eh_context): Likewise.
(__get_eh_info): Lose redundant cast.
(__get_dynamic_handler_chain): Likewise.
(__get_saved_pc): Lose.
Lose all old unwinder support code.
Thu Dec 11 20:42:18 1997 Teemu Torma <[email protected]>
Thread-safe EH support for pthreads, DCE threads and Solaris threads.
* integrate.c (expand_inline_function): If the inline fn uses eh
context, make sure that the current fn has one.
* toplev.c (rest_of_compilation): Call emit_eh_context.
* except.c (use_eh_context): New fn.
(get_eh_context_once): New fn.
(call_get_eh_context): New fn.
(emit_eh_context): New fn.
(get_eh_context): Call either get_eh_context_once or
call_get_eh_context, depending on what we have.
(get_dynamic_handler_chain): Call get_eh_context_once.
* except.h: Prototypes for fns above.
* optabs.c (get_eh_context_libfunc): Removed.
(init_optabs): Don't initialize it.
* expr.h (get_eh_context_libfunc): Removed.
* rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
* config/pa/pa.h (CPP_SPEC): Support for -threads.
* config/pa/pa-hpux10.h (LIB_SPEC): Likewise.
* config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
New multilib for -threads.
* config/sparc/t-sol2: Added multilibs for -threads and
made -pthreads alias to it.
* config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
Added -threads and -pthreads options.
* libgcc-thr.h: New file.
* libgcc2.c (__get_cpp_eh_context): Removed.
(struct cpp_eh_context): Removed.
(struct eh_context): Replaced cpp_eh_context with generic language
specific pointer.
(__get_eh_info): New function.
(__throw): Check eh_context::info.
(__sjthrow): Likewise.
* libgcc2.c: Include libgcc-thr.h.
(new_eh_context, __get_eh_context,
eh_pthread_initialize, eh_context_initialize, eh_context_static,
eh_context_specific, eh_context_free): New functions.
(get_eh_context, eh_context_key): New variables.
(__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
get_eh_context to get the context.
(longjmp): Move the declaration inside
#ifdef DONT_USE_BUILTIN_SETJMP.
* frame.c: Include libgcc-thr.h.
(object_mutex): Mutex to protect the object list.
(find_fde, __register_frame, __register_frame_table,
__deregister_frame): Hold the lock while accessing objects.
* except.h (get_eh_context): Declare.
* except.c (current_function_ehc): Define.
(current_function_dhc, current_function_dcc): Removed.
(get_eh_context): New function.
(get_dynamic_handler_chain): Use get_eh_context.
(get_saved_pc_ref): Likewise.
(get_dynamic_cleanup_chain): Removed references to
current_function_dcc.
(save_eh_status, restore_eh_status): Save and restore
current_function_ehc instead.
* optabs.c (get_eh_context_libfunc): New variable.
(init_optabs): Initialize it.
* expr.h: Declare get_eh_context_libfunc.
* function.h (struct function): Replaced dhc and dcc with ehc.
* except.c (get_saved_pc_ref): New functions.
(eh_saved_pc_rtx, eh_saved_pc): Deleted.
(expand_internal_throw_indirect): Use get_saved_pc_ref() instead
of eh_saved_pc.
(end_eh_unwinder): Likewise.
(init_eh): Remove initialization of eh_saved_pc.
* optabs.c (get_saved_pc_libfunc): New variable.
(init_optabs): Initialize it.
* expr.h: Declare get_saved_pc_libfunc.
* except.h (eh_saved_pc_rtx): Deleted.
(get_saved_pc_ref): Declared.
From Scott Snyder <[email protected]>:
* libgcc2.c (__get_saved_pc): New.
(__eh_type, __eh_pc): Deleted.
(__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
(__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
this fcn.
Thu Dec 11 17:23:48 1997 John F. Carr <[email protected]>
* sparc/sol2.h: Use 64 bit multiply and divide functions in
Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
as 0.
* rtl.h (global_rtl): New variable, replacing separate variables for
commonly used rtl.
(const_int_rtx): Now array of rtx_def, not rtx.
* emit-rtl.c: Update for new rtl data structures.
* genattrtab.c: Define global_rtl.
Thu Dec 11 15:50:29 1997 David Edelsohn <[email protected]>
* configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
default.
Wed Dec 10 12:30:18 1997 Anthony Green <[email protected]>
* crtstuff.c (__do_global_ctors): Fix typo.
Tue Dec 9 09:43:59 1997 Manfred Hollstein <[email protected]>
* toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
Tue Dec 9 09:38:58 1997 David Edelsohn <[email protected]>
* rs6000.h (FUNCTION_ARG_PADDING): Define.
* rs6000.c (function_arg_padding): New function.
Tue Dec 9 10:34:21 1997 Manfred Hollstein <[email protected]>
* m68k.c: Include tree.h only once.
Tue Dec 9 09:32:33 1997 Richard Kenner <[email protected]>
* integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
Tue Dec 9 01:16:06 1997 Jeffrey A Law ([email protected])
* Partially cleaned up prototyping code from HJ.
* tree.h: Add many prototypes.
* haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
All references changed.
* rtl.h: Protect from multiple inclusions. Add many prototypes.
Tue Dec 9 01:15:15 1997 Fred Fish <[email protected]>
* libgcc2.c (string.h): Hoist inclusion to occur before first use of
string functions like strlen.
Tue Dec 9 00:57:38 1997 Manfred Hollstein <[email protected]>
* configure.in: Check for functions getrlimit and setrlimit.
* cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
Mon Dec 8 23:53:26 1997 Jay Sachs <[email protected]>
* Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
Mon Dec 8 21:03:28 1997 Richard Henderson <[email protected]>
* alpha.c (REG_RA, alpha_return_addr, output_epilog):
Fix merge problems.
* alpha.c (override_options): Don't know about scheduling for EV6.
* alpha.md (ev5 function units): Don't overload as ev6.
* alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
* alpha.md (define_attr type): Add mvi.
(ev5_e0): Define sceduling parameters for it.
(TARGET_MAX insns): Type is mvi not shift.
Mon Dec 8 18:15:00 1997 Richard Henderson <[email protected]>
* alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
Mon Dec 8 21:17:28 1997 J"orn Rennecke <[email protected]>
* cstamp-h, auto-config.h: Delete.
Sun Dec 7 19:19:03 1997 Jeffrey A Law ([email protected])
* version.c: Bump for snapshot.
Sat Dec 6 22:22:22 1997 Jeffrey A Law ([email protected])
* cccp.c: Fix typo brought over in merge.
* Merge in changes from gcc-2.8.
Mon Nov 3 05:45:32 1997 Philippe De Muyter <[email protected]>
* m68k.c: Include tree.h for dwarf2out_cfi_label.
* gcc.c (process_command): Do not take address of function fatal when
calling lang_specific_driver.
Sat Dec 6 01:02:38 1997 Mumit Khan <[email protected]>
* config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
doesn't work with it yet, so set it to 0.
* config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
Sat Dec 6 01:01:02 1997 Christian Iseli <[email protected]>
* cse.c (cse_insn): Check for invalid entries when taking references.
Fri Dec 5 18:26:25 1997 J"orn Rennecke <[email protected]>
* loop.c (invariant_p): Don't test flag_rerun_loop_opt.
(loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
* toplev.c (rest_of_compilation): Pass it. Remove code to
save / clear / restore flag_unroll_{,all_}loops.
Fri Dec 5 16:26:03 1997 Bernd Schmidt <[email protected]>
* i386.c (notice_update_cc): Remove bogus pentium GCC code.
Fri Dec 5 16:25:14 1997 Jeffrey A Law ([email protected])
* stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
Thu Dec 4 11:51:00 1997 Jason Merrill <[email protected]>
* except.c (get_dynamic_handler_chain): Only make the call once per
function.
* except.c (expand_end_all_catch): Fix for sjlj exceptions.
Thu Dec 4 12:30:40 1997 J"orn Rennecke <[email protected]>
* sh.c (final_prescan_insn): Use local label prefix
when emitting .uses pseudo-ops.
Wed Dec 3 12:01:56 1997 Jason Merrill <[email protected]>
* libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
* except.c: Lose outer_context_label_stack.
(expand_eh_region_end): Rethrow from outer_context here.
(expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
(expand_internal_throw): Take no args.
(expand_internal_throw_indirect): Lose.
(expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
(expand_start_all_catch): Start a rethrow region.
(expand_end_all_catch): End it.
(expand_rethrow): New fn.
* except.h: Reflect above changes.
* flow.c: Revert change of Nov 27.
Thu Dec 4 00:24:09 1997 Jeffrey A Law ([email protected])
* i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
Wed Dec 3 12:01:56 1997 Jason Merrill <[email protected]>
* except.c (expand_fixup_region_end): New fn.
(expand_fixup_region_start): Likewise.
(expand_eh_region_start_tree): Store cleanup into finalization here.
* stmt.c (expand_cleanups): Use them to protect fixups.
Wed Dec 3 11:41:13 1997 Gavin Koch <[email protected]>
* mips/mips.md (muldi3_r4000): Broaden the output template
and attribute assignments to handle three operand dmult;
rename to muldi3_internal2.
(muldi3): Call the new muldi3_internal2 for R4000, and
any GENERATE_MULT3 chip.
Tue Dec 2 19:40:43 1997 Jason Merrill <[email protected]>
* stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
Tue Dec 2 12:54:33 1997 Jim Wilson <[email protected]>
* unroll.c (find_splittable_givs): Remove last change. Handle givs
with a dest_reg that was created by loop.
Sat Nov 29 12:44:57 1997 David Edelsohn <[email protected]>
* rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
* rs6000/aix41.h (ASM_CPU_SPEC): Define.
Fri Nov 28 10:00:27 1997 Jeffrey A Law ([email protected])
* configure.in: Fix NCR entries.
Thu Nov 27 12:20:19 1997 Jeffrey A Law ([email protected])
* flow.c (find_basic_blocks): Handle cfg issues for rethrows and
nested exceptions correctly.
* unroll.c (find_splittable_givs): Don't split givs with a dest_reg
that was created by loop.
Thu Nov 27 09:34:58 1997 Jason Merrill <[email protected]>
* expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
* except.c (expand_start_all_catch): One more do_pending_stack_adjust.
Wed Nov 26 15:47:30 1997 Michael Meissner <[email protected]>
* rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
(print_operand): Use SMALL_DATA_REG for the register involved in
small data relocations.
(print_operand_address): Likewise.
* rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
-dynamic linker is not used.
* rs6000.md (call insns): For local calls, use @local suffix under
System V. Don't use @plt under Solaris.
* rs6000.c (output_function_profiler): Put label address in r0, and
store LR in 4(sp) for System V/eabi.
* rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
byte boundary, and maintain stack backchain.
Tue Nov 25 14:08:12 1997 Jim Wilson <[email protected]>
* mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
fix_truncsfdi2): Change *.
Wed Nov 26 11:12:26 1997 Jason Merrill <[email protected]>
* toplev.c (main): Complain about -gdwarfn.
Tue Nov 25 22:43:30 1997 Jason Merrill <[email protected]>
* dwarfout.c (output_type): If finalizing, write out nested types
of types we've already written.
Tue Nov 25 20:32:24 1997 Michael Meissner <[email protected]>
(patches originally from Geoffrey Keating)
* rs6000.c (function_arg): Excess floating point arguments don't
go into GPR registers after exhausting FP registers under the
System V.4 ABI.
(function_arg_partial_nregs): Likewise.
* rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
suffix to calls.
Tue Nov 25 23:37:27 1997 Jason Merrill <[email protected]>
* integrate.c (output_inline_function): Just unset DECL_INLINE.
Tue Nov 25 23:33:29 1997 scott snyder <[email protected]>
* dwarf2out.c (outout_call_frame_info): Ensure that the info has
proper alignment.
* libgcc2.c (__throw): Initialize HANDLER.
Tue Nov 25 14:08:12 1997 Jim Wilson <[email protected]>
* mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
fix_truncsfdi2): Change *X to ?*X.
Tue Nov 25 10:00:42 1997 Richard Henderson ([email protected])
* alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
Tue Nov 25 10:00:42 1997 Jeffrey A Law ([email protected])
* crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
Tue Nov 25 01:26:55 1997 Bruno Haible <[email protected]>
* dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
Mon Nov 24 22:41:55 1997 Jason Merrill <[email protected]>
* except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
* optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
* expr.h: Likewise.
Sat Nov 22 18:58:20 1997 Jeffrey A Law ([email protected])
* pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
* pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
gas and not using the new HP assembler.
Fri Nov 21 15:20:05 1997 Jeffrey A Law ([email protected])
* Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
(GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.