[Bug libstdc++/56538] no way to disable shared_ptr's use of atomics

2021-08-15 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56538 Jan Kratochvil changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-12 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #17 from Jan Kratochvil --- Yes, the testcase TestTypeCompletion.py category 'dwo' is now fixed with the patch from Comment 15.

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-10 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #14 from Jan Kratochvil --- DW_AT_addr_base is for .debug_addr in the main file, I agree, my mistake. That should be inherited from the skeleton to the split-unit. But DW_AT_loclists_base, DW_AT_rnglists_base and

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-10 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #12 from Jan Kratochvil --- That looks as a DWARF5 bug to me. DW_AT_str_offsets_base, DW_AT_addr_base and DW_AT_rnglists_base do not make any sense for a split unit. Split unit contains only one CompileUnit (and optionally one

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-10 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #10 from Jan Kratochvil --- clang is using DW_AT_ranges+DW_FORM_rnglistx+DW_AT_rnglists_base in the main file but in the DWO file it assumes DW_AT_rnglists_base is right after the .debug_rnglists header (as it does not make sense to

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-10 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #7 from Jan Kratochvil --- It would be nice if you could provide the .s/.o/.dwo files so that one does not have to rebuild the patched GCC.

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-09 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #3 from Jan Kratochvil --- LLDB testsuite failure from it is: PASS: LLDB (/usr/bin/gcc-x86_64) :: test_with_run_command_dwarf (TestTypeCompletion.TypeCompletionTestCase) error: a.out {0x5850}: DIE has DW_AT_ranges(0x0)

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-09 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #2 from Jan Kratochvil --- Created attachment 50341 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50341=edit range-gcc.s

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-09 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #1 from Jan Kratochvil --- Created attachment 50340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50340=edit range-clang.s

[Bug debug/99490] New: -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-09 Thread jan.kratochvil at redhat dot com via Gcc-bugs
: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- FAIL: gcc-11.0.0-0.19.fc35.x86_64 PASS: clang-12.0.0-0.1.rc1.fc35.x86_64 double p_ext=3.14,e_ext=2.71; int main(void

[Bug c++/92598] explicit specialization of template from unnamed namespace using unqualified-id in enclosing namespace

2021-02-16 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92598 --- Comment #3 from Jan Kratochvil --- LLVM has workarounded it by: https://reviews.llvm.org/rG0e3d7e61867d69721b28e557272bdf4b66010327 template <> - struct DenseMapInfo> { + struct llvm::DenseMapInfo> {

[Bug c++/92598] explicit specialization of template from unnamed namespace using unqualified-id in enclosing namespace

2021-02-16 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92598 --- Comment #2 from Jan Kratochvil --- Created attachment 50210 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50210=edit 2j.cpp.xz gcc-11.0.0-0.19.fc34.x86_64 g++ -c 2j.cpp

[Bug c++/92598] explicit specialization of template from unnamed namespace using unqualified-id in enclosing namespace

2021-02-16 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92598 Jan Kratochvil changed: What|Removed |Added CC||jan.kratochvil at redhat dot com

[Bug debug/96472] New: ICE: c++: dwarf2out_abstract_function, at dwarf2out.c: -g -fdebug-types-section

2020-08-04 Thread jan.kratochvil at redhat dot com
: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- Created attachment 48998 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48998=edit 1.cc.xz reprodu

[Bug debug/96471] ICE: fortran+gnat: build_abbrev_table, at dwarf2out.c: -g -fdebug-types-section

2020-08-04 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96471 --- Comment #2 from Jan Kratochvil --- Created attachment 48997 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48997=edit .tar.xz reproducer for: gnat

[Bug debug/96471] ICE: fortran+gnat: build_abbrev_table, at dwarf2out.c: -g -fdebug-types-section

2020-08-04 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96471 Jan Kratochvil changed: What|Removed |Added CC||jan.kratochvil at redhat dot com

[Bug debug/96471] New: ICE: fortran+gnat: build_abbrev_table, at dwarf2out.c: -g -fdebug-types-section

2020-08-04 Thread jan.kratochvil at redhat dot com
: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- 2ac7fe2769890fe4c146da9cfa6d0eabb185d7db = 2020-08-03 gfortran -O2 -g -fdebug-types-section -fallow-argument

[Bug debug/88878] .debug_pubnames/types empty with -flto

2020-07-29 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878 --- Comment #9 from Jan Kratochvil --- (In reply to Richard Biener from comment #8) > The .debug_types section isn't supposed to be output when in_lto_p > (that's for the LTRANS units where we generally do not output any > types into DWARF).

[Bug debug/88878] .debug_pubnames/types empty with -flto

2020-07-29 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878 Jan Kratochvil changed: What|Removed |Added CC||jan.kratochvil at redhat dot com

[Bug c/94669] libcc1: 4 * minor performance problem

2020-04-20 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94669 Jan Kratochvil changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug sanitizer/94299] false positive: AddressSanitizer: stack-use-after-scope on address

2020-03-24 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94299 --- Comment #7 from Jan Kratochvil --- OK, true, thanks, sorry.

[Bug sanitizer/94299] false positive: AddressSanitizer: stack-use-after-scope on address

2020-03-24 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94299 --- Comment #3 from Jan Kratochvil --- (In reply to Andrew Pinski from comment #1) > #1 0x7fffdb147b04 in > lldb_private::CommandObject::CommandObject(lldb_private::CommandInterpreter&, > llvm::StringRef, llvm::StringRef, llvm::StringRef,

[Bug sanitizer/94299] New: false positive: AddressSanitizer: stack-use-after-scope on address

2020-03-24 Thread jan.kratochvil at redhat dot com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com 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

[Bug libstdc++/59675] -D_GLIBCXX_DEBUG asserts to stdout (it should stderr)

2020-03-08 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59675 Jan Kratochvil changed: What|Removed |Added Version|4.8.2 |9.2.1 --- Comment #6 from Jan

[Bug target/93269] 32bit-pointer to uint64_t cast sign-extends

2020-01-14 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93269 --- Comment #4 from Jan Kratochvil --- Thanks.

[Bug target/93269] New: 32bit-pointer to uint64_t cast sign-extends

2020-01-14 Thread jan.kratochvil at redhat dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- #include #include #include int main() { void *p=(void *)0x8000; printf( "%p""\n", p );// 0x8000 prin

[Bug c++/86900] -gdwarf-5 -O2 -ffunction-sections = assembler error

2018-08-10 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86900 --- Comment #2 from Jan Kratochvil --- Created attachment 44523 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44523=edit 1.cc.xz Sorry, the 1.cc file somehow did not get attached.

[Bug c++/86900] New: -gdwarf-5 -O2 -ffunction-sections = assembler error

2018-08-09 Thread jan.kratochvil at redhat dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- g++ -gdwarf-5 -O2 -ffunction-sections -c 1.cc -o 1.o /tmp/ccnCmT6w.s: Assembler messages: /tmp/ccnCmT6w.s:61840: Error: invalid operands (.text.unlikely

[Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()

2018-06-06 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013 --- Comment #13 from Jan Kratochvil --- Why the example code should not work with "a user-provided non-member function with the same signature defined anywhere in the program, in any source file, replaces the default version. Its declaration

[Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()

2018-06-06 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013 --- Comment #11 from Jan Kratochvil --- (In reply to Jonathan Wakely from comment #10) > Does your !=##n check still work if operator new is replaced in a > different translation unit, but the default one is the only one in scope in > the

[Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()

2018-06-05 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013 --- Comment #8 from Jan Kratochvil --- Created attachment 44236 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44236=edit incredibleshrinkingvector.C What's wrong with this implementation? The permitted operator new symbols interposition

[Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()

2018-06-02 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013 --- Comment #6 from Jan Kratochvil --- (In reply to Marc Glisse from comment #5) > I can't find anywhere a guarantee that realloc doesn't move stuff when the > new size is smaller than the old. In practice it does not. > What would be the

[Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()

2018-05-31 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013 --- Comment #2 from Jan Kratochvil --- You apparently know better all the pitfalls, I just got shocked that a squeezing shrink_to_fit() does a copy.

[Bug libstdc++/86013] New: std::vector::shrink_to_fit() could sometimes use realloc()

2018-05-31 Thread jan.kratochvil at redhat dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- std::vector::shrink_to_fit() when reducing the size it still calls new()+copy. It could use realloc() when the objects

[Bug debug/81155] [8 Regression] Debug make check regressions in GCC 8.0

2018-01-12 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155 --- Comment #10 from Jan Kratochvil --- It should affect all functions, not just main. But then GDB already needlessly expands so many CUs that usually when some function is needed its CU is already expanded. So maybe it is seen just

[Bug debug/81155] [8 Regression] Debug make check regressions in GCC 8.0

2018-01-11 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155 --- Comment #8 from Jan Kratochvil --- (In reply to Jakub Jelinek from comment #7) > Thanks. Is that something that can be fixed in GDB easily? Expecting a significant performance hit on initial scan of a file when .gdb_index/.debug_names is

[Bug debug/81155] [8 Regression] Debug make check regressions in GCC 8.0

2018-01-11 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155 --- Comment #6 from Jan Kratochvil --- (In reply to Jakub Jelinek from comment #5) > where gdb sees the difference and why doesn't it make the file > containing main the default? pr43051-1.exe.good <1><117>: Abbrev Number: 3

[Bug driver/56062] Enhance -fuse-ld= option

2017-12-01 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56062 Jan Kratochvil changed: What|Removed |Added CC||jan.kratochvil at redhat dot com

[Bug driver/83243] New: -fuse-ld=lld

2017-12-01 Thread jan.kratochvil at redhat dot com
: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- There is already: -fuse-ld=bfd -fuse-ld=gold but missing: -fuse-ld=lld -rwxr-xr-x 1 root root 1279512 Aug 2 20:35 /usr/bin/ld.bfd* -rwxr-xr-x 1 root root 3303248 Aug 2 20:35 /usr/bin/ld.gold

[Bug debug/83199] [8 Regression] FAIL: gdb.base/async.exp & gdb.base/skip.exp

2017-11-29 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83199 --- Comment #6 from Jan Kratochvil --- The Comment 5 binaries SEGV and do not start on Fedora 26 armv7l. But I do not see some wrong DWARF there. (In reply to Jan Kratochvil from comment #3) > Addresses are missing when the function is inlined.

[Bug debug/83199] [8 Regression] FAIL: gdb.base/async.exp & gdb.base/skip.exp

2017-11-29 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83199 Jan Kratochvil changed: What|Removed |Added CC||jan.kratochvil at redhat dot com

[Bug c++/61940] Wrong error location for error in initialization list

2017-09-09 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61940 --- Comment #8 from Jan Kratochvil --- Still valid for: gcc-7.1.1-3.fc26.x86_64

[Bug c++/65188] improve error for member operator applied to non-class type

2017-09-09 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65188 Jan Kratochvil changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/65132] diagnostics: missing: bitfield member cannot have an in-class initializer

2017-09-09 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65132 Jan Kratochvil changed: What|Removed |Added Version|5.0 |7.1.1 --- Comment #3 from Jan

[Bug go/81183] New: -gdwarf-5: fatal error: unrecognized DWARF version in .debug_info at 6

2017-06-22 Thread jan.kratochvil at redhat dot com
Priority: P3 Component: go Assignee: ian at airs dot com Reporter: jan.kratochvil at redhat dot com CC: cmang at google dot com Target Milestone: --- gcc-7.1.1-2.fc27.x86_64 cat >foo.go <

[Bug debug/59161] GDB pretty printers: iterator->reference not printed

2016-12-14 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 Jan Kratochvil changed: What|Removed |Added CC||palves at redhat dot com --- Comment

[Bug libstdc++/59170] pretty printers: end iterator invalid pointer

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 --- Comment #12 from Jan Kratochvil --- (In reply to Jonathan Wakely from comment #7) > That doesn't help: > > std::vector::iterator it; > { > std::vector v{1}; > it = v.begin(); > } > > The iterator is safely initialized,

[Bug libstdc++/59170] pretty printers: end iterator invalid pointer

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 --- Comment #11 from Jan Kratochvil --- (In reply to Jonathan Wakely from comment #9) > Most developers don't even know the debug mode exists. That's a problem communicating it to users. -O0 -g would be best to always use -D_GLIBCXX_DEBUG if

[Bug libstdc++/59170] pretty printers: end iterator invalid pointer

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 --- Comment #8 from Jan Kratochvil --- (In reply to Jonathan Wakely from comment #7) > That doesn't help: > > std::vector::iterator it; > { > std::vector v{1}; > it = v.begin(); > } > > The iterator is safely initialized,

[Bug libstdc++/59170] pretty printers: end iterator invalid pointer

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 --- Comment #6 from Jan Kratochvil --- (In reply to Jonathan Wakely from comment #5) > I think it's simply wrong to automatically dereference iterators. GDB > doesn't do that when printing pointers, so why do the pretty printers do it > for

[Bug debug/59161] GDB pretty printers: iterator->reference not printed

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 Jan Kratochvil changed: What|Removed |Added CC||redi at gcc dot gnu.org

[Bug debug/59170] pretty printers: end iterator invalid pointer

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 Jan Kratochvil changed: What|Removed |Added CC||redi at gcc dot gnu.org

[Bug debug/59171] pretty printers: reverse iterator off by one

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59171 Jan Kratochvil changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #2

[Bug driver/49726] [4.4/5/6/7 Regression] -g0 file.S -g does not produce debug info

2016-11-20 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49726 Jan Kratochvil changed: What|Removed |Added Summary|-g0 file.S -g does not |[4.4/5/6/7 Regression] -g0

[Bug sanitizer/78204] ‘no_sanitize’ attribute directive ignored [-Wattributes]

2016-11-04 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204 --- Comment #2 from Jan Kratochvil --- Yes, that would be the best, to stay compatible with clang. Or is there some other way how to disable -fsanitize=float-divide-by-zero only for one function / block of code?

[Bug sanitizer/78204] New: ‘no_sanitize’ attribute directive ignored [-Wattributes]

2016-11-04 Thread jan.kratochvil at redhat dot com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com 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 Target

[Bug c++/72822] libiberty/ demangler crash

2016-09-18 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72822 --- Comment #4 from Jan Kratochvil --- Comment 3 is for: https://bugzilla.redhat.com/show_bug.cgi?id=1377020

[Bug c++/72822] libiberty/ demangler crash

2016-09-18 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72822 --- Comment #3 from Jan Kratochvil --- Without a fix I do not know if it is the same problem or not:

[Bug debug/77589] fortran: Missing DW_AT_byte_stride for an array record array selection

2016-09-14 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77589 --- Comment #1 from Jan Kratochvil --- Created attachment 39617 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39617=edit dwarf-stridex.f90

[Bug debug/77589] New: fortran: Missing DW_AT_byte_stride for an array record array selection

2016-09-14 Thread jan.kratochvil at redhat dot com
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- Fedora testcase: gdb.fortran/dwarf-stride.exp ! File written by Alan Matsuoka. FAIL: gcc-6.2.1-1.fc26.x86_64 PASS: gcc

[Bug c++/72822] libiberty/ demangler crash

2016-08-15 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72822 --- Comment #2 from Jan Kratochvil --- Without a fix I do not know if it is the same problem or not:

[Bug c++/72822] New: libiberty/ demangler crash

2016-08-05 Thread jan.kratochvil at redhat dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- https://bugzilla.redhat.com/show_bug.cgi?id=1364588 r239179 2016-08-05

[Bug debug/71906] [6/7 Regression] Fortran allocatable strings debug info type size regression

2016-07-18 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71906 --- Comment #3 from Jan Kratochvil --- Could you attach here the ICC .s file if you have it handy? Thanks.

[Bug debug/71906] New: Fortran allocatable strings debug info type size regression

2016-07-16 Thread jan.kratochvil at redhat dot com
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- Description of problem: Some GDB testcases started to failing gcc-5.3.1 -> gcc-6.1.1. Version-Release number of selected compon

[Bug c/70143] New: [6 Regression?] false strict-aliasing warning

2016-03-08 Thread jan.kratochvil at redhat dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- struct a { int i; }; struct b { struct a a; int j; }; int main(void) { static struct b b; struct a *ap=(struct a *) return ((struct b *)>i)

[Bug debug/65821] [4.9/5/6 regression] incorrect debug line # info for main

2016-02-16 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65821 --- Comment #9 from Jan Kratochvil --- -O2 -g does not show this problem so I am testing it with -O0 -g below: g++ (GCC) 4.7.3 20130221 (prerelease) 0x00400748 <+4>: sub$0x10,%rsp => 0x0040074c <+8>: mov

[Bug libstdc++/68448] Python Pretty Printers get disabled on libstdc++ reload by GDB

2015-11-20 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68448 Jan Kratochvil changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/68448] Python Pretty Printers get disabled on libstdc++ reload by GDB

2015-11-19 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68448 --- Comment #1 from Jan Kratochvil --- https://bugzilla.redhat.com/show_bug.cgi?id=1279406

[Bug libstdc++/68448] Python Pretty Printers get disabled on libstdc++ reload by GDB

2015-11-19 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68448 --- Comment #2 from Jan Kratochvil --- [patch] Python Pretty Printers get disabled on libstdc++ reload by GDB (PR libstdc++/68448) https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02418.html

[Bug libstdc++/68448] New: Python Pretty Printers get disabled on libstdc++ reload by GDB

2015-11-19 Thread jan.kratochvil at redhat dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230621 138bc75d-0d04-0410-961f-82ee72b054a4 echo -e '#include \nint main(){std

[Bug libstdc++/68303] performance: unordered_map up to 7x speedup

2015-11-12 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68303 Jan Kratochvil changed: What|Removed |Added CC||jan.kratochvil at redhat dot com

[Bug libstdc++/68303] New: performance: unordered_map up to 7x speedup

2015-11-11 Thread jan.kratochvil at redhat dot com
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- libstdc++ spends most of the time on: div %rdi computing modulo even when commonly the container is empty(). Moreover for small size()s it is more effective

[Bug other/65366] gdbhooks.py is incompatible with Python3

2015-06-08 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65366 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Status|REOPENED

[Bug c++/52960] Missing warnings on ambiguous source : function decl vs local var decl

2015-06-07 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52960 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added CC||dodji

[Bug other/65366] gdbhooks.py is incompatible with Python3

2015-06-02 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65366 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug debug/66069] New -fkeep-all-method-instances

2015-05-08 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66069 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug debug/66069] New: New -fkeep-all-method-instances

2015-05-08 Thread jan.kratochvil at redhat dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target Milestone: --- Target: x86_64-linux-gnu For debugging (-O0 -g) code there could be a way to provide all instantiable methods for TYPE when anything from templateTYPE gets used

[Bug debug/66069] New -fkeep-all-method-instances

2015-05-08 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66069 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added CC

[Bug libstdc++/59161] GDB pretty printers: iterator-reference not printed

2015-05-06 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 --- Comment #2 from Jan Kratochvil jan.kratochvil at redhat dot com --- valid for: gcc-5.1.1-1.fc23.x86_64

[Bug debug/59171] pretty printers: reverse iterator off by one

2015-05-06 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59171 --- Comment #1 from Jan Kratochvil jan.kratochvil at redhat dot com --- valid for: gcc-5.1.1-1.fc23.x86_64

[Bug debug/59170] pretty printers: end iterator invalid pointer

2015-05-06 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 --- Comment #3 from Jan Kratochvil jan.kratochvil at redhat dot com --- -D_GLIBCXX_DEBUG gcc-5.1.1-1.fc23.x86_64 (gdb) p end._M_current == ((std::__debug::vectorint, std::allocatorint *)end._M_sequence)._M_impl._M_finish $11 = true

[Bug libstdc++/59675] -D_GLIBCXX_DEBUG asserts to stdout (it should stderr)

2015-05-06 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59675 --- Comment #5 from Jan Kratochvil jan.kratochvil at redhat dot com --- gcc-4.9.2-6.fc21.x86_64: gcc-5.1.1-1.fc23.x86_64 #include debug/string int main() { __gnu_debug::string s((const char *)0); } g++ -o gcc59675b gcc59675b.C -Wall -g

[Bug plugins/65817] New: libcc1: ICE: SEGV: c_incomplete_type_error()

2015-04-20 Thread jan.kratochvil at redhat dot com
: plugins Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com CC: pmuldoon at redhat dot com Host: x86_64-linux-gnu Target: x86_64-linux-gnu r30 Current libcc1 uses just: make_node (RECORD_TYPE) which crashes

[Bug plugins/65817] libcc1: ICE: SEGV: c_incomplete_type_error()

2015-04-20 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65817 --- Comment #1 from Jan Kratochvil jan.kratochvil at redhat dot com --- Created attachment 35368 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35368action=edit GDB patch GDB patch to crash GCC. together with: cat 1.c EOH // b

[Bug plugins/65817] libcc1: ICE: SEGV: c_incomplete_type_error()

2015-04-20 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65817 --- Comment #2 from Jan Kratochvil jan.kratochvil at redhat dot com --- Created attachment 35369 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35369action=edit Attempted GCC fix. With this GCC fix and the GDB reproducer it looks as fixed

[Bug c++/65168] diagnostic: missing: reference cannot be bound to dereferenced null pointer

2015-03-22 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65168 --- Comment #5 from Jan Kratochvil jan.kratochvil at redhat dot com --- (In reply to Manuel López-Ibáñez from comment #3) Does this patch work in your real-world code? There were just many tests like: if (!r) return 0; So it should really

[Bug c++/65168] diagnostic: missing: reference cannot be bound to dereferenced null pointer

2015-03-22 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65168 --- Comment #2 from Jan Kratochvil jan.kratochvil at redhat dot com --- It should check the '!r' condition which makes no sense. The variable initialization in real world programs is too complicated to be able to figure out it may be NULL.

[Bug other/65366] gdbhooks.py is incompatible with Python3

2015-03-10 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65366 --- Comment #1 from Jan Kratochvil jan.kratochvil at redhat dot com --- [patch] PR other/65366: Fix gdbhooks.py for GDB with Python3 https://gcc.gnu.org/ml/gcc-patches/2015-03/msg00502.html

[Bug other/65366] New: gdbhooks.py is incompatible with Python3

2015-03-09 Thread jan.kratochvil at redhat dot com
Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Host: x86_64-linux-gnu GDB Python support upstream has always been compatible with Python3. Fedora since F-22 builds GDB with Python3 by default (=F-21 GDB used Python2). gdbhooks.py

[Bug c/65228] ICE: expected tree that contains ‘decl minimal’ structure, have ‘error_mark’ in start_decl

2015-02-27 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65228 --- Comment #8 from Jan Kratochvil jan.kratochvil at redhat dot com --- Great, thanks.

[Bug other/65228] New: libcc1: ICE: expected tree that contains ‘decl minimal’ structure, have ‘error_mark’ in start_decl

2015-02-26 Thread jan.kratochvil at redhat dot com
Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com CC: pmuldoon at redhat dot com Host: x86_64-linux-gnu Target: x86_64-linux-gnu

[Bug c/65228] ICE: expected tree that contains ‘decl minimal’ structure, have ‘error_mark’ in start_decl

2015-02-26 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65228 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Component|other |c

[Bug c/65228] ICE: expected tree that contains ‘decl minimal’ structure, have ‘error_mark’ in start_decl

2015-02-26 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65228 --- Comment #3 from Jan Kratochvil jan.kratochvil at redhat dot com --- Interesting that FSF GCC r220934 which should be gcc-5.0.0-0.16.fc23.x86_64 still crashes while that Fedora GCC does not crash.

[Bug c++/65188] New: diagnostic: missing: reference to non-static member function must be called

2015-02-24 Thread jan.kratochvil at redhat dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target: x86_64-linux-gnu class C { public: void f() {} } c; int main() { return c.f.a; } -Wall g++ (GCC) 5.0.0 20150224

[Bug c++/65188] improve error for member operator applied to non-class type

2015-02-24 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65188 --- Comment #2 from Jan Kratochvil jan.kratochvil at redhat dot com --- (In reply to Manuel López-Ibáñez from comment #1) How does Clang message help in this case? The suggested fix 'c.f().a' will just give 'invalid use of void type' I have

[Bug c++/65168] New: diagnostic: missing: reference cannot be bound to dereferenced null pointer

2015-02-22 Thread jan.kratochvil at redhat dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Target: x86_64-linux-gnu int main() { int *p=static_castint *(0),r=*p; return !r; } -Wall g++ (GCC) 5.0.0 20150221 (experimental

[Bug c++/65132] New: diagnostics: missing: bitfield member cannot have an in-class initializer

2015-02-20 Thread jan.kratochvil at redhat dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com class C { bool x:1=false; }; g++ (GCC) 5.0.0 20150219 (experimental): field.C:1:20: error: an assignment cannot appear in a constant-expression

[Bug debug/58123] [4.8/4.9/5 Regression] debug line not tracked for last autovariable dtor

2015-02-18 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58123 --- Comment #8 from Jan Kratochvil jan.kratochvil at redhat dot com --- (In reply to Aldy Hernandez from comment #7) Putting this aside for a second, my question is, do we really want a debugging experience where we jump from back from the end

[Bug rtl-optimization/64300] [5 Regression] s390x, ICE, unable to generate reloads, in curr_insn_transform, at lra-constraints.c

2015-01-14 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64300 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/64300] New: s390x, ICE, unable to generate reloads, in curr_insn_transform, at lra-constraints.c

2014-12-13 Thread jan.kratochvil at redhat dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jan.kratochvil at redhat dot com Host: x86_64-linux-gnu Target: s390x-linux-gnu Created attachment 34274 -- https://gcc.gnu.org/bugzilla

  1   2   3   >