2010-03-23 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_scattering_function_1): New.
(print_scattering_function): Call it.
(print_scop_params): Remove spaces at the end of lines.
(print_cloog): New.
(debug_cloog): New.
* graphite-poly.h (print_cloog): Declared.
(debug_cloog): Declared.
From-SVN: r157887
2010-03-16 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump
in loop->header.
* tree-flow.h (canonicalize_loop_ivs): Updated declaration.
* tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch.
* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter
to switch between adding the IV bump in loop->latch or in loop->header.
From-SVN: r157885
2010-03-16 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_scattering_function): Pretty print following
the scoplib format.
(print_pdr): Same.
(print_pbb_domain): Same.
(dump_gbb_cases): Same.
(dump_gbb_conditions): Same.
(print_pdrs): Same.
(print_pbb): Same.
(print_scop_params): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_pbb_body): New.
(lst_indent_to): New.
(print_lst): Start new lines with a #.
* graphite-poly.h (pbb_bb): New.
(pbb_index): Use pbb_bb.
* graphite-ppl.c (ppl_print_powerset_matrix): Print the number of
disjuncts.
* tree-data-ref.c (dump_data_reference): Start new lines with a #.
From-SVN: r157883
* dwarf2out.c (size_of_die): For -gdwarf-4 use
uleb128 size instead of fixed 1 or 2 for dw_val_class_loc
and 0 instead of 1 for dw_val_class_flag.
(value_format): For -gdwarf-4 use DW_FORM_sec_offset for
dw_val_class_range_list, dw_val_class_loc_list,
dw_val_class_lineptr and dw_val_class_macptr, use
DW_FORM_flag_present for dw_val_class_flag and
DW_FORM_exprloc for dw_val_class_loc.
(output_die): For -gdwarf-4 print dw_val_class_loc
size as uleb128 instead of 1 or 2 bytes and don't print
anything for dw_val_class_flag.
From-SVN: r157871
PR bootstrap/43596
* cselib.c (cselib_process_insn): Clear cselib_current_insn
even before returning from label, setjmp call or volatile asm
handling.
From-SVN: r157869
2010-03-31 Richard Guenther <rguenther@suse.de>
PR middle-end/43600
* cgraphunit.c (cgraph_output_in_order): Do not allocate
temporary data on stack.
From-SVN: r157867
2010-03-31 Martin Jambor <mjambor@suse.cz>
* gcc.dg/guality/inline-params.c: Disable early inlining. Xfail run
only with -O2, -O3 or -Os and not with -fwhopr.
From-SVN: r157863
Fix PR c++/43558
gcc/cp/ChangeLog:
PR c++/43558
* cp-tree.h (TEMPLATE_TYPE_PARM_SIBLING_PARMS): New accessor macro.
* pt.c (end_template_parm_list): Store sibling template parms of
each TEMPLATE_TYPE_PARMs into its TEMPLATE_TYPE_PARM_SIBLING_PARMS.
(push_template_decl_real): Don't store the containing template decl
into the DECL_CONTEXT of TEMPLATE_TYPE_PARMs anymore.
* typeck.c (get_template_parms_of_dependent_type): Get sibling parms
of a TEMPLATE_TYPE_PARM from TEMPLATE_TYPE_PARM_SIBLING_PARMS.
Simplify the logic.
gcc/testsuite/ChangeLog:
PR c++/43558
* g++.dg/template/typedef31.C: New test.
From-SVN: r157857
* var-tracking.c (use_narrower_mode_test, use_narrower_mode): New
functions.
(adjust_mems): Replace narrowing SUBREG of expression containing
just PLUS, MINUS, MULT and ASHIFT of registers and constants
with operations in the narrower mode.
From-SVN: r157835
2010-03-30 Johannes Singler <singler@kit.edu>
* include/parallel/random_shuffle.h
(__parallel_random_shuffle_drs) : Take as many threads as
possible, i. e. favor parallelism over cache efficiency.
Use own PRNG also for the 1 thread case.
From-SVN: r157826
2010-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_emit_prologue): Omit issuing a dynamic
stack check if the mask would be zero.
2010-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.target/s390/stackcheck1.c: New testcase.
From-SVN: r157825
2010-03-30 Seongbae Park <seongbae.park@gmail.com>
Jack Howarth <howarth@bromo.med.uc.edu>
* tree-profile.c (tree_init_ic_make_global_vars): Make static
variables TLS.
Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
From-SVN: r157822
2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
PR c/43553
* Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
* configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
is used and substitute set_use_emutls.
* configure: Regenerated.
From-SVN: r157821
PR other/25232
* libgcc-std.ver (GCC_4.5.0): Define version. Include __unordxf2
and __unordtf2.
* config/bfin/libgcc-bfin.ver (GCC_4.5.0): Define version.
Include ___unordxf2 and ___unordtf2.
* config/i386/libgcc-glibc.ver: Do not define inheritance from
GCC_4.4.0 here.
From-SVN: r157819
2010-03-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/43265
* io/transfer.c (next_record_r): Only call hit_eof for specific
conditions when an EOF is encountered.
From-SVN: r157810
More N3077 raw string changes
* charset.c (cpp_interpret_string): Don't transform UCNs in raw
strings.
* lex.c (bufring_append): Split out from...
(lex_raw_string): ...here. Undo trigraph and line splicing
transformations. Do process line notes in multi-line literals.
(_cpp_process_line_notes): Ignore notes that were already handled.
From-SVN: r157804
* c-c++-common/raw-string-1.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-2.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-3.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-4.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-5.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-6.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-7.c: Combine C and C++ raw string tests.
From-SVN: r157803