Re: [045/nnn] poly_int: REG_ARGS_SIZE

2017-12-24 Thread Andreas Schwab
mit_single_push_insn): ...here. Successfully regtested on m68k-linux. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [045/nnn] poly_int: REG_ARGS_SIZE

2017-12-22 Thread Andreas Schwab
nd.c:3790 0x6d8058 expand_gimple_tailcall ../../gcc/cfgexpand.c:3836 0x6d8058 expand_gimple_basic_block ../../gcc/cfgexpand.c:5774 0x6dd62e execute ../../gcc/cfgexpand.c:6403 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 2

Re: [i386] PR81842 [CET] -fcf-protection -mcet is incompatible with makecontext family functions

2017-12-19 Thread Andreas Schwab
tcontext (ucp); Any test for the ucontext functions will have to be compiled without -mshstk, of course. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [SFN] Bootstrap broken

2017-12-14 Thread Andreas Schwab
)); + gcc_assert (DEBUG_INSN_P (temp) || NOTE_P (temp)); } else { -- 2.15.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] Fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396#c28 on ia64 (PR bootstrap/83396)

2017-12-13 Thread Andreas Schwab
ought to fix that, except that I don't have access to > ia64 anymore and so can't test it. Andreas, could you try that? That doesn't bootstrap, details in the PR. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88

Re: [PATCH] PR libgcc/83112, Fix warnings on libgcc float128-ifunc.c

2017-12-12 Thread Andreas Schwab
a prototype. > > I still don't get it. A function definition is also a declaration. > > Something very non-intuitive is happening? `-Wmissing-prototypes (C and Objective-C only)' Warn if a global function is defined without a previous prototype declaration. This warning

Re: [PATCH 3/3] diagnose attribute aligned conflicts (PR 81566)

2017-12-11 Thread Andreas Schwab
http://gcc.gnu.org/ml/gcc-testresults/2017-12/msg00672.html Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH 3/3] diagnose attribute aligned conflicts (PR 81566)

2017-12-09 Thread Andreas Schwab
: error: alignment for 'foo2' must be at least 16 FAIL: g++.dg/pr53037-4.C -std=gnu++98 (test for excess errors) Excess errors: /usr/local/gcc/gcc-20171208/gcc/testsuite/g++.dg/pr53037-4.C:9:1: error: alignment for 'void foo2()' must be at least 16 Andreas. -- Andreas

Re: patch to fix PR80818

2017-12-02 Thread Andreas Schwab
rror: address register in load range /tmp/cc9usHrI.s:296: Error: address register in load range /tmp/cc9usHrI.s:307: Error: address register in load range /tmp/cc9usHrI.s:316: Error: address register in load range Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7

Re: [PATCH] rs6000: Set rs6000_cpu correctly (PR43871)

2017-12-02 Thread Andreas Schwab
rs6000.c:4187 0x10a8fdab rs6000_option_override_internal ../../gcc/config/rs6000/rs6000.c:4187 0x1017460b process_options ../../gcc/toplev.c:1234 0x1017460b do_compile ../../gcc/toplev.c:2015 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Fix -Wreturn-type fallout

2017-11-25 Thread Andreas Schwab
(working copy) @@ -20,6 +20,7 @@ if (this != r33) { abort (); } + return ConstructedObject(); } int main() -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] Use __BYTE_ORDER__ predefined macro instead of runtime check

2017-11-22 Thread Andreas Schwab
ily be confused with the macro which has different semantics. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] New lang hook

2017-11-18 Thread Andreas Schwab
FAIL: g++.dg/pr82836.C (test for excess errors) Excess errors: /opt/gcc/gcc-20171118/gcc/testsuite/g++.dg/pr82836.C:13:3: error: '__float128' does not name a type; did you mean '__Float16x8_t'? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA

Re: [PATCH 08/22] Add Intel CET support for EH in libgcc.

2017-11-18 Thread Andreas Schwab
xt, &cur_context, frames); ^~ ../../../libgcc/config/ia64/unwind-ia64.c:2167:1: note: declared here uw_install_context (struct _Unwind_Context *current __attribute__((unused)), ^~~~~~ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D

Re: Drop frequencies from cgraph edges

2017-11-12 Thread Andreas Schwab
0 t _ZL16function_summaryPK13coverage_infoPKc 3740 t _ZL16gcov_read_stringv 8940 t _ZL16generate_resultsPKc 7b80 t _ZL16get_cycles_countR9line_infob Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 2

Re: [PATCH] Set default to -fomit-frame-pointer

2017-11-08 Thread Andreas Schwab
t > options or force it internally are bfin, ft32, h8300, m68k - I've CCd the > maintainers (it seems there is no-one for h8300). For m68k, adding -fomit-frame-pointer by default is ok. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Fix -Wreturn-type fallout in c-c++-common/torture/aarch64-vect-lane-2.c

2017-11-08 Thread Andreas Schwab
rch64*-*-*" } } // { dg-xfail-if "" { *-*-* } { "-flto -fuse-linker-plugin" } { "" } } -int +void search_line_fast (void) { __builtin_aarch64_im_lane_boundsi (4, 0, 0); /* { dg-error "" } */ -- 2.15.0 -- Andreas Schwab, SUSE Labs, sch...@suse

Re: [PATCH] Fix test-suite fallout of default -Wreturn-type.

2017-11-07 Thread Andreas Schwab
On Nov 07 2017, Jakub Jelinek wrote: > On Tue, Nov 07, 2017 at 06:27:52PM +0100, Andreas Schwab wrote: >> * g++.dg/pr50763-3.C (evalPoint): Return a value. > > http://gcc.gnu.org/ml/gcc-patches/2017-11/msg00407.html > (waiting for review) Sorry, I missed that. Andreas.

Re: [PATCH] Fix test-suite fallout of default -Wreturn-type.

2017-11-07 Thread Andreas Schwab
v2d & crUV, v3d & rPnt) const { if (!_Dom.cop2d(crUV)) { sUV = _Dom.clp2d(crUV); } - eval(); + return eval(); } -- 2.15.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now

Re: [PATCH][RFC] Instrument function exit with __builtin_unreachable in C++.

2017-11-07 Thread Andreas Schwab
01504e6f run_selective_scheduling() ../../gcc/sel-sched.c:7713 0x41df9bdf ia64_reorg ../../gcc/config/ia64/ia64.c:9854 0x4146d40f execute ../../gcc/reorg.c:3947 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4

Re: [PATCH][AArch64] Improve aarch64_legitimate_constant_p

2017-11-04 Thread Andreas Schwab
nal.c:2046 0x8af483 rest_of_handle_final ../../gcc/final.c:4477 0x8af483 execute ../../gcc/final.c:4551 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: Drop frequencies from basic blocks

2017-11-04 Thread Andreas Schwab
947 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-31 Thread Andreas Schwab
On Okt 31 2017, "Tsimbalist, Igor V" wrote: > Fixed. > > - i[34567]86-*-linux* | x86_64-*-linux*) > + i[[34567]]86-*-linux* | x86_64-*-linux*) Don't forget to regenerate all configure scripts. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint

Re: [PATCH 07/22] Enable building libgcc with CET options.

2017-10-31 Thread Andreas Schwab
t; +dnl > +AC_DEFUN([GCC_CET_FLAGS],[dnl > +GCC_ENABLE(cet, default, ,[enable Intel CET in target libraries], > +permit yes|no|default) > +case "$host" in > + i[34567]86-*-linux* | x86_64-*-linux*) Missing quoting around [...]. Andreas. -- Andreas Schwab, sch...@li

Re: [PATCH] fix cygwin builds

2017-10-30 Thread Andreas Schwab
This broke ia64: In file included from ./tm_p.h:4:0, from ../../gcc/gimplify.c:30: ../../gcc/config/ia64/ia64-protos.h:49:13: error: use of enum 'memmodel' without previous declaration enum memmodel); ^ Andreas. -- Andreas Schwab, sch...@linu

Re: 0006-Part-6.-Add-x86-tests-for-Intel-CET-implementation

2017-10-22 Thread Andreas Schwab
at (test for warnings, line 15) FAIL: c-c++-common/attr-nocf-check-3a.c -Wc++-compat (test for warnings, line 25) FAIL: c-c++-common/attr-nocf-check-3a.c -Wc++-compat (test for excess errors) Excess errors: xgcc: error: unrecognized command line option '-mcet' Andreas. --

Re: [PATCH][PR target/19201] Peephole to improve clearing items in structure for m68k

2017-10-20 Thread Andreas Schwab
(match_operand:SI 3 "register_operand" "") > + (match_operand:SI 4 "register_operand" ""))) > + (const_int 0))] > + "(optimize_size || !TUNE_68060) > + && (operands[0] == operands[3] || operands[0] == opera

Re: [PATCH] Simplify SCEV entry

2017-10-11 Thread Andreas Schwab
e.c:486 0x10ea7f0 execute ../../gcc/graphite.c:563 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH] preprocessor stringizing raw strings

2017-10-11 Thread Andreas Schwab
IZE(R"( > )") END > > -// { dg-final { scan-file string-3.ii "BEGIN \"R\\\"(\\n)\\\"\"\n END" } } > +// { dg-final { scan-file string-3.i "BEGIN \"R\"\\(n\\)\\\\\"\"\n > END" } } You can avoid the inflati

Re: r253554 - in /trunk/gcc: ada/ChangeLog ada/exp_...

2017-10-10 Thread Andreas Schwab
e class_wide4.adb:18:04: actual for "This" must be a variable class_wide4.adb:19:04: actual for "This" must be a variable Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: Restore functional DONT_USE_BUILTIN_SETJMP support

2017-10-08 Thread Andreas Schwab
le-low.c:205 0x118997f lower_gimple_bind ../../gcc/gimple-low.c:441 0x118afff lower_function_body ../../gcc/gimple-low.c:109 0x118afff execute ../../gcc/gimple-low.c:183 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 21

Re: Restore functional DONT_USE_BUILTIN_SETJMP support

2017-10-08 Thread Andreas Schwab
arning: conflicting types for built-in function 'setjmp' [-Wbuiltin-declaration-mismatch] Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: r253513 - in /trunk/gcc: ChangeLog common.opt d...

2017-10-08 Thread Andreas Schwab
atible implicit declaration of built-in function 'abort' /usr/local/gcc/gcc-20171008/gcc/testsuite/gcc.dg/cold-1.c:7:1: warning: function might be candidate for attribute 'cold' [-Wsuggest-attribute=cold] Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint =

Re: [RFA] [PATCH] Add a warning for invalid function casts

2017-10-05 Thread Andreas Schwab
is causing undefined behviour. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH] detect incompatible aliases (PR c/81854)

2017-10-03 Thread Andreas Schwab
look like a valid ifunc resolver. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] Fix PR80295[aarch64] [7/8 Regression] ICE in __builtin_update_setjmp_buf expander

2017-09-25 Thread Andreas Schwab
+ gen_stack_tiesi (stack_pointer_rtx, hard_frame_pointer_rtx) > : > + gen_stack_tiedi (stack_pointer_rtx, > hard_frame_pointer_rtx)); GNU style is line break before the operator, not after. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 02/08 - V3

2017-09-19 Thread Andreas Schwab
On Sep 19 2017, Jeff Law wrote: > I know some early bits had hardcoded "8" in some places, but I didn't > think those had ever been posted -- I may have given them to Matz for > him to play with. Are you using those perhaps? Yes, that looks like what's been happ

Re: Enable no-exec stacks for more targets using the Linux kernel

2017-09-19 Thread Andreas Schwab
> the main process stacks, and GCC will never generate an explicit marker on > those architectures to request an executable stack? For ia64 on linux there is EF_IA_64_LINUX_EXECUTABLE_STACK to request executable heap and stack. But since ia64 uses function descriptors, trampolines never

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 02/08 - V3

2017-09-19 Thread Andreas Schwab
On Sep 18 2017, Jeff Law wrote: > On 09/18/2017 10:09 AM, Andreas Schwab wrote: >> On Sep 18 2017, Jeff Law wrote: >> >>> Can you confirm if the probe was in the red zone vs the live areas on >>> the stack? >> >> It overwrites a nearby v

Re: Enable no-exec stacks for more targets using the Linux kernel

2017-09-19 Thread Andreas Schwab
s needs to be fixed in glibc. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PR target/25512] Optimize certain equality tests on m68k

2017-09-18 Thread Andreas Schwab
(pc) (if_then_else (match_op_dup 5 [(cc0) (const_int 0)]) -- 2.14.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 02/08 - V3

2017-09-18 Thread Andreas Schwab
;+1220>: mov r1, #0 0x0001411c <+1224>: add r3, sp, #8 0x00014120 <+1228>: mov r0, r3 => 0x00014124 <+1232>: str r0, [sp, #8] Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 02/08 - V3

2017-09-18 Thread Andreas Schwab
but it could also end up using a VLA of size 1. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [RFC, vectorizer] Allow single element vector types for vector reduction operations

2017-09-12 Thread Andreas Schwab
e do not know how to scalarize those. */ > + return; The assignment is surely useless. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [Ada] Pragma Atomic wrongly rejected on composite component

2017-09-11 Thread Andreas Schwab
padding type on success before doing the atomic check. That regresses on gnat.dg/specs/atomic1.ads for aarch64/-mabi=ilp32, missing the error on line 13. The missing error on line 9 is preexisting. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3

Re: [PATCH, rs6000] Fix PR target/80210: ICE in extract_insn

2017-09-09 Thread Andreas Schwab
> fixes the problem on AIX. I've verified that this fixes the ICE. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH, rs6000] Fix PR target/80210: ICE in extract_insn

2017-09-08 Thread Andreas Schwab
../../gcc/function.c:1591 0x1043e5f7 instantiate_virtual_regs ../../gcc/function.c:1959 0x1043e5f7 execute ../../gcc/function.c:2008 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for somet

Re: [PATCH], PR target/82015, add PowerPC warning for unpack_vector_int128 with illegal 2nd argument

2017-09-08 Thread Andreas Schwab
'vector' /daten/gcc/gcc-20170907/gcc/testsuite/gcc.target/powerpc/pr82015.c:11:21: error: unknown type name 'vector' Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [RFC, vectorizer] Allow single element vector types for vector reduction operations

2017-09-02 Thread Andreas Schwab
c:4971 0x71e2f3 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3653 0x71e2f3 expand_gimple_stmt ../../gcc/cfgexpand.c:3751 0x721cdb expand_gimple_basic_block ../../gcc/cfgexpand.c:5750 0x726b07 execute ../../gcc/cfgexpand.c:6357 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH 2/2] C: use full locations within c_parser_expr_list's vec

2017-08-22 Thread Andreas Schwab
;float' rather than 'double' due to prototype cc1: warning: passing argument 1 of 'x.ff' as 'float' rather than 'double' due to prototype Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH] [i386] PR 81850 Don't ignore -mabi=sysv on Cygwin/MinGW

2017-08-21 Thread Andreas Schwab
On Aug 21 2017, Daniel Santos wrote: > This is a problem that occured because of this code in > ix86_option_override_internal: > > if (!opts_set->x_ix86_abi) > opts->x_ix86_abi = DEFAULT_ABI; Why is that a problem? Note opts_set vs opts. Andreas. -- Andreas S

Re: [PATCH] Fix fallout from VRP strict-overflow changes

2017-08-18 Thread Andreas Schwab
in_memcpy' specified size between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] correct documentation of attribute ifunc (PR 81882)

2017-08-17 Thread Andreas Schwab
On Aug 17 2017, Martin Sebor wrote: > -static void (*resolve_memcpy (void)) (void) > +static void* (*resolve_memcpy (void))(void *, const void *, size_t) Please use consistent spacing. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D

Re: C PATCH to display types when printing a conversion warning (PR c/81233)

2017-08-10 Thread Andreas Schwab
' from 'id' makes integer from pointer without a cast [-Wint-conversion] /daten/aranym/gcc/gcc-20170810/gcc/testsuite/objc.dg/proto-lossage-4.m:36:12: warning: assignment to 'intptr_t {aka int}' from 'id' makes integer from pointer without a cast [-Wint-conversion] /daten/aranym/gcc/gcc-20170810/gcc/testsuite/objc.dg/proto-lossage-4.m:44:12: warning: assignment to 'intptr_t {aka int}' from 'id' makes integer from pointer without a cast [-Wint-conversion] Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: C PATCH to further improve diagnostic for -Wsign-compare (PR c/81417)

2017-08-10 Thread Andreas Schwab
from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] /usr/local/gcc/gcc-20170810/gcc/testsuite/gcc.dg/compare2.c:57:12: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand

Re: [PATCH] i386: Don't use frame pointer without stack access

2017-08-07 Thread Andreas Schwab
On Aug 07 2017, Michael Matz wrote: > +/* { dg-final { scan-assembler "%\[re\]bp" } } */ Please use {} for regexps. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH #4, cleanup, committed] Remove PowerPC -mvsx-small-integer

2017-08-06 Thread Andreas Schwab
On BE/-m64: FAIL: gcc.target/powerpc/loop_align.c scan-assembler .p2align 5,,31 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH, rs6000] Clean up capitalized diagnostic messages

2017-08-06 Thread Andreas Schwab
) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH v12] add -fpatchable-function-entry=N,M option

2017-08-01 Thread Andreas Schwab
On Aug 01 2017, Maxim Kuvyrkov wrote: > Do you know a reliable way of checking whether target can issue nops in > simple code? Try inspecting one of the rtl dumps. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EE

Re: [PATCH v12] add -fpatchable-function-entry=N,M option

2017-08-01 Thread Andreas Schwab
> > Make sense, given that the use of Itanium has gone done drastically. You can get the same failure with any target, for example if there are delay slots to be filled. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH v12] add -fpatchable-function-entry=N,M option

2017-07-26 Thread Andreas Schwab
On Jul 26 2017, Torsten Duwe wrote: > On Wed, Jul 26, 2017 at 04:16:25PM +0200, Andreas Schwab wrote: >> On Jul 07 2017, Torsten Duwe wrote: >> >> > diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-decl.c >> > b/gcc/testsuite/c-c++-commo

Re: [PATCH] PR libstdc++/53984 handle exceptions in basic_istream::sentry

2017-07-26 Thread Andreas Schwab
t; +// { dg-require-file-io "" } ERROR: 27_io/basic_fstream/53984.cc: unknown dg option: dg-require-file-io 18 {} for " dg-require-file-io 18 "" " Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH v12] add -fpatchable-function-entry=N,M option

2017-07-26 Thread Andreas Schwab
ion_entry-definition.c > new file mode 100644 > index 000..a007867dcb0 > --- /dev/null > +++ b/gcc/testsuite/c-c++-common/patchable_function_entry-definition.c > @@ -0,0 +1,16 @@ > +/* { dg-do compile } */ > +/* { dg-options "-O2 -fpatchable-function-entry=3,1"

Re: [COMMITED][AArch64] Fix PR79041

2017-07-25 Thread Andreas Schwab
; +/* { dg-final { scan-assembler "adr" } } */ > +/* { dg-final { scan-assembler-not "adrp" } } */ That fails in ILP32 mode. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: libgo patch committed: Call f?statfs64 on GNU/Linux

2017-07-21 Thread Andreas Schwab
ting back_state. */ > > -static Lock back_state_lock; > +static uint32 back_state_lock; > > /* The program arguments. */ > Wrong patch? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PING^3][RFC, PATCH][ASAN] Implement dynamic allocas/VLAs sanitization.​

2017-07-12 Thread Andreas Schwab
On Jul 11 2017, Maxim Ostapenko wrote: > Ok, I see, it seems that we need to add convert in > expand_asan_emit_allocas_unpoison too. This patch seems to work for me on > aarch64 -mabi=ilp32, could you check it as well? This fixes all regressions. Andreas. -- Andreas Schwab, sch

Re: [PING^3][RFC, PATCH][ASAN] Implement dynamic allocas/VLAs sanitization.​

2017-07-11 Thread Andreas Schwab
t; - TYPE_MODE (pointer_sized_int_node)); > + ptr_mode, virtual_stack_dynamic_rtx, ptr_mode); That doesn't work, same backtrace. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44

Re: [PING^3][RFC, PATCH][ASAN] Implement dynamic allocas/VLAs sanitization.​

2017-07-11 Thread Andreas Schwab
/expr.h:276 0x716517 expand_call_stmt ../../gcc/cfgexpand.c:2664 0x716517 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3583 0x716517 expand_gimple_stmt ../../gcc/cfgexpand.c:3749 0x719077 expand_gimple_basic_block ../../gcc/cfgexpand.c:5753 0x71dfc7 execute ../../

Re: Use ucontext_t not struct ucontext in linux-unwind.h files

2017-07-10 Thread Andreas Schwab
On Jul 10 2017, Joseph Myers wrote: > On Mon, 10 Jul 2017, Andreas Schwab wrote: > >> On Jun 27 2017, Joseph Myers wrote: >> >> > Testing compilation together with current glibc with glibc's >> > build-many-glibcs.py. OK to commit (mainline and act

Re: Use ucontext_t not struct ucontext in linux-unwind.h files

2017-07-10 Thread Andreas Schwab
*)::ucontext' struct ucontext *_uc = (struct ucontext *)_p;\ ^ ../../../libjava/prims.cc:192:3: note: in expansion of macro 'HANDLE_DIVIDE_OVERFLOW' HANDLE_DIVIDE_OVERFLOW; ^~~~~~ make[3]: *** [Makefile:9968: prims.lo] Error 1 Andreas. -- An

Re: [PING^3][RFC, PATCH][ASAN] Implement dynamic allocas/VLAs sanitization.​

2017-07-08 Thread Andreas Schwab
Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH][AArch64] Fix ILP32 memory access

2017-07-04 Thread Andreas Schwab
On Jul 04 2017, Wilco Dijkstra wrote: > Configure seems to be able to find gnatbind/gnatmake as they are in /usr/bin. Strange there are ada tools, but no ada compiler. Are you sure you installed all relevant ada packages? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerpr

Re: [PATCH][AArch64] Fix ILP32 memory access

2017-07-04 Thread Andreas Schwab
On Jul 04 2017, Wilco Dijkstra wrote: > checking whether compiler driver understands Ada... no You need to fix that first. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [C++ PATCH] conversion operator names

2017-07-01 Thread Andreas Schwab
tion ../../gcc/cp/parser.c:26759 0x7aabef cp_parser_template_declaration_after_export ../../gcc/cp/parser.c:26778 0x7b11af cp_parser_declaration ../../gcc/cp/parser.c:12623 0x7b14f7 cp_parser_declaration_seq_opt ../../gcc/cp/parser.c:12550 Andreas. -- Andreas Schwab, sch...@linux-m

Re: [PATCH][AArch64] Fix ILP32 memory access

2017-06-30 Thread Andreas Schwab
=====+ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] [Aarch64] Variable shift count truncation issues

2017-06-30 Thread Andreas Schwab
\[0-9\]+" > 4 } } */ > +/* { dg-final { scan-assembler-times "ror\tw\[0-9\]+, w\[0-9\]+, w\[0-9\]+" > 1 } } */ > +/* { dg-final { scan-assembler-times "ror\tx\[0-9\]+, x\[0-9\]+, x\[0-9\]+" > 1 } } */ > +/* { dg-final { scan-assembler-not "and\tw\[0-9\]+

Re: Convert profile probabilities to new type

2017-06-30 Thread Andreas Schwab
) ../../gcc/sel-sched.c:7637 0x410ff60f run_selective_scheduling() ../../gcc/sel-sched.c:7713 0x41a7e6cf ia64_reorg ../../gcc/config/ia64/ia64.c:9764 0x4105564f execute ../../gcc/reorg.c:3946 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG

Re: Fix genmultilib reuse rule checks for large sets of option combinations

2017-06-28 Thread Andreas Schwab
> options_re= > for set in ${options}; do > - for opt in `echo ${set} | sed -e 's_[/|]_ _g'`; do > + for opt in `echo ${set} | sed -e 's_[/|]_ _g' | sed -e 's/\+/./g' `; do No need to run two seds, just pass -e twice. Also, + isn't special, so no

Re: libgo patch committed: Fix ptrace implementation on MIPS

2017-06-24 Thread Andreas Schwab
64_fpreg +#define pt_all_user_regs pt_ia64_all_user_regs #include +#undef ia64_fpreg +#undef pt_all_user_regs #endif #if defined(HAVE_LINUX_RTNETLINK_H) #include Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH][AArch64] Mark symbols as constant

2017-06-22 Thread Andreas Schwab
/combine.c:11404 0x10f8ca7 try_combine ../../gcc/combine.c:3520 0x10fbcbb combine_instructions ../../gcc/combine.c:1275 0x10fbcbb rest_of_handle_combine ../../gcc/combine.c:14653 0x10fbcbb execute ../../gcc/combine.c:14698 Andreas. -- Andreas Schwab, SUSE Labs, sch...

Re: libgo patch committed: Fix ptrace implementation on MIPS

2017-06-22 Thread Andreas Schwab
../../libgo/sysinfo.c:106: /usr/include/asm/ptrace.h:208:8: error: redefinition of 'struct pt_all_user_regs' struct pt_all_user_regs { ^~~~ In file included from ../../../libgo/sysinfo.c:66:0: /usr/include/sys/ptrace.h:116:8: note: originally defined here struct pt

Re: RFC: stack/heap collision vulnerability and mitigation with GCC

2017-06-21 Thread Andreas Schwab
> function making calls with more than that might need additional probes, > but that's going to be exceedingly rare. With passing structures by value you can have arbitrary large parameters. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9

Re: RFC: stack/heap collision vulnerability and mitigation with GCC

2017-06-21 Thread Andreas Schwab
at do_page_fault in arch/*/mm/fault.c, there are a lot of architectures that place a limit on how far you can probe below USP. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: Add quality tracking for profile counter

2017-06-21 Thread Andreas Schwab
dep r14=r50,r14,62,2;; ad40: 09 00 38 10 98 11 [MMI] st8 [r8]=r14 ad46: 00 98 41 20 23 00 st4 [r16]=r51 ad4c: 00 00 04 00 nop.i 0x0;; Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerpri

Re: C++ PATCH for c++/81073, constexpr and static var in statement-expression

2017-06-20 Thread Andreas Schwab
On Jun 20 2017, Jason Merrill wrote: > On Tue, Jun 20, 2017 at 5:40 AM, Andreas Schwab wrote: >> FAIL: g++.dg/cpp0x/constexpr-cast.C -std=c++11 (test for errors, line 10) >> FAIL: g++.dg/cpp0x/constexpr-cast.C -std=c++11 (test for excess errors) >> FAIL: g++.dg/cpp0x/con

Re: [PR target/25111] New patterns for m68k bit insns

2017-06-20 Thread Andreas Schwab
= --- testsuite/gcc.dg/torture/pr80970.c (nonexistent) +++ testsuite/gcc.dg/torture/pr80970.c (working copy) @@ -0,0 +1,13 @@ +/* { dg-do compile } */ + +int a, b, c, d, e; +void f () +{ + long g, h; + if (c) +e = d; + g = d & 31; + h = 1 << g; + a = e | h; + b = a; +} -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: C++ PATCH for c++/81073, constexpr and static var in statement-expression

2017-06-20 Thread Andreas Schwab
) Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PR target/25111] New patterns for m68k bit insns

2017-06-19 Thread Andreas Schwab
w")]) > > +(define_insn "*bsetdreg" > + [(set (match_operand:SI 0 "register_operand" "+d") I think you want "=d" insted of "+d". That fixes PR 80970. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

m68k: update libstdc++ baseline symbols

2017-06-18 Thread Andreas Schwab
:_ZNSbIwSt11char_traitsIwESaIwEEC2ESt16initializer_listIwERKS1_@@GLIBCXX_3.4.11 @@ -4003,6 +4005,7 @@ OBJECT:0:GLIBCXX_3.4.21 OBJECT:0:GLIBCXX_3.4.22 OBJECT:0:GLIBCXX_3.4.23 OBJECT:0:GLIBCXX_3.4.24 +OBJECT:0:GLIBCXX_3.4.25 OBJECT:0:GLIBCXX_3.4.3 OBJECT:0:GLIBCXX_3.4.4 OBJECT:0:GLIBCXX_3.4.5 -- 2.13.1 -- Andreas Schwab, sch

Re: [PATCH] Enhance dump_probability function.

2017-06-14 Thread Andreas Schwab
quot;> \\\[\[0-9.\]+%\\\]\\ > \\\[count:\\\[^:\\]*\\\]:\n *must_not_eliminate" 96 "optimized" { target { { > ! ilp32 } && { ! lp64 } } } } } It would be much easier to handle if the regex were enclosed in { }. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key finge

Re: [PATCH 0/5 v3] Vect peeling cost model

2017-06-07 Thread Andreas Schwab
On Jun 07 2017, Robin Dapp wrote: >> http://gcc.gnu.org/ml/gcc-testresults/2017-06/msg00297.html > > What machine is this running on? On a G5. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And

Re: [PATCH 0/5 v3] Vect peeling cost model

2017-06-06 Thread Andreas Schwab
http://gcc.gnu.org/ml/gcc-testresults/2017-06/msg00297.html Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

[PATCH] libgo: fix support for ia64

2017-06-06 Thread Andreas Schwab
4(cnt&(1<> sparcLinuxCntBits << 3))) } + if GOARCH == "ia64" { + return (*lfnode)(unsafe.Pointer(uintptr((val >> ia64CntBits << 3)&(1<<(64-3)-1) | val&^(1<<(64-3)-1 + } return (*lfnode)(unsafe.Pointer(uint

Re: [PATCH 0/5 v3] Vect peeling cost model

2017-06-03 Thread Andreas Schwab
> No regressions on s390x, x86-64 and ppc64. Bootstrapped. Patch 6 breaks no-vfa-vect-57.c on powerpc. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Update baseline symbols for powerpc-linux

2017-06-03 Thread Andreas Schwab
+OBJECT:0:GLIBCXX_3.4.23 +OBJECT:0:GLIBCXX_3.4.24 OBJECT:0:GLIBCXX_3.4.3 OBJECT:0:GLIBCXX_3.4.4 OBJECT:0:GLIBCXX_3.4.5 -- 2.13.0 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] add more detail to -Wconversion and -Woverflow (PR 80731)

2017-05-28 Thread Andreas Schwab
t for warnings, line 16) FAIL: g++.dg/ext/utf16-4.C -std=c++11 (test for excess errors) Excess errors: /opt/gcc/gcc-20170528/gcc/testsuite/g++.dg/ext/utf16-4.C:16:28: warning: conversion from 'wchar_t' to 'char16_t' changes value from '410401' to '17185' [-Woverflow] Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] add more detail to -Wconversion and -Woverflow (PR 80731)

2017-05-25 Thread Andreas Schwab
to 'int' changes value from '2147483648' to '-2147483648' [-Wsign-conversion] /daten/aranym/gcc/gcc-20170525/gcc/testsuite/gcc.dg/pr60114.c:23:17: warning: overflow in conversion from 'int' to 'signed char' changes value from '256' to '

Re: [PATCH] PR c++/80544 strip cv-quals from cast results

2017-05-25 Thread Andreas Schwab
const) rt2; ^~~ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Update libstdc++ baseline symbols (ia64, m68k)

2017-05-24 Thread Andreas Schwab
:GLIBCXX_3.4.4 OBJECT:0:GLIBCXX_3.4.5 -- 2.13.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: C++ PATCH to add __integer_pack built-in for std::make_integer_sequence (c++/80396)

2017-05-24 Thread Andreas Schwab
: error: overflow in constant expression [-fpermissive] Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

<    1   2   3   4   5   6   7   8   9   10   >