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: [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: [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."

m68k: clear cc_status in ashrdi3_const1, lshrdi3_const1

2017-12-28 Thread Andreas Schwab
%0\;roxr%.l #1,%R0"; +}) (define_split [(set (match_operand:DI 0 "register_operand" "") -- 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: debug container mutex association

2017-12-29 Thread Andreas Schwab
is->_M_get_mutex(); } > +}; > + > +int > +main() > +{ > + std::set<__gnu_cxx::__mutex*> mutexes; > + container conts[17]; > + > + for (int i = 0; i != 16; ++i) > +VERIFY( mutexes.insert(&conts[i].get_mutex()).second ); There will be less than 16 unique mutexes,

Re: [PATCH] expandargv: fix memory leak

2017-12-30 Thread Andreas Schwab
generally don't point to the heap. 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] Add missing builtin functionality and tests

2018-01-02 Thread Andreas Schwab
n/gcc/gcc-20180101/gcc/testsuite/gcc.target/powerpc/altivec-13.c:46:18: error: 'vd1' undeclared (first use in this function); did you mean 'vf1'? /daten/gcc/gcc-20180101/gcc/testsuite/gcc.target/powerpc/altivec-13.c:46:23: error: 'vd2' undeclared (first use in this function); did you mean 'vf2'? 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] Add missing builtin functionality and tests

2018-01-02 Thread Andreas Schwab
27;__vector double' {aka '__vector(2) double'} FAIL: gcc.target/powerpc/vsx-vector-6-be.c scan-assembler-times xvcmpeqdp 6 (found 8 times) FAIL: gcc.target/powerpc/vsx-vector-6-be.c scan-assembler-times xvcmpgtdp 7 (found 10 times) FAIL: gcc.target/powerpc/vsx-vector-6-be.c scan-assemble

Re: [PATCH, rs6000] Add additional builtin tests

2018-01-02 Thread Andreas Schwab
http://gcc.gnu.org/ml/gcc-testresults/2018-01/msg00089.html FAIL: gcc.target/powerpc/builtins-2.c execution test 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] Expensive selftests: torture testing for fix-it boundary conditions (PR c/82050)

2018-01-02 Thread Andreas Schwab
/daten/gcc/gcc-20180101/gcc/testsuite/gcc.dg/plugin/expensive_selftests_plugin.c:175:1: warning: no return statement in function returning non-void [-Wreturn-type] Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 &quo

Re: [PATCH], Add weak references to bridge old/new PowerPC ieee 128-bit name mangling

2018-06-01 Thread Andreas Schwab
e if it is a problem. Please avoid "old" in the option name, at least add a word that specifies it further. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [PATCH , rs6000] Add missing builtin test cases, fix arguments to match specifications.

2018-06-03 Thread Andreas Schwab
x" 1 } } } */ +/* { dg-final { scan-assembler-times "vupklpx" 1 } } */ /* { dg-final { scan-assembler-times "vupklsx" 0 } } */ /* { dg-final { scan-assembler-times "vupklsb" 2 } } */ /* { dg-final { scan-assembler-times "vupkhpx" 1 } } */ -- Andreas Sc

Re: [RFC] Add gcc.dg-selftests/dg-final.exp

2018-06-15 Thread Andreas Schwab
ments > PASS: scan-tree-dump-times: too few arguments This is bad, as there are now many duplicate test names. All tests should have unique names. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [RFC] Add gcc.dg-selftests/dg-final.exp

2018-06-15 Thread Andreas Schwab
On Jun 15 2018, Tom de Vries wrote: > Where do you see the duplication? The problem is actually that dg-final.exp is run multiple times, once for every parallel execution of the testsuite. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2

Re: [PATCH][testsuite/guality] Be verbose about gdb version used

2018-06-25 Thread Andreas Schwab
invoked from within "uplevel #0 source /usr/local/gcc/gcc-20180625/gcc/testsuite/gcc.dg/guality/guality.exp" invoked from within "catch "uplevel #0 source $test_file_name"" testcase /usr/local/gcc/gcc-20180625/gcc/testsuite/gcc.dg/guality/guality.exp completed in 0 seconds 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][testsuite/guality] Be verbose about gdb version used

2018-06-25 Thread Andreas Schwab
$gdb -v] +catch { exec $gdb -v } gdb_version send_log "gdb used in $loc: version:\n---\n$gdb_version\n---\n" } 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."

ia64: Update libstdc++ baseline_symbols.txt

2018-01-14 Thread Andreas Schwab
: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.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: Compilation warning in simple-object-xcoff.c

2018-01-16 Thread Andreas Schwab
u are out of luck (or AC_SYS_LARGEFILE doesn't support your host yet). 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] Use $ instead of . for PC

2018-01-19 Thread Andreas Schwab
; \\\$ > > Right. Working on getting the right number of backslashes in here... > I can never remember which ones need one and which need 3. Use braces. 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] [PR testsuite/81010] Fix PPC test

2018-01-30 Thread Andreas Schwab
et { powerpc64-*-* && lp64 } } } */ >>> +/* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */ >> >> You could as well do powerpc*-*-* afaics? > I guess, but I suspect the lp64 test would prevent it from running on > the 32bit configurations anyway. -m6

Re: [SFN+LVU+IEPM v4 7/9] [LVU] Introduce location views

2018-02-11 Thread Andreas Schwab
is the last of a long list of labels (with consecutive numbers) all pointing to the same address in the middle of an unrelated function. Also, most of the .LM labels point to insns in the middle of a bundle without using the bracket notation. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key f

Re: [SFN+LVU+IEPM v4 7/9] [LVU] Introduce location views

2018-02-11 Thread Andreas Schwab
d->emitted = true; > > + if (list_head->vl_symbol && dwarf2out_locviews_in_attribute ()) > +{ > + ASM_OUTPUT_LABEL (asm_out_file, list_head->vl_symbol); That needs to use ASM_OUTPUT_DEBUG_LABEL. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key finge

Re: [SFN+LVU+IEPM v4 7/9] [LVU] Introduce location views

2018-02-12 Thread Andreas Schwab
On Feb 12 2018, Alexandre Oliva wrote: > On Feb 11, 2018, Andreas Schwab wrote: > >> On Feb 09 2018, Alexandre Oliva wrote: > >>> + if (list_head->vl_symbol && dwarf2out_locviews_in_attribute ()) >>> +{ >>> + ASM_OUTPUT_LABEL (as

[PATCH] RISC-V: define _REENTRANT with -pthread

2018-02-12 Thread Andreas Schwab
/riscv/linux.h +++ b/gcc/config/riscv/linux.h @@ -47,6 +47,8 @@ along with GCC; see the file COPYING3. If not see #define ICACHE_FLUSH_FUNC "__riscv_flush_icache" +#define CPP_SPEC "%{pthread:-D_REENTRANT}" + #define LINK_SPEC "\ -melf" XLEN_SPEC "lriscv \ %{

Re: Mising Patch #2 from the RISC-V v3 Submission

2018-02-12 Thread Andreas Schwab
y if not? Wouldn't it make sense to add it unconditionally in both cases? 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: Mising Patch #2 from the RISC-V v3 Submission

2018-02-13 Thread Andreas Schwab
ld.opensuse.org/package/show/openSUSE:Factory:RISCV/jemalloc I haven't yet seen other packages that need this though. 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+LVU+IEPM v4 7/9] [LVU] Introduce location views

2018-02-14 Thread Andreas Schwab
ion views. If you can give it a try on ia64-linux-gnu, > that would be appreciated. That fixes the build failure on ia64. 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: Mising Patch #2 from the RISC-V v3 Submission

2018-02-20 Thread Andreas Schwab
On Feb 15 2018, Palmer Dabbelt wrote: > On Mon, 12 Feb 2018 15:18:39 PST (-0800), Jim Wilson wrote: >> On 02/12/2018 03:23 AM, Andreas Schwab wrote: >>> On Feb 06 2017, Palmer Dabbelt wrote: >>> >>>> +/* Because RISC-V only has word-sized atomics, it requ

Re: Mising Patch #2 from the RISC-V v3 Submission

2018-02-26 Thread Andreas Schwab
On Feb 15 2018, Palmer Dabbelt wrote: > On Mon, 12 Feb 2018 15:18:39 PST (-0800), Jim Wilson wrote: >> On 02/12/2018 03:23 AM, Andreas Schwab wrote: >>> On Feb 06 2017, Palmer Dabbelt wrote: >>> >>>> +/* Because RISC-V only has word-sized atomics, it requ

Re: libgo patch committed: Force LANG=C when looking for compiler version

2018-03-15 Thread Andreas Schwab
On Mär 15 2018, Ian Lance Taylor wrote: > + env = append(env, "LANG=C") You should use LC_ALL=C instead. 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: libgo patch committed: Force LANG=C when looking for compiler version

2018-03-15 Thread Andreas Schwab
On Mär 15 2018, Ian Lance Taylor wrote: > On Thu, Mar 15, 2018 at 10:10 AM, Andreas Schwab > wrote: >> On Mär 15 2018, Ian Lance Taylor wrote: >> >>> + env = append(env, "LANG=C") >> >> You should use LC_ALL=C instead. > > Does it rea

Re: libgo patch committed: Force LANG=C when looking for compiler version

2018-03-16 Thread Andreas Schwab
On Mär 15 2018, Ian Lance Taylor wrote: > On Thu, Mar 15, 2018 at 11:24 AM, Andreas Schwab > wrote: >> On Mär 15 2018, Ian Lance Taylor wrote: >> >>> On Thu, Mar 15, 2018 at 10:10 AM, Andreas Schwab >>> wrote: >>>> On Mär 15 2018, Ian Lance

[PATCH] Backport of RISC-V support for libffi

2018-03-20 Thread Andreas Schwab
SARG a0, 8*FLTS+0*PTRS(sp) +SARGa1, 8*FLTS+1*PTRS(sp) +SARGa2, 8*FLTS+2*PTRS(sp) +SARGa3, 8*FLTS+3*PTRS(sp) +SARGa4, 8*FLTS+4*PTRS(sp) +SARGa5, 8*FLTS+5*PTRS(sp) +SARGa6, 8*FLTS+6*PTRS(sp) +SARGa7, 8*FLTS+7*PTRS(sp) + +/* enter C */ +addia0, sp, FRAME_LEN +mv a1, sp +mv a2, t1 + +callffi_closure_inner + +/* return values */ +#if FLTS +FLARG fa0, 0*FLTS(sp) +FLARG fa1, 1*FLTS(sp) +#endif + +LARGa0, 8*FLTS+0*PTRS(sp) +LARGa1, 8*FLTS+1*PTRS(sp) + +/* restore and return */ +LARGra, FRAME_LEN-1*PTRS(sp) +.cfi_restore 1 +LARGfp, FRAME_LEN-2*PTRS(sp) +.cfi_restore 8 +addisp, sp, FRAME_LEN +.cfi_def_cfa_offset 0 +ret +.cfi_endproc +.size ffi_closure_asm, .-ffi_closure_asm -- 2.16.2 -- 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] Backport of RISC-V support for libffi

2018-03-20 Thread Andreas Schwab
you file a bug? 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: Disable asan tests under ulimit -v

2018-03-24 Thread Andreas Schwab
ot use the shell. Also, you get an error if the command returns a non-zero status, or isn't found. 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: Disable asan tests under ulimit -v

2018-03-26 Thread Andreas Schwab
On Mär 26 2018, Jason Merrill wrote: > On Sat, Mar 24, 2018 at 4:51 AM, Andreas Schwab wrote: >> On Mär 23 2018, Jason Merrill wrote: >> >>> diff --git a/gcc/testsuite/g++.dg/asan/asan.exp >>> b/gcc/testsuite/g++.dg/asan/asan.exp >>> index 4ee

Re: RFC: Disable asan tests under ulimit -v

2018-03-26 Thread Andreas Schwab
On Mär 26 2018, Jason Merrill wrote: > if [catch {exec sh ulimit -v} ulimit_v] { expect1.1> exec sh ulimit -v sh: ulimit: No such file or directory while executing "exec sh ulimit -v" Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C

Re: RFC: Disable asan tests under ulimit -v

2018-03-26 Thread Andreas Schwab
On Mär 26 2018, Jakub Jelinek wrote: > On Mon, Mar 26, 2018 at 08:33:41PM +0200, Andreas Schwab wrote: >> On Mär 26 2018, Jason Merrill wrote: >> >> > if [catch {exec sh ulimit -v} ulimit_v] { >> >> expect1.1> exec sh ulimit -v >> sh: u

[PATCH] libgo: Avoid clobbering shell history file in signal_cgo_test.go

2018-04-04 Thread Andreas Schwab
() + os.Setenv("HOME", "/") cmd := exec.CommandContext(ctx, bash, "--norc", "--noprofile", "-i") cmd.Stdin = slave cmd.Stdout = slave -- 2.17.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE

Re: [PATCH]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-10 Thread Andreas Schwab
c:5549 0x410c29cf schedule_on_fences ../../gcc/sel-sched.c:7366 0x410c29cf sel_sched_region_2 ../../gcc/sel-sched.c:7504 0x410c510f sel_sched_region_1 ../../gcc/sel-sched.c:7546 0x410c700f sel_sched_region(int) ../../gcc/sel-sched.c:7647 0x41

Re: [PATCH] Fix extra parens in config/tls.m4

2018-09-16 Thread Andreas Schwab
On Sep 03 2018, co...@sdf.org wrote: > config/tls.m4: Remove extra parentheses There are no extra parentheses. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [PATCH]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-17 Thread Andreas Schwab
(expr_t expr) else new_priority = priority; - gcc_assert (new_priority >= 0); - /* If the priority has changed, adjust EXPR_PRIORITY_ADJ accordingly. */ EXPR_PRIORITY_ADJ (expr) = new_priority - EXPR_PRIORITY (expr); -- 2.19.0 Andreas. -- Andreas Schwab, SUSE Labs,

Re: [PATCH]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-17 Thread Andreas Schwab
On Sep 17 2018, John David Anglin wrote: > On 2018-09-17 5:08 AM, Andreas Schwab wrote: >> PR rtl-optimization/85458 >> * sel-sched.c (sel_target_adjust_priority): Remove wrong >> assertion. >> >> diff --git a/gcc/sel-sched.c b/gcc/sel-sched.

Re: [PATCH]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-18 Thread Andreas Schwab
On Sep 17 2018, Jeff Law wrote: > On 9/17/18 3:08 AM, Andreas Schwab wrote: >> PR rtl-optimization/85458 >> * sel-sched.c (sel_target_adjust_priority): Remove wrong >> assertion. > Under what conditions is the new priority negative? Without digging > d

Re: [PATCH v2] libgcc: m68k: avoid TEXTRELs in shared library (PR 86224)

2018-09-18 Thread Andreas Schwab
On Sep 17 2018, Jeff Law wrote: > Hmm, I thought Andreas NAK'd V1. Consider that retracted. My misunderstanding. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: C++ PATCH to implement P1064R0, Virtual Function Calls in Constant Expressions (v4)

2018-09-19 Thread Andreas Schwab
./gcc/cgraphunit.c:2788 (gdb) up #1 0x4176abb0 in output_constructor_regular_field ( local=0x600ee920) at ../../gcc/varasm.c:5165 5165gcc_assert (fieldpos == local->total_bytes); (gdb) p fieldpos $1 = 16 (gdb) p local->total_bytes $2 = 24 Andreas. -- Andreas S

Re: C++ PATCH to implement P1064R0, Virtual Function Calls in Constant Expressions (v4)

2018-09-19 Thread Andreas Schwab
uild_int_cst (NULL_TREE, i)); > TREE_CONSTANT (fdesc) = 1; > > - CONSTRUCTOR_APPEND_ELT (*inits, idx, fdesc); > + CONSTRUCTOR_APPEND_ELT (*inits, NULL_TREE, fdesc); > } > } >else Thanks, that works. Andreas. -- Andreas Schw

Re: C++ PATCH to implement P1064R0, Virtual Function Calls in Constant Expressions (v4)

2018-09-20 Thread Andreas Schwab
gcc/gcc-20180920/gcc/testsuite/g++.dg/cpp2a/constexpr-virtual2.C:49:27: error: non-constant condition for static assertion /usr/local/gcc/gcc-20180920/gcc/testsuite/g++.dg/cpp2a/constexpr-virtual2.C:49:24: error: expression '((& X4::_ZTV2X4) + 16)' does not designate a 'conste

Re: [PATCH 02/25] Propagate address spaces to builtins.

2018-09-22 Thread Andreas Schwab
scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) ../../gcc/final.c:3149 0x889b1f final_1 ../../gcc/final.c:2019 0x88aaff rest_of_handle_final ../../gcc/final.c:4660 0x88aaff execute ../../gcc/final.c:4734 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key

Re: [PATCH] Do array index calculations in gfc_array_index_type

2018-09-24 Thread Andreas Schwab
r\\(kind=4\\)\\) \\(8 - > four.dim\\\[1\\\].lbound\\), 0B, 0B, 0\\);|_gfortran_caf_unlock > \\(four.token, 2 - four.dim\\\[0\\\].lbound, 8 - four.dim\\\[1\\\].lbound, > 0B, 0B, 0\\);" 1 "original" } } This is wrong for ILP32. Andreas. -- Andreas Schwab, SUSE Labs, s

Re: [PATCH 02/25] Propagate address spaces to builtins.

2018-09-24 Thread Andreas Schwab
17 branch of the arm64 kernel tree <https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=staging/ilp32-4.17>. You can also get pre-built packages from <https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/ILP32/standard/> Andreas. -- Andreas

Re: libgo patch committed: Update to 1.11 release

2018-09-24 Thread Andreas Schwab
errno != 0 { | ^ 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: Update to 1.11 release

2018-09-25 Thread Andreas Schwab
definition of 'IndexByteString' was here 21 | func IndexByteString(s string, c byte) int { | ^ 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: Update to 1.11 release

2018-09-25 Thread Andreas Schwab
‘CacheLineSize’ 119 | _ [CacheLineSize]byte | ^ 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: Update to 1.11 release

2018-09-26 Thread Andreas Schwab
k-go-dir chmod: cannot access `check-go-dir': No such file or directory make[1]: *** [check-go-tool] Error 1 make[1]: Leaving directory `/usr/local/gcc/gcc-20180926/Build/gotools' make: *** [check-gotools] Error 2 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint =

Re: [patch] Fix AArch64 ILP ICE

2018-09-26 Thread Andreas Schwab
On Sep 25 2018, Andrew Stubbs wrote: > Ensure that the address really is the correct mode for an address. > > 2018-09-25 Andrew Stubbs > > gcc/ > * builtins.c (get_builtin_sync_mem): Force address mode conversion. This has survived bootstrap so far. Andreas.

Re: libgo patch committed: Update to 1.11 release

2018-09-26 Thread Andreas Schwab
All execution tests are now failing with "fatal error: impossible call to aeshashbody". 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] dumpfile.c: use prefixes other that 'note: ' for MSG_{OPTIMIZED_LOCATIONS|MISSED_OPTIMIZATION}

2018-09-29 Thread Andreas Schwab
: gcc.dg/vect/vect-ivdep-1.c (test for excess errors) Excess errors: /usr/local/gcc/gcc-20180929/gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c:11:3: optimized: loop versioned for vectorization to enhance alignment Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5

Re: [PATCH] dumpfile.c: use prefixes other that 'note: ' for MSG_{OPTIMIZED_LOCATIONS|MISSED_OPTIMIZATION}

2018-10-01 Thread Andreas Schwab
On Okt 01 2018, David Malcolm wrote: > Is there a link to the .log files somewhere so I can see the precise > messages in question? (e.g. are they all "loop versioned for > vectorization to enhance alignment"?). Yes, they are all the same message. Andreas. -- Andreas S

Re: [PATCHv2] Handle not explicitly zero terminated strings in merge sections

2018-10-05 Thread Andreas Schwab
embler-times "\\.string" 1 } } > +-- { dg-final { scan-assembler-times "\"ABCD\"" 1 } } FAIL: gnat.dg/string_merge1.adb scan-assembler-times \\.string 1 $ grep ABCD string_merge1.s stringz "ABCD" Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: C++ PATCH to implement P1064R0, Virtual Function Calls in Constant Expressions (v4)

2018-10-08 Thread Andreas Schwab
), fdesc); > } > } >else > - CONSTRUCTOR_APPEND_ELT (*inits, idx, init); > + CONSTRUCTOR_APPEND_ELT (*inits, size_int (jx++), init); > } > } This still doesn't fix the tests. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de

Re: [PATCH] Try to use issetugid before falling back to insecure getenv

2018-04-25 Thread Andreas Schwab
_FUNCS([secure_getenv]) > > +AC_GNU_SOURCE > +AC_CHECK_FUNCS([issetugid]) There is no need to repeat AC_GNU_SOURCE. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [committed][AArch64] Predicated SVE comparison folds

2018-05-09 Thread Andreas Schwab
-9]+\.b} 3 } } */ -- 2.17.0 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: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-16 Thread Andreas Schwab
f cp_parser_enum_specifier ../../gcc/cp/parser.c:18277 0x403ce8bf cp_parser_type_specifier ../../gcc/cp/parser.c:16736 0x403fad7f cp_parser_decl_specifier_seq ../../gcc/cp/parser.c:13606 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-17 Thread Andreas Schwab
On Mai 16 2018, Andreas Schwab wrote: > On Mai 15 2018, Jason Merrill wrote: > >> commit 648ffd02e23ac2695de04ab266b4f8862df6c2ed >> Author: Jason Merrill >> Date: Tue May 15 20:46:54 2018 -0400 >> >> * cp-tree.

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-17 Thread Andreas Schwab
On Mai 17 2018, Jason Merrill wrote: > On Thu, May 17, 2018 at 4:14 AM, Andreas Schwab wrote: >> On Mai 16 2018, Andreas Schwab wrote: >>> On Mai 15 2018, Jason Merrill wrote: >>> >>>> commit 648ffd02e23ac2695de04ab266b4f8862df6c2ed >>>> Auth

Re: [PATCH 035/236] Return types of unlink_insn_chain and duplicate_insn_chain

2014-08-20 Thread Andreas Schwab
e_insn_chain (rtx from, rtx to) > } >insn = NEXT_INSN (last); >delete_insn (last); > - return insn; > + return as_a (insn); This is wrong, insn may be NULL. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E

Re: [PATCH][2/2] Sanity check removed loops

2014-09-05 Thread Andreas Schwab
from ../../gcc/tree.h:23, from gtype-desc.c:30: gtype-desc.c: In function 'void gt_ggc_mx_loop(void*)': gtype-desc.c:887:40: error: 'struct loop' has no member named 'former_header' gt_ggc_m_15basic_block_def ((*x).former_header);

Re: Build breakage on darwin and pa64-hpux [was Re: Use -fbuilding-libgcc for more target macros used in libgcc]

2014-09-06 Thread Andreas Schwab
ON_ASM_OP > #define FINI_SECTION_ASM_OP What about FINI_SECTION_ASM_OP? 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] Added the libcilkrts path to linker

2013-11-09 Thread Andreas Schwab
o separate testsuite runs. See testsuite/lib/asan-dg.exp or testsuite/lib/atomic-dg.exp how to do that correctly. 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."

Use default PIC flag on m68k

2013-11-15 Thread Andreas Schwab
ibgcc only? sh-*-linux* | sh[[2346lbe]]*-*-linux*) $1=-fpic -- 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: Pass floating point values on powerpc64 as per ABI

2013-11-18 Thread Andreas Schwab
ULT_ABI, 2, &ffi_type_sint, arg_types) > == FFI_OK); This breaks ia64: FAIL: libffi.call/cls_double_va.c -O0 -W -Wall output pattern test, is 7.0 res: 4 0.0 res: 4 , should match 7.0? res: 4? 7.0? res: 4 FAIL: libffi.call/cls_longdouble_va.c -O0 -W -Wall output pattern test, is 7.0 res: 4

Re: Pass floating point values on powerpc64 as per ABI

2013-11-18 Thread Andreas Schwab
Alan Modra writes: > On Mon, Nov 18, 2013 at 10:10:39AM +0100, Andreas Schwab wrote: >> Alan Modra writes: >> >> > - /* The call to cls_double_va_fn is static, so have to use a normal >> > prep_cif */ >> > - CHECK(ffi_prep_cif(&cif,

Re: Pass floating point values on powerpc64 as per ABI

2013-11-19 Thread Andreas Schwab
Alan Modra writes: > On Tue, Nov 19, 2013 at 11:16:26AM +1030, Alan Modra wrote: >> On Tue, Nov 19, 2013 at 01:27:39AM +0100, Andreas Schwab wrote: >> > Where does it call a varargs function? >> >> printf > > Sorry that wasn't such a helpful respon

Re: Enale -fno-fat-lto-objects by default

2013-11-20 Thread Andreas Schwab
s/m68k/start.S:85: undefined reference to `main' collect2: error: ld returned 1 exit status 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,libgfortran] Fix binary128 ERFC_SCALED

2013-11-21 Thread Andreas Schwab
sics/erfc_scaled.c:66:3: error: unsupported non-standard suffix on floating constant if (x < -106.566990228185312813205074546585730Q) ^ make[3]: *** [erfc_scaled.lo] Error 1 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748

Re: [patch,libgfortran] Fix binary128 ERFC_SCALED

2013-11-21 Thread Andreas Schwab
FX writes: > 2013-11-20 Francois-Xavier Coudert > > PR libfortran/59227 There is no connection to PR59227 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."

[PATCH] Missing __divtf3@@GCC_4.4.0 in libgcc on ia64

2013-11-21 Thread Andreas Schwab
ir)/soft-fp/divtf3.c, $(softfp_file_list)) +LIB2ADD += $(srcdir)/config/ia64/divtf3.c -- 1.8.4.3 -- 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] pointer to integer conversion.

2013-11-23 Thread Andreas Schwab
Footnotes -- (1) Future versions of GCC may zero-extend, or use a target-defined `ptr_extend' pattern. Do not rely on sign extension. 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: wide-int, fortran

2013-11-23 Thread Andreas Schwab
i::eq_p (t, 0) ? 0 : 1; >> > >> > I can't find the meaning of :: in n1256.pdf. What does this do? >> >> wi:: eq_p means the function eq_p inside the wi struct. > > Where in n1256.pdf can I read about this feature? Try n3376.pdf instead. 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, testsuite]: Fix gcc.dg/float-exact-1.c

2013-11-24 Thread Andreas Schwab
Uros Bizjak writes: > - * gcc.dg/ira-shrinkwrap-prep-1.c: Also tes ppc64, changed all ints > -to longs. > + * gcc.dg/ira-shrinkwrap-prep-1.c: Also test ppc64, chang all ints s/chang/change/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA

Re: [PATCH 1/2] PR debug/63239 Add DWARF representation for C++11 deleted member function.

2014-10-06 Thread Andreas Schwab
leted // DW_AT_GNU_deleted .uleb128 0x211a // (DW_AT_GNU_deleted) .uleb128 0x211a // (DW_AT_GNU_deleted) 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: [Fortran, Patch] Implement IMPLICIT NONE

2014-10-07 Thread Andreas Schwab
NONE statement at .1. > following an IMPLICIT statement" } That doesn't match. /usr/local/gcc/gcc-20141007/gcc/testsuite/gfortran.dg/implicit_4.f90:9:103: Err\or: IMPLICIT NONE (type) statement at (1) following an IMPLICIT statement Andreas. -- Andreas Schwab, sch...@linux-m68k.or

Re: [PATCH v2] libstdc++: Add hexfloat/defaultfloat io manipulators.

2014-10-07 Thread Andreas Schwab
fixed) >*__fptr++ = 'f'; > else if (__fltfield == ios_base::scientific) >*__fptr++ = (__flags & ios_base::uppercase) ? 'E' : 'e'; > +#ifdef _GLIBCXX_USE_C99 > +else if (__fltfield == (ios_base::fixed | ios_base::scientific)) > +

Re: [PATCH 2/2] Fix ILP32 ld.so.

2014-10-15 Thread Andreas Schwab
) +bool in_const ATTRIBUTE_UNUSED) { #ifndef POINTERS_EXTEND_UNSIGNED gcc_assert (GET_MODE (x) == to_mode || GET_MODE (x) == VOIDmode); -- 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."

gnu11 fallout: ia64

2014-10-16 Thread Andreas Schwab
14,6 +14,7 @@ struct ia64_args UINT64 gp_regs[8]; }; +void ffi_call(long i, long gpcount, long fpcount, void **avalue) { struct ia64_args *stack; -- 2.1.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now

gnu11 fallout: m68k

2014-10-16 Thread Andreas Schwab
+++ b/gcc/testsuite/gcc.target/m68k/crash1.c @@ -15,6 +15,7 @@ struct kernel_stat unsigned irqs[256]; }; extern struct kernel_stat per_cpu__kstat; +void seq_printf (); void show_stat(void) { -- 2.1.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE

Re: __intN patch 3/5: main __int128 -> __intN conversion.

2014-10-16 Thread Andreas Schwab
f the enumerator values for 'test'" 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: IPA ICF fallout: fix for two ipa-icf-*.C tests

2014-10-19 Thread Andreas Schwab
{ dg-final { cleanup-ipa-dump "icf" } } */ On ia64: FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++98 scan-ipa-dump icf "Varpool alias has been created" FAIL: g++.dg/ipa/ipa-icf-4.C -std=gnu++98 scan-ipa-dump icf "Equal symbols: 6" $ grep -e Equal -e Varpool ipa-icf-4.C

Re: [PATCH 5/5] New tests introduction

2014-10-19 Thread Andreas Schwab
; "icf" } } */ > +/* { dg-final { cleanup-ipa-dump "icf" } } */ FAIL: gcc.dg/ipa/ipa-icf-21.c (test for excess errors) Excess errors: /usr/local/gcc/gcc-20141019/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c:4:23: fatal e\ rror: xmmintrin.h: No such file or directory compilatio

Re: Is there an error in GCC Internals Manual, chapter 16.4?

2014-10-19 Thread Andreas Schwab
nd:@var{m} @var{n} "scratch_operand" @var{pred}) +(match_operand:@var{m} @var{n} "scratch_operand" @var{constraint}) @end smallexample but, when generating RTL, it produces a (@code{scratch}:@var{m}) -- 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: __intN patch 3/5: main __int128 -> __intN conversion.

2014-10-20 Thread Andreas Schwab
about "enum1.C:12:1: error: no integral type can >> represent all of the enumerator values for 'test'" > > On what host? It works OK on x86-64. Have you considered doing proper testing? http://gcc.gnu.org/ml/gcc-testresults/2014-10/msg02106.html Andreas. -- Andrea

gnu11 fallout

2014-10-21 Thread Andreas Schwab
@@ -44,6 +44,7 @@ pack_d () x = dst.bits.fraction; } +int main () { pack_d (); -- 2.1.2 -- 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 committed: Don't define TARGET_HAS_F_SETLKW

2014-10-24 Thread Andreas Schwab
Ian Taylor writes: > 2014-10-23 Ian Lance Taylor > > * config/mep/mep.h (TARGET_HAS_F_SETLKW): Don't define. s/define/undefine/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for s

Re: [m68k] RFA: Use new rtl iterators in m68k_final_prescan_insn

2014-10-25 Thread Andreas Schwab
Richard Sandiford writes: > gcc/ > * config/m68k/m68k.c: Include rtl-iter.h. > (m68k_final_prescan_insn_1): Delete. > (m68k_final_prescan_insn): Use FOR_EACH_SUBRTX_VAR. Ok. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D

Re: [m68k] RFA: Use new rtl iterators in m68k_tls_reference_p

2014-10-25 Thread Andreas Schwab
Richard Sandiford writes: > gcc/ > * config/m68k/m68k.c (m68k_tls_reference_p_1): Delete. > (m68k_tls_reference_p): Use FOR_EACH_SUBRTX_VAR. Ok. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 &qu

Re: [Patch, Fortran] Add CO_REDUCE

2014-10-25 Thread Andreas Schwab
FAIL: gfortran.dg/coarray_collectives_14.f90 -O (test for errors, line 87) FAIL: gfortran.dg/coarray_collectives_14.f90 -O (test for errors, line 89) FAIL: gfortran.dg/coarray_collectives_14.f90 -O (test for excess errors) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 5

[PATCH] m68k: add missing early clobber in beq0_di, bne0_di patterns

2014-05-31 Thread Andreas Schwab
a") (const_int 0)) - (label_ref (match_operand 1 "" ",")) +(label_ref (match_operand 1 "" ",,")) (pc))) - (clobber (match_scratch:SI 2 "=d,X"))] + (clobber (match_scratch:SI 2 "=d,&d,X"))] "" { if ((cc_prev_status.value1 -- 2.0.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, sched] Cleanup and improve multipass_dfa_lookahead_guard

2014-06-01 Thread Andreas Schwab
l_embed>::operator[](unsigned int) ../../gcc/vec.h:736 0x414455af vec<_haifa_insn_data, va_heap, vl_ptr>::operator[](unsigned int) ../../gcc/vec.h:1202 0x4000014455af ia64_first_cycle_multipass_dfa_lookahead_guard ../../gcc/config/ia64/ia64.c:7539 Andr

Re: [PATCH, sched] Cleanup and improve multipass_dfa_lookahead_guard

2014-06-02 Thread Andreas Schwab
DATA) && pending_data_specs >= 16) + if (pending_data_specs >= 16 && (TODO_SPEC (insn) & BEGIN_DATA)) return ready_index == 0 ? -1 : 1; if (ready_index == 0) -- 2.0.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 174

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