Arnaud Charlet
6891bd6c71
sync1.ads: Fix error now flagged by gnat.
...
* gnat.dg/sync1.ads: Fix error now flagged by gnat.
* gnat.dg/specs/limited1.ads: Ditto.
From-SVN: r146088
2009-04-15 11:04:56 +02:00
Rafael Avila de Espindola
3b482fca4f
class.c (build_vtbl_ref_1): Remove call to assemble_external.
...
2009-04-15 Rafael Avila de Espindola <espindola@google.com>
* class.c (build_vtbl_ref_1): Remove call to assemble_external.
* init.c (build_vtbl_address): Remove call to assemble_external.
From-SVN: r146087
2009-04-15 09:02:02 +00:00
Arnaud Charlet
e358346d5a
[multiple changes]
...
2009-04-15 Thomas Quinot <quinot@adacore.com>
* sem_warn.ads: Minor reformatting
2009-04-15 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb: better error message for illegal interfaces
* sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a
formal is an incomplete type from a limited_with clause.
From-SVN: r146086
2009-04-15 10:58:45 +02:00
Vincent Celier
a9872a59bb
prj-nmsc.adb (Locate_Directory): New Boolean parameter Externally_Built indicating if...
...
2009-04-15 Vincent Celier <celier@adacore.com>
* prj-nmsc.adb (Locate_Directory): New Boolean parameter
Externally_Built indicating if the project is externally built. If it
is, and --subdirs is specified, but the subdir does not exist, look
for the specified directory, without the subdir.
From-SVN: r146085
2009-04-15 10:57:23 +02:00
Arnaud Charlet
b8aadf012f
[multiple changes]
...
2009-04-15 Gary Dismukes <dismukes@adacore.com>
* a-tasatt.adb: Fix typo, plus minor reformatting
* sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide").
* sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible").
2009-04-15 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a
private extension whose parent is a synchronized interface carries an
explicit synchronized keyword.
From-SVN: r146084
2009-04-15 10:48:39 +02:00
Thomas Quinot
a808ba1bfb
exp_smem.adb (Make_Shared_Var_Procs): For a protected type...
...
2009-04-15 Thomas Quinot <quinot@adacore.com>
* exp_smem.adb (Make_Shared_Var_Procs): For a protected type,
instantiate generic shared object package with the corresponding
record type.
From-SVN: r146083
2009-04-15 10:47:44 +02:00
Arnaud Charlet
e0568eecc3
[multiple changes]
...
2009-04-15 Arnaud Charlet <charlet@adacore.com>
* system-linux-sparc.ads: Remove obsolete entries.
2009-04-15 Thomas Quinot <quinot@adacore.com>
* s-tasuti.ads: Add ??? comment
From-SVN: r146082
2009-04-15 10:42:31 +02:00
Ed Schonberg
28450a7525
sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access type even if...
...
2009-04-15 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access
type even if the designated type comes from a limited_with clause, to
ensure that the symbol for the finalization list of the access type is
created.
From-SVN: r146081
2009-04-15 10:37:21 +02:00
Danny Smith
4ff626092e
write.c (itoa): Rename back to gfc_itoa.
...
* io/write.c (itoa) : Rename back to gfc_itoa.
(write_i): Adjust call to write_decimal.
(write_integer): Use gfc_itoa.
From-SVN: r146079
2009-04-15 04:05:02 +00:00
Diego Novillo
dab71827a9
diagnostic.c (diagnostic_report_diagnostic): Do not warn about loaded plugins for DK_ERROR and DK_WARNING.
...
* diagnostic.c (diagnostic_report_diagnostic): Do not
warn about loaded plugins for DK_ERROR and DK_WARNING.
* c-decl.c (declspecs_add_type): Move call to
invoke_plugin_callbacks ...
* c-parser.c (c_parser_declspecs): ... here.
* plugin.c (dump_active_plugins): Tidy output.
cp/ChangeLog
* parser.c (cp_parser_type_specifier_seq): Move call to
invoke_plugin_callbacks ...
(cp_parser_type_specifier_seq): ... here.
From-SVN: r146078
2009-04-14 23:41:28 -04:00
Benjamin Kosnik
f86ce6015e
spine.xml: Remove unused license entity, update copyright year.
...
2009-04-14 Benjamin Kosnik <bkoz@redhat.com>
* doc/xml/spine.xml: Remove unused license entity, update
copyright year.
* doc/xml/manual/spine.xml: Markup for primary index terms.
* doc/xml/manual/numerics.xml: Same.
* doc/xml/manual/intro.xml: Same.
* doc/xml/manual/containers.xml: Same.
* doc/xml/manual/io.xml: Same.
* doc/xml/manual/appendix_porting.xml: Same.
* doc/xml/manual/utilities.xml: Same.
* doc/xml/manual/support.xml: Same.
* doc/xml/manual/localization.xml: Same.
* doc/xml/manual/strings.xml: Same.
* doc/xml/manual/extensions.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/diagnostics.xml: Same.
* doc/xml/manual/algorithms.xml: Same.
* doc/xml/manual/appendix_free.xml: Same.
* doc/xml/manual/iterators.xml: Same.
* doc/xml/gnu/gpl-3.0.xml: Fix xml markup regressions.
* doc/xml/gnu/fdl-1.2.xml: Same.
* doc/xml/manual/status_cxx200x.xml: Re-write.
From-SVN: r146077
2009-04-15 03:11:37 +00:00
GCC Administrator
1d3f2ffc69
Daily bump.
...
From-SVN: r146075
2009-04-15 00:17:09 +00:00
Michael Meissner
1a6504230a
re PR testsuite/39769 (vmx tests fail due to reliance on floating point equality)
...
PR testsuite/39769
From-SVN: r146068
2009-04-14 22:55:52 +00:00
Daniel Jacobowitz
6cd1d2e205
rs6000.c (rs6000_dwarf_register_span): Fix debug output for other floating point modes.
...
* config/rs6000/rs6000.c (rs6000_dwarf_register_span): Fix debug
output for other floating point modes.
From-SVN: r146060
2009-04-14 20:19:54 +00:00
Diego Novillo
68a607d814
[multiple changes]
...
2009-04-14 Diego Novillo <dnovillo@google.com>
Le-Chun Wu <lcwu@google.com>
* configure.ac: Add --enable-plugin support.
Define ENABLE_PLUGIN and PLUGINLIBS when specified.
* Makefile.in (PLUGIN_H): Define.
Export ENABLE_PLUGIN and GMPINC to site.exp.
Add PLUGINLIBS to link command.
Add/modify dependencies for plugin.o and files including plugin.h.
(plugin.o): New.
* config.in: Regenerate.
* opts.c (common_handle_option): Handle OPT_fplugin_ and
OPT_fplugin_arg_.
2009-04-14 Le-Chun Wu <lcwu@google.com>
* tree-pass.h (register_one_dump_file): Add a prototype for
register_one_dump_file.
* toplev.c (compile_file): Call initialize_plugins.
(do_compile): Call invoke_plugin_callbacks.
(toplev_main): Call invoke_plugin_callbacks.
* common.opt: Add -fplugin= and -fplugin-arg-.
* gcc-plugin.h: New public header file for plugins to include.
* plugin.c: New source file.
* plugin.h: New internal header file.
* passes.c (register_one_dump_file): Make it external.
* c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks.
2009-04-14 Diego Novillo <dnovillo@google.com>
* doc/plugins.texi: New.
* doc/gccint.texi: Add reference to Plugins chapter.
* doc/invoke.texi: Document -fplugin and -fplugin-arg
* diagnostic.c (diagnostic_report_diagnostic): Warn about
loaded plugins, if any.
* timevar.def (TV_PLUGIN_INIT): Define.
(TV_PLUGIN_RUN): Define.
* plugin.c: Include timevar.h
(plugins_active_p): New.
(dump_active_plugins): New.
(debug_active_plugins): New.
cp/ChangeLog
2009-04-14 Le-Chun Wu <lcwu@google.com>
* Make-lang.in: Modify dependencies of files including plugin.h.
* decl.c (finish_function): Call invoke_plugin_callbacks.
* parser.c (cp_parser_type_specifier): Call invoke_plugin_callbacks.
From-SVN: r146059
2009-04-14 16:18:49 -04:00
Joseph Myers
5061725708
sol2.h (LINK_ARCH32_SPEC_BASE): Use %R with absolute library paths.
...
* config/sol2.h (LINK_ARCH32_SPEC_BASE): Use %R with absolute
library paths.
* config/sparc/sol2-bi.h (LINK_ARCH64_SPEC_BASE): Likewise.
From-SVN: r146057
2009-04-14 20:56:27 +01:00
Eli Zaretskii
01459fb584
configure.ac (setobjs, msdosdjgpp): Move a-priori setting of existing and required library functions to...
...
* configure.ac (setobjs, msdosdjgpp): Move a-priori setting of
existing and required library functions to with_target_subdir
section, so that the native build does detect them at configure
time.
* configure: Regenerated.
From-SVN: r146056
2009-04-14 13:46:29 -04:00
Kazu Hirata
b32f6fffc9
arm.c (arm_rtx_costs_1): Treat a minus with a shift the same as a minus without a shift.
...
* config/arm/arm.c (arm_rtx_costs_1): Treat a minus with a shift
the same as a minus without a shift.
From-SVN: r146055
2009-04-14 17:30:37 +00:00
Jason Merrill
f9b20c620a
re PR c++/39763 (-Wshadow reports shadowed declarations for parameters of unnamed temp objects)
...
PR c++/39763
* name-lookup.c (pushdecl_maybe_friend): Avoid all warnings
about shadowing by tentative parms.
From-SVN: r146053
2009-04-14 13:04:04 -04:00
Nick Clifton
85d04fa2c8
stormy16.md (ineqbranch_1): Do not assume that comparisons with small integers will always produce a short...
...
* config/stormy16/stormy16.md (ineqbranch_1): Do not assume that
comparisons with small integers will always produce a short
branch.
From-SVN: r146039
2009-04-14 15:16:50 +00:00
Rafael Avila de Espindola
e495a0c84d
[multiple changes]
...
2009-04-14 Rafael Avila de Espindola <espindola@google.com>
Merge:
2008-12-19 Diego Novillo <dnovillo@google.com>
* cgraph.c (dump_cgraph_node): Show memory address of NODE.
From-SVN: r146036
2009-04-14 13:54:41 +00:00
Richard Guenther
587aa06343
tree-cfg.c (verify_gimple_assign_unary): Adjust vector code verification.
...
2000-04-14 Richard Guenther <rguenther@suse.de>
* tree-cfg.c (verify_gimple_assign_unary): Adjust vector code
verification.
(verify_gimple_assign_binary): Likewise. Handle shifts and
rotates correctly.
(verify_gimple_phi): Print the mismatched argument position.
* tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
Fix types.
(vect_update_init_of_dr): Likewise.
* matrix-reorg.c (transform_access_sites): Do what the
comment suggests.
* omp-low.c (expand_omp_atomic_pipeline): Use the correct types.
From-SVN: r146035
2009-04-14 13:50:18 +00:00
Uros Bizjak
58277f4892
pr39740.c (dg-options): Add -mexplicit-relocs.
...
* gcc.target/alpha/pr39740.c (dg-options): Add -mexplicit-relocs.
(do_D): Remove attribute hidden.
From-SVN: r146031
2009-04-14 12:36:34 +02:00
Jakub Jelinek
50e8c6d283
* gennews (files): Reference GCC 4.4 web pages.
...
From-SVN: r146026
2009-04-14 11:56:38 +02:00
Jakub Jelinek
309c24a90d
configure.ac: Change copyright header to refer to version 3 of the GNU General Public License...
...
* configure.ac: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* Makefile.def: Likewise.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.
From-SVN: r146023
2009-04-14 10:50:26 +02:00
GCC Administrator
6c1ad72ac4
Daily bump.
...
From-SVN: r146019
2009-04-14 00:16:45 +00:00
Michael Eager
9eca177408
Add configuration-specific options for --target=powerpc-xilinx-eabi.
...
From-SVN: r146016
2009-04-13 22:49:18 +00:00
Dwarakanath Rajagopal
b0e2d00839
ipa-inline.c (cgraph_decide_inlining_of_small_function): Dump ...
...
2009-04-13 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* ipa-inline.c (cgraph_decide_inlining_of_small_function): Dump
file_name:line_number type locator of the call site.
From-SVN: r146014
2009-04-13 21:29:01 +00:00
Jason Merrill
82e738a541
fix changelog dates
...
From-SVN: r146012
2009-04-13 16:55:37 -04:00
Jason Merrill
15237f9a89
re PR c++/39480 (generated memcpy causes trouble in assignment)
...
PR c++/39480
* call.c (build_over_call): Don't call memcpy if the target is
the same as the source.
From-SVN: r146011
2009-04-13 16:53:34 -04:00
Vladimir Makarov
1244a8b735
genautomata.c: Put blank after comma.
...
2009-04-13 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c: Put blank after comma.
(automaton_decls): New.
(struct unit_usage): Add comments to member next.
(store_alt_unit_usage): Keep the list ordered.
(unit_present_on_list_p, equal_alternatives_p): New.
(check_regexp_units_distribution): Check units distribution
correctness correctly.
(main): Don't write automata if error is found. Return correct
exit code.
* config/m68k/cf.md (cfv4_ds): Remove.
(cfv4_pOEP1, cfv4_sOEP1, cfv4_pOEP2,cfv4_sOEP2, cfv4_pOEP3,
cfv4_sOEP3): Assign to cfv4_oep instead of cfv4_ds.
* config/rs6000/power4.md (lsuq_power4, iq_power4, fpq_power4,
power4-load-ext, power4-store, power4-store-update,
power4-fpstore, power4-fpstore-update, power4-two, power4-three,
power4-insert, power4-compare, power4-lmul-cmp, power4-imul-cmp,
power4-lmul, , power4-imul, power4-imul3, power4-sdiv,
power4-sqrt, power4-isync): Modify reservation to make correct
unit distribution to automata.
* config/rs6000/power5.md (iq_power5, fpq_power5, power5-store,
power5-store-update, power5-two, power5-three, power5-lmul,
power5-imul, power5-imul3, power5-sdiv, power5-sqrt): Ditto.
From-SVN: r146010
2009-04-13 20:02:41 +00:00
H.J. Lu
1b1c508f21
re PR testsuite/39733 (gcc.misc-tests/help.exp doesn't work with multilib)
...
2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/39733
* gcc.misc-tests/options.exp (check_for_options): Renamed to ...
(check_for_all_options): This.
From-SVN: r146009
2009-04-13 12:42:26 -07:00
Jason Merrill
c1b93f2b52
re PR c++/39750 (ICE in uses_template_parms, at cp/pt.c:6332)
...
PR c++/39750
* pt.c (uses_template_parms): Handle CONSTRUCTOR.
From-SVN: r146006
2009-04-13 14:54:40 -04:00
Adam Nemet
f7dd18640e
except.c (pass_set_nothrow_function_flags): Set name and add TODO_dump_func.
...
* except.c (pass_set_nothrow_function_flags): Set name and add
TODO_dump_func.
(set_nothrow_function_flags): Mention in the dump file when
changing a function to nothrow.
From-SVN: r146003
2009-04-13 14:51:30 +00:00
Paolo Carlini
a5d8781c69
2009-04-13 Paolo Carlini <paolo.carlini@oracle.com>
...
* ChangeLog rotation.
From-SVN: r146002
2009-04-13 14:41:54 +00:00
Ozkan Sezer
92c3e7043a
re PR target/39397 (libiberty/pex-*, inconsistent/incorrect pid_t usage)
...
2009-04-13 Ozkan Sezer <sezeroz@gmail.com>
PR target/39397
* pex-common.h (struct pex_obj): Store pid values as pid_t,
not as long (members *children and (*wait))
* pex-common.c (pex_run_in_environment): Likewise.
* pex-win32.c (pex_win32_wait): Return pid_t and properly check
returned pid value.
* pex-djgpp.c (pex_djgpp_wait): Return pid_t.
* pex-msdos.c (pex_msdos_wait): Likewise.
From-SVN: r146001
2009-04-13 12:45:58 +02:00
Ozkan Sezer
266aa80543
re PR other/39062 (libssp/ssp.c needs malloc.h for mingw)
...
2009-04-13 Ozkan Sezer <sezeroz@gmail.com>
PR target/39062
* ssp.c: Also include malloc.h for alloca(). MinGW needs it.
* configure.ac: Also check for malloc.h.
* configure: Regenerated.
* config.h.in: Regenerated.
From-SVN: r146000
2009-04-13 12:37:17 +02:00
Ozkan Sezer
59a1171ffc
gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__ instead of unsigned long.
...
2009-04-13 Ozkan Sezer <sezeroz@gmail.com>
PR/39066
* gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Use __SIZE_TYPE__
instead of unsigned long.
From-SVN: r145999
2009-04-13 12:11:48 +02:00
Ramana Radhakrishnan
934c2060de
arm.c (return_used_this_function): Remove.
...
2009-04-13 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (return_used_this_function): Remove.
(arm_output_function_prologue): Remove use of
return_used_this_function.
(output_return_instruction): Replace use of
return_used_this_function
by cfun->machine->return_used_this_function.
(arm_output_epilogue): Likewise.
(arm_output_function_epilogue): Likewise.
(thumb_unexpanded_epilogue): Likewise.
* config/arm/arm.h (struct machine_function):
New member return_used_this_function.
From-SVN: r145997
2009-04-13 08:25:55 +00:00
Mark Mitchell
ae5cc01695
install.texi: Correct description of default directory for --with-gxx-include-dir.
...
* doc/install.texi: Correct description of default directory for
--with-gxx-include-dir.
From-SVN: r145996
2009-04-13 04:50:06 +00:00
Jason Merrill
0f8a770633
re PR c++/39742 (ice in C++ overload resolution)
...
PR c++/39742
* call.c (joust): Don't crash on variadic fn.
From-SVN: r145994
2009-04-13 00:04:58 -04:00
GCC Administrator
6312fca0d9
Daily bump.
...
From-SVN: r145993
2009-04-13 00:16:54 +00:00
Joseph Myers
18f41a1b45
re PR preprocessor/31869 (stringifying empty macros)
...
libcpp:
PR preprocessor/31869
* macro.c (stringify_arg): Handle NULL source token in padding
token where previous padding token did not have source token with
preceding whitespace.
gcc/testsuite:
* gcc.dg/cpp/strify5.c: New test.
From-SVN: r145989
2009-04-12 23:20:02 +01:00
Eric Botcazou
849d624b4a
fold-const.c (build_range_check): Properly deal with enumeral and boolean base types.
...
* fold-const.c (build_range_check): Properly deal with enumeral and
boolean base types.
From-SVN: r145988
2009-04-12 21:39:39 +00:00
Steven Bosscher
3906a4a1bc
invoke.texi (max_gcse_passes): Remove documentation.
...
* doc/invoke.texi (max_gcse_passes): Remove documentation.
* params.def (PARAM_MAX_GCSE_PASSES): Remove.
* params.h (MAX_GCSE_PASSES): Remove.
* gcse.c (gcse_main): Run CPROP1, PRE or HOIST, and CPROP2
in sequence. Remove ability to run multiple passes.
(bypass_jumps): Report run as third CPROP pass.
From-SVN: r145987
2009-04-12 19:43:46 +00:00
Adam Nemet
efaadb930b
re PR middle-end/39651 (New cleanup test failures)
...
PR middle-end/39651
* except.c (can_throw_external): Look at each insn in a SEQUENCE
when deciding whether the whole SEQUENCE can throw.
From-SVN: r145986
2009-04-12 19:36:50 +00:00
Uros Bizjak
4c48007b43
re PR target/39740 (unrecognizable insn on alpha using -O3 and -std=c99)
...
2009-04-12 Uros Bizjak <ubizjak@gmail.com>
PR target/39740
* config/alpha/predicates.md (local_symbolic_operand): Return 1 for
offseted label references.
testsuite/ChangeLog:
PR target/39740
* gcc.target/alpha/pr39740.c: New test.
From-SVN: r145985
2009-04-12 20:55:25 +02:00
GCC Administrator
4de43cbedd
Daily bump.
...
From-SVN: r145972
2009-04-12 00:17:01 +00:00
Jan Hubicka
b41040182a
* tree-ssa-pre.c (eliminate): Fix call of update_stmt.
...
From-SVN: r145961
2009-04-11 18:20:43 +00:00
Daniel Kraft
cadb8f4246
re PR fortran/37746 (bounds check of string dummy arguments)
...
2009-04-11 Daniel Kraft <d@domob.eu>
PR fortran/37746
* gfortran.h (struct gfc_charlen): New field `passed_length' to store
the actual passed string length for dummy arguments.
* trans-decl.c (gfc_create_string_length): Formatting fixes and added
assertion, moved a local variable into the innermost block it is needed.
(create_function_arglist): Removed TODO about the check being
implemented and initialize cl->passed_length here.
(add_argument_checking): New method.
(gfc_generate_function_code): Call the argument checking method.
2009-04-11 Daniel Kraft <d@domob.eu>
PR fortran/37746
* gfortran.dg/bounds_check_strlen_1.f90: New test.
* gfortran.dg/bounds_check_strlen_2.f90: New test.
* gfortran.dg/bounds_check_strlen_3.f90: New test.
* gfortran.dg/bounds_check_strlen_4.f90: New test.
* gfortran.dg/bounds_check_strlen_5.f90: New test.
* gfortran.dg/bounds_check_strlen_6.f90: New test.
* gfortran.dg/bounds_check_strlen_7.f90: New test.
* gfortran.fortran-torture/execute/intrinsic_index.f90: Fix wrong
expected string length that failed with -fbounds-check now.
* gfortran.fortran-torture/execute/intrinsic_trim.f90: Ditto.
From-SVN: r145958
2009-04-11 18:44:37 +02:00