Nathan Froyd
425a0a4d44
altivec-macros.c: Require a powerpc_altivec_ok effective target.
...
* gcc.target/powerpc/altivec-macros.c: Require a powerpc_altivec_ok
effective target. Adjust line numbers accordingly.
From-SVN: r143349
2009-01-13 17:50:39 +00:00
Mark Mitchell
5b6b9db175
sse-10.c: Pass -mno-omit-leaf-frame-pointer.
...
2009-01-13 Mark Mitchell <mark@codesourcery.com>
* gcc.target/i386/sse-10.c: Pass -mno-omit-leaf-frame-pointer.
From-SVN: r143345
2009-01-13 16:48:26 +00:00
Sebastian Pop
f93444883d
re PR middle-end/38786 ([graphite] ICE with -floop-block in verify_ssa)
...
2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/38786
* gcc.dg/graphite/pr38786.c: New.
* graphite.c (expand_scalar_variables_ssa_name): New, outlined from
the SSA_NAME case of expand_scalar_variables_expr.
Set the type of an expression to the type of its assign statement.
(expand_scalar_variables_expr): Also gather the scalar computation
used to index the memory access. Do not pass loop_p.
Fix comment. Stop recursion on tcc_constant or tcc_declaration.
(expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
the gimple_stmt_iterator where it inserts new code. Do not pass loop_p.
(copy_bb_and_scalar_dependences): Do not pass loop_p.
(translate_clast): Update call to copy_bb_and_scalar_dependences.
From-SVN: r143341
2009-01-13 15:33:13 +00:00
Sebastian Pop
2d8bb84db9
graphite.h (debug_value): Removed.
...
2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
* graphite.h (debug_value): Removed.
* graphite.c (debug_value): Removed.
From-SVN: r143340
2009-01-13 15:27:09 +00:00
Richard Earnshaw
ff12863264
arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with two 32-bit instructions.
...
* arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with
two 32-bit instructions.
From-SVN: r143339
2009-01-13 14:31:56 +00:00
Richard Earnshaw
d5a0a47bee
arm.c (struct processors): Pass for speed down into cost helper functions.
...
* arm.c (struct processors): Pass for speed down into cost helper
functions.
(const_ok_for_op): Handle COMPARE and inequality nodes.
(arm_rtx_costs_1): Rewrite.
(arm_size_rtx_costs): Update prototype.
(arm_rtx_costs): Pass speed down to helper functions.
(arm_slowmul_rtx_costs): Rework cost calculations.
(arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
(arm_9e_rtx_costs): Likewise.
From-SVN: r143338
2009-01-13 14:09:50 +00:00
Uros Bizjak
43b2b720fa
hash_data_map_rand.cc: Add dg-timeout-factor 2.0.
...
* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc:
Add dg-timeout-factor 2.0.
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
From-SVN: r143335
2009-01-13 13:55:08 +01:00
Ben Elliston
bcf4713bec
t-softfp: New file.
...
* config/t-softfp: New file.
* config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
(powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
From-SVN: r143334
2009-01-13 22:53:41 +11:00
Uros Bizjak
616ea7ac83
* scripts/extract_symvers: Escape [ and ] brackets.
...
From-SVN: r143333
2009-01-13 09:30:12 +01:00
Uros Bizjak
26d5bf5baa
alpha.c (alpha_legitimate_address_p): Explicit relocations of local symbols wider than UNITS_PER_WORD are not valid.
...
* config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
relocations of local symbols wider than UNITS_PER_WORD are not valid.
(alpha_legitimize_address): Do not split local symbols wider than
UNITS_PER_WORD into HIGH/LO_SUM parts.
testsuite/ChangeLog:
Revert:
2009-01-05 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mieee
for alpha*-*-* targets.
* g++.dg/compat/struct-layout-1_generate.c (dg-options): Ditto.
From-SVN: r143332
2009-01-13 09:04:11 +01:00
Uros Bizjak
6ce45dc046
extract_symvers: Add sed script to remove ' [<other>: xx] ' field from readelf output.
...
* scripts/extract_symvers: Add sed script to remove ' [<other>: xx] '
field from readelf output.
From-SVN: r143331
2009-01-13 08:42:26 +01:00
Danny Smith
5d14e3d50a
re PR bootstrap/38580 (Bootstrap broken on mingw32)
...
PR bootstrap/38580
* gcc.c (process_command): Replace call to execvp with calls
to pex_one and exit.
From-SVN: r143330
2009-01-13 07:40:51 +00:00
Jerry DeLisle
2e50357552
re PR libfortran/38772 (r143102 reveals missed error checking on floating point reads)
...
2009-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/38772
* gfortran.dg/fmt_bz_bn_err.f: New test.
From-SVN: r143328
2009-01-13 05:53:07 +00:00
Jerry DeLisle
1a15c900e8
re PR libfortran/38772 (r143102 reveals missed error checking on floating point reads)
...
2009-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/38772
* io/read.c (read_f): Clean up loop conditions for BZ/BN,
allowing proper digit testing. White space fix.
From-SVN: r143327
2009-01-13 05:40:36 +00:00
Nathan Froyd
1b82a0656e
add missing target-supports.exp commit
...
From-SVN: r143326
2009-01-13 03:14:32 +00:00
Nathan Froyd
44c4becf0c
* gcc.target/powerpc/ppc-spe64-1.c: Add dg-error handler.
...
From-SVN: r143325
2009-01-13 03:11:48 +00:00
Daniel Jacobowitz
82fc74c7a6
target-supports.exp (check_effective_target_powerpc64): New.
...
* lib/target-supports.exp (check_effective_target_powerpc64): New.
* gcc.target/powerpc/darwin-longlong.c: Explicitly require 64-bit
instruction support. Do not check for it at runtime.
From-SVN: r143324
2009-01-13 03:05:10 +00:00
Benjamin Kosnik
55c8e6a320
re PR target/38384 (shared link/execute fails for cross gcc from linux to target hppa64-hp-hpux11.00)
...
2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/38384
* crossconfig.m4 (hpux): Update for 10.20, 11, 11.20.
* configure: Regenerate.
2009-01-12 Benjamin Kosnik <bkoz@redhat.com>
* crossconfig.m4 (linux): Add GCC_CHECK_TLS to define _GLIBCXX_HAVE_TLS.
Use GLIBCXX_CHECK_COMPILER_FEATURES to compute SECTION_FLAGS.
From-SVN: r143322
2009-01-13 01:49:30 +00:00
Jason Merrill
8e39b3681c
tweak comment
...
From-SVN: r143321
2009-01-12 20:29:48 -05:00
Jason Merrill
b9f673eb35
re PR c++/35109 (ICE in lookup_name_real, at cp/name-lookup.c:4056)
...
PR c++/35109
* name-lookup.c (lookup_name_real): Keep looking past a hidden
binding.
Co-Authored-By: Steve Ellcey <sje@cup.hp.com>
From-SVN: r143320
2009-01-12 20:23:34 -05:00
GCC Administrator
38a5aa4ae4
Daily bump.
...
From-SVN: r143318
2009-01-13 00:16:57 +00:00
Dodji Seketeli
172a459435
re PR c++/36019 (template parameter does not hide class name)
...
gcc/cp/ChangeLog:
2009-01-12 Dodji Seketeli <dodji@redhat.com>
PR c++/36019
* pt.c (parameter_of_template_p): New function.
* cp-tree.h: Declare it.
* name-lookup.c (binding_to_template_parms_of_scope_p): New
function.
(outer_binding): Take template parameters in account when looking for
a name binding.
gcc/testsuite/ChangeLog:
2009-01-12 Dodji Seketeli <dodji@redhat.com>
PR c++/36019
* g++.dg/lookup/hidden-class12.C: New test.
* g++.dg/lookup/hidden-class13.C: New test.
* g++.dg/lookup/hidden-class14.C: New test.
* g++.dg/lookup/hidden-class15.C: New test.
* g++.dg/lookup/hidden-class16.C: New test.
From-SVN: r143315
2009-01-12 23:47:49 +01:00
Steven G. Kargl
856c450bd5
MAINTAINERS: Add myself to reviewers (Fortran).
...
2009-01-12 Steven G. Kargl <sgk@troutmask.apl.washington.edu>
* MAINTAINERS: Add myself to reviewers (Fortran).
From-SVN: r143312
2009-01-12 21:56:28 +00:00
Sebastian Pop
53095c5686
re PR tree-optimization/38515 (Disabling PPL/CLOOG with configure does not work)
...
2009-01-12 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/38515
* configure.ac (cloog-polylib): Removed.
(with_ppl, with_cloog): Test for "no".
* configure: Regenerated.
From-SVN: r143311
2009-01-12 21:36:58 +00:00
Mark Mitchell
31ca3fa447
wo_prof_single_str_global.c: Mask return value.
...
* gcc.dg/struct/wo_prof_single_str_global.c: Mask return value.
* gcc.dg/struct/wo_prof_single_str_local.c: Mask return value.
* gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value.
From-SVN: r143309
2009-01-12 21:29:43 +00:00
Jason Merrill
72114ca181
re PR c++/31488 (va_list considered non-POD)
...
PR c++/31488
* tree.c (pod_type_p): Return 1 for structs created by the back end.
From-SVN: r143308
2009-01-12 16:07:46 -05:00
Daniel Jacobowitz
9251175fa5
ppc-spe.c: Compile for all EABI targets.
...
* gcc.target/powerpc/ppc-spe.c: Compile for all EABI targets.
Explicitly enable SPE.
* gcc.target/powerpc/20030505.c: Likewise. Add dg-message
directive.
* gcc.target/powerpc/20030218-1.c: Pass -mfloat-gprs=single.
Expect -flax-vector-conversions message. Adjust incompatible
types errors.
* gcc.target/powerpc/spe1.c: Pass -mspe and -mfloat-gprs=single.
Make Foo extern.
* gcc.dg/cpp/assert4.c: Recognize __PPC__.
* g++.dg/other/opaque-1.C: Run on targets with SPE.
* g++.dg/ext/spe-1.C: Pass -mspe and -mfloat-gprs=single.
* g++.dg/other/opaque-2.C: Likewise.
* g++.dg/other/opaque-3.C: Likewise.
From-SVN: r143307
2009-01-12 20:53:18 +00:00
Anatoly Sokolov
33faafca37
re PR target/29141 (static constructors beyond 64k fail)
...
PR target/29141
* config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
* config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
variant for devices with 3-byte PC.
(__tablejump_elpm__) : New.
From-SVN: r143306
2009-01-12 23:41:57 +03:00
Jakub Jelinek
634b5df5d5
re PR c/32041 (offsetof buglet)
...
PR c/32041
* c-parser.c (c_parser_postfix_expression): Allow `->' in
offsetof member-designator, handle it as `[0].'.
* parser.c (cp_parser_builtin_offsetof): Allow `->' in
offsetof member-designator, handle it as `[0].'.
* gcc.dg/pr32041.c: New test.
* g++.dg/parse/offsetof9.C: New test.
From-SVN: r143305
2009-01-12 20:44:33 +01:00
Daniel Jacobowitz
89b7d5e189
simd1.C: Ignore irrelevant warning.
...
* g++.dg/conversion/simd1.C: Ignore irrelevant warning.
* g++.dg/ext/attribute-test-1.C: Likewise.
* g++.dg/ext/attribute-test-2.C: Likewise.
* g++.dg/ext/attribute-test-3.C: Likewise.
* g++.dg/ext/attribute-test-4.C: Likewise.
Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>
From-SVN: r143304
2009-01-12 19:28:58 +00:00
Eric Botcazou
3b9c1abd29
decl.c (gnat_to_gnu_entity): Really strip only useless conversions around renamed objects.
...
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip
only useless conversions around renamed objects.
From-SVN: r143303
2009-01-12 19:14:43 +00:00
Andrew Haley
406c72ce52
natUnsafe.cc (spinlock contructor): Call sched_yield().
...
2009-01-12 Andrew Haley <aph@redhat.com>
* sun/misc/natUnsafe.cc (spinlock contructor): Call sched_yield().
From-SVN: r143302
2009-01-12 17:39:10 +00:00
John David Anglin
2842bb86fd
pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk function when...
...
* pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
function when not using named sections on targets with named sections
if branch distance is less than 262132.
From-SVN: r143300
2009-01-12 17:29:25 +00:00
Andrew Haley
f0561e9ee3
Rotated ChangeLogs.
...
From-SVN: r143297
2009-01-12 16:45:32 +00:00
Andrew Haley
79e5c6a8d6
Rotate ChangeLogs.
...
From-SVN: r143296
2009-01-12 16:42:19 +00:00
Joseph Myers
4f7dd2f048
* sv.po: Update.
...
From-SVN: r143295
2009-01-12 16:26:27 +00:00
Richard Earnshaw
76ee70f64c
combine.c (combine_instructions): Recompute optimize_this_for_speed_p for each BB in the main combine loop.
...
* combine.c (combine_instructions): Recompute
optimize_this_for_speed_p for each BB in the main combine loop.
From-SVN: r143293
2009-01-12 15:45:22 +00:00
Jakub Jelinek
49f098f256
re PR c++/38794 (Function body accepted in typedef)
...
PR c++/38794
* decl.c (start_function): If grokdeclarator hasn't returned
FUNCTION_DECL nor error_mark_node, issue diagnostics.
* g++.dg/parse/typedef9.C: New test.
From-SVN: r143292
2009-01-12 16:43:22 +01:00
Tomas Bily
f56e675de5
re PR tree-optimization/38385 (ICE with -O2 -ftree-loop-distribution)
...
PR middlend/38385
* tree-loop-distribution.c (prop_phis): New function.
(generate_builtin): Call prop_phis.
* testsuite/gcc.dg/tree-ssa/pr38385.c: New file.
From-SVN: r143291
2009-01-12 16:37:09 +01:00
Jakub Jelinek
c2152239ac
re PR tree-optimization/38807 (ice: gimple check: expected gimple_assign(error_mark), have gimple_phi())
...
PR tree-optimization/38807
* tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at
gimple_visited_p unless stmt is GIMPLE_ASSIGN.
* gcc.c-torture/compile/pr38807.c: New test.
From-SVN: r143289
2009-01-12 12:11:40 +01:00
Adam Nemet
0e510b3e4e
expmed.c (store_bit_field_1): Properly truncate the paradoxical subreg of op0 to the original op0.
...
* expmed.c (store_bit_field_1): Properly truncate the paradoxical
subreg of op0 to the original op0.
testsuite/
* gcc.target/mips/ins-2.c: New test.
From-SVN: r143288
2009-01-12 04:27:31 +00:00
H.J. Lu
3f429b8754
re PR testsuite/38809 (gcc.dg/pr38616.c doesn't work on Linux/ia64)
...
2009-01-11 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/38809
* gcc.dg/pr38616.c: Only run for targets with -fstack-protector.
From-SVN: r143287
2009-01-11 19:47:48 -08:00
GCC Administrator
b706026db9
Daily bump.
...
From-SVN: r143285
2009-01-12 00:16:50 +00:00
Jakub Jelinek
f74d9c8f93
re PR c++/36254 (wrong "control reaches end of non-void function" warning with IF_STMT)
...
PR c++/36254
* cp-gimplify.c (genericize_if_stmt): Renamed from ...
(gimplify_if_stmt): ... this.
(cp_gimplify_expr): Don't handle IF_STMT here.
(cp_genericize_r): Call genericize_if_stmt for IF_STMT.
* g++.dg/warn/Wreturn-type-5.C: New test.
From-SVN: r143281
2009-01-11 22:14:51 +01:00
Joel Sherrill
79ee9e8be8
target-supports.exp: Add method to determine if the effective target is really a ppc405 after...
...
2009-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* lib/target-supports.exp: Add method to determine if the effective
target is really a ppc405 after applying all compile options.
* gcc.target/powerpc/405-mulhhwu-2.c: Add dg-skip-if not ppc405.
* gcc.target/powerpc/405-nmachhw-1.c: Likewise.
* gcc.target/powerpc/405-nmaclhw-1.c: Likewise.
* gcc.target/powerpc/405-machhwu-1.c: Likewise.
* gcc.target/powerpc/405-mullhwu-1.c: Likewise.
* gcc.target/powerpc/405-nmacchw-1.c: Likewise.
* gcc.target/powerpc/405-mulchwu-1.c: Likewise.
* gcc.target/powerpc/405-nmachhw-2.c: Likewise.
* gcc.target/powerpc/405-nmaclhw-2.c: Likewise.
* gcc.target/powerpc/405-machhwu-2.c: Likewise.
* gcc.target/powerpc/405-mulhhw-1.c: Likewise.
* gcc.target/powerpc/405-machhw-1.c: Likewise.
* gcc.target/powerpc/405-mullhw-1.c: Likewise.
* gcc.target/powerpc/405-maclhw-1.c: Likewise.
* gcc.target/powerpc/405-dlmzb-strlen-1.c: Likewise.
* gcc.target/powerpc/405-mullhwu-2.c: Likewise.
* gcc.target/powerpc/405-nmacchw-2.c: Likewise.
* gcc.target/powerpc/405-mulchwu-2.c: Likewise.
* gcc.target/powerpc/405-mulchw-1.c: Likewise.
* gcc.target/powerpc/405-maclhwu-1.c: Likewise.
* gcc.target/powerpc/405-macchw-1.c: Likewise.
* gcc.target/powerpc/405-mulhhw-2.c: Likewise.
* gcc.target/powerpc/405-machhw-2.c: Likewise.
* gcc.target/powerpc/405-mullhw-2.c: Likewise.
* gcc.target/powerpc/405-maclhw-2.c: Likewise.
* gcc.target/powerpc/405-macchwu-1.c: Likewise.
* gcc.target/powerpc/405-mulhhwu-1.c: Likewise.
* gcc.target/powerpc/405-mulchw-2.c: Likewise.
* gcc.target/powerpc/405-maclhwu-2.c: Likewise.
* gcc.target/powerpc/405-macchw-2.c: Likewise.
* gcc.target/powerpc/405-macchwu-2.c: Likewise.
From-SVN: r143279
2009-01-11 19:51:53 +00:00
Matthias Klose
2ab5ef3ed7
re PR middle-end/38616 (Wrong code when -O3 or -O2 -fstack-protector used)
...
2009-01-11 Matthias Klose <doko@ubuntu.com>
PR middle-end/38616
* gcc.dg/pr38616.c: New test.
From-SVN: r143277
2009-01-11 17:38:22 +00:00
Jonathan Wakely
06bbcf59db
regex (basic_regex::basic_regex): Use range constructor for _M_pattern.
...
* include/tr1_impl/regex (basic_regex::basic_regex): Use range
constructor for _M_pattern.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
string.cc: Test construction from different basic_string type.
* testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
string.cc: Likewise.
From-SVN: r143275
2009-01-11 17:25:23 +00:00
Laurent GUERBY
1027047119
sourcebuild.texi (Source Tree): Move up intl and fixinc.
...
2009-01-11 Laurent GUERBY <laurent@guerby.net>
* doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
From-SVN: r143274
2009-01-11 16:42:17 +00:00
Daniel Franke
1e5e8a59a9
MAINTAINERS: Moved myself to reviewers (Fortran).
...
2009-01-11 Daniel Franke <franke.daniel@gmail.com>
* MAINTAINERS: Moved myself to reviewers (Fortran).
From-SVN: r143269
2009-01-11 07:28:03 -05:00
Eric Botcazou
13318d2fc8
decl.c (gnat_to_gnu_entity): Put the _Tag field before any discriminants in the field list.
...
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put
the _Tag field before any discriminants in the field list.
(components_to_record): Remove obsolete comment.
From-SVN: r143267
2009-01-11 12:24:02 +00:00