Re: introduce overridable clear_cache emitter

2020-12-03 Thread Andreas Schwab
On Dez 03 2020, Andreas Schwab wrote: > ../../../../libffi/src/aarch64/ffi.c: In function 'ffi_prep_closure_loc': > ../../../../libffi/src/aarch64/ffi.c:67:3: error: both arguments to > '__builtin___clear_cache' must be pointers >67 | __b

Re: [gcc r11-4816] Fix Ada build failure for the SuSE PowerPC64/Linux compiler

2020-12-03 Thread Andreas Schwab
On Dez 03 2020, Eric Botcazou wrote: > I'm afraid we cannot support both given the current setup, so you'll have to > make a choice for the powerpc64-suse-linux compiler. I'm using the same configuration as the system compiler. There is no choice to make. Andreas. --

Re: introduce overridable clear_cache emitter

2020-12-05 Thread Andreas Schwab
~ 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: Go testsuite patch committed: Don't quote quoted parentheses

2020-12-09 Thread Andreas Schwab
cc-20201209/gcc/testsuite/go.test/go-test.exp" line 1217) invoked from within "source /opt/gcc/gcc-20201209/gcc/testsuite/go.test/go-test.exp" ("uplevel" body line 1) invoked from within "uplevel #0 source /opt/gcc/gcc-20201209/gcc/testsuite/go.test/

Re: [Ada,FYI] revamp ada.numerics.aux

2020-10-19 Thread Andreas Schwab
a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on return value a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on argument 1 a-nallfl.ads:84:13: warning: profile of "Pow" doesn't match the builtin it binds make[7]: *** [../gcc-interface/Makefile:302: a-nallfl.o] Error 1 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: [Ada] Build support units for 128-bit integer types on 64-bit platforms

2020-10-23 Thread Andreas Schwab
target_os))),) >s-tpopsp.adbsystem.ads > + ifeq ($(strip $(filter-out sparc64 sparcv9,$(target_cpu))),) > +ifneq ($(strip $(MULTISUBDIR)),/32) > + LIBGNAT_TARGET_PAIRS += $(GNATRTL_128BIT_PAIRS) > + EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJS) > +

Re: [Ada] Build support units for 128-bit integer types on 64-bit platforms

2020-10-23 Thread Andreas Schwab
> $(target_os))),) >TOOLS_TARGET_PAIRS = indepsw.adb >EXTRA_GNATRTL_NONTASKING_OBJS += $(TRASYM_DWARF_UNIX_OBJS) > - EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJ > + EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJ) That variable doesn't exist. Andreas. -- An

Re: [PATCH] RISC-V: Fix RVV related testsuite

2022-11-06 Thread Andreas Schwab
Perhaps rvv.exp should add -I. so that the wrapper is found regardless? -- 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] Fortran: fix treatment of character, value, optional dummy arguments [PR107444]

2022-11-13 Thread Andreas Schwab
../../gcc/omp-low.cc:14662 0xd318a3 lower_omp_1 ../../gcc/omp-low.cc:14452 0xd318a3 lower_omp ../../gcc/omp-low.cc:14662 0xd377fb execute_lower_omp ../../gcc/omp-low.cc:14701 0xd377fb execute ../../gcc/omp-low.cc:14755 Please submit a full bug report, with preprocess

Re: [PATCH] Fortran: fix treatment of character, value, optional dummy arguments [PR107444]

2022-11-14 Thread Andreas Schwab
On Nov 13 2022, Harald Anlauf wrote: > Can you please confirm that it fixes your issues? Looks good. -- 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] doc: invoke: riscv: Fix closing block bracket

2022-11-15 Thread Andreas Schwab
k -mno-csr-check @gol} There should be no @gol at the end of the list. -- 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: [RFA] [PR target/108248] [RISC-V] Break down some bitmanip insn types

2023-04-21 Thread Andreas Schwab
../../gcc/config/riscv/generic.md:28:1: unknown value `smin' for attribute `type' make[3]: *** [Makefile:2528: s-attrtab] Error 1 -- 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] Turn on LRA on all targets

2023-04-24 Thread Andreas Schwab
s per insn achieved (90) 686 | } | ^ 0xe8a5e8 lra_constraints(bool) ../../gcc/lra-constraints.cc:5319 0xe71f32 lra(_IO_FILE*) ../../gcc/lra.cc:2375 0xe21731 do_reload ../../gcc/ira.cc:5967 0xe21731 execute ../../gcc/ira.cc:6153 -- Andreas Schwab

Re: [PATCH] RISC-V: Fix sync.md and riscv.cc whitespace errors

2023-04-26 Thread Andreas Schwab
;; > mem location > (set (match_dup 1) > - (unspec_volatile:SI [(match_operand:SI 2 "reg_or_0_operand" "rJ") ;; > expected value > - (match_operand:SI 3 "reg_or_0_operand" "rJ")] ;; > desired value > + (unspec_volatile:SI[(match_operand:SI 2 "reg_or_0_operand" "rJ") ;; > expected value > + (match_operand:SI 3 "reg_or_0_operand" "rJ")] ;; > desired value Likewise. -- 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: [PING] PR middle-end/95126: Expand small const structs as immediate constants

2022-06-05 Thread Andreas Schwab
this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==+ -- Andreas Schwab, sch

Re: [PING] PR middle-end/95126: Expand small const structs as immediate constants

2022-06-06 Thread Andreas Schwab
14: "strncpy" not declared in "CRTL" > osint.adb:675:21: "strlen" not declared in "CRTL" > osint.adb:728:16: "Open_Append" is undefined > osint.adb:1108:41: "int64" not declared in "CRTL" > osint.adb:3144:28: "strlen&q

Re: [PING] PR middle-end/95126: Expand small const structs as immediate constants

2022-06-06 Thread Andreas Schwab
1: "int64" not declared in "CRTL" >> > osint.adb:3144:28: "strlen" not declared in "CRTL" >> > osint.adb:3147:11: "strncpy" not declared in "CRTL" >> >> What's your bootstrap compiler? > > GNAT 4.8.5

Re: [PATCH v1 2/3] RISC-V: Split slli+sh[123]add.uw opportunities to avoid zext.w

2022-06-17 Thread Andreas Schwab
10 | if ((scale + bias) != UINTVAL (operands[2])) -- 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] libgo: Recognize off64_t / loff_t type definition of musl libc

2022-06-18 Thread Andreas Schwab
OFFSET_BITS=64 -O2 -g conftest.c >&5 conftest.c: In function 'main': conftest.c:104:13: error: 'loff_t' undeclared (first use in this function); did you mean 'off_t'? 104 | if (sizeof (loff_t)) | ^~ | off_t conftest.c:104:

Re: [PATCH] libgo: Recognize off64_t / loff_t type definition of musl libc

2022-06-18 Thread Andreas Schwab
On Jun 18 2022, Ian Lance Taylor wrote: > What target? aarch64-suse-linux, of course. > What is the output of > > grep loff_t TARGET/libgo/gen-sysinfo.go type ___loff_t int64 type _loff_t int64 type ___kernel_loff_t int64 -- Andreas Schwab, sch...@linux-m68k.org GPG Key finger

Re: [PATCH] libgo: Recognize off64_t / loff_t type definition of musl libc

2022-06-21 Thread Andreas Schwab
On Jun 21 2022, Ian Lance Taylor via Gcc-patches wrote: > which seems to be Linux 3.13 and glibc 4.8.4. On that system I see That's stone age. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for somethi

Re: [PATCH V3 0/5] Support for the CTF and BTF debug formats

2021-03-09 Thread Andreas Schwab
On Mär 09 2021, Jose E. Marchesi via Gcc-patches wrote: > remote: error: hook declined to update refs/heads/users/jemarch/ctf-v4 User branches are located under refs/users. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A

Re: [gcc r11-7940] Make USES_COMDAT_LOCAL CIF_FINAL_NORMAL

2021-04-02 Thread Andreas Schwab
all warnings being treated as errors make[3]: *** [Makefile:1142: gimple-ssa-warn-alloca.o] Error 1 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: [gcc r11-7940] Make USES_COMDAT_LOCAL CIF_FINAL_NORMAL

2021-04-02 Thread Andreas Schwab
On Apr 02 2021, Martin Sebor wrote: > One way to confirm this hypothesis might be to explicitly > initialize the limit member in the ctor even the argument is > ALLOCA_OK and see if the warning goes away. Yes, it does. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fi

Re: c++: Add stdlib module test cases

2021-04-03 Thread Andreas Schwab
typedef array_type:'::va_list' Written decl:-1 type_decl:'::va_list' Wrote declaration entity:2 type_decl:'::va_list' Wrote section:3 named-by:'::va_list' Wrote fixed:80 record_type:'__va_list_tag' Wrote fixed:80 record_type:'__va_list_tag' Writing typedef type_decl:'::va_list' Wrote GMF:-17 type_decl:'::va_list'@builtins Indirect:-18 decl's type array_type:'::va_list' Wrote typedef type_decl:'::va_list' .12. Wrote fixed:80 record_type:'__va_list_tag' .10. Wrote backref:-18 array_type:'::va_list' 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] Support the new ("v0") mangling scheme in rust-demangle.

2021-04-20 Thread Andreas Schwab
rs many non-ASCII codepoints to be printable, but - that logic is not easily ported to C. */ -print_str (rdm, (char *) &value, 1); +{ + /* Rust also considers many non-ASCII codepoints to be printable, but +that logic is not easily ported to C. */ + char c = value; + print_str (rdm, &c, 1); +} else { PRINT ("\\u{"); -- 2.31.1 -- 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: Always use .init/.fini_array for GNU/Linux

2021-04-21 Thread Andreas Schwab
r new architecture added? 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] PR fortran/92470 Fixes for CFI_address

2019-11-14 Thread Andreas Schwab
#include > #include > -#include "ISO_Fortran_binding.h" > +#include "../../../libgfortran/ISO_Fortran_binding.h" Shoudn't that be fixed generically, by directing the compiler to use the uninstalled headers? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GP

Re: [PATCH v2 2/2] gdbinit.in: allow to pass function argument explicitly

2019-11-14 Thread Andreas Schwab
On Nov 14 2019, Konstantin Kharlamov wrote: > python (I dunno, I can ‾\_(ツ)_/‾). The code: Python support is optional. 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 0/4] Eliminate cc0 from m68k

2019-11-15 Thread Andreas Schwab
/operators/serialize.cc execution test tr1/7_regular_expressions/regex_traits/char/value.cc execution test tr1/7_regular_expressions/regex_traits/wchar_t/value.cc execution test Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA

Re: [PATCH 0/4] Eliminate cc0 from m68k

2019-11-15 Thread Andreas Schwab
On Nov 15 2019, Bernd Schmidt wrote: > Are these with the patch? Yes. > Are you on real hardware No, I'm using aranym. 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 0/4] Eliminate cc0 from m68k

2019-11-15 Thread Andreas Schwab
.other/dyncast1.C -std=c++17 execution test 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 0/4] Eliminate cc0 from m68k

2019-11-15 Thread Andreas Schwab
On Nov 15 2019, Bernd Schmidt wrote: > I meant the compiler command line of course... for any -mcpu flags that > might differ from my test run. There are none. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 &q

Re: [PATCH 0/4] Eliminate cc0 from m68k

2019-11-16 Thread Andreas Schwab
res74 # of expected failures 708 # of unresolved testcases 2 # of unsupported tests 7419 /daten/aranym/gcc/gcc-20191115/Build/gcc/xg++ version 10.0.0 20191114 (experimental) [trunk revision 278266] (GCC) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG K

Re: [PATCH 0/4] Eliminate cc0 from m68k

2019-11-16 Thread Andreas Schwab
expected passes26803 # of unexpected failures16 # of expected failures 82 # of unsupported tests 157 /daten/aranym/gcc/gcc-20191116/Build/gcc/xg++ version 10.0.0 20191115 (experimental) [trunk revision 278320] (GCC) Andreas. -- Andreas Schwab, sch...@linux

Re: [PATCH 0/4] Eliminate cc0 from m68k

2019-11-17 Thread Andreas Schwab
erand" "=d") (match_operator:QI 1 "ordered_comparison_operator" [(zero_extract:SI (match_operand:BTST 2 "" "") (match_operand:SI 3 "const_int_operand" "n") Andreas. -- Andreas Schwab, sch...@linux-m68k.org

Re: [PATCH v2 6/6] aarch64: Add testsuite checks for asm-flag

2019-11-18 Thread Andreas Schwab
has support for ILP32. 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] Initialize a variable due to -Wmaybe-uninitialized.

2019-11-19 Thread Andreas Schwab
ized >> error. > OK. I had this internally, but haven't had time to analyze if the > warnings was a false positive or not. IMHO it is a false positive. 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] Initialize a variable due to -Wmaybe-uninitialized.

2019-11-21 Thread Andreas Schwab
valent. 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 2/4] The main m68k cc0 conversion

2019-11-25 Thread Andreas Schwab
move.w. The following should fix > it. Apparently that also fixed the testsuite regressions. 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 2/4] The main m68k cc0 conversion

2019-11-25 Thread Andreas Schwab
On Nov 25 2019, Bernd Schmidt wrote: > On 11/25/19 12:26 PM, Andreas Schwab wrote: >> On Nov 24 2019, Bernd Schmidt wrote: >> >>> Whew, I think I have it. One tst instruction eliminated when it >>> shouldn't have been: >>> >>> mo

Re: Prevent all uses of DFP when unsupported (PR c/91985)

2019-11-26 Thread Andreas Schwab
On Nov 25 2019, Rainer Orth wrote: > AFAICS this caused > > +FAIL: libstdc++-abi/abi_check > > on Solaris. In libstdc++.log I find That happens on all targets that don't support decimal float. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578

Re: Fix crossmodule ipa-inline hint

2019-12-01 Thread Andreas Schwab
ined" does not exist. 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] RISC-V: Add RVV registers register spilling

2022-11-20 Thread Andreas Schwab
) -- 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 2/2] Improve error message for excess elements in array initializer from {"a"}

2022-11-30 Thread Andreas Schwab
On Nov 30 2022, Segher Boessenkool wrote: > char u[1] = { "x", "x" }; /* { dg-error {excess elements in 'char[1]' > initializer} } */ That won't work, as '[1]' is a bracket expression only matching '1'. You'll need {... &#

Re: [committed] testsuite: Fix gcc.target/i386/pr103895.c testcase [PR103895]

2022-01-05 Thread Andreas Schwab
On Jan 05 2022, Jakub Jelinek via Gcc-patches wrote: > The testcase uses SSE and SSE2 intrinsics, so fails on i686-linux > if -msse2 isn't enabled by default. Fixed by adding -msse2 to > dg-options. Shouldn't that use { dg-require-effective-target sse2 }? -- Andreas S

Re: [patch, fortran, doc] Explicitly mention undefined overflow

2023-03-19 Thread Andreas Schwab
become visible to the > programmer. > * File operations on symbolic links:: > * File format of unformatted sequential files:: > * Asynchronous I/O:: > +* Behavior on integer overflow::o s/o$// -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69

m68k: handle TLS access with offset

2023-03-26 Thread Andreas Schwab
suite/gcc.target/m68k/tls-le.c b/gcc/testsuite/gcc.target/m68k/tls-le.c index 74234e9e5a4..7a9f215f44b 100644 --- a/gcc/testsuite/gcc.target/m68k/tls-le.c +++ b/gcc/testsuite/gcc.target/m68k/tls-le.c @@ -2,7 +2,7 @@ /* { dg-skip-if "" { ! *-linux-* } } */ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler "jsr __m68k_read_tp" } } */ -/* { dg-final { scan-assembler "lea \\(foo@TLSLE,\%a0\\)" } } */ +/* { dg-final { scan-assembler "foo@TLSLE,%a0" } } */ static int __thread foo; -- 2.40.0 -- 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 v3] RISC-V: Add Z*inx imcompatible check in gcc

2023-03-31 Thread Andreas Schwab
| "%<-march=%s%>: z*inx is conflict with float extensions", | ^ -- 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 v5] RISCV: Inline subword atomic ops

2023-04-18 Thread Andreas Schwab
prologue and > epilogue code that uses > library function calls. The default is to use fast inline prologues and > epilogues. > > +@item -minline-atomics > +@itemx -mno-inline-atomics > +@opindex minline-atomics @opindex should precede @item. -- Andreas Schwab, sch...@

Re: Fix invalid cc_status after [const_][us]mulsi3_highpart

2018-08-02 Thread Andreas Schwab
On Jul 17 2018, Andreas Schwab wrote: > The mulu.l insn sets the CC according to the 64-bit result, but we are > only using the high part, so the Z flag cannot be used. The other flags > would still be valid, but we have no cc_status flag for that case. > > * conf

Re: [PATCH, Ada] Makefile patches from initial RISC-V cross/native build.

2018-08-03 Thread Andreas Schwab
On Aug 03 2018, Pierre-Marie de Rodat wrote: > Understood, thank you for the context. Let’s try to fix the underlying > problem if you have issues with canadian crosses again. :-) There should at least be a way to find the build gnatmake under a different name. Andreas. -- Andreas

Re: [testsuite, committed] Use relative line numbers in gcc.dg/guality

2018-08-04 Thread Andreas Schwab
1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects -DPREVENT_OPTIMIZATION line .+1 a.i == 4 gcc.dg/guality/sra-1.c -O3 -g -DPREVENT_OPTIMIZATION line . a.j == 14 gcc.dg/guality/sra-1.c -O3 -g -DPREVENT_OPTIMIZATION line .+1 a.i == 4 gcc.dg/guality/sra-1.c -Os -DPREVENT_OPTIMIZATION line . a.j == 14 gcc.dg/guality/sra-1.c -Os -DPREVENT_OPTIMIZATION line .+1 a.i == 4 gcc.dg/guality/sra-1.c -Og -DPREVENT_OPTIMIZATION line . a.j == 14 gcc.dg/guality/sra-1.c -Og -DPREVENT_OPTIMIZATION line .+1 a.i == 4 gcc.dg/guality/vla-1.c -O0 line .+1 i == 5 gcc.dg/guality/vla-1.c -O1 -DPREVENT_OPTIMIZATION line .+1 i == 5 gcc.dg/guality/vla-1.c -O2 -DPREVENT_OPTIMIZATION line .+1 i == 5 gcc.dg/guality/vla-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none -DPREVENT_OPTIMIZATION line .+1 i == 5 gcc.dg/guality/vla-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects -DPREVENT_OPTIMIZATION line .+1 i == 5 gcc.dg/guality/vla-1.c -O3 -g -DPREVENT_OPTIMIZATION line .+1 i == 5 gcc.dg/guality/vla-1.c -Os -DPREVENT_OPTIMIZATION line .+1 i == 5 gcc.dg/guality/vla-1.c -Og -DPREVENT_OPTIMIZATION line .+1 i == 5 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."

Remove duplicate test

2018-08-04 Thread Andreas Schwab
long vll; }" } } */ /* { dg-final { gdb-test "@main" "type:foo" "struct foo { const long cli; const signed char csc; }" } } */ /* { dg-final { gdb-test "@main" "type:cfoo" "const struct foo { const long cli; const signed char csc; }&quo

Re: [PATCH] Optimize logarithm addition and subtraction

2018-08-05 Thread Andreas Schwab
On Aug 05 2018, Marc Glisse wrote: > On Sun, 5 Aug 2018, MCC CS wrote: > >> this patch reduces calls to logarithm functions by >> merging log a + log b => log a*b and > > this makes sense. Even when a*b may overflow? Andreas. -- Andreas Schwab, sch...@linux-m

Re: [PATCH, testsuite]: Fix g++.dg/torture/pr86763.C link failure for glibc < 2.17

2018-08-06 Thread Andreas Schwab
How about replacing clock_gettime with something else? It's not needed for the particular 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."

m68k: handle more cases of TLS symbols with offset

2018-08-08 Thread Andreas Schwab
eLog b/gcc/ChangeLog index 64704bcd6d..e8f65c9791 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2018-08-08 Andreas Schwab + + PR target/46179 + * config/m68k/m68k.h (FINAL_PRESCAN_INSN): Don't define. + * config/m68k/m68k.c (handle_move_doub

libgo: fix spurious test failure in libgo/runtime/pprof

2018-08-09 Thread Andreas Schwab
: %v\] @( 0x[0-9,a-f]+)+ -# 0x[0-9,a-f]+pprof\.allocateReflectTransient\+0x[0-9,a-f]+ .*/mprof_test.go:48 +# 0x[0-9,a-f]++pprof\.allocateReflectTransient\+0x[0-9,a-f]+ .*/mprof_test.go:48 `, memoryProfilerRun, (2<<20)*memoryProfilerRun, memoryProfilerRun, (2<<20)*memoryProfil

Re: m68k: handle more cases of TLS symbols with offset

2018-08-09 Thread Andreas Schwab
p (rtx, rtx, HOST_WIDE_INT, bool); extern const char *m68k_output_movem (rtx *, rtx, HOST_WIDE_INT, bool); -extern void m68k_final_prescan_insn (rtx_insn *, rtx *, int); extern bool m68k_epilogue_uses (int); /* Functions from m68k.c used in constraints.md. */ -- 2.18.0 -- Andreas Schwa

Re: libgo: fix spurious test failure in libgo/runtime/pprof

2018-08-13 Thread Andreas Schwab
On Aug 09 2018, Ian Lance Taylor wrote: > On Thu, Aug 9, 2018 at 8:03 AM, Andreas Schwab wrote: >> TestMemoryProfiler uses a too restrictive pattern that fails to match >> backtraces that contain two tabs after the function address. That can >> happen when the forma

[PATCH] Backport of RISC-V support for libffi go closures

2018-08-14 Thread Andreas Schwab
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_go_closure_asm, .-ffi_go_closure_asm

Re: [committed] diagnostics: add line numbers to source (PR other/84889)

2018-08-17 Thread Andreas Schwab
20 years now (see compilation-error-screen-columns). 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] diagnostics: add line numbers to source (PR other/84889)

2018-08-17 Thread Andreas Schwab
On Aug 17 2018, Manuel López-Ibáñez wrote: > In my Emacs, it jumps to column 8 (where the "a" is). That's because there is no way to place it on column 1. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA

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

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] 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

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

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

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] 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."

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

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] 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."

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

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