Re: [PATCH] Simplify a VEC_SELECT fed by its own inverse

2014-06-02 Thread Andreas Schwab
werpc_vsx_ok } */ -/* { dg-options "-O1" } */ +/* { dg-options "-O1 -mvsx" } */ /* { dg-final { scan-assembler "lxvd2x" } } */ /* { dg-final { scan-assembler "stxvd2x" } } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ -- 2.0.0 --

Re: [PATCH, PR 61391]

2014-06-04 Thread Andreas Schwab
Yuri Rumyantsev writes: > Property changes on: testsuite/gcc.dg/torture/pr61391.c > ___ > Added: svn:executable Don't make the file executable. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fing

Re: C++ PATCH for c++/61382 (init-list evaluation order)

2014-06-05 Thread Andreas Schwab
@@ extern "C" int printf (const char *, ...); int main() { - int i; + int i = 0; A a{i++,i++}; if (a.i != 0 || a.j != 1) __builtin_abort(); -- 2.0.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 &q

Re: [PATCH] Add support for OpenMP fortran user defined reductions

2014-06-07 Thread Andreas Schwab
efined" } > +!$omp declare reduction (+:complex(kind=16):omp_out = omp_out + omp_in) ! { > dg-error "Redefinition of predefined" } udr6.f90:17:42: Error: Kind 16 not supported for type COMPLEX at (1) udr6.f90:41:42: Error: Kind 16 not supported for type COMPLEX at (1) udr6.f

Re: [PATCH] Add support for OpenMP fortran user defined reductions

2014-06-07 Thread Andreas Schwab
Jakub Jelinek writes: > I thought complex(kind=16) is normal double _Complex, isn't it? No, that would be complex(kind=8). 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 1/6] Add FOR_EACH_INSN{_INFO}_{DEFS,USES,EQ_USES}

2014-06-16 Thread Andreas Schwab
be recycled, and you use a stale pointer. Since insn_info is a local variable, it cannot reflect that fact. 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: breakage with "[PATCH 1/6] Add FOR_EACH_INSN{_INFO}_{DEFS,USES,EQ_USES}"

2014-06-16 Thread Andreas Schwab
g, basic_block bb) /* If the inc insn was merged with a mem, the inc insn is gone and there is noting to update. */ - if (insn_info) + if (DF_INSN_UID_GET (uid)) { df_ref def, use; 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] PR54555: Use strict_low_part for loading a constant only if it is cheaper

2014-06-17 Thread Andreas Schwab
, &PATTERN (insn), +new_set, 0); + if (changed) + break; + } } } } -- 2.0.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE

Re: [PATCH] PR54555: Use strict_low_part for loading a constant only if it is cheaper

2014-06-18 Thread Andreas Schwab
small constants to + use move.b instead of moveq. */ +/* { dg-do compile } */ +/* { dg-options "-O2" } */ +/* { dg-final { scan-assembler-not "move\\.?b" } } */ + +void foo (void); +void bar (int a) +{ + if (a == 16 || a == 23) foo (); + if (a == -110 || a == -128) foo (

Formatting fixes for (gccint) Standard Names

2014-06-18 Thread Andreas Schwab
r_cache} instruction pattern @item @samp{clear_cache} - This pattern, if defined, flushes the instruction cache for a region of memory. The region is bounded to by the Pmode pointers in operand 0 inclusive and operand 1 exclusive. -- 2.0.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Ke

Re: Move DECL_INIT_PRIORITY/FINI_PRIORITY to symbol table

2014-06-21 Thread Andreas Schwab
uctor and destructor are miscompiled to unconditionally call abort. 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 1/2] Enable setting sign and unsigned promoted mode (SPR_SIGNED_AND_UNSIGNED)

2014-06-26 Thread Andreas Schwab
UNSIGNED_P (target)) > + != SUBREG_PROMOTED_GET (target) & SRP_UNSIGNED) & has lower precedence than !=. You should have got a warning that fails bootstrap. 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: [fortran, patch] IEEE intrinsic modules (ping)

2014-06-29 Thread Andreas Schwab
se.,.true.,.true.,.true.]) & + .or. all(flags .eqv. [.false.,.false.,.true.,.false.,.false.]) & + .or. all(flags .eqv. [.false.,.false.,.true.,.false.,.true.]))) call abort call ieee_get_rounding_mode(mode) if (mode /= ieee_to_zero) call abort call ieee_get

Re: C++ PATCH for c++/61659 (undefined symbol with devirtualization)

2014-07-01 Thread Andreas Schwab
Jason Merrill writes: > libstdc++-v3/ > * libsupc++/cxxabi.h (class __pbase_type_info): __pointer_catch > is pure, not inline. I'm getting this ABI change, is that OK? -FUNC:_ZNK10__cxxabiv117__pbase_type_info15__pointer_catchEPKS0_PPvj@@CXXABI_1.3 Andreas. --

[PATCH] Generate canonical infinity for the Motorola extended real format

2014-07-01 Thread Andreas Schwab
ity generated by the FPU. */ +intermed[1] = 0; + /* Motorola chips are assumed always to be big-endian. Also, the padding in a Motorola extended real goes between the exponent and the mantissa. At this point the mantissa is entirely within -- 2.0.1 -- Andreas Schwab, sch...@li

Re: Strenghten assumption about dynamic type changes (placement new)

2014-07-07 Thread Andreas Schwab
al/gcc/gcc-20140707/gcc/testsuite/g++.dg/ipa/pr61085.C:24 #7 main () at /usr/local/gcc/gcc-20140707/gcc/testsuite/g++.dg/ipa/pr61085.C:32 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: Strenghten assumption about dynamic type changes (placement new)

2014-07-07 Thread Andreas Schwab
p "fre1" } } */ > +/* We fold into thunk of C. Eventually we should inline the thunk. */ > +/* { dg-final { scan-tree-dump "C::_ZThn24_N1C3fooEi (" "einline" } } */ FAIL: g++.dg/ipa/imm-devirt-2.C -std=gnu++11 scan-tree-dump einline "C::_ZThn24_N1C

Re: [PATCH] Support vectorizing SLP with mixed plus/minus

2015-05-13 Thread Andreas Schwab
results. FAIL: gcc.dg/vect/vect-strided-a-mult.c execution test on both aarch64 and ia64. 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: Improve LTO type checking during symtab merging

2015-05-17 Thread Andreas Schwab
Jan Hubicka writes: > * gfortran.dg/lto/pr41576_1.f90: Add interface. > * gfortran.dg/lto/pr41521_0.f90: Disable lto-type-mismatch FAIL: gfortran.dg/lto/pr41521 f_lto_pr41521_0.o assemble, -g -O -flto -Wno-lto-type-mismatch FAIL: gfortran.dg/lto/pr41576 f_lto_pr41576_1.o assemble,

Re: check_GNU_style.sh: Don't cat empty file

2015-05-18 Thread Andreas Schwab
nd=true > + > +if $found; then cat $inp \ | egrep --color=always -- "$arg" \ > $tmp && { printf "\n$msg\n" cat $tmp } 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 to run autoconf tests with C++ compiler

2015-05-27 Thread Andreas Schwab
ther gcc supports -Wnarrowing configure:6502: g++ -std=c++98 -c -g conftest.cpp >&5 configure:6502: $? = 0 configure:6511: result: 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: [PATCH] microblaze-linux: add missing cpp specs

2015-05-27 Thread Andreas Schwab
TARGET_SUPPORTS_PIC 1 > > +#undef CPP_SPEC > +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" Should this be defined by a shared header? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EE

Re: [PATCH] Fix PR66142

2015-05-28 Thread Andreas Schwab
Richard Biener writes: > * gcc.dg/tree-ssa/ssa-fre-44.c: New testcase. On ia64: $ grep -c "return 3.0" ssa-fre-44.c.035t.fre1 3 $ tail ssa-fre-44.c.035t.fre1 _19 = _8->u.x; _23 = _8->u.y; f_24 = _19 + _23; bar (&p); p ={v} {CLOBBER}; return f_24; }

Re: Fwd: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option

2015-05-30 Thread Andreas Schwab
> +AC_SUBST([NO_PIE_FLAG]) > + That doesn't work with gcc 4.3: configure:28753: checking for -no-pie option configure:28764: g++ -std=c++98 -o conftest -g -no-pie conftest.cpp >&5 g++: unrecognized option '-no-pie' configure:28764: $? = 0 configure:28773: result: yes 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: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option

2015-05-30 Thread Andreas Schwab
"H.J. Lu" writes: > Starting GCC 4.6, the unrecognized option became an error. > Before 4.6, it was ignored. Does it cause any problems for > bootstrap? No, only spurious messages. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 9

Re: Fwd: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option

2015-05-30 Thread Andreas Schwab
a|mid-shared-library:--pcrel} \ That expands to a spurious --pcrel with -fno-PIE, causing the assembler to error out while compiling crtstuff if the compiler is configured with --enable-default-pie. 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: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option

2015-05-30 Thread Andreas Schwab
"H.J. Lu" writes: > There is no harm and the message is gone in stage 2 and 3, > We can treat it the same as other spurious messages from the > bootstrap compiler. But you still need to fix the first test, since it doesn't test anything. Andreas. -- Andreas Schwab, s

Re: Fwd: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option

2015-05-30 Thread Andreas Schwab
Andreas Schwab writes: > "H.J. Lu" writes: > >> diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h >> index 88356cc..74ebff7 100644 >> --- a/gcc/config/m68k/m68k.h >> +++ b/gcc/config/m68k/m68k.h >> @@ -40,7 +40,8 @@ along with GCC; see

Re: Do less generous pointer globbing in alias.c

2015-05-30 Thread Andreas Schwab
ts_in_alias_c): Update statistics. > * gcc.dg/alias-8.c: Do not xfail. > * gcc.dg/pr62167.c: Prevent FRE. > * gcc.dg/alias-14.c: New testcase. This is causing a miscompilation of the stage2 compiler on ia64. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fi

Re: Fwd: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option

2015-05-30 Thread Andreas Schwab
"H.J. Lu" writes: > What is wrong with it? It tests nothing. 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: PING^3: [PATCH]: New configure options that make the compiler use -fPIE and -pie as default option

2015-05-31 Thread Andreas Schwab
configure:28726: checking for -fno-PIE option configure:28737: g++ -c -g conftest.cpp >&5 configure:28737: $? = 0 configure:28745: result: yes Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now f

Re: Do less generous pointer globbing in alias.c

2015-05-31 Thread Andreas Schwab
. #7 0x601230b0 in default_target_ira_int () No symbol table info available. #8 0x4192bf10 in ipa_icf::sem_item::setup (this=0xffc0, stack=0x0) at ../../gcc/ipa-icf.c:224 No locals. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C

Re: Do less generous pointer globbing in alias.c

2015-05-31 Thread Andreas Schwab
[MMI] adds r17=152,r34 0x4154ff91 <+401>: adds r16=168,r34 0x4154ff92 <+402>: adds r15=192,r34;; 0x4154ffa0 <+416>: [MMI] addl r19=-672196,r1 0x4154ffa1 <+417>: nop.m 0x0 0x41

Re: [PATCH 01/35] Introduce new type-based pool allocator.

2015-06-02 Thread Andreas Schwab
\ ialized] block = XNEWVEC (char, m_block_size); ^ ../../gcc/stmt.c:1339:33: note: 'case_node_pool.pool_allocator::m_bl\ ock_size' was declared here pool_allocator case_node_pool ("struct sjlj_case pool", ^ Andreas. -- Andre

Re: [C++ Patch] Use declspecs->locations more

2015-06-04 Thread Andreas Schwab
rors: /opt/gcc/gcc-20150604/gcc/testsuite/obj-c++.dg/tls/diag-5.mm:4:1: error: '__thr\ ead' can only be specified for objects and functions 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 _OBJC_Module defined but not used warning

2015-06-07 Thread Andreas Schwab
em? Yes, it does. 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/8] add default for PCC_BITFIELD_TYPE_MATTERS

2015-04-29 Thread Andreas Schwab
et 8d computed type 'c{?=b0i2b2i3b5i12}c}' offset 8 real ivar 'flags' offset 9d computed type '{?=b0i2b2i3b5i12}c}' offset 10 offset 9d and computed position 10 don't match on ivar 'flags' (i = 3) child process exited abnormally FAIL: objc/execute/bf-1.m execution, -O0 -fgnu-runtime 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/8] add default for PCC_BITFIELD_TYPE_MATTERS

2015-04-29 Thread Andreas Schwab
Trevor Saunders writes: > it passes for me on x86_64-linux after that commit, what platform is > this? Any one with #undef PCC_BITFIELD_TYPE_MATTERS. See libobjc/encoding.c. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214

Re: [PATCH 3/8] add default for PCC_BITFIELD_TYPE_MATTERS

2015-04-29 Thread Andreas Schwab
/arm.h:#define PCC_BITFIELD_TYPE_MATTERS TARGET_AAPCS_BASED gcc/config/rs6000/sysv4.h:#define PCC_BITFIELD_TYPE_MATTERS (TARGET_BITFIELD_TYPE) gcc/config/vax/vax.h:#define PCC_BITFIELD_TYPE_MATTERS (! TARGET_VAXC_ALIGNMENT) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7

Re: [PATCH 3/8] add default for PCC_BITFIELD_TYPE_MATTERS

2015-04-29 Thread Andreas Schwab
_TYPE_MATTERS true' this expands to `#if !true' which evaluates to 1 since true isn't a defined identifier? 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: Mostly rewrite genrecog

2015-04-29 Thread Andreas Schwab
x27; ../../gcc/genrecog.c:1051: error: changes meaning of 'test' from 'struct test' Bootstrap compiler is gcc 4.3.4. 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-family PATCH to improve -Wbool-compare (PR c/64610)

2015-04-30 Thread Andreas Schwab
DECREMENT || HAVE_POST_DECREMENT); ^ 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: Mostly rewrite genrecog

2015-04-30 Thread Andreas Schwab
Richard Sandiford writes: > Andreas Schwab writes: >> Richard Sandiford writes: >> >>> /* Represents a test and the action that should be taken on the result. >>>If a transition exists for the test outcome, the machine switches >>>to the

Re: [PATCH 3/8] add default for PCC_BITFIELD_TYPE_MATTERS

2015-04-30 Thread Andreas Schwab
c" > # 1 "" > # 1 "" > # 1 "/usr/include/stdc-predef.h" 1 3 4 > # 1 "" 2 > # 1 "test.c" > > > hello Since you get hello this proves that true is *not* defined. 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-family PATCH to improve -Wbool-compare (PR c/64610)

2015-04-30 Thread Andreas Schwab
PE (noncst)) != BOOLEAN_TYPE > +&& !truth_value_p (TREE_CODE (noncst))) > + return; >/* Do some magic to get the right diagnostics. */ >bool flag = TREE_CODE (op0) == INTEGER_CST; > flag = integer_zerop (cst) ? flag : !flag; Looks good, successf

[PATCH] Mark help string in DEFPARAM as no-c-format

2015-05-01 Thread Andreas Schwab
f DEFPARAM -- 2.4.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: [PATCH] fixup libobjc usage of PCC_BITFIELD_TYPE_MATTERS

2015-05-03 Thread Andreas Schwab
ch64-suse-linux/bin/ -B/usr/aarch64-suse-linux/lib/ -isystem /usr/aarch64-suse-linux/include -isystem /usr/aarch64-suse-linux/sys-include-c -O2 -g conftest.c >&5 conftest.c:27:5: error: size of array 'foo2test' is negative int foo2test[ sizeof (struct foo2) == 5 ? 1 : -1

Re: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests

2015-05-04 Thread Andreas Schwab
Rainer Orth writes: > You cannot expect printf to print "(nil)" or variant for NULL pointers. > E.g. on Solaris 10 you get a SEGV instead. You are probably mixing it up with %s. %p is required to handle NULL like any other valid pointer value. Andreas. -- Andreas Schw

Re: [Bug target/66015] New: align directives not propagated after __attribute__ ((__optimize__ ("O2")))

2015-05-05 Thread Andreas Schwab
4/ia64.exp ... PASS: gcc.target/ia64/iinline-attr-1.c (test for excess errors) PASS: gcc.target/ia64/iinline-attr-1.c scan-assembler .align 64 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: libgo patch committed: Permit nil Func in Func.Name

2015-05-05 Thread Andreas Schwab
Ian Lance Taylor writes: > Committed to mainline and 4.9 branch. What about the 5 branch? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [patch 0/27] RFC: Use automake-1.11.6 across the tree

2015-05-08 Thread Andreas Schwab
red to > --enable-languages=c,ada > > But: How do I tell the gcc-trunk/configure to use gcc/g++ for C/C++ and > gnatgcc for Ada? You can find a working Ada compiler here: http://software.opensuse.org/package/gcc-ada Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerpr

Re: [PATCH] driver: ignore SIGINT while waiting on subprocesses to finish

2014-11-17 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."

Re: RFA (tree-inline): PATCH for more C++14 constexpr support

2014-11-18 Thread Andreas Schwab
stdc++-v3/include/limits:669:44: error: ‘(4u * 8u)’ is not a constant expression max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^ ../libstdc++-v3/testsuite/18_support/numeric_limits/requirements/constexpr_functions.cc:41:28: in constexpr expansion of ‘std::numeric_limits::lowest()’ m68k-linux/libstdc++-v3/include/limits:673:37: in constexpr expansion of ‘std::numeric_limits::min()’ m68k-linux/libstdc++-v3/include/limits:666:44: error: ‘(4u * 8u)’ is not a constant expression min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^ 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, testsuite] Add bind_pic_locally to certain tests

2014-11-19 Thread Andreas Schwab
* gcc.dg/pure-2.c: Update line numbers. diff --git a/gcc/testsuite/gcc.dg/pure-2.c b/gcc/testsuite/gcc.dg/pure-2.c index 638bd7c..fe6e2bc 100644 --- a/gcc/testsuite/gcc.dg/pure-2.c +++ b/gcc/testsuite/gcc.dg/pure-2.c @@ -8,14 +8,14 @@ extern int v; /* Trivial. */ int foo1(int a) /* {

Re: [ia64 PATCH] Fix up ia64 attribute handling (PR target/61137)

2014-11-21 Thread Andreas Schwab
ET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it. Looks good. http://gcc.gnu.org/ml/gcc-testresults/2014-11/msg02276.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: [C++ PATCH] Detect UB in shifts in constexpr functions

2014-12-03 Thread Andreas Schwab
nd /daten/aranym/gcc/gcc-20141203/Build/m68k-linux/libstdc++-v3/include/bits/regex_compiler.h:424:31: in constexpr expansion of 'std::__detail::_BracketMatcher< , , >::_S_cache_size, true, true>()' /daten/aranym/gcc/gcc-20141203/Build/m68k-linux/libstdc++-v3/include/bits/regex_co

Re: [patch] fix PR65048: check that jump-thread paths are still valid

2015-02-27 Thread Andreas Schwab
.c:45:11: error: too few arguments to function 'foo' /daten/aranym/gcc/gcc-20150227/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c:46:11: error: too few arguments to function 'foo' Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942

Re: Fix thunk generation for functions returning DECL_BY_REFERENCE

2015-02-28 Thread Andreas Schwab
> > + int *ptr; > > +}; > Please remove the trailing whitespace. 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] target/65286 - Disable multilib for ppc64le

2015-03-04 Thread Andreas Schwab
Martin Sebor writes: > The attached patch resolves PR 65286 by adding --disable-multilib > when configuring for a ppc64le target. If powerpc64le doesn't want multilib it should not set any multilib parameters. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerp

Re: [PATCH] target/65286 - Disable multilib for ppc64le

2015-03-04 Thread Andreas Schwab
or: gnu/stubs-32.h: No such file > or directory So fix the multilib configuration. 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 another wrong-code bug with -fstrict-volatile-bitfields

2015-03-16 Thread Andreas Schwab
Hans-Peter Nilsson writes: > Q: So why not adjust the BIGGEST_ALIGNMENT definition in such > targets to be at least the natural alignment of supported > atomic types? A: Because it's an ABI change. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA

Re: Fix ICEs on ODR violating programs and improve ODR mismatch diagnostic

2015-03-23 Thread Andreas Schwab
usr/local/gcc/gcc-20150323/Build/gcc/../../gcc/ada/adadecode.c:373: first defined here collect2: 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: [PATCH] testsuite/63175 - fix powerpc64 test failure

2015-03-23 Thread Andreas Schwab
Martin Sebor writes: > -/* { dg-final { scan-assembler "\t\(lxv|lvsr|stxv\)" } } */ > +/* { dg-final { scan-assembler "\t\(lvx|lxv|lvsr|stxv\)" } } */ You might want to remove the backslashes before the parens, which are ignored anyway. Andreas. -- Andreas Schwab,

Re: [PATCH] PR target/65240, Fix Power{7,8} insn constraint issue with -O3 -ffast-math

2015-04-04 Thread Andreas Schwab
7 do_reload. ../../gcc/ira.c:5430. 0x104d8ea7 execute. ../../gcc/ira.c:5589. http://gcc.gnu.org/ml/gcc-testresults/2015-04/msg00386.html Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [patch] fix darwin bootstrap by avoiding duplicate DIE attributes

2015-06-12 Thread Andreas Schwab
../../gcc/dwarf2out.c:5693:1: error: 'void check_die(dw_die_ref)' defined but not used [-Werror=unused-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 0/4] PowerPC64 Linux split stack support

2015-06-13 Thread Andreas Schwab
with glibc-2.18 or later go1: error: ‘-fsplit-stack’ is not supported by this compiler configuration make[2]: *** [errors.lo] Error 1 make[2]: Leaving directory `/daten/gcc/gcc-20150613/Build/powerpc64-linux/32/libgo' make[1]: *** [all-recursive] Error 1 Andreas. -- Andreas Schwab, sch...

Re: [Patch 0/4] PowerPC64 Linux split stack support

2015-06-15 Thread Andreas Schwab
lue come from? There shouldn't be any sharing between multilib builds. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [Patch 0/4] PowerPC64 Linux split stack support

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

Re: [Patch 0/4] PowerPC64 Linux split stack support

2015-06-15 Thread Andreas Schwab
The bug is of course that like DEFAULT_ABI, rs6000_isa_flags hasn't been determined yet. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [Patch 0/4] PowerPC64 Linux split stack support

2015-06-15 Thread Andreas Schwab
_split_stack (false, &global_options)) +global_options.x_flag_split_stack = 1; + /* Returning false means that the backend should be used. */ return false; } -- 2.4.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: [C++/58583] ICE instantiating NSDMIs

2015-06-16 Thread Andreas Schwab
.C -std=c++11 (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++/66515 (ICE with initializer_list)

2015-06-18 Thread Andreas Schwab
status 1 output is: /daten/aranym/gcc/gcc-20150618/gcc/testsuite/g++.dg/cpp0x/initlist96.C:6:29: fatal error: definition of std::initializer_list does not match #include . compilation terminated.. FAIL: g++.dg/cpp0x/initlist96.C -std=c++11 (test for excess errors) Andreas. -- Andreas Schwab

Re: libiberty TAGS

2015-06-18 Thread Andreas Schwab
Mike Stump writes: > + cd $(srcdir) && etags `for i in $(CFILES); do echo $(srcdir)/$$i ; > done` This doesn't work with a relative $(srcdir). Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 827

Re: [Patch 0/4] PowerPC64 Linux split stack support

2015-06-19 Thread Andreas Schwab
return false; > } This fixes the bootstrap error, and probably makes it possible to use DEFAULT_ABI in rs6000_supports_split_stack. 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++/58583] ICE instantiating NSDMIs

2015-06-19 Thread Andreas Schwab
This also fails on powerpc. 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++/58583] ICE instantiating NSDMIs

2015-06-22 Thread Andreas Schwab
Nathan Sidwell writes: > On 06/20/15 02:09, Andreas Schwab wrote: >> This also fails on powerpc. > > what is the build compiler? It is a bootstrapped build, so the build compiler should not matter. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint =

Re: [AArch64][2/2] Implement -fpic for -mcmodel=small

2015-06-27 Thread Andreas Schwab
/cc0Pymaf.s:11: Error: unknown relocation modifier at operand 2 -- `ldr x0,[x0,#:gotpage_lo15:a]' /tmp/cc0Pymaf.s:19: Error: unknown relocation modifier at operand 2 -- `ldr x2,[x0,#:gotpage_lo15:bar]' compiler exited with status 1 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key f

Re: C++ PATCH for c++/66255 (ICE with non-type template parameter of typedef type)

2015-06-27 Thread Andreas Schwab
. */ static void -check_unstripped_args (tree args) +check_unstripped_args (tree args ATTRIBUTE_UNUSED) { #ifdef ENABLE_CHECKING ++processing_template_decl; -- 2.4.5 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for some

Re: [AArch64][2/2] Implement -fpic for -mcmodel=small

2015-06-27 Thread Andreas Schwab
Jiong Wang writes: > Andreas Schwab writes: > >> spawn -ignore SIGHUP /opt/gcc/gcc-20150627/Build/gcc/xgcc >> -B/opt/gcc/gcc-20150627/Build/gcc/ -fno-diagnostics-show-caret >> -fdiagnostics-color=never -O0 -w -fpie -c -o pr65593.o >> /opt/gcc/gcc-20150627/gcc/t

Re: [AArch64] Fall back to -fPIC if no support of -fpic relocation modifer in assembler

2015-06-30 Thread Andreas Schwab
t of -fpic relocation modifier in assembler. This fixes all testsuite regressions except this one: gcc.target/aarch64/pic-small.c scan-assembler-times adrp\tx[0-9]+, _GLOBAL_OFFSET_TABLE 2 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 174

Re: [Patch 0/4] PowerPC64 Linux split stack support

2015-07-01 Thread Andreas Schwab
ions are parsed, so -m32 hasn't been acted upon and supports_split_stack falsely returns true. 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++/preprocessor Patch] PR c++/53690

2015-07-01 Thread Andreas Schwab
end is delimited by a non-hex digit. Returns zero if the > - UCN has not been consumed. > + buffer end is delimited by a non-hex digit. Returns one if the > + UCN has not been consumed, zero otherwise. The name of the function would make more sense if it returned a boolean with true meaning

Re: [patch] [fixincludes] Ignore .DS_Store junk files when running make check

2015-07-05 Thread Andreas Schwab
rep -v 'CVS/' | \ > +fgrep -v '.DS_Store' | \ > fgrep -v '.svn/' > ${TESTDIR}/LIST > > exitok=` find ... ! -name .DS_Store ... 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][10/n] Remove GENERIC stmt combining from SCCVN

2015-07-06 Thread Andreas Schwab
> w[0-9]+, lsl 3 > FAIL: gcc.target/aarch64/subs1.c scan-assembler subs\tx[0-9]+, x[0-9]+, > x[0-9]+ > FAIL: gcc.target/aarch64/subs1.c scan-assembler subs\tx[0-9]+, x[0-9]+, > x[0-9]+, lsl 3 This is PR66739. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerpr

Re: [patch] [fixincludes] Ignore .DS_Store junk files when running make check

2015-07-06 Thread Andreas Schwab
Eric Gallager writes: > I was just matching the code that was already used there... should the > lines to ignore the CVS and .svn folders be re-written into the style > you propose, too? Yes, that would be an improvement. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fi

Re: [PATCH, 2/2][PR66642] Add empty loop exit block in transform_to_exit_first_loop_alt

2015-07-08 Thread Andreas Schwab
t-first-loop-alt-3.c:40:9: error: too few arguments to function 'f' ../../../../libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c:13:1: note: declared here Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 8

Re: Merge current set of OpenACC changes from gomp-4_0-branch

2015-01-16 Thread Andreas Schwab
n 7 6 8 2 (set (reg:SI 0 %d0) (call (mem:QI (reg/f:SI 33) [0 acc_on_device S1 A8]) (const_int 4 [0x4]))) /daten/aranym/gcc/gcc-20150116/gcc/testsuite/c-c++-common/goacc/acc_on_device-2-off.c:19 -1 (nil) (nil)) 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 static chain and libffi for Go closures

2015-01-17 Thread Andreas Schwab
type name 'ffi_go_closure' makeFuncFFI(const struct __go_func_type *ftyp, ffi_go_closure *impl) ^ make[4]: *** [reflect/makefunc_ffi_c.lo] Error 1 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53

Re: Use static chain and libffi for Go closures

2015-01-17 Thread Andreas Schwab
Richard Henderson writes: > On 01/17/2015 01:52 AM, Andreas Schwab wrote: >> ../../../libgo/go/reflect/makefunc_ffi_c.c:21:53: error: unknown type name >> 'ffi_go_closure' >> void makeFuncFFI(const struct __go_func_t

Re: Use static chain and libffi for Go closures

2015-01-17 Thread Andreas Schwab
Andrew Pinski writes: > On Sat, Jan 17, 2015 at 1:26 PM, Richard Henderson wrote: >> On 01/17/2015 11:07 AM, Andreas Schwab wrote: >>> Richard Henderson writes: >>> >>>> On 01/17/2015 01:52 AM, Andreas Schwab wrote: >>>>> ../../../libgo/

Re: Use static chain and libffi for Go closures

2015-01-19 Thread Andreas Schwab
I(const struct __go_func_type *ftyp, void *impl) ^ ../../../libgo/go/reflect/makefunc_ffi_c.c:86:54: error: unused parameter ‘impl’ [-Werror=unused-parameter] makeFuncFFI(const struct __go_func_type *ftyp, void *impl)

Re: [RFC] POWER8 default for PPC64LE

2015-01-21 Thread Andreas Schwab
at end of line: `1' /tmp/ccaoVOii.s:116: Error: junk at end of line: `1' Makefile:466: recipe for target '_addvsi3.o' failed make[5]: *** [_addvsi3.o] Error 1 See <https://build.opensuse.org/package/live_build_log/devel:gcc/gcc5/openSUSE_Factory_PPC/ppc> for the full log file. 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, committed] PR 64770 Segfault when trying to open existing file with status="new"

2015-01-25 Thread Andreas Schwab
AIL: gfortran.dg/open_new_segv.f90 -O0 execution test 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, OOP] PR 64230: [4.9/5 Regression] Invalid memory reference in a compiler-generated finalizer for allocatable component

2015-01-27 Thread Andreas Schwab
Janus Weil writes: > 2015-01-19 Janus Weil > > PR fortran/64230 > * gfortran.dg/class_allocate_18.f90: Extended. FAIL: gfortran.dg/class_allocate_18.f90 -O0 (test for excess errors) Excess errors: /usr/ia64-suse-linux/bin/ld: cannot find -lubsan Andreas. -- Andreas

Re: [PATCH, libcpp] Do not modify a token once it has been initialized

2015-01-30 Thread Andreas Schwab
Dodji Seketeli writes: > + /* force the location of the token emitted by _cpp_lex_direct() to s/force/Force/ 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 v2] libgcc: Use braces instead of macro's empty body to avoid xgcc warnings.

2015-01-31 Thread Andreas Schwab
Chen Gang S writes: > * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use braces > instead of macro's empty body to avoid xgcc warnings. It's actually an empty loop now. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B

Re: r219977 - in /trunk/gcc: ChangeLog config/rs600...

2015-02-03 Thread Andreas Schwab
FAIL: gcc.dg/builtins-58.c scan-assembler-not pow $ grep pow builtins-58.s .machine power4 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: patch to fix rtl documentation for new floating point comparisons

2015-02-18 Thread Andreas Schwab
rison is true or false for each of = < > unordered, choice of whether > to raise invalid for quiet NaNs). The m68k fpu has the same feature. 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 7/9] Gccgo port to s390[x] -- part I

2014-10-29 Thread Andreas Schwab
e (?n)^var _u3_size struct { b \\[8\\]byte; Godump_0_align \\[0\\]uint64; }$ 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: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-29 Thread Andreas Schwab
L_METHOD__ = 2 const _SIG_ATOMIC_MAX = (2147483647) const _INT32_MIN = (-2147483647-1) const ___UINT16_MAX__ = 0x const ___GCC_ATOMIC_LLONG_LOCK_FREE = 1 const _INT_LEAST16_MAX = (32767) Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0E

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