[Bug middle-end/96200] Implement __builtin_thread_pointer() and __builtin_set_thread_pointer() if TLS is supported

2020-07-15 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96200 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #1

[Bug libstdc++/95989] Segmentation fault compiling with static libraries and using jthread::request_stop

2020-07-06 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95989 --- Comment #11 from Florian Weimer --- It turns out that libc.a did not contain pthread_self until glibc 2.27. The symbol was only present in libc.so.6 (as a weird forwarder, for compatibility with long-defunct LinuxThreads). This means there

[Bug libstdc++/95989] Segmentation fault compiling with static libraries and using jthread::request_stop

2020-07-01 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95989 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #9

[Bug other/32771] Fixincludes should fix realloc in in glibc

2020-06-28 Thread fw at gcc dot gnu.org
||fw at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED See Also||https://sourceware.org/bugz ||illa/show_bug.cgi?id=4792 --- Comment #4 from Florian Weimer

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2020-04-18 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #26 from Florian Weimer --- (In reply to Florian Weimer from comment #23) > Ahh, I think this bug here is specific to __uint128 (with the C front end at > least) > > The C translation of the C++ reproducer from comment 20: > >

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2020-04-18 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #23 from Florian Weimer --- Ahh, I think this bug here is specific to __uint128 (with the C front end at least) The C translation of the C++ reproducer from comment 20: struct a { long _Alignas(16) x; long y; }; _Bool cmpxchg

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2020-04-18 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #21 from Florian Weimer --- (In reply to Avi Kivity from comment #20) > Note that clang generates cmpxchg16b when the conditions are ripe: > > https://godbolt.org/z/j9Whgh I believe this is a different, C++-specific issue. The C

[Bug c/94615] -Wstringop-truncation warns on strncpy() with struct lastlog (or utmp)

2020-04-16 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94615 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #2

[Bug libffi/70024] [5/6 Regression] libffi ABI change w/o SONAME bump

2020-02-25 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70024 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #10

[Bug preprocessor/80005] cpp expands __has_include() filename parts

2020-01-21 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80005 --- Comment #10 from Florian Weimer --- It only affects RISC-V, and the use is not in an installed header, so I think the glibc case is rather harmless. (But that's only because I watched out for this particular issue and requested changes from

[Bug preprocessor/80005] cpp expands __has_include() filename parts

2020-01-21 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80005 --- Comment #8 from Florian Weimer --- (And now the glibc stable release branches are fixed as well. Oops.)

[Bug preprocessor/80005] cpp expands __has_include() filename parts

2020-01-21 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80005 --- Comment #7 from Florian Weimer --- (In reply to Nathan Sidwell from comment #6) > Reopening. Sadly my fear turned out to be true. real code out there > presumes __has_include__ (with the trailing underbars) is how to get at this > feature.

[Bug ipa/92372] [10 Regression] ICE in ipa_update_overall_fn_summary at gcc/ipa-fnsummary.c:3671 since r277780

2020-01-21 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92372 --- Comment #6 from Florian Weimer --- Created attachment 47686 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47686=edit Preprocessed C++ sources from graph-tool (In reply to Martin Liška from comment #5) > (In reply to Florian Weimer

[Bug ipa/92372] [10 Regression] ICE in ipa_update_overall_fn_summary at gcc/ipa-fnsummary.c:3671 since r277780

2020-01-21 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92372 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #4

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-13 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #93 from Florian Weimer --- (In reply to Viktor Ostashevskyi from comment #92) > I've tried to run some old binaries yesterday (StarOffice 5.1, get it from > archive.org) and hit this bug. > > What are possible workarounds? You

[Bug c/85678] -fno-common should be default

2019-11-25 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678 --- Comment #13 from Florian Weimer --- (In reply to Wilco from comment #12) > Giving errors on old-style code by default sounds like a good idea. We could > add -std=legacy similar to Fortran to support building old K code (and > that would

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-11-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #16 from Florian Weimer --- (In reply to rdapp from comment #15) > Any feedback on the two options I proposed? Is the .S file variant (I posted > last) ok? I'd prefer the patch from comment 13, but I'm not a GCC developer. You

[Bug target/92499] New: nios2 backend needs to allocated object size, not C object size for gprel optimization

2019-11-13 Thread fw at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Target: nios2-elf Consider this test case: enum { size = 100 }; struct flexible { int length; int

[Bug c++/92425] Incorrect logical AND on 64bit variable using 32bit register

2019-11-08 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92425 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/92039] [10 Regression] Spurious -Warray-bounds warnings building 32-bit glibc

2019-11-03 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92039 --- Comment #6 from Florian Weimer --- *** Bug 92337 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2019-11-03 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 92337, which changed state. Bug 92337 Summary: Bogus -Werror=array-bounds below array bounds warning in glibc stdlib/strtod_l.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92337 What|Removed

[Bug tree-optimization/92337] Bogus -Werror=array-bounds below array bounds warning in glibc stdlib/strtod_l.c

2019-11-03 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92337 Florian Weimer changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/92337] Bogus -Werror=array-bounds below array bounds warning in glibc stdlib/strtod_l.c

2019-11-03 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92337 --- Comment #1 from Florian Weimer --- Note: 31-bit s390 and 32-bit powerpc also match the triggering conditions, and glibc fails to build there, too.

[Bug tree-optimization/92337] New: Bogus -Werror=array-bounds below array bounds warning in glibc stdlib/strtod_l.c

2019-11-03 Thread fw at gcc dot gnu.org
: diagnostic Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Created attachment 47160 --> https://gcc.gnu.org/bugzilla/attachment.cgi

[Bug c/92086] Provide way to avoid saving callee-saved registers in functions without callers

2019-10-14 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92086 --- Comment #4 from Florian Weimer --- (In reply to Andrew Pinski from comment #1) > I dont see this helping code in real life programs. Can you explain where > you think this could be used? The thread start routine wrapper in glibc. On

[Bug c/92086] Provide way to avoid saving callee-saved registers in functions without callers

2019-10-14 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92086 --- Comment #3 from Florian Weimer --- It also saves stack space. I'm not sure if it is prudent to repurpose noreturn+nothrow for this. There might be existing such functions where people expect to see a full call stack. Something more

[Bug c/92086] New: Provide way to avoid saving callee-saved registers in functions without callers

2019-10-14 Thread fw at gcc dot gnu.org
: missed-optimization Severity: enhancement Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- In some cases, it is desirable as an optimization not to save any callee-saved

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-04 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #10 from Florian Weimer --- (In reply to rdapp from comment #9) > I opted for inline assembly to make sure r12 is not changed directly before > the function call. Do you have an idea to guarantee this in another way? Wouldn't an

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-04 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #8 from Florian Weimer --- (In reply to rdapp from comment #7) > Created attachment 46817 [details] > Proposed patch using __tls_get_offset > > I drafted a patch that uses __tls_get_offset instead of the internal symbol > following

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-02 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #6 from Florian Weimer --- __tls_get_offset looks like this: __tls_get_offset: la %r2,0(%r2,%r12) jg __tls_get_addr The caller should be able to prepare for the la instruction, by subtracting r12 from r2.

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-09-02 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 --- Comment #4 from Florian Weimer --- (In reply to Iain Buclaw from comment #3) > The use of the function is for the garbage collector to be able to scan > native TLS data. > > The logic of said function pretty much matches what the glibc

[Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output

2019-09-01 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 --- Comment #18 from Florian Weimer --- I'm going to request a CVE ID for this.

[Bug d/91628] libdruntime uses glibc internal symbol on s390

2019-08-31 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #2

[Bug c/91092] Error on implicit function declarations by default

2019-08-06 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 --- Comment #16 from Florian Weimer --- (In reply to Vincent Lefèvre from comment #15) > (In reply to Florian Weimer from comment #14) > > (In reply to Vincent Lefèvre from comment #13) > > > By "implicit function declarations", does this

[Bug c/91092] Error on implicit function declarations by default

2019-08-06 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 --- Comment #14 from Florian Weimer --- (In reply to Vincent Lefèvre from comment #13) > By "implicit function declarations", does this include K style > declarations? No, there is nothing implicit about them. > I've found out a few days ago

[Bug tree-optimization/91227] pointer relational expression not folded but equivalent inequality is

2019-07-29 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91227 --- Comment #13 from Florian Weimer --- (In reply to Marc Glisse from comment #12) > (In reply to Florian Weimer from comment #11) > > GCC on ELF provides defined address ordering for separate objects via linker > > ordering and section

[Bug tree-optimization/91227] pointer relational expression not folded but equivalent inequality is

2019-07-26 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91227 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #11

[Bug target/91174] Suboptimal code for arithmetic with bool and char

2019-07-16 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91174 Florian Weimer changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/91174] Suboptimal code for arithmetic with bool and char

2019-07-16 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91174 --- Comment #3 from Florian Weimer --- (In reply to Antony Polukhin from comment #2) > (In reply to Florian Weimer from comment #1) > > For which ABI do you propose the change? It's not correct for GNU/Linux: > > As far as I understand the

[Bug middle-end/91174] Suboptimal code for arithmetic with bool and char

2019-07-15 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91174 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #1

[Bug c/91092] Error on implicit function declarations by default

2019-07-05 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 --- Comment #9 from Florian Weimer --- (In reply to Andreas Schwab from comment #8) > What about cmake, metaconfig, meson, scons, ... I hope that the more modern things get this correct and encourage more high-level checks. I plan to build

[Bug c/91092] Error on implicit function declarations by default

2019-07-05 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 --- Comment #7 from Florian Weimer --- (In reply to Jonathan Wakely from comment #5) > Would an ugly but pragmatic approach be possible? e.g. if the first line of > the translation unit is "/* confdefs.h */ then assume GCC is being invoked > by

[Bug c/91092] Error on implicit function declarations by default

2019-07-05 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092 --- Comment #2 from Florian Weimer --- Current util-linux is an example: $ ./configure […] checking wchar_t support... yes […] $ ./configure CC="gcc -Werror=implicit-function-declaration" […] configure: WARNING: wchar_t support not found; not

[Bug c/91093] New: Error on implicit int by default

2019-07-05 Thread fw at gcc dot gnu.org
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Once configure scripts have been cleaned up (and we have verified this for Fedora and perhaps Debian), c99/gnu99/c11/gnu11 modes should all default to emitting

[Bug c/91092] New: Error on implicit function declarations by default

2019-07-05 Thread fw at gcc dot gnu.org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Once configure scripts have been cleaned up (and we have verified this for Fedora and perhaps Debian), c99/gnu99/c11/gnu11 mode should all

[Bug tree-optimization/90579] Huge store forward stall due to vectorizer

2019-06-07 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90579 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org See

[Bug c++/90569] __STDCPP_DEFAULT_NEW_ALIGNMENT__ is wrong for i386-pc-solaris2.11

2019-05-23 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90569 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #8

[Bug c++/90485] New: Improve error message for throw/noexcept/const after function attribute

2019-05-15 Thread fw at gcc dot gnu.org
: diagnostic Severity: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Consider this: void f1() __attribute__ ((__noreturn__)) throw (); void f2() __attribute__ ((__noreturn__

[Bug libstdc++/90370] Does 0 correspond to a POSIX errno value for std::system_category?

2019-05-10 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90370 --- Comment #5 from Florian Weimer --- (In reply to Florian Weimer from comment #4) > (In reply to Jonathan Wakely from comment #3) > > The issue is basically that the C++ Standard Library defines two categories > > for error numbers known to

[Bug libstdc++/90370] Does 0 correspond to a POSIX errno value for std::system_category?

2019-05-10 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90370 --- Comment #4 from Florian Weimer --- (In reply to Jonathan Wakely from comment #3) > The issue is basically that the C++ Standard Library defines two categories > for error numbers known to the implementation: "generic" and "system", where >

[Bug libstdc++/90370] Does 0 correspond to a POSIX errno value for std::system_category?

2019-05-08 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90370 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/90245] A data race with a segmentation fault handler

2019-04-25 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90245 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #2

[Bug target/65886] [5/6 Regression] Copy reloc in PIE incompatible with DSO created by -Wl,-Bsymbolic

2019-04-23 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #38

[Bug go/90110] [9 Regression] libgo fails to build against glibc 2.19

2019-04-17 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90110 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #8

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-04-16 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #49 from Florian Weimer --- (In reply to Bernd Edlinger from comment #48) > (In reply to Florian Weimer from comment #47) > > (In reply to Bernd Edlinger from comment #43) > > > does anybody know what is the Ada and/or D syntax for

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-04-15 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #47 from Florian Weimer --- (In reply to Bernd Edlinger from comment #43) > does anybody know what is the Ada and/or D syntax for that? Syntax for what? I fear we need eagerly load all vector registers before calling the

[Bug c++/89923] printf format check and char8_t

2019-04-04 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89923 --- Comment #3 from Florian Weimer --- But the precedent with wchar_t is that the type of the format string determines the type of the %s arguments. I'm not sure if that's a good precedent, but it's what we have today.

[Bug libgcc/60790] libatomic convenience library selects IFUNC implementation before obtaining cpu info.

2019-03-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60790 Florian Weimer changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgcc/60790] libatomic convenience library selects IFUNC implementation before obtaining cpu info.

2019-03-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60790 --- Comment #14 from Florian Weimer --- Author: fw Date: Wed Mar 20 10:42:35 2019 New Revision: 269818 URL: https://gcc.gnu.org/viewcvs?rev=269818=gcc=rev Log: PR libgcc/60790: x86: Do not assume ELF constructors run before IFUNC resolvers

[Bug libfortran/88805] hidden symbol `__cpu_model' is referenced by DSO

2019-03-14 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88805 Florian Weimer changed: What|Removed |Added Status|NEW |WAITING See Also|

[Bug libfortran/88805] hidden symbol `__cpu_model' is referenced by DSO

2019-03-14 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88805 --- Comment #7 from Florian Weimer --- Related mailing list discussion: https://gcc.gnu.org/ml/gcc/2019-03/msg00106.html

[Bug libfortran/88805] hidden symbol `__cpu_model' is referenced by DSO

2019-03-14 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88805 --- Comment #6 from Florian Weimer --- Note: Current libtool does not know about the need for linking against libgcc.a, either, so this should be fixed by changing how libgcc and libgcc_s are linked, not in the compiler drivers.

[Bug libfortran/88805] hidden symbol `__cpu_model' is referenced by DSO

2019-03-14 Thread fw at gcc dot gnu.org
||fw at gcc dot gnu.org --- Comment #5 from Florian Weimer --- I can reproduce this using g++ and gcc-8.3.1-2.fc29.x86_64, with this test file: static int implementation_avx2 (void) { return 1; } static int implementation (void) { return 0; } static __typeof__ (implementation

[Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc

2019-02-27 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #4

[Bug target/89146] New: arm: "nor" constraint prefers memory reference over constant

2019-01-31 Thread fw at gcc dot gnu.org
ty: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Target: armv7l-unknown-linux-gnueabihf This example: #define C "nor" void f (int *x) { asm volatile ("

[Bug target/88917] [8/9 Regression] Error: can't resolve `.text' {.text section} - `.LCFI2' {.text.unlikely section} with -fno-dwarf2-cfi-asm

2019-01-31 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88917 Florian Weimer changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug preprocessor/89142] Allow poisoning identifier from the command line

2019-01-31 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89142 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #2

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-01-29 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #20 from Florian Weimer --- (In reply to Ramana Radhakrishnan from comment #15) > Created attachment 45552 [details] > new patch. > > Testing this and would be grateful for a test run. I can confirm that this patch fixes the glibc

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-01-29 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #18 from Florian Weimer --- (In reply to Ramana Radhakrishnan from comment #15) > Created attachment 45552 [details] > new patch. > > Testing this and would be grateful for a test run. Is this hunk needed as well, or will the

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-01-29 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #17 from Florian Weimer --- (In reply to Ramana Radhakrishnan from comment #15) > Created attachment 45552 [details] > new patch. > > Testing this and would be grateful for a test run. I believe the #pragma GCC push_options needs

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-01-28 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #6 from Florian Weimer --- Okay, please assume that __gxx_personality_v0 is a red herring. Apparently, there is unwinding information for VFP registers, too.

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-01-28 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #4 from Florian Weimer --- So I'm not really an Arm person or a GCC person, but doesn't the personality routine call the landing pad, as identified by the LDSA? And then that ends with a call to __cxa_end_cleanup, which is clear a

[Bug c++/89093] New: C++ exception handling clobbers d8 VFP register

2019-01-28 Thread fw at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Target: armv7l-unknown-linux-gnueabihf In glibc, we have a test, nptl/tst-thread-exit-clobber, that attempts to verify if registers are properly restored by unwinding

[Bug c/88993] GCC 9 -Wformat-overflow=2 should reflect real libc limits

2019-01-22 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88993 --- Comment #4 from Florian Weimer --- (In reply to Jakub Jelinek from comment #3) > Rather than warning about this the bugs should be fixed, there is no reason > why glibc needs to malloc memory for these cases. I completely agree. The

[Bug target/88892] [8/9 Regression] Double-to-float conversion uses wrong rounding mode when followed by memcpy

2019-01-17 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892 --- Comment #6 from Florian Weimer --- (In reply to Eric Gallager from comment #5) > This is one of the reasons -Wfloat-conversion exists: > > $ gcc -c -Wall -Wextra -Wfloat-conversion -Wdouble-promotion > -Wunsuffixed-float-constants

[Bug target/88892] [8/9 Regression] Double-to-float conversion uses wrong rounding mode when followed by memcpy

2019-01-17 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892 --- Comment #4 from Florian Weimer --- Eh, forget what I wrote. The pattern *is* used. r253210 looks definitely to blame.

[Bug target/88892] [8/9 Regression] Double-to-float conversion uses wrong rounding mode when followed by memcpy

2019-01-17 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892 --- Comment #3 from Florian Weimer --- Started with r253210. I don't think the new pattern is used in this case, so maybe this is a pre-existing latent bug.

[Bug target/88892] [8/9 Regression] Double-to-float conversion uses wrong rounding mode when followed by memcpy

2019-01-17 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892 Florian Weimer changed: What|Removed |Added Keywords||wrong-code

[Bug target/88892] New: Double-to-float conversion uses wrong rounding mode when followed by memcpy

2019-01-17 Thread fw at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Target: powerpc64le-redhat-linux-gnu With gcc-8.2.1-6.fc28.ppc64le, this code void f (double d, char *target

[Bug tree-optimization/88793] Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-11 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 Florian Weimer changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/88793] Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-10 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 --- Comment #2 from Florian Weimer --- (In reply to Alexander Monakov from comment #1) > (In reply to Florian Weimer from comment #0) > > However, optimizing for size is a very big hammer and causes substantial > > performance issues on i386 and

[Bug tree-optimization/88793] New: Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-10 Thread fw at gcc dot gnu.org
: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- The documentation says this: 'cold' The 'cold

[Bug lto/48200] Implement function attribute for symbol versioning (.symver)

2019-01-04 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 --- Comment #28 from Florian Weimer --- It seems that using symbol aliases (via .symver) in conjunction with LTO and a version script which has a local: * clause causes the LTO plugin to assume that the aliased function definitions are not

[Bug c/88576] -fno-math-errno causes GCC to consider that malloc does not set errno

2018-12-22 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #6

[Bug middle-end/88560] [9 Regression] armv8_2-fp16-move-1.c and related regressions after r260385

2018-12-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88560 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/88240] Potential optimization bug: invalid pre-load of floating-point value could cause SIGFPE-underflow if value is integer

2018-11-29 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88240 --- Comment #9 from Florian Weimer --- (In reply to Thomas De Schampheleire from comment #6) > (In reply to Florian Weimer from comment #5) > > This is QEMU with TCG, right? It could be an i387 emulation bug. > > I don't think so. Isn't it so

[Bug tree-optimization/88240] Potential optimization bug: invalid pre-load of floating-point value could cause SIGFPE-underflow if value is integer

2018-11-28 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88240 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #5

[Bug c/88088] -Wtrampolines should be enabled by -Wall (or -Wextra)

2018-11-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88088 --- Comment #8 from Florian Weimer --- (In reply to Segher Boessenkool from comment #7) > The number of targets where such a warning is meaningless is _big_, that is > the point (most of the (older) embedded targets). There are a lot of targets

[Bug c/88088] -Wtrampolines should be enabled by -Wall (or -Wextra)

2018-11-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88088 --- Comment #6 from Florian Weimer --- I'm not a fan of target-specific warnings. In this case, the number of targets where this the warning would not be appropriate would be vanishingly small, though, so I do not think this is a problem in

[Bug libgcc/71744] Concurrently throwing exceptions is not scalable

2018-11-19 Thread fw at gcc dot gnu.org
||2018-11-19 Assignee|unassigned at gcc dot gnu.org |fw at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #31 from Florian Weimer --- (In reply to Martin Liška from comment #30) > Jakub: Can the bug be marked as resolved?

[Bug libgcc/60790] libatomic convenience library selects IFUNC implementation before obtaining cpu info.

2018-11-19 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60790 --- Comment #13 from Florian Weimer --- My GCC 8 backport has not been reviewed yet: https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00524.html

[Bug libstdc++/87855] std::optional only copy-constructible if T is trivially copy-constructible

2018-11-19 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #15

[Bug c/66298] -Wmisleading-indentation should also detect missing indentation

2018-11-07 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66298 --- Comment #3 from Florian Weimer --- This would also help to detect the incorrect pragma placement in bug 63326: int main() { int result = 1; if (result < 0) #pragma GCC diagnostic ignored "-Wunused-result" return result; return 0;

[Bug target/84039] x86 retpolines and CFI

2018-10-01 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84039 Florian Weimer changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/87421] GCC generates unaligned movdqa

2018-09-24 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87421 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #2

[Bug target/87414] New: -mindirect-branch=thunk produces thunk with incorrect CFI on x86_64

2018-09-24 Thread fw at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org CC: hjl.tools at gmail dot com Target Milestone: --- Target: x86_64 GCC 9.0.0 (20180924) generates

[Bug target/83970] -mindirect-branch=thunk -fno-plt generates CET-incompatible thunk

2018-09-24 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83970 --- Comment #1 from Florian Weimer --- Bug 87412 is a related issue, but without -fno-plt.

[Bug target/87412] New: -fcf-protection and -mindirect-branch=thunk are incompatible on x86_64

2018-09-24 Thread fw at gcc dot gnu.org
-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Target: x86_64 Consider this test program: __attribute__ ((weak)) int f1 (int (*f2) (void

[Bug target/87411] -fcf-protection -mindirect-branch=thunk incorrectly marked as CET

2018-09-24 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87411 Florian Weimer changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/87411] New: -fcf-protection -mindirect-branch=thunk incorrectly

2018-09-24 Thread fw at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fw at gcc dot gnu.org Target Milestone: --- Target: x86_64

<    1   2   3   4   5   >