aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-03-02cpphash.h (struct cpp_reader): Add print_version field.Zack Weinberg4-16/+47
* cpphash.h (struct cpp_reader): Add print_version field. * cppinit.c (cpp_handle_option): For -v, -version, and --version, just set print_version and other flags as appropriate. (cpp_post_options): Print version here if print_version is set. * toplev.c (exit_after_options): New flag. (independent_decode_option): Don't exit here; just set exit_after_options. (main): Exit after calling lang_hooks.post_options if exit_after_options is true. * cppinit.c (append_include_chain): Drop never-used case QUOTE. (merge_include_chains): Adjust comment to match code. From-SVN: r40171
2001-03-02stringpool.c (set_identifier): New function.Zack Weinberg6-26/+84
* stringpool.c (set_identifier): New function. * tree.h: Prototype it. * c-parse.in: Kill D_YES. If compiled for objc, call save_and_forget_protocol_qualifiers from init_reswords. * objc/objc-act.c (remember_protocol_qualifiers, forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD. Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or vice versa. (save_and_forget_protocol_qualifiers): New function. * c-lex.h: Prototype save_and_forget_protocol_qualifiers. From-SVN: r40170
2001-03-01c-semantics.c (prune_unused_decls): Return error_mark_node instead of (tree) ↵Diego Novillo2-1/+6
1 to stop traversing the tree chain. 2001-03-01 Diego Novillo <dnovillo@redhat.com> * c-semantics.c (prune_unused_decls): Return error_mark_node instead of (tree) 1 to stop traversing the tree chain. From-SVN: r40166
2001-03-01index.html: Update broken links.Phil Edwards3-7/+12
2001-03-01 Phil Edwards <pme@sources.redhat.com> * docs/html/faq/index.html: Update broken links. * docs/html/faq/index.txt: Regenerated. From-SVN: r40165
2001-03-01som.h (ASM_IDENTIFY_GCC): Define.Jeffrey A Law2-0/+9
* config/pa/som.h (ASM_IDENTIFY_GCC): Define. (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise. From-SVN: r40164
2001-03-01Undo some breakage introduced Feb 18Bernd Schmidt2-2/+14
From-SVN: r40162
2001-03-01pa.c (emit_move_sequence): Verify operand0 is a hard register before ↵Jeffrey A Law2-1/+7
determining its register class. * pa.c (emit_move_sequence): Verify operand0 is a hard register before determining its register class. From-SVN: r40160
2001-03-01Rotate bundles earlier in ia64_sched_reorderBernd Schmidt2-9/+10
From-SVN: r40157
2001-03-01Emit NOPs in the assembly output.Bernd Schmidt2-0/+99
From-SVN: r40156
2001-03-01Fix register renaming problemBernd Schmidt2-0/+7
From-SVN: r40152
2001-03-01Implement using decls inside template functions.Nathan Sidwell5-11/+66
cp: Implement using decls inside template functions. * decl2.c (validate_nonmember_using_decl): Don't special case fake_std_node in the global namespace. Don't reject early when processing a template. (do_local_using_decl): Add to statement tree. Don't do further processing when building a template. * pt.c (tsubst_expr, DECL_STMT case): Deal with USING_DECLs. testsuite: * g++.old-deja/g++.pt/using1.C: New test. From-SVN: r40151
2001-03-01decl2.c (do_nonmember_using_decl): Don't complain if we find same function.Nathan Sidwell4-13/+43
cp: * decl2.c (do_nonmember_using_decl): Don't complain if we find same function. Do complain about ambiguating extern "C" declarations. testsuite: * g++.old-deja/g++.other/using9.C: New test. From-SVN: r40148
2001-03-01Fix register elimination problemBernd Schmidt2-0/+4
From-SVN: r40147
2001-03-01Avoid exponential runtimeBernd Schmidt3-17/+33
From-SVN: r40145
2001-03-01Daily bump.GCC Administrator5-5/+5
From-SVN: r40143
2001-03-01configure.target: Change irix* to irix6.5* in target_os table.Benjamin Kosnik2-1/+6
q 2001-02-28 Benjamin Kosnik <bkoz@redhat.com> libstdc++/2064 * configure.target: Change irix* to irix6.5* in target_os table. From-SVN: r40141
2001-03-01c++config (__GLIBCPP__): Bump number in anticipation of 2.92.Benjamin Kosnik15-1101/+896
2001-02-28 Benjamin Kosnik <bkoz@redhat.com> libstdc++/2103 * include/bits/c++config (__GLIBCPP__): Bump number in anticipation of 2.92. * include/bits/codecvt.h: Fix typo. * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for stdio model. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t instantiations for stdio model. From-SVN: r40140
2001-02-28Makefile.in (check-c++): Use tabs, not spaces.Benjamin Kosnik2-9/+14
2001-02-28 Benjamin Kosnik <bkoz@redhat.com> Alexandre Oliva <aoliva@redhat.com> * Makefile.in (check-c++): Use tabs, not spaces. Co-Authored-By: Alexandre Oliva <aoliva@redhat.com> From-SVN: r40139
2001-02-28m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes, since that doesn't work the ↵DJ Delorie2-0/+10
way gcc wants on a generic m68k. * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes, since that doesn't work the way gcc wants on a generic m68k. From-SVN: r40138
2001-02-28caller-save.c (save_call_clobbered_regs): Fix typo in comparison last change.Richard Henderson2-1/+6
* caller-save.c (save_call_clobbered_regs): Fix typo in comparison last change. From-SVN: r40136
2001-02-28acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS and GLIBCPP_CXXFLAGS ↵Phil Edwards11-161/+299
as unused variables. 2001-02-28 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS and GLIBCPP_CXXFLAGS as unused variables. * configure.host: Likewise. * configure.target: Likewise. * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. From-SVN: r40135
2001-02-28i386.c (pentium4_cost): New.Jan Hubicka5-23/+86
* i386.c (pentium4_cost): New. (m_PENT4): New macro. (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8 x86_integer_DFmode_moves, x86_partial_reg_dependency, x86_memory_mismatch_stall): Add Pentium4 (x86_use_q_reg, x86_use_any_reg): Kill. (override_options): Add pentium4. (incdec_operand): Return 0 for pentium4. (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON. * i386.h (x86_use_q_reg, x86_use_any_reg): Kill. (TARGET_PENTIUM4): Define. (enum processor_type): Add PROCESSOR_PENTIUM4. (CPP_CPU_DEFAULT_SPEC): Add pentium4 support. * i386.md (attribute "cpu"): Add pentium4. * invoke.texi (march): Add pentium4. From-SVN: r40134
2001-02-28i386.md (sse_mov?fcc*): New patterns and splitters.Jan Hubicka3-0/+296
* i386.md (sse_mov?fcc*): New patterns and splitters. * i386.c (ix86_expand_movcc): Work post-reload; recognize the SSE based conditional moves. From-SVN: r40133
2001-02-28i386.md (attribute mode): Add "TI".Jan Hubicka5-84/+77
* i386.md (attribute mode): Add "TI". (movsf_1): Add pxor support; remove constant propagation splitter. (movdf_integer): Likewise. (movdf_nointeger): Likewise. (movxf constant prop splitter): Handle all modes; update for SSE. * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants. * i386.c (standard_80387_constant_p): Rewrite. (standard_sse_constant_p): New. * i386-protos.h (standard_sse_constant_p): New. From-SVN: r40132
2001-02-28i386.md (sse_setccsf, [...]): New.Jan Hubicka3-66/+107
* i386.md (sse_setccsf, sse_setccdf): New. (sse_cmp* patterns): Use '%D' instead of outputtting condition flag directly. * i386.c (sse_comparison_operator): Accept the supported unordered comparses; be ready for fast_math. (print_operand): Support 'D'. From-SVN: r40131
2001-02-28* jump.c (reversed_comparison_code): Kill.Jan Hubicka1-0/+4
From-SVN: r40130
2001-02-28Undo the accidental checkin :(Jan Hubicka2-39/+0
From-SVN: r40129
2001-02-28toplev.c (rest_of_compilation): Do post-reload splitting unconditionally for ↵Jan Hubicka1-0/+5
STACK_REGS * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally for STACK_REGS From-SVN: r40128
2001-02-28i386.md (sse_andti3, [...]): Add SSE2 versions; add missing '%' in constraints.Jan Hubicka6-37/+205
* i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions; add missing '%' in constraints. From-SVN: r40127
2001-02-28objc-features.texi: Document the @compatibility_alias compiler directive ↵Ovidiu Predescu1-0/+5
(description from Nicola... 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com> * objc-features.texi: Document the @compatibility_alias compiler directive (description from Nicola Pero <n.pero@mi.flashnet.it>). From-SVN: r40126
2001-02-28Document the @compatibility_alias compiler directive (description fromOvidiu Predescu1-2/+32
Nicola Pero <n.pero@mi.flashnet.it>). From-SVN: r40125
2001-02-28bycopy-3.m: Added new test from Nicola Pero.Ovidiu Predescu1-0/+6
2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com> * objc/execute/bycopy-3.m: Added new test from Nicola Pero. * objc/execute/protocol.m (main): Added patch from Nicola Pero. From-SVN: r40124
2001-02-28Added new test from Nicola Pero.Ovidiu Predescu1-0/+69
From-SVN: r40123
2001-02-28Added.Ovidiu Predescu1-0/+5
From-SVN: r40122
2001-02-28c-common.c (build_common_tree_nodes): Build intTI_type_nodes for ↵Jan Hubicka2-4/+5
HOST_BITS_PER_WIDE_INT == 32 too. * c-common.c (build_common_tree_nodes): Build intTI_type_nodes for HOST_BITS_PER_WIDE_INT == 32 too. From-SVN: r40121
2001-02-28caller-save.c (reg_save_code, [...]): Index by mode, not NREGS.Jan Hubicka5-43/+123
* caller-save.c (reg_save_code, reg_restore_code): Index by mode, not NREGS. (insert_save, insert_restore): New parameter save_mode. (init_caller_save): Update initialization of reg_save_code and reg_restore_code. (save_call_clobbered_regs): Compute save_modes and update calls to reg_save_code and reg_restore_code. (insert_restore): Unsignetize numbers; use save_modes to choose mode of spill; update use of reg_restore_code. (insert_save): Likewise. * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update. * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update. * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise. From-SVN: r40120
2001-02-28ifcvt.c (noce_emit_store_flag, [...]): Use reversed_comparison_code instead ↵Jan Hubicka2-15/+24
of reverse_comparison and... * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants, noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove_arith): Use reversed_comparison_code instead of reverse_comparison and can_reverse_comparison_p. From-SVN: r40119
2001-02-28jump.c (reversed_comparison_code_parts): Allow reversal of unordered ↵Jan Hubicka2-1/+17
compares in -ffast-math mode... * jump.c (reversed_comparison_code_parts): Allow reversal of unordered compares in -ffast-math mode; reverse ordered compares for FP even w/o -ffast-math. From-SVN: r40118
2001-02-28Remove floating point and complex type template constant parms.Nathan Sidwell4-40/+12
cp: Remove floating point and complex type template constant parms. * pt.c (convert_nontype_argument): Remove REAL_TYPE and COMPLEX_TYPE extensions. (invalid_nontype_parm_type_p): Likewise. testuite: * g++.old-deja/g++.ext/realpt1.C: Remove. From-SVN: r40117
2001-02-28Daily bump.GCC Administrator5-5/+5
From-SVN: r40113
2001-02-27print-rtl.c (print_rtx): Don't print field five on NOTEs other than ↵Richard Henderson2-36/+50
NOTE_INSN_DELETED_LABEL. * print-rtl.c (print_rtx) [i]: Don't print field five on NOTEs other than NOTE_INSN_DELETED_LABEL. From-SVN: r40110
2001-02-28basic_file.h: Include basic_file_model.h.Benjamin Kosnik2-716/+0
2001-02-27 Benjamin Kosnik <bkoz@redhat.com> libstdc++/1886 * include/bits/basic_file.h: Include basic_file_model.h. * config/c_io_libio.cc: Move to... * config/basic_file_libio.cc: Here. * config/basic_file_libio.h: New file. * config/c_io_stdio.cc: Move to... * config/basic_file_stdio.cc: Here. * config/basic_file_stdio.h: New file. * config/c_io_libio.h: Tweak. * config/c_io_stdio.h: Tweak. * src/Makefile.am (build_headers): Add basic_file_model.h. (sources): Add basic_file.cc, remove c++io.cc. * src/Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for basic_file_model.h and basic_file.cc. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/27_io/filebuf.cc (test05): Add regression. From-SVN: r40109
2001-02-28basic_file.h: Include basic_file_model.h.Benjamin Kosnik18-1145/+1774
2001-02-27 Benjamin Kosnik <bkoz@redhat.com> libstdc++/1886 * include/bits/basic_file.h: Include basic_file_model.h. * config/c_io_libio.cc: Move to... * config/basic_file_libio.cc: Here. * config/basic_file_libio.h: New file. * config/c_io_stdio.cc: Move to... * config/basic_file_stdio.cc: Here. * config/basic_file_stdio.h: New file. * config/c_io_libio.h: Tweak. * config/c_io_stdio.h: Tweak. * src/Makefile.am (build_headers): Add basic_file_model.h. (sources): Add basic_file.cc, remove c++io.cc. * src/Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for basic_file_model.h and basic_file.cc. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/27_io/filebuf.cc (test05): Add regression. From-SVN: r40108
2001-02-28xm-iris4.h: Delete #if 0 block (there since before 1997).Zack Weinberg5-17/+5
* mips/xm-iris4.h: Delete #if 0 block (there since before 1997). * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno. From-SVN: r40107
2001-02-27c-common.c (walk_stmt_tree): Visit the chain of the current tree even if ↵Diego Novillo3-17/+21
walk_subtrees is 0. 2001-02-27 Diego Novillo <dnovillo@redhat.com> * c-common.c (walk_stmt_tree): Visit the chain of the current tree even if walk_subtrees is 0. * c-semantics.c (prune_unused_decls): Return a non-null value to stop traversing the tree chain. From-SVN: r40106
2001-02-27m68k.c (output_function_prologue): Save the new CFA register, *then* define ↵DJ Delorie2-1/+6
it as the new CFA. * config/m68k/m68k.c (output_function_prologue): Save the new CFA register, *then* define it as the new CFA. From-SVN: r40104
2001-02-28Correct license.Benjamin Kosnik12-186/+311
2001-02-27 Benjamin Kosnik <bkoz@redhat.com> Correct license. * config/cpu/alpha/bits/atomicity.h: Change. * config/cpu/arm/bits/atomicity.h * config/cpu/generic/bits/atomicity.h * config/cpu/i386/bits/atomicity.h * config/cpu/i486/bits/atomicity.h * config/cpu/ia64/bits/atomicity.h * config/cpu/powerpc/bits/atomicity.h * config/cpu/sparc/sparc32/bits/atomicity.h * config/cpu/sparc/sparc64/bits/atomicity.h * config/os/aix/bits/atomicity.h * config/os/irix/bits/atomicity.h From-SVN: r40103
2001-02-27pa.c (override_options): Promote -fpic to -fPIC.Jeffrey A Law4-45/+28
* pa.c (override_options): Promote -fpic to -fPIC. (legitimize_pic_address): Simplify due to removal of small PIC as a code generation option. (secondary_reload_class): Similarly. * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly. (PRINT_OPERAND_ADDRESS): Similarly. * pa.md (various patterns): Similarly. (small pic lo_sum pattern): Remove. From-SVN: r40101
2001-02-27std_stdexcept.h (runtime_error): Make string member non-const.Benjamin Kosnik3-4/+44
2001-02-27 Benjamin Kosnik <bkoz@redhat.com> * include/bits/std_stdexcept.h (runtime_error): Make string member non-const. (logic_error): Same. * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test. (test03): Fix. From-SVN: r40098
2001-02-27except.c (call_eh_info): Revert "match_function"'s type.Jeffrey Oldham2-2/+6
2001-02-27 Jeffrey Oldham <oldham@codesourcery.com> * except.c (call_eh_info): Revert "match_function"'s type. From-SVN: r40097