Eric Botcazou
0a9e65f999
sparc.c (function_arg_partial_nregs): Return 0 for all complex modes whose size is lesser or equal to a word.
...
* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
Return 0 for all complex modes whose size is lesser or equal to
a word. Add a ??? comment for the condition used with 16-byte
aligned modes.
From-SVN: r73194
2003-11-02 08:27:23 +00:00
John David Anglin
f25b19304b
* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
...
From-SVN: r73193
2003-11-02 01:01:24 +00:00
John David Anglin
4043d9c130
* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
...
From-SVN: r73191
2003-11-02 00:16:33 +00:00
GCC Administrator
edc7c9d5ec
Daily bump.
...
From-SVN: r73189
2003-11-02 00:16:06 +00:00
John David Anglin
94d5427624
* collect2.c (scan_libraries): Fix typos.
...
From-SVN: r73187
2003-11-02 00:12:45 +00:00
Kelley Cook
d6665c3332
cvsignore: Remove c-parse.* and tradcif.c
...
* .cvsignore: Remove c-parse.* and tradcif.c
* objc/.cvsignore: Delete.
* java/.cvsignore: Delete.
From-SVN: r73186
2003-11-02 00:08:12 +00:00
Gerald Pfeifer
29d274e929
* maintainer-addresses: New script.
...
From-SVN: r73185
2003-11-02 00:02:21 +00:00
Roger Sayle
d234bf6133
unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL.
...
* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
of NULL.
From-SVN: r73184
2003-11-02 00:00:08 +00:00
John David Anglin
0527bc4ebf
re PR preprocessor/12847 (xxx.c:1:20: xxxx.h: No such file or directory)
...
PR preprocessor/12847
* cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c,
cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c,
c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN,
DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with
"CPP_".
From-SVN: r73183
2003-11-01 22:56:54 +00:00
Fariborz Jahanian
2f7b62efc5
rs6000.c (rs6000_mixed_function_arg): Correct no_units calculation.
...
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): Correct
no_units calculation.
From-SVN: r73182
2003-11-01 17:00:33 -05:00
Andreas Jaeger
ab08fce55b
unwind-dw2.c (_Unwind_FrameState): Remove commas at end of enumeration list.
...
* unwind-dw2.c (_Unwind_FrameState): Remove commas at end of
enumeration list.
From-SVN: r73180
2003-11-01 19:31:56 +01:00
Andreas Schwab
63482449cc
sysv4.h (SDATA_SECTION_FUNCTION): Update to C90 prototypes.
...
* config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90
prototypes.
(SBSS_SECTION_FUNCTION): Likewise.
From-SVN: r73177
2003-11-01 17:26:09 +00:00
Andreas Jaeger
6377248ca0
Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
...
2003-11-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
From-SVN: r73176
2003-11-01 17:58:44 +01:00
Kriang Lerdsuwanakij
f218d8208f
re PR c++/12796 (Wrong line number in error message)
...
PR c++/12796
* g++.dg/template/crash13.C: Adjust expected error location.
* g++.old-deja/g++.brendan/ns1.C: Likewise.
From-SVN: r73175
2003-11-01 16:09:38 +00:00
Kriang Lerdsuwanakij
441b941ac2
re PR c++/12796 (Wrong line number in error message)
...
PR c++/12796
* class.c (handle_using_decl): Set input_location before calling
error_not_base_type.
From-SVN: r73174
2003-11-01 12:00:25 +00:00
Andreas Tobler
97603db35a
sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90 prototypes.
...
2003-11-01 Andreas Tobler <a.tobler@schweiz.ch>
* config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90
prototypes.
From-SVN: r73173
2003-11-01 12:31:24 +01:00
Andreas Jaeger
f1518966c3
unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
...
* unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
(uw_frame_state_for): Constify variables.
(extract_cie_info): Constify first argument.
* unwind-dw2-fde-darwin.c: Adjust prototype of
_Unwind_Find_registered_FDE for recent changes.
(examine_objects): Constify return value and local variable result.
(_Unwind_Find_FDE): Constify return value and local variable ret.
From-SVN: r73172
2003-11-01 10:59:50 +01:00
Per Bothner
8ecde51fff
Note that the previous check-in to c-opts.c fixes PR preprocessor/12545.
...
From-SVN: r73171
2003-10-31 19:25:21 -08:00
Per Bothner
8e974c0eba
c-opts.c (finish_options): Change to returns boolean - false iff the call to cpp_find_main_file fails.
...
* c-opts.c (finish_options): Change to returns boolean - false iff
the call to cpp_find_main_file fails.
(c_common_init): Skip preprocess_file if finish_options failed.
(c_common_parse_file): Break if finish_options failed.
From-SVN: r73170
2003-10-31 19:19:59 -08:00
John David Anglin
e31f8eda09
aclocal.m4: Blacklist ultrix* for mmap file.
...
* aclocal.m4: Blacklist ultrix* for mmap file.
* configure: Rebuilt.
From-SVN: r73169
2003-11-01 02:34:58 +00:00
John David Anglin
2b256a4627
function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable reg_parm_stack_space.
...
* function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
reg_parm_stack_space.
* toplev.c (default_get_pch_validity): Fix warning.
From-SVN: r73168
2003-11-01 02:23:44 +00:00
John David Anglin
72f03fdeb8
vax.c: Include toplev.h.
...
* vax.c: Include toplev.h.
(vax_init_libfuncs): Fix typo (umod).
* vax.h (ASM_COMMENT_START): Define.
(PRINT_OPERAND): Fix warning when HOST_WIDE_INT is a long long.
From-SVN: r73167
2003-11-01 02:11:12 +00:00
Roger Sayle
41ba7ed74c
re PR middle-end/11968 (Array reference is incorrectly computed for POINTERS_EXTEND_UNSIGNED)
...
PR middle-end/11968
* expr.c (expand_expr <MULT_EXPR>): Remove inappropriate and
confusing comment; distributivity isn't handled in expand_expr.
* fold-const.c (extract_muldiv_1 <PLUS_EXPR>): Allow overflow
in distributivity, if wrap-around semantics are specified with
-fwrapv.
From-SVN: r73166
2003-11-01 00:59:53 +00:00
Alan Modra
3d63de248f
re PR other/12315 (ICE using -p with functions returning structs)
...
PR 12315
* final.c (profile_function): Allow for NULL svrtx.
From-SVN: r73165
2003-11-01 11:18:50 +10:30
GCC Administrator
f8ef3ed189
Daily bump.
...
From-SVN: r73163
2003-11-01 00:16:07 +00:00
John David Anglin
24a5216069
pa.c (pa_select_section): Use new style declaration.
...
* pa.c (pa_select_section): Use new style declaration.
* som.h (readonly_data): Likewise.
From-SVN: r73160
2003-10-31 22:08:55 +00:00
Kelley Cook
38f391a52e
* config/rs6000/rs6000.c: Update to C90 prototypes.
...
From-SVN: r73159
2003-10-31 21:47:01 +00:00
Richard Earnshaw
4a3a957b8a
Bah! Missed PR no again!
...
PR target/7513
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.
From-SVN: r73158
2003-10-31 21:44:35 +00:00
Richard Earnshaw
fb14bc892c
arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb code.
...
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.
From-SVN: r73157
2003-10-31 21:42:23 +00:00
Andreas Jaeger
a30794da51
2003-10-31 Andreas Jaeger <aj@suse.de>,
...
Zack Weinberg <zack@codesourcery.com>
* crtstuff.c (__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
* unwind-dw2-fde.h (struct fde_vector):
Constify 'orig_data' and 'array' fields.
(__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
(get_cie, next_fde, _Unwind_Find_FDE): Constify arguments,
return values, and casts of type fde *, struct dwarf_fde *,
and struct dwarf_cie *.
* unwind-dw2-fde.c (__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
(get_cie_encoding, ): Constify struct dwarf_cie * argument.
(get_fde_encoding, fde_unencoded_compare, fde_single_encoding_compare)
(fde_mixed_encoding_compare, fde_compare_t, start_fde_sort, fde_insert)
fde_split, SWAP, frame_downheap, frame_heapsort)
(classify_object_over_fdes, add_fdes, linear_search_fdes,
binary_search_unencoded_fdes, binary_search_single_encoding_fdes,
binary_search_mixed_encoding_fdes, search_object, _Unwind_Find_FDE):
Constify arguments, local variables, return values, and casts
of type fde *, fde **, struct dwarf_fde *, and struct dwarf_cie *.
Use const pointer types in sizeof expressions, for clarity.
* unwind-dw2-fde-glibc.c
(_Unwind_find_registered_FDE, _Unwind_find_FDE): Constify return value.
(struct unw_eh_callback_data): Constify 'ret' field.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r73155
2003-10-31 21:46:26 +01:00
Richard Earnshaw
f3dd79b90f
* g++.dg/bprob/bprob.exp: Disable test on arm-elf configs.
...
From-SVN: r73153
2003-10-31 16:04:21 +00:00
Fariborz Jahanian
8159dc2024
Add UNITS_PER_ARG missed in patch.
...
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r73152
2003-10-31 10:58:39 -05:00
Fariborz Jahanian
b78d48ddc2
rs6000.c (rs6000_mixed_function_arg): New.
...
2003-10-31 Fariborz Jahanian <fjahanian@apple.com>
David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): New.
(function_arg): Call it.
(rs6000_function_value): Widen integral return value to mode based
on TARGET_32BIT, not word_mode.
* config/rs6000/rs6000.h (PROMOTE_MODE): Likewise.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r73151
2003-10-31 10:50:49 -05:00
Gerald Pfeifer
3dc5f34a79
cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c, and gengtype-yacc.h.
...
* .cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c,
and gengtype-yacc.h.
From-SVN: r73150
2003-10-31 15:38:37 +00:00
Richard Earnshaw
79b535431a
Add PR to:
...
PR optimization/8896
* postreload.c (reload_combine): Check that REGY doesn't die in an
insn of the form (set (regx) (plus (regx) (regy))), ie REGX != REGY.
From-SVN: r73149
2003-10-31 15:14:19 +00:00
Richard Earnshaw
71c1543c4b
postreload.c (reload_combine): Check that REGY doesn't die in an insn of the form (set (regx) (plus (regx)...
...
* postreload.c (reload_combine): Check that REGY doesn't die in an
insn of the form (set (regx) (plus (regx) (regy))), ie REGX != REGY.
From-SVN: r73148
2003-10-31 15:11:37 +00:00
Josef Zlomek
4cabf776b3
20031031-2.c: New test.
...
PR/10239
* gcc.c-torture/compile/20031031-2.c: New test.
From-SVN: r73146
2003-10-31 14:21:23 +00:00
Josef Zlomek
9295a326c0
cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all REG_LABEL notes.
...
PR/10239
* cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all REG_LABEL notes.
From-SVN: r73145
2003-10-31 14:19:03 +00:00
Josef Zlomek
739e6d58e7
20031031-1.c: New test.
...
PR/11640
* gcc.c-torture/compile/20031031-1.c: New test.
From-SVN: r73143
2003-10-31 14:09:51 +00:00
Josef Zlomek
5d693491f0
cfgrtl.c (try_redirect_by_replacing_jump): Move jump immediatelly before BARRIER.
...
PR/11640
* cfgrtl.c (try_redirect_by_replacing_jump): Move jump
immediatelly before BARRIER.
From-SVN: r73142
2003-10-31 14:09:34 +00:00
Kelley Cook
c2edc52b76
C90 update
...
From-SVN: r73140
2003-10-31 12:55:36 +00:00
Kelley Cook
14df9585bb
* Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
...
From-SVN: r73139
2003-10-31 12:48:53 +00:00
Kelley Cook
a2ae4a3dd0
* Makefile.in (STRICT2_WARN): Add -Wold-style-definition
...
From-SVN: r73138
2003-10-31 12:41:34 +00:00
Andreas Schwab
acd8e9843f
* raise.c (get_action_description_for): Fix typo in last change.
...
From-SVN: r73137
2003-10-31 12:37:54 +00:00
Richard Earnshaw
b1f9e3147f
re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)
...
PR target/11271
* reload.c (find_reloads_address): Handle any register in
(PLUS (PLUS (REG) (REG)) (CONST_INT).
From-SVN: r73136
2003-10-31 11:37:20 +00:00
Richard Earnshaw
c5d6d04a1e
ggc-page.c (ggc_pch_read): Wrap call to poison_pages in ENABLE_GC_CHECKING not in GGC_POISON.
...
* ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
ENABLE_GC_CHECKING not in GGC_POISON.
From-SVN: r73135
2003-10-31 11:22:32 +00:00
Richard Earnshaw
35a59bd56f
* include/private/gcconfig.h: Re-install change of 2003-04-16.
...
From-SVN: r73134
2003-10-31 11:03:00 +00:00
Richard Earnshaw
28765aad65
bprob.exp: Disable test on arm-elf configs.
...
* g77.dg/bprob/bprob.exp: Disable test on arm-elf configs.
* gcc.misc-tests/bprob.exp: Likewise.
* g77.dg/execute/20001201.x, 6367.x, io0.x, io1.x, u77-test.x: XFAIL
the execution test on arm-elf configs.
* g77.dg/execute/10197.x: New file. XFAIL the execution test on
configs that don't support scratch files.
* g77.dg/execute/u77-test.x: XFAIL compilation on arm-elf configs.
From-SVN: r73133
2003-10-31 10:49:15 +00:00
Jakub Jelinek
65bb4a49e8
com.c (ffecom_sym_transform_): Set tree type of offset to ssizetype.
...
* com.c (ffecom_sym_transform_): Set tree type of offset
to ssizetype.
From-SVN: r73127
2003-10-31 11:34:03 +01:00
Nathanael Nerode
2c4902b982
re PR bootstrap/9863 (Absence of awk isn't properly diagnosed at configure time)
...
PR bootstrap/9863
* configure.in: Bail out if awk is missing.
* configure: Regenerate.
From-SVN: r73126
2003-10-31 09:58:46 +00:00