aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-01-21Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) (gtype-desc.o-warn...Kaveh R. Ghazi12-333/+423
gcc: * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn, insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn, c-parse.o-warn): Add -Wno-error. (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@". * configure.in (--enable-werror): Add new flag. * doc/install.texi (--enable-werror): Document. * configure: Regenerate. * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error. cp: Make-lang.in (cp/decl.o-warn): Add -Wno-error. f: Make-lang.in (f/sta.o-warn): Add -Wno-error. java: Make-lang.in (jvspec.o-warn): Add -Wno-error. From-SVN: r61544
2003-01-21genautomata.c (output_internal_insn_latency_func): Fix missing close paren ↵Andreas Schwab2-2/+7
in output. * genautomata.c (output_internal_insn_latency_func): Fix missing close paren in output. From-SVN: r61542
2003-01-21genautomata.c: Space savings in generated code:Zack Weinberg2-102/+169
* genautomata.c: Space savings in generated code: (output_dfa_insn_code_func): Split out the table-enlargement path to an out-of-line static function, dfa_insn_code_enlarge. (output_internal_insn_latency_func): Use a lookup table for the default latencies. (output_print_reservation_func): Use a lookup table for the strings. From-SVN: r61541
2003-01-21re PR rtl-optimization/7507 (ICE (segfault) with -O2)Christian Ehrhardt2-23/+39
PR opt/7507 * calls.c (fix_unsafe_tree): Split out from ... (expand_call): ... here. Use it on the function address too. From-SVN: r61539
2003-01-20* expr.h (default_must_pass_in_stack): Move decl outside ifdef.Richard Henderson2-1/+5
From-SVN: r61538
2003-01-20re PR rtl-optimization/7507 (ICE (segfault) with -O2)Richard Henderson3-11/+36
PR opt/7507 * stmt.c (expand_asm_operands): Validize memory operands. * gcc.dg/20030120-1.c: New. From-SVN: r61535
2003-01-20re PR rtl-optimization/8848 (bad code when optimizing (lifetime analysis pass?))Richard Henderson3-1/+27
PR opt/8848 * ifcvt.c (noce_process_if_block): Correct arguments to modified_between_p for no-else-block case. * gcc.c-torture/execute/20030120-2.c: New. From-SVN: r61532
2003-01-21h8300.c (const_costs): Remove a warning.Kazu Hirata2-21/+34
* config/h8300/h8300.c (const_costs): Remove a warning. (output_plussi): Likewise. (compute_plussi_length): Likewise. (compute_plussi_cc): Likewise. From-SVN: r61531
2003-01-21h8300.md (addsi_h8300): Remove the last alternative.Kazu Hirata2-7/+11
* config/h8300/h8300.md (addsi_h8300): Remove the last alternative. From-SVN: r61530
2003-01-21* config/h8300/h8300.c (get_shift_alg): Remove redundant code.Kazu Hirata2-29/+8
From-SVN: r61529
2003-01-21* system.h (__NO_STRING_INLINES): Define.Kaveh R. Ghazi2-0/+8
From-SVN: r61528
2003-01-21ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x is not a ↵John David Anglin2-2/+7
scalar int mode. * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x is not a scalar int mode. From-SVN: r61525
2003-01-21cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL insn's notes ↵Roger Sayle2-4/+9
following a... * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL insn's notes following a substitution inside a libcall. From-SVN: r61524
2003-01-21Daily bump.GCC Administrator1-1/+1
From-SVN: r61523
2003-01-21configure.in: Check for system-provided 'uchar' type.Zack Weinberg5-116/+171
* configure.in: Check for system-provided 'uchar' type. * configure, config.in: Regenerate. * cpphash.h: Only typedef 'uchar' if the system doesn't. From-SVN: r61516
2003-01-21configure.in: Check for system-provided 'uchar' type.Zack Weinberg1-7/+13
* configure.in: Check for system-provided 'uchar' type. * configure: Regenerate. * cpphash.h: Only typedef 'uchar' if the system doesn't. From-SVN: r61515
2003-01-20expr.h (MUST_PASS_IN_STACK): Move implementation...Richard Henderson3-26/+53
* expr.h (MUST_PASS_IN_STACK): Move implementation... * calls.c (default_must_pass_in_stack): ... here. From-SVN: r61514
2003-01-20genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.Vladimir Makarov5-5/+32
2003-01-20 Vladimir Makarov <vmakarov@redhat.com> * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c. * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h. * genattr.c (main): Output default definition of AUTOMATON_ALTS. Wrap up definition `insn_alts'. * genattrtab.c (main): Wrap up `insn_alts'. From-SVN: r61513
2003-01-20collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before prototyping.Kaveh R. Ghazi5-127/+210
* collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before prototyping. * configure.in: Check for <ldfcn.h> and ldgetname() prototype. * config.in, configure: Regenerate. From-SVN: r61511
2003-01-20Add an UNSPEC_PROLOGUE_USE to prevent the link register from being ↵Nick Clifton4-1/+41
considered dead. Add a testcase for the bug fixed by this patch. From-SVN: r61509
2003-01-20* i386.md (SSE cmov splitter): Handle memory operand in operand 5.Jan Hubicka2-2/+9
From-SVN: r61506
2003-01-20system.h: Don't declare strsignal if the decl test hasn't been run yet.Andreas Schwab2-2/+8
* system.h: Don't declare strsignal if the decl test hasn't been run yet. From-SVN: r61505
2003-01-20h8300.c (notice_update_cc): Don't assume that recog_data.operands[0] is ↵Kazu Hirata4-4/+69
always associated with cc0. * config/h8300/h8300.c (notice_update_cc): Don't assume that recog_data.operands[0] is always associated with cc0. * gcc.c-torture/execute/20030120-1.c: New. From-SVN: r61498
2003-01-20Daily bump.GCC Administrator1-1/+1
From-SVN: r61497
2003-01-19* system.h (strsignal): Also declare if no declaration found.David Edelsohn2-1/+2
From-SVN: r61490
2003-01-19collect2.c (ldgetname): Expand declaration to prototype.David Edelsohn3-1/+8
* collect2.c (ldgetname): Expand declaration to prototype. * read-rtl.c (atoll): Add prototype. From-SVN: r61489
2003-01-19typename13.C: Remove XFAIL.Paolo Carlini2-1/+5
2003-01-19 Paolo Carlini <pcarlini@unitus.it> * g++.old-deja/g++.pt/typename13.C: Remove XFAIL. From-SVN: r61482
2003-01-19config.gcc (mips64*-*-linux*): Added.Alexandre Oliva12-21/+262
* config.gcc (mips64*-*-linux*): Added. * config/mips/linux64.h, config/mips/t-linux64: New file. * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define. * config/mips/mips.c (override_options): Use it. * config/mips/mips.h (TARGET_SWITCHES): Added... (SUBTARGET_TARGET_SWITCHES): New, empty by default. * Makefile.in (SPECS): New. (STAGESTUFF, specs, mostlyclean, install-common): Use it. * gcc.c (process_command): Move self-spec processing past spec file loading. * doc/tm.texi (DRIVER_SELF_SPECS): Document the change. * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for CRTSTUFF_T_CFLAGS. (SPECS): Document. * doc/invoke.texi (-mabi-fake-default): Document. From-SVN: r61481
2003-01-19m68hc11.c (stack_push_word, [...]): Declare static and GTY().Stephane Carrez4-21/+27
* config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word, z_reg, z_reg_qi): Declare static and GTY(). (da_reg): Remove. (create_regs_rtx): Don't create da_reg. ("gt-m68hc11.h"): Include for GTY roots. * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern and GTY() here. (m68hc11_compare_op0, m68hc11_compare_op1): Likewise. (m68hc11_soft_tmp_reg): Likewise. * config/m68hc11/m68hc11-protos.h: Remove above declarations. From-SVN: r61479
2003-01-18basic-block.h: Fix comment formatting.Kazu Hirata11-26/+39
* basic-block.h: Fix comment formatting. * calls.c: Likewise. * combine.c: Likewise. * convert.c: Likewise. * gcov.c: Likewise. * haifa-sched.c: Likewise. * libgcc2.c: Likewise. * loop.c: Likewise. * profile.c: Likewise. * system.h: Likewise. From-SVN: r61478
2003-01-18check-init.c: Fix comment typos.Kazu Hirata18-32/+52
* check-init.c: Fix comment typos. * class.c: Likewise. * constants.c: Likewise. * decl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * java-except.h: Likewise. * java-tree.h: Likewise. * javaop.h: Likewise. * jcf-dump.c: Likewise. * jcf-io.c: Likewise. * jcf-parse.c: Likewise. * jcf-write.c: Likewise. * lang.c: Likewise. * mangle.c: Likewise. * typeck.c: Likewise. * verify.c: Likewise. From-SVN: r61477
2003-01-18Make-lang.in (java/jcf-write.o): Depend on $(TM_P_H).Kaveh R. Ghazi3-1/+7
* Make-lang.in (java/jcf-write.o): Depend on $(TM_P_H). * jcf-write.c: Include "tm_p.h". From-SVN: r61476
2003-01-18* config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.Roger Sayle2-1/+5
From-SVN: r61473
2003-01-18Daily bump.GCC Administrator1-1/+1
From-SVN: r61472
2003-01-18* ra-build.c (undef_to_size_word): Avoid `switch' warning.Kaveh R. Ghazi2-24/+25
From-SVN: r61464
2003-01-18rs6000.md (*floatsidf2_internal): Add earlyclobbers.Dale Johannesen2-3/+8
2003-01-17 Dale Johannesen <dalej@apple.com> * config/rs6000/rs6000.md (*floatsidf2_internal): Add earlyclobbers. (*floatunssidf2_internal): Ditto. From-SVN: r61463
2003-01-18alias.c: Fix comment typos.Kazu Hirata23-37/+62
* alias.c: Fix comment typos. * basic-block.h: Likewise. * c-common.c: Likewise. * c-common.h: Likewise. * c-decl.c: Likewise. * c-opts.c: Likewise. * c-pragma.c: Likewise. * c-pretty-print.h: Likewise. * cfg.c: Likewise. * cfganal.c: Likewise. * cfgbuild.c: Likewise. * cfgcleanup.c: Likewise. * cfglayout.c: Likewise. * cfgrtl.c: Likewise. * convert.c: Likewise. * cpphash.h: Likewise. * cpplex.c: Likewise. * cpplib.h: Likewise. * df.h: Likewise. * diagnostic.c: Likewise. * diagnostic.h: Likewise. * dwarf2.h: Likewise. From-SVN: r61462
2003-01-18* config/darwin-protos.h: Forward-declare struct cpp_reader.Stan Shebs2-0/+5
From-SVN: r61460
2003-01-17PR c++/9167, c++/9358Jason Merrill3-1/+23
PR c++/9167, c++/9358 * decl.c (require_complete_types_for_parms): Also update DECL_ARG_TYPE. From-SVN: r61459
2003-01-17re PR c++/9342 (another ICE in cp_expr_size at cp/cp-lang.c: 304)Jason Merrill3-2/+27
PR c++/9342 * call.c (build_conditional_expr): Always do lvalue-rvalue conversion. From-SVN: r61457
2003-01-17re PR c++/9294 ([new parser] parser enters infinite loop)Mark Mitchell12-44/+116
PR c++/9294 * cp-tree.def (BASELINK): Make it class 'x', not class 'e'. * cp-tree.h (BASELINK_BINFO): Adjust. (BASELINK_FUNCTIONS): Likewise. (BASELINK_ACCESS_BINFO): Likewise. (tree_baselink): New structure. (cp_tree_node_structure_enum): Add TS_CP_BASELINK. (lang_tree_node): Add baselink. * decl.c (cp_tree_node_structure): Add BASELINK case. * search.c (build_baselink): Adjust. * tree.c (cp_walk_subtrees): Add BASELINK case. Remove BASELINK_P test from TREE_LIST case. PR c++/9272 * parser.c (cp_parser_constructor_declarator_p): Do not assume that a constructor cannot be declared outside of its own class. * parser.c (cp_parser_resolve_typename_type): If the scope cannot be resolved, neither can the qualified name. * rtti.c (get_pseudo_ti_desc): Fix thinko. PR c++/9272 * g++.dg/parse/ctor1.C: New test. PR c++/9294: * g++.dg/parse/qualified1.C: New test. * g++.dg/parse/typename3.C: New test. From-SVN: r61456
2003-01-17alpha.c (alpha_need_linkage): Fix obvious mistake in last checkin.Douglas B Rupp2-1/+6
* config/alpha/alpha.c (alpha_need_linkage): Fix obvious mistake in last checkin. From-SVN: r61455
2003-01-17* jcf-io.c (caching_stat): Cast the 3rd arg of scandir to void*.Kaveh R. Ghazi2-4/+7
From-SVN: r61444
2003-01-17et-forest.c: Fix comment typos.Kazu Hirata15-48/+65
* et-forest.c: Fix comment typos. * et-forest.h: Likewise. * except.c: Likewise. * expr.c: Likewise. * flags.h: Likewise. * flow.c: Likewise. * gcc.c: Likewise. * gcse.c: Likewise. * genattrtab.c: Likewise. * genautomata.c: Likewise. * gengtype.c: Likewise. * genrecog.c: Likewise. * global.c: Likewise. * gthr-rtems.h: Likewise. From-SVN: r61443
2003-01-17* i386.c (x86_function_profiler): Fix format specifier.Kaveh R. Ghazi2-1/+5
From-SVN: r61442
2003-01-17* gengtype.c (walk_type): Allow paramN_is.Richard Henderson2-1/+9
From-SVN: r61441
2003-01-17Add missing newline escape.Nick Clifton2-2/+6
From-SVN: r61440
2003-01-17Daily bump.GCC Administrator1-1/+1
From-SVN: r61438
2003-01-16* config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.Richard Henderson2-1/+5
From-SVN: r61430
2003-01-16* g++.dg/tls/init-2.C: Fix error matches for real this time.Richard Henderson2-1/+5
From-SVN: r61429