Re: we are starting the wide int merge

2014-05-07 Thread Andreas Schwab
t; How does it map to the SVN commit in trunk? This is a commit on the wide-int branch (the one that created it). Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

[PATCH] Update libstdc++ baseline symbols for ia64

2014-05-05 Thread Andreas Schwab
@@CXXABI_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 completely different."

Re: [patch, libgfortran] Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write

2014-04-27 Thread Andreas Schwab
2 * dtp->u.p.saved_length; > + new = realloc (p, dtp->u.p.saved_length); That's a buffer overflow. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

[PATCH] Update libstdc++ baseline symbols for ia64

2014-04-24 Thread Andreas Schwab
:4:_ZTSPKm@@CXXABI_1.3 +OBJECT:4:_ZTSPKn@@CXXABI_1.3.9 +OBJECT:4:_ZTSPKo@@CXXABI_1.3.9 OBJECT:4:_ZTSPKs@@CXXABI_1.3 OBJECT:4:_ZTSPKt@@CXXABI_1.3 OBJECT:4:_ZTSPKv@@CXXABI_1.3 -- 1.9.2 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276

Re: [Patch] Fix obsolete autoconf macros in configure.ac

2014-04-23 Thread Andreas Schwab
_TYPE(caddr_t, char *) > +AC_CHECK_TYPES([ssize_t]) > +AC_CHECK_TYPES([caddr_t]) You also need to handle the no longer supported default definition. Moreover, the two macro calls can be combined into one. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 94

[PATCH] Update libstdc++ baseline symbols for m68k

2014-04-23 Thread Andreas Schwab
OBJECT:0:GLIBCXX_3.4 OBJECT:0:GLIBCXX_3.4.1 -- 1.9.2 -- 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] Update ia64 libstdc++ baseline symbols

2014-04-10 Thread Andreas Schwab
_once_call@@GLIBCXX_3.4.11 -TLS:4:_ZSt15__once_callable@@GLIBCXX_3.4.11 -- 1.9.1 -- 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] Update ia64 libstdc++ baseline symbols

2014-04-10 Thread Andreas Schwab
Jakub Jelinek writes: > On Thu, Apr 10, 2014 at 09:52:35AM +0200, Andreas Schwab wrote: >> Tested on ia64-suse-linux and installed as obvious. > > Please don't add the TLS symbols in there, they aren't included > in any of the linux baselines Actually, there are so

Re: RFA: Testsuite PATCH to add support for dlopen tests

2014-04-08 Thread Andreas Schwab
Jason Merrill writes: > Hmm, the PCH tests already use nested calls to dg-test, Do they? I don't think so. There are calls to dg-test in dg-flags-pch, which is called by dg-pch, and then pch.exp runs dg-pch on each test, but I see no other dg-test in the call chain. Andreas. --

Re: RFA: Testsuite PATCH to add support for dlopen tests

2014-04-08 Thread Andreas Schwab
Paolo Carlini writes: > On 04/08/2014 11:01 AM, Andreas Schwab wrote: >> Jason Merrill writes: >> >>> richi asked for a testcase for 60731, and since we didn't already have >>> support for tests using dlopen, I had to add it. Does this approach make &

Re: RFA: Testsuite PATCH to add support for dlopen tests

2014-04-08 Thread Andreas Schwab
ody line 1) invoked from within "uplevel #0 source /usr/local/gcc/gcc-20140408/gcc/testsuite/g++.dg/dg.exp" invoked from within "catch "uplevel #0 source $test_file_name"" 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 debug] Fix PR60655 partially.

2014-04-06 Thread Andreas Schwab
e_t; +typedef __SIZE_TYPE__ size_t; extern void *memcpy (void *dest, const void *src, size_t n); short mp_compare(const unit* r1, const unit* r2) -- 1.9.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH][1/3] Fix PR54733 Optimize endian independent load/store

2014-04-03 Thread Andreas Schwab
gt; + || [istarget rs6000-*-*] > + || [istarget s390*-*-*] > + || [istarget x86_64-*-*] } { Please add m68k-*-*. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [RFA][PATCH][pr target/60648] Fix non-canonical RTL from x86 backend -- P1 regression

2014-03-29 Thread Andreas Schwab
{ target i?86-*-* x86_64-*-* } } */ > +/* { dg-options "-O3 -fPIC -m32" } */ xg++: error: unrecognized command line option '-m32' 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 for c++/60566 (dtor devirtualization and missing thunks)

2014-03-27 Thread Andreas Schwab
: .size _ZTv0_n16_N1CD1Ev, .-_ZTv0_n16_N1CD1Ev .globl _ZTv0_n16_N1CD0Ev .type _ZTv0_n16_N1CD0Ev, @function _ZTv0_n16_N1CD0Ev: .size _ZTv0_n16_N1CD0Ev, .-_ZTv0_n16_N1CD0Ev 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 PR ipa/60315 (inliner explosion)

2014-03-27 Thread Andreas Schwab
gcc/gcc-20140327/gcc/testsuite/g++.dg/torture/pr60315.C:7:21: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 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 PR ipa/60315 (inliner explosion)

2014-03-26 Thread Andreas Schwab
ide { -return 42; -} -}; - -extern Base* b; - -int main() { -return (static_cast(b)->*(&Derived::f))(); -} -- 1.9.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] Fix failure of gcc.dg/tree-prof/pr59003.c on hppa*-*-hpux*

2014-03-24 Thread Andreas Schwab
John David Anglin writes: > I already tried it. dg-additional-options isn't supported in tree-prof. Shouldn't be hard to fix. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for so

Re: Non portable sed invocation in libgcc configury

2014-03-23 Thread Andreas Schwab
Martin Husemann writes: > This version seems to work for me - but do you really want to go on > this slippery ice? If you want to be portable you cannot use -r anyway. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 827

Re: Non portable sed invocation in libgcc configury

2014-03-23 Thread Andreas Schwab
\ > -sed > 's/\(.*\)\($(hardfp_mode_regexp)\)\($(hardfp_suffix_regexp)\|\)$$/-DFUNC=__& > -DOP_\1\3 -DTYPE=\2/') > +sed -r > 's/\(.*\)\($(hardfp_mode_regexp)\)\($(hardfp_suffix_regexp)\|\)$$/-DFUNC=__& > -DOP_\1\3 -DTYPE=\2/') -r changes the regexp syntax t

[PATCH] Fix gfortran.dg/unlimited_polymorphic_13.f90

2014-03-17 Thread Andreas Schwab
) /= sz) call abort() -- 1.9.0 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [ada, build] host/target configuration

2014-03-16 Thread Andreas Schwab
Thomas Schwinge writes: > No, you did not, but I had said: »not obvious [...] where the > gcc/ada/gcc-interface/ code is using [target_cpu_default]«. Why do you think this directory is called gcc-interface??? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58C

Re: [ada, build] host/target configuration

2014-03-16 Thread Andreas Schwab
Thomas Schwinge writes: > Hi! > > On Sun, 16 Mar 2014 11:30:06 +0100, Andreas Schwab > wrote: >> Thomas Schwinge writes: >> >> > It is not obvious to me (and neither was to Olivier as well as the patch >> > reviewers, as it seems) where the gcc/

Re: [ada, build] host/target configuration

2014-03-16 Thread Andreas Schwab
as unused, again? git grep? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [ada, build] host/target configuration

2014-03-16 Thread Andreas Schwab
_cpu=@host_cpu@ host_vendor=@host_vendor@ host_os=@host_os@ +target_cpu_default = @target_cpu_default@ xmake_file = @xmake_file@ tmake_file = @tmake_file@ #version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c` -- Andreas Schwab, sch...@linux-m68k.org GPG Key

Re: C++ PATCHes to run testsuite in C++14 mode

2014-03-08 Thread Andreas Schwab
{ dg-skip-if "No stabs" { aarch64*-*-* mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* nios2-*-* } { "*" } { "" } } // { dg-do compile { target c++11 } } +// { dg-skip-if "No stabs" { aarch64*-*-* mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* *-

Re: C++ PATCH for lto/53808 (devirtualization of defaulted virtual dtor)

2014-02-27 Thread Andreas Schwab
Jason Merrill writes: > Hmm, I wonder why we aren't devirtualizing that call on ia64. Does it > work with -O3? That doesn't change anything fundamentally. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0E

Re: [PATCH] Fix PR 60268

2014-02-27 Thread Andreas Schwab
!= CPU_UNKNOWN) @@ -665,6 +666,7 @@ m68k_override_options_after_change (void) flag_schedule_insns = 0; flag_schedule_insns_after_reload = 0; flag_modulo_sched = 0; + flag_live_range_shrinkage = 0; } } -- 1.9.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key

Re: C++ PATCH for lto/53808 (devirtualization of defaulted virtual dtor)

2014-02-27 Thread Andreas Schwab
br.ret.sptk.many b0 ;; .endp _Z1fv# .ident "GCC: (GNU) 4.9.0 20140227 (experimental) [trunk revision 208194]" 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 60268

2014-02-25 Thread Andreas Schwab
c:6719 0x8e807c schedule_insns ../../gcc/sched-rgn.c:3407 0x8e87cb schedule_insns ../../gcc/sched-rgn.c:3401 0x8e87cb rest_of_handle_live_range_shrinkage ../../gcc/sched-rgn.c:3614 0x8e87cb execute ../../gcc/sched-rgn.c:3704 Andreas. -- Andreas Schwab, SUSE Labs, sch...@

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

2014-02-19 Thread Andreas Schwab
ibgcc1-tf-functions)) LIB2ADD += $(addprefix $(srcdir)/config/ia64/, $(libgcc1-tf-compats)) +# Wrap divtf3.c to set the default symbol version +softfp_file_list := $(filter-out $(srcdir)/soft-fp/divtf3.c, $(softfp_file_list)) +LIB2ADD += $(srcdir)/config/ia64/divtf3.c -- 1.9.0 -- Andreas Schwab, SUS

Re: CALL_INSN_FUNCTION_USAGE fix, PR52773

2014-02-10 Thread Andreas Schwab
se USEs, so I've fixed that as well. > > Bootstrapped and tested on x86_64-linux, ok? Any news on this? 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 PR52289, a typoed word in an error message

2014-02-08 Thread Andreas Schwab
@ -112,7 +112,7 @@ contains type(t),allocatable :: x[:] type(t) :: y x = y -x[1] = y ! { dg-error "must not be have an allocatable ultimate component" } +x[1] = y ! { dg-error "must not have an allocatable ultimate component" } end subroutine assign2 e

Re: [PATCH] PR60092, basic support for posix_malloc

2014-02-06 Thread Andreas Schwab
/* We marking allocated storage local, we deal with it becoming s/We/When/? 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,C++] integer constants in attribute arguments

2014-02-05 Thread Andreas Schwab
Marc Glisse writes: > On Wed, 5 Feb 2014, Andreas Schwab wrote: > >> Wrt. the function decl it should probably just be changed to a variable >> decl. Alignments on function decls are kind of exotic. > > Good idea. How about this patch then? LGTM. Andreas. -- Andrea

Re: [C,C++] integer constants in attribute arguments

2014-02-05 Thread Andreas Schwab
ly just be changed to a variable decl. Alignments on function decls are kind of exotic. 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,C++] integer constants in attribute arguments

2014-02-05 Thread Andreas Schwab
y reject an overaligned function decl? 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,C++] integer constants in attribute arguments

2014-02-04 Thread Andreas Schwab
; > + > +void g() __attribute__((aligned(size))); /usr/local/gcc/gcc-20140204/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C:32:6: error: alignment for 'void g()' must be at least 16 FAIL: g++.dg/cpp0x/constexpr-attribute2.C (test for excess errors) Andreas. -- Andreas Schwab,

Re: [testsuite, committed] Fix unresolved vector26.C for c++98

2014-02-01 Thread Andreas Schwab
dg-final { scan-assembler-not "globl\[ \t]*_Z3bar" } } > +// { dg-final { scan-assembler-not "globl\[ \t]*_Z3bar" { target { ! > c++98 } } } } > > > Shouldn't "]" be escaped as well? There is no real need, since ] by itself is not special in a t

Re: C++ PATCH for c++/53756 (-g and C++1y auto)

2014-01-29 Thread Andreas Schwab
_location data1 0x91// DW_OP_fbreg .sleb128 0 data1 0 // end of children of DIE 0x53 .uleb128 0x9// (DIE (0x85) DW_TAG_base_type) data1 0x4 // DW_AT_byte_size data1 0x5 // DW_AT_encoding .ascii "int\0"

Re: configure check for flex

2014-01-28 Thread Andreas Schwab
ssible in a VC checkout). 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] Improve locinfo a bit (PR c/59846)

2014-01-24 Thread Andreas Schwab
20140124/gcc/testsuite/gcc.dg/pr59846.c:8:14: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] /daten/aranym/gcc/gcc-20140124/gcc/testsuite/gcc.dg/pr59846.c:14:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] Andreas. -- And

Re: [RFA] [PATCH][PR tree-optimization/59749] Fix recently introduced ree bug

2014-01-16 Thread Andreas Schwab
+1,13 @@ extern void abort (void); extern void exit (int); -int a[6], b, c = 1, d; +int a[6], c = 1, d; short e; int __attribute__ ((noinline)) fn1 (int p) { - b = a[p]; + return a[p]; } int Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B

Re: Fix build under "make --no-builtin-rules"

2014-01-06 Thread Andreas Schwab
Patrick Palka writes: > From what I inferred from the make manual[0], $* is functionally > equivalent to $(basename $@) in this case. Or $(base), I think. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "

[PATCH] m68k: properly handle double word push for all registers

2014-01-03 Thread Andreas Schwab
_rtx, operands[1])) + && reg_overlap_mentioned_p (XEXP (XEXP (operands[0], 0), 0), operands[1])) operands[1] = middlehalf[1] = latehalf[1]; /* For (set (reg:DI N) (mem:DI ... (reg:SI N) ...)), -- 1.8.5.2 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5

Re: RFA: Use precision in get_mode_bounds()

2013-12-31 Thread Andreas Schwab
a situation where using the bitsize is correct. >> >> There were no regressions and several fixed test cases with the >> msp430-elf toolchain that I was using, and no regressions with an >> i686-pc-linux-gnu toolchain. >> >> OK to apply ? > > Ok without th

Re: [testsuite] Fix g++.dg/cilk-plus/cilk-plus.exp

2013-12-14 Thread Andreas Schwab
rcdir/c-c++-common/cilk-plus/AN/*.c]] " -fcilkplus" " " dg-runtest [lsort [glob -nocomplain $srcdir/c-c++-common/cilk-plus/AN/*.c]] " -O1 -fcilkplus" " " -- 1.8.5.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [testsuite] Fix g++.dg/cilk-plus/cilk-plus.exp

2013-12-13 Thread Andreas Schwab
Rainer Orth writes: > Andreas Schwab writes: > >> Rainer Orth writes: >> >>> diff --git a/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp >>> b/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp >>> --- a/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp

Re: [testsuite] Fix g++.dg/cilk-plus/cilk-plus.exp

2013-12-13 Thread Andreas Schwab
:${library_var}/libcilkrts/.libs" > +set_ld_library_path_env_vars > > -set ALWAYS_CFLAGS "" > -lappend ALWAYS_CFLAGS "-L${library_var}/libcilkrts/.libs" > +global TEST_EXTRA_LIBS > +set TEST_EXTRA_LIBS "-L${library_var}/libcilkrts/.libs" There is n

Re: _Cilk_spawn and _Cilk_sync for C++

2013-12-12 Thread Andreas Schwab
ary_path "$[get_multilibs]/libcilkrts/.libs" > + > +set ALWAYS_CFLAGS "" > +lappend ALWAYS_CFLAGS "-L${library_var}/libcilkrts/.libs" This is broken and useless. Remove that. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

[PATCH] Properly install libgcc_bc dummy library

2013-12-09 Thread Andreas Schwab
FLAGS) \ + $(libgcj_bc_la_OBJECTS) $(libgcj_bc_la_LIBADD) $(LIBS) + ## Note that property_files is defined in sources.am. propertyo_files = $(patsubst classpath/resource/%,%,$(addsuffix .lo,$(property_files))) -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9

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

2013-12-09 Thread Andreas Schwab
ibgcc1-tf-functions)) LIB2ADD += $(addprefix $(srcdir)/config/ia64/, $(libgcc1-tf-compats)) +# Wrap divtf3.c to set the default symbol version +softfp_file_list := $(filter-out $(srcdir)/soft-fp/divtf3.c, $(softfp_file_list)) +LIB2ADD += $(srcdir)/config/ia64/divtf3.c -- 1.8.5.1 -- Andreas Schwab, SUS

Re: Make C11 _Alignof return least not greatest alignment for a type (PR c/52023)

2013-12-05 Thread Andreas Schwab
gcc/c-family/c-common.c:5007:9: error: unused variable ‘field’ [-Werror=unused-variable] tree field = build_decl (UNKNOWN_LOCATION, FIELD_DECL, NULL_TREE, ^ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PING^2] [PATCH] PR59063

2013-12-03 Thread Andreas Schwab
about this. I should probably check >> non-sanitized platforms as well before commiting patches. Does the >> attached patch make sense to you? Worked for me on x64 and x64 with >> manually disabled libsanitizer. > [ ... ] > Is this still necessary after HJ's patch? The situat

Re: libgo patch committed: Fix 386 MakeFunc when returning struct

2013-11-30 Thread Andreas Schwab
ibgo/go/reflect/makefuncgo_386.go Sat Nov 30 09:05:42 2013 -0800 > @@ -16,6 +16,7 @@ > esp uint32 > eax uint32 // Value to return in %eax. > st0 uint64 // Value to return in %st(0). > + sr int32 // Set to non-zero if hidden struct pointer. ... vs. sr. Andreas

Re: [PING^2] [PATCH] PR59063

2013-11-30 Thread Andreas Schwab
n.${shlib_ext}"] } { > - append flags " -B${gccpath}/libsanitizer/ubsan/ " > append flags " -L${gccpath}/libsanitizer/ubsan/.libs" > append ld_library_path ":${gccpath}/libsanitizer/ubsan/.libs" >} This is causing all the tests

Re: [PATCH] OpenMP #pragma omp declare simd support (take 2)

2013-11-28 Thread Andreas Schwab
../../gcc/cgraphunit.c:2126 0x403dafdf finalize_compilation_unit() ../../gcc/cgraphunit.c:2280 0x4018f44f c_write_global_declarations() ../../gcc/c/c-decl.c:10389 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748

Re: [PATCH, testsuite]: Fix gcc.dg/float-exact-1.c

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

Re: wide-int, fortran

2013-11-23 Thread Andreas Schwab
i::eq_p (t, 0) ? 0 : 1; >> > >> > I can't find the meaning of :: in n1256.pdf. What does this do? >> >> wi:: eq_p means the function eq_p inside the wi struct. > > Where in n1256.pdf can I read about this feature? Try n3376.pdf instead. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] pointer to integer conversion.

2013-11-23 Thread Andreas Schwab
Footnotes -- (1) Future versions of GCC may zero-extend, or use a target-defined `ptr_extend' pattern. Do not rely on sign extension. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

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

2013-11-21 Thread Andreas Schwab
ir)/soft-fp/divtf3.c, $(softfp_file_list)) +LIB2ADD += $(srcdir)/config/ia64/divtf3.c -- 1.8.4.3 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [patch,libgfortran] Fix binary128 ERFC_SCALED

2013-11-21 Thread Andreas Schwab
FX writes: > 2013-11-20 Francois-Xavier Coudert > > PR libfortran/59227 There is no connection to PR59227 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [patch,libgfortran] Fix binary128 ERFC_SCALED

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

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

2013-11-20 Thread Andreas Schwab
s/m68k/start.S:85: undefined reference to `main' collect2: error: ld returned 1 exit status Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: Pass floating point values on powerpc64 as per ABI

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

Re: Pass floating point values on powerpc64 as per ABI

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

Re: Pass floating point values on powerpc64 as per ABI

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

Use default PIC flag on m68k

2013-11-15 Thread Andreas Schwab
ibgcc only? sh-*-linux* | sh[[2346lbe]]*-*-linux*) $1=-fpic -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] Added the libcilkrts path to linker

2013-11-09 Thread Andreas Schwab
o separate testsuite runs. See testsuite/lib/asan-dg.exp or testsuite/lib/atomic-dg.exp how to do that correctly. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: Patch RFA: With -fnon-call-exceptions sync builtins may throw

2013-11-05 Thread Andreas Schwab
*-*-darwin[912]* } } */ +/* { dg-require-effective-target sync_long_long_runtime } */ /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */ /* Verify that the builtin functions are correctly marked as trapping -- 1.8.4.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fin

Re: [Patch] Implementation of n3793

2013-11-03 Thread Andreas Schwab
+ } experimental/optional/cons/copy.cc:70:20: error: no match for 'operator==' (operand types are 'std::experimental::optional' and 'long long int') VERIFY( o && o == 0x1234ABCDF1E2D3C4 ); ^ Andreas. -- Andreas Schwab, sch...@li

m68k: handle register conflict with PRE_DEC in notice_update_cc

2013-10-22 Thread Andreas Schwab
P_REG_P (cc_status.value2)))) cc_status.flags = CC_IN_68881; -- 1.8.4.1 -- 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 libstdc++/58729 - tr2::dynamic_bitset::resize fails

2013-10-19 Thread Andreas Schwab
Paolo Carlini writes: > Before committing you may want to test -m32 too. Where it in fact fails, see PR58804. 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][i386]Fix PR 57756

2013-10-17 Thread Andreas Schwab
What about all the other targets you broke? 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: Teaching emacs about GCC coding conventions (was Re: [PATCH] tree_code_name wrapper)

2013-10-16 Thread Andreas Schwab
"Paulo Matos" writes: > (haven't found a way to say : 'only use this for GCC sources') You could put it in .dir-locals.el, or put a hook on find-file-hook that looks at buffer-file-name. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprin

Re: RFA: Store the REG_BR_PROB probability directly as an int

2013-09-24 Thread Andreas Schwab
Richard Sandiford writes: > Sorry for the breakage. I think we need to handle INT_LIST in the same way > as INSN_LIST though, and eliminate in XEXP (x, 1). > > How about the attached? Testing in progress... Works for me as well. Andreas. -- Andreas Schwab, sch...@linux-m68k

Re: RFA: Store the REG_BR_PROB probability directly as an int

2013-09-24 Thread Andreas Schwab
rtx insn, case ADDR_VEC: case ADDR_DIFF_VEC: case RETURN: +case INT_LIST: return x; case REG: 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] Make vector::at() assertion message more useful (try #2)

2013-09-23 Thread Andreas Schwab
Paolo Carlini writes: > Hi > > Andreas Schwab ha scritto: > >>What's wrong with always adding the instantiation? > > That quite a few targets will not use it and will remain dead in the .so? How many uses are there for the unsigned long version? Andreas. -- A

Re: [patch] Make vector::at() assertion message more useful (try #2)

2013-09-23 Thread Andreas Schwab
ed to commit this kind change to unbreak his target. There are a lot of targets using unsigned int for size_t, which would have been uncovered by proper testing. 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] Make vector::at() assertion message more useful (try #2)

2013-09-23 Thread Andreas Schwab
stdc++.so: undefined reference to `int std::__int_to_char(char*, unsigned int, char const*, std::_Ios_Fmtflags, bool)' Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [Patch, AArch64, ILP32] 1/5 Initial support - configury changes

2013-09-18 Thread Andreas Schwab
x where multilibs are not enabled you don't need it anyway). Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [Patch, AArch64, ILP32] 1/5 Initial support - configury changes

2013-09-18 Thread Andreas Schwab
Yufeng Zhang writes: > (ASM_SPEC): Update to also substitute -mabi. You should check that the assembler actually understands that option. Currently it is impossible to build an aarch64-linux compiler with binutils from the binutils-2_23 branch. Andreas. -- Andreas Schwab, SUSE L

Re: [PATCH] Handle loops with control flow in loop-distribution

2013-09-17 Thread Andreas Schwab
-ssa/ldist-22.c @@ -25,7 +25,7 @@ int main() abort (); if (a[0] != 0 || a[101] != 0) abort (); - return; + return 0; } /* { dg-final { scan-tree-dump "generated memset zero" "ldist" } } */ -- 1.8.4 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fin

[PATCH] Remove empty node (gccint)Cond Exec Macros

2013-09-16 Thread Andreas Schwab
ibing Relative Costs of Operations @cindex costs of instructions -- 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, committed] Support lambda templates.

2013-09-13 Thread Andreas Schwab
compiler error: tree check: expected call_expr, have target_expr in maybe_add_lambda_conv_op, at cp/lambda.c:895 0xc8e2aa tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/tree.c:9207 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint

Re: [PATCH, committed] Support using 'auto' in a function parameter list to introduce an implicit template parameter.

2013-09-13 Thread Andreas Schwab
FAIL: g++.dg/cpp0x/auto3.C -std=c++11 (test for errors, line 24) FAIL: g++.dg/cpp0x/auto3.C -std=c++11 (test for excess errors) Excess errors: : error: use of 'auto' in parameter declaration only available with -\ std=c++1y or -std=gnu++1y Andreas. -- Andreas Schwab, sch...@linux-m6

Re: Fix missed propagation opportunity in DOM

2013-09-07 Thread Andreas Schwab
Jeff Law writes: > +2013-09-06 Jeff Law > + > + * tree-ssa-dom.c (cprop_into_successor_phis): Also propagate > + edge implied equivalences into successor phis. This is causing bootstrap miscompare (in gcc/compare-elim.o) on ia64. Andreas. -- Andreas Schwab, sch...@li

Re: [PATCH] Convert more passes to new dump framework

2013-08-30 Thread Andreas Schwab
rn ret; > +} > +static inline int foo(void) { return leaf(); } /* { dg-message "note: > leaf .*inlined into bar .*via inline instance foo.*\n" } */ I don't see that message, neither on ia64 nor m68k. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint

[PATCH] Properly install dummy libgcc_bc library

2013-08-14 Thread Andreas Schwab
FLAGS) \ + $(libgcj_bc_la_OBJECTS) $(libgcj_bc_la_LIBADD) $(LIBS) + ## Note that property_files is defined in sources.am. propertyo_files = $(patsubst classpath/resource/%,%,$(addsuffix .lo,$(property_files))) -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9

Re: [Patch] Whole regex refactoring and current status

2013-08-08 Thread Andreas Schwab
Paolo Carlini writes: > In my humble opinion involving the whole std::bitset container for a > syntax option is way overkill. It's already used for match_flag_type anyway. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 174

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-07 Thread Andreas Schwab
:1: error: unknown type name 'namespace' namespace gcc { ^ /usr/local/gcc/gcc-20130807/gcc/coretypes.h:174:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token namespace gcc { ^ make

Re: [x86, PATCH] More effecient code for short unsigned conversion to float-point.

2013-08-06 Thread Andreas Schwab
Yuri Rumyantsev writes: > * config/i386/i386.md (floatunssi2 expand): Add support > for QI/HImode operand to produce more effecient code for s/effecient/efficient/ Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EE

Re: [testsuite, Android] Add to pr56407.c

2013-08-06 Thread Andreas Schwab
e to declare the function and use it without including its associated header." 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: Testsuite tweaks for the SPARC

2013-07-28 Thread Andreas Schwab
Eric Botcazou writes: > At least bb-slp-32.c now passes, so the overall number of failures > hasn't increased. :-) It's still an XFAIL, though. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "

Re: Testsuite tweaks for the SPARC

2013-07-27 Thread Andreas Schwab
p" 2 "vect" { target { > ! vect_pack_trunc } } } } */ > /* { dg-final { cleanup-tree-dump "vect" } } */ That doesn't work on ia64. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] Fix illegal cast to rtx (*insn_gen_fn) (rtx, ...)

2013-07-11 Thread Andreas Schwab
Stefan Kristiansson writes: > You mean something like this? Yes, that's what I had in mind. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

[PATCH] Define _REENTRANT with -pthread on aarch64-linux

2013-07-10 Thread Andreas Schwab
\ %{shared:-shared} \ -- 1.8.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH] Fix illegal cast to rtx (*insn_gen_fn) (rtx, ...)

2013-07-10 Thread Andreas Schwab
_DESIGNATED_UNION_INITIALIZERS. All function pointers are alike, so it should be good enough to cast on assignment and use the right alternative on call. 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 PR57584

2013-06-21 Thread Andreas Schwab
Richard Biener writes: > + register const void **jump_table asm ("r12"); That can't work. 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] Improve folding of bitwise ops feeding conditionals for single bit types

2013-06-20 Thread Andreas Schwab
Replaced '_6 == 0' with 'code_5(D) != 22' 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."

<    7   8   9   10   11   12   13   14   15   >