aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-11-24genattrtab.c (simplify_cond): Update indices correctly.Zdenek Dvorak3-38/+327
* genattrtab.c (simplify_cond): Update indices correctly. (attr_alt_subset_p, attr_alt_subset_of_compl_p, attr_alt_intersection, attr_alt_union, attr_alt_complement, attr_alt_bit_p, mk_attr_alt): New. (check_attr_test, encode_units_mask, compute_alternative_mask, make_alternative_compare, simplify_and_tree, attr_rtx_cost, simplify_test_exp, gen_attr, write_test_expr, walk_attr_value): Handle EQ_ATTR_ALT. * rtl.def (EQ_ATTR_ALT): New. From-SVN: r73873
2003-11-24fold-const.c (fold): Do not return early when optimizing COMPONENT_REF and ↵Jan Hubicka1-1/+2
constant. * fold-const.c (fold): Do not return early when optimizing COMPONENT_REF and constant. From-SVN: r73870
2003-11-24genattrtab.c (strcmp_check, [...]): New macros.Zdenek Dvorak2-46/+118
* genattrtab.c (strcmp_check, DEF_ATTR_STRING): New macros. (length_str, delay_type_str, delay_1_0_str, num_delay_slots_str): New variables. (main): Initialize them. (find_attr): Canonicalize the attribute name string. (attr_rtx_1, copy_boolean, expand_delays, gen_unit): Always canonicalize string arguments. (attr_printf, attr_eq): Use DEF_ATTR_STRING. (check_attr_test, check_attr_value, make_length_attrs, write_length_unit_log, simplify_by_exploding, gen_attr, write_test_expr, write_attr_value, write_eligible_delay, write_complex_function, make_internal_attr, write_const_num_delay_slots): Changed due to change of type of find_attr. (fill_attr, evaluate_eq_attr, simplify_and_tree, attr_rtx_cost, simplify_by_exploding, walk_attr_value): Use strcmp_check. From-SVN: r73869
2003-11-24Daily bump.GCC Administrator2-2/+2
From-SVN: r73866
2003-11-23I forgot to mention the PR number.Kazu Hirata1-0/+1
From-SVN: r73863
2003-11-23h8300.c (push): Call push_h8300hs_normal in normal mode.Kazu Hirata3-5/+60
* config/h8300/h8300.c (push): Call push_h8300hs_normal in normal mode. (pop): Call pop_h8300hs_normal in normal mode. * config/h8300/h8300.md: Likewise. (pushqi1_h8300hs_normal): New. (pushqi1): Call pushqi1_h8300hs_normal in normal mode. (pushhi1_h8300hs_normal): New. (pushhi1): Call pushhi1_h8300hs_normal in normal mode. (push_h8300hs_normal): New. (pop_h8300hs_normal): Likewise. From-SVN: r73862
2003-11-23* genattrtab.c (count_sub_rtxs): Removed.Zdenek Dvorak2-60/+4
From-SVN: r73860
2003-11-23recog.c (preprocess_constraints): Only zero those elements of recog_op_alt ↵Richard Earnshaw3-1/+14
that are needed for this insn. * recog.c (preprocess_constraints): Only zero those elements of recog_op_alt that are needed for this insn. * arm.c (note_invalid_constants): A function can't contain invalid constants if it has no constraints. From-SVN: r73855
2003-11-23locale_facets.tcc (__add_grouping): Cosmetic reformatting.Paolo Carlini2-14/+19
2003-11-23 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (__add_grouping): Cosmetic reformatting. From-SVN: r73854
2003-11-23locale_facets.tcc (_M_extract_float, [...]): Remove a wrong comment and ↵Paolo Carlini2-4/+8
simplify the corresponding code using... 2003-11-23 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (_M_extract_float, _M_extract_int): Remove a wrong comment and simplify the corresponding code using char_traits::find(). From-SVN: r73853
2003-11-23re PR c++/12924 (ICE in lookup_member, at cp/search.c:1228)Kriang Lerdsuwanakij4-0/+38
PR c++/12924 * typeck.c (finish_class_member_access_expr): Handle TEMPLATE_ID_EXPR with OVERLOAD and DECL nodes as the first operand. * g++.dg/template/template-id-2.C: New test. From-SVN: r73851
2003-11-23* gnu/java/net/natPlainDatagramSocketImplWin32.ccMichael Koch2-5/+14
(peekData): Use offset and maximal free space in datagram packet. (receive): Likewise. (send): Use offset in datagram packet. From-SVN: r73848
2003-11-23Daily bump.GCC Administrator2-2/+2
From-SVN: r73846
2003-11-222003-11-22 Paolo Carlini <pcarlini@suse.de>Paolo Carlini2-4/+7
* config/locale/gnu/monetary_members.cc (money_base::_S_construct_pattern): Factor out two assignments. From-SVN: r73844
2003-11-222003-11-22 Michael Koch <konqueror@gmx.de>Michael Koch2-5/+14
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData): Use offset and maximal free space in datagram packet. (receive): Likewise. (send): Use offset in datagram packet. From-SVN: r73843
2003-11-22i386.c (classify_argument): Pass __float128 in memory.Jan Hubicka2-17/+9
* i386.c (classify_argument): Pass __float128 in memory. (ix86_return_in_memory): Likewise. (ix86_libcall_value): Likewsie. From-SVN: r73842
2003-11-22* config/h8300/h8300.c (dosize): Convert to ISO-C.Kazu Hirata2-3/+5
From-SVN: r73841
2003-11-222003-11-22 Michael Koch <konqueror@gmx.de>Michael Koch5-7/+21
* gnu/java/nio/DatagramChannelImpl.java (getNativeFD): Use getPlainDatagramSocketImpl(). * gnu/java/nio/NIODatagramSocket.java (getPlainDatagramSocketImpl): Renamed from getImpl(). * gnu/java/nio/NIOSocket.java (getPlainSocketImpl): Renamed from getImpl(). (setChannel): Use getPlainSocketImpl(). * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Use getPlainSocketImpl(). (getPlainSocketImpl): Renamed from getImpl(). (getNativeFD): Use getPlainSocketImpl(). From-SVN: r73840
2003-11-22flow.c (update_life_info): Amend comment about when a register can become dead.J"orn Rennecke2-0/+8
* flow.c (update_life_info): Amend comment about when a register can become dead. From-SVN: r73838
2003-11-22Makefile.in: Rebuilt.Andreas Tobler4-113/+248
2003-11-22 Andreas Tobler <a.tobler@schweiz.ch> * Makefile.in: Rebuilt. * configure: Likewise. * testsuite/libffi.special/unwindtest.cc: Convert the mmap to the right type. From-SVN: r73837
2003-11-22istream.tcc (getline(basic_string<>&)): Fix error in comment of the previous ↵Paolo Carlini2-1/+6
commit. 2003-11-22 Paolo Carlini <pcarlini@suse.de> * include/bits/istream.tcc (getline(basic_string<>&)): Fix error in comment of the previous commit. From-SVN: r73836
2003-11-22re PR libstdc++/12593 (Resolution of DR 91 (WP) still unimplemented)Paolo Carlini3-37/+81
2003-11-22 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12593 * include/bits/istream.tcc (operator>>(basic_string<>&), getline(basic_string<>&)): Implement resolution of DR 91 [WP]; fix some minor issues with the exit conditions. * docs/html/ext/howto.html: Add an entry for DR 91. From-SVN: r73835
2003-11-22* pt.c (tsubst) <ARRAY_REF>: Remove erroneous argument to build_nt.Kriang Lerdsuwanakij2-1/+5
From-SVN: r73834
2003-11-22re PR c++/5369 (template member friend declaration not honored)Kriang Lerdsuwanakij16-46/+692
PR c++/5369 * friend.c (is_friend): Handle member function of a class template as template friend. (do_friend): Likewise. * decl2.c (check_classfn): Add template_header_p parameter. * decl.c (start_decl): Adjust check_classfn call. (grokfndecl): Likewise. * pt.c (is_specialization_of_friend): New function. (uses_template_parms_level): Likewise. (push_template_decl_real): Use uses_template_parms_level. (tsubst_friend_function): Adjust check_classfn call. * cp-tree.h (check_classfn): Adjust declaration. (uses_template_parms_level): Add declaration. (is_specialization_of_friend): Likewise. * g++.dg/template/memfriend1.C: New test. * g++.dg/template/memfriend2.C: Likewise. * g++.dg/template/memfriend3.C: Likewise. * g++.dg/template/memfriend4.C: Likewise. * g++.dg/template/memfriend5.C: Likewise. * g++.dg/template/memfriend6.C: Likewise. * g++.dg/template/memfriend7.C: Likewise. * g++.dg/template/memfriend8.C: Likewise. * g++.old-deja/g++.pt/friend44.C: Remove a bogus error. From-SVN: r73833
2003-11-22Daily bump.GCC Administrator2-2/+2
From-SVN: r73827
2003-11-22JLayeredPane.java: Implement.Graydon Hoare4-8/+346
2003-11-18 Graydon Hoare <graydon@redhat.com> * javax/swing/JLayeredPane.java: Implement. * javax/swing/JFrame.java (getContentPane): Make public * javax/swing/javax/swing/JRootPane.java (setContentPane): Use JLayeredPane.FRAME_CONTENT_LAYER. From-SVN: r73825
2003-11-21Remove some .cvsignore files due to doc files now being built in build directoryKelley Cook10-24/+21
From-SVN: r73824
2003-11-21re PR c++/12515 (Use of ?: operator in templated class causes ICE)Mark Mitchell4-1/+18
PR c++/12515 * pt.c (build_non_dependent_expr): Handle GNU extension to ?: operator. PR c++/12515 * g++.dg/ext/cond1.C: New test. From-SVN: r73820
2003-11-21cp-demangle.c (has_return_type): Skip qualifiers when checking whether we ↵Ian Lance Taylor3-0/+32
have a template. * cp-demangle.c (has_return_type): Skip qualifiers when checking whether we have a template. * testsuite/demangle-expected: Add four new tests. From-SVN: r73819
2003-11-21dwarf2out.c (add_location_or_const_value_attribute): Add support for PARALLEL.Daniel Berlin2-0/+33
2003-11-21 Daniel Berlin <dberlin@dberlin.org> David Edelsohn <edelsohn@gnu.org> * dwarf2out.c (add_location_or_const_value_attribute): Add support for PARALLEL. Co-Authored-By: David Edelsohn <edelsohn@gnu.org> From-SVN: r73817
2003-11-212003-11-21 Paolo Carlini <pcarlini@suse.de>Paolo Carlini2-2/+6
* config/locale/gnu/monetary_members.cc (money_base::_S_construct_pattern): Factor out an assignment. From-SVN: r73816
2003-11-21PR libstdc++/12882 (partial)Paolo Carlini5-8/+33
2003-11-21 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12882 (partial) * acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64 and ftello64 too. * include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64 and ftello64 if available. * aclocal.m4: Regenerate. * configure: Ditto. From-SVN: r73815
2003-11-21demangle-expected: Minor changes to match output of new demangler...Ian Lance Taylor2-5/+9
* testsuite/demangle-expected: Minor changes to match output of new demangler: adjust whitespace in four tests, and change order of qualifiers in one test. From-SVN: r73813
2003-11-21t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.Rainer Orth3-2/+18
* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error. (TARGET_LIBGCC2_CFLAGS): Define. * crtstuff.c [HAS_INIT_SECTION] (__do_global_dtors): Declare. (__do_global_ctors): Likewise. From-SVN: r73811
2003-11-21* 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.Andreas Schwab2-2/+6
From-SVN: r73809
2003-11-21* java/lang/Float.java (static): Removed.Mark Wielaard2-14/+5
From-SVN: r73805
2003-11-21* doc/invoke.texi (-O2): Doesn't enable -fweb.Mark Wielaard2-1/+5
From-SVN: r73803
2003-11-21parser.c (cp_parser_postfix_expression): Initialize 's' to NULL_TREE.Jan Hubicka1-1/+1
* parser.c (cp_parser_postfix_expression): Initialize 's' to NULL_TREE. From-SVN: r73802
2003-11-21parser.c (cp_parser_postfix_expression): Initialize 's' to NULL_TREE.Jan Hubicka1-0/+5
* parser.c (cp_parser_postfix_expression): Initialize 's' to NULL_TREE. [[Split portion of a mixed commit.]] From-SVN: r73801.2
2003-11-21acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST.Andreas Jaeger52-261/+981
2003-11-21 Andreas Jaeger <aj@suse.de> Andreas Tobler <a.tobler@schweiz.ch> * acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST. * configure.in: Call AC_FUNC_MMAP_BLACKLIST. * Makefile.in: Rebuilt. * aclocal.m4: Likewise. * configure: Likewise. * fficonfig.h.in: Likewise. * testsuite/lib/libffi-dg.exp: Add include dir. * testsuite/libffi.call/ffitest.h: Add MMAP definitions. * testsuite/libffi.special/ffitestcxx.h: Likewise. * testsuite/libffi.call/closure_fn0.c: Use MMAP functionality for ffi_closure if available. * testsuite/libffi.call/closure_fn1.c: Likewise. * testsuite/libffi.call/closure_fn2.c: Likewise. * testsuite/libffi.call/closure_fn3.c: Likewise. * testsuite/libffi.call/closure_fn4.c: Likewise. * testsuite/libffi.call/closure_fn5.c: Likewise. * testsuite/libffi.call/cls_12byte.c: Likewise. * testsuite/libffi.call/cls_16byte.c: Likewise. * testsuite/libffi.call/cls_18byte.c: Likewise. * testsuite/libffi.call/cls_19byte.c: Likewise. * testsuite/libffi.call/cls_1_1byte.c: Likewise. * testsuite/libffi.call/cls_20byte.c: Likewise. * testsuite/libffi.call/cls_20byte1.c: Likewise. * testsuite/libffi.call/cls_24byte.c: Likewise. * testsuite/libffi.call/cls_2byte.c: Likewise. * testsuite/libffi.call/cls_3_1byte.c: Likewise. * testsuite/libffi.call/cls_3byte1.c: Likewise. * testsuite/libffi.call/cls_3byte2.c: Likewise. * testsuite/libffi.call/cls_4_1byte.c: Likewise. * testsuite/libffi.call/cls_4byte.c: Likewise. * testsuite/libffi.call/cls_5byte.c: Likewise. * testsuite/libffi.call/cls_64byte.c: Likewise. * testsuite/libffi.call/cls_6byte.c: Likewise. * testsuite/libffi.call/cls_7byte.c: Likewise. * testsuite/libffi.call/cls_8byte.c: Likewise. * testsuite/libffi.call/cls_9byte1.c: Likewise. * testsuite/libffi.call/cls_9byte2.c: Likewise. * testsuite/libffi.call/cls_double.c: Likewise. * testsuite/libffi.call/cls_float.c: Likewise. * testsuite/libffi.call/cls_schar.c: Likewise. * testsuite/libffi.call/cls_sint.c: Likewise. * testsuite/libffi.call/cls_sshort.c: Likewise. * testsuite/libffi.call/cls_uchar.c: Likewise. * testsuite/libffi.call/cls_uint.c: Likewise. * testsuite/libffi.call/cls_ulonglong.c: Likewise. * testsuite/libffi.call/cls_ushort.c: Likewise. * testsuite/libffi.call/nested_struct.c: Likewise. * testsuite/libffi.call/nested_struct1.c: Likewise. * testsuite/libffi.call/nested_struct2.c: Likewise. * testsuite/libffi.call/nested_struct3.c: Likewise. * testsuite/libffi.call/problem1.c: Likewise. * testsuite/libffi.special/unwindtest.cc: Likewise. Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch> From-SVN: r73800
2003-11-21* 5wsystem.ads: Enable zero cost exception.Vasiliy Fofanov1-0/+4
From-SVN: r73799
2003-11-21[multiple changes]Arnaud Charlet15-60/+147
2003-11-20 Jerome Guitton <guitton@act-europe.fr> * 5ztiitho.adb: Remove an unreferenced variable. 2003-11-20 Thomas Quinot <quinot@act-europe.fr> * adaint.c: For FreeBSD, use mkstemp. 2003-11-20 Arnaud Charlet <charlet@act-europe.fr> * gnatlbr.adb: Now reference Gnat_Static_Version_String. 2003-11-20 Robert Dewar <dewar@gnat.com> * bld.adb: Remove useless USE of gnatvsn * gnatchop.adb: Minor reformatting Clean up version handling to be more consistent * gnatxref.adb: Minor reformatting * gprcmd.adb: Minor reformatting Fix output of copyright to be more consistent with other tools 2003-11-20 Vincent Celier <celier@gnat.com> * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink 2003-11-20 Sergey Rybin <rybin@act-europe.fr> * atree.adb (Initialize): Add initializations for global variables used in New_Copy_Tree. * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with Internal_Source_File as the actual). Put the set of statements creating Any_Character before the set of statements creating Any_Array to have Any_Character fully initialized when it is used in creating Any_Array. * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do not call Scan in case if the actual is Internal_Source_File Add 2003 to copyright note. * sinput.adb (Source_First, Source_Last, Source_Text): Add code for processing Internal_Source_File. * types.ads: Add the constant Internal_Source_File representing the source buffer for artificial source-code-like strings created within the compiler (the definition of Source_File_Index is changed). From-SVN: r73798
2003-11-21ChangeLog.7: Fix comment typos.Kazu Hirata22-26/+26
* ChangeLog.7: Fix comment typos. * c-common.c: Likewise. * c-pretty-print.c: Likewise. * cgraphunit.c: Likewise. * et-forest.h: Likewise. * expr.c: Likewise. * gcse.c: Likewise. * genautomata.c: Likewise. * genrecog.c: Likewise. * gensupport.c: Likewise. * ggc-zone.c: Likewise. * haifa-sched.c: Likewise. * ifcvt.c: Likewise. * loop.c: Likewise. * optabs.c: Likewise. * pretty-print.h: Likewise. * regrename.c: Likewise. * rtl.h: Likewise. * sched-rgn.c: Likewise. * target.h: Likewise. * value-prof.c: Likewise. * web.c: Likewise. From-SVN: r73795
2003-11-21* doc/invoke.texi: Mention dV and dZ.Kazu Hirata2-0/+10
From-SVN: r73794
2003-11-21invoke.texi: Update dump file names.Kazu Hirata2-42/+36
* doc/invoke.texi: Update dump file names. Remove de, dW, and dX. From-SVN: r73793
2003-11-21formatter.h: Use _Tp as template argument.Benjamin Kosnik3-5/+10
2003-11-20 Benjamin Kosnik <bkoz@redhat.com> * include/debug/formatter.h: Use _Tp as template argument. * src/debug.cc: Same, instantiate std::size_t. From-SVN: r73792
2003-11-20re PR c/13133 (Extraneous register-saves triggered by setjmp())James E Wilson2-9/+6
PR c/13133 * reload1.c (reload): Delete special handling for setjmp. From-SVN: r73791
2003-11-21mklibgcc.in: Evaluate shlib_slibdir_qual during link step too.Andreas Tobler4-5/+19
2003-11-21 Andreas Tobler <a.tobler@schweiz.ch> * mklibgcc.in: Evaluate shlib_slibdir_qual during link step too. * config/t-slibgcc-darwin: Adjust install path. * config/rs6000/t-darwin: Revert multilib matches since it is not used on darwin. From-SVN: r73790
2003-11-20ssa.c, [...]: Remove files.Richard Henderson20-4548/+44
* ssa.c, ssa-dce.c, ssa-ccp.c: Remove files. * Makefile.in (OBJS-common, GTFILES): Don't reference them. (gtype-desc.o, toplev.o, flow.o): Remove ssa.h. (ssa.o, ssa-dce.o, ssa-ccp.o): Remove. * flow.c: Don't include ssa.h. (set_phi_alternative_reg): Remove. (calculate_global_regs_live): Don't call it. (mark_used_regs): Don't handle PHI. * gengtype.c (open_base_files): Don't reference ssa.h. * rtl.def (PHI): Remove. * timevar.def (TV_TO_SSA, TV_SSA_CCP, TV_SSA_DCE, TV_FROM_SSA): Kill. * common.opt: Remove -fssa, -fssa-ccp, -fssa-dce. * opts.c (common_handle_option): Likewise. * toplev.c (f_options): Likewise. (DFI_ssa, DFI_ssa_ccp, DFI_ssa_dce, DFI_ussa): Remove. (dump_file): Update to match. (flag_ssa, flag_ssa_ccp, flag_ssa_dce): Remove. (rest_of_handle_ssa): Remove. (rest_of_compilation): Don't call it. * toplev.h (flag_ssa, flag_ssa_dce, flag_ssa_ccp): Remove. * doc/invoke.texi: Remove -fssa, -fssa-ccp, -fssa-dce. * doc/passes.texi (SSA optimizations): Remove. * gcc.dg/20020201-2.c: Remove. * gcc.dg/20020201-4.c: Remove. * gcc.dg/20020304-1.c: Remove. From-SVN: r73789
2003-11-21* cp-demangle.c: Complete rewrite.Ian Lance Taylor2-3474/+2969
From-SVN: r73788