aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-14re PR libobjc/12155 (Memory leak in libobjc(selector.c))Adam Fedor2-0/+8
2004-01-14 Adam Fedor <fedor@gnu.org> PR libobjc/12155 * selector.c (__objc_register_instance_methods_to_class): Free new_list if not used. From-SVN: r75899
2004-01-15re PR c++/8856 (g++ accepts invalid conversion-function-id)Giovanni Bajo3-35/+33
PR c++/8856 * g++.dg/parse/casting-operator2.C: New test. * g++.old-deja/g++.pt/explicit83.C: Remove. From-SVN: r75898
2004-01-15re PR c++/8856 (g++ accepts invalid conversion-function-id)Giovanni Bajo2-2/+28
PR c++/8856 * parser.c (cp_parser_template_name): Don't try to parse a conversion-function-id, as it cannot be a template-name. (cp_parser_simple_type_specifier): Check for invalid template-ids even after a built-in type. From-SVN: r75897
2004-01-15Daily bump.GCC Administrator2-2/+2
From-SVN: r75894
2004-01-14builtins.c (std_expand_builtin_va_arg): Align operand when needed.Jan Hubicka4-3/+41
* builtins.c (std_expand_builtin_va_arg): Align operand when needed. * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic functions accepting SSE arguments (function_arg): Warn only when asked to warn. * i386.h (ix86_args): Add warn_sse/warn_mmx fiels. From-SVN: r75892
2004-01-14c-parse.in (stmts_and_decls): Make label at end of compound statement a hard ↵Joseph Myers8-8/+29
error. * c-parse.in (stmts_and_decls): Make label at end of compound statement a hard error. testsuite: * gcc.dg/label-compound-stmt-1.c: New test. * gcc.c-torture/compile/950922-1.c, gcc.c-torture/compile/20000211-3.c, gcc.c-torture/compile/20000518-1.c, gcc.c-torture/compile/20021108-1.c: Avoid labels at and of compound statements. From-SVN: r75891
2004-01-14cgraph.c (create_edge): Use local.redefined_extern_inline.Jan Hubicka4-12/+38
* cgraph.c (create_edge): Use local.redefined_extern_inline. * cgraph.h (cgraph_local_info): Sort fields by size; add redefined_extern_inline (cgraph_global_info): Sort fields by size. (cgraph_node): Likewise. * cgraphunit.c (cgraph_finalize_function): Se local.redefined_extern_inline on redefinition. (cgraph_analyze_function): Use it; fix formating. From-SVN: r75890
2004-01-14re PR libgcj/12001 (_Jv_FindClass dumps core when Oracle's classes12.zip in ↵Nathan Bryant3-21/+37
$CLASSPATH) PR libgcj/12001: * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty array to superclass. (init): Changed interface; add URLs here. (initialize): New static method. * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here... (_Jv_RunMain): ... not here. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r75889
2004-01-14sched-deps.c (trye_dependency_cache, [...]): Trun to vectors of bitmapsJan Hubicka2-37/+72
* sched-deps.c (trye_dependency_cache, anti_dependency_cache, outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of bitmaps (cache_size): New variable (add_dependence): Update use; canonize early memory locations (sched_analyze_1): Likewise. (sched_analyze_2): Likewise. (init_dependency_caches): Initialize bitmaps. (free_dependency_caches): Free bitmaps From-SVN: r75888
2004-01-14calls.c: Replace STRICT_ARGUMENT_NAMING in comments with...Kazu Hirata3-7/+14
* calls.c: Replace STRICT_ARGUMENT_NAMING in comments with targetm.calls.strict_argument_naming(). * target.h: Likewise. From-SVN: r75886
2004-01-14* Makefile.in (distclean): Remove config.cache.Loren J. Rittle2-1/+5
From-SVN: r75885
2004-01-14re PR debug/13231 (Bad DWARF2 CFI when there is no frame pointer)Richard Henderson2-0/+13
PR debug/13231 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue instructions. From-SVN: r75884
2004-01-14re PR c++/12491 (Destructor fails to compile when optimizations (inlining) ↵Richard Henderson3-14/+88
are enabled) PR c++/12491 * except.c (struct eh_region): Add u.fixup.resolved. (resolve_one_fixup_region): Split out from ... (resolve_fixup_regions): ... here. * g++.dg/eh/cleanup2.C: New. From-SVN: r75883
2004-01-14* config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.Kazu Hirata2-1/+5
From-SVN: r75882
2004-01-14alpha.h (STRUCT_VALUE): Remove.Kazu Hirata3-8/+6
* config/alpha/alpha.h (STRUCT_VALUE): Remove. * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef. (STRUCT_VALUE): Remove. From-SVN: r75881
2004-01-14Makefile.def (target_modules): Stage.Loren J. Rittle4-293/+13
* Makefile.def (target_modules) [libtermcap, libiberty, zlib]: Stage. * Makefile.tpl (configure-target-[+module+]): Support stage. * Makefile.in: Rebuilt. From-SVN: r75880
2004-01-14system.h: Poison PROMOTED_MODESteven Bosscher5-10/+14
* system.h: Poison PROMOTED_MODE * integrate.c (expand_inline_function): Don't mention the PROMOTED_MODE. * loop.c (update_giv_derive): Same. * tree.h (DECL_RTL): Same. From-SVN: r75878
2004-01-14re PR libgcj/2429 (java.text.MessageFormat should usefully set text on ↵Michael Koch2-6/+15
exceptions) 2004-01-14 Michael Koch <konqueror@gmx.de> * java/text/MessageFormat.java: Added descriptions to exceptions. This fixes PR libgcj/2429. From-SVN: r75877
2004-01-14locale_facets.h (struct __numpunct_cache): Add member _M_grouping_size, ↵Paolo Carlini6-89/+120
caching the length of _M_grouping. 2004-01-14 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.h (struct __numpunct_cache): Add member _M_grouping_size, caching the length of _M_grouping. (__numpunct_cache<>::_M_cache): Assign the latter. (__verify_grouping): Move declaration... * include/bits/locale_facets.tcc (__verify_grouping): ... here, change signature to take a const char* and a size_t for the grouping; not a template anymore. (__add_grouping, num_put::_M_group_int, num_put::_M_group_float): Likewise change signature and tweak consistently. (num_get::_M_extract_float, num_get::_M_extract_int, num_put::_M_insert_int, num_put::_M_insert_float, money_get::do_get(string_type&), money_get::do_put(string_type)): Update callers. * config/locale/generic/numeric_members.cc (numpunct<>::_M_initialize_numpunct): Assign the new member. * config/locale/gnu/numeric_members.cc (numpunct<>::_M_initialize_numpunct): Likewise. * src/locale-inst.cc (__add_grouping): Tweak signature. (__verify_grouping): Don't instantiate, not a template anymore. * include/bits/locale_facets.h: Rename _M_truename_len -> _M_truename_size, _M_falsename_len -> _M_falsename_size. * include/bits/locale_facets.tcc: Likewise. * config/locale/generic/numeric_members.cc: Likewise. * config/locale/gnu/numeric_members.cc: Likewise. From-SVN: r75876
2004-01-14mt_allocator.h: Fixups.Stefan Olsson4-16/+15
2004-01-14 Stefan Olsson <stefan@snon.net> * include/ext/mt_allocator.h: Fixups. * testsuite/performance/allocator.cc: Enable __mt_alloc tests. * testsuite/performance/allocator_thread.cc: Same. From-SVN: r75875
2004-01-14re PR target/9365 ([SH] segfault in gen_far_branch (config/sh/sh.c))J"orn Rennecke2-5/+25
PR target/9365 * sh.c (gen_block_redirect): Add special handling of RETURN. (gen_far_branch) Don't call gen_stuff_delay_slot if there is no far branch target (i.e. it's a return). From-SVN: r75872
2004-01-14* regrename.c (find_oldest_value_reg): Fix a warning.Kazu Hirata2-2/+6
From-SVN: r75871
2004-01-14re PR bootstrap/12527 ([arm] bootstrap error on arm-linux, miscompiling ↵Richard Earnshaw4-7/+23
genconstants) PR bootstrap/12527 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file. Move linux-gas.h and linux-elf.h before aout.h. * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already. * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define. From-SVN: r75870
2004-01-14m32r.md: Use GEN_INT instead of gen_rtx (CONST_INT, VOIDmode, ...).Kazu Hirata2-3/+8
* config/m32r/m32r.md: Use GEN_INT instead of gen_rtx (CONST_INT, VOIDmode, ...). From-SVN: r75868
2004-01-14regrename.c (find_oldest_value_reg): If the replacement uses multiple hard ↵Richard Earnshaw2-9/+18
registers... * regrename.c (find_oldest_value_reg): If the replacement uses multiple hard registers, check that all of them are in CLASS. From-SVN: r75867
2004-01-14alias.c (get_alias_set): Initialize alias set to 0 when subset is impossible.Jan Hubicka2-1/+6
* alias.c (get_alias_set): Initialize alias set to 0 when subset is impossible. From-SVN: r75861
2004-01-14Makefile.in: Define MAINT from --enable-maintainer-mode.Kelley Cook4-0/+15
gcc/ 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in: Define MAINT from --enable-maintainer-mode. gcc/ada/ 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.\ From-SVN: r75860
2004-01-14re PR c++/12850 (memory consumption for heavy template instantiations ↵Jan Hubicka2-6/+5
tripled since 3.3) PR c++/12850 * pt.c (instantiate_decl): Do not increase function_depth. From-SVN: r75859
2004-01-14* gcc/config/rs6000/rs6000.c (rs6000_stack_info)Hartmut Penner2-11/+20
Calculate always vrsave_mask if TARGET_ALTIVEC. (rs6000_emit_prologue): Emit code for vrsave only if TARGET_ALTIVEC_VRSAVE. (rs6000_emit_epilogue): Likewise. From-SVN: r75857
2004-01-14sparc.md (tie_add32): Fix pasto.Eric Botcazou1-0/+5
* config/sparc/sparc.md (tie_add32): Fix pasto. (tie_add64): Likewise. From-SVN: r75856
2004-01-14ChangeLogEric Botcazou1-2/+2
From-SVN: r75855
2004-01-14* gcc.dg/ppc64-abi-1.c: New test.Hartmut Penner2-0/+367
From-SVN: r75852
2004-01-14* g++.dg/ext/attrib9.C: Add dg-warnings.Danny Smith2-4/+8
From-SVN: r75847
2004-01-14re PR c++/9021 ([win32] No exports possible when using a class pointer in an ↵Danny Smith3-3/+24
union) PR c++/9021 PR c++/11005 * parser.c (cp_parser_elaborated_type_specifier): Warn about attributes and discard. * decl.c (xref_tag): Don't overwite existing attributes with NULL_TREE. From-SVN: r75846
2004-01-14* config/i386/i386.md (*addqi_1_slp): Do not access operands[2].Zdenek Dvorak2-1/+5
From-SVN: r75845
2004-01-14re PR c++/12335 (ICE when explicitly calling destructor)Giovanni Bajo2-0/+21
PR c++/12335 * g++.dg/parse/dtor3.C: New test. From-SVN: r75843
2004-01-14re PR c++/12335 (ICE when explicitly calling destructor)Giovanni Bajo2-0/+8
PR c++/12335 * parser.c (cp_parser_lookup_name): Return error_mark_node if there is no destructor while looking up a BIT_NOT_EXPR. From-SVN: r75842
2004-01-14ifstream_extract_float.cc: Add higher precision tests.Benjamin Kosnik3-25/+61
2 2004-01-13 Benjamin Kosnik <bkoz@redhat.com> * testsuite/performance/ifstream_extract_float.cc: Add higher precision tests. * testsuite/performance/ofstream_insert_float.cc: Same. From-SVN: r75841
2004-01-14iq2000-protos.h: Fix comment formatting.Kazu Hirata4-15/+21
* config/iq2000/iq2000-protos.h: Fix comment formatting. * config/iq2000/iq2000.c: Likewise. * config/iq2000/iq2000.md: Likewise. From-SVN: r75840
2004-01-14* cxxfilt.c: Remove unused file.Ian Lance Taylor2-295/+4
From-SVN: r75839
2004-01-14dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.J. Brobecker2-5/+13
* dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME. (subrange_type_die): Add handle for nameless subrange types. From-SVN: r75838
2004-01-14re PR fortran/6491 ([g77] Logical operations error on logicals when using ↵Ian Lance Taylor2-7/+65
-fugly-logint) PR fortran/6491 * expr.c (ffeexpr_reduce_): When handling AND, OR, and XOR, and when using -fugly-logint, if both operands are logical, convert the result back to logical. (ffeexpr_reduced_ugly2log_): Add bothlogical parameter. Change all callers. Convert logical operands to integer. From-SVN: r75837
2004-01-14h8300-protos.h: Replace do_movsi with h8300_expand_movsi.Kazu Hirata4-4/+14
* config/h8300/h8300-protos.h: Replace do_movsi with h8300_expand_movsi. * config/h8300/h8300.c (do_movsi): Change to h8300_expand_movsi. * config/h8300/h8300.md (movsi): Replace do_movsi with h8300_expand_movsi. (movsf): Likewise. From-SVN: r75836
2004-01-14h8300.c (dosize): Change to h8300_emit_stack_adjustment.Kazu Hirata2-4/+9
* config/h8300/h8300.c (dosize): Change to h8300_emit_stack_adjustment. Update callers. From-SVN: r75835
2004-01-14h8300.md (movstrictqi): Add an alternative with the source being post_inc.Kazu Hirata2-6/+17
* config/h8300/h8300.md (movstrictqi): Add an alternative with the source being post_inc. Tighten the predicate for the destination to register_operand. (movstricthi): Likewise. From-SVN: r75833
2004-01-14system.h (SHARED_BSS_SECTION_ASM_OP): Poison.Kazu Hirata4-15/+8
* system.h (SHARED_BSS_SECTION_ASM_OP): Poison. * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP. * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove. From-SVN: r75832
2004-01-14Daily bump.GCC Administrator2-2/+2
From-SVN: r75829
2004-01-13Partial fix PR c++/12850Jan Hubicka5-13/+22
Partial fix PR c++/12850 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when at zero nest level. * decl2.c (mark_used): Do not proactively instantiate templates when compiling in unit-at-a-time or not optimizing. * optimize.c (maybe_clone_body): Do not increase function depth. From-SVN: r75823
2004-01-13locale-misc-inst.cc (__convert_from_v(long), [...]): Remove, unused.Paolo Carlini2-22/+6
2004-01-13 Paolo Carlini <pcarlini@suse.de> * src/locale-misc-inst.cc (__convert_from_v(long), __convert_from_v(unsigned long), __convert_from_v(long long), __convert_from_v(unsigned long long)): Remove, unused. From-SVN: r75822
2004-01-13lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost estimation.Jan Hubicka6-32/+46
* lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost estimation. * c-common.c (c_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost estimation. * expr.c (MOVE_RATIO, CLEAR_RATIO): Move to ... * expr.h (MOVE_RATIO, CLEAR_RATIO): ... here. From-SVN: r75821