[Bug tree-optimization/80511] [8 Regression] gcc.dg/Wstrict-overflow-18.c

2017-04-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80511 --- Comment #1 from Marc Glisse --- https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=247123

[Bug demangler/80513] New: demangler walks past trailing nul in mangled name in a bunch of cases

2017-04-24 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80513 Bug ID: 80513 Summary: demangler walks past trailing nul in mangled name in a bunch of cases Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/80512] New: missing -Wformat-overfow on a numbered directive with width specified by "*m$"

2017-04-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80512 Bug ID: 80512 Summary: missing -Wformat-overfow on a numbered directive with width specified by "*m$" Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: no

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-24 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 --- Comment #2 from Steve Kargl --- On Mon, Apr 24, 2017 at 11:05:03PM +, kargl at gcc dot gnu.org wrote: > > gc-dump.pod > doc/gcov-dump.1.T$$ && \ > > mv -f doc/gcov-dump.1.T$$ doc/gcov-dump.1) || \ > > (rm -f doc/gcov-dump.

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 kargl at gcc dot gnu.org changed: What|Removed |Added CC||rguenther at suse dot de --- C

[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 #31 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #30) > Created attachment 41259 [details] > gcc7-pr77728.patch The above attached version successfully bootstrapped with --enable-languages=c,c++ --enable-checking=re

[Bug tree-optimization/80511] New: [8 Regression] gcc.dg/Wstrict-overflow-18.c

2017-04-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80511 Bug ID: 80511 Summary: [8 Regression] gcc.dg/Wstrict-overflow-18.c Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority:

[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 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIR

[Bug fortran/80121] Memory leak with derived-type intent(out) argument

2017-04-24 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80121 --- Comment #13 from janus at gcc dot gnu.org --- Author: janus Date: Mon Apr 24 20:44:14 2017 New Revision: 247115 URL: https://gcc.gnu.org/viewcvs?rev=247115&root=gcc&view=rev Log: 2017-04-22 Janus Weil PR fortran/80121 * gf

[Bug target/79430] [7/8 Regression] action of statement incorrectly optimised away

2017-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430 --- Comment #72 from Jakub Jelinek --- Do you have assembly diff before/after that revision (or with current trunk with the #c71 patch applied vs. not applied)? On which TU it makes a difference, with what gfortran options they are compiled?

[Bug target/79430] [7/8 Regression] action of statement incorrectly optimised away

2017-04-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430 --- Comment #71 from Thomas Koenig --- Created attachment 41260 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41260&action=edit Proposed patch (reverting all updates to reg-stack.c after r244920 If no other solution can be found, we can a

[Bug target/80510] New: Optimize Power7/power8 Altivec load/stores

2017-04-24 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80510 Bug ID: 80510 Summary: Optimize Power7/power8 Altivec load/stores Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/80016] error is positioned incorrectly

2017-04-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80016 --- Comment #3 from David Malcolm --- Author: dmalcolm Date: Mon Apr 24 19:12:52 2017 New Revision: 247108 URL: https://gcc.gnu.org/viewcvs?rev=247108&root=gcc&view=rev Log: Fix location of sizeof/alignof (PR c++/80016) PR c++/80016 reports an

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

2017-04-24 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80494 Dominique d'Humieres changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Com

[Bug fortran/80508] ice in wide_int_to_tree, at tree.c:1489 with -O2

2017-04-24 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80508 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/80509] ICE in cc1 during selftests

2017-04-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 kargl at gcc dot gnu.org changed: What|Removed |Added Target||x86_64-unknown-freebsd12.0

[Bug bootstrap/80509] New: ICE in cc1 during selftests

2017-04-24 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80509 Bug ID: 80509 Summary: ICE in cc1 during selftests Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: bootstrap As

[Bug sanitizer/80349] [6 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-24 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #8 from Dmitry Babokin --- I also see crashes reporting problems with ^ operator.

[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 #30 from Jakub Jelinek --- Created attachment 41259 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41259&action=edit gcc7-pr77728.patch This is how I'd have written the aarch32 patch. It has smaller amount of changes and calls

[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 #29 from Jakub Jelinek --- Also, the aarch64_function_arg_alignment and arm_needs_doubleword_align function comments need updating.

[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 #28 from Jakub Jelinek --- The + else + warn_align = MAX (warn_align, DECL_ALIGN (field)); last line here is misindented, should be below se.

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

2017-04-24 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80499 --- Comment #3 from Qirun Zhang --- (In reply to Richard Biener from comment #2) > Do you have a C fragment producing this RTL? Hi Richard, The original RTL file is at testsuite/gcc.dg/rtl/x86_64/final.c. The original C file seems to be testsu

[Bug c++/80507] [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 --- Comment #2 from Arnaud Desitter --- Could you explain why the code not valid C++ please?

[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 #27 from Ramana Radhakrishnan --- (In reply to Ramana Radhakrishnan from comment #26) > Created attachment 41257 [details] > AArch32 wip patch. > > I think there's one line > 80 chars here but this is what I'm testing > currently. >

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

2017-04-24 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491 --- Comment #7 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #6) > Segher, any idea what can be done about the second (combiner) issue? > Is it possible to special case MODE_CC class hard registers that are just > clobbered

[Bug fortran/80508] New: ice in wide_int_to_tree, at tree.c:1489 with -O2

2017-04-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80508 Bug ID: 80508 Summary: ice in wide_int_to_tree, at tree.c:1489 with -O2 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fo

[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 #41255|0 |1 is obsolete|

[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

[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 --- 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 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 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 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/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 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/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++/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 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/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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Ramana Radhakrishnan changed: What|Removed |Added Attachment #41237|0 |1 is obsolete|

[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 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++/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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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/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 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 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 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 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 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++/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 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 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++/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++/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 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 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 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 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 #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 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 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 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 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 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 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

  1   2   >