Re: [PATCH, ifcvt] Allow CC mode if HAVE_cbranchcc4

2014-11-03 Thread Andreas Schwab
eral_operand (cmp_b, GET_MODE (cmp_b))) > -return NULL_RTX; > +{ > +#if HAVE_cbranchcc4 You need to make that a runtime check. #ifdef HAVE_cbranchcc4 if (HAVE_cbranchcc4) 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."

gnu11 fallout: powerpc

2014-11-09 Thread Andreas Schwab
[]; +extern void cmd_usage(struct cmd_tbl_s *); + static int nand_dump(struct mtd_info *nand, unsigned long off, int only_oob) { int i; -- 2.1.3 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something compl

Re: [PR c/52952] More precise locations within format strings

2014-11-12 Thread Andreas Schwab
+ /* If MAP is not the last line map of its set, then the new location > + (loc + offset) should be less than the first location encoded by > + the next line map of the set. */ > + if (map < LINEMAPS_LAST_ORDINARY_MAP (set)) > +linemap_assert (MAP_START_LOCATION (&map[1]

Re: [PR c/52952] More precise locations within format strings

2014-11-12 Thread Andreas Schwab
See libcpp/include/line-map.h:589. 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] hppa: Fix warning in pa32_fallback_frame_state

2019-05-26 Thread Andreas Schwab
_URC_END_OF_STACK; > >frame = (struct rt_sigframe *)(sp + off); > - sc = &frame->uc.uc_mcontext; > + sc = (struct sigcontext *)&frame->uc.uc_mcontext; Why is it not better to use the correct type? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key finge

Re: Go patch committed: Intrinsify runtime/internal/atomic functions

2019-05-30 Thread Andreas Schwab
On Mai 21 2019, Jim Wilson wrote: > On Sun, May 19, 2019 at 5:22 AM Andreas Schwab wrote: >> ../../../libgo/go/runtime/mbitmap.go: In function >> ‘runtime.setMarked.runtime.markBits’: >> ../../../libgo/go/runtime/mbitmap.go:291:9: internal compiler error: >>

Re: Go patch committed: Intrinsify runtime/internal/atomic functions

2019-06-03 Thread Andreas Schwab
On Jun 03 2019, Maciej Rozycki wrote: > These are significantly worse, but I suspect the use of the user emulation > mode of QEMU may have contributed here. I think all your failures are due to bugs/limitations in the qemu emulation. Andreas. -- Andreas Schwab, sch...@linux-m68k.org G

Re: [PATCH v6 06/10] testsuite: Remove PRU from test cases requiring hosted environment

2019-06-09 Thread Andreas Schwab
define DO_TEST 0 That removes the define from the __or1k__ branch. 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] Fix PR84521

2019-06-18 Thread Andreas Schwab
ed on stack? Sure, the contents of the jmp buffer is only valid during the lifetime of the call frame anyway. 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: [doc, rfc] document __builtin_setjmp and __builtin_longjmp

2018-12-01 Thread Andreas Schwab
On Nov 30 2018, Sandra Loosemore wrote: > +@code{__builtin_setjmp} and @code{__builtin_longjmp} use GCC's normal Please avoid starting the sentence with a non-capital. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A

Re: [PATCH] [RFC] PR target/52813 and target/11807

2018-12-12 Thread Andreas Schwab
t;, "r11", "r12", "r13", "r14", "r16", "r17", "r18", + /* Non-stacked integer registers, minus r8, r10, r12, r15. */ + "r2", "r3", "r9", "r11", "r13", "r14", "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31", /* Predicate registers. */ -- 2.20.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH v4][C][ADA] use function descriptors instead of trampolines in C

2018-12-17 Thread Andreas Schwab
UNCTION_BOUNDARY 8 >> > gcc/config/pa/pa.h:#define FUNCTION_BOUNDARY BITS_PER_WORD >> > gcc/config/rl78/rl78.h:#define FUNCTION_BOUNDARY  8 >> > gcc/config/rx/rx.h:#define FUNCTION_BOUNDARY  ((rx_cpu_type >> > == RX100 || >> > rx_cpu_type

Re: Fix devirtualiation in expanded thunks

2019-01-01 Thread Andreas Schwab
e-dump-times dom3 "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 3 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: Handle extensions combination correctly in multilib-generator.

2019-08-05 Thread Andreas Schwab
On Aug 05 2019, Kito Cheng wrote: > + # TODO: Support implied extensions, e.g. D implied F in latest spce. spec > + # TODO: Support extesnion version. extension > + # Filter out any non exist index. non-existent Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fi

Re: Go patch committed: Provide index information on bounds check failure

2019-08-29 Thread Andreas Schwab
og: /usr/aarch64-suse-linux/bin/ld: _gotest_.o: in function `archive..z2ftar.Reader.next': /opt/gcc/gcc-20190829/Build/aarch64-suse-linux/ilp32/libgo/gotest1086/test/reader.go:72: undefined reference to `runtime.goPanicExtendSliceAlen' Andreas. -- Andreas Schwab, sch...@lin

Re: [PATCH 2/2] gcc/riscv: Add a mechanism to remove some calls to _riscv_save_0

2019-08-31 Thread Andreas Schwab
save/restore functions always be local to the object, thus never be called through the PLT? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH 2/2] gcc/riscv: Add a mechanism to remove some calls to _riscv_save_0

2019-08-31 Thread Andreas Schwab
ternate link register t0/x5 which > is clobbered by plts, so we can't call them in shared libraries at > all. I think the problem is that riscv needs to use t-slibgcc-libgcc so that libgcc_s.so is a linker script. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 5

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

2019-09-04 Thread Andreas Schwab
0. I find this rather unfortunate. I don't see that here. My gcc testers can still build trunk GNAT with gcc 9. http://gcc.gnu.org/ml/gcc-testresults/2019-09/msg00072.html http://gcc.gnu.org/ml/gcc-testresults/2019-09/msg00349.html Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de

Re: libgo: Update to Go 1.13beta1 release

2019-09-07 Thread Andreas Schwab
egenerate. >> >> gcc/testsuite: >> >> 2019-09-06 Ian Lance Taylor >> >> * go.test/test/fixedbugs/bug369.go: Update to match libgo update >> to Go 1.13beta1. >> > > this patch can't build on arm anymore: Or any other non-x86 architecture. An

Re: libgo: Update to Go 1.13beta1 release

2019-09-07 Thread Andreas Schwab
yscall.Dup3(oldfd, newfd, 0) +} 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: [gofrontend-dev] Re: libgo: Update to Go 1.13beta1 release

2019-09-09 Thread Andreas Schwab
‘doinit’ 56 | doinit() | ^ 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: [gofrontend-dev] Re: libgo: Update to Go 1.13beta1 release

2019-09-10 Thread Andreas Schwab
On Sep 10 2019, Ian Lance Taylor wrote: > On Mon, Sep 9, 2019 at 2:00 PM Andreas Schwab wrote: >> >> ../../../libgo/go/golang.org/x/sys/cpu/cpu.go:17:30: error: reference to >> undefined name ‘cacheLineSize’ >>17 | type CacheLinePad st

Re: [gofrontend-dev] Re: libgo: Update to Go 1.13beta1 release

2019-09-12 Thread Andreas Schwab
On Sep 11 2019, Ian Lance Taylor wrote: > On Tue, Sep 10, 2019 at 11:54 PM Andreas Schwab wrote: >> >> On Sep 10 2019, Ian Lance Taylor wrote: >> >> > On Mon, Sep 9, 2019 at 2:00 PM Andreas Schwab >> > wrote: >> >> >> >> ../../

Re: [C++ PATCH 2/4] Fix conversions for built-in operator overloading candidates.

2019-09-17 Thread Andreas Schwab
ction [-Werror=maybe-uninitialized] 5602 | scalar_int_mode int_mode; | ^~~~ Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Update riscv64 baseline symbols

2019-09-23 Thread Andreas Schwab
+4411,8 @@ OBJECT:0:GLIBCXX_3.4.23 OBJECT:0:GLIBCXX_3.4.24 OBJECT:0:GLIBCXX_3.4.25 OBJECT:0:GLIBCXX_3.4.26 +OBJECT:0:GLIBCXX_3.4.27 +OBJECT:0:GLIBCXX_3.4.28 OBJECT:0:GLIBCXX_3.4.3 OBJECT:0:GLIBCXX_3.4.4 OBJECT:0:GLIBCXX_3.4.5 -- 2.23.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key

Re: [committed] v3: gccint.texi: add user experience guidelines

2018-10-20 Thread Andreas Schwab
s for Options @cindex command-line options, guidelines for @cindex options, guidelines for @cindex guidelines for options -@section Guidelines for Options - @c TODO -- 2.19.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC

Re: [PATCH] combine: Do not combine moves from hard registers

2018-10-23 Thread Andreas Schwab
libffi.call/stret_large2.c -W -Wall -Wno-psabi -Os output pattern test libffi.call/stret_medium2.c -W -Wall -Wno-psabi -Os output pattern test And a lot of libgo tests fail. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA

Re: [PATCH] combine: Do not combine moves from hard registers

2018-10-24 Thread Andreas Schwab
getf.d r45 = f8 nop 0 ;; .mmi - nop 0 - getf.d r45 = f7 + getf.d r49 = f9 + stfd [r21] = f7 nop 0 ;; .mib - stfd [r17] = f6 + stfd [r16] = f6 nop 0 br.call.sptk.many b0 = printf# ;; Andrea

Re: [PATCH, d] Disable D on systems where it is known not to work.

2018-10-30 Thread Andreas Schwab
by existing continuous integration. Why do you need that? The D frontend isn't built by default. 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] test case fixes for pdp11

2018-11-02 Thread Andreas Schwab
"alignment of 's' is greater" { target pdp11*-*-* } } */ +} s;/* { dg-error "alignment of 's' is greater" "" { target pdp11*-*-* } } */ void test (void) -- 2.19.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 757

Re: [patch, libgfortran] PR78351 comma not terminating READ of formatted input field

2018-11-03 Thread Andreas Schwab
On Nov 03 2018, Jerry DeLisle wrote: > + /* To support legacy code we have to scan the input string one byte > + at a time because we don't no where an early comma may be and the s/no/know/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E

Re: [RS6000] Don't pass -many to the assembler

2018-11-12 Thread Andreas Schwab
(You can't use -mcpu=power9 as work around as the other > unguarded code is not supposed to be using power9 insns). You'll need to put .machine directives around them. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 17

Re: [PATCH 1/7][MSP430][TESTSUITE] Tweak dg-directives for msp430-elf

2018-11-14 Thread Andreas Schwab
quot; "-O2" } } */ > +/* { dg-timeout 120 { target msp430-*-* } } */ Are you sure you want to _decrease_ the timeout? The default is 300 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: Don't use %z printf format length specified

2018-11-14 Thread Andreas Schwab
On Nov 14 2018, Michael Matz wrote: > Initially I had also casts to long at the various arguments, but I get no > warning with this variant either, so I removed them again. That is probably pure luck. size_t is not required to be the same as unsigned long. Andreas. -- Andreas Schwab

Re: [PATCH 1/7][MSP430][TESTSUITE] Tweak dg-directives for msp430-elf

2018-11-15 Thread Andreas Schwab
On Nov 14 2018, Jozef Lawrynowicz wrote: > The timeout as set in the dejagnu configuration for msp430 > ([dejagnu.git]/baseboards/msp430-sim.exp) is 30, which is rarely > hit. I don't think it makes sense for a board file to set a smaller timeout than the default. Andreas. --

Re: [C++ PATCH] Improve locations of id-expressions and operator "" (PR c++/87386, take 3)

2018-11-22 Thread Andreas Schwab
_literal *)USERDEF_LITERAL_CHECK (NODE))->suffix_id) ^ ../../gcc/cp/parser.c:15310:11: note: in expansion of macro 'USERDEF_LITERAL_SUFFIX_ID' id = USERDEF_LITERAL_SUFFIX_ID (str); ^ Andreas. -- Andreas Schwab, SUSE Labs, sch..

Re: [C++ PATCH] Improve locations of id-expressions and operator "" (PR c++/87386, take 3)

2018-11-22 Thread Andreas Schwab
On Nov 22 2018, Jakub Jelinek wrote: > Is that with --enable-checking=release Yes. 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: Stream TREE_TYPE of TYPE_DECLs again

2018-11-22 Thread Andreas Schwab
} -// { dg-lto-options { { -O0 -flto } } +// { dg-lto-options { -O0 -flto } } enum a {} b; // { dg-lto-warning "6: type 'a' violates the C\\+\\+ One Definition Rule" } int main(void) -- 2.19.1 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9

Re: Stream TREE_TYPE of TYPE_DECLs again

2018-11-22 Thread Andreas Schwab
gt; time with -flto rather than running it once with -O0 -flto? It matches what odr-3_0.C does. 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: r273212 - in /trunk/gcc/ada: ChangeLog Makefile...

2019-07-13 Thread Andreas Schwab
On Jul 08 2019, pmdero...@gcc.gnu.org wrote: > 2019-07-08 Dmitriy Anisimkov > > gcc/ada/ > > * Makefile.rtl: Use g-sercom__linux.adb for all linuxes. ln: failed to create symbolic link 'rts/g-sercom.adb': File exists make[7]: *** [/daten/riscv64/gcc/gcc-20190713/gcc/ada/Makefile.rtl:2676

Update ia64 baseline symbols

2019-07-17 Thread Andreas Schwab
Installed as obvious. Andreas. * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update. Index: config/abi/post/ia64-linux-gnu/baseline_symbols.txt === --- config/abi/post/ia64-linux-gnu/baseline_symbols.txt (revision 2

Update m68k baseline symbols

2019-07-19 Thread Andreas Schwab
Installed as obvious. Andreas. * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update. diff --git a/libstdc++-v3/config/abi/post/m68k-linux-gnu/baseline_symbols.txt b/libstdc++-v3/config/abi/post/m68k-linux-gnu/baseline_symbols.txt index 2af971a5696..1b4fbffa9e4 100644 --- a/libs

Re: Go patch committed: Harmonize types referenced by both C and Go

2019-02-15 Thread Andreas Schwab
ottom, (uintptr)(top - bottom), gcw); | ^~ | | | byte * {aka unsigned char *} 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: libgo patch committed: Run examples

2019-02-18 Thread Andreas Schwab
ot;$output" | sed -e 's/^\(\\n\)*//' -e > 's/\(\\n\)*$//')" printf %s does not print a trailing newline, and some implementations of sed cannot cope with incomplete lines. 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: Run examples

2019-02-21 Thread Andreas Schwab
"'$n'", '$j', "'"$(cat example2.txt)"'", > '$unordered'},' That still has a problematic echo with backslashes. 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] Fix libstdc++ tests requiring atomic support on hppa-hpux

2019-03-11 Thread Andreas Schwab
flags > +} That should probably also be enabled for riscv*-*-*. 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 v2 1/2] RISC-V: Accept version, supervisor ext and more than one NSE for -march.

2019-03-17 Thread Andreas Schwab
FAIL: gcc.target/riscv/arch-1.c (test for errors, line ) FAIL: gcc.target/riscv/arch-1.c (test for excess errors) Excess errors: cc1: error: '-march=rv32I': first ISA subset must be `e', `i' or `g' Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint =

Re: C++ PATCH for c++/89214 - ICE when initializing aggregates with bases

2019-03-26 Thread Andreas Schwab
se9.C -std=c++17 (test for excess errors) 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++/89214 - ICE when initializing aggregates with bases

2019-04-01 Thread Andreas Schwab
is is never executed if flag_checking is false, 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: [PATCH] Remove usage of apostrophes in error and warning messages (PR translation/89935).

2019-04-08 Thread Andreas Schwab
FAIL: gcc.target/riscv/arch-1.c (test for errors, line ) FAIL: gcc.target/riscv/arch-1.c (test for excess errors) Excess errors: cc1: error: '-march=rv32I': first ISA subset must be 'e', 'i' or 'g' Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de G

Re: C++ PATCH for c++/89214 - ICE when initializing aggregates with bases

2019-04-09 Thread Andreas Schwab
On Apr 08 2019, Marek Polacek wrote: > Thanks, committed. Andreas -- I hope the failure is fixed now. Yes, all tests of aggr-base[89].C are passing. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And

Re: [PATCH] D support for RISC-V

2019-04-09 Thread Andreas Schwab
64) enum growDownwards = Yes.growDownwards; Why do you remove the MIPS64 case? 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] Fix PR 84487, large rodata increase in tonto and other programs

2019-04-17 Thread Andreas Schwab
On Apr 17 2019, Florian Weimer wrote: > Not just that, .bss adds to the commit charge, Only one page at most. 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] Fix PR 84487, large rodata increase in tonto and other programs

2019-04-17 Thread Andreas Schwab
On Apr 17 2019, Florian Weimer wrote: > * Andreas Schwab: > >> On Apr 17 2019, Florian Weimer wrote: >> >>> Not just that, .bss adds to the commit charge, >> >> Only one page at most. > > That would be a bug. You cannot avoid it for the page shared

Re: [PATCH v3] Use builtin sort instead of shell sort

2019-04-20 Thread Andreas Schwab
=$(sort $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def)); \ This sorts the words $(PLUGIN_HEADERS) '$(cd' $(srcdir); echo '*.h' '*.def)' and produces a command line that doesn't make sense. 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, libphobos] Committed added AArch64 Linux as a supported target.

2019-04-24 Thread Andreas Schwab
ys/posix/sys/stat.d:713:13: error: static assert (104u == 128u) is false 713 | static assert(stat_t.sizeof == 128); | ^ make[8]: *** [Makefile:2047: core/sys/posix/fcntl.lo] Error 1 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4

Re: Go patch committed: Intrinsify runtime/internal/atomic functions

2019-05-19 Thread Andreas Schwab
_stmt ../../gcc/cfgexpand.c:3859 0x2da083 expand_gimple_basic_block ../../gcc/cfgexpand.c:5895 0x2dbff3 execute ../../gcc/cfgexpand.c:6518 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "A

Re: [Contrib PATCH] Add scripts to convert GCC repo from SVN to Git

2019-05-19 Thread Andreas Schwab
s older. Those are >> nice features. But we can live without it, IMO. > > Since I do many bisections a day, losing this capability would be Very Bad. > Without it, there's no range, and without a range, there's nothing to > _bisect_. What's wrong with git

Re: [Contrib PATCH] Add scripts to convert GCC repo from SVN to Git

2019-05-20 Thread Andreas Schwab
On Mai 20 2019, Florian Weimer wrote: > If GCC policy is to reject merge commits, a command similar to > “git log --pretty=oneline | wc -l” gives something that is very git rev-list HEAD | wc -l Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE

Re: [Contrib PATCH] Add scripts to convert GCC repo from SVN to Git

2019-05-20 Thread Andreas Schwab
On Mai 20 2019, Jakub Jelinek wrote: > On Mon, May 20, 2019 at 04:26:45PM +0200, Andreas Schwab wrote: >> On Mai 20 2019, Florian Weimer wrote: >> >> > If GCC policy is to reject merge commits, a command similar to >> > “git log --pretty=oneline | wc -l” gives

Re: [PATCH, d] Committed merge with upstream dmd

2019-01-22 Thread Andreas Schwab
| assert(0 < length && length < namelen); // don't overflow the buffer | ^~ 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 GCC]Resolve compilation time known alias checks in vectorizer

2016-08-06 Thread Andreas Schwab
On Mi, Jul 13 2016, "Bin.Cheng" wrote: > Patch re-tested/applied on trunk as r238301. This breaks gcc.dg/vect/vect-117.c on powerpc. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for so

Re: libgo patch committed: Change build procedure to use build tags

2016-08-07 Thread Andreas Schwab
#x27; r1, _, errno := syscall.Syscall(randomTrap, ^ make[4]: *** [internal/syscall/unix.lo] Error 1 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/V3]Add new patterns for vcond_mask and vec_cmp

2016-08-11 Thread Andreas Schwab
~~~ ../../gcc/config/aarch64/aarch64-simd.md:2416:9: note: 'comparison' was declared here rtx (*comparison) (rtx, rtx, rtx); ^~ 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] Fix caret locations in format_type_warning (PR c/72857)

2016-08-17 Thread Andreas Schwab
../../gcc/input.c:1470:1: error: 'const char* get_source_range_for_char(cpp_reader*, string_concat_db*, location_t, cpp_ttype, int, source_range*)' defined but not used [-Werror=unused-function] get_source_range_for_char (cpp_reader *pfile, ^ Andreas. -

Re: Implement C _FloatN, _FloatNx types [version 6]

2016-08-21 Thread Andreas Schwab
ne __STDC_WANT_IEC_60559_TYPES_EXT__ > +#include > +#include "fp-int-convert.h" > + > +int > +main (void) > +{ > + TEST_I_F(TItype, UTItype, _Float64, FLT64X_MANT_DIG, FLT64X_MAX_EXP); s/_Float64/_Float64x/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] Fix PR77290

2016-08-21 Thread Andreas Schwab
../../gcc/graphite.c:356 0x111600f execute ../../gcc/graphite.c:433 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 fortran/77372

2016-08-29 Thread Andreas Schwab
Fatal Error: Can't open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory compilation terminated. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: Add fixit hint for -Wlogical-not-parentheses

2016-08-29 Thread Andreas Schwab
;logical not is only applied" } */ ^~~~ 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] Fix PR69047

2016-08-29 Thread Andreas Schwab
can-tree-dump cddce1 "_[0-9]+ = \\([^)]+\\) b" $ cat pr69047.c.037t.cddce1 ;; Function f (f, funcdef_no=0, decl_uid=1432, cgraph_uid=0, symbol_order=0) f (short unsigned int b) { unsigned char a; unsigned char _2; : _2 = BIT_FIELD_REF ; return _2; } Andreas. -- Andreas S

Re: [PATCH] PR fortran/77372

2016-08-29 Thread Andreas Schwab
On Aug 29 2016, Steve Kargl wrote: > On Mon, Aug 29, 2016 at 11:10:41AM +0200, Andreas Schwab wrote: >> On Aug 26 2016, Steve Kargl wrote: >> >> > 2016-08-25 Steven G. Kargl >> > >> >PR fortran/77372 >> >gfortran.dg/pr77372.f90:

libgo/runtime: Fix signal stack size for ia64

2016-08-31 Thread Andreas Schwab
inux >=2K + mp->gsignal = runtime_malg(128*1024, (byte**)&mp->gsignalstack, &mp->gsignalstacksize); // OS X wants >=8K, Linux >=2K, ia64 >=128K mp->gsignal->m = mp; } -- 2.9.3 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD

Re: libgo/runtime: Fix signal stack size for ia64

2016-08-31 Thread Andreas Schwab
On Aug 31 2016, Ian Lance Taylor wrote: > Go really work on ia64?). http://gcc.gnu.org/ml/gcc-testresults/2016-08/msg03154.html 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 co

Re: [committed] C: Fix missing spaces in 'struct' fix-it hints

2016-09-01 Thread Andreas Schwab
says whether to prepend/append a space when inserting. Then it can avoid printing the space when the hint is displayed. 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] PR77393 [7 Regression] Revision r237735 changed the behavior of F0.0

2016-09-01 Thread Andreas Schwab
ot;) -huge(1.0_16) > if (len(trim(str)).lt.4945) error stop "FAILED AT 11" > end program testbigf0 FAIL: gfortran.dg/fmt_f0_2.f90 -O0 (test for excess errors) Excess errors: /daten/aranym/gcc/gcc-20160901/gcc/testsuite/gfortran.dg/fmt_f0_2.f90:12:36: Error: Invalid real kind 16

Re: libgo/runtime: Fix signal stack size for ia64

2016-09-02 Thread Andreas Schwab
>=2K > + > +#ifdef SIGSTKSZ > + if(stacksize < SIGSTKSZ) > + stacksize = SIGSTKSZ; > +#endif There is nothing that defines SIGSTKSZ. 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/runtime: Fix signal stack size for ia64

2016-09-02 Thread Andreas Schwab
On Sep 02 2016, Andreas Schwab wrote: > On Aug 31 2016, Ian Lance Taylor wrote: > >> Index: libgo/runtime/runtime.c >> === >> --- libgo/runtime/runtime.c (revision 239872) >> +++ libgo/ru

Re: Fwd: libgo patch committed: Use -fgo-c-header to share between Go and C

2016-09-02 Thread Andreas Schwab
That breaks libgo on ia64. The problem is that _ucontext_t isn't properly aligned. 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: Fwd: libgo patch committed: Use -fgo-c-header to share between Go and C

2016-09-02 Thread Andreas Schwab
On Sep 02 2016, Ian Lance Taylor wrote: > On Fri, Sep 2, 2016 at 9:14 AM, Andreas Schwab wrote: >> >> That breaks libgo on ia64. The problem is that _ucontext_t isn't >> properly aligned. > > Interesting. Thanks for looking into it. What is the required &

Re: Fwd: libgo patch committed: Use -fgo-c-header to share between Go and C

2016-09-02 Thread Andreas Schwab
On Sep 02 2016, Andreas Schwab wrote: > On Sep 02 2016, Ian Lance Taylor wrote: > >> On Fri, Sep 2, 2016 at 9:14 AM, Andreas Schwab wrote: >>> >>> That breaks libgo on ia64. The problem is that _ucontext_t isn't >>> properly aligned. >> >

Re: [PATCH, 2/4] Replace error_at with assert in build_va_arg

2016-09-03 Thread Andreas Schwab
ug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 FAIL: c-c++-common/pr70651.c -std=c++11 (internal compiler error) Andreas. -- Andreas Schwab, sch...@

Re: C++ PATCH for c++/77379 (abi_tag on thunk)

2016-09-03 Thread Andreas Schwab
B3barEv 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: Implement C _FloatN, _FloatNx types [version 6]

2016-09-03 Thread Andreas Schwab
e "floatn-basic.h" This fails on powerpc32, in vafn. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH, 2/4] Replace error_at with assert in build_va_arg

2016-09-03 Thread Andreas Schwab
http://gcc.gnu.org/ml/gcc-testresults/2016-09/msg00298.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: New hashtable power 2 rehash policy

2016-05-25 Thread Andreas Schwab
nux/libstdc++-v3/include/ia64-suse-linux/bits/c++config.h:326:4: error: #error illegal use of multiple inlined namespaces 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/3] Vectorize inductions that are live after the loop

2016-06-05 Thread Andreas Schwab
tsuite/gcc.dg/vect/vect-live-2.c:29:1: note: vectorized 0 loops in function. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH][3/3][RTL ifcvt] PR middle-end/37780: Conditional expression with __builtin_clz() should be optimized out

2016-06-07 Thread Andreas Schwab
tx_def* simplify_cond_clz_ctz(rtx, rtx_code, rtx, rtx)': ../../gcc/simplify-rtx.c:5304:16: error: unused variable 'mode' [-Werror=unused-variable] machine_mode mode = GET_MODE (on_nonzero); ^~~~ 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: Update probabilities in predict.def to match reality

2016-06-08 Thread Andreas Schwab
Jan Hubicka writes: > Bootstrapped/regtested x86_64-linux, will commit it later today. FAIL: gcc.dg/tree-ssa/slsr-8.c scan-tree-dump-times optimized " w?* " 7 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 8

Re: [PATCH][AArch64][obvious] Clean up parentheses and use GET_MODE_UNIT_BITSIZE in a couple of patterns

2016-06-15 Thread Andreas Schwab
ET_MODE_UNIT_SIZE (mode) * BITS_PER_UNIT; > - if (INTVAL (operands[2]) == bit_width) >{ > -return \"shll\\t%0., %1., %2\"; > +if (INTVAL (operands[2]) == GET_MODE_UNIT_BITSIZE (mode)) > + return "shll\\t%0., %1., %2"; > +else >

Re: [PATCH PR71347][Partial revert r235513]Compute cost for all uses in group

2016-06-18 Thread Andreas Schwab
= _3; i_13 = 2; goto ; : _4 = i_9 + -1; _5 = X[_4]; _6 = X[1]; _7 = _5 * _6; X[i_9] = _7; i_15 = i_9 + 1; : # i_9 = PHI if (i_9 <= 8) goto ; else goto ; : _8 = X[5]; Write (_8); return; } 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 PR71347][Partial revert r235513]Compute cost for all uses in group

2016-06-20 Thread Andreas Schwab
ement is enabled in IVOPT on both > ia64 and arm. As a result, IVOPT tends to choose iv_cand which is > incremented after the first store. The dump for IVOPT is as: FWIW, the test also fails on m68k, for the same reason. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprin

Re: Update probabilities in predict.def to match reality

2016-06-21 Thread Andreas Schwab
Renlin Li writes: > Hi, > > On 08/06/16 11:21, Andreas Schwab wrote: >> Jan Hubicka writes: >> >>> Bootstrapped/regtested x86_64-linux, will commit it later today. >> >> FAIL: gcc.dg/tree-ssa/slsr-8.c scan-tree-dump-times optimized " w?* "

Re: [Patch AArch64] Use default_elf_asm_named_section instead of special cased hook

2016-06-22 Thread Andreas Schwab
char * aarch64_gen_far_branch (rtx *, int, const char *, const char *); const char * aarch64_output_probe_stack_range (rtx, rtx); void aarch64_err_no_fpadvsimd (machine_mode, const char *); -- 2.9.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE

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

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

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

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

Re: [PATCH] fix cygwin builds

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

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

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

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

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

Re: Drop frequencies from basic blocks

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

Re: [PATCH][AArch64] Improve aarch64_legitimate_constant_p

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

<    3   4   5   6   7   8   9   10   11   12   >