Jerry DeLisle
2d51422f39
re PR fortran/57822 (I/O: "(g0)" wrongly prints "E+0000")
...
2015-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/57822
* gfortran/fmt_g0_7.f08: New test.
From-SVN: r220565
2015-02-10 03:34:19 +00:00
Jerry DeLisle
94ce26f1b7
re PR fortran/57822 (I/O: "(g0)" wrongly prints "E+0000")
...
2015-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/57822
* io/write_float.def (output_float): If doing g0 editing and
exponent is zero, do not emit exponent.
From-SVN: r220564
2015-02-10 02:49:58 +00:00
Bin Cheng
940652d50f
re PR tree-optimization/43378 (IVOPTs messes up code)
...
PR tree-optimization/43378
* gcc.dg/tree-ssa/pr43378.c: New test.
From-SVN: r220563
2015-02-10 02:34:41 +00:00
Trevor Saunders
a9e083cc43
Tolerate different definitions of symbols in lto
...
gcc/
PR lto/64076
* ipa-visibility.c (update_visibility_by_resolution_info): Only
assert when not in lto mode.
From-SVN: r220561
2015-02-10 02:23:11 +00:00
Zhouyi Zhou
32721b2cb5
ira-color.c (setup_left_conflict_sizes_p): Simplify initialization/assignment of conflict_size.
...
* ira-color.c (setup_left_conflict_sizes_p): Simplify
initialization/assignment of conflict_size.
From-SVN: r220560
2015-02-09 18:44:18 -07:00
Georg Koppen
adebb6e733
ssp.c (__guard_setup): For Windows...
...
* ssp.c (__guard_setup): For Windows, use approved
methods to get a suitable random number for the stack
check guard rather than reading /dev/random.
From-SVN: r220559
2015-02-09 18:44:08 -07:00
Jan Hubicka
94a2f772f0
re PR ipa/64978 (ICE: in ipcp_verify_propagated_values, at ipa-cp.c:1060)
...
PR ipa/64978
* ipa-cp.c (gather_caller_stats): Skip thunks.
(propagate_constants_topo): Skip aliases.
* g++.dg/torture/pr64978.C: New testcase.
From-SVN: r220557
2015-02-10 00:38:46 +00:00
GCC Administrator
b25d7b91b0
Daily bump.
...
From-SVN: r220556
2015-02-10 00:16:11 +00:00
Kaz Kojima
d808ecdd4e
re PR target/64761 (-freorder-blocks-and-partition causes some failures on SH)
...
PR target/64761
[SH] Add jump insn for -freorder-blocks-and-partition. Don't degrade
-freorder-blocks-and-partition to -freorder-blocks even when unwinding
is enabled.
* [SH] Add jump insn for -freorder-blocks-and-partition.
From-SVN: r220553
2015-02-10 00:00:54 +00:00
Joern Rennecke
cf6186e9f2
re PR target/64761 (-freorder-blocks-and-partition causes some failures on SH)
...
PR target/64761
Replace MD_REDIRECT_BRANCH with TARGET_CAN_FOLLOW_JUMP.
Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org>
From-SVN: r220552
2015-02-09 23:47:11 +00:00
Jakub Jelinek
d51151b2f4
re PR sanitizer/64981 (-fsanitize=address cant expand __builtin_ia32_rdtsc)
...
PR sanitizer/64981
* builtins.c (expand_builtin): Call targetm.expand_builtin
for BUILT_IN_MD builtins regardless of asan_intercepted_p.
* gcc.dg/asan/pr64981.c: New test.
From-SVN: r220551
2015-02-09 22:23:58 +01:00
Marek Polacek
c3e38a03df
re PR c/64856 (Initializing struct not accepted in gnu99)
...
PR c/64856
* c-typeck.c (process_init_element): Don't always wrap
COMPOUND_LITERAL_EXPR in a SAVE_EXPR in C99 mode when
initializing a range of elements.
* gcc.dg/pr64856.c: New test.
From-SVN: r220550
2015-02-09 21:19:02 +00:00
Jan Hubicka
6248441777
re PR ipa/61548 (FAIL: gcc.dg/tls/alias-1.c)
...
PR ipa/61548
* tree-emutls.c (ipa_lower_emutls): Avoid duplicates in TLS_VARS.
From-SVN: r220549
2015-02-09 21:06:35 +00:00
Jan Hubicka
106b546664
re PR ipa/63566 (i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326)
...
PR ipa/63566
* ipa-icf.c (set_local): New function.
(sem_function::merge): Use it.
From-SVN: r220548
2015-02-09 20:45:04 +00:00
Jan Hubicka
b8ec1bd329
ipa-devirt.c (odr_types_equivalent_p): Fix formating.
...
* ipa-devirt.c (odr_types_equivalent_p): Fix formating.
(add_type_duplicate): Fix comparison of BINFOs.
From-SVN: r220547
2015-02-09 20:42:59 +00:00
Jan Hubicka
7d8adcba74
ipa-devirt.c (odr_types_equivalent_p): Fix formating.
...
* ipa-devirt.c (odr_types_equivalent_p): Fix formating.
(add_type_duplicate): Fix comparison of BINFOs.
From-SVN: r220546
2015-02-09 20:34:18 +00:00
Jan Hubicka
62c7e4b748
ipa-polymorphic-call.c (ipa_polymorphic_call_context): Avoid ICE on getting VOID pointer.
...
* ipa-polymorphic-call.c (ipa_polymorphic_call_context): Avoid ICE
on getting VOID pointer.
From-SVN: r220545
2015-02-09 20:24:55 +00:00
Jason Merrill
a02f26f6d8
re PR c++/64899 (Illegal dynamic initialization)
...
PR c++/64899
* init.c (build_vec_init): Handle default-initialized array with
constexpr default constructor.
From-SVN: r220544
2015-02-09 14:15:55 -05:00
Jakub Jelinek
21c0137a8a
re PR target/64979 (stdarg optimization not able to find escape sites in phi nodes)
...
PR target/64979
* tree-stdarg.c (pass_stdarg::execute): Scan phi node args for
va_list escapes.
* gcc.dg/tree-ssa/stdarg-7.c: New test.
* gcc.c-torture/execute/pr64979.c: New test.
From-SVN: r220543
2015-02-09 18:01:36 +01:00
Alan Lawrence
468963de96
[Obvious][Testsuite] Remove extraneous target from gcc.target/arm/macro_defs0.c
...
gcc/testsuite/:
* gcc.target/arm/macro_defs0.c: Remove extraneous "target"
From-SVN: r220542
2015-02-09 16:26:22 +00:00
Richard Biener
434fa90395
genmatch.c (replace_id): Copy expr_type.
...
2015-02-09 Richard Biener <rguenther@suse.de>
* genmatch.c (replace_id): Copy expr_type.
From-SVN: r220541
2015-02-09 13:43:17 +00:00
Richard Biener
b6bf201e34
tree-streamer.h (streamer_pack_tree_bitfields): Remove.
...
2015-02-09 Richard Biener <rguenther@suse.de>
* tree-streamer.h (streamer_pack_tree_bitfields): Remove.
(streamer_write_tree_bitfields): Declare.
* tree-streamer-in.c (unpack_ts_base_value_fields): Inline,
properly unpack padding.
(unpack_value_fields): Inline ...
(streamer_read_tree_bitfields): ... here.
* tree-streamer-out.c (pack_ts_base_value_fields): Inline
and properly add padding bits.
(streamer_pack_tree_bitfields): Fold into ...
(streamer_write_tree_bitfields): ... this new function,
exposing the bitpack object.
* lto-streamer-out.c (lto_write_tree_1): Call
streamer_write_tree_bitfields.
From-SVN: r220540
2015-02-09 13:18:15 +00:00
Uros Bizjak
ddc5ffe9c2
* testsuite/ChangeLog: Improve my last commit message.
...
From-SVN: r220539
2015-02-09 13:26:55 +01:00
Uros Bizjak
91f983770f
ssa-dom-cse-2.c: Xfail for alpha*-*-*.
...
* gcc.dg/tree-ssa/ssa-dom-cse-2.c: Xfail for alpha*-*-*.
* gcc.dg/tree-ssa/pr42585.c: Xfail scan-tree-dump-times for alpha*-*-*.
From-SVN: r220538
2015-02-09 13:22:17 +01:00
Uros Bizjak
c5ed53f5e7
re PR target/58757 (Advertise the lack of denormal support on alpha without -mieee)
...
PR target/58757
* gcc.dg/c11-true_min-1.c: Xfail execution for alpha*-*-*.
From-SVN: r220537
2015-02-09 12:53:26 +01:00
Richard Biener
28002f1ad1
re PR tree-optimization/54000 (Performance breakdown for gcc-4.{6,7} vs. gcc-4.5 using std::vector in matrix vector multiplication (IVopts / inliner))
...
2015-02-09 Richard Biener <rguenther@suse.de>
PR tree-optimization/54000
* tree-ssa-looo-ivopts.c: Include tree-vectorizer.h.
(struct ivopts_data): Add loop_loc member.
(tree_ssa_iv_optimize_loop): Dump loop location.
(create_new_ivs): Likewise, also dump number of IVs generated.
* g++.dg/tree-ssa/ivopts-3.C: New testcase.
From-SVN: r220536
2015-02-09 11:51:05 +00:00
Thomas Schwinge
a8adc78f49
libvtv: autoreconf.
...
libvtv/
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.
From-SVN: r220535
2015-02-09 12:41:22 +01:00
Tom de Vries
16c1c897b8
Move ChangeLog entry
...
From-SVN: r220533
2015-02-09 10:49:43 +00:00
Tom de Vries
e8c8d50e54
Fix scan-tree-dump in gcc.dg/graphite/scop-19.c for fpic
...
2015-02-09 Tom de Vries <tom@codesourcery.com>
* gcc.dg/graphite/scop-19.c: Fix scan-tree-dump for fpic.
From-SVN: r220532
2015-02-09 10:35:43 +00:00
Martin Liska
e3e968e906
IPA ICF: Fix late initialization of callgraph hooks.
...
* g++.dg/ipa/pr64858.C: New test.
* ipa-icf.c (sem_item_optimizer::register_hooks): Register hooks
just if not yet registered.
(ipa_icf_generate_summary): Register callgraph hooks.
From-SVN: r220531
2015-02-09 10:31:14 +00:00
Tom de Vries
62e0e086d3
Fix gcc.dg/uninit-19.c for fpic
...
2015-02-09 Tom de Vries <tom@codesourcery.com>
* gcc.dg/uninit-19.c: Fix warning line for fpic.
From-SVN: r220530
2015-02-09 10:21:59 +00:00
GCC Administrator
d741d1434e
Daily bump.
...
From-SVN: r220526
2015-02-09 00:16:12 +00:00
Andrew Pinski
ea51eee363
ssa-dom-cse-2.c: xfail for AARCH64 also.
...
2015-02-08 Andrew Pinski <apinski@cavium.com>
* gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail for AARCH64 also.
From-SVN: r220523
2015-02-08 13:55:59 -08:00
Andrew Pinski
8276bf92c0
aarch64.c (gty_dummy): Delete.
...
2015-02-08 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.c (gty_dummy): Delete.
From-SVN: r220522
2015-02-08 13:53:21 -08:00
Jan Hubicka
953aad6151
re PR ipa/63566 (i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326)
...
PR ipa/63566
* ipa-visibility.c (cgraph_node::non_local_p): Accept aliases.
(cgraph_node::local_p): Remove thunk related FIXME.
From-SVN: r220521
2015-02-08 21:08:44 +00:00
Jan Hubicka
ead0ba5768
re PR ipa/63566 (i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326)
...
PR ipa/63566
* i386.c (ix86_function_regparm): Look through aliases to see if callee
is local and optimized.
(ix86_function_sseregparm): Likewise; also use target's SSE math
settings; error out instead of silently generating wrong code
on mismatches.
(init_cumulative_args): Look through aliases.
From-SVN: r220520
2015-02-08 21:04:41 +00:00
Jan Hubicka
42685f72ca
re PR ipa/63566 (i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326)
...
PR ipa/63566
* ipa-split.c (execute_split_functions): Split if function has aliases.
From-SVN: r220519
2015-02-08 20:13:01 +00:00
Jan Hubicka
9641fab348
re PR ipa/63566 (i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326)
...
PR ipa/63566
* cgraphunit.c (cgraph_node::analyze): Be sure target of thunk is
aliases before trying to expand it.
(cgraph_node::expand_thunk): Fix formating.
From-SVN: r220518
2015-02-08 20:08:21 +00:00
Mikael Morin
91480ff350
Use the local name instead of the original name in the check for name conflicts...
...
Use the local name instead of the original name in the check for name conflicts
between a hosting program unit and use-associated symbols
in that program unit.
fortran/
PR fortran/63744
* module.c (check_for_ambiguous): Change argument type
from gfc_symbol to gfc_symtree. Check local (symtree) name
instead of original (symbol) name.
(read_module): Update caller.
testsuite/
PR fortran/63744
gfortran.dg/use_rename_8.f90: New.
From-SVN: r220515
2015-02-08 14:18:16 +00:00
Eric Botcazou
57f4f0d5f6
decl.c (gnat_to_gnu_param): Do not strip the padding if the parameter either is passed by reference or if...
...
* gcc-interface/decl.c (gnat_to_gnu_param): Do not strip the padding
if the parameter either is passed by reference or if the alignment
would be lowered.
From-SVN: r220514
2015-02-08 10:12:38 +00:00
Eric Botcazou
86ceee8522
decl.c (is_cplusplus_method): Use Is_Primitive flag to detect primitive operations of tagged and untagged types.
...
* gcc-interface/decl.c (is_cplusplus_method): Use Is_Primitive flag to
detect primitive operations of tagged and untagged types.
From-SVN: r220512
2015-02-08 09:49:10 +00:00
Eric Botcazou
9d11273c62
decl.c (gnat_to_gnu_entity): Do not bother about alias sets in presence of derivation for subprogram types.
...
* gcc-interface/decl.c (gnat_to_gnu_entity): Do not bother about alias
sets in presence of derivation for subprogram types.
From-SVN: r220511
2015-02-08 09:24:54 +00:00
Eric Botcazou
e2d13a4ad1
utils.c (begin_subprog_body): Assert that the body is present in the same context as the declaration.
...
* gcc-interface/utils.c (begin_subprog_body): Assert that the body is
present in the same context as the declaration.
From-SVN: r220510
2015-02-08 09:12:43 +00:00
GCC Administrator
5f5bfe7f62
Daily bump.
...
From-SVN: r220509
2015-02-08 00:16:24 +00:00
Sandra Loosemore
d719aff9e4
extend.texi (Function Attributes [naked]): Copy-edit.
...
2015-02-07 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/extend.texi (Function Attributes [naked]): Copy-edit.
(Using Assembly Language with C): Expand introduction.
(Basic Asm): Copy-edit. Add more information about uses of
basic asm.
(Extended Asm): Copy-edit. Document new escape syntax and
%l[label] syntax.
(Global Reg Vars): Copy-edit.
(Local Reg Vars): Likewise.
From-SVN: r220506
2015-02-07 17:12:47 -05:00
Jerry DeLisle
1060d9404d
re PR fortran/60956 (error reading (and writing) large text files in gfortran)
...
2015-02-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/60956
* io/fbuf.c (fbuf_flush_list): New function that only flushes
if current fbuf position exceeds a limit.
* io/fbuf.h: Declare the new function.
* io/io.h (enum unit_mode): Add two new modes.
* io/list_read.c (list_formatted_read_scalar): Call new function.
* io/write.c: Include fbuf.h. (list_formatted_write_scalar):
Call new function.
From-SVN: r220505
2015-02-07 15:13:15 +00:00
Jakub Jelinek
c0c91386b7
re PR middle-end/64340 (FAIL: gnat.dg/lto8.adb (internal compiler error))
...
PR middle-end/64340
* gcc-interface/trans.c (gigi): Recreate optimization_default_node
and optimization_current_node after tweaking global_options.
From-SVN: r220504
2015-02-07 15:44:26 +01:00
Eric Botcazou
f662ac2a23
Remove blank line
...
From-SVN: r220503
2015-02-07 11:11:17 +00:00
David Edelsohn
a15b4c98a3
re PR bootstrap/53348 (Conflicting fast-integer types on AIX: <sys/inttypes.h> vs. gcc/config/rs6000/aix-stdint.h)
...
PR bootstrap/53348
* inclhack.def (aix_pthread): Accept tab after define.
* fixincl.x: Regenerate.
From-SVN: r220502
2015-02-06 21:55:03 -05:00
David Edelsohn
0f32bcbd90
re PR debug/2714 (Stabs truncated on AIX)
...
PR debug/2714
PR bootstrap/64256
* xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384.
(DBX_CONTIN_CHAR): Define.
From-SVN: r220501
2015-02-06 21:34:38 -05:00