[Bug target/66136] AArch64 geniterators.sh relies on GNU sed syntax, causing build failure on FreeBSD and probably Mac

2015-06-02 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136 --- Comment #10 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Jun 2 16:21:18 2015 New Revision: 224031 URL: https://gcc.gnu.org/viewcvs?rev=224031root=gccview=rev Log: [AArch64][PR 66136] rewrite geniterators.sh in awk 2015-06-02

[Bug target/66136] AArch64 geniterators.sh relies on GNU sed syntax, causing build failure on FreeBSD and probably Mac

2015-07-06 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136 nsz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-07-06 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #1 from nsz at gcc dot gnu.org --- Author: nsz Date: Mon Jul 6 11:00:03 2015 New Revision: 225450 URL: https://gcc.gnu.org/viewcvs?rev=225450root=gccview=rev Log: [AArch64] PR target/66731 Fix fnmul insn with -frounding-math gcc

[Bug target/66136] AArch64 geniterators.sh relies on GNU sed syntax, causing build failure on FreeBSD and probably Mac

2015-06-30 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136 --- Comment #14 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Jun 30 10:07:03 2015 New Revision: 225170 URL: https://gcc.gnu.org/viewcvs?rev=225170root=gccview=rev Log: Backport of r224031 from mainline 2015-06-29 Szabolcs Nagy

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-03 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #5 from nsz at gcc dot gnu.org --- Author: nsz Date: Mon Aug 3 14:27:43 2015 New Revision: 226507 URL: https://gcc.gnu.org/viewcvs?rev=226507root=gccview=rev Log: Backport form mainline r226496. gcc: Backport form mainline

[Bug other/67020] /gcc/gcc.c:878:32: error: macro CHOOSE_DYNAMIC_LINKER requires 4 arguments, but only 3 given

2015-07-29 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67020 nsz at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-05 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 nsz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-03 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #6 from nsz at gcc dot gnu.org --- Author: nsz Date: Mon Aug 3 17:04:29 2015 New Revision: 226519 URL: https://gcc.gnu.org/viewcvs?rev=226519root=gccview=rev Log: Backport form mainline r226496. gcc: Backport form mainline

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-03 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #4 from nsz at gcc dot gnu.org --- Author: nsz Date: Mon Aug 3 11:12:00 2015 New Revision: 226496 URL: https://gcc.gnu.org/viewcvs?rev=226496root=gccview=rev Log: [ARM] PR target/66731 Fix vnmul insn with -frounding-math gcc

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-04 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #9 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Aug 4 16:49:54 2015 New Revision: 226588 URL: https://gcc.gnu.org/viewcvs?rev=226588root=gccview=rev Log: Fix broken backport patch. gcc: Backport from mainline

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-04 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #8 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Aug 4 16:43:46 2015 New Revision: 226587 URL: https://gcc.gnu.org/viewcvs?rev=226587root=gccview=rev Log: gcc: Backport from mainline: 2015-08-04 Szabolcs

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-04 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #10 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Aug 4 17:42:05 2015 New Revision: 226592 URL: https://gcc.gnu.org/viewcvs?rev=226592root=gccview=rev Log: gcc: Backport from mainline: 2015-07-06 Szabolcs

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-08-04 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #7 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Aug 4 16:22:32 2015 New Revision: 226586 URL: https://gcc.gnu.org/viewcvs?rev=226586root=gccview=rev Log: [AArch64] PR target/66731 Fix fnmul insn with -frounding-math (rtx

[Bug target/65711] arm*-linux* link spec passes '-dynamic-linker' even for '-shared'

2015-07-24 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65711 --- Comment #10 from nsz at gcc dot gnu.org --- Author: nsz Date: Fri Jul 24 16:12:58 2015 New Revision: 226169 URL: https://gcc.gnu.org/viewcvs?rev=226169root=gccview=rev Log: Backported from mainline r226158. 2015-07-24

[Bug target/65711] arm*-linux* link spec passes '-dynamic-linker' even for '-shared'

2015-07-24 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65711 --- Comment #9 from nsz at gcc dot gnu.org --- Author: nsz Date: Fri Jul 24 16:00:26 2015 New Revision: 226165 URL: https://gcc.gnu.org/viewcvs?rev=226165root=gccview=rev Log: Backport from mainline r226158. 2015-07-24 Szabolcs

[Bug target/65711] arm*-linux* link spec passes '-dynamic-linker' even for '-shared'

2015-07-24 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65711 --- Comment #8 from nsz at gcc dot gnu.org --- Author: nsz Date: Fri Jul 24 14:27:55 2015 New Revision: 226158 URL: https://gcc.gnu.org/viewcvs?rev=226158root=gccview=rev Log: [AArch64] Fix LINUX_TARGET_LINK_SPEC to be consistent with ARM 2015

[Bug target/66912] New: Copy relocation against protected symbol doesn't work

2015-07-17 Thread nsz at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- same as bug 65248 but for arm and aarch64. On aarch64, gcc -S -O -fpic compiles __attribute__((visibility(protected))) int n; int f () { return n; } into f

[Bug target/58446] Support for musl libc

2015-07-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug bootstrap/55807] Support musl libc

2015-07-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55807 nsz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug target/58446] Support for musl libc

2015-07-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 nsz at gcc dot gnu.org changed: What|Removed |Added CC||lu_zero at gentoo dot org

[Bug target/66731] vnmul, fnmul patterns incorrect for -frounding-math

2015-07-15 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66731 --- Comment #2 from nsz at gcc dot gnu.org --- Author: nsz Date: Wed Jul 15 09:03:15 2015 New Revision: 225810 URL: https://gcc.gnu.org/viewcvs?rev=225810root=gccview=rev Log: Add missing PR target/66731 to gcc/testsuite/Changelog Modified

[Bug target/66912] Copy relocation against protected symbol doesn't work

2015-07-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66912 --- Comment #2 from nsz at gcc dot gnu.org --- protected only means it cannot be overridden. so we know the symbol will be resolved to the local one, however it may be visible externally and then the address must be the same in the other modules

[Bug target/68059] [arm] libgcc uses __write to report error

2015-10-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68059 nsz at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed

[Bug target/68059] New: [arm] libgcc uses __write to report error

2015-10-22 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- this bug was reported on the musl libc list: http://www.openwall.com/lists/musl/2015/10/22/3 libgcc/config/arm/linux-atomic-64bit.c references __write

[Bug target/66912] Copy relocation against protected symbol doesn't work

2015-10-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66912 --- Comment #4 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Oct 20 09:50:58 2015 New Revision: 229030 URL: https://gcc.gnu.org/viewcvs?rev=229030=gcc=rev Log: Fix default_binds_local_p_2 for extern protected data Backport from

[Bug target/66912] Copy relocation against protected symbol doesn't work

2015-10-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66912 nsz at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug target/66912] Copy relocation against protected symbol doesn't work

2015-10-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66912 --- Comment #3 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Oct 20 09:37:27 2015 New Revision: 229024 URL: https://gcc.gnu.org/viewcvs?rev=229024=gcc=rev Log: Fix default_binds_local_p_2 for extern protected data gcc: PR

[Bug other/67627] libatomic parallel build failure

2015-09-22 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67627 --- Comment #1 from nsz at gcc dot gnu.org --- adding all-multi: $(libatomic_la_LIBADD) to libatomic/Makefile.in solves the problem for me, but i'm not sure what's the automake way of doing this

[Bug other/67627] New: libatomic parallel build failure

2015-09-18 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- hard to reproduce, but the failure is make[5]: Entering directory `/XX/obj/gcc4/arm-none-linux-gnueabihf/libatomic' .deps/fsub_8_.lo.Ppo:87: *** missing separator. Stop. and the cause

[Bug other/67627] libatomic parallel build failure

2016-01-06 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67627 --- Comment #2 from nsz at gcc dot gnu.org --- Author: nsz Date: Wed Jan 6 14:51:35 2016 New Revision: 232102 URL: https://gcc.gnu.org/viewcvs?rev=232102=gcc=rev Log: Fix libatomic multilib parallel build (PR other/67627) The all-multi target

[Bug other/67627] libatomic parallel build failure

2016-01-06 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67627 --- Comment #4 from nsz at gcc dot gnu.org --- Author: nsz Date: Wed Jan 6 17:43:24 2016 New Revision: 232107 URL: https://gcc.gnu.org/viewcvs?rev=232107=gcc=rev Log: 2016-01-06 Szabolcs Nagy <szabolcs.n...@arm.com> Backpor

[Bug other/67627] libatomic parallel build failure

2016-01-06 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67627 nsz at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug other/67627] libatomic parallel build failure

2016-01-06 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67627 --- Comment #3 from nsz at gcc dot gnu.org --- Author: nsz Date: Wed Jan 6 17:32:41 2016 New Revision: 232105 URL: https://gcc.gnu.org/viewcvs?rev=232105=gcc=rev Log: 2016-01-06 Szabolcs Nagy <szabolcs.n...@arm.com> Backpor

[Bug c/50584] No warning for passing small array to C99 static array declarator

2016-01-07 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50584 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/68059] [arm] libgcc uses __write to report error

2015-11-24 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68059 --- Comment #4 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Nov 24 16:10:55 2015 New Revision: 230820 URL: https://gcc.gnu.org/viewcvs?rev=230820=gcc=rev Log: 2015-11-24 Szabolcs Nagy <szabolcs.n...@arm.com> Backpor

[Bug target/68059] [arm] libgcc uses __write to report error

2015-11-24 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68059 nsz at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution

[Bug target/68059] [arm] libgcc uses __write to report error

2015-11-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68059 --- Comment #3 from nsz at gcc dot gnu.org --- Author: nsz Date: Mon Nov 23 15:17:55 2015 New Revision: 230762 URL: https://gcc.gnu.org/viewcvs?rev=230762=gcc=rev Log: [ARM] PR target/68059 libgcc should not use __write for printing fatal error

[Bug c/71219] Warn about (struct S*)malloc(n) where n < sizeof(struct S)

2016-05-26 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71219 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/71615] wrong float point result with {-Ofast, -march=native, and valgrind}

2016-06-22 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71615 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug middle-end/71625] missing strlen optimization on different array initialization style

2016-06-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/63359] aarch64: 32bit registers in inline asm

2016-06-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63359 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug middle-end/71625] missing strlen optimization on different array initialization style

2016-06-24 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 --- Comment #8 from nsz at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #6) > (In reply to Marc Glisse from comment #1) > > Or we could do like clang and improve alias analysis. We should know that > > array doesn't

[Bug lto/69271] LTO drops weak binding from aliases

2016-01-15 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69271 --- Comment #5 from nsz at gcc dot gnu.org --- copy pasting from http://www.openwall.com/lists/musl/2016/01/13/2 (this is musl libc, but glibc has the same issue) lto breaks symbol binding for environ, _environ, ___environ. (they should be weak

[Bug lto/69271] LTO drops weak binding from aliases

2016-01-15 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69271 --- Comment #6 from nsz at gcc dot gnu.org --- to complete the example here is a test application: #include #include extern char **environ; int main() { printf(": %p, environ: %p, *environ: %p\n", , environ, *environ);

[Bug lto/69271] New: LTO drops weak binding from aliases

2016-01-14 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- i guess it is related to bug 67548 but it happens without -r now. void foo(void) {} extern void foo_alias(void) __attribute__((weak, alias("foo"))); int bar = 0; extern int

[Bug lto/69271] LTO drops weak binding from aliases

2016-01-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69271 nsz at gcc dot gnu.org changed: What|Removed |Added Version|6.0 |5.3.1 --- Comment #1 from nsz

[Bug driver/69690] New: -pg -fomit-frame-pointer fails with error even if -pg does not depend on frame pointers

2016-02-05 Thread nsz at gcc dot gnu.org
Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- common cc1 options in gcc/gcc.c has "%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompa

[Bug middle-end/69854] New: [6 regression] ICE: tree check: expected class 'constant', have 'binary' (plus_expr) in generic_simplify_65, at generic-match.c:3110

2016-02-17 Thread nsz at gcc dot gnu.org
Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- Created attachment 37725 --> ht

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2016-03-19 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 nsz at gcc dot gnu.org changed: What|Removed |Added CC||anthony.ajw at gmail dot com

[Bug libstdc++/70298] std::call_once hangs on second call if first threw an exception

2016-03-19 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70298 nsz at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2016-03-19 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug tree-optimization/71104] [7 Regression] ICE: verify_ssa failed (with vfork / error: definition in block 3 does not dominate use in block 7 )

2016-05-16 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71104 --- Comment #3 from nsz at gcc dot gnu.org --- simplified a bit further: void foo(void); int vfork(void); int *p; void bar(void) { foo(); *p = vfork(); }

[Bug tree-optimization/71104] New: [7 Regression] ICE: verify_ssa failed (with vfork / error: definition in block 3 does not dominate use in block 7 )

2016-05-13 Thread nsz at gcc dot gnu.org
: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- found this while cross compiling busybox to aarch64, i

[Bug testsuite/71021] [libatomic testsuite] Test program compilation fail (missing -pthread flag)

2016-05-12 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71021 --- Comment #4 from nsz at gcc dot gnu.org --- this might be a different issue, but then i'm not sure how you made the gcc build to use the alternate glibc path. can you attach the libatomic/testsuite/Makefile (with the CC etc variables set)? i

[Bug testsuite/71021] [libatomic testsuite] Test program compilation fail (missing -pthread flag)

2016-05-09 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71021 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug c/71929] New: libcilkrts build failure because broken __cilkrts_yield and __cilkrts_idle

2016-07-19 Thread nsz at gcc dot gnu.org
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- os-unix.c is broken on *linux-musl targets. the portable way to yield is sched_yield, this should be called on all platforms including

[Bug testsuite/71931] New: build sysroot flags are not passed to target lib tests

2016-07-19 Thread nsz at gcc dot gnu.org
Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- when gcc is built --with-build-sysroot then $CC for the target libs includes --sysroot, but when the test is run for these target libs CC=xgcc is used without

[Bug c/71928] New: installed libcilkrts.so has RPATH

2016-07-19 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- installed libcilkrts.so has an RPATH setting that breaks when a cross toolchain is moved around or cross testing a toolchain. installed libraries should not have RPATH setting.

[Bug testsuite/71933] New: plugin tests fail when host!=target but tests are run locally

2016-07-19 Thread nsz at gcc dot gnu.org
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- if the test system is run locally (unix.exp) then LD_LIBRARY_PATH set during compilation and linking. this affects the dynamic linking

[Bug pch/71934] New: pch cannot be disabled so gcc cannot be position independent

2016-07-19 Thread nsz at gcc dot gnu.org
Priority: P3 Component: pch Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- gcc should be possible to build as PIE by disabling PCH. (e.g. for running gcc natively on an fdpic target) some users might not care about PCH

[Bug testsuite/71931] build sysroot flags are not passed to target lib tests

2016-07-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71931 --- Comment #1 from nsz at gcc dot gnu.org --- a workaround is passing EXTRA_DEJAGNU_SITE_CONFIG=foo.exp to make, where foo.exp has set GCC_UNDER_TEST "build-dir/gcc/xgcc -Bbuild-dir/gcc --sysroot build-sysroot"

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd

2016-06-28 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684 --- Comment #5 from nsz at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #3) > (In reply to nsz from comment #1) > > on a posix platform pthread_mutex_destroy should be called for a mutex if > > its life time end

[Bug target/78945] [arm] libatomic inline asm is not compatible with armv7-m

2017-02-07 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78945 --- Comment #5 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Feb 7 12:47:51 2017 New Revision: 245246 URL: https://gcc.gnu.org/viewcvs?rev=245246=gcc=rev Log: [ARM][PR target/78945] Fix libatomic on armv7-m libatomic/ Backport

[Bug target/78945] [arm] libatomic inline asm is not compatible with armv7-m

2017-02-07 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78945 nsz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution

[Bug target/78945] [arm] libatomic inline asm is not compatible with armv7-m

2017-02-07 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78945 --- Comment #6 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Feb 7 12:51:00 2017 New Revision: 245247 URL: https://gcc.gnu.org/viewcvs?rev=245247=gcc=rev Log: [ARM][PR target/78945] Fix libatomic on armv7-m libatomic/ Backport

[Bug target/78945] [arm] libatomic inline asm is not compatible with armv7-m

2017-01-24 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78945 --- Comment #3 from nsz at gcc dot gnu.org --- (In reply to Ramana Radhakrishnan from comment #2) > A simple patch would be to check for __ARM_FEATURE_SAT in all those macros > in exch_n.c along with HAVE_STREXB etc .. __ARM_FEATURE_

[Bug target/78945] [arm] libatomic inline asm is not compatible with armv7-m

2017-01-30 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78945 --- Comment #4 from nsz at gcc dot gnu.org --- Author: nsz Date: Mon Jan 30 11:34:13 2017 New Revision: 245023 URL: https://gcc.gnu.org/viewcvs?rev=245023=gcc=rev Log: [ARM][PR target/78945] Fix libatomic on armv7-m ARM libatomic inline asm

[Bug target/77894] Enable GNU indirect function support by default as it will be used in glibc.

2016-10-07 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77894 --- Comment #3 from nsz at gcc dot gnu.org --- currently --enable-gnu-indirect-function enables its use in gcc target libs like libatomic which breaks if the libc has no support for it. (In reply to Florian Weimer from comment #2) > (In re

[Bug other/77894] Enable GNU indirect function support by default as it will be used in glibc.

2016-10-07 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77894 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug c/77690] -Wformat-length %s false positive after strlen check

2016-09-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77690 --- Comment #2 from nsz at gcc dot gnu.org --- (In reply to Martin Sebor from comment #1) > sprintf(foo, "zz%.4s", s.buf); > > Please let me know if this isn't sufficient to resolve the problem report. in my case truncatio

[Bug c/77708] New: -Wformat-length %s warns for snprintf

2016-09-23 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- snprintf does not do oob memory access, so if the return value is checked then, there should be no buffer overflow warning. $ cat a.c int snprintf (char*, __SIZE_TYPE__, const char

[Bug c/77690] -Wformat-length %s false positive after strlen check

2016-09-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77690 nsz at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution

[Bug c/77690] -Wformat-length %s false positive after strlen check

2016-09-23 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77690 nsz at gcc dot gnu.org changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #5 from nsz

[Bug c/77690] New: -Wformat-length %s false positive after strlen check

2016-09-22 Thread nsz at gcc dot gnu.org
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- there is no obvious way to silence the sprintf %s warning. (this currently breaks the gdb build) $ cat a.c int sprintf (char*, const char*, ...); struct { char buf[12]; } s

[Bug libfortran/78314] New: [aarch64] ieee_support_halting does not report unsupported fpu traps correctly

2016-11-11 Thread nsz at gcc dot gnu.org
: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- on aarch64 trapping fpu exceptions are optional, but ieee_support_halting(except_flag) does not report this correctly, so

[Bug libgcc/78017] weak reference usage in gthr-posix.h (__gthread*) is broken

2016-10-19 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78017 --- Comment #4 from nsz at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #3) > There are other reasons why using static libraries does not make sense for > libpthread. i can't immediately think of any, can you give a hint?

[Bug libgcc/78017] New: weak reference usage in gthr-posix.h (__gthread*) is broken

2016-10-18 Thread nsz at gcc dot gnu.org
Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- there seem to be no open bug for the issue discussed in https://gcc.gnu.org/ml/libstdc++/2014-11/msg00122.html i think libstdc++, libgfortran

[Bug libgcc/78017] weak reference usage in gthr-posix.h (__gthread*) is broken

2016-10-18 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78017 --- Comment #2 from nsz at gcc dot gnu.org --- i see the glibc threads linked from https://sourceware.org/bugzilla/show_bug.cgi?id=5784 but there are other libcs with static linking support, so even if weakrefs worked on glibc (now they don't

[Bug libfortran/78449] compile time ieee_support_halting is not correct on arm and aarch64 ( FAIL: gfortran.dg/ieee/ieee_8.f90 -Os execution test )

2016-11-22 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78449 --- Comment #1 from nsz at gcc dot gnu.org --- Author: nsz Date: Tue Nov 22 10:06:05 2016 New Revision: 242688 URL: https://gcc.gnu.org/viewcvs?rev=242688=gcc=rev Log: [PR libgfortran/78449] XFAIL ieee_8.f90 on aarch64 and arm ARM and AArch64

[Bug libfortran/78314] [aarch64] ieee_support_halting does not report unsupported fpu traps correctly

2016-11-22 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78314 nsz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #6 from

[Bug libfortran/78314] [aarch64] ieee_support_halting does not report unsupported fpu traps correctly

2016-11-16 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78314 --- Comment #3 from nsz at gcc dot gnu.org --- Author: nsz Date: Wed Nov 16 17:27:04 2016 New Revision: 242505 URL: https://gcc.gnu.org/viewcvs?rev=242505=gcc=rev Log: [PR libgfortran/78314] Fix ieee_support_halting ieee_support_halting only

[Bug libfortran/78314] [aarch64] ieee_support_halting does not report unsupported fpu traps correctly

2016-11-16 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78314 nsz at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |7.0 Known to fail

[Bug libfortran/78314] [aarch64] ieee_support_halting does not report unsupported fpu traps correctly

2016-11-18 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78314 --- Comment #5 from nsz at gcc dot gnu.org --- i plan to backport the fix, but it seems my fix is not correct and broke the ieee_8.fp90 test.

[Bug libfortran/78449] New: compile time ieee_support_halting is not correct on arm and aarch64 ( FAIL: gfortran.dg/ieee/ieee_8.f90 -Os execution test )

2016-11-21 Thread nsz at gcc dot gnu.org
Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- on aarch64 and arm trapping support requires runtime

[Bug target/70191] libatomic library does not have lock-free implementation for 16-bytes data object on Solaris

2016-11-29 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70191 nsz at gcc dot gnu.org changed: What|Removed |Added Target||i386-*, x86_64-* Last

[Bug target/78945] New: [arm

2016-12-28 Thread nsz at gcc dot gnu.org
at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: ---

[Bug target/78945] [arm] libatomic inline asm is not compatible with armv7-m

2016-12-28 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78945 nsz at gcc dot gnu.org changed: What|Removed |Added Target||arm-* --- Comment #1 from nsz

[Bug c/80237] New: float to double conversion is not optimized away

2017-03-28 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- i get suboptimal code for __attribute__((noinline)) static float f(float x) { return x*x; } static double g(float x) { return x>0 ? f(x) : x+1.0; } float foo(floa

[Bug tree-optimization/57245] Floating-point constant truncation ignores -frounding-math

2017-04-20 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57245 --- Comment #3 from nsz at gcc dot gnu.org --- note that this may cause the omission of underflow, overflow and inexact exceptions too (so in principle it's an invalid transformation even without -frounding-math but with -ftrapping-math ): float

[Bug target/80450] New: -std=c99 breaks -frounding-math on i686

2017-04-18 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- on i686 the following code is miscompiled with -std=c99: void f() { volatile double x = 0x1p-1000*0x1p-1000; } with -S -O2 -frounding-math: f: subl$20, %esp fldl

[Bug target/81800] New: [8 regression] on aarch64 ilp32 lrint should not be inlined as two instructions

2017-08-10 Thread nsz at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- recently lrint is inlined as frintx/fcvtzs on aarch64, but this is not valid on ilp32 where a non-integer double may be out

[Bug target/81800] [8 regression] on aarch64 ilp32 lrint should not be inlined as two instructions

2017-08-10 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81800 --- Comment #1 from nsz at gcc dot gnu.org --- b.c: long f(double x) { return __builtin_lrint(x); } and an example value where the exceptions are wrong is 0x1p32 + 0.5

[Bug c++/81846] New: [arm] constexpr ICE: in cxx_eval_constant_expression, at cp/constexpr.c:4556

2017-08-14 Thread nsz at gcc dot gnu.org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- following c++14 code fails to compile with ice on arm targets: class A { public: constexpr A() { return

[Bug c++/81847] New: ICE: in finish_expr_stmt, at cp/semantics.c:678

2017-08-14 Thread nsz at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- following code fails with ice with gcc 7.1.1: constexpr int nlz(int x) { return __builtin_constant_p(x) ? 0 : 1; } struct A { constexpr A() { nlz(0); } }; constexpr

[Bug c/80756] missing diagnostic on non-constant expression with function call such as fabs or fma in initializer

2017-05-15 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80756 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug tree-optimization/80854] New: hot path is slowed down when the cold return path is merged into it

2017-05-22 Thread nsz at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- i see subomptimal code gen for float foo (float x) { if (__builtin_expect (x > 0, 0)) if (x>2) return 0; retu

[Bug c++/82025] New: ICE: in finish_expr_stmt, at cp/semantics.c:678

2017-08-29 Thread nsz at gcc dot gnu.org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- following code fails with ice with gcc 7.2.1 and gcc 6.3.0 (works on gcc 8): constexpr int nlz(int x) { return __builtin_constant_p(x) ? 0 : 1; } struct A { constexpr

[Bug lto/81925] New: early lto debug link failure on aarch64_be

2017-08-22 Thread nsz at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 42025 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42025=edit save-temps and other output files following wo

[Bug tree-optimization/81982] New: [arm] libstdc++ miscompiled, constant propagation is broken on native arm

2017-08-25 Thread nsz at gcc dot gnu.org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: nsz at gcc dot gnu.org Target Milestone: --- Created attachment 42043 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42043=edit preprocessed libstdc++/libs

  1   2   3   >