Re: [PATCH] Fix incorrect discriminator assignment.

2013-05-30 Thread Andreas Schwab
ator.c scan-assembler loc [0-9] 11 [0-9]( is_stmt [0-9])? discriminator 1\n 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: RFA: fix rtl-optimization/56833

2013-05-28 Thread Andreas Schwab
/Build/gcc/testsuite/gcc/920501-6.x1 child process exited abnormally FAIL: gcc.c-torture/execute/920501-6.c execution, -O1 old: 1f0: 4282clrl %d2 1f2: 263c 498f 0a91 movel #123421,%d3 new: 1f0: 143c ff91 moveb #-111,%d2 This is generating the constant 12342

Re: Partial fix for PR opt/55177

2013-05-25 Thread Andreas Schwab
ndreas. -- 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] More accurate location for conditional expressions

2013-05-22 Thread Andreas Schwab
ret_val, ftree, tf_warning_or_error); ^ ../../gcc/objc/objc-next-runtime-abi-02.c:1642:83: error: cannot convert 'tsubst_flags' to 'tree' for argument '4' to 'tree_node* build_conditional_expr(location_t, tree, tree, tree, tsubst_flags_t)' make[3]: *** [objcp/objc-

Re: [patch] install host specific {bits,ext}/opt_random.h headers in host specific c++ incdir

2013-05-19 Thread Andreas Schwab
for excess errors) ext/von_mises_distribution/requirements/explicit_instantiation/1.cc (test for excess errors) ext/von_mises_distribution/requirements/typedefs.cc (test for excess errors) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5

Fix rot[hq]i3+1 patterns in m68k backend

2013-05-15 Thread Andreas Schwab
:QI 1 "general_operand" "dI")))] "!TARGET_COLDFIRE" { - if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 4) + if (GET_CODE (operands[1]) == CONST_INT && INTVAL (operands[1]) >= 4) { - operands[2] = GEN_INT (8 - INTVAL (operands[2])); -

Re: RFC: PATCH to avoid linking multiple front ends at once with parallel make

2013-05-15 Thread Andreas Schwab
Alexandre Oliva writes: > constructs as 'rm ; (exit $status); exit', but I won't even pretend > to recall the rationale for that ;-) See the autoconf manual. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 174

Re: Trivial testsuite fix

2013-04-29 Thread Andreas Schwab
Jeff Law writes: > commit 07373396d21b65f975c2354e7c6ab454200b40af > Author: Jeff Law You should set the author accordingly. 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++11][4.9] Add missing REDUC_PLUS_EXPR case to potential_constant_expression_1.

2013-04-23 Thread Andreas Schwab
t_d *const_gimple; typedef gimple gimple_seq; struct gimple_stmt_iterator_d; -typedef gimple_stmt_iterator_d gimple_stmt_iterator; +typedef struct gimple_stmt_iterator_d gimple_stmt_iterator; union section; typedef union section section; struct gcc_options; -- Andreas Schwab, sch...@linux-m68k.

Re: [PATCH] Fix PR56982, handle setjmp like non-local labels

2013-04-20 Thread Andreas Schwab
ror=maybe-uninitialized] getcontext(&gp->context); ^ 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 linking with -findirect-dispatch

2013-04-17 Thread Andreas Schwab
Bryce McKinlay writes: > It certainly _did_ work as intended previously. Only by chance, when libtool has to relink the library during install. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And

Re: [PATCH] Fix linking with -findirect-dispatch

2013-04-16 Thread Andreas Schwab
Jakub Jelinek writes: > Both libraries are actually intended to be installed, not just one. No, the other library is never installed, but generated on the fly. See . Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4

Re: [PATCH] Fix linking with -findirect-dispatch

2013-04-16 Thread Andreas Schwab
= $(patsubst classpath/resource/%,%,$(addsuffix .lo,$(property_files))) -- 1.8.2.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] Fix linking with -findirect-dispatch

2013-04-16 Thread Andreas Schwab
$(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1; \ $(LN_S) libgcj_bc.so.1.0.0 $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1; \ rm $(DESTDIR)$(toolexeclibdir)/libgcj_bc.la; endif Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 8

Re: [PATCH] Fix linking with -findirect-dispatch

2013-04-16 Thread Andreas Schwab
Jakub Jelinek writes: > $ readelf -Wa libjava/.libs/libgcj_bc.so That's not the installed library. 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 linking with -findirect-dispatch

2013-04-16 Thread Andreas Schwab
cj.so.N. But the dummy libgcj_bc.so doesn't define _Jv_MonitorExit, or any other relevant symbol. > If this is caused by some recent broken linker change, then that should be > better reverted. It has been this way since almost two years. Andreas. -- Andreas Schwab, SUSE Labs, sch...

Re: [PATCH] Fix linking with -findirect-dispatch

2013-04-16 Thread Andreas Schwab
Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH] Fix linking with -findirect-dispatch

2013-04-16 Thread Andreas Schwab
e in the build directory. 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] Fix linking with -findirect-dispatch

2013-04-16 Thread Andreas Schwab
ec_lgcj_override" != x ; then LIBGCJ_SPEC_LGCJ=$libgcj_spec_lgcj_override fi -- 1.8.2.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] Enable java for aarch64

2013-04-15 Thread Andreas Schwab
eas. -- 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] Enable java for aarch64

2013-04-13 Thread Andreas Schwab
nize(); +} + +// Ensure that prior stores to memory are completed with respect to other +// processors. +inline static void +write_barrier() +{ + __sync_synchronize(); +} +#endif -- 1.8.2.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: C: Add new warning -Wunprototyped-calls

2013-04-08 Thread Andreas Schwab
Richard Biener writes: > On Mon, Apr 8, 2013 at 3:05 PM, Andreas Schwab wrote: >> Richard Biener writes: >> >>> when a "real prototype" was visible >> >> How is that different from a prototype? > > It's different from the case where

Re: C: Add new warning -Wunprototyped-calls

2013-04-08 Thread Andreas Schwab
Richard Biener writes: > when a "real prototype" was visible How is that different from a prototype? 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: Add new warning -Wunprototyped-calls

2013-04-06 Thread Andreas Schwab
Tobias Burnus writes: > gcc.dg/Wunprototyped-calls.c:13:3: warning: call to function ‘g’ without a > real prototype [-Wunprototyped-calls] What is a real prototype? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED

Re: [patch testsuite]: Fix some tests for LLP64 targets

2013-03-07 Thread Andreas Schwab
__UINTPTR_TYPE__ uintptr_t; int cpu (void *attr) {} const uintptr_t x __attribute__((section("foo"))) = (uintptr_t)&cpu; -const uintptr g __attribute__((section("foo"))) = 0; +const uintptr_t g __attribute__((section("foo"))) = 0; -- 1.8.1.5 -- Andreas Schwab,

Re: [v3] Filter out basever symbols on Solaris

2013-02-26 Thread Andreas Schwab
#x27; |\ >egrep -v ' (LOCAL|UND) ' |\ > + egrep -v > '(_DYNAMIC|_GLOBAL_OFFSET_TABLE_|_PROCEDURE_LINKAGE_TABLE_|_edata|_end|_etext)$' > |\ Shouldn't the regexp also be anchored (with a space) at the beginning? Andreas. -- Andreas Schwab, SUSE Labs, sch.

Re: Fix some texinfo 5.0 warnings in gcc/doc + libiberty

2013-02-21 Thread Andreas Schwab
s.texi +++ b/libiberty/obstacks.texi @@ -1,4 +1,4 @@ -@node Obstacks,Licenses,Functions,Top +@node Obstacks @chapter Obstacks @cindex obstacks 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] Multiversioning fixes (PR c++/55742, take 2)

2013-02-13 Thread Andreas Schwab
warning: target attribute is not supported on this machine [-Wattributes] /daten/aranym/gcc/gcc-20130213/gcc/testsuite/g++.dg/ext/mv12-aux.C:8:10: warning: target attribute is not supported on this machine [-Wattributes] Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196

Re: Go testsuite patch committed: Load timeout.exp

2013-02-09 Thread Andreas Schwab
Ian Lance Taylor writes: > 2013-02-08 Ian Lance Taylor > > * lib/go.exp: Load timeout.exp. ERROR: Couldn't find library file timeout.exp. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "An

Re: libgo patch committed: Use DejaGNU when testing a cross-compiler

2013-02-07 Thread Andreas Schwab
s is a target library, so you need to check build != host to detect building with a cross-compiler. 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] clean up convoluted dg-final directive in vect-multitypes-12.c

2013-01-24 Thread Andreas Schwab
target_selector [string range $selector 0 $xfail_index-1] + set target_selector [string range $selector 0 [expr $xfail_index-1]] set target_selector [string trim $target_selector] if { [dg-process-target-1 $target_selector] == "N" } { retur

Re: [PING][PATCH, ARM, iWMMXT] Fix define_constants for WCGR

2013-01-22 Thread Andreas Schwab
Ramana Radhakrishnan writes: > The patch by itself is OK but surprisingly I never saw this earlier. Your > ping has removed the date from the original post so I couldn't track it > down. You can follow the references and look up the message-id via http://mid.gmane.org/. Andreas

Re: [PATCH] Fix complex lowering with inline asm (PR tree-optimization/55921)

2013-01-11 Thread Andreas Schwab
has impossible constraints OK? This still triggers the original bug. Andreas. 2013-01-11 Andreas Schwab * gcc.c-torture/compile/pr55921.c: Don't use matching constraints. diff --git a/gcc/testsuite/gcc.c-torture/compile/pr55921.c b/gcc/testsuite/gcc.c-torture/compile/pr55921

Re: [PR54693] loss of debug info in jump threading and loop ivopts

2013-01-09 Thread Andreas Schwab
st 22 "i" "c - 48" } } */ } + arr[10] = 0; __builtin_printf ("arr = %s\n", arr); return 0; -- 1.8.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: [Bug bootstrap/53607] opt-functions.awk --> "awk: There is a regular expression error."

2013-01-06 Thread Andreas Schwab
flags) > + sub ("^\{", "", flags) > sub("}\\).*", "", flags) You need to escape the backslash inside a string. 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, libfortran] Improve performance of byte swapped IO

2013-01-04 Thread Andreas Schwab
izeof (u32)); > + u32 = __builtin_bswap32 (u32); > + m4 = *(GFC_INTEGER_4*)&u32; Isn't that an aliasing violation? 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: Use libstdc++-raw-cxx.m4 in libjava

2013-01-04 Thread Andreas Schwab
"H.J. Lu" writes: > On Thu, Jan 3, 2013 at 10:09 AM, Andreas Schwab wrote: >> "H.J. Lu" writes: >> >>> diff --git a/libjava/Makefile.am b/libjava/Makefile.am >>> index c6c84e4..dd08a4f 100644 >>> --- a/libjava/

Re: Use libstdc++-raw-cxx.m4 in libjava

2013-01-03 Thread Andreas Schwab
th $(toolexeclibdir) $(LIBJAVA_LDFLAGS_NOUNDEF) \ > -version-info `grep -v '^\#' $(srcdir)/libtool-version` > $(LIBGCJ_LD_SYMBOLIC) It is still wrong to use LDFLAGS for libraries to be linked in. All of $(LIBSTDCXX_RAW_CXX_LIBADD) @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@

Re: Use libstdc++-raw-cxx.m4 in libjava

2013-01-02 Thread Andreas Schwab
t;> + LIBSTDCXX_RAW_CXX_LDFLAGS="\ >> +-I\$(top_builddir)/../libstdc++-v3/src/libstdc++.la" > > -I/libstdc++-v3/src/libstdc++.la ? That can't be right, libstdc++.la > is not a directory containing header files. And a library shouldn't be put on LDFLA

Re: Clean-up: Remove remaining pieces of kaos configuration

2012-12-29 Thread Andreas Schwab
u...@kaos-group.de writes: > Index: config.sub Patches for config.sub must be submitted to . 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, libffi] libffi merge

2012-12-27 Thread Andreas Schwab
srcdir/../../gcc/testsuite/lib/$filename +load_file $srcdir/lib/$filename } load_lib dg.exp 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] Function Multiversioning Bug, checking for function versions

2012-12-27 Thread Andreas Schwab
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 148388d..575e03a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,7 @@ -<<<<<<< .mine +2012-12-27 Andreas Schwab + + * target.def (supports_function_versions): Fix typo. + 2012-12-26 Sriraman Tallam

Re: [PATCH] Fix PR54659, include gmp.h from system.h

2012-12-22 Thread Andreas Schwab
Richard Biener writes: > On Sat, Dec 22, 2012 at 10:49 AM, Andreas Schwab > wrote: >> Richard Biener writes: >> >>> (I suppose somehow gmp.h is pulled in configure tests?) >> >> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ >> #include "ansidecl.h&quo

Re: [PATCH] Fix PR54659, include gmp.h from system.h

2012-12-22 Thread Andreas Schwab
e to `long' if doesn't define.])]) 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] PR go/55201: Link libgo against libatomic

2012-12-17 Thread Andreas Schwab
}"; \ + LD_LIBRARY_PATH="`${PWD_COMMAND}`/.libs:`${PWD_COMMAND}`/../libatomic/.libs:$${libgccdir}:${LD_LIBRARY_PATH}"; \ LD_LIBRARY_PATH=`echo $${LD_LIBRARY_PATH} | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; \ export LD_LIBRARY_PATH; \ $(MKDIR_P) $(@D); \ -- 1.8.0.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] Fix PR55079

2012-12-12 Thread Andreas Schwab
Richard Biener writes: > * gcc.dg/tree-ssa/ssa-pre-1.c: Adjust. This was missing in your commit. 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."

Fix scan-assembler in libstdc++ testsuite

2012-12-09 Thread Andreas Schwab
unset_timeout_vars + if [info exists testname_with_flags] { + unset testname_with_flags + } } } -- 1.8.0.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: Bootstrap broken on powerpc64-unknown-linux-gnu "aliased to undefined symbol" (in definition of macro '_GLIBCXX_LDBL_COMPAT')

2012-12-04 Thread Andreas Schwab
ONG_DOUBLE_COMPAT[ ]/d' \ < ${CONFIG_HEADER} >> $@ ;\ echo "" >> $@ ;\ echo "#endif // _GLIBCXX_CXX_CONFIG_H" >> $@ -- 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: PR 55438: Incorrect use of BIGGEST_ALIGNMENT

2012-11-26 Thread Andreas Schwab
Eric Botcazou writes: > We could conceivably have an aligned mode with bitsize 32 and alignment 16 > (i.e. STRICT_ALIGNMENT 1 and BIGGEST_ALIGNMENT 16), meaning that we can use > 16-bit aligned 32-bit chunks in this mode. That's actually what m68k traditionally had. Andreas

Re: [patch] [m68k] add multiarch definitions for m68k-linux-gnu

2012-11-21 Thread Andreas Schwab
Matthias Klose writes: > 2012-11-14 Matthias Klose > > * config/m68k/t-linux: Define MULTIARCH_DIRNAME for classic m68k. Ok, thanks. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now

Re: Sparc ASAN

2012-11-21 Thread Andreas Schwab
Andrew Pinski writes: > Just to follow up, MIPS64 have the following (selectable at kernel > compile time) page sizes: > 4k, 8k, 16k, 32k and 64k. So is another target where the page size is > not constant just like PPC. As does ia64 (common page sizes are 16k and 64k). Andreas.

Re: [PATCH] Fix sanitizer build on sparc64.

2012-11-21 Thread Andreas Schwab
Konstantin Serebryany writes: > libsanitizer is a third party library, its primary repository is not gcc. _LP64 is also defined by other compilers. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And

Re: [PATCH] Fix sanitizer build on sparc64.

2012-11-21 Thread Andreas Schwab
Konstantin Serebryany writes: > On Wed, Nov 21, 2012 at 2:50 AM, Andreas Schwab wrote: >> David Miller writes: >> >>> +// Are we using 32-bit or 64-bit syscalls? >>> +// x32 (which defines __x86_64__) has __WORDSIZE == 32 >>> +// but it still need

Re: [PATCH] Fix sanitizer build on sparc64.

2012-11-20 Thread Andreas Schwab
macro. How about __LP64__? 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] Enable libsanitizer just on x86 linux for now

2012-11-13 Thread Andreas Schwab
Dodji Seketeli writes: > I guess The build can be enabled on other targets when they are ready. How to test that? There doesn't seem to be a testsuite included. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4

[PATCH] Remove whitespace inside

2012-11-11 Thread Andreas Schwab
--- a/libstdc++-v3/doc/xml/spine.xml +++ b/libstdc++-v3/doc/xml/spine.xml @@ -6,15 +6,9 @@ - - ISO C++ - - - runtime - - - library - +ISO C++ +runtime +library Short Contents -- Andreas Schwab, sch...@linux-m68k.org GPG Key

[PATCH] Check more places for local stylesheet directory

2012-11-11 Thread Andreas Schwab
k-xsl-ns fi + if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then +glibcxx_local_stylesheets=yes +XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current + fi fi AC_MSG_RESULT($glibcxx_local_stylesheets) -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerpr

[PATCH] Fix final_scan_insn to handle all comparisons in non-jump and cmove insn

2012-11-03 Thread Andreas Schwab
("" : "+m" (x)); + check_int (__builtin_isgreater (x, 1.0), 0); + check_int (__builtin_isgreaterequal (x, 1.0), 0); + check_int (__builtin_isless (x, 1.0), 1); + check_int (__builtin_islessequal (x, 1.0), 1); + check_int (__builtin_islessgreater (x, 1.0), 1); + return exit_code

Re: [wwwdocs,Java] Use https for redhat.com.

2012-11-02 Thread Andreas Schwab
Gerald Pfeifer writes: > Like some other domains, redhat.com now defaults to http, so this > adjusts the link. Are you sure it's not something on your side? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 &

Re: [Patch] Update libquadmath from GLIBC

2012-10-31 Thread Andreas Schwab
LD_COMPLEX(real, imag) \ > - ({ __complex__ FLOAT __retval; \ > + ({ COMPLEX __retval; \ Wouldn't it make sense for the compiler to support __complex__ __float128? Andreas. -- Andreas Schwab, sch...@linux-m68k.org

Re: [wwwdocs] gcc-4.8/changes.html markup consistency

2012-10-28 Thread Andreas Schwab
uction in normal functions, as proposed in -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Fix use of @item vs. @itemx inside @table

2012-10-28 Thread Andreas Schwab
all.cross +@item all.cross @itemx start.encap @itemx rest.encap FIXME: exactly what goes in each of these targets? -- 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."

Move @end to own line

2012-10-28 Thread Andreas Schwab
disables this optimization. @end deftypevr +is zero, which disables this optimization. +@end deftypevr @hook TARGET_MEMMODEL_CHECK Validate target specific memory model mask bits. When NULL no target specific -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B

Re: Ping / update: RFA: replace #ifdef with if/#if for HAVE_ATTR_*

2012-10-28 Thread Andreas Schwab
ride them in > tm.c: Typo: s/:$/./, also @file{tm.c}. 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, fortran] PR 54833 Don't wrap calls to free(a) in if (a != NULL)

2012-10-27 Thread Andreas Schwab
Steven Bosscher writes: > On Sat, Oct 27, 2012 at 7:41 PM, Andreas Schwab wrote: >> How does a (rougly) equivalent C case look like? > > Usually something can be constructed from the -fdump-tree-gimple dump. Doesn't look like. Andreas. -- Andreas Schwab, sch...@li

Re: [patch, fortran] PR 54833 Don't wrap calls to free(a) in if (a != NULL)

2012-10-27 Thread Andreas Schwab
Thomas Koenig writes: > Does not happen on the architectures that I used, and I do not > have access to that architecture. A cross compiler is enough. > Does a (rougly) equivalent C case compile? How does a (rougly) equivalent C case look like? Andreas. -- Andreas Schwab, sch

Re: [patch, fortran] PR 54833 Don't wrap calls to free(a) in if (a != NULL)

2012-10-27 Thread Andreas Schwab
04ee1db rest_of_handle_postreload ../../gcc/gcc/postreload.c:2289 0x104ee1db rest_of_handle_postreload ../../gcc/gcc/postreload.c:2283 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* [patch, fortran] Handle -Wextra, -fcompare-reals is implied with -Wextra

2012-10-26 Thread Andreas Schwab
vert (pvoid_type_node, pointer)); > + return tmp; > +} > + >cond = fold_build2_loc (input_location, EQ_EXPR, boolean_type_node, > pointer, > build_int_cst (TREE_TYPE (pointer), 0)); > What's 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: [m68k] Fix option handling for -m68020-40 and -m68020-60

2012-10-26 Thread Andreas Schwab
Gunther Nikl writes: > The patch should be installed on trunk and on the 4.7 branch. Thanks, done. The 4.7 branch required some adjustment, since it's not compiled as C++. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 2

Re: libgo patch committed: Update to current Go library

2012-10-24 Thread Andreas Schwab
Uros Bizjak writes: > Yes, I am running under gdb and all FDs are offset by +4 for some > reason. So, FD 8 corresponds to FD4 in the strace log. This is normal, gdb is leaking some fds to the inferior (which is a bug). Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key finge

Re: libgo patch committed: Update to current Go library

2012-10-24 Thread Andreas Schwab
escriptor. FD 4 is most likely closed by one of the cloned threads. Use strace -f to follow them. 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: [m68k] Fix option handling for -m68020-40 and -m68020-60

2012-10-23 Thread Andreas Schwab
Gunther Nikl writes: > While working with GCC 4.7, I noticed that the -m68020-40 and -m68020-60 > options are broken. Broken in which way? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now fo

Re: Committed: fix gcc.dg/webizer.c (the trivial part :)

2012-10-21 Thread Andreas Schwab
Hans-Peter Nilsson writes: > I used __builtin_exit just to avoid declarations or includes; A "return 0" would have worked just as well. 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: encoding all aliases options in .opt files

2012-10-14 Thread Andreas Schwab
Manuel López-Ibáñez writes: > aux-infoFILE /* we could accept this to be compatible with some > options like -B */ Concatenated option arguments (without separators like '=' or '-') should only ever be used for single character options. Andreas. -- Andreas Schwab,

Re: [PATCH] Fix gcov handling directories with periods

2012-10-13 Thread Andreas Schwab
)’: ../../gcc/libcpp/../include/libiberty.h:123:31: error: declaration of C function ‘char* lbasename(char*)’ conflicts with ../../gcc/libcpp/../include/libiberty.h:121:20: error: previous declaration ‘const char* lbasename(const char*)’ here Andreas. -- Andreas Schwab, sch...@linux-m68k.org

Re: [PATCH] Fix gcov handling directories with periods

2012-10-13 Thread Andreas Schwab
d the non-const version. 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] Fix gcov handling directories with periods

2012-10-13 Thread Andreas Schwab
@@ -842,7 +842,7 @@ create_file_names (const char *file_name) } /* Remove the extension. */ - cptr = strrchr (name, '.'); + cptr = strrchr (CONST_CAST (char *, lbasename (name)), '.'); if (cptr) *cptr = 0; -- 1.7.12.3 -- Andreas Schwab, sch...@li

Re: [PATCH] PR 53528 c++/ C++11 Generalized Attribute support

2012-10-12 Thread Andreas Schwab
f (b) should be 16"); - static_assert (__alignof__ (aa) == 4, "alignof (aa) should be 4"); + static_assert (__alignof__ (aa) <= 4, "alignof (aa) should be <=4"); static_assert (__alignof__ (bb) == 16, "alignof (bb) should be 16"); } -- 1.7.12.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: libgo patch committed: Use libbacktrace

2012-10-07 Thread Andreas Schwab
tr_t pc, uintptr_t *val) { *val = 0; backtrace_syminfo (__go_get_backtrace_state (), pc, syminfo_callback, -error_callback, &val); +error_callback, val); return *val != 0; } Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key finger

[m68k] Remove anddi3, iordi3, xordi3, one_cmpldi2 patterns

2012-10-06 Thread Andreas Schwab
tructions -;; "one_cmpldi2" is mainly here to help combine(). -(define_insn "one_cmpldi2" - [(set (match_operand:DI 0 "nonimmediate_operand" "=dm") - (not:DI (match_operand:DI 1 "general_operand" "0")))] - "!TARGET_COLDFIRE" -{ - CC_STATUS_INIT; - if (GET_CODE (operands[0]) == REG) -operands[1] = gen_rtx_REG (SImode, REGNO (operands[0]) + 1); - else if (GET_CODE (XEXP (operands[0], 0)) == POST_INC -|| GET_CODE (XEXP (operands[0], 0)) == PRE_DEC) -operands[1] = operands[0]; - else -operands[1] = adjust_address (operands[0], SImode, 4); - return "not%.l %1\;not%.l %0"; -}) - (define_expand "one_cmplsi2" [(set (match_operand:SI 0 "nonimmediate_operand" "") (not:SI (match_operand:SI 1 "general_operand" "")))] -- 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 v2, libbacktrace]: Compile with -funwind-tables

2012-10-02 Thread Andreas Schwab
[_AC_ARG_VAR_PRECIOUS]) > > +if test "x$GCC" = "xyes"; then > + CFLAGS="$CFLAGS -funwind-tables" > +fi > + Don't modify CFLAGS, instead you should substitute a new variable that is added to AM_CFLAGS. CFLAGS is reserved for the user to override.

[m68k] Cleanup bitfield insns

2012-09-30 Thread Andreas Schwab
uot; "bfexts %1{%b3:%b2},%0") -(define_insn "" +(define_insn "*extv_bfextu_reg" [(set (match_operand:SI 0 "nonimmediate_operand" "=d") (zero_extract:SI (match_operand:SI 1 "register_operand" "d")

[PATCH] Update line numbers in testsuite

2012-09-30 Thread Andreas Schwab
U00e1'" "UCN diag" { target *-*-* } 14 } */ +/* { dg-warning "near initialization for 'U00e9\\.U00e1'" "UCN diag" { target *-*-* } 15 } */ -- 1.7.12.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, libbacktrace]: Fix compilation on CentOS 5.8

2012-09-18 Thread Andreas Schwab
ing sysconf(_SC_PAGESIZE). 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] Implement ctz and clrsb standard patterns

2012-09-18 Thread Andreas Schwab
3) ; Used in aarch64-simd.md. > (UNSPEC_FMAX 83) ; Used in aarch64-simd.md. > (UNSPEC_FMIN 84) ; Used in aarch64-simd.md. > +(UNSPEC_CLS 85) ; Used in aarch64-simd.md. > +(UNSPEC_RBIT 86) ; Used in aarch64-simd.md. The comment doesn't appear t

Re: Change double_int calls to new interface.

2012-09-11 Thread Andreas Schwab
Werror=overflow] This is PR54528. 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] Use -lgcc in libgcc_so linker script

2012-09-09 Thread Andreas Schwab
uot; the static library. */"; \ -echo "GROUP ( $(SHLIB_SONAME) libgcc.a )" \ +echo "GROUP ( $(SHLIB_SONAME) -lgcc )" \ ) > $(SHLIB_DIR)/$(SHLIB_SOLINK) SHLIB_INSTALL_SOLINK = \ $(INSTALL_DATA) $(SHLIB_DIR)/$(SHLIB_SOLINK) \ -- 1.7.12 -- Andreas Sch

Re: [PATCH, M68K] Fix ICE from scheduler improvement

2012-09-05 Thread Andreas Schwab
Maxim Kuvyrkov writes: > No. This hunk makes m68k scheduling support pick up the new state. Can you reformulate the comment to clarify that? Ok with that change. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 &

Re: [PATCH, M68K] Fix ICE from scheduler improvement

2012-09-04 Thread Andreas Schwab
++sched_ib.filled; > + } The comment appears to suggest that this is rather a workaround for a deficiency elsewhere. Is that true? 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: Merge C++ conversion into trunk (6/6 - gdb tree macro support)

2012-08-27 Thread Andreas Schwab
nd the 'skip' command. -skip "tree.h" +skip file tree.h -- 1.7.12 -- 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] Fix m68k __sync_lock_test_and_set_1 definition

2012-08-17 Thread Andreas Schwab
ldval) -SUBWORD_SYNC_OP (test_and_set, , COMMA, unsigned short, 1, oldval) +SUBWORD_SYNC_OP (test_and_set, , COMMA, unsigned char, 1, oldval) SUBWORD_SYNC_OP (test_and_set, , COMMA, unsigned short, 2, oldval) -- 1.7.11.5 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53

Re: RFA: Support infinity, NaN, and denormalized numbers in floatformat.c

2012-08-16 Thread Andreas Schwab
- exponent -= mant_bits; + dto += ldexp ((double) mant, exponent - mant_bits); + exponent -= mant_bits; mant_off += mant_bits; mant_bits_left -= mant_bits; } @@ -756,6 +745,7 @@ main (void) { ieee_test (0.0); ieee_test (0.5); + ieee_test (1.1); ieee_test (256.0

Re: Merge C++ conversion into trunk (6/6 - gdb tree macro support)

2012-08-12 Thread Andreas Schwab
to the current gdb release. Older versions will bail out at this point, so it should be moved down to the end of the file. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Fix reading real(kind=10) numbers

2012-07-25 Thread Andreas Schwab
temporary if needed. */ if (dtp->u.p.repeat_count > 0) - memcpy (dtp->u.p.value, p, kind); + memcpy (dtp->u.p.value, p, size); break; case BT_COMPLEX: read_complex (dtp, p, kind, size); -- 1.7.11.3 -- Andreas Schwab, sch...@linux-m68k.org GPG Key

Re: [Patch, Fortran] Add parsing support for assumed-rank array

2012-07-20 Thread Andreas Schwab
/fortran/trans-expr.c: In function ‘gfc_conv_derived_to_class’: ../../gcc/gcc/fortran/trans-expr.c:311:165: warning: passing argument 4 of ‘class_array_data_assign’ makes integer from pointer without a cast [enabled by default] ../../gcc/gcc/fortran/trans-expr.c:206:1: note: expected ‘unsigned char’ but argument is of

Re: [testsuite] Allow for / comments in g++.dg/debug/dwarf2/pubnames-2.C

2012-07-15 Thread Andreas Schwab
uot; } } -// { dg-final { scan-assembler "\"double0\"+\[ \t\]+\[#;/]+\[ \t\]+external name" } } -// { dg-final { scan-assembler "\"two::c20\"+\[ \t\]+\[#;/]+\[ \t\]+external name" } } -// { dg-final { scan-assembler "\"two::c20\"+\

Re: [PATCH 1/6] Thread pointer built-in functions, core parts

2012-07-13 Thread Andreas Schwab
sorry ("%qs is not available for this target", > "__builtin_set_thread_pointer()"); > > instead. I'm no expert on the diagnostic stuff though. The function name should not be followed by parens. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58C

Re: PR 51094 - fprint_w() in output_addr_const() reinstated

2012-07-12 Thread Andreas Schwab
D(b) (((b) * 146 + 484) / 485) 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: [testsuite] Allow for / comments in g++.dg/debug/dwarf2/pubnames-2.C

2012-07-11 Thread Andreas Schwab
scans the assembler output? > * g++.dg/debug/dwarf2/pubnames-2.C: Allow for / comments. Please also add | for m68k and @ for arm. Don't you want ! as well? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "

Re: [PATCH] Fix breakage for m68k-linux introduced by 4a020a8 / r189359

2012-07-11 Thread Andreas Schwab
This is already fixed. 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."

<    8   9   10   11   12   13   14   >