aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-08-05c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and __UINTMAX_TYPE__.Joseph Myers11-77/+80
* c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and __UINTMAX_TYPE__. * c-cppbuiltin.c (builtin_define_stdint_macros): New. Define __INTMAX_MAX__. (c_cpp_builtins): Call it. * doc/cpp.texi: Update. testsuite: * gcc.c-torture/execute/builtins/abs-2.c, gcc.c-torture/execute/builtins/abs-3.c, gcc.c-torture/execute/builtins/lib/abs.c, gcc.dg/format/format.h, gcc.dg/torture/builtin-attr-1.c: Use predefined macros for intmax_t, uintmax_t and their limits. * gcc.dg/intmax_t-1.c: New test. From-SVN: r85588
2004-08-05Daily bump.GCC Administrator2-2/+2
From-SVN: r85585
2004-08-04rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero cost.David Edelsohn2-4/+11
* config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero cost. From-SVN: r85582
2004-08-04* g++.dg/tc1/dr147.C: Add reference to PR.Giovanni Bajo2-1/+5
From-SVN: r85581
2004-08-04basic-block.h (profile_staus): New global variable.Jan Hubicka10-34/+105
* basic-block.h (profile_staus): New global variable. * cfg.c (profile_status): Declare. (check_bb_profile): Break out from ....; use profile_status (dump_flow_info): ... here. * cfgbuild.c (find_basic_blocks): Set profile_status. * cfgexpand.c (tree_expand_cfg): Likewise. * predict.c (estimate_probability): Likewise. * profile.c (branch_prob): Likewise. * tree-cfg.c (build_tree_cfg): Likewise. (dump_function_to_file): Use check_bb_profile. * tree-pretty-print (dump_bb_header): Likewise. * tree-profile.c (do_tree_profiling): Cleanup. From-SVN: r85579
2004-08-04fix typoJason Merrill1-1/+1
From-SVN: r85575
2004-08-04Makefile.in (RTL_BASE_H, RTL_H): Correct.Zack Weinberg8-94/+67
* Makefile.in (RTL_BASE_H, RTL_H): Correct. (BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o. (genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o. (read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o) (genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o) (genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o) (genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H). (ggc-none.o, errors.o): Move rule to generators section; correct dependencies. (min-insn-modes.o): Move rule to generators section; remove unnecessary explicit command; correct dependencies. (print-rtl.o, print-rtl1.o): Correct dependencies. ($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule. (mostlyclean): Update. * errors.c: Include bconfig.h not config.h. Correct comment. * gengtype.c, genpreds.c: Don't define NO_GENRTL_H. * ggc-none.c: Include bconfig.h; not config.h or tm.h. * print-rtl.c: Don't include tm_p.h. * rtl.h: Move forward-decl of struct function down where it's needed. Include genrtl.h #ifndef GENERATOR_FILE, not #ifndef NO_GENRTL_H. Remove unnecessary #ifdef BUFSIZ statements. From-SVN: r85574
2004-08-04tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.Zdenek Dvorak7-71/+134
* tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions. * tree-flow.h (rewrite_ssa_into_ssa): Declaration changed. * tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to manipulate the duplicated ssa names. * tree-ssanames.c (ssa_names_to_rewrite): New variable. (marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite, unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force): New functions. (release_ssa_name): Do not release ssa names that may have multiple definitions. * tree.h (release_ssa_name_force, mark_for_rewrite, unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p, marked_ssa_names): Declare. * tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove. (duplicate_blocks): Remove call to mark_defs_for_rewrite. Update call to rewrite_ssa_into_ssa. Co-Authored-By: Jeff Law <law@redhat.com> From-SVN: r85572
2004-08-04defaults.h (TARGET_DECLSPEC): New macro.Mark Mitchell12-37/+61
* defaults.h (TARGET_DECLSPEC): New macro. * c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC. * config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support. * config/arm/symbian. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define. * config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove __declspec support. (TARGET_DECLSPEC): Define. * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove __declspec support. * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove __declspec support. (TARGET_DECLSPEC): Define. * config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove __declspec support. * config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec support. * doc/tm.texi (TARGET_DECLSPEC): Document. * doc/extend.texi: Fix typo in comment. From-SVN: r85571
2004-08-04Add missing ChangeLog entryMark Mitchell1-0/+3
From-SVN: r85570
2004-08-04acinclude.m4: Correctly quote PKG_CHECK_MODULES.Thomas Fitzsimmons5-157/+62
2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com> Michael Koch <konqueror@gmx.de> * acinclude.m4: Correctly quote PKG_CHECK_MODULES. * configure.in: Replaced all usages of AC_LINK_FILES by AC_CONFIG_LINKS. * aclocal.m4, configure: Regenerated. Co-Authored-By: Michael Koch <konqueror@gmx.de> From-SVN: r85569
2004-08-04mips-args-[23].c: Declare abort() and exit().Richard Sandiford5-0/+17
* gcc.dg/mips-args-[23].c: Declare abort() and exit(). * gcc.dg/torture/mips-hilo-[12].c: Likewise. From-SVN: r85567
2004-08-04acconfig.h: Removed.Thomas Fitzsimmons4-50/+57
2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com> Michael Koch <konqueror@gmx.de> * acconfig.h: Removed. * Makefile.am: Rename variables for xlib peer to include xlib and gtk_c_headers to gtk_jni_headers. * Makefile.in: Regenerated. Co-Authored-By: Michael Koch <konqueror@gmx.de> From-SVN: r85566
2004-08-04libjava.exp (bytecompile_file): Byte compile with debugging.Andrew Haley2-2/+7
2004-08-04 Andrew Haley <aph@redhat.com> * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with debugging. From-SVN: r85565
2004-08-04Fix typo.Paul Brook1-1/+1
From-SVN: r85564
2004-08-04configure.in (arm*-*-symbianelf*): Add ${libgcj} and target-libiberty to ↵Mark Mitchell3-69/+100
noconfigdirs. * configure.in (arm*-*-symbianelf*): Add ${libgcj} and target-libiberty to noconfigdirs. From-SVN: r85563
2004-08-04decl.c (complete_array_type): Don't gratuitously copy maxindex.Nathan Sidwell2-3/+5
* decl.c (complete_array_type): Don't gratuitously copy maxindex. Its type is always set. From-SVN: r85562
2004-08-04target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define.Paul Brook12-32/+146
gcc/ * target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define. (TARGET_CXX): Use it. * target.h (struct gcc_target): Add cdtor_returns_this. * config/arm/arm.c (arm_cxx_cdtor_returns_this): New function. (TARGET_CXX_CDTOR_RETURNS_THIS): Define. * doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS. gcc/cp/ * Make-lang.in (cp/semantics.o, cp/optimize.o): Depend on TARGET_H. * cp-tree.h (struct language_function): Rename x_dtor_label to x_cdtor_label. (dtor_label): Rename ... (cdtor_label): ... to this. * decl.c (begin_constructor_body): Remove. (check_special_function_return_type): Maybe change the return type. (grokdeclarator): Pass the class type. (start_preparsed_function): Constructors may need a return label. (finish_constructor_body, finish_destructor_body): Set the return value. (begin_function_body): Don't call begin_constructor_body. (finish_function): Don't warn for constructors or destructors. (implicitly_declare_fn): Maybe change the return type. * optimize.c: Include target.h. (maybe_clone_body): Remap the function result. * semantics.c: Include target.h. (finish_return_stmt): Maybe jump to return label for constructors. From-SVN: r85561
2004-08-04configopts.html: Emphasize that options change.Phil Edwards3-6/+15
2004-08-04 Phil Edwards <phil@codesourcery.com> * docs/html/configopts.html: Emphasize that options change. * docs/html/17_intro/configury.html: Update links. From-SVN: r85560
2004-08-04c-lex.c (narrowest_unsigned_type, [...]): Take low/high pair.Nathan Sidwell2-24/+42
* c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take low/high pair. Do range checking directly. (interpret_integer): Adjust. From-SVN: r85559
2004-08-04* libgfortran.h (array_t, size0) New declarations.Victor Leikehman52-6/+851
* m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate space if return value descriptor has NULL in its data field, and initialize bounds and stride. * intrinsics/size.c (array_t, size0): Declarations moved to libgfortran.h. * generated/*.c: Regenerate. From-SVN: r85558
2004-08-04config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI.Nick Clifton3-1/+19
doc/invoke.texi: Document this new switch and also the -mrenesas switch. From-SVN: r85557
2004-08-04gcc_update: libjava/configure.ac -> configure.in.Paolo Bonzini2-3/+8
2004-08-04 Paolo Bonzini <gcc@gcc.gnu.org> * gcc_update: libjava/configure.ac -> configure.in. Automake 1.4 does not handle configure.ac properly. From-SVN: r85556
2004-08-04Reverted renaming of configure.in to configure.ac, has to waitPaolo Bonzini2-5/+0
for updating of automake. From-SVN: r85555
2004-08-04cfglayout.c (insn_locators_initialize): Update the current location before ↵Nathan Sidwell2-31/+41
initializing a location. * cfglayout.c (insn_locators_initialize): Update the current location before initializing a location. From-SVN: r85554
2004-08-04typeck.c (convert_ieee_real_to_integer): Call fold on the range checking ↵Roger Sayle2-18/+29
trees as they're being built. 2004-08-04 Roger Sayle <roger@eyesopen.com> Andrew Haley <aph@redhat.com> * typeck.c (convert_ieee_real_to_integer): Call fold on the range checking trees as they're being built. (convert): Call convert_ieee_real_to_integer if we're converting a constant, even if we're writing a class file. Co-Authored-By: Andrew Haley <aph@redhat.com> From-SVN: r85553
2004-08-04* gcc_update: libjava/configure.in -> configure.ac.Andreas Schwab2-3/+7
From-SVN: r85552
2004-08-04configure.ac: New name of...Paolo Bonzini2-0/+5
2004-08-04 Paolo Bonzini <bonzini@gnu.org> * configure.ac: New name of... * configure.in: ... this file. From-SVN: r85551
2004-08-04Correct PR numbersZack Weinberg1-2/+2
From-SVN: r85547
2004-08-04dbxout.c (dbxout_function_decl): Always call dbxout_function_end.Zack Weinberg2-6/+18
* dbxout.c (dbxout_function_decl): Always call dbxout_function_end. (dbxout_function_end): Return after emitting the "Lscope" symbol under the same conditions that this function formerly wasn't called. Add explanatory comments. From-SVN: r85546
2004-08-04re PR target/14680 (reload_cse_simplify_operands triggers internal error on ↵Zack Weinberg2-2/+9
sparc64 when compiling netpbm) PR 14680 * c-decl.c (record_builtin_type): Call debug_hooks->type_decl on the new decl. From-SVN: r85545
2004-08-04re PR c++/13596 (value of __cplusplus)Zack Weinberg2-34/+76
PR 13596 * dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New functions, broken out of dbxout_block. (dbxout_block): The block at depth 0 should get LBRAC/RBRAC stabs too, if it contains symbols. Use the begin_label and the Lscope label (emitted by dbxout_function_end) for the range of this block. From-SVN: r85544
2004-08-04class.c (build_vtable): Do not set DECL_VISIBILITY here.Mark Mitchell11-160/+167
* class.c (build_vtable): Do not set DECL_VISIBILITY here. (check_field_decls): Or here. (check_methods): Or here. (initialize_array): Don't mess with DECL_CONTEXT. * cp-tree.h (start_decl): Adjust prototype. (determine_visibility): New function. * decl.c (duplicate_decls): Remove checks for hidden "operator new". (build_library_fn_1): Give all library functions default visibility. (start_decl): Add pop_scope_p parameter. Tidy. (cp_finish_decl): Do not pop scopes here. Call determine_visibility for variable definitions. (start_preparsed_function): Call determine_visibility. * decl2.c (determine_visibility): New function. * method.c (use_thunk): Fix formatting. * parser.c (cp_parser_condition): Adjust calls to start_decl. (cp_parser_init_declarator): Likewise. * pt.c (instantiate_decl): Always call pop_nested_class. * rtti.c (get_tinfo_decl): Do not set DECL_VISIBILITY. (tinfo_base_init): Likewise. * g++.dg/ext/visibility/assign1.C: New test. * g++.dg/ext/visibility/new1.C: Likewise. From-SVN: r85543
2004-08-04configure.in: Eliminate uses of changequote (mostly by quoting []).Nathanael Nerode3-137/+191
* configure.in: Eliminate uses of changequote (mostly by quoting []). Replace most top level 'dnl' comments with '#' comments, conforming to new autoconf style. Use AS_HELP_STRING throughout; improve a few help strings. * configure: Rebuilt. From-SVN: r85540
2004-08-03* gcc.dg/compat/struct-layout-1.exp: Fix error message typo.David Edelsohn2-1/+5
From-SVN: r85538
2004-08-04* doc/install.texi: Update autoconf version requirements.Nathanael Nerode2-3/+6
From-SVN: r85536
2004-08-04Daily bump.GCC Administrator2-2/+2
From-SVN: r85534
2004-08-03defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.Zack Weinberg6-29/+18
* defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition. * recog.c (general_operand, immediate_operand, nonmemory_operand) (asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P. * regclass.c (record_reg_classes): Likewise. * reload.c (find_reloads): Likewise. * reload1.c (reload): Likewise. From-SVN: r85512
2004-08-03gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args.Zack Weinberg16-88/+65
* gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args. Add third option, callback function for parsing program-specific options. Add diagnosis of incorrect number of input files. (init_md_reader): Fold into init_md_reader_args_cb. (init_md_reader_args): Now a thin wrapper around init_md_reader_args_cb. * gensupport.h: Update prototypes. * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c * genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c * genrecog.c: No need to diagnose lack of an input file; init_md_reader_args will handle it. * genconditions.c: Likewise, and use init_md_reader_args. * genconstants.c: Likewise, and no need to call read_md_rtx. From-SVN: r85511
2004-08-03c-decl.c (implicitly_declare): Diagnose incompatible implicit declarations.Joseph Myers5-0/+48
* c-decl.c (implicitly_declare): Diagnose incompatible implicit declarations. testsuite: * gcc.dg/redecl-5.c: New test. * gcc.dg/format/attr-6.c: Expect warning for implicit declaration of scanf. From-SVN: r85509
2004-08-03maintainer-scripts (snapshot_print): New function.Kelley Cook4-125/+102
2004-08-03 Kelley Cook <kcook@gcc.gnu.org> * maintainer-scripts (snapshot_print): New function. (announce_snapshot): Generate announcment on the fly. Use a directory link for LATEST. * snapshot-README: Delete. * snapshot-index.html: Delete. From-SVN: r85508
2004-08-03darwin-c.c: Don't search in "/Local/Library/Frameworks" for frameworks.Mike Stump3-3/+8
* config/darwin-c.c: Don't search in "/Local/Library/Frameworks" for frameworks. * doc/invoke.texi (Darwin Options): Update to reflect above. From-SVN: r85507
2004-08-03re PR middle-end/16790 (Integer down cast ignored in larger expression)Roger Sayle4-3/+55
PR middle-end/16790 * fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local truncations, not just global truncations. * gcc.c-torture/execute/pr16790-1.c: New test case. From-SVN: r85506
2004-08-03symbian1.c: New test.Mark Mitchell3-0/+26
* gcc.dg/symbian1.c: New test. * gcc.dg/symbian2.c: Likewise. From-SVN: r85505
2004-08-03re PR bootstrap/16865 (False alarm about use of uninitialized variable ↵Andrew Pinski2-2/+7
breaks bootstrap at -O3) 2004-08-03 Andrew Pinski <apinski@apple.com> PR bootstrap/16865 * loop-iv.c (simplify_using_assignment): Initialize lhs. From-SVN: r85504
2004-08-03configure.in: Check for MPFR as well as GMP.Paul Brook5-101/+170
* configure.in: Check for MPFR as well as GMP. * configure: Regenerate. * gcc/doc/install.texi: Document MPFR requirement. From-SVN: r85503
2004-08-03Revert bogus portion of previous commitNathanael Nerode2-64/+62
From-SVN: r85502
2004-08-03configure.in: Turn mt-linux into mt-gnu.Robert Millan8-84/+102
ChangeLog: 2004-08-01 Robert Millan <robertmh@gnu.org> * configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable libmudflap for all GNU-based systems (with Glibc). * configure: Regenerate. config/ChangeLog: 2004-08-01 Robert Millan <robertmh@gnu.org> * mt-linux: Rename to ... * mt-gnu: ... this. libffi/ChangeLog: 2004-08-01 Robert Millan <robertmh@gnu.org> * configure.ac: Detect knetbsd-gnu and kfreebsd-gnu. * configure: Regenerate. From-SVN: r85501
2004-08-03acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() ↵Maciej W. Rozycki3-4/+255
explicitly instead of relying on preset... 2004-07-30 Maciej W. Rozycki <macro@linux-mips.org> * acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly instead of relying on preset autoconf cache variables. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r85500
2004-08-03Remove spurious conflict markerNathanael Nerode1-1/+0
From-SVN: r85499