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

2011-12-18 Thread danlnagle at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605 --- Comment #5 from Dan Nagle 2011-12-18 13:13:48 UTC --- Citations from 10-007r1.pdf [185:17-18] says the polymorphic symbol_ptr takes the type of the type guard within the type guard. [171:7-8] says the associating entity loses the pointer at

[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 #3 from David 2011-12-18 14:15:15 UTC --- any ideas of how to solve this?

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

2011-12-19 Thread danlnagle at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51605 --- Comment #11 from Dan Nagle 2011-12-19 15:51:40 UTC --- Hi, I can confirm that changing the label of the select type to integer_or_logical_or_error removes the ICE. I did so at lines 9325 and 13536 in the original source. The new label is

[Bug fortran/40963] ICE segfault - c_loc with derived type component as argument

2012-01-30 Thread andrew.t.baldwin at me dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40963 --- Comment #5 from Andrew Baldwin 2012-01-31 04:53:40 UTC --- (In reply to comment #4) > I encountered the same bug in gfortran 4.7.0 20110329 and 4.5.2. > > Are there any updates on this bug? I did not encounted this bug with g++ 4.7.0 20

[Bug gcov-profile/88994] New: [GCOV] encoding (or unicode) error with gcov/gcc9 when generating filename

2019-01-22 Thread moussu.robin at pm dot me
: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: moussu.robin at pm dot me CC: marxin at gcc dot gnu.org Target Milestone: --- Hello, I filled first a bug on gcovr bug-tracker, and they eventually

[Bug gcov-profile/88994] [GCOV] encoding (or unicode) error with gcov/gcc9 when generating filename

2019-01-22 Thread moussu.robin at pm dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88994 --- Comment #2 from Robin --- Nice :) Feel free to ask me any additionnal things if it may help.

[Bug gcov-profile/88994] [GCOV] encoding (or unicode) error with gcov/gcc9 when generating filename

2019-01-23 Thread moussu.robin at pm dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88994 --- Comment #4 from Robin --- Perfect! How do I test your patch. If I update my git clone of gcc (gcov is in gcc repo, isn't it?), it should already be in it, or do I need to wait a few days? I guess I can also apply the patch itself on my repo t

[Bug gcov-profile/88994] [GCOV] encoding (or unicode) error with gcov/gcc9 when generating filename

2019-01-23 Thread moussu.robin at pm dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88994 --- Comment #6 from Robin --- Ok, thx Envoyé depuis ProtonMail mobile Message d'origine On 23 janv. 2019 à 12:33, marxin at gcc dot gnu.org a écrit : > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88994 > > --- Comment #5 fro

[Bug libgcc/89012] New: SH2 (FDPIC) duplicate symbols in generated assembly.

2019-01-23 Thread me at zv dot io
Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: me at zv dot io Target Milestone: --- Code generated by gcc targeting `sh2eb-linux-musl` occasionally contains duplicate symbols with optimization level `O2` or above and produces the following errors during

[Bug target/89012] SH2 (FDPIC) duplicate symbols in generated assembly.

2019-01-28 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012 --- Comment #3 from Zach van Rijn --- Created attachment 45545 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45545&action=edit Tarball containing intermediate asm (with -dp) for each of 5 cases.

[Bug target/89012] SH2 (FDPIC) duplicate symbols in generated assembly.

2019-01-28 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012 --- Comment #4 from Zach van Rijn --- The error can be reproduced at `O1` optimization level with both (strictly both) of the following options: ./cc -c mintest.c -O1 -freorder-blocks-algorithm=stc -ftree-pre Changing to `-freorder-blocks-algor

[Bug target/89012] SH2 (FDPIC) duplicate symbols in generated assembly.

2019-01-28 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012 --- Comment #5 from Zach van Rijn --- Created attachment 45546 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45546&action=edit All files produced by -O2 -da

[Bug libstdc++/89102] New: 'common_type' of single abominable function should not have a nested typename

2019-01-29 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: --- According to the formula for 'common_type', as an abominable function type does not have a valid retu

[Bug c++/71029] large fold expressions compile slowly with -Wall

2019-02-01 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71029 --- Comment #2 from Alisdair Meredith --- Having just discovered -ftime-report due to recent blog posts, I thought I would repeat the experiment, and can confirm it is still an issue in the latest development gcc available to me through MacPorts

[Bug c++/71029] large fold expressions compile slowly with -Wall

2019-02-01 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71029 --- Comment #3 from Alisdair Meredith --- And for reference, -ftime-report on the same file without -Wall: time g++ -std=c++2a main.cpp -ftime-report Time variable usr sys wall

[Bug c++/85554] New: GCC does not instantiate template function when only used as a function type

2018-04-27 Thread me at adhokshajmishraonline dot in
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: me at adhokshajmishraonline dot in Target Milestone: --- Proof of concept: = template auto make_value(){ return T{}; } template auto call(F func

[Bug fortran/85786] New: Segfault in associated intrinsic

2018-05-14 Thread angus at agibson dot me
Assignee: unassigned at gcc dot gnu.org Reporter: angus at agibson dot me Target Milestone: --- Created attachment 44132 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44132&action=edit Segfaulting example I've run into a bit of a heisenbug regarding the associat

[Bug fortran/85786] Segfault in associated intrinsic

2018-05-14 Thread angus at agibson dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85786 --- Comment #2 from Angus Gibson --- Changing the declaration of e to also be 'target', and associating the pointer: CS%v(2)%p => e if (query_ptr(e, CS)) then ... still causes the segfault. Perhaps I disconnected this from the orig

[Bug fortran/85786] [8/9 Regression] Segfault in associated intrinsic

2018-05-20 Thread angus at agibson dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85786 --- Comment #11 from Angus Gibson --- Apologies if this is unrelated to the issue at hand (I don't quite understand how everything is inter-related yet), but maybe it helps. First up, here's what valgrind says about the segfault: ... loc(cs%v(2)

[Bug rtl-optimization/66152] suboptimal load bytes to stack

2018-05-27 Thread me at xenu dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152 Tomasz Konojacki changed: What|Removed |Added CC||me at xenu dot pl --- Comment #3

[Bug target/69616] optimization of 8 movb

2018-05-27 Thread me at xenu dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69616 Tomasz Konojacki changed: What|Removed |Added CC||me at xenu dot pl --- Comment #4

[Bug libgomp/86291] New: OpenMP incorrect for-loop collapsing with iterators and at least 5 nested loops

2018-06-23 Thread bonjour at matteodelabre dot me
: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: bonjour at matteodelabre dot me CC: jakub at gcc dot gnu.org Target Milestone: --- Created attachment 44315 --> https://gcc.gnu.org/bugzi

[Bug c++/86291] OpenMP incorrect for-loop collapsing with iterators and at least 5 nested loops

2018-06-26 Thread bonjour at matteodelabre dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86291 --- Comment #7 from Mattéo Delabre --- Can confirm the fix works for my use case. Thanks!

[Bug c++/91309] New: Fails to compile when initializing template argument with immediately-invoked lambda

2019-07-31 Thread beachboy44 at me dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: beachboy44 at me dot com Target Milestone: --- https://godbolt.org/z/8O-ItF The following code fails to compile: template struct S {}; template

[Bug c++/91412] New: Unexpectedly correct raw string literal

2019-08-09 Thread alisdairm at me dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- Per several existing bug reports (e.g., https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38433) in phase one of translation, when mapping source character set to basic character set, a

[Bug target/87438] ICE building gfortran for MicroBlaze target

2019-08-10 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87438 --- Comment #1 from Zach van Rijn --- Created attachment 46699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46699&action=edit Test case. Triggers bug on 8.x to at least 10-20190721.

[Bug target/87438] ICE building gfortran for MicroBlaze target

2019-08-10 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87438 --- Comment #2 from Zach van Rijn --- Using GCC 8-20180706 snapshot, gcc -c -O2 -fPIC grapes.c during RTL pass: reload grapes.c: In function 'smaxval_r8': grapes.c:57:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1155 } ^ 0x408422

[Bug c++/91309] Fails to compile when initializing template argument with immediately-invoked lambda

2019-09-04 Thread beachboy44 at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91309 --- Comment #1 from beachboy44 at me dot com --- Possibly related cases that also fail to compile: template using F = decltype([]{ return T{0}; }); auto g = [](auto x) { using G = F; return G{}(); }; https://godbolt.org/z/tSwWUF auto

[Bug c/91691] New: Cross compiling glibc produces a false maybe-uninitialized error

2019-09-06 Thread alistair at alistair23 dot me
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: alistair at alistair23 dot me Target Milestone: --- Target: riscv32 Build: x86_64 Created attachment 46845 --> https://gcc.gnu.org/bugzilla/attachment.cgi

[Bug c/91691] Cross compiling glibc produces a false maybe-uninitialized error

2019-09-06 Thread alistair at alistair23 dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91691 --- Comment #1 from Alistair --- The full command line is: gcc clnt_udp.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fno-stack-protector -Wstrict-prototypes -Wold-style-definiti

[Bug c/91691] Cross compiling glibc produces a false maybe-uninitialized error

2019-09-06 Thread alistair at alistair23 dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91691 --- Comment #2 from Alistair --- I can also reproduce this with the 9.2 release.

[Bug c++/91754] New: [c++2a] Defining member function outside of class body fails to compile when containing class is templated on class-type NTTP

2019-09-12 Thread beachboy44 at me dot com
Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: beachboy44 at me dot com Target Milestone: --- https://godbolt.org/z/OQHx2M The following code fails to

[Bug libstdc++/91829] New: compatibility.cc: syntax error lea (%pc, _GLOBAL_OFFSET_TABLE@GOTPC), a4 ignored

2019-09-19 Thread forkenmasterforce at keemail dot me
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: forkenmasterforce at keemail dot me Target Milestone: --- Instruction ignored causing the error seems to be emitted at m68k.md:7370 return "lea

[Bug target/91829] compatibility.cc: syntax error lea (%pc, _GLOBAL_OFFSET_TABLE@GOTPC), a4 ignored

2019-09-26 Thread forkenmasterforce at keemail dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91829 Jon Daniel changed: What|Removed |Added URL||https://cygwin.com/ml/cross

[Bug target/91829] compatibility.cc: syntax error lea (%pc, _GLOBAL_OFFSET_TABLE@GOTPC), a4 ignored

2019-09-26 Thread forkenmasterforce at keemail dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91829 --- Comment #2 from Jon Daniel --- Enabling only the COLDFIRE section in load_got seems to fix the compilation problem even without a coldfire cpu target. I'll try to figure out which lea move.l combo to use for a specific motorola target cpu.

[Bug c++/91958] New: type info does not respect 'noexcept' on C++17 function types

2019-10-01 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 program should compile and run without error when built as C++17 or later. However, current versions of g++ will

[Bug c++/91958] type info does not respect 'noexcept' on C++17 function types

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

[Bug c++/83534] C++17: typeinfo for noexcept function lacks noexcept information

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

[Bug c++/92034] New: extern template declarations cannot have internal linkage (unnamed namespace)

2019-10-08 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 [temp.explicit] p15, final sentence (after the note), 'extern template' declarations cannot have intern

[Bug c++/92034] extern template declarations cannot have internal linkage (unnamed namespace)

2019-10-08 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92034 --- Comment #1 from Alisdair Meredith --- Sorry, link to Compiler Explorer showing the right compiler test (Clang 9): https://godbolt.org/z/9QIIrE

[Bug c++/92034] extern template declarations cannot have internal linkage (unnamed namespace)

2019-10-09 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92034 --- Comment #4 from Alisdair Meredith --- (In reply to Jonathan Wakely from comment #3) > I'm not sure if a diagnostic is required. The standard doesn't specifically > say it's ill-formed to do this. By my reading it's undefined, and so > silentl

[Bug middle-end/91691] Cross compiling glibc produces a false maybe-uninitialized error

2019-10-10 Thread alistair at alistair23 dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91691 --- Comment #4 from Alistair --- Thanks for looking into this Jim. We have worked around it in glibc master, so that's fine that it can't be back ported. I'm glad it has been fixed in the latest version.

[Bug libfortran/92100] New: Formatted stream IO irreproducible read with binary data in file

2019-10-14 Thread angus at agibson dot me
Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: angus at agibson dot me Target Milestone: --- Created attachment 47036 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47036&action=edit Reproducing example I have

[Bug libfortran/92100] Formatted stream IO irreproducible read with binary data in file

2019-10-14 Thread angus at agibson dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92100 --- Comment #2 from Angus Gibson --- Created attachment 47037 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47037&action=edit Reproducing example (gz)

[Bug libfortran/92100] Formatted stream IO irreproducible read with binary data in file

2019-10-16 Thread angus at agibson dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92100 --- Comment #5 from Angus Gibson --- I agree that it's not ideal... Unfortunately an awkward file format, and fortran is usually the wrong language for this kind of IO anyway. I guess the note that "A processor may prohibit some control character

[Bug libstdc++/84118] New: filesystem::path concat does not accept value_type

2018-01-29 Thread ethan at ethanhs dot me
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ethan at ethanhs dot me Target Milestone: --- As I have read the filesystem TS, I believe concat on path items should have an overload following: path& operator+=(value_type x); However, on trying to use 7

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-02-02 Thread jens4303 at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 Jens-S. Vöckler changed: What|Removed |Added CC||jens4303 at me dot com --- Comment

[Bug other/89712] New: Documentation for GCC => 8.0 contains unsupported options

2019-03-13 Thread 7aitsev at pm dot me
mal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: 7aitsev at pm dot me Target Milestone: --- Since GCC version 8.0 at least these two options were replaced: -fdump-class-hierarchy ---> -fdump-lang-class -fdump-translation-unit ---> -f

[Bug other/89712] [8/9 Regression] Documentation contains unsupported options (-fdump-class-hierarchy and -fdump-translation-unit)

2019-03-15 Thread 7aitsev at pm dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89712 --- Comment #6 from Maxim Zaitsev <7aitsev at pm dot me> --- (In reply to Martin Liška from comment #2) > @Maxim: I see -fdump-class-hierarchy[-n] mentioned in PDF manual. Where do > you see -fdump-translation-unit mentione

[Bug tree-optimization/90270] New: Do not select best induction variable optimization

2019-04-27 Thread rjiejie at me dot com
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- Using built-in specs. COLLECT_GCC=/home/jojo/work/csky/cskytoolchain/csky-toolchain-build-riscv/riscv-install/bin/riscv64-unknown-linux-gnu-gcc

[Bug tree-optimization/90270] [8/9/10 Regression] Do not select best induction variable optimization

2019-04-28 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 --- Comment #3 from jojo --- Haha..., get_address_cost() will cost down some address which is not my expected, you can get that code from my the 1st comment, i can not understand why adding that code in new version :( (In reply to Andrew Pinski

[Bug libstdc++/90371] New: gcc with newlib do not support std::mutex, std:: thread

2019-05-06 Thread rjiejie at me dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- with the following code, it's compiled error with gcc-newlib*: error: ‘mutex’ is not a member of ‘std’ and it's ok in the

[Bug libstdc++/90371] gcc with newlib do not support std::mutex, std:: thread

2019-05-06 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90371 --- Comment #2 from jojo --- Thanks for your reply:) (In reply to Andrew Pinski from comment #1) > For your target, needs to fully support pthreads and a few other things. > You can look at what is needed via libstdc++/configure.ac and related f

[Bug c++/90396] New: error while using sizeof in [[assert]]: internal compiler error: in gimplify_expr, at gimplify.c:13199

2019-05-08 Thread moussu.robin at pm dot me
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: moussu.robin at pm dot me Target Milestone: --- Test it directly on https://godbolt.org/z/IsXG2E Version of the compiler: 9.0.1 (contracts branch

[Bug c++/90398] New: Segmentation fault when using [[assert]] and -fno-exception

2019-05-08 Thread moussu.robin at pm dot me
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: moussu.robin at pm dot me Target Milestone: --- Reproduce error with https://godbolt.org/z/cjlS79 gcc version: 9.0.1 (concept branch) The following code, when compiled with -std=c++2a -O3

[Bug tree-optimization/90270] [8/9/10 Regression] Do not select best induction variable optimization

2019-05-16 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 --- Comment #13 from jojo --- Hi, guys, Any solution for this issue ? My be the following patch is choice :) ? Are there issue with applied this patch ? --- tree-ssa-loop-ivopts-orig.c 2019-05-17 09:32:58.05200 +0800 +++ tree-ssa-loop-iv

[Bug libstdc++/90531] New: is_trivailly_copyable_v should be 'true'

2019-05-18 Thread alisdairm at me dot com
iority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- This is a tale of woe in the standard, but boils down to the following simple test program, which compiles and passes with the current Microsoft

[Bug libstdc++/90532] New: is_constructible_v and is_default_constructible_v should agree

2019-05-18 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: --- According to the current standard, is_default_constructible_v is true if is_constructible_v is true. The current libstdc++ disagrees

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2019-06-18 Thread jens4303 at me dot com
gcc 8 within, and it did build fine. This tells me that the symptoms described in this bug are still present in recent sources.

[Bug c++/90960] New: declaring a member function with a computed typedef is confused as a data member definition

2019-06-21 Thread alisdairm at me dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- Note that this bug is a real corner case unlikely to occur in production code, but bit us in experimental coding

[Bug c++/90960] declaring a member function with a computed typedef is confused as a data member definition

2019-06-21 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90960 --- Comment #2 from Alisdair Meredith --- I agree the second problem looks like a dupe. It has since been pointed out to me that the first error is indeed correct, and simply the error message is less than helpful: [temp.spec]p8 of C++17 says

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2019-06-21 Thread jens4303 at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #82 from Jens-S. Vöckler --- I had some prior issues with w.r.t 32bits. Tinkering, this script does build a gcc 9.1 on macOS 10.14.5 on APFS. I didn't create it for beauty, and it's specific to my setup. The resulting compiler is unab

[Bug c++/91119] New: Bogus type re-difinition error

2019-07-08 Thread me at adhokshajmishraonline dot in
++ Assignee: unassigned at gcc dot gnu.org Reporter: me at adhokshajmishraonline dot in Target Milestone: --- Test code - class A {}; class B { using C = A; enum D { A, }; }; When the above code is compiled using g++ (g++ -c test.cpp -o test.o), the compiler

[Bug c++/91119] Bogus type re-difinition error

2019-07-08 Thread me at adhokshajmishraonline dot in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91119 --- Comment #2 from Adhokshaj Mishra --- (In reply to Andrew Pinski from comment #1) > No GCC is correct. There is another section which you missed made this code > invalid but no diagnostic is required. Can you please point to the section whic

[Bug other/87199] New: Thread local storage dynamic initialization behaviour differs Linux vs macOS

2018-09-03 Thread me at nvartolomei dot com
: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: me at nvartolomei dot com Target Milestone: --- Hello, Here is a test program that behaves different on Linux vs macOS. main.c: ``` #include "lib.h"

[Bug fortran/87438] New: ICE building gfortran for MicroBlaze target

2018-09-25 Thread me at zv dot io
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: me at zv dot io Target Milestone: --- Created attachment 44752 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44752&action=edit Build log with -j1 for clarity. Attempting to build GCC 8.2.0 with the followin

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-02-15 Thread jens4303 at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #55 from Jens-S. Vöckler --- Would it be worthwhile to limit it to "darwin" *and* "apfs" on objdir? I am thinking of something along the lines of diskutil info $(stat -f '%Sd' /path/to/objdir) | \ perl -lane 'print $F[$#F] if /^

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-02-15 Thread jens4303 at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #57 from Jens-S. Vöckler --- (In reply to Francois-Xavier Coudert from comment #56) > I would advise to keep it simple. Agreed: Simple is better.

[Bug c++/87671] New: Incorrect debugging information for unique_ptr passed to a constructor

2018-10-20 Thread anton at swarmer dot me
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: anton at swarmer dot me Target Milestone: --- Created attachment 44866 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44866&action=edit Source code to reproduce

[Bug c++/87671] Incorrect debugging information for unique_ptr passed to a constructor

2018-10-22 Thread anton at swarmer dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87671 --- Comment #2 from Anton Barkovsky --- No, without sanitizers also, although I'm getting a different value (1433833072 in my latest run) in the debugger instead of 16.

[Bug c++/87671] Incorrect debugging information for unique_ptr passed to a constructor

2018-10-22 Thread anton at swarmer dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87671 --- Comment #7 from Anton Barkovsky --- (In reply to Jonathan Wakely from comment #6) > That does seem to explain the difference. With GCC 8 GDB thinks that 'ptr' > is passed in the register %rsi so the value in the register is the value of > the

[Bug c++/87772] New: Crash with variadic template, constexpr constructor for templated non-literal type, using declaration

2018-10-27 Thread stypox at pm dot me
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: stypox at pm dot me Target Milestone: --- Created attachment 44911 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44911&acti

[Bug target/14557] va_list is automatically taken address-of when passed as argument

2018-11-01 Thread postmas...@flash-gordon-me-uk.bounceio.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557 --- Comment #22 from postmas...@flash-gordon-me-uk.bounceio.net --- Your email was bounced... - ... because something went wrong between you and your recipient. Oh no! What to do next

[Bug c++/71029] New: large fold expressions compile slowly with -Wall

2016-05-09 Thread alisdairm at me dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- Created attachment 38456 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38456&action=edit file is very slow compiled with Wall The attached file uses a simp

[Bug libgomp/80859] Performance Problems with OpenMP 4.5 support

2017-08-08 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #27 from Thorsten Kurth --- Hello Jakub, I wanted to follow up on this. Is there any progress on this issue? Best Regards Thorsten Kurth

[Bug c++/81850] New: OpenMP target enter data compilation issues

2017-08-14 Thread thorstenkurth at me dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: thorstenkurth at me dot com Target Milestone: --- Created attachment 41990 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41990&action=edit Test case Dear Sir/Madam, g++ 7.1.1 cannot compile correct OpenMP 4.5

[Bug c++/81896] New: omp target enter data not recognized

2017-08-18 Thread thorstenkurth at me dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: thorstenkurth at me dot com Target Milestone: --- Created attachment 42005 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42005&action=edit small test case Dear Sir/Madam, I am not sure if my report got posted the fir

[Bug c++/80614] New: Bad mangling for noexcept abominable function types

2017-05-03 Thread alisdairm at me dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alisdairm at me dot com Target Milestone: --- The following simple program complains about duplicate definitions for two different template instantiations: template void fn() {} int main() { fn(); fn

[Bug go/80814] New: commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread me at hussam dot eu.org
Priority: P3 Component: go Assignee: ian at airs dot com Reporter: me at hussam dot eu.org CC: cmang at google dot com Target Milestone: --- The following commit causes a build error in gcc-7-branch here https://gcc.gnu.org/git/?p=gcc.git;a

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread me at hussam dot eu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814 --- Comment #2 from Hussam Al-Tayeb --- (In reply to Ian Lance Taylor from comment #1) > Are you doing a from-scratch build or an incremental build? Try removing > the x86_64-pc-linux-gnu/libgo directory to force it to be rebuilt. I was doing a

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread me at hussam dot eu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814 --- Comment #4 from Hussam Al-Tayeb --- (In reply to Ian Lance Taylor from comment #3) > I can't recreate the problem. It looks like the compilation step in the > failing command is reading old versions of the .gox files, versions that use > the

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread me at hussam dot eu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814 --- Comment #5 from Hussam Al-Tayeb --- (In reply to Ian Lance Taylor from comment #3) > Have you run `make install` to install an earlier version of the build? > Perhaps the compilation command is incorrectly looking at the installed .gox > fi

[Bug c++/80839] New: Memory leak in _Rb_tree

2017-05-20 Thread mail at kitsu dot me
: unassigned at gcc dot gnu.org Reporter: mail at kitsu dot me Target Milestone: --- Greetings! I want to use static const std::map with aggregate initialization. The simpler example of my case is: #include int main() { static const std::map a {{1,2}}; return 0; } Besides I

[Bug c++/80839] Memory leak in _Rb_tree

2017-05-20 Thread mail at kitsu dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80839 mail at kitsu dot me changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug c++/80859] New: Performance Problems with OpenMP 4.5 support

2017-05-22 Thread thorstenkurth at me dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: thorstenkurth at me dot com Target Milestone: --- Dear Sir/Madam, I am working on the Cori HPC system, a Cray XC-40 with intel Xeon Phi 7250. I probably found a performance "bug" when using the OpenMP 4.5 target

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #3 from Thorsten Kurth --- Created attachment 41414 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41414&action=edit OpenMP 4.5 Testcase This is the source code

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #4 from Thorsten Kurth --- Created attachment 41415 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41415&action=edit Testcase This is the test case. The files ending on .as contain the assembly code with and without target regi

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #5 from Thorsten Kurth --- To clarify the problem: I think that the additional movq, pushq and other instructions generated when using the target directive can cause a big hit on the performance. I understand that these instructions a

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #7 from Thorsten Kurth --- Hello Jakub, thanks for your comment but I think the parallel for is not racey. Every thread is working a block of i-indices so that is fine. The dotprod kernel is actually a kernel from the OpenMP standard

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #8 from Thorsten Kurth --- Here is the output of the get_num_threads section: [tkurth@cori02 omp_3_vs_45_test]$ export OMP_NUM_THREADS=32 [tkurth@cori02 omp_3_vs_45_test]$ ./nested_test_omp_4dot5.x We got 1 teams and 32 threads. and

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #9 from Thorsten Kurth --- Sorry, in the second run I set the number of threads to 12. I think the code works as expected.

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #11 from Thorsten Kurth --- Hello Jakub, yes, you are right. I thought that map(tofrom:) is the default mapping but I might be wrong. In any case, teams is always 1. So this code is basically just data streaming so there is no n

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #13 from Thorsten Kurth --- Hello Jakub, the compiler options are just -fopenmp. I am sure it does not have to do anything with vectorization as I compare the code runtime with and without the target directives and thus vectorization

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #15 from Thorsten Kurth --- The code I care about definitely has optimization enabled. For the fortran stuff it does (for example): ftn -g -O3 -ffree-line-length-none -fno-range-check -fno-second-underscore -Jo/3d.gnu.MPI.OMP.EXE -

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #16 from Thorsten Kurth --- FYI, the code is: https://github.com/zronaghi/BoxLib.git in branch cpp_kernels_openmp4dot5 and then in Src/LinearSolvers/C_CellMG the file ABecLaplacian.cpp. For example, lines 542 and 543 can be comme

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #17 from Thorsten Kurth --- the result though is correct, I verified that both codes generate the correct output.

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-24 Thread thorstenkurth at me dot com
the fortran kernels (they are scattered across multiple files) but the fortran kernels and our C++ ports give the same performance with the original OpenMP parallelization. In any case, I wonder why the compiler honors the target region even if -march=knl is specified. However, please let me know

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-25 Thread thorstenkurth at me dot com
you if you compiled with MPI, OpenMP, etc. There is an inputs file you just pass to it: ./main3d.. inputs That's it. Tell me if you need more info.

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-25 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #22 from Thorsten Kurth --- Hello Jakub, that is stuff for Intel vTune. I have commented it out and added the NUM_TEAMS defines in the GNUmakefile. Please pull the latest changes. Best and thanks Thorsten

[Bug c++/80859] Performance Problems with OpenMP 4.5 support

2017-05-26 Thread thorstenkurth at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859 --- Comment #24 from Thorsten Kurth --- Hello Jakub, I know that the section you mean is racey and gets the wrong number of threads is not right but I put this in in order to see if I get the correct numbers on a CPU (I am not working on a GPU y

<    1   2   3   4   5   6   7   8   >