Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r75014
|
|
* config/avr/avr.c: Fix comment formatting.
* config/avr/avr.md: Likewise.
From-SVN: r75011
|
|
PR target/12721.
* config/avr/avr.c: Include ggc.h.
(tmp_reg_rtx): Declare with GTY.
(zero_reg_rtx): Likewise.
(ldi_reg_rtx): Remove.
(avr_override_options): Initialize zero_reg_rtx and
ldi_reg_rtx.
(avr_init): Remove.
Include gt-avr.h.
* config/avr/avr.h (LDI_REG_REGNO): Remove.
Remove externs for tmp_reg_rtx, zero_reg_rtx, and ldi_reg_rtx.
From-SVN: r75010
|
|
From-SVN: r75009
|
|
* calls.c (expand_call): Recognize calls to "sqrt" and create
corresponding notes.
* g++.dg/bprob/bprob.exp: Load target-supports.exp
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* gcc.dg/builtins-18.c: Use builtins-config.h. Do not test float
variants on systems where the library does not provide that
functionality.
* gcc.dg/builtins-20.c: Use builtins-config.h.
* gcc.dg/builtins-config.h: New file.
From-SVN: r75003
|
|
and native assembler.
* config/mips/mips.c (override_options): Use `inform' instead
of `warning' for -g -mabi=32 and native assembler.
* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
Don't pass -Wno-error.
From-SVN: r75002
|
|
adding new parm reg.
* function.c (assign_parms): Update max_parm_reg and
parm_reg_stack_loc when adding new parm reg.
From-SVN: r75001
|
|
2003-12-23 Kelley Cook <kcook@gcc.gnu.org>
* gnat_ug.texi: Force a CVS commit by updating copyright.
* gnat_ug_vxw.texi: Regenerate.
* gnat_ug_wnt.texi: Regenerate.
* gnat_ug_vms.texi: Regenerate.
* gnat_ug_unx.texi: Regenerate.
From-SVN: r75000
|
|
From-SVN: r74998
|
|
* Makefile.in (OBJS-common): Remove dwarfout.o.
(dwarfout.o): Remove.
* common.opt: Remove -gdwarf, -gdwarf+.
* defaults.h (PREFERRED_DEBUGGING_TYPE): Do not check for
DWARF_DEBUGGING_INFO.
* dwarf2out.c: Fix typo in comment.
* dwarfout.c: Remove.
* opts.c (common_handle_option): Remove OPT_gdwarf, OPT_gdwarf_.
* toplev.c (process_options): Remove check for
DWARF_DEBUGGING_INFO.
* config/elfos.h (DWARF_DEBUGGING_INFO): Do not #define it or
#undef it.
* config/netware.h (DWARF_DEBUGGING_INFO): Likewise.
* config/ptx4.h (DWARF_DEBUGGING_INFO): Likewise.
* config/vxworks.h (DWARF_DEBUGGING_INFO): Likewise.
* config/alpha/unicosmk.h (DWARF_DEBUGGING_INFO): Likewise.
* config/arc/arc.h (DWARF_DEBUGGING_INFO): Likewise.
* config/i386/sco5.h (DWARF_DEBUGGING_INFO): Likewise.
* config/i386/x86-64.h (DWARF_DEBUGGING_INFO): Likewise.
* config/m32r/m32r.h (DWARF_DEBUGGING_INFO): Likewise.
* config/mcore/mcore-elf.h (DWARF_DEBUGGING_INFO): Likewise.
* config/sparc/linux64.h (DWARF_DEBUGGING_INFO): Likewise.
* config/sparc/liteelf.h (DWARF_DEBUGGING_INFO): Likewise.
* config/sparc/sol26-sld.h (DWARF_DEBUGGING_INFO): Likewise.
* config/sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO): Likewise.
* doc/invoke.texi: Do not mention -gdwarf, -gdwarf-1, -gdwarf-1+,
or -gdwarf+.
* doc/tm.texi: Likewise.
From-SVN: r74996
|
|
* lib/gcc-dg.exp (dg-require-profiling): New function.
* lib/target-supports.exp (check_profiling_available): Likewise.
* g++.dg/bprob/bprob.exp: Use check_profiling_available.
* g77.dg/bprob/bprob.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise.
* g++.old-deja/g++.law/profile1.C: Use dg-require-profiling.
* gcc.dg/20021014-1.c: Likewise.
* gcc.dg/nest.c: Likewise.
From-SVN: r74995
|
|
* g++.dg/lookup/java1.C: Use -fdollars-in-identifiers when
compiling.
* g++.dg/lookup/java2.C: Likewise.
* gcc.dg/cpp/lexident.c: Likewise.
From-SVN: r74992
|
|
From-SVN: r74989
|
|
* gcc.c-torture/compile/20020604-1.c: XFAIL on H8 if -mn is
given.
* gcc.c-torture/compile/961203-1.c: Likewise.
* gcc.c-torture/compile/980506-1.c: Likewise.
From-SVN: r74981
|
|
convert_memory_address.
gcc:
* config/ia64/ia64.c (ia64_va_arg): Pass pointer for
variable-sized type through convert_memory_address.
(ia64_in_small_data_p): Always return false for FUNCTION_DECLs.
gcc/testsuite:
* lib/gcc-dg.exp (dg-prune-output): New annotation.
(additional_prunes): New global.
(gcc-dg-prune): Handle additional per-test pruning.
(dg-test): Clear additional_prunes between tests.
* gcc.c-torture/compile/920625-1.c: Remove xfail. Use
dg-prune-output to avoid spurious failures from assembler
complaining about nonexistent WAW violations.
* gcc.c-torture/compile/981223-1.c: Remove dg-options line.
Use dg-prune-output to avoid spurious failures from assembler
warning about Itanium B-step errata.
From-SVN: r74980
|
|
* common.opt (fprofile-generate,fprofile-use): Add.
* gcc.c (LINK_COMMAND_SPEC): Arrange -fprofile-generate to imply -lgcov
* opts.c (profile_arc_flag_set, flag_profile_values_set,
flag_unroll_loops_set, flag_tracer_set,
flag_value_profile_transformations_set,
flag_peel_loops_set): New static variables.
(common_handle_option): Deal with -fprofile-generate/-fprofile-use
* invoke.texi (-fprofile-generate, -fprofile-use): Describe.
From-SVN: r74976
|
|
* c-common.c (flag_abi_version): Default to 2.
* c-cppbuiltin.c (c_cpp_builtins): Define __GXX_ABI_VERSION
uniformly for versions above 2.
* doc/invoke.texi: Update documentation for -fabi-version.
* cp-lang.c (cp_expr_size): Return zero for empty classes.
* cp-tree.h (warn_if_uknown_interface): Remove unused function.
* decl2.c (warn_if_unknown_interface): Likewise.
* g++.dg/abi/macro0.C: New test.
* g++.dg/abi/macro1.C: Likewise.
* g++.dg/abi/macro2.C: Likewise.
* g++.dg/abi/bitfield5.C: Add explicit -fabi-version=1 option.
* g++.dg/abi/bitfield7.C: Likewise.
* g++.dg/abi/dtor2.C: Likewise.
* g++.dg/abi/mangle11.C: Likewise.
* g++.dg/abi/mangle12.C: Likewise.
* g++.dg/abi/mangle14.C: Likewise.
* g++.dg/abi/mangle17.C: Likewise.
* g++.dg/abi/vbase10.C: Likewise.
* g++.dg/abi/vbase14.C: Likewise.
* g++.dg/template/qualttp17.C: Likewise.
From-SVN: r74973
|
|
c99 mode)
2003-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c/11995
* gcc.dg/20031223-1.c: New test.
From-SVN: r74970
|
|
PR c++/13387
* cp-lang.c (cxx_get_alias_set): Correct logic for a base type.
From-SVN: r74968
|
|
* config/rs6000/rs6000.md: Change many instances of '!
TARGET_POWERPC64' to 'TARGET_32BIT' when the pattern being guarded
was guarded only because it changed CR0 or the carry bit in XER.
From-SVN: r74966
|
|
invokation)
PR optimization/13394
* toplev.c (rest_of_compilation): Move call to
check_function_return_warnings right after the sibcall
optimization pass.
From-SVN: r74961
|
|
optimisation.)
PR c/13382
* c-typeck.c (convert_for_assignment): When converting from
integral type to pointer type, always call convert.
From-SVN: r74960
|
|
From-SVN: r74959
|
|
From-SVN: r74957
|
|
Declarations)
* c-common.c (flag_external_templates): Remove.
(flag_alt_external_templates): Likewise.
* c-common.h (flag_external_templates): Remove.
(flag_alt_external_templates): Likewise.
* c-opts.c (c_common_handle_option): Unsupport
-falt-external-templates and -ftemplates.
* doc/invoke.texi: Remove mention of -fexternal-templates and
-falt-external-templates.
* decl.c (start_function): Do not check
flag_alt_external_templates or flag_external_templates.
* decl2.c (warn_if_unknown_interface): Likewise.
* lex.c (extract_interface_info): Likewise.
* pt.c (lookup_template_class): Likewise.
PR c++/12862
* name-lookup.c (pushdecl): Look up all namespace-scope entities
in their corresponding namespace.
* g++.old-deja/g++.jason/template18.C: Remove.
* g++.old-deja/g++.jason/template37.C: Likewise.
PR c++/12862
* g++.dg/lookup/ns1.C: New test.
From-SVN: r74954
|
|
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR target/13466
* config.gcc (powerpc-*-darwin): Remove overridden value of need_64bit_hwint.
From-SVN: r74952
|
|
PR c++/12397
* typeck.c (finish_class_member_access_expr): Don't tree
IDENTIFIER_NODEs as non-dependent expressions.
PR c++/12397
* g++.dg/template/lookup3.C: New test.
From-SVN: r74949
|
|
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/5050
* tree.c (cp_start_inlining): Remove.
(cp_end_inlining): Remove.
* cp-lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING): Do not define.
(LANG_HOOKS_TREE_INLINING_END_INLINING): Do not define.
* cp-tree.h (cp_start_inlining): Do not declare.
(cp_end_inlining): Do not declare.
PR c++/5050
* g++.dg/template/recurse1.C: New test.
From-SVN: r74947
|
|
copy_rtx_if_shared_1.
* emit-rtl.c (copy_rtx_if_shared): Add comment about its use of
copy_rtx_if_shared_1.
(copy_rtx_if_shared_1): Add comment about what the function does.
From-SVN: r74945
|
|
2003-12-22 Fariborz Jahanian <fjahanian@apple.com>
* gcc.dg/darwin-misaligned.c: New test.
From-SVN: r74942
|
|
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
* c-decl.c (finish_function): Change order of checks.
(c_expand_body): Likewise.
From-SVN: r74941
|
|
error about "extra `;'")
PR c++/12479
* parser.c (cp_parser_declaration_seq_opt): Only issue "extra ;"
pedwarn when not in a system header.
PR c++/12479
* g++.dg/parse/semicolon1.C: New test.
* g++.dg/parse/semicolon1.h: Likewise.
From-SVN: r74940
|
|
with -O3 -mpowerpc64.
From-SVN: r74939
|
|
-mpowerpc64.
From-SVN: r74938
|
|
From-SVN: r74937
|
|
2003-12-22 Dale Johannesen <dalej@apple.com>
* reload1.c: Add reg_reloaded_call_part_clobbered.
(reload_as_needed): Use it.
(forget_old_reloads_1): Ditto.
(emit_reload_insns): Ditto.
From-SVN: r74936
|
|
to int conversion problem))
2003-12-21 Dale Johannesen <dalej@apple.com>
PR optimization/12828
* loop.c: Add find_regs_nested to look inside CLOBBER(MEM).
(scan_loop): Call it.
* regclass.c (reg_scan_mark_regs): Look inside CLOBBER(MEM).
From-SVN: r74935
|
|
and checking enabled)
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR c/9163
* c-decl.c (poplevel): Only set DECL_INITIAL of a current function
if it is non-null.
(finish_function): Check for error_mark_node or null on DECL_RESULT and
DECL_RESULT of fndecl.
(c_expand_body): Only expand when DECL_INITIAL of fndecl is not
error_mark_node and not null.
2003-12-22 Andrew Pinski <pinskia@physics.uc.edu>
PR c/9163
* gcc.dg/20031222-1.c: New test.
From-SVN: r74934
|
|
identifier_node, have integer_cst in c_parse_error at c-common.c:5921)
PR c++/13438
* cp-tree.h (cp_tree_index): Remove CPTI_RECORD_TYPE,
CPTI_UNION_TYPE, CPTI_ENUM_TYPE.
(record_type_node): Remove.
(union_type_node): Likewise.
(enum_type_node): Likewise.
* decl.c: Remove mention of above tree nodes in comment.
* lex.c (cxx_init): Do not assign to record_type_node,
union_type_node, or enum_type_node. Simplify handling of
class_type_node.
PR c++/13438
* g++.dg/parse/error8.C: New test.
From-SVN: r74931
|
|
* rtl.h (dump_rtx_statistics): Declare it.
* rtl.c (rtx_alloc_counts, rtx_alloc_sizes, rtvec_alloc_counts,
rtx_alloc_sizes): New static vars.
(rtx_alloc, rtvec_alloc): Update them.
(dump_rtx_statistics): New function.
* toplev.c (finalize): Call it.
* ggc-page.c (struct globals): Fix comments. Add new member
total_allocated_per_order.
(ggc_alloc): Keep track of the total allocated memory.
(ggc_print_statistics): Clarify message. Print total allocated
memory stats.
* configure.in (gather-detailed-mem-stats): New flag.
* configure: Regenerate.
* config.in: Regenerate.
* doc/install.texi (Configuration): Document
--enable-gather-detailed-mem-stats.
From-SVN: r74930
|
|
location of constructor)
PR c++/11554
* init.c (sort_mem_initializers): Add warning.
PR c++/11554
* testsuite/g++.dg/warn/ctor-init-1.C: New test.
From-SVN: r74926
|
|
* system.h (CONVERT_HARD_REGISTER_TO_SSA_P): Poison.
* config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Remove.
From-SVN: r74925
|
|
* gcc.c-torture/compile/20020910-1.c: Disable if __INT_MAX is
too small.
* gcc.c-torture/compile/930217-1.c: Likewise.
* gcc.c-torture/compile/930513-1.c: Likewise.
* gcc.c-torture/execute/920908-2.c: Likewise.
* gcc.c-torture/execute/921204-1.c: Likewise.
* gcc.c-torture/execute/930621-1.c: Likewise.
* gcc.c-torture/execute/930630-1.c: Likewise.
* gcc.c-torture/execute/931031-1.c: Likewise.
* gcc.c-torture/execute/980602-2.c: Likewise.
* gcc.c-torture/execute/comp-goto-1.c: Likewise.
* gcc.c-torture/execute/compndlit-1.c: Likewise.
* gcc.c-torture/execute/extzvsi.c: Likewise.
* gcc.c-torture/unsorted/ext.c: Likewise.
From-SVN: r74923
|
|
From-SVN: r74921
|
|
* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
when compiling in ILP32 mode.
From-SVN: r74918
|
|
* call.c: Fix comment formatting.
* class.c: Likewise.
* cp-tree.h: Likewise.
* cvt.c: Likewise.
* cxx-pretty-print.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* error.c: Likewise.
* except.c: Likewise.
* init.c: Likewise.
* name-lookup.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* semantics.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.
From-SVN: r74916
|
|
2003-12-21 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/rs6000.c (rs6000_tls_referenced_p): Return early if
TARGET_HAVE_TLS is false.
From-SVN: r74912
|
|
* config/ip2k/ip2k-protos.h: Remove the prototype for
asm_output_section_name.
* config/ip2k/ip2k.c (asm_output_section_name): Remove.
From-SVN: r74911
|
|
* alias.c: Fix comment formatting.
* alloc-pool.c: Likewise.
* bitmap.c: Likewise.
* bitmap.h: Likewise.
* bt-load.c: Likewise.
* c-common.c: Likewise.
* c-common.h: Likewise.
* c-decl.c: Likewise.
* c-opts.c: Likewise.
* c-pretty-print.c: Likewise.
* caller-save.c: Likewise.
* cfghooks.h: Likewise.
* cgraph.c: Likewise.
* collect2.c: Likewise.
* cppfiles.c: Likewise.
* cpplib.h: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* final.c: Likewise.
* function.c: Likewise.
* gcov.c: Likewise.
* gcse.c: Likewise.
* genemit.c: Likewise.
* ggc.h: Likewise.
* haifa-sched.c: Likewise.
* ifcvt.c: Likewise.
* libgcc2.h: Likewise.
* loop.c: Likewise.
* predict.h: Likewise.
* unwind-libunwind.c: Likewise.
* varasm.c: Likewise.
From-SVN: r74907
|
|
* config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
a warning.
From-SVN: r74902
|