Bug c++/19317 still appears to exist

2005-09-24 Thread me
Hi, Whilst this bug has been marked as resolved, I am still experiencing the same problems (with arts-1.4.91 - the version shipped with KDE 35. Beta 1). My gcc version info : gcc (GCC) 4.1.0 20050924 (experimental) The following is the stack dump for the problem: --

[Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2008-12-27 Thread davejmurphy at me dot com
--- Comment #4 from davejmurphy at me dot com 2008-12-27 21:46 --- Created an attachment (id=16992) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16992&action=view) preprocessed source for arm-eabi testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282

[Bug target/30282] Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none

2008-12-27 Thread davejmurphy at me dot com
--- Comment #5 from davejmurphy at me dot com 2008-12-27 21:48 --- (From update of attachment 16992) I've tripped over this bug on arm-eabi too, with this code, compiled as thumb. extern int doStreamReadBlock(int *, char *, int size, int); char readStream(int *s) { char

[Bug c/38644] New: Optimization flag -O1 -fschedule-insns2 causes wrong code

2008-12-27 Thread davejmurphy at me dot com
c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: davejmurphy at me dot com GCC build triplet: i386-apple-darwin9.6.0 GCC host triplet: i386-apple-darwin9.6.0 GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644

[Bug c/38644] Optimization flag -O1 -fschedule-insns2 causes wrong code

2008-12-27 Thread davejmurphy at me dot com
--- Comment #1 from davejmurphy at me dot com 2008-12-27 22:10 --- Created an attachment (id=16993) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16993&action=view) preprocessed source for arm-eabi testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644

[Bug web/3119] Broken gcc mailing list archives

2005-12-09 Thread me at cgf dot cx
--- Comment #8 from me at cgf dot cx 2005-12-10 05:45 --- Subject: Re: Broken gcc mailing list archives On Sat, Dec 10, 2005 at 05:30:21AM -, pinskia at gcc dot gnu dot org wrote: > >-- > >pinskia at gcc dot gnu dot org changed: > >

[Bug target/92318] Nondeterministic ICE with -mcmodel=large -O2

2020-03-13 Thread me at cgf dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92318 --- Comment #8 from cgf at gcc dot gnu.org --- email from sourceware

[Bug target/94391] gcc refers to absolute symbols with R_X86_64_PC32 relocation

2020-03-29 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94391 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #5 from

[Bug target/94391] gcc refers to absolute symbols with R_X86_64_PC32 relocation

2020-03-29 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94391 --- Comment #6 from Fangrui Song --- > It is incorrect to reference a non-preemptible symbol with a PC relative > relocation in a -pie link. GNU ld allows it but the code can be incorrect at > runtime. Correction: It is incorrect to reference

[Bug target/94391] gcc refers to absolute symbols with R_X86_64_PC32 relocation

2020-03-29 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94391 --- Comment #10 from Fangrui Song --- > extern unsigned long _binary_a_c_size; > unsigned long foo() { return _binary_a_c_size; } This is incorrect. The code will treat the value of _binary_a_c_size as an address (load base + size) and dereferen

[Bug target/94391] gcc refers to absolute symbols with R_X86_64_PC32 relocation

2020-03-30 Thread i at maskray dot me
rrect usage for your use case. If you don't like it is not > my fault. A wontfix/invalid does not seem a proper resolution to the bug(s). We need a solution, instead of a workaround (SHN_ABS _binary_*_size can be changed to _binary_*_end minus _binary_*_start). Let me repeat. The code has

[Bug preprocessor/94535] New: __LINE__ value changed for macro invocations spanning multiple lines

2020-04-08 Thread alisdairm at me dot com
Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- Given the following simple program, the line that static_asserts changed from gcc 8 to gcc 9 (and remains so for current trunk

[Bug preprocessor/94535] __LINE__ value changed for funciton macro invocations spanning multiple lines

2020-04-08 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94535 --- Comment #2 from Alisdair Meredith --- Thanks for the speedy response, really appreciated! I believe this is well-defined behavior, but can accept that the value of __LINE__ may be unspecified - I do struggle with pre-processor wording. Ther

[Bug preprocessor/94535] __LINE__ value changed for function-like macro invocations spanning multiple lines

2020-04-08 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94535 --- Comment #4 from Alisdair Meredith --- (In reply to Andrew Pinski from comment #3) > I miss-remembered the issue, the issue was only with preprocessor directives > inside macro functions (this changed in GCC 3.3 and above really). > > But I

[Bug preprocessor/94535] __LINE__ value changed for function-like macro invocations spanning multiple lines

2020-04-08 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94535 --- Comment #8 from Alisdair Meredith --- (In reply to Andrew Pinski from comment #6) > Why not do this: > static_assert(X == 3 || X == 4); > > There that works for both cases. The code example was intended to the be smallest reproducible examp

[Bug preprocessor/94535] __LINE__ value changed for function-like macro invocations spanning multiple lines

2020-04-08 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94535 --- Comment #9 from Alisdair Meredith --- (In reply to Martin Sebor from comment #7) > The following proposal was accepted into C2X last year: > http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2322.htm > It seems to me like it&#x

[Bug preprocessor/94535] __LINE__ value changed for function-like macro invocations spanning multiple lines

2020-04-08 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94535 --- Comment #10 from Alisdair Meredith --- And double-checking the C++ Standard again, I think I have wording in favor of my report and contradicting the recommended best practice for the pending C standard: [cpp.line]p2 "The line number of the

[Bug preprocessor/77488] Proposal for __FILENAME_ONLY__

2020-04-25 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77488 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #8 from

[Bug c++/91867] Internal compiler error in simple for(auto) loop when using -std=c++11 with -fconcepts

2020-05-10 Thread me at myrrec dot space
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91867 me at myrrec dot space changed: What|Removed |Added CC||me at myrrec dot space

[Bug target/95095] New: Feature request: support -fno-unique-section-names

2020-05-12 Thread i at maskray dot me
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me Target Milestone: --- -ffunction-sections produces sections .text.foo , .text.bar , etc, which can take significant amount of string table space. In clang, -fno-unique-section-names emits

[Bug debug/95096] New: Feature request: add -fsplit-dwarf

2020-05-12 Thread i at maskray dot me
Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me Target Milestone: --- -gsplit-dwarf has an undesired property: it sets the debug info level to 2. When plugged into a build system, this can enable debug info unnecessarily (when the user does not specify -g or

[Bug debug/95096] Feature request: add -fsplit-dwarf

2020-05-12 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95096 --- Comment #1 from Fangrui Song --- Created https://sourceware.org/pipermail/gcc-patches/2020-May/545638.html

[Bug c++/95153] New: Arrays of 'const void *' should not be copyable

2020-05-15 Thread alisdairm at me dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- In general, we do not expect array types to be copyable according to the 'is_copy_constructible_v' trait. However, the following started passing

[Bug c++/95153] Arrays of 'const void *' should not be copyable

2020-05-15 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95153 --- Comment #1 from Alisdair Meredith --- Forgot to add this is specific to -std=c++20 too.

[Bug preprocessor/94535] __LINE__ value changed for function-like macro invocations spanning multiple lines

2020-05-15 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94535 --- Comment #13 from Alisdair Meredith --- As this has shipped for two releases now (gcc9 and 10) I recommend closing as Works As Designed, citing C standard paper N2322 as reason for the change.

[Bug c/95189] New: memcmp being wrongly stripped (regression)

2020-05-18 Thread gcc at pkh dot me
Assignee: unassigned at gcc dot gnu.org Reporter: gcc at pkh dot me Target Milestone: --- Given the following C code: % cat a.c #include static const float z[1] = {0}; int f(float x) { return memcmp(&x, z, sizeof(x)); } GCC 10 generates this on x8

[Bug target/95095] Feature request: support -fno-unique-section-names

2020-05-24 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95095 --- Comment #1 from Fangrui Song --- I just learned that `int main() {}` compiles to .text.startup in -O2 or -Os It seems that .text.startup. may be better to not accidentally move a C function named `startup` (`startup.` is not a valid C identi

[Bug debug/95482] New: Feature request: add -gsplit-dwarf=single

2020-06-02 Thread i at maskray dot me
: debug Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me Target Milestone: --- DWARF v5 Appendix F. says > The sections that do not require relocation, however, can be written to the > relocatable object (.o) file but ignored by the linker, or they

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-06-09 Thread gcc at pkh dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 --- Comment #5 from gcc at pkh dot me --- I'd like to point out that this regression impacts badly a production app. We're using this pattern to compare an input vector of floats to a vector of zeros, but the comparison always ret

[Bug target/96026] New: overlap register bewteen DEST and SOURCE in different machine mode

2020-07-02 Thread rjiejie at me dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- GCC seems to overlap register bewteen DEST and SOURCE in different machine mode, e.g. RISCV vector extension: when VMUL > 1, most

[Bug libstdc++/96074] New: Associative containers never propagate allocator on copy assignment

2020-07-06 Thread alisdairm at me dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- Created attachment 48834 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48834&action=edit Validate allocator propagat

[Bug c++/95153] Arrays of 'const void *' should not be copyable in C++20

2020-07-06 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95153 --- Comment #3 from Alisdair Meredith --- Sorry, thought I had confirmed that I agree with the analysis above - this is a (perhaps surprising) change to the specification of C++20. What is the best way to withdraw this report as invalid?

[Bug gcov-profile/96092] New: Should --coverage respect -ffile-prefix-map?

2020-07-06 Thread i at maskray dot me
: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me CC: marxin at gcc dot gnu.org Target Milestone: --- % gcc-10 -ffile-prefix-map=/tmp/c=/src --coverage -c -g /tmp/c/a.c # -ffile-prefix-map implies -fdebug-prefix-map % llvm

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2020-07-09 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 jojo changed: What|Removed |Added CC||rjiejie at me dot com --- Comment #35 from jojo

[Bug gcov-profile/96092] Should --coverage respect -ffile-prefix-map?

2020-07-11 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96092 --- Comment #3 from Fangrui Song --- (In reply to Martin Liška from comment #2) > Apparently we've got a patch in queue that does something similar: > > +fprofile-prefix-path= > +Common·Joined·RejectNegative·Var(profile_prefix_path) > +remove·p

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2020-07-12 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 --- Comment #38 from jojo --- (In reply to Martin Liška from comment #36) > (In reply to jojo from comment #35) > > (In reply to Martin Liška from comment #30) > > > A possible solution can be usage of '-flinker-output=nolto-rel -r' for > > > hu

[Bug driver/93645] Support Clang 12 --ld-path=

2020-07-24 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645 --- Comment #4 from Fangrui Song --- https://sourceware.org/pipermail/gcc-patches/2020-July/550659.html [PATCH v3] Add --ld-path= to specify an arbitrary executable as the linker I changed the title to --ld-path because -fuse-ld=/absolute/path/

[Bug ipa/96352] New: inflated text section with ipa inline

2020-07-28 Thread rjiejie at me dot com
Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 48942 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48942&action=edit inflated text section with ipa inline

[Bug c/96368] New: False negative with maybe-uninitialized with goto

2020-07-29 Thread felix at piedallu dot me
: c Assignee: unassigned at gcc dot gnu.org Reporter: felix at piedallu dot me Target Milestone: --- Created attachment 48951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48951&action=edit minimal code for missing maybe-uninitialized warning There are cases wh

[Bug c/96368] False negative with maybe-uninitialized with goto

2020-07-29 Thread felix at piedallu dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96368 Salamandar changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #2 from Salamandar --

[Bug ipa/96352] inflated text section with ipa inline

2020-07-29 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96352 --- Comment #2 from jojo --- (In reply to Richard Biener from comment #1) > It was a bugfix. If you want to have small binaries use -Os. You can also > tune the inliner with various knobs, the most important maybe > --param inline-unit-growth w

[Bug middle-end/192] String literals don't obey -fdata-sections

2020-09-15 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #19 from

[Bug gcov-profile/97062] New: [gcov] Don't repeat display of inline functions in headers

2020-09-15 Thread i at maskray dot me
ormal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me CC: marxin at gcc dot gnu.org Target Milestone: --- This is a minor display issue. >a.cc cat<b.cc cat<a.h cat<

[Bug gcov-profile/91601] gcov: ICE in handle_cycle, at gcov.c:699 happen which get code coverage with lcov.

2020-09-15 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91601 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #17 from

[Bug gcov-profile/97065] New: Support -fprofile-update=set (boolean counters)

2020-09-16 Thread i at maskray dot me
: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me CC: marxin at gcc dot gnu.org Target Milestone: --- I can understand that defaulting -fprofile-update=prefer-atomic in GCC 7 and using atomic counters when -pthread is

[Bug gcov-profile/85351] [GCOV] Wrong coverage with exit() executed in a if statement within a called function

2020-09-16 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85351 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #5 from

[Bug driver/93645] Support Clang 12 --ld-path=

2020-09-17 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645 --- Comment #5 from Fangrui Song --- Ping

[Bug rtl-optimization/97170] New: Wrong optimization in fwprop pass

2020-09-22 Thread rjiejie at me dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- insn seqs: s1: __builtin_set_float_convert_mode(0); r1 = __builtin_load(a1, a2); r2 = __builtin_float_convert(r1); __builtin_store(a3, r2

[Bug rtl-optimization/97170] Wrong optimization in fwprop pass

2020-09-23 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97170 --- Comment #2 from jojo --- (In reply to Andrew Pinski from comment #1) > target_fcvt is wrong. > try: > (define_insn "target_fcvt" > [(set (match_operand:SI 0 "register_operand" "=r") > (unspec:SI [(match_operand:SF 1 "register_operan

[Bug c++/92138] New: Compiler does not define __CPP_THREADS__ when multiple threads are supported

2019-10-17 Thread alisdairm at me dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- According to [cpp.predefined], the __CPP_THREADS__ macro should be (implicitly) predefined "if and only if a program can

[Bug c++/92138] Compiler does not define __CPP_THREADS__ when multiple threads are supported

2019-10-17 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92138 Alisdair Meredith changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/63287] __STDCPP_THREADS__ is not defined

2019-10-17 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63287 Alisdair Meredith changed: What|Removed |Added CC||alisdairm at me dot com --- Comment

[Bug c/92257] New: AVX512 incorrect usage of aligned loads and stores

2019-10-28 Thread ilya at alfs dot me
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ilya at alfs dot me Target Milestone: --- Hello, I had few segmentation faults while writing AVX512 code. SEGFAULTs were caused by aligned loads used when data alignment can not be guaranteed in compile time. test.c

[Bug target/92257] AVX512 incorrect usage of aligned loads and stores

2019-10-28 Thread ilya at alfs dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92257 --- Comment #2 from Ilya Albrekht --- Thank you for your prompt reply. I missed that __m512i_u type exists to avoid alignment requirement. PS. I guess you meant 512 bit? Regards, Ilya

[Bug c++/92413] New: [temp.explicit] Explicit template instantiations should not define member functions that are not defined at the point of instantiation

2019-11-07 Thread i at maskray dot me
Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me Target Milestone: --- https://wg21.cmeerw.net/cwg/issue546 Change 17.8.2

[Bug c++/67228] Template partial ordering failure ambiguous overload

2019-11-19 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67228 Alisdair Meredith changed: What|Removed |Added CC||alisdairm at me dot com --- Comment

[Bug c++/69089] C++11: alignas(0) causes an error

2019-11-25 Thread tom at geus dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69089 Tom de Geus changed: What|Removed |Added CC||tom at geus dot me --- Comment #7 from

[Bug c++/92672] New: OpenMP shared clause not respected without pointer to the variable

2019-11-26 Thread me at cimba dot li
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: me at cimba dot li Target Milestone: --- It seems that if the address of a stack variable is never taken, it is treated by child OpenMP tasks with firstprivate semantics, even though

[Bug c++/92752] New: Bogus "ignored qualifiers" warning on const-qualified pointer-to-member-function objects

2019-12-02 Thread alisdairm at me dot com
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- We are seeing a bogus warning on the default constructor for a class template that wraps a data mem

[Bug c/93045] New: gc bug with test "start_unit-test-1.c"

2019-12-22 Thread rjiejie at me dot com
mponent: c Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- /lhome/software/jojo/csky-toolchain-build-riscv/build-riscv64-linux-glibc-opt4mabi-lp64_march-rv64gc/gcc-riscv/build-gcc-linux-stage2/gcc/xgcc -B/lhome/software/jojo/csky-toolc

[Bug c/93194] New: -fpatchable-function-entries : __patchable_function_entries has wrong sh_flags and sh_addralign

2020-01-07 Thread i at maskray dot me
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me Target Milestone: --- % cat a.c void f(){} % gcc -fpatchable-function-entry=3 -c a.c % readelf -S a.o ... [Nr

[Bug middle-end/93194] -fpatchable-function-entries : __patchable_function_entries has wrong sh_flags and sh_addralign

2020-01-07 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93194 --- Comment #1 from Fangrui Song --- The SHF_WRITE issue has been fixed. https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00271.html will fix sh_addralign

[Bug middle-end/93195] New: -fpatchable-function-entries : __patchable_function_entries should consider comdat groups

2020-01-07 Thread i at maskray dot me
: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me Target Milestone: --- % cat a.cc inline void foo() {} void bar() { foo(); } % cat b.cc inline void foo() {} void

[Bug middle-end/93197] New: -fpatchable-function-entries : __patchable_function_entries does not survive under --gc-sections

2020-01-08 Thread i at maskray dot me
Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me Target Milestone: --- __patchable_function_entries is not a GC root, and not referenced by a retained

[Bug c++/93257] New: consteval functions returning 'void' are rejected when called

2020-01-13 Thread alisdairm at me dot com
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- The following simple program is accepted by Clang (trunk) and rejected by current gcc (trunk) at the time of filing: template cons

[Bug c++/93257] consteval functions returning 'void' are rejected when called

2020-01-14 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93257 --- Comment #2 from Alisdair Meredith --- I am trying to use these extensively as ways to collect related static assertions in my test suite for and . By using consteval rather then constexpr, I get notified if any code is unexpectedly deferred

[Bug c++/92672] OpenMP shared clause not respected without pointer to the variable

2020-01-30 Thread me at cimba dot li
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92672 --- Comment #3 from Cimbali --- Would it be possible to deactivate that optimization when shared is not the default mapping? In practice here explicitly setting `shared(i)` has no effect at all. Note that I already recommended against such trick

[Bug target/92424] [aarch64] Broken code with -fpatchable-function-entry and BTI

2020-01-30 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92424 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #8 from

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-01-30 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #2 from

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-01-31 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 --- Comment #7 from Fangrui Song --- > Is -fasynchronous-unwind-tables compatible with -fpatchable-function-entry? Apparently the Linux kernel does not care about it. To make it usable in userspace, we should place .cfi_startproc in a reasonable

[Bug middle-end/93195] -fpatchable-function-entries : __patchable_function_entries should consider comdat groups

2020-02-01 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93195 --- Comment #1 from Fangrui Song --- This is similar to --gc-sections (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93536) but a bit different. The only reasonable fix I can think of is to place __patchable_function_entries in the same section g

[Bug target/93492] Broken code with -fpatchable-function-entry and -fcf-protection=full

2020-02-02 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492 --- Comment #11 from Fangrui Song --- (In reply to H.J. Lu from comment #8) > Created attachment 47762 [details] > A patch to handle targetm.asm_out.post_cfi_startproc I don't work on GCC, so I am hoping other x86 maintainers can review. (I know

[Bug libstdc++/93590] New: [diagnostic] The header is deprecated since C++17, but no warning for #include-ing it

2020-02-05 Thread alisdairm at me dot com
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- C++ currently has two deprecated C++ headers, and . For quite a while, gcc has warned on #include with

[Bug driver/93645] New: Support -fuse-ld=/absolute/path/to/ld

2020-02-09 Thread i at maskray dot me
Assignee: unassigned at gcc dot gnu.org Reporter: i at maskray dot me Target Milestone: --- This feature request generalizes -fuse-ld=bfd -fuse-ld=gold https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55470 and -fuse-ld=lld clang -fuse-ld= also supports the following forms: -fuse

[Bug driver/93645] Support -fuse-ld=/absolute/path/to/ld

2020-02-09 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645 --- Comment #1 from Fangrui Song --- Posted a patch https://gcc.gnu.org/ml/gcc-patches/2020-02/msg00510.html I agree with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59321#c4 we should use a new option, instead of overloading --print-prog-nam

[Bug driver/52982] add option to select particular linker

2020-02-09 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52982 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #4 from

[Bug c++/57437] New: C++11: mutable lambdas; gcc 4.7-4.8

2013-05-27 Thread alxchk at alxchk dot me
++ Assignee: unassigned at gcc dot gnu.org Reporter: alxchk at alxchk dot me > cat test.cpp #include #include int main(int argc, char *argv[]) { auto x = std::vector({1, 2, 3}); auto y = [x] () mutable { for (auto &i: x) i ++; return x; }; for (const

[Bug sanitizer/57507] New: gcc 4.8: thread sanitizer: std::thread false(?) positive

2013-06-03 Thread alxchk at alxchk dot me
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: alxchk at alxchk dot me CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org $ cat test.cpp

[Bug target/57837] New: ARM function pointer tailcall miscompilation regression

2013-07-06 Thread me at williamgrant dot id.au
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: me at williamgrant dot id.au Created attachment 30469 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30469&action=edit arm.md fix The fix for PR target/19599 in svn trunk r198928

[Bug libgcc/58061] New: internal compiler error

2013-08-02 Thread whitequill at abstractions dot me
: unassigned at gcc dot gnu.org Reporter: whitequill at abstractions dot me Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.7/lto-wrapper Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir

[Bug libgcc/58061] internal compiler error

2013-08-03 Thread whitequill at abstractions dot me
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58061 --- Comment #2 from Whitequill Riclo --- This is the first bug I have reported, so I didn't know where to look to see if it has been reported before. Also I can reproduce it over, and over again without fail. I was a little unnerved when I saw the

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

2013-08-13 Thread me at minglis dot id.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50584 Malcolm Inglis changed: What|Removed |Added CC||me at minglis dot id.au --- Comment #2

[Bug libgcc/58061] internal compiler error

2013-08-23 Thread whitequill at abstractions dot me
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58061 --- Comment #3 from Whitequill Riclo --- I can not proceseed with a project due to this bug, is there anything I can do in the mean time?

[Bug c++/58366] New: thread_local class containing bound function leads to : "Illegal instruction: 4"

2013-09-08 Thread jbcoe at me dot com
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jbcoe at me dot com Created attachment 30768 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30768&action=edit small program illustrating crash I

[Bug c++/58366] invocation of thread_local class containing bound function leads to : "Illegal instruction: 4"

2013-09-09 Thread jbcoe at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58366 Jonathan Coe changed: What|Removed |Added CC||jbcoe at me dot com --- Comment #2 from

[Bug c++/58366] invocation of thread_local class containing bound function leads to : "Illegal instruction: 4"

2013-09-09 Thread jbcoe at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58366 --- Comment #4 from Jonathan Coe --- Yes, I've built on OS X 10.8.4 using a macports build of GCC 4.8.1. I've tried adding -pthread when building - it makes no difference to the crashing. 19 of 20 runs on my machine crash. I think if you managed 1

[Bug c++/58366] invocation of thread_local class containing bound function leads to : "Illegal instruction: 4"

2013-09-09 Thread jbcoe at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58366 --- Comment #8 from Jonathan Coe --- I've pared down the example. The crash is much harder to reproduce now (maybe 1 in 20 runs). Please find code and crash log attached.

[Bug c++/58366] invocation of thread_local class containing bound function leads to : "Illegal instruction: 4"

2013-09-09 Thread jbcoe at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58366 --- Comment #10 from Jonathan Coe --- Created attachment 30780 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30780&action=edit OSX 10.8.4 Crash log from smaller program crash

[Bug c++/58366] invocation of thread_local class containing bound function leads to : "Illegal instruction: 4"

2013-09-09 Thread jbcoe at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58366 Jonathan Coe changed: What|Removed |Added Attachment #30768|0 |1 is obsolete|

[Bug target/57848] internal compiler error on builtin and '#pragma GCC target()' option

2013-09-13 Thread whitequill at abstractions dot me
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57848 --- Comment #21 from Whitequill Riclo --- The patch worked for me, but now I'm getting a new error that looks like Bug 47052 accept the proposed fix doesn't work because is says DW2 isn't suppored on 64-bit yet. I can get around t

[Bug c++/52892] Function pointer loses constexpr qualification

2012-05-29 Thread adrien at guinet dot me
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52892 Adrien Guinet changed: What|Removed |Added CC||adrien at guinet dot me --- Comment #2

[Bug libgomp/53600] New: Fatal Error: Can't open module file 'omp_lib.mod' for reading at (1).

2012-06-06 Thread pascualg at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53600 Bug #: 53600 Summary: Fatal Error: Can't open module file 'omp_lib.mod' for reading at (1). Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRM

[Bug fortran/52531] [OOP] Compilation fails with polymorphic dummy argument and OpenMP

2012-06-08 Thread kaladhorn at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52531 --- Comment #4 from kaladhorn at me dot com 2012-06-08 18:46:11 UTC --- (In reply to comment #3) > (In reply to comment #2) > > Out of curiosity, would there be a technical issue in this case? > > It sure seemed natural to me. &g

[Bug fortran/52531] New: Compilation fails with polymorphic dummy argument and OpenMP

2012-03-08 Thread kaladhorn at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52531 Bug #: 52531 Summary: Compilation fails with polymorphic dummy argument and OpenMP Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug fortran/52531] [OOP] Compilation fails with polymorphic dummy argument and OpenMP

2012-03-08 Thread kaladhorn at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52531 --- Comment #2 from kaladhorn at me dot com 2012-03-08 19:33:24 UTC --- (In reply to comment #1) > OpenMP 3.1 or earlier releases don't cover Fortran 2003 nor 2008, so what you > are trying to compile is not valid. hmm that's

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

2013-09-25 Thread me at minglis dot id.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50584 --- Comment #4 from Malcolm Inglis --- I don't have a copy of the C99 standard, but IBM says [1] that if the function is called with a pointer to a smaller array than specified with `static`, then the behavior is undefined. Ergo, there should be a

[Bug fortran/51605] New: internal compiler error gfc_trans_block_construct, at fortran/trans-stmt.c:984

2011-12-17 Thread danlnagle at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605 Bug #: 51605 Summary: internal compiler error gfc_trans_block_construct, at fortran/trans-stmt.c:984 Classification: Unclassified Product: gcc Version: unknown Status

[Bug fortran/51605] internal compiler error gfc_trans_block_construct, at fortran/trans-stmt.c:984

2011-12-17 Thread danlnagle at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605 --- Comment #1 from Dan Nagle 2011-12-17 22:45:42 UTC --- Compiles with fort 12.1, nagfor has a different problem.

[Bug fortran/51607] New: configure: error: GNU fortran compiler is not working ;

2011-12-18 Thread d.barrows at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51607 Bug #: 51607 Summary: configure: error: GNU fortran compiler is not working ; Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug fortran/51607] configure: error: GNU fortran compiler is not working ;

2011-12-18 Thread d.barrows at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51607 --- Comment #1 from David 2011-12-18 09:25:27 UTC --- Created attachment 26127 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26127 fortran library config log

  1   2   3   4   5   6   7   8   >