Re: [PATCH] rtl: fix buidl failure on -fchecking=2 [PR111642]

2023-09-30 Thread Andreas Schwab
*/ > + /* Test plus_consctant of a symbol. */ Spurious change. -- 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 V2] TEST: Fix vect_cond_arith_* dump checks for RVV

2023-10-09 Thread Andreas Schwab
On Okt 09 2023, juzhe.zh...@rivai.ai wrote: > Turns out COND(_LEN)?_ADD can't work. It should work though. Tcl regexps are a superset of POSIX EREs. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now

Re: Enable top-level recursive 'autoreconf'

2023-10-19 Thread Andreas Schwab
S' you mean.) You know, often it just takes someone to > ask the right questions... ;-) > > What do people think about the attached > "Enable top-level recursive 'autoreconf'"? Only lightly tested, so far. The top-level files are shared with binutils-gdb

Re: [RFC] Add function attribute: null_terminated_string_arg(PARAM_IDX)

2023-10-19 Thread Andreas Schwab
&& access->sizarg != UINT_MAX) > + { > + /* First, check for a null-terminated string *without* > +emitting emitting warnings (via a null context), to -emitting -- 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, Ada] Makefile patches from initial RISC-V cross/native build.

2018-07-07 Thread Andreas Schwab
On Jul 05 2018, Jim Wilson wrote: > Tested with native riscv-linux bootstrap with Ada enabled. I'm getting a lot of errors from the assembler "non-constant .uleb128 is not supported" when trying to bootstrap the compiler with the cross-compiled ada compiler. Andreas. -- A

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

2018-07-07 Thread Andreas Schwab
On Jul 07 2018, Jim Wilson wrote: > If you build and install binutils, and then build and install gcc, the > build will work. Not if the compiler was built in a canadian cross. That's the only way to bootstrap an Ada compiler. Andreas. -- Andreas Schwab, sch...@linux-m68k.

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

2018-07-07 Thread Andreas Schwab
ut the subsequent native build using the (misconfigured) canadian cross build. 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, Ada] Makefile patches from initial RISC-V cross/native build.

2018-07-07 Thread Andreas Schwab
ild a native RISC-V > compiler for OpenSuse? I have bootstrapped several architectures for SUSE and openSUSE, thank you. 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, Ada] Makefile patches from initial RISC-V cross/native build.

2018-07-07 Thread Andreas Schwab
On Jul 07 2018, Jim Wilson wrote: > But building an Ada compiler works exactly the same as building C and > C++ compilers. There should really be no difference. That Ada compiler is unique in that it uses exceptions. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key finge

Re: [PATCH] S/390: libstdc++: 64 and 32 bit baseline update

2018-07-13 Thread Andreas Schwab
St11__once_call@@GLIBCXX_3.4.11 > +TLS:4:_ZSt15__once_callable@@GLIBCXX_3.4.11 You should not have any TLS entries. 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."

Fix invalid cc_status after [const_][us]mulsi3_highpart

2018-07-17 Thread Andreas Schwab
..f17586ee52 --- /dev/null +++ b/gcc/testsuite/gcc.target/m68k/mulsi_highpart.c @@ -0,0 +1,8 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -m68020" } */ +/* Don't optimize away a compare after [us]mulsi_highpart. */ +/* { dg-final { scan-assembler {tst\.?l} } } */ +int cmp (unsigned int a, unsigned int b) +{ + return (a > 0x / b); +} -- 2.18.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] libitm: sh: avoid absolute relocation in shared library (PR 86712)

2018-07-28 Thread Andreas Schwab
EL-(.Lbegin0-.) If those references to hidden symbols cannot be resolved by the linker then the use of HAVE_ATTRIBUTE_VISIBILITY is pointless. 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] libgcc: m68k: avoid TEXTRELs in shared library (PR 86224)

2018-07-28 Thread Andreas Schwab
On Jul 28 2018, sly...@inbox.ru wrote: > From: Sergei Trofimovich > > Cc: Ian Lance Taylor > Cc: Jeff Law > Cc: Andreas Schwab > Signed-off-by: Sergei Trofimovich > --- > libgcc/config/m68k/lb1sf68.S | 19 ++- > 1 file changed, 14 insertions(+), 5

Re: [PATCH] RISC-V: Fix warning in predicated.md

2023-06-02 Thread Andreas Schwab
_MASK (HImode) -- 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 v2] machine descriptor: New compact syntax for insn and insn_split in Machine Descriptions.

2023-06-08 Thread Andreas Schwab
gt; + > +In cases where the number of alternatives in a @code{define_insn} or > +@code{define_insn_and_split} are large then it may be beneficial to use the is large -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552

Re: [gcc r14-2455] riscv: Prepare backend for index registers

2023-07-14 Thread Andreas Schwab
ok_for_index_p (int regno) | ^ cc1plus: all warnings being treated as errors make[3]: *** [Makefile:2499: riscv.o] 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: [gcc r14-2455] riscv: Prepare backend for index registers

2023-07-17 Thread Andreas Schwab
On Jul 17 2023, Christoph Müllner wrote: > The build process shows a lot of warnings. Then you are using a bad compiler. The build is 100% -Werror clean. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for s

Re: [gcc r14-2455] riscv: Prepare backend for index registers

2023-07-17 Thread Andreas Schwab
On Jul 17 2023, Christoph Müllner wrote: > My host compiler is: gcc version 13.1.1 20230614 (Red Hat 13.1.1-4) (GCC) Too old. -- 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 TARGET_MIN_VLEN > 4096 check

2023-07-21 Thread Andreas Schwab
t VLEN > 4096bit for 'V' Extension"); | ^ ../../gcc/config/riscv/riscv.cc:6716:7: error: unbalanced punctuation character '>' in format [-Werror=format-diag] -- Andreas Schwab, sch...@linux-

Re: [PATCH 1/2] Fix PR 110066: crash with -pg -static on riscv

2023-07-22 Thread Andreas Schwab
ecause it would make __EH_FRAME_BEGIN__ point > +# to .eh_frame data from crtbeginT.o instead of the user-defined object > +# during static linking. > +CRTSTUFF_T_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables What about CRTSTUFF_T_CFLAGS_S? -- Andreas Schwab, sch...@linux-m

Re: [PATCH 3/5] [RISC-V] Generate Zicond instruction for select pattern with condition eq or neq to 0

2023-07-25 Thread Andreas Schwab
= REG && GET_CODE (XEXP (x, 2)) && > + XEXP (x, 2) == XEXP (XEXP (x, 0), 0 Line breaks before the operator, not after. -- 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 V2] RISC-V: Rework Phase 5 && Phase 6 of VSETVL PASS

2023-06-16 Thread Andreas Schwab
/gcc/config/riscv/t-riscv:66: riscv-vsetvl.o] 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: libgo patch committed: Use a C function to call mmap

2023-06-20 Thread Andreas Schwab
ctober/604158.html) > we changed it to always use the C off_t type, but that broke 32-bit > big-endian Linux systems. This has nothing to do with big-endian, armv7 isn't big-endian. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF7

Re: libgo patch committed: Use a C function to call mmap

2023-06-20 Thread Andreas Schwab
ause it is little-endian, and did show up on > 32-bit PPC because it is big-endian. I guess the armv7 case was > failing for a different reason. Not failing is no proof for correctness. It fails everywhere for the same reason. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7

Re: [PATCH V1] RISC-V:Add float16 tuple type support

2023-06-23 Thread Andreas Schwab
r-out.cc:33: ../../gcc/tree-streamer.h:78:22: note: 'streamer_mode_table' declared here 78 | extern unsigned char streamer_mode_table[1 << 8]; | ^~~ cc1plus: all warnings being treated as errors make[3]: *** [Makefile:1180: lto-streamer-out.o] Error 1 --

Re: [PATCH V1] RISC-V:Add float16 tuple type support

2023-06-25 Thread Andreas Schwab
Please revert until bootstrap is restored. -- 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: [Ready to commit V3] RISC-V: Add AVL propagation PASS for RVV auto-vectorization

2023-10-28 Thread Andreas Schwab
auto candidate : m_candidates) | ^ | & -- 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/4] maintainer-scripts/gcc_release: create index between snapshots <-> commits

2023-11-02 Thread Andreas Schwab
tags residing under various refs/users and refs/vendors namespaces. -- 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] Fix configure script comments(!?!)

2023-11-06 Thread Andreas Schwab
re what that means, whether a wrong version of > autoconf/automake was used (though when I accidentally tried that, it > has always complained loudly) or if some environment difference can > cause this. This can happen if commits were rebased without re-generating configure scripts. -- 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."

[PATCH] Update baseline symbols for m68k-linux

2023-02-18 Thread Andreas Schwab
:_ZGVNSt9money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4 +OBJECT:8:_ZTIDF32_@@CXXABI_1.3.14 +OBJECT:8:_ZTIDF32x@@CXXABI_1.3.14 +OBJECT:8:_ZTIDF64_@@CXXABI_1.3.14 OBJECT:8:_ZTIDd@@CXXABI_1.3.4 OBJECT:8:_ZTIDe@@CXXABI_1.3.4 OBJECT:8:_ZTIDf@@CXXABI_1.3.4 -- 2.39.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key

Re: [PATCH] libffi: fix handling of homogeneous float128 structs [PR109447]

2023-05-09 Thread Andreas Schwab
On Mai 09 2023, Peter Bergner via Gcc-patches wrote: > It's almost as if the top level build machinery > adds a LD_LIBRARY_PATH=... See how the toplevel Makefile sets LD_LIBRARY_PATH (via RPATH_ENVVAR) if gcc-bootstrap is set. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerp

Re: [PATCH] libffi: fix handling of homogeneous float128 structs [PR109447]

2023-05-10 Thread Andreas Schwab
On Mai 09 2023, Peter Bergner via Gcc-patches wrote: > On 5/9/23 3:50 PM, Andreas Schwab wrote: >> On Mai 09 2023, Peter Bergner via Gcc-patches wrote: >> >>> It's almost as if the top level build machinery >>> adds a LD_LIBRARY_PATH=... >> >>

Re: [PATCH v2] RISC-V: Handle multi-lib path correclty for linux

2023-05-12 Thread Andreas Schwab
&)': ../../gcc/common/config/riscv/riscv-common.cc:1613:22: error: unused parameter 'riscv_current_arch_str' [-Werror=unused-parameter] 1613 | const std::string &riscv_current_arch_str, | ~~~^~ cc1plus: all warnings being treated as erro

Re: [PATCH] RISC-V: Add mode switching target hook to insert rounding mode config for fixed-point instructions

2023-05-19 Thread Andreas Schwab
e-switching.cc:503:19: note: 'bb_info$' was declared here 503 | struct bb_info *bb_info[N_ENTITIES]; | ^~~ cc1plus: all warnings being treated as errors make[3]: *** [Makefile:1174: mode-switching.o] Error 1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key f

Re: [PATCH] RISC-V: Add mode switching target hook to insert rounding mode config for fixed-point instructions

2023-05-19 Thread Andreas Schwab
This is built with --disable-werror, so it doesn't fail, but the warning is there: https://build.opensuse.org/package/live_build_log/devel:gcc:next/gcc14/openSUSE_Factory_RISCV/riscv64 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780

Re: [PATCH] config: check for sighandler_t properly

2021-01-22 Thread Andreas Schwab
t; to conform to the comment, but perhaps we should be checking > the non-deprecated instead, and #including it > in mapper-client.h?) Perhaps the check should be dropped at all, and the single use of sighandler_t replaced with its expansion. Andreas. -- Andreas Schwab, sch...@linux-m6

Re: [PATCH] ld: depend on libctf

2021-01-26 Thread Andreas Schwab
=1,$(STAGE3_CFLAGS)) > STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS)) > > -STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use > -fprofile-reproducible=parallel-runs > +STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use Where does this come from? Andreas.

Re: [PATCH] RISC-V: Fix -march option parsing when `p` extension exists.

2021-01-31 Thread Andreas Schwab
FAIL: gcc.target/riscv/attribute-18.c scan-assembler .attribute arch, "rv64i2p0_m2p0_a2p0_f2p0_d2p0_c2p0_p" $ grep -c 'attribute arch' attribute-18.s 0 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9

Re: [PATCH v7] Add retain attribute to place symbols in SHF_GNU_RETAIN section

2021-02-20 Thread Andreas Schwab
FAIL: c-c++-common/attr-retain-5.c -Wc++-compat (test for excess errors) Excess errors: /opt/gcc/gcc-20210220/gcc/testsuite/c-c++-common/attr-retain-5.c:23:1: warning: 'retain' attribute ignored [-Wattributes] Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint =

[PATCH] libstdc++: Update baseline symbols for {aarch64,ia64,m68k,riscv64}-linux

2021-02-23 Thread Andreas Schwab
libstdc++-v3/ * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update. * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update. * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update. * config/abi/post/riscv64-linux-gnu/baseline_symbols.txt: Upd

Re: [committed] analyzer: eliminate dedupe_candidate [PR96374]

2021-02-26 Thread Andreas Schwab
ded_path const&)' 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 1/5] std::latch: reduce internal implementation from ptrdiff_t to int

2021-02-26 Thread Andreas Schwab
On Feb 26 2021, Thiago Macieira via Gcc-patches wrote: > @@ -85,7 +85,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION > } > >private: > -alignas(__alignof__(ptrdiff_t)) ptrdiff_t _M_a; > +alignas(__alignof__(int)) int _M_a; Futexes must be aligned to 4 bytes. And

Re: [PATCH] analyzer: implement exploded_path copy ctor

2021-02-26 Thread Andreas Schwab
On Feb 26 2021, David Malcolm wrote: > What compiler are you using? gcc 5.3.1 > Does the following patch fix the build for you? Yes, it does. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now fo

Re: [PATCH 1/5] std::latch: reduce internal implementation from ptrdiff_t to int

2021-02-26 Thread Andreas Schwab
On Feb 26 2021, Thiago Macieira wrote: > On Friday, 26 February 2021 10:14:42 PST Andreas Schwab wrote: >> On Feb 26 2021, Thiago Macieira via Gcc-patches wrote: >> > @@ -85,7 +85,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION >> > } >> > >> > private: >&g

Re: [PATCH 1/5] std::latch: reduce internal implementation from ptrdiff_t to int

2021-03-03 Thread Andreas Schwab
On Mär 03 2021, Jonathan Wakely wrote: > For int, there shouldn't be any need to force the alignment. I don't > think any ABI supported by GCC allows int members to be aligned to > less than __alignof__(int). There is no requirement that __alignof__(int) is big enough. An

Re: [PATCH 3/3] [PR libfortran/101305] Fix ISO_Fortran_binding.h paths in gfortran testsuite

2021-08-04 Thread Andreas Schwab
t one that is supposed to be picked up from the current directory? 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 v3] Fix for powerpc64 long double complex divide failure

2021-08-12 Thread Andreas Schwab
_) > +#define RBIG (__LIBGCC_DF_MAX__ / 2) > +#define RMIN (__LIBGCC_DF_MIN__) > +#define RMIN2 (__LIBGCC_DF_EPSILON__) > +#define RMINSCAL (1 / __LIBGCC_DF_EPSILON__) How can it happen that __LONG_DOUBLE_IEEE128__ is not defined? This file is always compiled with -mfloat128 an

Re: [PATCH 3/3] aarch64: Remove macros for vld4[q]_lane Neon intrinsics

2021-08-18 Thread Andreas Schwab
xi __builtin_aarch64_ld4_lanev2df(const double*, __builtin_aarch64_simd_xi, int)' 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] Inline IBM long double __gcc_qsub

2021-08-26 Thread Andreas Schwab
cc_add with the second operand __gcc_qadd 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] Inline IBM long double __gcc_qsub

2021-08-26 Thread Andreas Schwab
a static function that is used by both? 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 r12-3142] Merge load/stores in ipa-modref summaries

2021-08-26 Thread Andreas Schwab
sent from output: "w" 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] options: Save and restore opts_set for Optimization and Target options

2020-10-04 Thread Andreas Schwab
h2020-10-04 04:25:18.0 +0200 @@ -7812,8 +7812,9 @@ struct GTY(()) cl_target_option { int x_target_flags; - /* 1 members */ - unsigned HOST_WIDE_INT explicit_mask[1]; + /* 0 members */ + unsigned HOST_WIDE_INT explicit_mask[0]; + int explicit_mask_target_flags; }; Andreas. -- A

Re: [PATCH] RISC-V: Derive ABI from -march if -mabi is not present.

2020-10-06 Thread Andreas Schwab
nd @option{-mabi=} both are not specified, the default > for If both ... are not specified 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: [PUSHED] Fix off-by-one storage problem in irange_allocator.

2020-10-06 Thread Andreas Schwab
ithout any new type. Modulo proper alignment. 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] options: Save and restore opts_set for Optimization and Target options

2020-10-06 Thread Andreas Schwab
-save.c: In function 'void cl_target_option_restore(gcc_options*, gcc_options*, cl_target_option*)': options-save.c:8537:26: error: unused variable 'mask' [-Werror=unused-variable] 8537 | unsigned HOST_WIDE_INT mask; | ^~~~ Andreas. -- Andre

Re: [PUSHED] Fix off-by-one storage problem in irange_allocator.

2020-10-06 Thread Andreas Schwab
On Okt 06 2020, Jakub Jelinek wrote: > On Tue, Oct 06, 2020 at 10:47:34AM +0200, Andreas Schwab wrote: >> On Okt 06 2020, Jakub Jelinek via Gcc-patches wrote: >> >> > I mean, we could just use: >> > size_t nbytes = sizeof (irange) + sizeof (tree) * 2 * num_

Re: [PUSHED] Fix off-by-one storage problem in irange_allocator.

2020-10-06 Thread Andreas Schwab
turn new (r) irange (r->mem, num_pairs); > + size_t nbytes = sizeof (tree) * 2 * num_pairs; > + > + // Allocate the irnge and required memory for the vector Typo: irange 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: libstdc++: std::iterator is deprecated since C++17

2020-10-08 Thread Andreas Schwab
703L This uses <=, but the occurrences in stream[buf]_iterator.h use ==. I think the latter is less confusing. 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] testsuite: Windows paths use \ and not /

2022-09-30 Thread Andreas Schwab
wlines, thus this will prune too much. -- 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] Add --without-makeinfo

2022-10-09 Thread Andreas Schwab
GS([MAKEINFO], makeinfo, [$MISSING makeinfo]) > +if test $with_makeinfo = "no"; then Quoting is backwards. You should quote the variable substitution, not the literal. -- 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 v8 02/12] LoongArch Port: gcc build

2022-03-06 Thread Andreas Schwab
On Mär 06 2022, Richard Sandiford via Gcc-patches wrote: > Similarly here we need to avoid bash's $(...). $(...) is 100% POSIX. -- 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 v8 08/12] LoongArch Port: libgcc

2022-03-08 Thread Andreas Schwab
; then contains any .init code linked in from .o files, then ends > with the .init code in crtn.S. Same for .fini. New architectures should not use .init/.fini at all. -- 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 v2] middle-end/104854: Limit strncmp overread warnings

2022-03-17 Thread Andreas Schwab
e can determine they are NUL terminated and an overread will > never occur. No deep analysis really needed here. Both a and b are modifiable, thus the compiler cannot assume anything. -- 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] gcc-changelog: Make This reverts stricter.

2022-03-28 Thread Andreas Schwab
On Mär 28 2022, Martin Liška wrote: > +revert_regex = re.compile(r'This reverts commit (?P[0-9a-f]+).$') Is the trailing '.' supposed to match literally? -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1

Re: [PATCH][libgomp, testsuite] Fix hardcoded libexec in plugin/configfrag.ac

2022-03-28 Thread Andreas Schwab
> exactly is. It's not a shell construct. -- 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 v2] RISCV: Add support for inlining subword atomics

2022-04-08 Thread Andreas Schwab
targets like x86/ARM/etc. They are normally autogenerated, see insn-flags.h. -- 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: [pushed] c++: rodata and defaulted ctor [PR104142]

2022-04-17 Thread Andreas Schwab
t; {^\.(const|rodata)|\[RO\]} } } That fails to handle .srodata. -- 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 02/12] LoongArch Port: gcc build

2022-01-22 Thread Andreas Schwab
On Jan 22 2022, Xi Ruoyao via Gcc-patches wrote: > Well, but then you should put the commands for generating those files > into contrib/gcc_update instead of Makefile.in, just like MIPS. contrib/gcc_update doesn't regenerate any files, it only updates timestamps. -- Andreas

Re: [PATCH] Speed up fixincludes.

2022-02-03 Thread Andreas Schwab
On Feb 03 2022, Martin Liška wrote: > -mkdir $LIB/root Why did you remote that line? -- 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] Speed up fixincludes.

2022-02-03 Thread Andreas Schwab
On Feb 03 2022, Martin Liška wrote: > What do you think now? xargs? -- 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] Speed up fixincludes.

2022-02-03 Thread Andreas Schwab
On Feb 03 2022, Martin Liška wrote: > +cd $LIB > +echo "$all_dirs" | xargs mkdir -p > +cd .. > + $LIB always contains slashes. -- 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, V2] Use system default for long double if not specified on PowerPC.

2022-02-04 Thread Andreas Schwab
ated to the target. -- 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: RISC-V: Clean up the -mstrict-align wording

2022-02-08 Thread Andreas Schwab
emx -mno-strict-align > @opindex mstrict-align > -Do not or do generate unaligned memory accesses. The default is set > depending I think the logic is that -mstrict-align is "do not" and -mno-strict-align is "do". -- Andreas Schwab, sch...@linux-m68k.org GPG Key fing

Re: [PATCH, V2] Use system default for long double if not specified on PowerPC.

2022-02-08 Thread Andreas Schwab
that's impossible and we'll just have to live with > explicitly using a configure option to set the default? It should be handled the same as the double->long double switch. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780

Re: [PATCH, V2] Use system default for long double if not specified on PowerPC.

2022-02-09 Thread Andreas Schwab
On Feb 09 2022, Segher Boessenkool wrote: > Hi Andreas, > > On Tue, Feb 08, 2022 at 06:36:57PM +0100, Andreas Schwab wrote: >> On Feb 08 2022, Peter Bergner wrote: >> > Can you please clarify one thing for me. Do you think it's possible >> > that we can com

Re: [PATCH] libgo: include asm/ptrace.h for pt_regs definition on PowerPC

2022-02-20 Thread Andreas Schwab
*)(context))->uc_mcontext.regs->nip; Why does that use .regs instead of .uc_regs? -- 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] bpf: do not --enable-gcov for bpf-*-* targets

2022-02-23 Thread Andreas Schwab
don't provide libgcov and related host tools], > [], [enable_gcov=yes]) > + > +case $target in > + bpf-*-*) > +enable_gcov=no > + ;; > +esac I think that should be moved inside the fourth argument of AC_ARG_ENABLE so that it does not override an explicit -

Re: [PATCH] libatomic: Improve 16-byte atomics on Intel AVX [PR104688]

2022-02-28 Thread Andreas Schwab
ies -mcx16, we'd need a way for one option to include both. > Maybe -Wc,-mcx16,-matomic-loadstore-16 would work though. Or use a separate variable for each variant: IFUNC_OPTIONS_1 = ... IFUNC_OPTIONS_2 = ... IFUNC_OPT = $(IFUNC_OPTIONS_$(PAT_S)) -- 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 4/4] d: Merge upstream phobos 574bf883b

2021-12-09 Thread Andreas Schwab
Breaks aarch64: ../../../../libphobos/libdruntime/core/sys/linux/unistd.d:10:15: error: module 'core.sys.linux.syscalls' import 'SystemCall' not found 10 | public import core.sys.linux.syscalls : SystemCall; | ^ Andreas. -- Andreas Schwab, sch...@li

Re: [v4 PATCH 4/4] RISC-V: Add zhinx/zhinxmin testcases.

2022-10-30 Thread Andreas Schwab
g-final { scan-assembler-times "mv" 1 } } */ This fails with -flto (mv is found twice). -- 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: Support load/store in mov pattern for RVV modes.

2022-10-30 Thread Andreas Schwab
get/riscv/rvv/base/mov-8.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/mov-9.c They all fail if the ilp32d ABI is not available. -- 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 vsetvl/vsetvlmax intrinsics and tests.

2022-10-30 Thread Andreas Schwab
On Okt 17 2022, juzhe.zh...@rivai.ai wrote: > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/rvv/base/vsetvl-1.c: New test. This fails if the ilp32d ABI is not available. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780

Re: [PATCH] RISC-V: Add runtime invariant support

2022-08-20 Thread Andreas Schwab
make: *** [Makefile:1065: all] Error 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] 32-bit PA-RISC with HP-UX: remove deprecated ports

2022-08-26 Thread Andreas Schwab
On Aug 26 2022, Martin Liška wrote: > diff --git a/config.rpath b/config.rpath This is part of gettext. -- 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 v2] RISC-V: remove deprecate pic code model macro

2022-09-02 Thread Andreas Schwab
ROUGH. */ > > case CM_MEDANY: If there is nothing left between the case labels the fallthrough comment is no longer needed. -- 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] RISC-V: Implement TARGET_COMPUTE_MULTILIB

2022-09-09 Thread Andreas Schwab
ear_switch(const switchstr*, int, const char*)' defined but not used [-Werror=unused-function] 1374 | find_last_appear_switch ( | ^~~~~~~ cc1plus: all warnings being treated as errors make[3]: *** [Makefile:2442: riscv-common.o] 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 v3] RISC-V: Add support for inlining subword atomic operations

2022-05-03 Thread Andreas Schwab
With inline atomics it should no longer be necessary to link -latomic with -pthread. -- 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][pushed] Remove dead code.

2022-05-04 Thread Andreas Schwab
reak; > case '\\': > obstack_1grow (&bstring_obstack, '\\'); > - c = getc (state_file); > + getc (state_file); > break; > case ' ': > obstack_

Re: [PATCH] configure: add --disable-fix-includes

2022-05-09 Thread Andreas Schwab
sable-fix-includes. It also disables fixincludes by default, which doesn't look intended. -- 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] Remove non-ANSI C macros in ansidecl.h.

2022-05-10 Thread Andreas Schwab
The header line should probably be changed since it's no longer about ANSI or traditional C. -- 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] configure: add --disable-fix-includes

2022-05-11 Thread Andreas Schwab
ld-//g -e s/-/_/g` varname=`echo $dirname | sed -e s/+/_/g` if eval test x\${enable_${varname}} "=" xno ; then noconfigdirs="$noconfigdirs $dir" fi done -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA A

Re: r272976 - in /trunk/gcc/ada: ChangeLog ali.adb ...

2019-10-28 Thread Andreas Schwab
> +@ref{GNAT-prerequisite}. > +@end ifnothtml > +@ifhtml > +@uref{GNAT-prerequisite}. That should be @uref{prerequisites.html#GNAT-prerequisite,,GNAT prerequisites}. 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: [committed][AArch64] Add support for the SVE PCS

2019-10-30 Thread Andreas Schwab
] Error 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: [committed][AArch64] Add support for the SVE PCS

2019-10-30 Thread Andreas Schwab
ev::main (this=this@entry=0xec48, argc=, argc@entry=37, argv=, argv@entry=0xed98) at ../../gcc/toplev.c:2311 #18 0x0071e37c in main (argc=37, argv=0xed98) at ../../gcc/main.c:39 (gdb) p abi_type $2 = (gdb) p abi_vector_types $3 = { } -- Andreas Schwab, S

Re: [committed][AArch64] Add support for the SVE PCS

2019-10-30 Thread Andreas Schwab
entry=0xed48) at ../../gcc/toplev.c:2311 #27 0x0064d8ac in main (argc=28, argv=0xffffed48) at ../../gcc/main.c:39 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: [committed][AArch64] Add support for the SVE PCS

2019-10-30 Thread Andreas Schwab
NT (type) == TYPE_MAIN_VARIANT (abi_type)); 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: [committed][AArch64] Add support for the SVE PCS

2019-11-01 Thread Andreas Schwab
MAIN_VARIANT there anyway, > since the ABI-defined types are (and need to be) their own main > variants. This patch asserts for that instead. That doesn't fix the D frontend. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 8

Re: [PATCH] Improve unrolling heuristics, PR91975

2019-11-02 Thread Andreas Schwab
000/rs6000-c.c:6062:8: note: 'arg_type[2]' was declared here 6062 | tree arg_type[3]; |^~~~ cc1plus: all warnings being treated as errors 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: [FYI] pass --enable-obsolete to build configure

2019-11-03 Thread Andreas Schwab
On Nov 02 2019, Alexandre Oliva wrote: > @@ -903,6 +904,7 @@ infodir > docdir > oldincludedir > includedir > +runstatedir > localstatedir > sharedstatedir > sysconfdir Don't add unreleated changes. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key

Re: [committed][AArch64] Add main SVE ACLE tests

2019-11-09 Thread Andreas Schwab
I'm getting massive testsuite failures with -mabi=ilp32. There are 14922 failures for g++ and another 13594 failures for gcc. 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."

  1   2   3   4   5   6   7   8   9   10   >