Re: [PATCH][risc-v] libstdc++: Preserve signbit of nan when converting float to double [PR113578]

2024-05-07 Thread Andreas Schwab
On Mai 07 2024, Jonathan Wakely wrote: > +#ifdef __riscv > + return _M_insert(__builtin_copysign((double)__f, > + (double)-__builtin_signbit(__f)); Should this use static_cast? -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerpri

Re: [COMMITTED] Enable prange support.

2024-05-09 Thread Andreas Schwab
graph_node*) ../../gcc/ipa-inline-analysis.cc:474 0x200d153 inline_small_functions ../../gcc/ipa-inline.cc:2081 0x200d153 ipa_inline ../../gcc/ipa-inline.cc:2850 0x200d153 execute ../../gcc/ipa-inline.cc:3248 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprin

Re: [NOT CODE REVIEW] [PATCH v3 1/1] [RISC-V] Add support for _Bfloat16

2024-05-14 Thread Andreas Schwab
type size: 32 status: added 2 _ZTIDF16b typeinfo for std::bfloat16_t version status: incompatible CXXABI_1.3.14 type: object type size: 16 status: added -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for some

[PATCH] libsupc++: Fix handling of m68k extended real in

2024-09-02 Thread Andreas Schwab
__ival._M_lo); + } else if constexpr (sizeof(_Tp) == 2 * sizeof(int64_t)) { #if __SIZEOF_INT128__ -- 2.46.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

[PATCH] testsuite: Relax line number match in gfortran.dg/pr95690.f90

2024-09-11 Thread Andreas Schwab
actual line number is target dependent, allow any +! { dg-error "not a floating constant" "" { target *-*-* } 0 } -- 2.46.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

[PATCH] riscv: Fix duplicate assmbler label in @tlsdesc insn

2024-09-16 Thread Andreas Schwab
(.LT%1)\;" - "jalr\tt0,t0,%%tlsdesc_call(.LT%1)"; +return ".LT%=: auipc\ta0,%%tlsdesc_hi(%0)\;" + "\tt0,%%tlsdesc_load_lo(.LT%=)(a0)\;" + "addi\ta0,a0,%%tlsdesc_add_lo(.LT%=)\;" + "jalr\tt0,t0,%%tlsdesc_call(.LT%=)&q

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

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, 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: [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

[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] 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

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, 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] 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] 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
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: 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: 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

[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."

[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")

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] 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: 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

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."

[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] 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."

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: 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: 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: [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: 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: 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: [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: *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: [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: [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
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: 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."

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

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."

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."

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: 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: [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: 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."

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: [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

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] Fix ICE with asm "m" (stmt-expr) operand (PR middle-end/67653)

2016-01-20 Thread Andreas Schwab
Jakub Jelinek writes: > + "memory input %d is not directly addressable", What does that mean? 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 ICE with asm "m" (stmt-expr) operand (PR middle-end/67653)

2016-01-20 Thread Andreas Schwab
Richard Biener writes: > On Wed, 20 Jan 2016, Andreas Schwab wrote: > >> Jakub Jelinek writes: >> >> > +"memory input %d is not directly addressable", >> >> What does that mean? > > Is "input %d is not addr

Re: [PATCH 4/4][AArch64] Cost CCMP instruction sequences to choose better expand order

2016-01-22 Thread Andreas Schwab
tasks == node) ^~~ 0x5c3077 ??? ../sysdeps/aarch64/start.S:81 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 4/4][AArch64] Cost CCMP instruction sequences to choose better expand order

2016-01-23 Thread Andreas Schwab
scan-assembler-times "fccmp\t.*0\\.0" 1 } } */ > +/* { dg-final { scan-assembler-times "fccmpe\t.*0\\.0" 1 } } */ FAIL: gcc.target/aarch64/ccmp_1.c scan-assembler-times \tcmp\tw[0-9]+, 0 4 FAIL: gcc.target/aarch64/ccmp_1.c scan-assembler adds\t FAIL: gcc.target/aarch64/ccmp_1.c scan-assembler-times fccmpe\t.*0\\.0 1 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH, testsuite]: Improve check_effective_target_fsanitize_thread

2016-02-04 Thread Andreas Schwab
ot supported for this target cc1: warning: -fsanitize=address not supported for this target FAIL: gcc.dg/sancov/asan.c -O0 scan-tree-dump-times optimized "__builtin___sanitizer_cov_trace_pc \\(\\)" 4 FAIL: gcc.dg/sancov/asan.c -O0 scan-tree-dump-times optimized "__builtin___asan_report_l

Re: [PATCH, testsuite]: Improve check_effective_target_fsanitize_thread

2016-02-04 Thread Andreas Schwab
-O1 scan-tree-dump-times optimized "__builtin___sanitizer_cov_trace_pc \\(\\)" 4 PASS: gcc.dg/sancov/asan.c -O1 scan-tree-dump-times optimized "__builtin___asan_report_load4 \\(" 1 PASS: gcc.dg/sancov/asan.c -O1 scan-tree-dump-times optimized "__builtin___asan_report_store4 \\(" 1 Andreas

Re: [PATCH, testsuite]: Improve check_effective_target_fsanitize_thread

2016-02-04 Thread Andreas Schwab
Andreas Schwab writes: > Uros Bizjak writes: > >> OTOH, does this testcase even gets a chance to run? > > It's not a runtime check. But it didn't link until today: Running /opt/gcc/gcc-20160203/gcc/testsuite/gcc.dg/sancov/sancov.exp ... Executing on host: /opt/gcc

Re: [PATCH][P1 tree-optimization/68541] Add heuristics to path splitting

2016-02-06 Thread Andreas Schwab
gt; + s--; > + } > + > + return s; > +} > + > +/* { dg-final { scan-tree-dump "appears to be a join point for > if-convertable diamond" "split-paths" } } */ That fails on aarch64. 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, rs6000] Fix PR63354

2016-02-06 Thread Andreas Schwab
-assembler-not "mtlr" } } */ > + > +int foo(void) > +{ > + return 1; > +} With -m32: FAIL: gcc.target/powerpc/pr63354.c (test for excess errors) Excess errors: /daten/gcc/gcc-20160205/gcc/testsuite/gcc.target/powerpc/pr63354.c:1:0: error: -mprofile-kernel not supported in this c

Re: Fix c/69522, memory management issue in c-parser

2016-02-12 Thread Andreas Schwab
] 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] 69759 - document __builtin_alloca and __builtin_alloca_with_align

2016-02-20 Thread Andreas Schwab
is provided to make > +it possible to allocate overaligned arrays with a runtime bound on > +the stack. That sentence is confusing. What is a runtime, and why is it bound on the stack? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5

Re: [PATCH] Fix bootstrap on m68k (PR target/69885)

2016-02-22 Thread Andreas Schwab
rning could be emitted by genrecog to that effect? It already warns for some uses of modeless match_operand. 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] 69759 - document __builtin_alloca and __builtin_alloca_with_align

2016-02-22 Thread Andreas Schwab
Martin Sebor writes: > +@code{__BIGGEST_ALIGNMENT__} macro. @code{__builtin_alloca} returns Another uncapitalized sentence beginning. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something co

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: [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: 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-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: 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."

[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

[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

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."

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: [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-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: 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

[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: 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 "

Re: [PATCH 1/8] Add a flag to control the balance between GNAT encodings, and std. DWARF

2015-07-16 Thread Andreas Schwab
Pierre-Marie de Rodat writes: > +fgnat-encodings= IMHO the option name should include "dwarf". 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 PR66952

2015-07-23 Thread Andreas Schwab
8 @@ > +/* { dg-do run } */ > + > +int a = 128, b; > + > +static int > +fn1 (char p1, int p2) > +{ > + return p1 < 0 || p1 > 1 >> p2 ? 0 : p1 << 1; This is broken, p1 can never be < 0. FAIL: gcc.dg/torture/pr66952.c -O0 execution test Andreas. -- A

Re: [PATCH 1/2] Allow REG_EQUAL for ZERO_EXTRACT

2015-07-26 Thread Andreas Schwab
er jsr __m68k_read_tp gcc.target/m68k/tls-le.c scan-assembler jsr __m68k_read_tp 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] [fixincludes] Ignore .DS_Store junk files when running make check

2015-07-27 Thread Andreas Schwab
Eric Gallager writes: > Okay, I tried embedding "! -name CVS/ ! -name .svn/" into the find -name does an exact match, so you don't need the slash. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 &quo

Re: [PATCH 1/2] Allow REG_EQUAL for ZERO_EXTRACT

2015-07-30 Thread Andreas Schwab
Kugan writes: > * cse.c (cse_insn): Restoring old behaviour for src_eqv >when dest and value in the REG_EQUAL are same and dest >is STRICT_LOW_PART. This fixes the regression and doesn't introduce any new one. Andreas. -- Andreas Schwab, sch...@linux-m6

Re: [PATCH] Simplify vector compare-not-select sequence

2015-08-02 Thread Andreas Schwab
tializing type '__vector unsigned long long' using type '__vector __bool long long' /daten/gcc/gcc-20150801/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c:18:3: error: use of 'long long' in AltiVec types is invalid without -mvsx Andreas. -- Andreas Schwab, sch...

Re: Go patch committed: Fix error reporting for invalid builtin calls

2015-08-03 Thread Andreas Schwab
wn-linux-gnu. Committed to > mainline. ../../../libgo/runtime/mprof.goc: In function 'runtime_Stack': ../../../libgo/runtime/mprof.goc:408:5: error: calling '__builtin_frame_address' with a nonzero argument is unsafe [-Werror=frame-address] sp = runtime_getcallersp(&b);

Re: [PATCH] Simplify vector compare-not-select sequence

2015-08-03 Thread Andreas Schwab
sd PASS: gcc.target/powerpc/vec-cmp-sel.c scan-assembler-not xxlnor 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] warn for unsafe calls to __builtin_return_address

2015-08-05 Thread Andreas Schwab
rror: unsupported argument to '__builtin_return_address' [-Werror] /usr/local/gcc/gcc-20150805/gcc/testsuite/gcc.dg/Wframe-address.c:50:5: error: unsupported argument to '__builtin_return_address' [-Werror] 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: r226516 - in /trunk/gcc: ChangeLog testsuite/Ch...

2015-08-05 Thread Andreas Schwab
FAIL: gcc.dg/pr66314.c (test for excess errors) Excess errors: /usr/local/gcc/gcc-20150805/gcc/testsuite/gcc.dg/pr66314.c:1:0: warning: -fsanitize=address and -fsanitize=kernel-address are not supported for this target Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint

Re: [fortran,patch] Extend IEEE support to all real kinds

2015-08-05 Thread Andreas Schwab
FAIL: gfortran.dg/ieee/large_1.f90 -O0 (test for excess errors) Excess errors: large_1.f90:(.text+0x1792): undefined reference to `logbq' Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for

Re: libgo patch committed: Kill sleep processes in testsuite

2015-08-05 Thread Andreas Schwab
y 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][12/14] Target attributes and target pragmas tests

2015-08-05 Thread Andreas Schwab
uot;//.tune cortex-a72.cortex-a53" } } */ > +/* { dg-final { scan-assembler-not "thunderx" } } */ FAIL: gcc.target/aarch64/target_attr_1.c (test for excess errors) Excess errors: Assembler messages: Error: unknown cpu `thunderx' Error: unrecognized option -mcpu=thunderx Andrea

Re: [PATCH] Add X != !X pattern

2015-08-05 Thread Andreas Schwab
ler-times \\tcmtst\\td[0-9]+, d[0-9]+, d[0-9]+ 2 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][12/14] Target attributes and target pragmas tests

2015-08-05 Thread Andreas Schwab
Kyrill Tkachov writes: > On 05/08/15 10:03, Andreas Schwab wrote: >> Kyrill Tkachov writes: >> >>> diff --git a/gcc/testsuite/gcc.target/aarch64/target_attr_1.c >>> b/gcc/testsuite/gcc.target/aarch64/target_attr_1.c >>> new file mode 100644 &g

Re: [PATCH] Add X != !X pattern

2015-08-05 Thread Andreas Schwab
implify > bool comparison canonicalization and restrict to integers. Fixes all regressions on aarch64. 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: dejagnu version update?

2015-09-16 Thread Andreas Schwab
Mike Stump writes: > The software presently works with 1.4.4 and there aren’t any changes > that require anything newer. SLES 12 has 1.4.4. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now fo

Re: [patch] libstdc++/67173 Fix filesystem::canonical for Solaris 10.

2015-09-17 Thread Andreas Schwab
ils if stdin is a pipe, which doesn't have a (real) name, so realpath fails. $ echo | ./canonical.exe terminate called after throwing an instance of 'std::experimental::filesystem::v1::__cxx11::filesystem_error' what(): filesystem error: cannot canonicalize: No such file or d

Re: [PATCH, middle-end]: Fix PR67619, ICE at -O1 and above in int_mode_for_mode, at stor-layout.c

2015-09-19 Thread Andreas Schwab
ted on this target 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 undefined behaviour in arc port

2015-09-26 Thread Andreas Schwab
(-512 << shift); > + offset_base > + = ((offset + (256 << shift)) > +& ((HOST_WIDE_INT)(-512U << shift))); If HOST_WIDE_INT is bigger than int then this is not the same. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53

Re: [PATCH] Fix undefined behaviour in arc port

2015-09-26 Thread Andreas Schwab
Jeff Law writes: > @@ -195,7 +195,7 @@ >"@internal > Unconditional two-address add / sub constant" >(and (match_code "const_int") > - (match_test "ival == -1 << 31 > + (match_test "ival == HOST_WIDE_INT (HOST_WID

Re: [Graphite] Redesign Graphite scop detection

2015-09-29 Thread Andreas Schwab
. -- 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++ PATCH] RFC: Implement -Wduplicated-cond (PR c/64249) (take

2015-10-03 Thread Andreas Schwab
-unused > dfp.o-warn = -Wno-strict-aliasing > +insn-latencytab.o-warn = -Wno-duplicated-cond > +insn-dfatab.o-warn = -Wno-duplicated-cond cc1plus: error: unrecognized command line option "-Wno-duplicated-cond" make[3]: *** [insn-dfatab.o] Error 1 Andreas. -- Andreas Schwab, s

Re: [PATCH] libgcc: quote ARM macro parameters

2015-10-03 Thread Andreas Schwab
etGR ((context), 15) & ~(_Unwind_Word)1) How can that get mis-expanded (other than cheating with a macro that expands to a comma)? 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."

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