[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/80497] ICE at -O1 and above on valid code on x86_64-linux-gnu in "tree_to_uhwi"

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80497 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug rtl-optimization/80499] ICE on RTL code on x86_64-linux-gnu in "extract_insn"

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80499 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500 --- Comment #1 from Jakub Jelinek --- Created attachment 41251 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41251&action=edit gcc8-pr80500.patch Untested fix.

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 --- Comment #6 from Richard Biener --- Author: rguenth Date: Mon Apr 24 07:33:20 2017 New Revision: 247089 URL: https://gcc.gnu.org/viewcvs?rev=247089&root=gcc&view=rev Log: 2017-04-24 Richard Biener PR bootstrap/79814 * pass

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 --- Comment #24 from Richard Biener --- Author: rguenth Date: Mon Apr 24 07:34:51 2017 New Revision: 247090 URL: https://gcc.gnu.org/viewcvs?rev=247090&root=gcc&view=rev Log: 2017-04-24 Richard Biener PR c++/2972 * tree-ssa-un

[Bug target/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 2972, which changed state. Bug 2972 Summary: -Wuninitialized could warn about uninitialized member variable usage in constructors https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 What|Removed

[Bug tree-optimization/79725] Sinking opportunity missed if blocked by dead stmt

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79725 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/79725] Sinking opportunity missed if blocked by dead stmt

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79725 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon Apr 24 07:48:47 2017 New Revision: 247091 URL: https://gcc.gnu.org/viewcvs?rev=247091&root=gcc&view=rev Log: 2017-04-24 Richard Biener PR tree-optimization/79725

[Bug target/80482] [7/8 Regression] vec_mul produces compilation error if 1 of its parms is const or volatile

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80482 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/80487] redundant memset/strncpy calls not eliminated

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80487 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/80490] -gsplit-dwarf: top namespace info seems to be lost in GDB

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80490 --- Comment #2 from Richard Biener --- The DWARF in the dwo looks ok to me so this is a gdb bug. gdb only knows f and g in ossia::...

[Bug rtl-optimization/80491] [6/7/8 Regression] Compiler regression for long-add case.

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* Priority

[Bug other/80492] [5/6 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 Richard Biener changed: What|Removed |Added Target||avr Target Milestone|---

[Bug target/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug rtl-optimization/80500] [7/8 Regression] ICE: internal consistency failure (error: invalid rtl sharing found in the insn)

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80500 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug rtl-optimization/80499] ICE on RTL code on x86_64-linux-gnu in "extract_insn"

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80499 --- Comment #2 from Richard Biener --- Do you have a C fragment producing this RTL?

[Bug c++/80495] attribute [[noreturn]] is accepted in function pointer declarations

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80495 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid --- Comment #1 from Ric

[Bug fortran/80494] [8 Regression] ICE in wide_int_to_tree

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80494 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread gcc at zutt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #2 from jonne --- Thanks Martin. I tried to run it with gdb. With gdb, I seem to get an unknown signal immediately. (running gdb as root at the moment, because of an issue with code-signing) # gdb ./a.out GNU gdb (GDB) 7.12.1 Copyri

[Bug target/80503] New: ICE in extract_insn, at recog.c:2311 on ppc64le-linux-gnu

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80503 Bug ID: 80503 Summary: ICE in extract_insn, at recog.c:2311 on ppc64le-linux-gnu Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread gcc at zutt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #3 from jonne --- Read somewhere that I need to do this to make gdb work on Sierra. Not sure what it all means... $ cat ~/.gdbinit set startup-with-shell off After doing that, I get a different result running gdb. $ sudo /usr/local

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 Uroš Bizjak changed: What|Removed |Added Component|target |rtl-optimization --- Comment #2 from Uroš

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread gcc at zutt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #4 from jonne --- I managed to code-sign gdb by following https://sourceware.org/gdb/wiki/BuildingOnDarwin. Not that I expect it to matter much related to this ticket, but I also noticed the stacktrace looks a little different when I

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #3 from Jakub Jelinek --- Adjusted testcase for the testsuite: signed char v = 0; static signed char foo (int x, int y) { return x << y; } __attribute__((noinline, noclone)) int bar (void) { return foo (v >= 0, __CHAR_BIT__ - 1

[Bug target/78090] [x86_64]: GCC allows integer register for inter unit conversion under -mtune-ctrl=^inter_unit_conversions .

2017-04-24 Thread venkataramanan.kumar at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78090 Venkataramanan changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #6 from Venkataram

[Bug debug/80490] -gsplit-dwarf: top namespace info seems to be lost in GDB

2017-04-24 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80490 --- Comment #3 from Jean-Michaël Celerier --- Okay, I reported on their bug tracker. I guess this issue can be closed ?

[Bug debug/80490] -gsplit-dwarf: top namespace info seems to be lost in GDB

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80490 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #5 from Martin Liška --- My constructor for main looks as follows: _GLOBAL__sub_I_00099_1_main: .LFB7137: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq%rsp, %rb

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread gcc at zutt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #6 from jonne --- I installed gdb with homebrew. I think it was compiled with debugging symbols, because of: $ otool -Iv /usr/local/opt/gdb/bin/gdb | head -5 /usr/local/opt/gdb/bin/gdb: Indirect symbols for (__TEXT,__stubs) 452 entri

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread gcc at zutt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #7 from jonne --- I compiled with -S and looked at m.s. I'm not sure, but my main function could be this (I found this code in m.s, by searching for 'main', lines 4058 - 4095): lC6: .ascii "foo test 123\0" .space 51 .text

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #5 from Jakub Jelinek --- So, combine_simplify_rtx turns: (set (reg:CCNO 17 flags) (compare:CCNO (subreg:QI (and:SI (lshiftrt:SI (reg:SI 97) (const_int 24 [0x18])) (const_int 128 [0x80])) 0)

[Bug libstdc++/80493] std::experimental::optional::swap is ill formed

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80493 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/72845] gcc crashes (ICE) when compiling program with complex noexcept declaration

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72845 Jonathan Wakely changed: What|Removed |Added Keywords||ice-on-invalid-code Last reconfirmed

[Bug c++/70142] Class members not in scope in exception-specification

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70142 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/66256] noexcept evaluation done before end of class

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256 Jonathan Wakely changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Comm

[Bug c++/66256] noexcept evaluation done before end of class

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66256 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Last reconfirmed|201

[Bug libstdc++/80493] std::experimental::optional::swap is ill formed

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80493 --- Comment #1 from Jonathan Wakely --- PR 66256 is the accepts-invalid front-end bug.

[Bug libstdc++/80504] New: missing qualification causes ADL to be used in std::ref / std::cref

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80504 Bug ID: 80504 Summary: missing qualification causes ADL to be used in std::ref / std::cref Product: gcc Version: 5.4.1 Status: UNCONFIRMED Keywords: rejects-val

[Bug libstdc++/80504] missing qualification causes ADL to be used in std::ref / std::cref

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80504 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #7 from Uroš Bizjak --- Comment on attachment 41252 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41252 gcc8-pr80501.patch > && exact_log2 (UINTVAL (XEXP (inner, 1))) >- >= GET_MODE_BITSIZ

[Bug target/78849] ICE on initialization of global struct containing __int20 array at varasm.c:4968

2017-04-24 Thread jozef.l at somniumtech dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78849 Jozef Lawrynowicz changed: What|Removed |Added CC||jozef.l at somniumtech dot com --- C

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #8 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #7) > Comment on attachment 41252 [details] > gcc8-pr80501.patch > > > && exact_log2 (UINTVAL (XEXP (inner, 1))) > >- >= GET_MODE_BITSI

[Bug libstdc++/80493] std::experimental::optional::swap is ill formed

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80493 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Mon Apr 24 11:40:02 2017 New Revision: 247093 URL: https://gcc.gnu.org/viewcvs?rev=247093&root=gcc&view=rev Log: PR libstdc++/80493 fix invalid exception specification PR libstd

[Bug libstdc++/80504] missing qualification causes ADL to be used in std::ref / std::cref

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80504 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Mon Apr 24 11:40:07 2017 New Revision: 247094 URL: https://gcc.gnu.org/viewcvs?rev=247094&root=gcc&view=rev Log: PR libstdc++/80504 qualify calls to avoid ADL PR libstdc++/80504

[Bug rtl-optimization/80491] [6/7/8 Regression] Compiler regression for long-add case.

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491 --- Comment #4 from Jakub Jelinek --- Started with my r230856. I'll have a look. C testcase: struct S { unsigned long long low, hi; }; struct S add (struct S *a, struct S *b) { struct S s; s.low = a->low + b->low; s.hi = a->hi + b->hi + (

[Bug rtl-optimization/80501] [6/7/8 Regression] Wrong code w/ a signed char, a shift, and a conversion to int

2017-04-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80501 --- Comment #9 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #8) > No, >= GET_MODE_BITSIZE (mode) + 1 could be written as > GET_MODE_BITSIZE > (mode) Ah, indeed, sorry for mixup.

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #8 from Martin Liška --- Ok, we're not searching for main function, but _GLOBAL__sub_I_00099_1_m.cpp (which is a static constructor) and I'm interested in instructions in the function. Please use gdb once more time, go to frame (#14)

[Bug debug/78587] dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int [4]'; cast to an unsigned type to negate this value to itself

2017-04-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78587 Markus Trippelsdorf changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/69412] bootstrap-ubsan profiledbootstrap issues

2017-04-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69412 Markus Trippelsdorf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/80494] [8 Regression] ICE in wide_int_to_tree

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80494 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Apr 24 11:57:53 2017 New Revision: 247095 URL: https://gcc.gnu.org/viewcvs?rev=247095&root=gcc&view=rev Log: 2017-04-24 Richard Biener PR tree-optimization/80494

[Bug fortran/80494] [8 Regression] ICE in wide_int_to_tree

2017-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80494 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread gcc at zutt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #9 from jonne --- Ok, I've done that now. Thanks again. $ gdb ./a.out GNU gdb (GDB) 7.12.1 ... snip ... Reading symbols from ./a.out...Reading symbols from /private/tmp/a.out.dSYM/Contents/Resources/DWARF/a.out...done. done. (gdb) r

[Bug testsuite/80505] New: FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test"

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505 Bug ID: 80505 Summary: FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test" Product: gcc Version: 7.0 Status: UNCONFIRMED Sev

[Bug testsuite/80505] FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test"

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505 --- Comment #1 from Martin Liška --- Created attachment 41253 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41253&action=edit dump file

[Bug libstdc++/80506] New: Wrong magic number in std::gamma_distribution

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80506 Bug ID: 80506 Summary: Wrong magic number in std::gamma_distribution Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libst

[Bug libstdc++/80506] Wrong magic number in std::gamma_distribution

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80506 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/67531] No IEEE rounding support for powerpc long double type

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67531 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #6

[Bug fortran/67531] No IEEE rounding support for powerpc long double type

2017-04-24 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67531 --- Comment #7 from David Edelsohn --- What progress do you expect? IBM long double does not support non-default rounding. This will be fixed when PPC64LE long double defaults to IEEE 128 bit floating point.

[Bug ipa/79375] gcc/ipa-prop.c:203:32: runtime error: reference binding to null pointer of type 'struct vec' after revision r244802

2017-04-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79375 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/67531] No IEEE rounding support for powerpc long double type

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67531 --- Comment #8 from Martin Liška --- (In reply to David Edelsohn from comment #7) > What progress do you expect? IBM long double does not support non-default > rounding. This will be fixed when PPC64LE long double defaults to IEEE 128 > bit flo

[Bug sanitizer/80498] Simple program with address sanitizer and regex hangs

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498 --- Comment #10 from Martin Liška --- Huh, no debugging symbols so hard to guess where lead all the jumps. I would try to add breakpoint to '__asan_init'.

[Bug c++/79078] Warnings from deprecated attribute are too noisy

2017-04-24 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug fortran/80477] [OOP] Polymorphic function result generates memory leak

2017-04-24 Thread paul.richard.thomas at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80477 --- Comment #11 from paul.richard.thomas at gmail dot com --- Hi Janus, I'll take a look tonight. I believe, without the source in front of me, that s/gfc_add_expr_to_block (&post, gfc_call_free (tmp));/gfc_add_expr_to_block (&se->post, gfc_cal

[Bug c/80378] Extend alloc_size attribute for better Linux kernel checking

2017-04-24 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80378 --- Comment #4 from Andi Kleen --- I tested it now and the inline trick doesn't work. Here's a test case extern void *do_alloc(int a, int b); static inline __attribute__((alloc_size(1))) void check_alloc_size(int size) { } static inline void *

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-24 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 Ramana Radhakrishnan changed: What|Removed |Added Attachment #41237|0 |1 is obsolete|

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #24 from Jakub Jelinek --- std::min/max was used in the backend previously too, so it is your decision and doesn't need to be changed to resolve this regression. Do you have arm32 patch too, or would it be helpful if I write one simil

[Bug target/77728] [5/6/7/8 Regression] Miscompilation multiple vector iteration on ARM

2017-04-24 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 --- Comment #25 from Ramana Radhakrishnan --- Created attachment 41255 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41255&action=edit AArch32 wip patch. - There are some line > 80 characters, cosmetic issues in this patch . - However t

[Bug c++/79078] Warnings from deprecated attribute are too noisy

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078 --- Comment #10 from Jonathan Wakely --- (In reply to Daniel Krügler from comment #9) > PR 61754 seems to be related. I think for the examples here it makes no difference if you use __attribute__((deprecated(""))) or [[deprecated("")]]

[Bug ipa/79931] ICE in dump_possible_polymorphic_call_targets with -fdump-ipa-all -O2

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79931 --- Comment #7 from Martin Liška --- Author: marxin Date: Mon Apr 24 13:16:34 2017 New Revision: 247097 URL: https://gcc.gnu.org/viewcvs?rev=247097&root=gcc&view=rev Log: Fix (PR middle-end/79931) 2017-04-24 Jan Hubicka PR middle-en

[Bug ipa/79931] ICE in dump_possible_polymorphic_call_targets with -fdump-ipa-all -O2

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79931 Martin Liška changed: What|Removed |Added Known to work||8.0 --- Comment #8 from Martin Liška ---

[Bug c++/79078] Warnings from deprecated attribute are too noisy

2017-04-24 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078 --- Comment #11 from Daniel Krügler --- (In reply to Jonathan Wakely from comment #10) > (In reply to Daniel Krügler from comment #9) > > PR 61754 seems to be related. > > I think for the examples here it makes no difference if you use > __attri

[Bug libstdc++/80506] Wrong magic number in std::gamma_distribution

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80506 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Mon Apr 24 13:43:19 2017 New Revision: 247099 URL: https://gcc.gnu.org/viewcvs?rev=247099&root=gcc&view=rev Log: PR libstdc++/80506 fix constant used in condition PR libstdc++/8

[Bug target/80482] [7/8 Regression] vec_mul produces compilation error if 1 of its parms is const or volatile

2017-04-24 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80482 --- Comment #3 from seurer at gcc dot gnu.org --- Yeah, I was going to try something like that. There are some other places this probably need to be done too.

[Bug target/80482] [7/8 Regression] vec_mul produces compilation error if 1 of its parms is const or volatile

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80482 --- Comment #4 from Jakub Jelinek --- If you want the fix in 7.1, please post is soon (best later today).

[Bug other/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-24 Thread gjl at gcc dot gnu.org
; s++) { syscall_7 (0); syscall_7 (1); } } $ gcc -S -O2 -dp -v ... Configured with: ../../gcc.gnu.org/gcc-7-branch/configure --prefix=/local/gnu/install/gcc-7-host --enable-languages=c,c++ --enable-checking=release --disable-bootstrap Thread model: posix gcc version 7.0.1

[Bug c++/80507] New: [C++17] static variable definition not emitted with -std=c++1z when defined as constexpr

2017-04-24 Thread arnaud02 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80507 Bug ID: 80507 Summary: [C++17] static variable definition not emitted with -std=c++1z when defined as constexpr Product: gcc Version: unknown Status: UNCONFIRMED

[Bug ipa/79931] ICE in dump_possible_polymorphic_call_targets with -fdump-ipa-all -O2

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79931 --- Comment #9 from Martin Liška --- Author: marxin Date: Mon Apr 24 14:48:43 2017 New Revision: 247102 URL: https://gcc.gnu.org/viewcvs?rev=247102&root=gcc&view=rev Log: Subject: Backport r247097 2017-04-24 Martin Liska Backport fr

[Bug other/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #5 from Uroš Bizjak --- (In reply to Georg-Johann Lay from comment #4) > The 2 last inline asms are missing the set of ESI. You should mark that "Some Code" asm clobbers %esi.

[Bug tree-optimization/80497] ICE at -O1 and above on valid code on x86_64-linux-gnu in "tree_to_uhwi"

2017-04-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80497 Martin Sebor changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code Status|NE

[Bug c/80378] Extend alloc_size attribute for better Linux kernel checking

2017-04-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80378 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug ipa/79931] ICE in dump_possible_polymorphic_call_targets with -fdump-ipa-all -O2

2017-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79931 Martin Liška changed: What|Removed |Added Known to work||7.0.1 Known to fail|7.0

[Bug c/80378] Extend alloc_size attribute for better Linux kernel checking

2017-04-24 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80378 --- Comment #6 from Andi Kleen --- In the kernel there is also an upper limit on allocations. Perhaps just a generic assert builtin that: - uses value range information - uses constant propagation - is a nop when the compiler doesn't have either

[Bug other/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-24 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #6 from Georg-Johann Lay --- (In reply to Uroš Bizjak from comment #5) > (In reply to Georg-Johann Lay from comment #4) > > > The 2 last inline asms are missing the set of ESI. > > You should mark that "Some Code" asm clobbers %esi.

[Bug c++/80507] [C++17] static variable definition not emitted with -std=c++1z when defined as constexpr

2017-04-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80507 --- Comment #1 from Jonathan Wakely --- I'm not sure if the PR 59123 change was meant to apply to static data members. The example in PR 59123 is valid C++, but your code is not. In any case, the change in semantics is almost certainly due to th

[Bug tree-optimization/80293] [6/7/8 Regression] unnecessary code at -O2 (-O1 is fine)

2017-04-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 --- Comment #6 from Martin Jambor --- Author: jamborm Date: Mon Apr 24 15:13:39 2017 New Revision: 247104 URL: https://gcc.gnu.org/viewcvs?rev=247104&root=gcc&view=rev Log: [PR 80293] Dont totally-scalarize char arrays 2017-04-24 Martin Jambor

[Bug c/80378] Extend alloc_size attribute for better Linux kernel checking

2017-04-24 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80378 --- Comment #7 from Alexander Monakov --- This sounds like a separate problem that is solvable via __builtin_constant_p? For example: void link_error(void) __attribute__((error("size check failed"))); if (__builtin_constant_p(size) &&

[Bug tree-optimization/80293] [6/7 Regression] unnecessary code at -O2 (-O1 is fine)

2017-04-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 Martin Jambor changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/80492] [5/6/7 Regression] Wrong code when unrolling a loop with inline asm and local regs

2017-04-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492 --- Comment #8 from Uroš Bizjak --- Happens in fre3 pass. The pass starts with: do_syscalls () { register int reg __asm__ (*4); register int reg __asm__ (*4); int s; [33.33%]: reg = 0; __asm__ __volatile__("/* Some Code %0 */" :

[Bug c/80378] Extend alloc_size attribute for better Linux kernel checking

2017-04-24 Thread andi-gcc at firstfloor dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80378 --- Comment #8 from Andi Kleen --- __builtin_constant_p does not cover variable range information, which is what we're looking for here to prevent security bugs. Also in my experience these explicit expressions tend to be somewhat fragile and is

[Bug rtl-optimization/80491] [6/7/8 Regression] Compiler regression for long-add case.

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491 --- Comment #5 from Jakub Jelinek --- Created attachment 41256 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41256&action=edit gcc8-pr80491.patch The conditional jump is part of the overflow checking optabs, the expectation was that we ha

[Bug target/80479] [7/8 Regression] strcmp() produces valgrind errors on ppc64le

2017-04-24 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80479 Markus Trippelsdorf changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment

[Bug rtl-optimization/80491] [6/7/8 Regression] Compiler regression for long-add case.

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491 Jakub Jelinek changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comment #6

  1   2   >