forked from illumos/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.csl
391 lines (327 loc) · 15.9 KB
/
ChangeLog.csl
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
2005-06-29 Joseph S. Myers <[email protected]>
* gcc/dwarf2.h (DW_AT_SUN_amd64_parmdump): New.
* gcc/dwarf2out.c (gen_subprogram_die): Add this attribute.
* gcc/doc/invoke.texi (-msave-args): New x86-64 option.
* gcc/config/i386/i386.h (MASK_SAVE_ARGS, TARGET_SAVE_ARGS): New.
(TARGET_SWITCHES): Add -msave-args.
* gcc/config/i386/i386.c (struct ix86_frame): Add nmsave_args and
padding0.
(pro_epilogue_adjust_stack): Declare.
(ix86_nsaved_args): New.
(override_options, ix86_can_use_return_insn_p,
ix86_frame_pointer_required, ix86_compute_frame_layout,
ix86_emit_save_regs, ix86_emit_save_regs_using_mov,
ix86_expand_prologue, ix86_expand_epilogue): Handle -msave-args.
2005-05-19 Joseph S. Myers <[email protected]>
* gcc/config/sparc/sparc.h (MASK_NO_INTEGER_LDD_STD,
TARGET_INTEGER_LDD_STD): New.
(TARGET_SWITCHES): Define -mno-integer-ldd-std option.
* gcc/doc/invoke.texi (-mno-integer-std-ldd): Document.
* gcc/config/sparc/sparc.c (save_regs, restore_regs,
sparc_splitdi_legitimate, sparc_flat_save_restore): Check
TARGET_INTEGER_LDD_STD.
* gcc/config/sparc/sparc.md (movdi_insn_sp32_v9, movdi_insn_sp32):
Disable unless TARGET_INTEGER_LDD_STD.
(movdi_insn_sp32_v9_nolddstd, movdi_insn_sp32_nolddstd): New
patterns if !TARGET_INTEGER_LDD_STD.
(define_peephole2): Disable use of widen_memory_access unless
TARGET_INTEGER_LDD_STD.
2005-04-22 Joseph S. Myers <[email protected]>
* gcc/varasm.c (assemble_alias): Return early if
TREE_ASM_WRITTEN (decl).
* gcc/testsuite/gcc.dg/weak/weak-13.c: New test.
2004-11-17 Joseph Myers <[email protected]>
* gcc/cp/g++spec.c (lang_specific_driver): Add a -R option if
-lstdc++ is added.
* gcc/cp/Make-lang.in (g++spec.o): Define LIBDIR.
* gcc/config/i386/t-sol2-10 (MULTILIB_DIRNAMES,
MULTILIB_OSDIRNAMES): Use amd64 instead of 64.
* gcc/config/i386/i386.c (optimization_options): Use
SUBTARGET_OPTIMIZATION_OPTIONS.
* gcc/config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS):
Define.
(TARGET_SUBTARGET_DEFAULT): Don't include
MASK_OMIT_LEAF_FRAME_POINTER.
2004-11-07 Mark Mitchell <[email protected]>
* gcc/config/sparc/sol2.h (ASM_OUTPUT_CALL): Fix typo.
2004-10-26 Mark Mitchell <[email protected]>
* gcc/config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE):
Define to false.
2004-10-25 Mark Mitchell <[email protected]>
* gcc/crtstuff.c (IN_LIBGCC2): Define it.
(EH_FRAME_SECTION_CONST): Check EH_TABLES_CAN_BE_READ_ONLY
instead of HAVE_LD_RO_RW_SECTION_MIXING.
* gcc/defaults.h (EH_TABLES_CAN_BE_READ_ONLY): New macro.
* gcc/dwarf2out.c (named_section_eh_frame_section): Check
EH_TABLES_CANBE_READ_ONLY.
* gcc/except.c (default_exception_section): Likewise.
* gcc/config/i386/sol2.h (EH_TABLES_CAN_BE_READ_ONLY): Define.
2004-10-14 Mark Mitchell <[email protected]>
* gcc/config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
within the multilib directory.
2004-10-12 Mark Mitchell <[email protected]>
Revert:
* gcc/config/i386/sol2-10.h (LIBGCC_SPEC): Add support for -nolibgcc.
* gcc/config.gcc: Do not build crt1.o, crti.o, crtn.o, gcrt1.o.
* gcc/fixinc/inclhack.def (solaris_stdio_tag): Add bypass.
2004-09-24 Mark Mitchell <[email protected]>
Revert:
2004-09-24 Mark Mitchell <[email protected]>
* gcc/config/sol2-c.c (cmn_err_flag_specs): Add "#"
(cmn_err_char_table): Likewise.
(solaris_format_types): Likewise.
* gcc/testsuite/gcc.dg/format/cmn-err-1.c: Add "#" tests.
2004-09-24 Mark Mitchell <[email protected]>
* gcc/config/i386/sol2-10.h (LIBGCC_SPEC): Add support for -nolibgcc.
* gcc/config/sol2-c.c (cmn_err_flag_specs): Add "#"
(cmn_err_char_table): Likewise.
(solaris_format_types): Likewise.
* gcc/testsuite/gcc.dg/format/cmn-err-1.c: Add "#" tests.
2004-09-22 Mark Mitchell <[email protected]>
* gcc/config/i386/sol2.h (ASM_OUTPUT_CALL): Use print_operand.
* gcc/config/sparc/sol2.h (ASM_OUTPUT_CALL): Likewise.
* gcc/sol2-c.c (cmn_err_char_table): Add "p".
* gcc/dwarf2out.c (scope_die_for): If the containing scope is a
TRANSLATION_UNIT_DECL, consider it to be a global.
* gcc/fixinc/inclhack.def (solaris_longlong): New test.
(sun_auth_proto): Avoid modifying headers from Solaris 2.8 or
higher.
* gcc/fixinc/fixincl.x: Regenerated.
* gcc/testsuite/lib/gcc-dg.exp (dg-forbid-option): New function.
* gcc/testsuite/lib/target-supports.exp
(check_visibility_available): Really test the compiler.
* gcc/testsuite/g++.dg/abi/bitfield3.C: Use dg-forbid-option -m64.
* gcc/testsuite/g++.dg/abi/bitfield8.C: Likewise.
* gcc/testsuite/g++.dg/abi/dtor1.C: Likewise.
* gcc/testsuite/g++.dg/abi/empty10.C: Likewise.
* gcc/testsuite/g++.dg/abi/empty7.C: Likewise.
* gcc/testsuite/g++.dg/abi/empty9.C: Likewise.
* gcc/testsuite/g++.dg/abi/layout3.C: Likewise.
* gcc/testsuite/g++.dg/abi/layout4.C: Likewise.
* gcc/testsuite/g++.dg/abi/thunk1.C: Likewise.
* gcc/testsuite/g++.dg/abi/thunk2.C: Likewise.
* gcc/testsuite/g++.dg/abi/vbase11.C: Likewise.
* gcc/testsuite/g++.dg/abi/vthunk2.C: Likewise.
* gcc/testsuite/g++.dg/abi/vthunk3.C: Likewise.
* gcc/testsuite/g++.dg/ext/attrib8.C: Likewise.
* gcc/testsuite/g++.dg/opt/langbranch2.C: Likewise.
* gcc/testsuite/g++.dg/opt/reg-stack4.C: Likewise.
* gcc/testsuite/g++.old-deja/g++.ext/attrib1.C: Likewise.
* gcc/testsuite/g++.old-deja/g++.ext/attrib2.C: Likewise.
* gcc/testsuite/g++.old-deja/g++.ext/attrib3.C: Likewise.
* gcc/testsuite/g++.old-deja/g++.other/store-expr1.C: Likewise.
* gcc/testsuite/g++.old-deja/g++.other/store-expr2.C: Likewise.
* gcc/testsuite/gcc.dg/20000609-1.c: Likewise.
* gcc/testsuite/gcc.dg/20000720-1.c: Likewise.
* gcc/testsuite/gcc.dg/20011107-1.c: Likewise.
* gcc/testsuite/gcc.dg/20011119-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020108-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020122-2.c: Likewise.
* gcc/testsuite/gcc.dg/20020122-3.c: Likewise.
* gcc/testsuite/gcc.dg/20020201-3.c: Likewise.
* gcc/testsuite/gcc.dg/20020206-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020218-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020310-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020411-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020418-2.c: Likewise.
* gcc/testsuite/gcc.dg/20020426-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020426-2.c: Likewise.
* gcc/testsuite/gcc.dg/20020517-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020523-1.c: Likewise.
* gcc/testsuite/gcc.dg/20020523-2.c: Likewise.
* gcc/testsuite/gcc.dg/20020729-1.c: Likewise.
* gcc/testsuite/gcc.dg/20030204-1.c: Likewise.
* gcc/testsuite/gcc.dg/20030826-2.c: Likewise.
* gcc/testsuite/gcc.dg/20030926-1.c: Likewise.
* gcc/testsuite/gcc.dg/20031202-1.c: Likewise.
* gcc/testsuite/gcc.dg/980312-1.c: Likewise.
* gcc/testsuite/gcc.dg/980313-1.c: Likewise.
* gcc/testsuite/gcc.dg/990117-1.c: Likewise.
* gcc/testsuite/gcc.dg/990424-1.c: Likewise.
* gcc/testsuite/gcc.dg/990524-1.c: Likewise.
* gcc/testsuite/gcc.dg/991230-1.c: Likewise.
* gcc/testsuite/gcc.dg/const-elim-1.c: Likewise.
* gcc/testsuite/gcc.dg/i386-387-1.c: Likewise.
* gcc/testsuite/gcc.dg/i386-387-2.c: Likewise.
* gcc/testsuite/gcc.dg/i386-387-3.c: Likewise.
* gcc/testsuite/gcc.dg/i386-387-4.c: Likewise.
* gcc/testsuite/gcc.dg/i386-387-5.c: Likewise.
* gcc/testsuite/gcc.dg/i386-387-6.c: Likewise.
* gcc/testsuite/gcc.dg/i386-asm-1.c: Likewise.
* gcc/testsuite/gcc.dg/i386-bitfield1.c: Likewise.
* gcc/testsuite/gcc.dg/i386-bitfield2.c: Likewise.
* gcc/testsuite/gcc.dg/i386-loop-1.c: Likewise.
* gcc/testsuite/gcc.dg/i386-loop-2.c: Likewise.
* gcc/testsuite/gcc.dg/i386-loop-3.c: Likewise.
* gcc/testsuite/gcc.dg/i386-pentium4-not-mull.c: Likewise.
* gcc/testsuite/gcc.dg/i386-pic-1.c: Likewise.
* gcc/testsuite/gcc.dg/i386-regparm.c: Likewise.
* gcc/testsuite/gcc.dg/i386-signbit-1.c: Likewise.
* gcc/testsuite/gcc.dg/i386-signbit-2.c: Likewise.
* gcc/testsuite/gcc.dg/i386-signbit-3.c: Likewise.
* gcc/testsuite/gcc.dg/i386-sse-2.c: Likewise.
* gcc/testsuite/gcc.dg/i386-sse-5.c: Likewise.
* gcc/testsuite/gcc.dg/i386-sse-8.c: Likewise.
* gcc/testsuite/gcc.dg/i386-unroll-1.c: Likewise.
* gcc/testsuite/gcc.dg/tls/opt-1.c: Likewise.
* gcc/testsuite/gcc.dg/tls/opt-2.c: Likewise.
* gcc/testsuite/gcc.dg/unroll-1.c: Likewise.
* gcc/testsuite/gcc.misc-tests/i386-pf-3dno-1.c: Likewise.
* gcc/testsuite/gcc.misc-tests/i386-pf-athlon-1.c: Likewise.
* gcc/testsuite/gcc.misc-tests/i386-pf-none-1.c: Likewise.
* gcc/testsuite/gcc.misc-tests/i386-pf-sse-1.c: Likewise.
* gcc/testsuite/gcc.dg/tls/alias-1.c: Use dg-require-visibility.
* gcc/testsuite/gcc.c-torture/execute/20010129-1.x: Do not use
-mtune=i686 when -m64 is specified.
* gcc/testsuite/g++.dg/eh/badalloc1.C: Robustify.
* libstdc++-v3/testsuite/27_io/basic_stream/extractors_arithmetic/char/12.cc: XFAIL on all Solaris targets.
* gcc/c-decl.c (implicitly_declare): Call
maybe_apply_renaming_pragma.
(builtin_function): Call maybe_apply_renaming_pragma for all
global variables and functions.
* gcc/testsuite/gcc.dg/pragma-re-3.c: New test.
Backport:
2004-06-20 Zack Weinberg <[email protected]>
* gcc/c-common.h (has_c_linkage): New interface.
* gcc/c-cppbuiltin.c (maybe_apply_renaming_pragma): Rewrite
according to clarified semantics. Always recognize, but do not
necessarily execute.
* gcc/c-decl.c (builtin_function): Don't call make_decl_rtl.
* gcc/c-objc-common.c (has_c_linkage): Stub implementation.
* gcc/cp/except.c (nothrow_libfn_p): Look at DECL_NAME, not
DECL_ASSEMBLER_NAME.
2004-08-04 Daniel Jacobowitz <[email protected]>
* config/sol2-c.c (solaris_pragma_align): Allow #pragma align after
the first declaration.
* config/i386/sol2-10.h (SUBTARGET_OVERRIDE_OPTIONS): Re-enable
asynchronous unwind tables by default for 64-bit.
* gcc.dg/pragma-align-2.c: Test for #pragma align after the
definition of y16.
2004-08-03 Daniel Jacobowitz <[email protected]>
* c-pragma.c (maybe_apply_pending_pragma_weaks): Mark the new decl
as weak.
2004-07-27 Daniel Jacobowitz <[email protected]>
* Makefile.in (c-objc-common.o): Update dependencies.
* config/sol2-c.c (solaris_register_pragmas): Use
c_register_pragma_with_expansion.
* config/sol2.h (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Define.
* doc/extend.texi (Solaris Pragmas): Mention macro expansion
for #pragma align.
* c-objc-common.c: Include "c-pragma.h".
(c_objc_common_finish_file): Call maybe_apply_pending_pragma_weaks.
* c-pragma.c (maybe_apply_pending_pragma_weaks): New function.
(c_register_pragma): Update call to cpp_register_pragma.
(c_register_pragma_with_expansion): New function.
(init_pragma): Honor HANDLE_PRAGMA_PACK_WITH_EXPANSION.
* c-pragma.h (c_register_pragma_with_expansion)
(maybe_apply_pending_pragma_weaks): New prototypes.
* cpplib.c (struct pragma_entry): Add allow_expansion.
(insert_pragma_entry): Take allow_expansion flag.
(cpp_register_pragma): Likewise.
(_cpp_init_internal_pragmas): Update calls to cpp_register_pragma.
(do_pragma): Honor allow_expansion.
* cpplib.h (cpp_register_pragma): Update prototype.
* Make-lang.in (cp/decl2.c): Update dependencies.
* decl2.c (finish_file): Call maybe_apply_pending_pragma_weaks.
* gcc.dg/pragma-align-2.c: Test macro expansion.
* gcc.dg/pragma-align.c: Fix abort on -m64.
* gcc.dg/pragma-pack-2.c: New test.
2004-07-27 Daniel Jacobowitz <[email protected]>
* config/i386/sol2-10.h (LINK_ARCH64_SPEC_BASE)
(LINK_ARCH64_SPEC, LINK_ARCH64_SPEC, TARGET_LD_EMULATION)
(LINK_ARCH_SPEC): Define.
* config/i386/t-sol2-10: Define MULTILIB_OSDIRNAMES.
(EXTRA_MULTILIB_PARTS): Remove crti.o, crtn.o, crt1.o, gcrt1.o.
* config.gcc (i[34567]86-*-solaris2*): Define TARGET_GNU_LD.
* config/sol2-c.c, config/sol2.c: Replace %< and %> with "'".
2004-07-23 Daniel Jacobowitz <[email protected]>
* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle 64-bit.
* config/i386/sol2-10.h (CRT_GET_RFIB_DATA): Redefine.
* config.gcc (i[34567]86-*-solaris2*): Set need_64bit_hwint.
* config/i386/t-sol2: Introduce multilib support.
2004-07-22 Daniel Jacobowitz <[email protected]>
* config/i386/sol2-10.h (MULTILIB_DEFAULTS): Define.
* config/i386/t-sol2-10: New file.
* config.gcc (i[34567]86-*-solaris2*): Use t-sol2-10.
2004-07-21 Daniel Jacobowitz <[email protected]>
* config/i386/i386.c (i386_solaris_elf_named_section): New function.
* config/i386/i386-protos.h (i386_solaris_elf_named_section): Add
prototype.
* config/i386/sol2-10.h (TARGET_ASM_NAMED_SECTION): Redefine.
2004-07-20 Daniel Jacobowitz <[email protected]>
* config/i386/i386.c (override_options): Move
SUBTARGET_OVERRIDE_OPTIONS before defaulting flag_omit_frame_pointer.
2004-07-20 Daniel Jacobowitz <[email protected]>
* config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10.
* config/i386/sol2-10.h: New file.
* config/i386/sol2.h (ASM_QUAD): Don't undefine for biarch targets.
2004-07-19 Daniel Jacobowitz <[email protected]>
* Makefile.in (c-format.o): Depend on c-format.h.
* c-format.h: New file.
(struct format_char_info): Add CHAIN member.
* c-format.c: Move some types and constants to c-format.h.
(format_type_error): Set to -1.
(struct function_format_info): Use an int for format_type.
(decode_format_type): Return an int. Return format_type_error
on error.
(print_char_table, asm_fprintf_char_table, gcc_diag_char_table)
(gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table)
(scan_char_table, time_char_table, monetary_char_table): Initialize
CHAIN to NULL.
(n_format_types): New variable.
(check_format_info_main): Handle CHAIN in format_char_info.
(handle_format_attribute): Handle TARGET_FORMAT_TYPES and
TARGET_N_FORMAT_TYPES.
* config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*)
(sparc-*-solaris2*): Include config/t-sol2 and config/sol2-c.c.
* config/sol2-c.c: New file.
* config/t-sol2: New file.
* config/sol2.h (TARGET_N_FORMAT_TYPES, TARGET_FORMAT_TYPES): Define.
* config/sparc/elf.h, config/sparc/sp64-elf.h: Undefine
TARGET_N_FORMAT_TYPES and TARGET_FORMAT_TYPES.
* doc/extend.texi (Target Format Checks): New section.
(Function Attributes): Mention it.
* doc/invoke.texi: Mention target format checks.
* doc/sourcebuild.texi: Mention target format checks.
* dc/tm.texi (Misc): Document TARGET_N_FORMAT_TYPES and
TARGET_FORMAT_TYPES.
2004-07-19 Daniel Jacobowitz <[email protected]>
* gcc.dg/format/cmn-err-1.c: New test.
2004-07-19 Daniel Jacobowitz <[email protected]>
* config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*)
(sparc-*-solaris2*): Include sol2.o and sol2-protos.h.
* config/sol2-c.c: Include "tm.h", "tm_p.h", "toplev.h",
"cpplib.h", "c-pragma.h", "c-common.h".
(solaris_pragma_align, solaris_pragma_init, solaris_pragma_fini)
(solaris_register_pragmas): New functions.
* config/sol2-protos.h: New file.
* config/sol2.c: New file.
* config/sol2.h (SOLARIS_ATTRIBUTE_TABLE, ASM_DECLARE_FUNCTION_SIZE)
(REGISTER_TARGET_PRAGMAS): New macros.
(solaris_pending_aligns, solaris_pending_inits)
(solaris_pending_finis): New variables.
* config/t-sol2 (sol2-c.o): Update dependencies.
(sol2.o): New rule.
* config/i386/i386.c (TARGET_INSERT_ATTRIBUTES): Define in terms of
SUBTARGET_INSERT_ATTRIBUTES.
(ix86_attribute_table): Include SUBTARGET_ATTRIBUTE_TABLE.
* config/i386/sol2.h (SUBTARGET_INSERT_ATTRIBUTES)
(SUBTARGET_ATTRIBUTE_TABLE, ASM_OUTPUT_CALL): Define.
* config/sparc/elf.h (ASM_DECLARE_FUNCTION_SIZE): Redefine.
* config/sparc/sp64-elf.h (ASM_DECLARE_FUNCTION_SIZE): Redefine.
* config/sparc/sol2.h (SUBTARGET_INSERT_ATTRIBUTES)
(SUBTARGET_ATTRIBUTE_TABLE, ASM_OUTPUT_CALL): Define.
* config/sparc/sparc.c (sparc_attribute_table): New.
(TARGET_INSERT_ATTRIBUTES): Define in terms of
SUBTARGET_INSERT_ATTRIBUTES.
(TARGET_ATTRIBUTE_TABLE): Define if SUBTARGET_ATTRIBUTE_TABLE
is defined.
* doc/extend.texi (Solaris Pragmas): New section.
2004-07-19 Daniel Jacobowitz <[email protected]>
* testsuite/gcc.dg/pragma-align-2.c: New test.
* testsuite/gcc.dg/pragma-init-fini.c: New test.
* testsuite/gcc.dg/pragma-align.c: Change from compile to run.
Run on Solaris targets.
2004-07-10 Daniel Jacobowitz <[email protected]>
* config/i386/i386.c (override_options): Pick a 64-bit CPU
for the default tuning if TARGET_64BIT.