OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago PR preprocessor/41067:
tromey [Mon, 17 Aug 2009 17:34:53 +0000 (17:34 +0000)]
PR preprocessor/41067:
* charset.c (convert_escape): Add missing ":" to error text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150854 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Andrew Haley <aph@redhat.com>
aph [Mon, 17 Aug 2009 17:30:10 +0000 (17:30 +0000)]
2009-08-17  Andrew Haley  <aph@redhat.com>

        * Makefile.am (libgcj_bc_la_LIBADD): Delete.
        * libgcj.spec.in: (LIBGCJ_BC_SPEC): New spec.
        * configure.ac (LIBGCJ_BC_SPEC): New spec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150853 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * lib/target-supports.exp
uros [Mon, 17 Aug 2009 17:01:53 +0000 (17:01 +0000)]
* lib/target-supports.exp
(check_effective_target_vect_cmdline_needed):: Add alpha to the list
of targets that do not need command line argument to enable SIMD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150852 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * lib/target-supports.exp (check_effective_target_mpc_pow): Fix
ghazi [Mon, 17 Aug 2009 16:44:00 +0000 (16:44 +0000)]
* lib/target-supports.exp (check_effective_target_mpc_pow): Fix
typo in cache name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150851 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/alpha/alpha.c (vms_valid_pointer_mode): New function.
rupp [Mon, 17 Aug 2009 16:22:48 +0000 (16:22 +0000)]
* config/alpha/alpha.c (vms_valid_pointer_mode): New function.
* config/alpha/vms.h (TARGET_VALID_POINTER_MODE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150849 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * inclhack.def (aix_complex): Redefine _Complex_I. Do not
dje [Mon, 17 Aug 2009 15:22:04 +0000 (15:22 +0000)]
    * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
        redefine I.
        * (aix_stdint_[12345]): New fixes.
        * fixincl.x: Regenerate.
        * tests/base/complex.h: Update check.
        * tests/base/stdint.h: Add AIX stdint.h checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150846 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 17 Aug 2009 14:40:40 +0000 (14:40 +0000)]
2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41075
* gfortran.dg/unlimited_fmt_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150845 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 17 Aug 2009 14:27:29 +0000 (14:27 +0000)]
2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41075
* io/io.h (enum format_token): Add FMT_STAR.
* io/format.c (format_lex): Add case for FMT_STAR.
(parse_format_list): Parse FMT_STAR and check for left paren
after. (next_format0): Modify helper function to check for
unimited format and return the repeated format node.  Update
comments to clarify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150844 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 17 Aug 2009 14:25:38 +0000 (14:25 +0000)]
2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41075
* scanner.c (gfc_next_char_literal): Add comment to improve
readability.
* io.c (enum format_token): Add FMT_STAR. (format_lex): Add case
for '*'. (check_format): Check for left paren after '*'.  Change
format checks to use %L to improve format string error locus.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150843 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant.
gerald [Mon, 17 Aug 2009 12:08:20 +0000 (12:08 +0000)]
* s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant.
(stack_t): New record type.
(sigaltstack): New imported function.
(Alternate_Stack): New imported variable.
(Alternate_Stack_Size): New constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150840 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-16 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 17 Aug 2009 11:03:59 +0000 (11:03 +0000)]
2009-08-16  Richard Guenther  <rguenther@suse.de>

* decl.c (build_ptrmemfunc_type): Keep variant chain intact.
Avoid useless copy.
(finish_enum): Keep variant chain intact.
* tree.c (cp_build_reference_type): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150839 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Vasiliy Fofanov <fofanov@adacore.com>
charlet [Mon, 17 Aug 2009 10:33:58 +0000 (10:33 +0000)]
2009-08-17  Vasiliy Fofanov  <fofanov@adacore.com>

* a-calend-vms.adb: Fix typo.

2009-08-17  Tristan Gingold  <gingold@adacore.com>

* s-taprop-posix.adb: Round up the stack size to avoid failure on
Darwin.

2009-08-17  Gary Dismukes  <dismukes@adacore.com>

* sem_cat.adb (Validate_Static_Object_Name): Update comment.

2009-08-17  Vincent Celier  <celier@adacore.com>

* make.adb (Arguments_Collected): Unneeded, removed
(Change_To_Object_Directory): Use Project directly. Add pragma Assert to
ensure caller does not pass in No_Project.
(Compile): Add new parameter Project. Let procedure
Collect_Arguments_And_Compile provide the proper value.

* switch-c.adb: Add documentation for -gnatea and -gnatez

2009-08-17  Ben Brosgol  <brosgol@adacore.com>

* gnat_ugn.texi: Changed name of package in SAL example, to avoid
clash with Ada 2005 reserved word (interface).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150838 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Robert Dewar <dewar@adacore.com>
charlet [Mon, 17 Aug 2009 10:30:39 +0000 (10:30 +0000)]
2009-08-17  Robert Dewar  <dewar@adacore.com>

* a-crbtgk.adb, a-crdlli.adb, a-direct.adb:
Minor code reorganization (use conditional expressions)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150837 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Andrew Haley <aph@redhat.com>
aph [Mon, 17 Aug 2009 10:29:59 +0000 (10:29 +0000)]
2009-08-17  Andrew Haley  <aph@redhat.com>

* Makefile.in,
include/Makefile.in,
testsuite/Makefile.in,
gcj/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150836 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoUnbreak testsuite/gcc.dg/debug/dwarf2/inline2.c
dodji [Mon, 17 Aug 2009 10:18:16 +0000 (10:18 +0000)]
Unbreak testsuite/gcc.dg/debug/dwarf2/inline2.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150835 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Robert Dewar <dewar@adacore.com>
charlet [Mon, 17 Aug 2009 10:09:55 +0000 (10:09 +0000)]
2009-08-17  Robert Dewar  <dewar@adacore.com>

* a-caldel-vms.adb, a-calend-vms.adb, a-calfor.adb, a-cdlili.adb,
a-chahan.adb, a-cidlli.adb, a-coinve.adb, a-comlin.adb: Minor code
reorganization (use conditional expressions).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150834 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Robert Dewar <dewar@adacore.com>
charlet [Mon, 17 Aug 2009 10:00:43 +0000 (10:00 +0000)]
2009-08-17  Robert Dewar  <dewar@adacore.com>

* tbuild.adb: Minor reformatting

2009-08-17  Thomas Quinot  <quinot@adacore.com>

* exp_ch4.adb (Exp_Ch4.Expand_N_Slice.Make_Temporary): Rename to
Make_Temporary_For_Slice to avoid confusion with Tbuild.Make_Temporary.
Use Tbuild.Make_Temporary to create entity for the temporary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150832 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Robert Dewar <dewar@adacore.com>
charlet [Mon, 17 Aug 2009 09:59:04 +0000 (09:59 +0000)]
2009-08-17  Robert Dewar  <dewar@adacore.com>

* make.adb: Add ??? comment.
Code clean up.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150831 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Thomas Quinot <quinot@adacore.com>
charlet [Mon, 17 Aug 2009 09:52:27 +0000 (09:52 +0000)]
2009-08-17  Thomas Quinot  <quinot@adacore.com>

* tbuild.adb: Minor reformatting

2009-08-17  Hristian Kirtchev  <kirtchev@adacore.com>

* sysdep.c (__gnat_localtime_tzoff): Complete previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150830 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Arnaud Charlet <charlet@adacore.com>
charlet [Mon, 17 Aug 2009 09:50:19 +0000 (09:50 +0000)]
2009-08-17  Arnaud Charlet  <charlet@adacore.com>

* make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change
and ignore -mieee switch to avoid spawning an extra gcc in this case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150829 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Ed Schonberg <schonberg@adacore.com>
charlet [Mon, 17 Aug 2009 09:45:27 +0000 (09:45 +0000)]
2009-08-17  Ed Schonberg  <schonberg@adacore.com>

* exp_ch3.adb (Build_Discriminant_Formals): If the discriminals already
exist, as is the case for synchronized types, use the type of the
discriminal in the parameter specification, to prevent a spurious
subtype mismatch in gigi.

2009-08-17  Robert Dewar  <dewar@adacore.com>

* prj-env.adb: Minor reformatting
* make.adb: Minor reformatting
Comment updates

2009-08-17  Javier Miranda  <miranda@adacore.com>

* exp_ch7.adb (Wrap_Transient_Expression): Update comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150828 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Emmanuel Briot <briot@adacore.com>
charlet [Mon, 17 Aug 2009 09:42:19 +0000 (09:42 +0000)]
2009-08-17  Emmanuel Briot  <briot@adacore.com>

* prj-part.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-conf.adb
(Processing_Flags.Require_Obj_Dirs): new field, which controls whether
object directories must be present. In the case of gprclean at least,
these are optional (if they do not exist there is nothing to clean)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150827 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Robert Dewar <dewar@adacore.com>
charlet [Mon, 17 Aug 2009 09:35:50 +0000 (09:35 +0000)]
2009-08-17  Robert Dewar  <dewar@adacore.com>

* prj-env.adb: Minor reformatting
* sem_ch3.adb: Minor reformatting

2009-08-17  Hristian Kirtchev  <kirtchev@adacore.com>

* sysdep.c (__gnat_localtime_tzoff): VxWorks case - Flip the sign of
the time zone since VxWorks chose positive values to represent west
time zones and negative for east zones.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150826 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoNew test.
charlet [Mon, 17 Aug 2009 09:30:32 +0000 (09:30 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150825 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Ed Schonberg <schonberg@adacore.com>
charlet [Mon, 17 Aug 2009 09:28:48 +0000 (09:28 +0000)]
2009-08-17  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb (Access_Definition): Do not create an Itype reference for
an anonymous access type whose designated type is generic.

2009-08-17  Arnaud Charlet  <charlet@adacore.com>

* comperr.adb (Compiler_Abort): Do not generate a bug box when in
codepeer mode, friendlier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150824 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 17 Aug 2009 09:11:00 +0000 (09:11 +0000)]
2009-08-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40877
* array.c (gfc_resolve_character_array_constructor): Add NULL argument
to gfc_new_charlen.
* decl.c (add_init_expr_to_sym,variable_decl,match_char_spec,
gfc_match_implicit): Ditto.
* expr.c (simplify_const_ref): Fix memory leak.
(gfc_simplify_expr): Add NULL argument to gfc_new_charlen.
* gfortran.h (gfc_new_charlen): Modified prototype.
* iresolve.c (check_charlen_present,gfc_resolve_char_achar): Add NULL
argument to gfc_new_charlen.
* module.c (mio_charlen): Ditto.
* resolve.c (gfc_resolve_substring_charlen,
gfc_resolve_character_operator,fixup_charlen): Ditto.
(resolve_fl_derived,resolve_symbol): Add argument to gfc_charlen.
* symbol.c (gfc_new_charlen): Add argument 'old_cl' (to make a copy of
an existing charlen).
(gfc_set_default_type,generate_isocbinding_symbol): Fix memory leak.
(gfc_copy_formal_args_intr): Add NULL argument to gfc_new_charlen.
* trans-decl.c (create_function_arglist): Fix memory leak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150823 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config.sub, config.guess: Update from upstream sources.
bje [Mon, 17 Aug 2009 04:09:01 +0000 (04:09 +0000)]
* config.sub, config.guess: Update from upstream sources.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150822 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.target/mips/mips.exp: Add terminology section to comment
nemet [Mon, 17 Aug 2009 01:34:14 +0000 (01:34 +0000)]
* gcc.target/mips/mips.exp: Add terminology section to comment
at the top of the file.  Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150821 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Mon, 17 Aug 2009 00:16:39 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150820 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-17 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 16 Aug 2009 22:36:13 +0000 (22:36 +0000)]
2009-08-17  Richard Guenther  <rguenther@suse.de>

* trans-expr.c (gfc_trans_scalar_assign): Replace hack with
more proper hack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150817 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoAdding the missing ".c".
hjl [Sun, 16 Aug 2009 20:07:14 +0000 (20:07 +0000)]
Adding the missing ".c".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150811 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoIdentical options to Alpha/VMS. Committed as obvious.
rupp [Sun, 16 Aug 2009 19:23:44 +0000 (19:23 +0000)]
Identical options to Alpha/VMS. Committed as obvious.

* doc/invoke.texi (Target options):
Add new option list for IA-64/VMS.
(menu): Add IA-64/VMS Options.
(IA-64/VMS Options): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150808 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL
jason [Sun, 16 Aug 2009 17:42:56 +0000 (17:42 +0000)]
Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL
and VAR_DECL, so mark_used only has effect the first time.
* decl2.c (mark_used): Just return if TREE_USED is already set.
Don't set TREE_USED if cp_unevaluated_operand is set.
(tree_used_ok): New fn.
* init.c (build_offset_ref): Check it instead of TREE_USED.
* call.c (build_call_a): Likewise.
* cp-tree.h: Declare it.
(DECL_NO_LINKAGE_CHECKED): No longer needed.
(struct lang_decl_base): Remove no_linkage_checked bitfield.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150807 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * decl2.c (finish_static_data_member_decl): Don't set TREE_USED.
jason [Sun, 16 Aug 2009 17:42:48 +0000 (17:42 +0000)]
* decl2.c (finish_static_data_member_decl): Don't set TREE_USED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150806 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * decl2.c (mark_used): It's ok to synthesize for default args now.
jason [Sun, 16 Aug 2009 17:42:41 +0000 (17:42 +0000)]
* decl2.c (mark_used): It's ok to synthesize for default args now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150805 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/
rsandifo [Sun, 16 Aug 2009 17:30:45 +0000 (17:30 +0000)]
gcc/
PR target/38599
* config/mips/mips.md (*lwxs): Use :P for pointer values.

gcc/testsuite/
PR target/38599
* gcc.target/mips/smartmips-lwxs.c: Remove -mlong32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150804 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/
rsandifo [Sun, 16 Aug 2009 17:25:23 +0000 (17:25 +0000)]
gcc/
* config/mips/mips-protos.h (mips_push_asm_switch): New function.
(mips_pop_asm_switch): Likewise.
* config/mips/mips.c (set_noreorder, set_nomacro, set_noat): Replace
with...
(mips_noreorder, mips_nomacro, mips_noat): ...these new variables.
(mips_push_asm_switch_1, mips_pop_asm_switch_1): New functions.
(mips_push_asm_switch, mips_pop_asm_switch): Likewise.
(mips_print_operand_punctuation): Use them.  Check mips_noreorder
instead of set_noreorder.
(mips_output_function_prologue): Use the new functions.
(mips_output_function_epilogue): Likewise.
(mips_need_noat_wrapper_p): New function, split out from...
(mips_final_prescan_insn, mips_final_postscan_insn): ...here.
Use mips_push_asm_switch and mips_pop_asm_switch.
* config/mips/mips.h (FUNCTION_PROFILER): Use mips_push_asm_switch
and mips_pop_asm_switch.
(ASM_OUTPUT_REG_POP): Likewise.
(DBR_OUTPUT_SEQEND): Remove boilerplate comment.
Use mips_pop_asm_switch.
(mips_asm_switch): New structure.
(set_noreorder, set_nomacro): Replace with...
(mips_noreorder, mips_nomacro, mips_noat): ...these new variables.
* config/mips/mips.md (fix_truncdfsi2_macro): Use mips_nomacro
instead of set_nomacro.
(fix_truncsfsi2_macro): Likewise.
(cprestore): Likewise.
(hazard): Use mips_noreorder instead of set_noreorder.
* config/mips/sdemtk.h (FUNCTION_PROFILER): As for mips.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150803 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/alpha/alpha.c (alpha_and_function): Handle NULL_RTX returned
uros [Sun, 16 Aug 2009 17:00:30 +0000 (17:00 +0000)]
* config/alpha/alpha.c (alpha_and_function): Handle NULL_RTX returned
from prev_active_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150802 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/avr/avr.h (AVR_HAVE_8BIT_SP): New macros.
aesok [Sun, 16 Aug 2009 16:22:59 +0000 (16:22 +0000)]
* config/avr/avr.h (AVR_HAVE_8BIT_SP): New macros.
* config/avr/avr.c (avr_override_options): Initialize
avr_current_arch variable.
(avr_cpu_cpp_builtins): Define __AVR_HAVE_8BIT_SP__ or
__AVR_HAVE_16BIT_SP__ according to the device type.
(expand_prologue, output_movhi): Use AVR_HAVE_8BIT_SP instead of
TARGET_TINY_STACK.
(expand_epilogue): Use correct QI mode frame pointer for tiny stack.
Use AVR_HAVE_8BIT_SP instead of TARGET_TINY_STACK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150801 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoSync toplevel from src and merge.
rwild [Sun, 16 Aug 2009 15:09:13 +0000 (15:09 +0000)]
Sync toplevel from src and merge.

/:
Sync from src, merge:

2009-07-02  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Do not exclude gas for i386-*-darwin.
Add a case for x86_64-*-darwin.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150800 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoSync config/ChangeLog from src.
rwild [Sun, 16 Aug 2009 12:47:57 +0000 (12:47 +0000)]
Sync config/ChangeLog from src.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150799 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoMention PR number in my previous commit
dodji [Sun, 16 Aug 2009 09:12:21 +0000 (09:12 +0000)]
Mention PR number in my previous commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150798 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix for PR debug/37801
dodji [Sun, 16 Aug 2009 09:02:25 +0000 (09:02 +0000)]
Fix for PR debug/37801

gcc/ChangeLog:
* gcc/dwarf2out.c (gen_inlined_subroutine_die): Concentrate on
generating inlined subroutine die only. We shouldn't be
called for anything else.
(gen_block_die): Don't generate inline subroutine debug info for
abstract blocks.

gcc/testsuite/ChangeLog:
* gcc/testsuite/gcc.dg/debug/20020224-1.c: Adjust the comment.
Make sure to trigger inlining optimizations.
* gcc/testsuite/gcc.dg/debug/dwarf2/inline2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150796 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sun, 16 Aug 2009 00:16:54 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150795 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-15 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 15 Aug 2009 20:51:55 +0000 (20:51 +0000)]
2009-08-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41080
        * gfortranspec.c (lookup_option): Remove gfortran-specific
        version of -dumpversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150792 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoPrint PBB index.
spop [Sat, 15 Aug 2009 07:12:08 +0000 (07:12 +0000)]
Print PBB index.

2009-08-15  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-poly.c (print_pbb): Print PBB index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150790 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoCorrect the use of ppl_Pointset_Powerset_C_Polyhedron_maximize.
spop [Sat, 15 Aug 2009 07:10:20 +0000 (07:10 +0000)]
Correct the use of ppl_Pointset_Powerset_C_Polyhedron_maximize.

2009-08-15  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/40981
* graphite-interchange.c (ppl_max_for_le): Moved...
* graphite-poly.c (pbb_number_of_iterations): Call ppl_max_for_le.
* graphite-ppl.c (ppl_max_for_le): ... here.  Correct the use of
ppl_Pointset_Powerset_C_Polyhedron_maximize.
* graphite-ppl.h (ppl_max_for_le): Declared.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150789 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agolibstdc++-v3/
rwild [Sat, 15 Aug 2009 07:02:33 +0000 (07:02 +0000)]
libstdc++-v3/
* configure.ac: Move guarded checks for CC and CXX ...
* acinclude.m4 (GLIBCXX_CONFIGURE): ... from here.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150788 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sat, 15 Aug 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150786 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Edward Smith-Rowland <3dw4rd@verizon.net>
paolo [Fri, 14 Aug 2009 23:33:27 +0000 (23:33 +0000)]
2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/41061
* include/bits/random.h (operator<<(std::basic_ostream<>&,
const std::lognormal_distribution<>&),
operator>>(std::basic_istream<>&, std::lognormal_distribution<>&),
operator<<(std::basic_ostream<>&, const std::gamma_distribution<>&),
operator>>(std::basic_istream<>&, std::gamma_distribution<>&),
operator<<(std::basic_ostream<>&,
const std::chi_squared_distribution<>&),
operator>>(std::basic_istream<>&, std::chi_squared_distribution<>&),
operator<<(std::basic_ostream<>&,
const std::fisher_f_distribution<>&),
operator>>(std::basic_istream<>&, std::fisher_f_distribution<>&),
operator<<(std::basic_ostream<>&,
const std::student_t_distribution<>&),
operator>>(std::basic_istream<>&, std::student_t_distribution<>&),
operator<<(std::basic_ostream<>&,
const std::negative_binomial_distribution<>&)): Declare friend.
* testsuite/26_numerics/random/uniform_real_distribution/operators/
serialize.cc: New.
* testsuite/26_numerics/random/piecewise_constant_distribution/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
operators/serialize.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
operators/serialize.cc
* testsuite/26_numerics/random/student_t_distribution/operators/
serialize.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/operators/
serialize.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150783 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 14 Aug 2009 22:02:45 +0000 (22:02 +0000)]
2009-08-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41070
* resolve.c (resolve_structure_cons): Make sure that ts.u.derived is
only used if type is BT_DERIVED.

2009-08-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41070
* gfortran.dg/structure_constructor_10.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150781 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Olatunji Ruwase <tjruwase@google.com>
dnovillo [Fri, 14 Aug 2009 21:25:48 +0000 (21:25 +0000)]
2009-08-14  Olatunji Ruwase <tjruwase@google.com>

        * doc/extend.texi (Symbol-Renaming Pragmas): redefine_extname is
        supported on all platforms.
        * target.h (struct gcc_target): Remove
        handle_pragma_redefine_extname.
        * c-cppbuiltin.c: Remove use of
        targetm.handle_pragma_redefine_extname.
        * c-pragma.c: Likewise.
        * target-def.h (TARGET_INITIALIZER): Remove
        TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.
        * config/sol2.h: Remove use of
        TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME.

2009-08-14  Olatunji Ruwase <tjruwase@google.com>

        * gcc.dg/pragma-re-1.c: Supported on all platforms.
        * gcc.dg/pragma-re-2.c: Likewise.
        * gcc.dg/pragma-re-3.c: Likewise.
        * gcc.dg/pragma-re-4.c: Likewise.
        * g++.dg/other/pragma-re-1.C: Likewise.
        * g++.dg/other/pragma-re-2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150780 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 14 Aug 2009 21:10:06 +0000 (21:10 +0000)]
2009-08-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/32784
io/unix.c (regular_file): Add support for CONIO on mingw.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150779 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Douglas B Rupp <rupp@gnat.com>
rupp [Fri, 14 Aug 2009 20:56:31 +0000 (20:56 +0000)]
2009-08-14  Douglas B Rupp  <rupp@gnat.com>

* config/ia64/fde-vms.c: New file.
* config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Add dummy arg.
* config/ia64/unwind-ia64.c (UNW_ accessors): Move to unwind-ia64.h
(MD_UNW_COMPATIBLE_PERSONALITY_P): Provide default.
(uw_frame_state_for): Only register a personality routine if it is
known to be compatible with our expectations.
(_Unwind_FindEnclosingFunction, uw_frame_state_for):
Declare unw_table_entry stack variable and
mod all calls to _Unwind_FindTableEntry to add arg.
* config/ia64/unwind-ia64.h (UNW_ accessors): Move here.
(_Unwind_FindTableEntry): Add arg to prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150778 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/ia64/unwind-ia64.c (struct _Unwind_Context): Add new
rupp [Fri, 14 Aug 2009 20:49:40 +0000 (20:49 +0000)]
* config/ia64/unwind-ia64.c (struct _Unwind_Context): Add new
field 'signal_pfs_loc'.
(uw_frame_state_for): Remove duplicate code dealing with leaf
procedures without unwind info.
If in the frame after unwinding through a signal handler, restore
the AR.PFS register instead of the CFM if AR.PFS has not been saved.
* config/ia64/linux-unwind.h (ia64_fallback_frame_state): Do not set
'pfs_loc' to the AR.PFS location in the signal context; instead
set 'signal_pfs_loc'.
Manually generate the unwind info for the AR.PFS register.
(ABI_MARKER_OLD_LINUX_SIGTRAMP, ABI_MARKER_OLD_LINUX_INTERRUPT,
ABI_MARKER_LINUX_SIGTRAMP, ABI_MARKER_LINUX_INTERRUPT): Define.
(ia64_handle_unwabi): Test 'fs->unwabi' against them.
Do not set 'pfs_loc' to the AR.PFS location in the signal context;
instead set 'signal_pfs_loc'.
Remove code preventing the AR.PFS register from being restored
from the signal context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150777 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file.
rupp [Fri, 14 Aug 2009 20:38:36 +0000 (20:38 +0000)]
* config.gcc (ia64-hp-*vms*): Insert ia64/t-ia64 in tmake_file.
* config/ia64/t-vms: New file.
* config/ia64/vms64.h: New file.
* config/ia64/vms.h: New file.
* config/ia64/vms-crtinit.asm: New file.
* config/ia64/vms_symvec_libgcc_s.opt: New file.
* config/ia64/vms-unwind.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150776 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-15 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 14 Aug 2009 19:30:13 +0000 (19:30 +0000)]
2009-08-15  Kai Tietz  <kai.tietz@onevision.com>

        * intrinsics/string_intrinsics_inc.c (string_len_trim): Use
        __INTPTR_TYPE__ to cast from pointer to scalar integer, if
        __INTPTR_TYPE is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150774 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/alpha/alpha.c (alpha_emit_conditional_move): Handle
uros [Fri, 14 Aug 2009 18:54:48 +0000 (18:54 +0000)]
* config/alpha/alpha.c (alpha_emit_conditional_move): Handle
TFmode compares.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150773 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Edward Smith-Rowland <3dw4rd@verizon.net>
bkoz [Fri, 14 Aug 2009 17:54:44 +0000 (17:54 +0000)]
2009-08-14  Edward Smith-Rowland  <3dw4rd@verizon.net>

* include/bits/stl_tree.h: Make erase return iterator as per DR 130.
* include/bits/stl_set.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_multimap.h: Same.
* doc/xml/manual/intro.xml: Document.
* testsuite/23_containers/set/dr130.cc: New.
* testsuite/23_containers/multiset/dr130.cc: New.
* testsuite/23_containers/map/dr130.cc: New.
* testsuite/23_containers/multimap/dr130.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150768 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoAdd comment saying file is deprecated
jb [Fri, 14 Aug 2009 17:54:27 +0000 (17:54 +0000)]
Add comment saying file is deprecated

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150767 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 14 Aug 2009 17:49:21 +0000 (17:49 +0000)]
2009-08-14  Kai Tietz  <kai.tietz@onevision.com>

        * gnu/java/security/jce/prng/natVMSecureRandomWin32.cc: Add include of
        java/lang/UnsupportedOperationException.h file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150766 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoPR libfortran/40863 Fix r150107 moving new symbols to C99_1.1 node
jb [Fri, 14 Aug 2009 17:44:50 +0000 (17:44 +0000)]
PR libfortran/40863 Fix r150107 moving new symbols to C99_1.1 node

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150765 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Steve Ellcey <sje@cup.hp.com>
sje [Fri, 14 Aug 2009 17:20:30 +0000 (17:20 +0000)]
2009-08-14  Steve Ellcey  <sje@cup.hp.com>

* inclhack.def (hpux_imaginary_i): New fix.
* fixincl.x: Regenerate.
* tests/base/complex.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150764 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 14 Aug 2009 16:54:48 +0000 (16:54 +0000)]
2009-08-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pointer.h: Add pragma system_header, use
_GLIBCXX_USE_LONG_LONG, macro cleanup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150763 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 14 Aug 2009 16:51:01 +0000 (16:51 +0000)]
2009-08-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/pointer.h: Add pragma system_header, use
_GLIBCXX_USE_LONG_LONG, macro cleanup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150762 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/30789
ghazi [Fri, 14 Aug 2009 16:44:36 +0000 (16:44 +0000)]
PR middle-end/30789

* builtins.c (do_mpc_arg2): Make extern, define for any MPC
version.  Move declaration...
* real.h (do_mpc_arg2): ... here.
* fold-const.c (const_binop): Use MPC for complex MULT_EXPR
and RDIV_EXPR.

testsuite:
* gcc.dg/torture/builtin-math-7.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150760 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Rafael Avila de Espindola <espindola@google.com>
espindola [Fri, 14 Aug 2009 15:39:15 +0000 (15:39 +0000)]
2009-08-14  Rafael Avila de Espindola  <espindola@google.com>

        * final.c (add_debug_prefix_map): Don't use GC memory for
        old_prefix and new_prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150759 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 14 Aug 2009 15:07:43 +0000 (15:07 +0000)]
2009-08-14  Richard Guenther  <rguenther@suse.de>

* ipa-prop.c (compute_complex_pass_through): If we cannot
compute a non-varying offset for IPA_JF_ANCESTOR punt.

* gcc.c-torture/execute/20090814-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150757 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * c-lex.c (c_lex_with_flags): Increase size of local variable
uweigand [Fri, 14 Aug 2009 14:38:24 +0000 (14:38 +0000)]
* c-lex.c (c_lex_with_flags): Increase size of local variable
to avoid memory clobber.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150756 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/testsuite/
dje [Fri, 14 Aug 2009 14:02:43 +0000 (14:02 +0000)]
gcc/testsuite/
        * gcc.dg/graphite/graphite_autopar: Move to libgomp testsuite.

libgomp/
        * testsuite/libgomp.graphite: Move from gcc.dg/graphite.
        * testsuite/libgomp.graphite/graphite_autopar.exp: Delete.
        * testsuite/libgomp.graphite/graphite.exp: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150755 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 14 Aug 2009 12:14:04 +0000 (12:14 +0000)]
2009-08-14  Paolo Bonzini  <bonzini@gnu.org>

PR target/40934
* config/i386/i386.c (ix86_fp_comparison_strategy):
Only enable/disable sahf at function granularity.

gcc/testsuite:
2009-08-14  Paolo Bonzini  <bonzini@gnu.org>

PR target/40934
* gcc.target/i386/pr40934.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150754 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR rtl-optimization/41064
hp [Fri, 14 Aug 2009 11:36:45 +0000 (11:36 +0000)]
PR rtl-optimization/41064
* reload1.c (reload_as_needed): Don't call extract_insn
for known invalid replacements after calling
validate_replace_rtx_group and verify_changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150751 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/41019
uros [Fri, 14 Aug 2009 10:31:09 +0000 (10:31 +0000)]
PR target/41019
* config/i386/sse.md (SSEMODE124C8): New mode iterator.
(vcond<SSEMODEF2P:mode>): Assert that operation is supported by
ix86_expand_fp_vcond.
(vcond<SSEMODE124C8:mode>): Use SSEMODE124C8 instead of SSEMODE124.
Assert that operation is supported by ix86_expand_int_vcond.
(vcondu<SSEMODE124C8:mode>): Ditto.

testsuite/ChangeLog:

PR target/41019
* gcc.target/i386/pr41019.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150738 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * src/compatibility-ldbl.cc: Include cmath.
uros [Fri, 14 Aug 2009 08:35:55 +0000 (08:35 +0000)]
* src/compatibility-ldbl.cc: Include cmath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150736 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-13 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Fri, 14 Aug 2009 05:10:34 +0000 (05:10 +0000)]
2009-08-13  Steven G. Kargl  <kargl@gcc.gnu.org>

    * decl.c (gfc_match_type_spec): Whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150734 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 14 Aug 2009 02:35:32 +0000 (02:35 +0000)]
2009-08-13  Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/40955
* gfortran.dg/winapi.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150733 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* config/i386/djgpp-stdint.h: New.
dj [Fri, 14 Aug 2009 02:26:33 +0000 (02:26 +0000)]
* config/i386/djgpp-stdint.h: New.
* config.gcc (djgpp): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150732 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 14 Aug 2009 01:45:36 +0000 (01:45 +0000)]
2009-08-13  Benjamin Kosnik  <bkoz@redhat.com>

* src/compatibility-ldbl.cc: Include tr1/functional.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150731 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Fri, 14 Aug 2009 00:17:14 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150730 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/sh/sh.c (sh_override_options): When flag_exceptions or
kkojima [Thu, 13 Aug 2009 22:16:07 +0000 (22:16 +0000)]
* config/sh/sh.c (sh_override_options): When flag_exceptions or
flag_unwind_tables is on, turn flag_reorder_blocks_and_partition
off.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150727 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-13 Ghassan Shobaki <ghassan.shobaki@amd.com>
gshobaki [Thu, 13 Aug 2009 21:37:24 +0000 (21:37 +0000)]
2009-08-13  Ghassan Shobaki  <ghassan.shobaki@amd.com>

* tree-ssa-loop-prefetch.c
(prune_ref_by_group_reuse): Enhance probabilistic analysis
for long-stride pruning.
(compute_miss_rate): New function to compute the probability
that two memory references access different cache lines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150726 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-13 Janus Weil <janus@gcc.gnu.org>
janus [Thu, 13 Aug 2009 19:46:46 +0000 (19:46 +0000)]
2009-08-13  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40941
* gfortran.h (gfc_typespec): Put 'derived' and 'cl' into union.
* decl.c (build_struct): Make sure 'cl' is only used
if type is BT_CHARACTER.
* symbol.c (gfc_set_default_type): Ditto.
* resolve.c (resolve_symbol, resolve_fl_derived): Ditto.
(resolve_equivalence,resolve_equivalence_derived): Make sure 'derived'
is only used if type is BT_DERIVED.
* trans-io.c (transfer_expr): Make sure 'derived' is only used if type
is BT_DERIVED or BT_INTEGER (special case: C_PTR/C_FUNPTR).
* array.c: Mechanical replacements to accomodate union in gfc_typespec.
* check.c: Ditto.
* data.c: Ditto.
* decl.c: Ditto.
* dump-parse-tree.c: Ditto.
* expr.c: Ditto.
* interface.c: Ditto.
* iresolve.c: Ditto.
* match.c: Ditto.
* misc.c: Ditto.
* module.c: Ditto.
* openmp.c: Ditto.
* parse.c: Ditto.
* primary.c: Ditto.
* resolve.c: Ditto.
* simplify.c: Ditto.
* symbol.c: Ditto.
* target-memory.c: Ditto.
* trans-array.c: Ditto.
* trans-common.c: Ditto.
* trans-const.c: Ditto.
* trans-decl.c: Ditto.
* trans-expr.c: Ditto.
* trans-intrinsic.c: Ditto.
* trans-io.c: Ditto.
* trans-stmt.c: Ditto.
* trans-types.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150725 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * ChangeLog: Fix whitespace.
uros [Thu, 13 Aug 2009 19:14:20 +0000 (19:14 +0000)]
* ChangeLog: Fix whitespace.
* testsuite/ChangeLog: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150724 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR c/41046
janis [Thu, 13 Aug 2009 16:54:28 +0000 (16:54 +0000)]
PR c/41046
* decContext.c (decContextTestEndian): Call printf only if DECCHECK.
* decCommon.c ( decFloatShow): Define function only for DECCHECK
or DECTRACE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150720 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc/config/i386/cygwin.h (LINK_SPEC): Add --enable-auto-image-base.
davek [Thu, 13 Aug 2009 15:00:42 +0000 (15:00 +0000)]
* gcc/config/i386/cygwin.h (LINK_SPEC): Add --enable-auto-image-base.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150717 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-13 Janus Weil <janus@gcc.gnu.org>
janus [Thu, 13 Aug 2009 11:16:16 +0000 (11:16 +0000)]
2009-08-13  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40995
* resolve.c (resolve_symbol): Move some checking code to
resolve_intrinsic, and call this from here.
(resolve_intrinsic): Some checking code moved here from resolve_symbol.
Make sure each intrinsic is only resolved once.

2009-08-13  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40995
* gfortran.dg/intrinsic_4.f90: New.
* gfortran.dg/intrinsic_subroutine.f90: An error message moved to a
different line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150716 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-13 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 13 Aug 2009 08:19:10 +0000 (08:19 +0000)]
2009-08-13  Richard Guenther  <rguenther@suse.de>

PR middle-end/41047
* tree-ssa-ccp.c (ccp_fold): When folding pointer additions
use the constant pointer type.
* gimplify.c (canonicalize_addr_expr): Canonicalize independent
of CV qualifiers on the target pointer type.
* tree-ssa.c (useless_type_conversion_p): Move incomplete pointer
conversion check before restrict check.

* gcc.dg/tree-ssa/ssa-ccp-27.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150715 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Thu, 13 Aug 2009 00:17:20 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150712 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR target/41029
kkojima [Wed, 12 Aug 2009 22:26:13 +0000 (22:26 +0000)]
PR target/41029
* config/sh/sh.md (reload_outdf__RnFRm+4): Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150709 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.
kkojima [Wed, 12 Aug 2009 22:23:49 +0000 (22:23 +0000)]
* config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150708 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 12 Aug 2009 22:05:50 +0000 (22:05 +0000)]
2009-08-12  Benjamin Kosnik  <bkoz@redhat.com>

* src/compatibility-ldbl.cc: Add explicit namespace scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150707 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-12 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 12 Aug 2009 17:55:40 +0000 (17:55 +0000)]
2009-08-12  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41011
* ipa-cp.c (ipcp_lattice_from_jfunc): Deal with failing fold
and reference constructing.

* gfortran.dg/pr41011.f: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150705 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * inclhack.def (aix_complex): New fix.
dje [Wed, 12 Aug 2009 17:33:41 +0000 (17:33 +0000)]
    * inclhack.def (aix_complex): New fix.
        * fixincl.x: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150704 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoFix to PR41012
davidxl [Wed, 12 Aug 2009 16:51:41 +0000 (16:51 +0000)]
Fix to PR41012

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150703 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-12 Andrew Haley <aph@redhat.com>
aph [Wed, 12 Aug 2009 16:34:00 +0000 (16:34 +0000)]
2009-08-12  Andrew Haley  <aph@redhat.com>

* sysdep/arm/locks.h: Use atomic builtins For Linux EABI.
* configure.ac: Add ATOMICSPEC.
* libgcj.spec.in: Likewise.
* configure.host (arm*-linux*): Add -Wno-abi to cxxflags.
(testsuite/libjava.jvmti/jvmti-interp.exp): Likewise.
(testsuite/libjava.jvmti/jvmti.exp): Likewise.
(testsuite/libjava.jni/jni.exp): Likewise.
Set ATOMICSPEC.
Set LDFLAGS to work around libtool feature.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150702 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-12 Richard Sandiford <rdsandiford@googlemail.com>
bonzini [Wed, 12 Aug 2009 16:28:36 +0000 (16:28 +0000)]
2009-08-12  Richard Sandiford  <rdsandiford@googlemail.com>

PR tree-optimization/41031
* tree-outof-ssa.c (insert_value_copy_on_edge): Use promote_decl_mode
on the partition variable rather than promote_mode on the source
type.  Assert that the partition variable's type has the same
mode as the source value's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150701 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-12 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 12 Aug 2009 16:23:12 +0000 (16:23 +0000)]
2009-08-12  Paolo Bonzini  <bonzini@gnu.org>

* doc/tm.texi (TARGET_PROMOTE_FUNCTION_MODE): Add documentation
for for_return == 2.
* function.c (assign_parm_setup_reg): Use for_return == 2, improve
comments.
* calls.c (expand_call): Fix typo.
* explow.c (promote_decl_mode): Use for_return == 2 for RESULT_DECL
and PARM_DECL.
* stmt.c (expand_value_return): Use promote_function_mode to copy out
of pseudo.
* targhooks.c (default_promote_function_mode): Handle for_return == 2.
* config/cris/cris.c (cris_promote_function_mode): Likewise.
* config/mmix/mmix.c (mmix_promote_function_mode): Likewise.
* config/pa/pa.c (pa_promote_function_mode): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150700 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-12 Andrew Haley <aph@redhat.com>
aph [Wed, 12 Aug 2009 16:10:12 +0000 (16:10 +0000)]
2009-08-12  Andrew Haley  <aph@redhat.com>

* builtins.c (compareAndSwapInt_builtin): Use
flag_use_atomic_builtins.
(compareAndSwapLong_builtin): Likewise.
(compareAndSwapObject_builtin): Likewise.
* jvspec.c: Add flag_use_atomic_builtins.
* gcj.texi: Likewise.
* java-tree.h: Likewise.
* lang.opt: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150699 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-11 Andrew Haley <aph@redhat.com>
aph [Wed, 12 Aug 2009 15:55:19 +0000 (15:55 +0000)]
2009-08-11  Andrew Haley  <aph@redhat.com>

* gcc.target/arm/synchronize.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150698 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2009-08-11 Andrew Haley <aph@redhat.com>
aph [Wed, 12 Aug 2009 15:54:37 +0000 (15:54 +0000)]
2009-08-11  Andrew Haley  <aph@redhat.com>

* config/arm/arm.c (arm_init_libfuncs): Add __sync_synchronize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150697 138bc75d-0d04-0410-961f-82ee72b054a4