summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* alias.c, [...]: Update copyright.Kazu Hirata2004-01-2179-78/+102
| | | | | | | | | | | | | | | | | | | | | * alias.c, basic-block.h, c-common.c, c-common.h, c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c, calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c, combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c, cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h, defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c, expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c, genautomata.c, genconditions.c, genemit.c, genflags.c, gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c, ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c, langhooks-def.h, langhooks.c, langhooks.h, line-map.c, line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c, ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c, rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h, target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h, unwind.h, varray.c, varray.h: Update copyright. From-SVN: r76302
* Add self to MAINTAINERS.Caroline Tice2004-01-212-0/+5
| | | | From-SVN: r76301
* coff.h: Update copyright.Kazu Hirata2004-01-217-6/+15
| | | | | | | | | | | * config/h8300/coff.h: Update copyright. * config/h8300/elf.h: Likewise. * config/h8300/h8300-protos.h: Likewise. * config/h8300/h8300.c: Likewise. * config/h8300/h8300.h: Likewise. * config/h8300/h8300.md: Likewise. From-SVN: r76300
* GtkFramePeer.java (postConfigureEvent): Fix comments.Kim Ho2004-01-213-8/+20
| | | | | | | | | | | | | | 2004-01-21 Kim Ho <kho@redhat.com> * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent): Fix comments. (removeMenuBarPeer): Make package private. (setMenuBarPeer): Make package private. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (menubar_resize_cb): Mark attributes unused. (getMenuBarHeight): ditto. From-SVN: r76299
* inclhack.def (hpux10_stdio_declarations, [...]): New hacks.John David Anglin2004-01-219-5/+615
| | | | | | | | | | | | | | | | * fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3, ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time, ultrix_unistd): New hacks. * fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK, ULTRIX_CONST2_CHECK): Add checks. * fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise. * fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise. * fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise. * fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise. * fixinc/tests/base/locale.h: New file. * fixinc/fixincl.x: Rebuilt. From-SVN: r76298
* * crontab: Make 3.4 snapshots from the new 3.4 release branch.Gerald Pfeifer2004-01-212-1/+5
| | | | From-SVN: r76295
* extend.texi (Extended Asm): Clarify memory clobber.Andreas Jaeger2004-01-212-6/+33
| | | | | | | | | | | 2004-01-21 Andreas Jaeger <aj@suse.de> Michael Matz <matz@suse.de> * doc/extend.texi (Extended Asm): Clarify memory clobber. Co-Authored-By: Michael Matz <matz@suse.de> From-SVN: r76288
* crtstuff.c (frame_dummy, [...]): Call _Jv_RegisterClasses through a function ↵Jakub Jelinek2004-01-212-4/+19
| | | | | | | | | pointer. * crtstuff.c (frame_dummy, __do_global_ctors_1): Call _Jv_RegisterClasses through a function pointer. From-SVN: r76287
* re PR target/12898 (Tru64 UNIX bootstrap failure: ICE in gen_reg_rtx, at ↵Falk Hueffner2004-01-214-1/+60
| | | | | | | | | | | | | emit-rtl.c:819) PR target/12898 * config/alpha/alpha.c (alpha_emit_set_const_1): If no_new_pseudos, use gen_rtx_SET directly for SImode constants which need multiple instructions to emit. * testsuite/gcc.c-torture/compile/20040121-1.c: New test. From-SVN: r76283
* basic_string.tcc (append(const basic_string&)): Revert previous change.Paolo Carlini2004-01-212-7/+28
| | | | | | | | | | | 2004-01-21 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (append(const basic_string&)): Revert previous change. (append(const basic_string&, size_type, size_type)): Revert previous change, use _M_check and _M_limit. From-SVN: r76282
* 2004-01-21 David Jee <djee@redhat.com>David Jee2004-01-212-1/+18
| | | | | | | | | * java/awt/Container.java (LightweightDispatcher.handleEvent): Add an extra check to avoid dispatching MOUSE_ENTERED event twice. Translate the point for the mouse event target before dispatching the event. From-SVN: r76278
* * config/m32r/m32r.h (CPP_SPEC): Define.Inaoka Kazuhiro2004-01-212-0/+6
| | | | From-SVN: r76275
* basic_string.h (_M_check): Change to return a checked __pos and take an ↵Paolo Carlini2004-01-213-115/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | additional const char* argument. 2004-01-21 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.h (_M_check): Change to return a checked __pos and take an additional const char* argument. (_M_fold): Rename to _M_limit, change to return a size_type, corresponding to the __off limited to the actual length. (insert(size_type, size_type, _CharT)): Update call, call replace. (insert(iterator, _CharT)): Call replace(iterator, iterator, size_type, _CharT) instead. (erase(size_type, size_type)): Update calls. (replace(size_type, size_type, size_type, _CharT)): Ditto. (substr(size_type, size_type)): Use _M_check. * include/bits/basic_string.tcc (basic_string(const basic_string&, size_type, size_type)): Update calls. (basic_string(const basic_string&, size_type, size_type, const _Alloc&)): Ditto. (assign(const basic_string&, size_type, size_type)): Use the new _M_check and _M_limit. (insert(size_type, const basic_string&, size_type, size_type): Ditto. (insert(size_type, const _CharT*, size_type)): Ditto. (replace(size_type, size_type, const _CharT*, size_type): Ditto. (replace(size_type, size_type, const basic_string&, size_type, size_type)): Ditto. (append(const basic_string&)): Ditto. (append(const basic_string&, size_type, size_type)): Ditto. (copy(_CharT*, size_type, size_type)): Ditto. (compare(size_type, size_type, const basic_string&)): Ditto. (compare(size_type, size_type, const basic_string&,size_type, size_type)): Ditto. (compare(size_type, size_type, const _CharT*)): Ditto. (compare(size_type, size_type, const _CharT*, size_type)): Ditto. From-SVN: r76274
* [multiple changes]Arnaud Charlet2004-01-2112-114/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-21 Javier Miranda <miranda@gnat.com> * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master entity if already built in the current scope. * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity reminder in internal scopes. Required for nested limited aggregates. 2004-01-21 Doug Rupp <rupp@gnat.com> * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on VMS. Replace all occurences of libgnat- and libgnarl- with libgnat$(hyphen) and libgnarl$(hyphen). Fixed shared library build problem on VMS. 2004-01-21 Robert Dewar <dewar@gnat.com> * mlib-prj.adb: Minor reformatting 2004-01-21 Thomas Quinot <quinot@act-europe.fr> * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing 'constant' keywords for declaration of pointers that are not modified. * exp_pakd.adb: Fix English in comment. 2004-01-21 Ed Schonberg <schonberg@gnat.com> PR ada/10889 * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype, copy all attributes of the parent, including the foreign language convention. 2004-01-21 Sergey Rybin <rybin@act-europe.fr> PR ada/10565 * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check for 'delay until' statement. From-SVN: r76271
* c-decl.c (merge_decls): Kill different_binding_level and different_tu ↵Zack Weinberg2004-01-214-105/+59
| | | | | | | | | | | | | | arguments; simplify throughout. * c-decl.c (merge_decls): Kill different_binding_level and different_tu arguments; simplify throughout. (duplicate_decls): Likewise. (pushdecl, merge_translation_unit_decls): Update calls to duplicate_decls. testsuite: * gcc.dg/noncompile/20020213-1.c: Add another dg-warning line. From-SVN: r76269
* * parser.c (cp_parser_class_specifier): Prevent garbage collection.Zdenek Dvorak2004-01-212-0/+8
| | | | From-SVN: r76264
* ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead of the LHS.Michael Ritzert2004-01-212-9/+14
| | | | | | | | | 2004-01-21 Michael Ritzert <ritzert@t-online.de> * ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead of the LHS. From-SVN: r76261
* Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and $(SYSTEM_H).Kaveh R. Ghazi2004-01-212-3/+9
| | | | | | | | * Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and $(SYSTEM_H). (print-rtl1.o): Depend on $(SYSTEM_H). From-SVN: r76253
* re PR other/12730 (manual page install broken with old Pod::man)Kelley Cook2004-01-2116-230/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> PR bootstrap/12730 * configure.ac: Delete definition and subsitution of docdir. Add info, man, srcman and srcinfo to target hooks. Create doc/ directory. * configure: Regenerate. * Makefile.in: Don't substitute docdir and delete all references throughout. (MAKEINFOFLAGS): Define. (stmp-docobjdir): Delete. (INFOFILES, MANFILES): Define. (info): Call lang.info, srcinfo and lang.srcinfo. (generated-manpages): Call lang.man, srcman and lang.srcman. (srcinfo, srcman): New rules to copy back files to source directory. (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule. (install-man): Revamp rule. (clean): Update dvi directory. (distclean): Delete TAGS from front end directorys. (maintainer-clean): Delete all document files in source directory. objc/Make-lang.in (objc.man, objc.info): Dummy entries. (objc.srcman, objc.srcinfo): Likewise. gcc/ada/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update to use consistent MAKEINFO rule. (ada.man, ada.srcman): Dummy entry. (ADA_INFOFILES): Define. (ada.info, ada.srcinfo): New rules. gcc/cp/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (c++.info, c++.srcinfo): Dummy entry. (c++.man, c++.srcman): New rules. (c++.install-man): Revamp rule. gcc/f/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (TEXI_G77_FILES): Define. (f77.rebuilt): Delete. (f77.srcextra): Add dependencies on f/BUGS and f/NEWS. (f77.srcman, f77.srcinfo, f77.man, f77.info): New rules. (doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in doc directory. Use $(MAKEINFOFLAGS). (info, dvi, generated_manpages): Update to look in doc directory. (f/BUGS, f/NEWS): Generate in build directory. (f77.mostlyclean): Delete BUGS and NEWS from build directory. (f77.maintainer-clean): Adjust to delete from source directory. (f77.install-man): Revamp rule. gcc/java/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (java.info, java.srcinfo, java.man, java.srcman): New rules. (java.install-man): Revamp rule. gcc/treelang/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (treelang.info, treelang.srcinfo): New rules. (treelang.man, treelang.man): Dummy entries. maintainer-scripts/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * gcc_release (build_sources): Delete call to make f77.rebuilt. From-SVN: r76249
* reorder struct exception hacks and only bypass glibc for proper C++ handlingBruce Korb2004-01-211-11/+11
| | | | From-SVN: r76246
* Daily bump.GCC Administrator2004-01-212-2/+2
| | | | From-SVN: r76243
* reorder struct exception hacks and only bypass glibc for proper C++ handlingBruce Korb2004-01-203-76/+88
| | | | From-SVN: r76240
* fold-const.c (fold_convert): Rename to fold_convert_const.Roger Sayle2004-01-202-33/+55
| | | | | | | | | | | | | * fold-const.c (fold_convert): Rename to fold_convert_const. (fold_convert_const): Change arguments to take a tree_code, a type and the operand/expression to be converted. Return NULL_TREE if no simplification is possible. Add support for FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR. (fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR. Adjust call to fold_convert to match new fold_convert_const. Avoid modifying the tree passed to fold in-place. From-SVN: r76237
* sysv4.h (DWARF2_FRAME_REG_OUT): Define.Alan Modra2004-01-214-19/+65
| | | | | | | | * config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define. * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT. * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document. From-SVN: r76235
* pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.John David Anglin2004-01-204-74/+219
| | | | | | | | | | | | | | | | | | | | | * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes. * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d): Likewise. Handle frames larger than 0x7fffffff on 64-bit ports. (emit_move_sequence): Check scratch_reg first in various if statements. Extend source simplification to handle all 64-bit CONST_INTs. (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing frame size. (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for frame offset calculations. * pa.h (NEW_HP_ASSEMBLER): Add comment. (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT, LEGITIMATE_64BIT_CONST_INT_P): Define. (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P. Treat any CONST_INT as legitimate during and after reload. (VAL_32_BITS_P, INT_32_BITS): Define. (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets. From-SVN: r76234
* emit-rtl.c (verify_rtx_sharing, [...]): Clobbers containing hard regs are ↵Jan Hubicka2004-01-205-1/+48
| | | | | | | | | | | | | | | shared. * emit-rtl.c (verify_rtx_sharing, copy_insn_1, emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers containing hard regs are shared. (gen_hard_reg_clobber): New function. (hard_reg_clobbers): New array. * genemit.c (gen_exp): Use gen_hard_reg_clobber. (copy_rtx): Do not copy clobbers containing hard regs. * rtl.h (gen_hard_reg_clobber): Declare. From-SVN: r76233
* varray.c: Include hashtab.hJan Hubicka2004-01-205-2/+134
| | | | | | | | | | | | | | * varray.c: Include hashtab.h (varray_descriptor): New structure. (hash_descriptor, eq_descriptor, varray_descriptor, print_statistics): New static functions (varray_init, varray_grow): Update statistics (dump_varray_statistics): New function. * varray.h (dump_varray_statistics): Declare. * toplev.c (finalize): Call it. * Makefile.in (varray.o): Add dependency. From-SVN: r76232
* Makefile.am (lib_org_w3c_dom_la_LIBADD, [...]): New.Jakub Jelinek2004-01-203-4/+27
| | | | | | | | | * Makefile.am (lib_org_w3c_dom_la_LIBADD, lib_org_w3c_dom_la_LDFLAGS): New. (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New. * Makefile.in: Rebuilt. From-SVN: r76231
* GtkComponentPeer.java (setBounds): Calculate proper offsets for heavyweight ↵Thomas Fitzsimmons2004-01-202-2/+33
| | | | | | | | | | | | components packed in lightweight... 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds): Calculate proper offsets for heavyweight components packed in lightweight containers. From-SVN: r76230
* GtkTextFieldPeer.java, [...] (native create): Add width parameter.Thomas Fitzsimmons2004-01-203-49/+144
| | | | | | | | | | | | | | | | | | | | | 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c (native create): Add width parameter. (create): Calculate text entry width based on current font's metrics and number of columns. Set TextField's font if not already set. Call native create. (gtkEntryGetBorderWidth): New native method. (gtkEntryGetSize): Remove method. (getMinimumSize): Call minimumSize. (getPreferredSize): Call preferredSize. (minimumSize): Calculate minimum size based on backing GtkEntry's borders, font metrics and number of columns. (preferredSize): Likewise for preferred size. (get_border_width): New static function. From-SVN: r76228
* GtkFramePeer.java (setResizable): Override GtkWindowPeer's setResizable ↵Thomas Fitzsimmons2004-01-202-0/+18
| | | | | | | | | | | | method to account for menu bar height when... 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable): Override GtkWindowPeer's setResizable method to account for menu bar height when setting the frame's size. From-SVN: r76227
* cselib.c: Include alloc-pool.hJan Hubicka2004-01-203-34/+39
| | | | | | | | | | | | | | * cselib.c: Include alloc-pool.h (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill. (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare. (new_elt_list, new_elt_loc_list, unchain_one_elt_list, unchain_one_elt_loc_list_pool, unchain_one_value, new_cselib_val): Simplify using allocpool. (cselib_init): Initialize allocpools. (cselib_finish): Finish allocpools. * Makefile.in (cselib.o): Depend on alloc-pool.h From-SVN: r76226
* mips.c (mips_load_call_address): Make the call insn use $gp if it could be ↵Richard Sandiford2004-01-202-12/+26
| | | | | | | | | calling a lazy binding stub. * config/mips/mips.c (mips_load_call_address): Make the call insn use $gp if it could be calling a lazy binding stub. From-SVN: r76224
* s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.Kazu Hirata2004-01-203-5/+17
| | | | | | | | | | | * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define. (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. (TARGET_STRUCT_VALUE_RTX): Likewise. * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove. (PROMOTE_FUNCTION_RETURN): Remove. (STRUCT_VALUE): Remove. From-SVN: r76220
* avr.h (BASE_REG_CLASS): Don't permit to use X register as pointer after reload.Denis Chertykov2004-01-202-2/+8
| | | | | | | * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X register as pointer after reload. From-SVN: r76216
* fix commentJason Merrill2004-01-201-1/+1
| | | | From-SVN: r76215
* re PR rtl-optimization/12440 (gcc 3.3.1 on i386 linux 2.4.22 crashes during ↵Zdenek Dvorak2004-01-203-2/+13
| | | | | | | | | | | compilation of quicktime4linux 2.0.0) PR optimization/12440 * loop.c: Include ggc.h. (loop_optimize): Run garbage collector between optimization of loops. * Makefile.in (loop.o): Add GGC_H dependency. From-SVN: r76213
* * gcc.dg/ppc64-abi-2.c: New test.Hartmut Penner2004-01-202-0/+409
| | | | From-SVN: r76212
* * gcc/config/rs6000/rs6000.c (function_arg) HandleHartmut Penner2004-01-202-5/+39
| | | | | | | | vector register special in function without prototype. (function_arg_advance): Vector parameters get always GPRs allocated for the linux64 target. From-SVN: r76211
* gcconfig.h (USE_MMAP): Define for all Linux.Andrew Haley2004-01-203-2/+9
| | | | | | | | | | 2004-01-20 Andrew Haley <aph@redhat.com> * include/private/gcconfig.h (USE_MMAP): Define for all Linux. * configure.in: Comment change. From-SVN: r76210
* It's 2004 not 2004Steven Bosscher2004-01-201-1/+1
| | | | From-SVN: r76206
* (TARGET_M32R2). Test for TARGET_M32R2_MASK not TARGET_M32RX_MASK.Kazuhiro Inaoka2004-01-202-1/+6
| | | | From-SVN: r76204
* re PR target/13557 (deviation from the psABI for small structures)Eric Botcazou2004-01-202-23/+28
| | | | | | | PR target/13557 * config/sparc/sparc.c (function_arg): Reorder the cases. From-SVN: r76202
* Fix patch oops.Per Bothner2004-01-191-1/+1
| | | | From-SVN: r76201
* mt_allocator.h: If a thread...Stefan Olsson2004-01-202-80/+31
| | | | | | | | | | | | 2004-01-19 Stefan Olsson <stefan@snon.net> * include/ext/mt_allocator.h: If a thread, when it dies, still has memory on it's freelist this memory is not returned to global list. Simplification of deallocate so that memory is always returned to the calling thread id's freelist instead of to global. Fix typos. Add volatile where appropriate. From-SVN: r76200
* Move cpp_reader's line_maps field to a shared global.Per Bothner2004-01-1912-21/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | * cpphash.h (cpp_reader): Rename line_maps field to line_table and change the type to a pointer rather than a struct. * cppinit.c (cpp_push_main_field): Adjust accordingly. * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks): Likewise. * cppfiles.c (validate_pch): Likewise. * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text): Likewise. * cpperror.c (print_location): Likewise. * cpplib.h (cpp_create_reader): New line_maps pointer parameter. * cppinit.c (cpp_create_reader): Handle new parameter. (cpp_destroy): Don't free line_maps - that's no longer our job. * input.h (line_table): New variable. * toplev.c (line_table): Declare variable. (general_init): Initialize line_table. * c-opts.c (c_common_init_options): Pass line_table to cpp_create_reader. * fix-header.c (read_scan_file): New local variable line_table. Initialize, and pass it to cpp_create_reader. * Makefile.in (LIBS, LIBDEPS): Add libcpp.a. (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a. From-SVN: r76198
* Implement a cache for linemap_lookup.Per Bothner2004-01-193-7/+33
| | | | | | | | | * line-map.h (struct_line_maps): Add cache field. * line-map.c (linemap_init): Zero cache field. (linemap_add): Set cache field to offset of newly allocated map. (linemap_lookup): Use and set cache field. From-SVN: r76197
* re PR rtl-optimization/13567 ([sh] miscompiling calls.c)Kaz Kojima2004-01-202-2/+24
| | | | | | | | PR optimization/13567 * cse.c (cse_basic_block): Call cse_insn with a non-null libcall_insn for the last SET insn of a no-confilict block. From-SVN: r76195
* treelang.exp: Fill out this file.James A. Morrison2004-01-206-1/+353
| | | | | | | | | | | | | | | | 2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca> * lib/treelang.exp: Fill out this file. * lib/treelang-dg.exp: New File. treelang: 2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca> * compile/compile.exp: New File. * compile/tabs.tree: Test whether the front end compiles code with tabs in it. From-SVN: r76194
* Makefile.in (target_noncanonical, [...]): Use immediate define instead of ↵Kelley Cook2004-01-208-17/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deferred. gcc/ 2004-01-16 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (target_noncanonical, program_transform_name): Use immediate define instead of deferred. (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME, PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME, GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of deferred backquote. gcc/cp 2004-01-16 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME, CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a immediate $(shell) instead of deferred backquote. gcc/f 2004-01-16 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (G77_INSTALL_NAME): Define via a immediate $(shell) instead of deferred backquote. gcc/java 2004-01-16 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME, GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell) instead of deferred backquote. From-SVN: r76193