Skip to content

Commit 1b3146f

Browse files
author
Damian Rouson
committed
Merge branch 'master' of https://github.com/gcc-mirror/gcc
2 parents 5e80f53 + fe008cb commit 1b3146f

File tree

518 files changed

+13658
-10653
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

518 files changed

+13658
-10653
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2018-03-30 Bill Schmidt <[email protected]>
2+
3+
* MAINTAINERS: Update my email address and disambiguate myself
4+
a bit from Will Schmidt.
5+
16
2018-03-21 Nathan Sidwell <[email protected]>
27

38
* MAINTAINERS: Move maintainers of now-removed picochip and score

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ testsuite Rainer Orth <[email protected]>
244244
testsuite Mike Stump <[email protected]>
245245
register allocation Vladimir Makarov <[email protected]>
246246
gdbhooks.py David Malcolm <[email protected]>
247-
SLSR Bill Schmidt <wschmidt@linux.vnet.ibm.com>
247+
SLSR Bill Schmidt <[email protected]>
248248
jit David Malcolm <[email protected]>
249249
pointer bounds checker Ilya Enkovich <[email protected]>
250250
i386 MPX Ilya Enkovich <[email protected]>
@@ -570,8 +570,8 @@ Sujoy Saraswati <[email protected]>
570570
Trevor Saunders <[email protected]>
571571
Aaron Sawdey <[email protected]>
572572
Roger Sayle <[email protected]>
573+
Bill Schmidt <[email protected]>
573574
Will Schmidt <[email protected]>
574-
William Schmidt <[email protected]>
575575
Tilo Schwarz <[email protected]>
576576
Martin Sebor <[email protected]>
577577
Svein Seldal <[email protected]>

gcc/ChangeLog

Lines changed: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,215 @@
1+
2018-03-30 Aaron Sawdey <[email protected]>
2+
3+
PR target/83822
4+
* config/rs6000/rs6000-string.c (expand_compare_loop): Fix redundant
5+
condition.
6+
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Fix redundant
7+
condition.
8+
9+
2018-03-30 Julia Koval <[email protected]>
10+
11+
PR target/84413
12+
* x86-tune.def (movx, partial_reg_dependency): Enable for
13+
m_SKYLAKE_AVX512.
14+
15+
2018-03-29 Vladimir Makarov <[email protected]>
16+
17+
PR inline-asm/84985
18+
* lra-constraints.c (process_alt_operands): Move setting
19+
this_alternative_matches below.
20+
21+
2018-03-29 Martin Liska <[email protected]>
22+
23+
PR lto/84995.
24+
* doc/invoke.texi: Document how LTO works with debug info.
25+
Describe auto-load support of binutils. Mention 'x86-64'
26+
as valid option value of -march option.
27+
28+
2018-03-29 Jakub Jelinek <[email protected]>
29+
30+
* config/i386/sse.md (<avx512>_blendm<mode>): Use <sseintprefix>.
31+
32+
PR c/85094
33+
* fold-const.c (operand_equal_p): Handle DEBUG_BEGIN_STMT.
34+
For STATEMENT_LIST, pass down OEP_LEXICOGRAPHIC and maybe
35+
OEP_NO_HASH_CHECK for recursive call, to avoid exponential
36+
checking.
37+
38+
2018-03-28 Peter Bergner <[email protected]>
39+
40+
PR target/84912
41+
* config/rs6000/rs6000.h (RS6000_BTM_POWERPC64): New define.
42+
(RS6000_BTM_COMMON): Add RS6000_BTM_POWERPC64.
43+
* config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add support
44+
for RS6000_BTM_POWERPC64.
45+
(rs6000_invalid_builtin): Add handling for RS6000_BTM_POWERPC64
46+
(rs6000_builtin_mask_names): Add RS6000_BTM_POWERPC64.
47+
* config/rs6000/rs6000-builtin.def (BU_P7_POWERPC64_MISC_2): New macro
48+
definition.
49+
(DIVDE): Use it.
50+
(DIVDEU): Likewise.
51+
52+
2018-03-28 Carl Love <[email protected]>
53+
54+
Revert
55+
2017-09-27 Carl Love <[email protected]>
56+
57+
* config/rs6000/rs6000-builtin.def (BU_FP_1MISC_1): Add define macro.
58+
(FCTID, FCTIW): Add BU_FP_MISC_1 macro expansion for builtins.
59+
* config/rs6000/rs6000.md (lrintsfsi2): Add define_insn for the
60+
fctiw instruction.
61+
62+
2018-03-28 Bill Schmidt <[email protected]>
63+
64+
* config/rs6000/xmmintrin.h (_mm_max_pi16): Use __vector __bool
65+
instead of __vector bool.
66+
(_mm_max_pu8): Likewise.
67+
(_mm_min_pi16): Likewise.
68+
69+
2018-03-28 Peter Bergner <[email protected]>
70+
71+
PR target/84912
72+
* config/rs6000/rs6000-builtin.def (DIVWEO): Delete macro expansion.
73+
(DIVWEUO): Likewise.
74+
(DIVDEO): Likewise.
75+
(DIVDEUO): Likewise.
76+
* config/rs6000/rs6000.c (builtin_function_type): Remove support for
77+
DIVWEUO and DIVDEUO.
78+
* config/rs6000/rs6000.md (UNSPEC_DIVEO, UNSPEC_DIVEUO): Delete unspecs.
79+
(UNSPEC_DIV_EXTEND): Remove deleted unspecs.
80+
(div_extend): Likewise.
81+
* doc/extend.texi (__builtin_divweo): Remove documentation for deleted
82+
builtin function.
83+
(__builtin_divweuo): Likewise.
84+
(__builtin_divdeo): Likewise.
85+
(__builtin_divdeuo): Likewise.
86+
87+
2018-03-28 Jakub Jelinek <[email protected]>
88+
89+
PR target/85095
90+
* config/i386/i386.md (*add<mode>3_carry_0, *addsi3_carry_zext_0,
91+
*sub<mode>3_carry_0, *subsi3_carry_zext_0): New patterns.
92+
93+
PR tree-optimization/82004
94+
* gimple-match-head.c (optimize_pow_to_exp): New function.
95+
* match.pd (pow(C,x) -> exp(log(C)*x)): Wrap with #if GIMPLE.
96+
Don't fold to exp if optimize_pow_to_exp is false.
97+
98+
2018-03-28 Martin Liska <[email protected]>
99+
100+
PR other/84819
101+
* calls.c (initialize_argument_information): Fix trailing space.
102+
* common.opt: Fix typo and provide better explanation for
103+
-fsanitize-coverage option.
104+
* config/i386/i386.opt: Fix typo.
105+
106+
2018-03-28 Jakub Jelinek <[email protected]>
107+
Martin Liska <[email protected]>
108+
109+
PR sanitizer/85081
110+
* gimplify.c (asan_poison_variable): Don't do the check for
111+
gimplify_omp_ctxp here.
112+
(gimplify_decl_expr): Do it here.
113+
(gimplify_target_expr): Likewise.
114+
115+
2018-03-28 Martin Liska <[email protected]>
116+
117+
PR target/84988
118+
* config/i386/i386.c (ix86_function_arg_advance): Do not call
119+
chkp_type_bounds_count if MPX is not enabled.
120+
121+
2018-03-27 Chung-Ju Wu <[email protected]>
122+
123+
* config/nds32/nds32.h (BRANCH_COST): Adjust cost.
124+
125+
2018-03-27 Michael Meissner <[email protected]>
126+
127+
PR target/84914
128+
* config/rs6000/rs6000.c (create_complex_muldiv): New helper
129+
function to create the function decl for complex long double
130+
multiply and divide for -mabi=ieeelongdouble.
131+
(init_float128_ieee): Call it.
132+
133+
2018-03-27 H.J. Lu <[email protected]>
134+
135+
PR target/85044
136+
* config/i386/i386.c (ix86_trampoline_init): Insert ENDBR for
137+
-fcf-protection=branch -mibt.
138+
* config/i386/i386.h (TRAMPOLINE_SIZE): Increased by 4 bytes.
139+
140+
2018-03-27 Ramana Radhakrishnan <[email protected]>
141+
142+
PR target/81863
143+
* config/arm/arm.c (arm_valid_symbolic_address): Handle arm_word_relocations
144+
145+
2018-03-27 Cesar Philippidis <[email protected]>
146+
147+
PR target/85056
148+
* config/nvptx/nvptx.c (nvptx_assemble_decl_begin): Add '[]' to
149+
extern array declarations.
150+
151+
2018-03-27 Richard Biener <[email protected]>
152+
153+
PR middle-end/84067
154+
* match.pd ((A * C) +- (B * C) -> (A+-B) * C): Guard with
155+
explicit single_use checks.
156+
157+
2018-03-27 Richard Biener <[email protected]>
158+
159+
PR tree-optimization/85082
160+
* tree-ssa-sccvn.c (vn_reference_lookup_or_insert_for_pieces):
161+
Valueize the VUSE.
162+
163+
2018-03-27 Ramana Radhakrishnan <[email protected]>
164+
165+
* config.gcc (aarch64*-*-linux*): New TARGET_DEFAULT_ASYNC_UNWIND_TABLES
166+
* common/config/aarch64/aarch64-common.c (aarch64_optimization_table[]):
167+
Turn on fasynchronous-unwind-tables and funwind-tables.
168+
169+
2018-03-26 Uros Bizjak <[email protected]>
170+
171+
PR target/85073
172+
* config/i386/i386.md (*bmi_blsr_<mode>_cmp): New insn pattern.
173+
(*bmi_blsr_<mode>_ccz): Ditto.
174+
175+
2018-03-26 Tom de Vries <[email protected]>
176+
177+
PR tree-optimization/85063
178+
* omp-general.c (offloading_function_p): New function. Factor out
179+
of ...
180+
* omp-offload.c (pass_omp_target_link::gate): ... here.
181+
* omp-general.h (offloading_function_p): Declare.
182+
* tree-switch-conversion.c (build_one_array): Mark CSWTCH.x variable
183+
with attribute omp declare target for offloading functions.
184+
185+
2018-03-24 Richard Sandiford <[email protected]>
186+
187+
PR tree-optimization/84005
188+
* tree-data-ref.h (get_base_for_alignment): Declare.
189+
* tree-data-ref.c (get_base_for_alignment_1): New function.
190+
(get_base_for_alignment): Likewise.
191+
* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use
192+
get_base_for_alignment to find a suitable base object, instead
193+
of always using drb->base_address.
194+
195+
2018-03-23 Jakub Jelinek <[email protected]>
196+
197+
PR inline-asm/85022
198+
* emit-rtl.c (init_emit_regs): Indicate that VOIDmode MEMs don't have
199+
known size by default.
200+
201+
2018-03-23 Vladimir Makarov <[email protected]>
202+
203+
PR inline-asm/85030
204+
* lra-constraints.c (process_alt_operands): Don't match BLKmode
205+
and non BLKmode operands.
206+
207+
2018-03-23 Kyrylo Tkachov <[email protected]>
208+
209+
PR target/85026
210+
* config/arm/arm.md (unaligned_loadhis): Remove first alternative.
211+
Clean up attributes.
212+
1213
2018-03-23 Richard Biener <[email protected]>
2214

3215
PR debug/85020

gcc/DATESTAMP

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20180323
1+
20180330

gcc/ada/ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2018-03-23 Eric Botcazou <[email protected]>
2+
3+
PR ada/85007
4+
* gnatlink.adb (Gnatlink): Remove handling of -b switch.
5+
* doc/gnat_ugn/building_executable_programs_with_gnat.rst (gnatlink):
6+
Remove documentation of -b switch.
7+
8+
2018-03-23 Eric Botcazou <[email protected]>
9+
10+
PR ada/85036
11+
* gnatlink.adb (Process_Args): Drop existing link switches if multiple
12+
switches are passed for --LINK.
13+
114
2018-03-12 Eric Botcazou <[email protected]>
215

316
PR ada/82813

gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7270,14 +7270,6 @@ The following switches are available with the ``gnatlink`` utility:
72707270
an executable called :file:`try`.
72717271

72727272

7273-
.. index:: -b (gnatlink)
7274-
7275-
:switch:`-b {target}`
7276-
Compile your program to run on ``target``, which is the name of a
7277-
system configuration. You must have a GNAT cross-compiler built if
7278-
``target`` is not the same as your host system.
7279-
7280-
72817273
.. index:: -B (gnatlink)
72827274

72837275
:switch:`-B{dir}`

gcc/ada/gnatlink.adb

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -425,36 +425,6 @@ procedure Gnatlink is
425425

426426
elsif Arg'Length = 2 then
427427
case Arg (2) is
428-
when 'b' =>
429-
Linker_Options.Increment_Last;
430-
Linker_Options.Table (Linker_Options.Last) :=
431-
new String'(Arg);
432-
433-
Binder_Options.Increment_Last;
434-
Binder_Options.Table (Binder_Options.Last) :=
435-
Linker_Options.Table (Linker_Options.Last);
436-
437-
Next_Arg := Next_Arg + 1;
438-
439-
if Next_Arg > Argument_Count then
440-
Exit_With_Error ("Missing argument for -b");
441-
end if;
442-
443-
Get_Machine_Name : declare
444-
Name_Arg : constant String_Access :=
445-
new String'(Argument (Next_Arg));
446-
447-
begin
448-
Linker_Options.Increment_Last;
449-
Linker_Options.Table (Linker_Options.Last) :=
450-
Name_Arg;
451-
452-
Binder_Options.Increment_Last;
453-
Binder_Options.Table (Binder_Options.Last) :=
454-
Name_Arg;
455-
456-
end Get_Machine_Name;
457-
458428
when 'f' =>
459429
if Object_List_File_Supported then
460430
Object_List_File_Required := True;
@@ -544,6 +514,11 @@ procedure Gnatlink is
544514
end if;
545515

546516
-- The other arguments are passed as-is to the linker
517+
-- and override those coming from --GCC= if any.
518+
519+
if L_Args.all'Last >= 2 then
520+
Gcc_Linker_Options.Set_Last (0);
521+
end if;
547522

548523
for J in 2 .. L_Args.all'Last loop
549524
Gcc_Linker_Options.Increment_Last;
@@ -1425,7 +1400,6 @@ procedure Gnatlink is
14251400
Write_Line (" -v -v Very verbose mode");
14261401
Write_Eol;
14271402
Write_Line (" -o nam Use 'nam' as the name of the executable");
1428-
Write_Line (" -b target Compile the binder source to run on target");
14291403
Write_Line (" -Bdir Load compiler executables from dir");
14301404

14311405
if Is_Supported (Map_File) then

gcc/c-family/ChangeLog

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2018-03-29 David Malcolm <[email protected]>
2+
3+
PR c++/84269
4+
* known-headers.cc (get_stdlib_header_for_name): Add various names
5+
from <assert.h>, <string.h>, and <memory.h>; add more names from
6+
<stdio.h>.
7+
8+
2018-03-27 Jakub Jelinek <[email protected]>
9+
10+
PR c++/85061
11+
* c-common.c (fold_offsetof_1) <case COMPOUND_EXPR>: Assert that
12+
get_base_address of the second operand is a VAR_P, rather than the
13+
operand itself, and use gcc_checking_assert instead of gcc_assert.
14+
115
2018-03-23 Marek Polacek <[email protected]>
216

317
PR c++/85045

gcc/c-family/c-common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6272,7 +6272,7 @@ fold_offsetof_1 (tree expr, enum tree_code ctx)
62726272
case COMPOUND_EXPR:
62736273
/* Handle static members of volatile structs. */
62746274
t = TREE_OPERAND (expr, 1);
6275-
gcc_assert (VAR_P (t));
6275+
gcc_checking_assert (VAR_P (get_base_address (t)));
62766276
return fold_offsetof_1 (t);
62776277

62786278
default:

0 commit comments

Comments
 (0)