aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-08-08Fix most compile time warning messagesNick Clifton3-54/+60
From-SVN: r35559
2000-08-07g77spec.c (lang_specific_driver): Clearer g77 version message.Toon Moene2-1/+5
2000-08-07 Toon Moene <toon@moene.indiv.nluug.nl> * g77spec.c (lang_specific_driver): Clearer g77 version message. From-SVN: r35558
2000-08-07* mn10300.h (TARGET_SWITCHES): Document `-mam33'.Nick Clifton2-3/+7
From-SVN: r35552
2000-08-07mn10300.md: Use nonimmediate_operand instead of general_operand on output ↵Graham Stott2-24/+27
operands. * mn10300.md: Use nonimmediate_operand instead of general_operand on output operands. From-SVN: r35551
2000-08-07* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.Graham Stott2-3/+10
From-SVN: r35550
2000-08-07Remove dangling whitespaceAlexandre Oliva1-1/+1
From-SVN: r35549
2000-08-07sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.Alexandre Oliva4-30/+38
* sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards. * sh.c (expand_block_move): Break long lines. (expand_ashiftrt, fpscr_set_from_mem): Likewise. * sh.md (mulsi3): Likewise. (movdi): Adjust spacing. From-SVN: r35548
2000-08-07* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.Joseph Myers3-0/+74
From-SVN: r35547
2000-08-07expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.Richard Henderson3-11/+5
* expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P. * expr.c (emit_group_store): Don't set it. From-SVN: r35546
2000-08-07Daily bump.Jeff Law2-2/+2
From-SVN: r35545
2000-08-07cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.Kazu Hirata3-2/+7
* cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo. * decl.c (pop_labels): Likewise. From-SVN: r35544
2000-08-07invoke.texi (Options for Debugging Your Program or GCC): Remove duplicate ↵Kazu Hirata2-4/+3
entries for 'w' and 'z'. * invoke.texi (Options for Debugging Your Program or GCC): Remove duplicate entries for 'w' and 'z'. From-SVN: r35543
2000-08-07* flow.c: Fix a comment typo.Kazu Hirata2-2/+6
From-SVN: r35542
2000-08-07* decl.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r35541
2000-08-07c-parse.in: Changed the language string for Objective-C to "GNU Objective-C".Ovidiu Predescu1-0/+5
Sun Aug 6 23:47:35 2000 Ovidiu Predescu <ovidiu@cup.hp.com> * c-parse.in: Changed the language string for Objective-C to "GNU Objective-C". From-SVN: r35540
2000-08-07Changed the language string for Objective-C to "GNU Objective-C".Ovidiu Predescu1-1/+1
From-SVN: r35539
2000-08-06gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve ↵Ovidiu Predescu1-0/+5
the Posix thread... Sun Aug 6 11:54:03 2000 Ovidiu Predescu <ovidiu@cup.hp.com> * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread support for Objective-C. From-SVN: r35534
2000-08-06Integrated Chris Ball's <cball@fmco.com> changes to improve the PosixOvidiu Predescu1-9/+60
thread support for Objective-C. From-SVN: r35533
2000-08-06objc.exp (objc_target_compile): Set the ld_library_path so that running ↵Ovidiu Predescu1-0/+6
programs linked against the shared... Sun Aug 6 11:41:51 2000 Ovidiu Predescu <ovidiu@cup.hp.com> * lib/objc.exp (objc_target_compile): Set the ld_library_path so that running programs linked against the shared version of libobjc run correctly. From-SVN: r35532
2000-08-06Set the ld_library_path so that running programs linked against theOvidiu Predescu1-1/+6
shared version of libobjc run correctly. From-SVN: r35531
2000-08-06c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and ↵Joseph Myers6-17/+271
CTI_UNSIGNED_PTRDIFF_TYPE. * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and CTI_UNSIGNED_PTRDIFF_TYPE. (signed_size_type_node): Define. (unsigned_ptrdiff_type_node): Define. * c-decl.c (init_decl_processing): Create the signed_size_type_node and unsigned_ptrdiff_type_node types. * c-common.c (T_SC): Define. (T_SST): Define. (T_UPD): Define. (print_char_table): Use T_SST for %zd, %zi, %zn. Use T_UPD for %to, %tu, %tx, %tX. Allow %hhn (T_SC). Add "c" to the flags for %s and %p. (scan_char_table): Use T_SC for %hhd, %hhi, %hhn. Use T_SST for %zd, %zi, %zn. Use T_UPD for %to, %tu, %tx, %tX. Add "c" to the flags for %c, %s and %[. (check_format_info): Only allow leniency for signedness of targets of character pointers (when pedantic) for formats flagged with "c", so for strings but not for %hh formats. When pedantic, don't allow character pointers to substitute for void pointers if a second level of indirection is present. testsuite: * gcc.dg/c99-printf-1.c: New test. From-SVN: r35530
2000-08-06invoke.texi (Options for Debugging Your Program or GCC): Update the names of ↵Kazu Hirata2-21/+30
dump files. * invoke.texi (Options for Debugging Your Program or GCC): Update the names of dump files. From-SVN: r35529
2000-08-06* gcc.c-torture/execute/20000801-4.x: Only xfail on x86.Joseph Myers2-1/+5
From-SVN: r35528
2000-08-06h8300.c (dosize): Rearrange code for conciseness.Kazu Hirata2-53/+27
* h8300.c (dosize): Rearrange code for conciseness. (split_adds_subs): Likewise. From-SVN: r35527
2000-08-06* loop.c: Fix formatting.Kazu Hirata2-216/+221
From-SVN: r35526
2000-08-06* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.Kazu Hirata2-201/+198
From-SVN: r35525
2000-08-06* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.Jeff Law1-0/+2
From-SVN: r35524
2000-08-06* expr.c: Fix formatting.Kazu Hirata2-174/+173
From-SVN: r35523
2000-08-06* rs6000.c (rs6000_maybe_dead): Prototype.Kaveh R. Ghazi2-0/+5
From-SVN: r35522
2000-08-06stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for ↵Richard Henderson4-49/+34
HAVE_nonlocal_goto as well. * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for HAVE_nonlocal_goto as well. * config/i960/i960.md (nonlocal_goto): Don't do it here. * config/pj/pj.md (nonlocal_goto): Likewise. From-SVN: r35521
2000-08-06loop.c (try_swap_copy_prop): New function.Michael Hayes2-10/+136
* loop.c (try_swap_copy_prop): New function. (load_mems): Rename copies to load_copies and add new regset store_copies. Check for sets of shadow registers and mark in store_copies. Call try_swap_copy_prop for registers marked in store_copies. From-SVN: r35520
2000-08-06objc-act.c: New command line option -fconstant-string-class to allow ↵Ovidiu Predescu1-0/+12
specifying a user... Sun Aug 6 00:54:42 2000 Ovidiu Predescu <ovidiu@cup.hp.com> * objc/objc-act.c: New command line option -fconstant-string-class to allow specifying a user defined constant string class, different from NXConstantString. * toplev.c: Moved the Objective-C specific options to objc/lang-options.h. * objc/lang-options.h: Moved the Objective-C specific options from toplev.c. Added -fconstant-string-class. From-SVN: r35519
2000-08-06New command line option -fconstant-string-class to allow specifying a user ↵Ovidiu Predescu1-1/+14
defined constant string class... New command line option -fconstant-string-class to allow specifying a user defined constant string class, different from NXConstantString. From-SVN: r35518
2000-08-06Moved the Objective-C specific options to objc/lang-options.h.Ovidiu Predescu1-16/+0
From-SVN: r35517
2000-08-06Moved the Objective-C specific options from toplev.c.Ovidiu Predescu1-0/+43
Moved the Objective-C specific options from toplev.c. Added -fconstant-string-class to allow specifying a user defined constant string class, different from NXConstantString. From-SVN: r35516
2000-08-06lang-options.h...Ovidiu Predescu1-0/+5
lang-options.h: Added a comma after the last element to avoid syntax errors when other languages define additional options. From-SVN: r35515
2000-08-06Added a comma after the last element to avoid syntax errors when otherOvidiu Predescu1-1/+1
languages define additional options. From-SVN: r35514
2000-08-06Daily bump.Jeff Law2-2/+2
From-SVN: r35513
2000-08-05elf.h (CTOR_LIST_BEGIN, [...]): change type of __CTOR_LIST__ from func_ptr ↵Chris Demetriou3-8/+15
array to just func_ptr... * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN, DTOR_LIST_END): change type of __CTOR_LIST__ from func_ptr array to just func_ptr, to avoid extra alignment imposed on arrays. * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise. From-SVN: r35510
2000-08-05mips.h: Clean up comments and spacing near MASKs.Chris Demetriou2-36/+46
* mips.h: Clean up comments and spacing near MASKs. (TARGET_UNIX_ASM): Delete. (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV, MASK_UNINIT_CONST_IN_RODATA): Change values to make mask values contiguous. From-SVN: r35509
2000-08-06Fix typos.Joseph Myers1-7/+7
From-SVN: r35508
2000-08-05c-common.c (print_char_table): Add entries for the X/Open ' format flag ↵Joseph Myers2-5/+20
(print decimals with locale's... * c-common.c (print_char_table): Add entries for the X/Open ' format flag (print decimals with locale's thousands grouping character). Make %C expect wint_t. (check_format_info): If pedantic, warn when the %n$ operand number form is used. Allow for the ' flag; warn about it if pedantic. From-SVN: r35507
2000-08-05i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return type is a float ↵Zack Weinberg4-7/+20
mode... * i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return type is a float mode, cfun->decl's return type is not, and TARGET_FLOAT_RETURNS_IN_80387. * gcc.c-torture/execute/20000731-1.x: Delete. From-SVN: r35506
2000-08-05tweakJason Merrill1-0/+3
From-SVN: r35505
2000-08-05Daily bump.Jeff Law2-2/+2
From-SVN: r35504
2000-08-05cxxabi.h (__pbase_type_info): Changed member names to match specifications.Jeffrey Oldham4-68/+90
2000-08-04 Jeffrey D. Oldham <oldham@codesourcery.com> * inc/cxxabi.h (__pbase_type_info): Changed member names to match specifications. (__pointer_to_member_type_info): Likewise. (__base_class_info): Likewise. (__class_type_info): Likewise. (__si_class_type_info): Likewise. (__vmi_class_type_info): Likewise. * tinfo.cc (__si_class_type_info::__do_find_public_src): Changed member names to match specifications. (__vmi_class_type_info::__do_find_public_src): Likewise. (__si_class_type_info::__do_dyncast): Likewise. (__vmi_class_type_info::__do_dyncast): Likewise. (__si_class_type_info::__do_upcast): Likewise. (__vmi_class_type_info::__do_upcast): Likewise. * tinfo2.cc (__pbase_type_info::__do_catch): Likewise. (__pbase_type_info::__pointer_catch): Likewise. (__pointer_type_info::__pointer_catch): Likewise. (__pointer_to_member_type_info::__pointer_catch): Likewise. From-SVN: r35503
2000-08-05[multiple changes]Zack Weinberg21-79/+160
2000-08-04 Andreas Schwab <schwab@suse.de> * cppmain.c (cb_def_pragma): Skip the first two tokens from the token list, which are always `#' and `pragma'. 2000-08-04 Zack Weinberg <zack@wolery.cumb.org> * tree.c (tree_expr_nonnegative_p): Move to... * fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR. (rtl_expr_nonnegative_p): New. * tree.h: Add prototype for rtl_expr_nonnegative_p. * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM, CONST_DOUBLE_CHAIN: Move to... * rtl.h: ...here. Use XCINT/XCEXP. * Makefile.in: Remove toplev.o from OBJS. Add rule to make libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND to VOL_FILES. * objc/Make-lang.in (cc1obj): Link with $(BACKEND). ch: * Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist. * Makefile.in (cc1chill): Link with $(BACKEND). Define BACKEND, eliminate C_OBJS (was commented out), OBJS, OBJDEPS. cp: * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS. (cc1plus): Link with $(BACKEND) and $(C_OBJS). f: * Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add BACKEND; delete OBJS, OBJDEPS. (f771): Link with $(BACKEND). java: * Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist. * Makefile.in: Add BACKEND; delete OBJS, OBJDEPS. (jc1): Link with $(BACKEND). (jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND). From-SVN: r35501
2000-08-05gcc-dg.exp: Set up TORTURE_OPTIONS...Zack Weinberg7-108/+139
* lib/gcc-dg.exp: Set up TORTURE_OPTIONS, torture_with_loops, and torture_without_loops as is done by c-torture.exp. (search_for): Copy from c-torture.exp. (gcc-dg-runtest): New function, drives a directory of tests iterating over the TORTURE_OPTIONS. (scan-assembler, scan-assembler-not): Move here from individual directory drivers. * gcc.dg/dg.exp: scan-assembler, scan-assembler-not now defined by lib/gcc-dg.exp. * gcc.dg/cpp/cpp.exp: Likewise. * gcc.dg/noncompile/noncompile.exp: Likewise. Use gcc-dg-runtest, so we cycle over optimization options. * gcc.dg/cpp/20000625-2.c: Expect warning on line 8, not 9. * gcc.dg/compare2.c: No longer expected to fail. From-SVN: r35500
2000-08-04newJason Merrill2-0/+56
From-SVN: r35499
2000-08-04pt.c (do_type_instantiation): Add complain parm; don't complain if called ↵Jason Merrill1-0/+16
recursively. * pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively. * cp-tree.h, parse.y: Adjust. From-SVN: r35498