[Bug gcov-profile/83669] Add version info to intermediate gcov file

2018-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83669 --- Comment #1 from Martin Liška --- Author: marxin Date: Thu Jan 4 08:55:15 2018 New Revision: 256227 URL: https://gcc.gnu.org/viewcvs?rev=256227&root=gcc&view=rev Log: Add version to intermediate gcov file (PR gcov-profile/83669). 2018-01-04

[Bug other/82352] [7/8 Regression] comdat-local function called by void h::i() outside its comdat

2018-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352 --- Comment #4 from Martin Liška --- Author: marxin Date: Thu Jan 4 08:54:17 2018 New Revision: 256226 URL: https://gcc.gnu.org/viewcvs?rev=256226&root=gcc&view=rev Log: Be careful about comdat boundary in ICF (PR ipa/82352). 2018-01-04 Marti

[Bug other/82352] [7 Regression] comdat-local function called by void h::i() outside its comdat

2018-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352 Martin Liška changed: What|Removed |Added Known to work||8.0 Summary|[7/8 Regression]

[Bug gcov-profile/83669] Add version info to intermediate gcov file

2018-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83669 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/83628] performance regression when accessing arrays on alpha

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

[Bug tree-optimization/83668] [8 Regression] wrong code with -O -fno-tree-dominator-opts -fgraphite-identity

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

[Bug tree-optimization/83605] [6/7/8 Regression] ICE: verify_gimple failed (error: dead STMT in EH table)

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83605 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/83628] performance regression when accessing arrays on alpha

2018-01-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/83624] Strong using deprecation warning in C++03

2018-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83624 --- Comment #4 from Jonathan Wakely --- Because it's not non-standard, inline namespaces are standard. That means the compiler already supports them, and will continue to do so. Supporting a different (inferior) way to achieve something similar

[Bug target/83628] performance regression when accessing arrays on alpha

2018-01-04 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Thu Jan 4 09:42:01 2018 New Revision: 256228 URL: https://gcc.gnu.org/viewcvs?rev=256228&root=gcc&view=rev Log: PR target/83628 * config/alpha/alpha.md (*sadd): U

[Bug tree-optimization/83605] [6/7/8 Regression] ICE: verify_gimple failed (error: dead STMT in EH table)

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83605 --- Comment #3 from Jakub Jelinek --- Created attachment 43029 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43029&action=edit gcc8-pr83605.patch While in theory we could handle this case (CSE of a possibly throwing stmt) by doing maybe_c

[Bug preprocessor/83602] [8 Regression] ICE in cpp_macro_definition_location(cpp_hashnode*) on invalid code

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83602 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83621 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/83645] [8 Regression] ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83645 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/83554] [8 Regression] ICE: in ix86_mitigate_rop, at config/i386/i386.c:41274 with -mmitigate-rop

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83554 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/83675] [8 regression] Many SPARC tests FAIL with unrecognizable insn

2018-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83675 --- Comment #3 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Thu Jan 4 09:51:08 2018 New Revision: 256229 URL: https://gcc.gnu.org/viewcvs?rev=256229&root=gcc&view=rev Log: PR83675: Restore TARGET_VIS2 check for SPARC vec_perm_co

[Bug middle-end/83675] [8 regression] Many SPARC tests FAIL with unrecognizable insn

2018-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83675 --- Comment #4 from rsandifo at gcc dot gnu.org --- Patch applied -- thanks for the testing.

[Bug middle-end/83675] [8 regression] Many SPARC tests FAIL with unrecognizable insn

2018-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83675 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug fortran/83679] New: [6 regression] r256113 causes regression on pr77942.f90

2018-01-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83679 Bug ID: 83679 Summary: [6 regression] r256113 causes regression on pr77942.f90 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority

[Bug middle-end/83680] New: [8 regression] Numerous regressions on arm since r256093

2018-01-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83680 Bug ID: 83680 Summary: [8 regression] Numerous regressions on arm since r256093 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug middle-end/83680] [8 regression] Numerous regressions on arm since r256093

2018-01-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83680 --- Comment #2 from Christophe Lyon --- Created attachment 43032 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43032&action=edit gcc armeb-none-linux-gnueabihf

[Bug middle-end/83680] [8 regression] Numerous regressions on arm since r256093

2018-01-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83680 --- Comment #1 from Christophe Lyon --- Created attachment 43031 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43031&action=edit gcc arm-none-linux-gnueabihf

[Bug c/83676] Problems with sscanf parsing hex-floats

2018-01-04 Thread BM-2cUWXLL9JqDWpsk8EivFHCgbsbXFtsxQrk at bitmessage dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83676 --- Comment #2 from Moritz K. --- Okay, I didn't know that.

[Bug middle-end/83680] [8 regression] Numerous regressions on arm since r256093

2018-01-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83680 --- Comment #4 from Christophe Lyon --- Created attachment 43034 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43034&action=edit gfortran arm-none-linux-gnueabihf

[Bug middle-end/83680] [8 regression] Numerous regressions on arm since r256093

2018-01-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83680 --- Comment #3 from Christophe Lyon --- Created attachment 43033 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43033&action=edit g++ arm-none-linux-gnueabihf

[Bug libstdc++/83607] std::boyer_moore_searcher is slow searching through arrays of std::byte

2018-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83607 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Thu Jan 4 10:21:29 2018 New Revision: 256231 URL: https://gcc.gnu.org/viewcvs?rev=256231&root=gcc&view=rev Log: PR libstdc++/83607 specialize Boyer-Moore searchers for std::byte

[Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018

2018-01-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83665 Markus Trippelsdorf changed: What|Removed |Added Keywords||needs-bisection Status

[Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018

2018-01-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83665 Markus Trippelsdorf changed: What|Removed |Added Target Milestone|--- |8.0

[Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018

2018-01-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83665 --- Comment #4 from Martin Liška --- I see change in r256072 that increased .text in gromacs from: 83.6% 743Ki .text 743Ki 14.4% to 83.8% 760Ki .text 760Ki 14.4%

[Bug target/83554] [8 Regression] ICE: in ix86_mitigate_rop, at config/i386/i386.c:41274 with -mmitigate-rop

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

[Bug debug/83666] [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83666 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Thu Jan 4 11:44:07 2018 New Revision: 256232 URL: https://gcc.gnu.org/viewcvs?rev=256232&root=gcc&view=rev Log: PR debug/83666 * cfgexpand.c (expand_dbeug_expr) : Punt if

[Bug debug/83666] [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83666 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/83627] -Wdelete-non-virtual-dtor doesn't trigger when calling destructor by hand

2018-01-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83627 --- Comment #2 from Jonathan Wakely --- Tangentially related: Bug 60262

[Bug target/83681] New: epiphany: config/epiphany/epiphany.h:883:8: error: unknown type name 'rtl_opt_pass'

2018-01-04 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83681 Bug ID: 83681 Summary: epiphany: config/epiphany/epiphany.h:883:8: error: unknown type name 'rtl_opt_pass' Product: gcc Version: 8.0 Status: UNCONFIRMED Severit

[Bug rtl-optimization/83628] [8 Regression] performance regression when accessing arrays on alpha

2018-01-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|NEW CC|

[Bug rtl-optimization/83628] [8 Regression] performance regression when accessing arrays on alpha

2018-01-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628 --- Comment #5 from Segher Boessenkool --- The MULT is not canonical. For some reason we do not realise we can do the ASHIFT as SI instead of DI.

[Bug target/83554] [8 Regression] ICE: in ix86_mitigate_rop, at config/i386/i386.c:41274 with -mmitigate-rop

2018-01-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83554 --- Comment #3 from Uroš Bizjak --- Comment on attachment 43035 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43035 gcc8-pr83554.patch >(any_rotate:HI (match_dup 0) (const_int 8))) > (clobber (reg:CC FLAGS_REG))] > "reload_comp

[Bug target/83507] [8 Regression] ICE in internal_dfa_insn_code_* for powerpc targets

2018-01-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83507 --- Comment #1 from Segher Boessenkool --- I cannot reproduce this on either powerpc-linux or powerpc64-linux.

[Bug c/83682] New: [8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6296

2018-01-04 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83682 Bug ID: 83682 Summary: [8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6296 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/83507] [8 Regression] ICE in internal_dfa_insn_code_* for powerpc targets

2018-01-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83507 Segher Boessenkool changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #2

[Bug rtl-optimization/83628] [8 Regression] performance regression when accessing arrays on alpha

2018-01-04 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628 --- Comment #6 from Uroš Bizjak --- On a related note, gcc-5 (-O2) was able to also simplify: int test (int a, int b, int c) { return (a < b) * 4 + c; } cmplt $16,$17,$17 s4addl $17,$18,$0 ret $31,($26),1 where gcc-8

[Bug fortran/83683] New: eoshift accepts wrong-length boundary

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83683 Bug ID: 83683 Summary: eoshift accepts wrong-length boundary Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/81933] [7/8 Regression] Invalid "constexpr call flows off the end of the function" error

2018-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81933 --- Comment #5 from Marek Polacek --- Here's what happens. We get the "flows off" error because: 4151 if (tree init = DECL_INITIAL (r)) 4152 { 4153 init = cxx_eval_constant_expression (ctx, init, 4154

[Bug fortran/83683] eoshift accepts wrong-length boundary

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83683 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/83684] New: [5 Regression] ICE in maybe_diag_overlap, at gimple-ssa-warn-restrict.c:1371

2018-01-04 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83684 Bug ID: 83684 Summary: [5 Regression] ICE in maybe_diag_overlap, at gimple-ssa-warn-restrict.c:1371 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: norm

[Bug target/83466] Wrong TLS GD sequence for ILP32

2018-01-04 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83466 --- Comment #5 from Andreas Schwab --- This also fixes the original failure: miscompiled efl that causes python3-efl to fail to build.

[Bug middle-end/83685] New: [8 Regression] ICE: SSA corruption

2018-01-04 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83685 Bug ID: 83685 Summary: [8 Regression] ICE: SSA corruption Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-04 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #18 from Peter Bergner --- Author: bergner Date: Thu Jan 4 14:36:35 2018 New Revision: 256250 URL: https://gcc.gnu.org/viewcvs?rev=256250&root=gcc&view=rev Log: PR target/83387 * config/rs6000/rs6000.c (rs6000_discov

[Bug rtl-optimization/83575] [8 Regression] ICE: verify_flow_info failed (error: multiple hot/cold transitions found)

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83575 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/83680] [8 regression] Numerous regressions on arm since r256093

2018-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83680 --- Comment #5 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Thu Jan 4 14:39:03 2018 New Revision: 256251 URL: https://gcc.gnu.org/viewcvs?rev=256251&root=gcc&view=rev Log: PR83680: Inverted test in arm_vectorize_vec_perm_const

[Bug c++/81933] [7/8 Regression] Invalid "constexpr call flows off the end of the function" error

2018-01-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81933 --- Comment #6 from Marek Polacek --- And I bet the solution will be to handle empty classes in split_nonconstant_init_1 or somewhere similar.

[Bug middle-end/83680] [8 regression] Numerous regressions on arm since r256093

2018-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83680 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolutio

[Bug middle-end/83685] [8 Regression] ICE: SSA corruption

2018-01-04 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83685 --- Comment #1 from Matthias Klose --- $ cat score.i int b; char c; int _setjmp(); void a(); void d() { int e; while (b) { if (_setjmp()) a(e); if (c) { e--; a(); } e++; } }

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-04 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added Status|NEW |ASSIGNED URL|

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-04 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/83683] eoshift accepts wrong-length boundary

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83683 --- Comment #1 from Thomas Koenig --- Another thing that is incorrectly accepted, also with -fcheck=bounds: program main implicit none integer :: n integer :: i,n1, n2, n3 character(len=3), parameter :: e(2,3,4) = reshape([(repeat(achar(

[Bug c++/83686] New: [8 Regression] ICE (segfault) in determine_visibility

2018-01-04 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83686 Bug ID: 83686 Summary: [8 Regression] ICE (segfault) in determine_visibility Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/82096] ICE in int_mode_for_mode, at stor-layout.c:403 with arm-linux-gnueabi

2018-01-04 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82096 sudi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|201

[Bug c++/83686] [8 Regression] ICE (segfault) in determine_visibility

2018-01-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83686 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/82882] [8 regression] ICE Segmentation fault

2018-01-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82882 Markus Trippelsdorf changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Commen

[Bug target/83687] New: ARM NEON invalid optimisation for vabd/vabdl

2018-01-04 Thread nicholas at nicholaswilson dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83687 Bug ID: 83687 Summary: ARM NEON invalid optimisation for vabd/vabdl Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targ

[Bug other/82352] [7 Regression] comdat-local function called by void h::i() outside its comdat

2018-01-04 Thread holger.hopp at sap dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352 --- Comment #6 from Holger Hopp --- The patch fixes my >10 original issues with gcc-7. It also fixes similar (other, fewer) issues with gcc-6 (gcc-6.2.1 was ok, gcc-6.3.1 not ok, with patch ok). So please downport this patch also to gcc-6 branch.

[Bug c/83688] New: Please check if buffers may overlap when copying strings

2018-01-04 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 Bug ID: 83688 Summary: Please check if buffers may overlap when copying strings Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug c++/83667] ICE in dump_function_decl on a thunk with variadic arguments

2018-01-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83667 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Thu Jan 4 15:49:28 2018 New Revision: 256254 URL: https://gcc.gnu.org/viewcvs?rev=256254&root=gcc&view=rev Log: [PR c++/83667] Fix tree_dump ICE https://gcc.gnu.org/ml/gcc-patches/201

[Bug c/83688] Please check if buffers may overlap when copying strings

2018-01-04 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 --- Comment #1 from Daniel Fruzynski --- This also would allow to catch code which use sprintf to concatenate strings, what is an undefined behavior (snippet from https://linux.die.net/man/3/snprintf): sprintf(buf, "%s some further text", buf);

[Bug c/83559] [8 regression] -Wsuggest-attribute=const conflicts with -Wattributes warning about const attribute on function returning void

2018-01-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83559 --- Comment #5 from Eric Gallager --- (In reply to Martin Sebor from comment #4) > Fixed in r256188. Thanks for the quick fix! One thing I'm still wondering, though, what's the recommended way for maintaining compatibility with old compilers tha

[Bug c/83688] Please check if buffers may overlap when copying strings

2018-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c/83688] Please check if buffers may overlap when copying strings using sprintf

2018-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c/82922] Request: add -Wstrict-prototypes to -Wextra as K&R style is obsolescent

2018-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82922 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/83689] New: Internal compiler error using is_trivially_default_constructible on array of nontrivially-destructible types

2018-01-04 Thread zhangxy at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83689 Bug ID: 83689 Summary: Internal compiler error using is_trivially_default_constructible on array of nontrivially-destructible types Product: gcc Version: 7.2.1

[Bug debug/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section}

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83585 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Jan 4 17:47:55 2018 New Revision: 256256 URL: https://gcc.gnu.org/viewcvs?rev=256256&root=gcc&view=rev Log: PR debug/83585 * bb-reorder.c (insert_section_boundary_not

[Bug debug/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section}

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83585 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/83689] Internal compiler error using is_trivially_default_constructible on array of nontrivially-destructible types

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83689 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/83689] Internal compiler error using is_trivially_default_constructible on array of nontrivially-destructible types

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83689 --- Comment #2 from Jakub Jelinek --- #include struct X { X() {} }; void test01() { static_assert(std::is_trivially_constructible::value); } ICEs too (but not std::is_constructible).

[Bug c/83688] Please check if buffers may overlap when copying strings using sprintf

2018-01-04 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 --- Comment #3 from Daniel Fruzynski --- Looks that something is not working properly. I have pasted output from compilation of function in 1st post, and -Wrestrict complained only about last memcpy call. Please take a look on this. BTW, string

[Bug c++/83690] New: [8 regression] spurious unused variable warings for variables used only in static_assert

2018-01-04 Thread s...@li-snyder.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83690 Bug ID: 83690 Summary: [8 regression] spurious unused variable warings for variables used only in static_assert Product: gcc Version: 8.0 Status: UNCONFIRMED Se

[Bug target/83691] New: Invalid gpr_reg_operand handling in powerpcspe port

2018-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83691 Bug ID: 83691 Summary: Invalid gpr_reg_operand handling in powerpcspe port Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE

2018-01-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug c++/81327] [8 Regression] cast to void* does not suppress -Wclass-memaccess

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milest

[Bug target/83507] [8 Regression] ICE in internal_dfa_insn_code_* for powerpc targets

2018-01-04 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83507 --- Comment #3 from Arseny Solokha --- I've managed to generate a couple of additional testcases for this PR in December. Next week I'll check whether this ICE is still there w/ my setup.

[Bug fortran/83679] [6 regression] r256113 causes regression on pr77942.f90

2018-01-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83679 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/83679] [6 regression] r256113 causes regression on pr77942.f90

2018-01-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83679 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Known to work|

[Bug fortran/83679] [6 regression] r256113 causes regression on pr77942.f90

2018-01-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83679 kargl at gcc dot gnu.org changed: What|Removed |Added Target Milestone|7.2 |6.4 Known to fail|

[Bug c/83688] Please check if buffers may overlap when copying strings using sprintf

2018-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 --- Comment #4 from Martin Sebor --- There is nothing to indicate that the first call to memcpy() in comment #0 overlaps so -Wrestrict doesn't warn for it. One thing to note is that the warning treats raw memory functions slightly differently th

[Bug fortran/83679] [6 regression] r256113 causes regression on pr77942.f90

2018-01-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83679 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Jan 4 20:16:23 2018 New Revision: 256263 URL: https://gcc.gnu.org/viewcvs?rev=256263&root=gcc&view=rev Log: 2018-01-04 Steven G. Kargl PR Fortran/83679

[Bug fortran/83679] [6 regression] r256113 causes regression on pr77942.f90

2018-01-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83679 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Jan 4 20:18:58 2018 New Revision: 256264 URL: https://gcc.gnu.org/viewcvs?rev=256264&root=gcc&view=rev Log: 2018-01-04 Steven G. Kargl PR Fortran/83679

[Bug c++/81327] [8 Regression] cast to void* does not suppress -Wclass-memaccess

2018-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327 --- Comment #5 from Martin Sebor --- I don't consider this a regression. The warnings are justified and it wasn't a design goal to let casts suppress them. I agree it would be useful for compatibility with Clang (that's why I raised the bug), b

[Bug fortran/83679] [6 regression] r256113 causes regression on pr77942.f90

2018-01-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83679 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug c/83688] Please check if buffers may overlap when copying strings using sprintf

2018-01-04 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83688 --- Comment #5 from Daniel Fruzynski --- > There is nothing to indicate that the first call to memcpy() in comment #0 > overlaps so -Wrestrict doesn't warn for it. I thought that fix for bug 83373 will somehow help here. gcc could guess that mem

[Bug fortran/83683] eoshift accepts wrong-length boundary

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83683 --- Comment #2 from Thomas Koenig --- Author: tkoenig Date: Thu Jan 4 21:04:23 2018 New Revision: 256265 URL: https://gcc.gnu.org/viewcvs?rev=256265&root=gcc&view=rev Log: 2018-01-04 Thomas Koenig PR fortran/83683 PR fortran

[Bug fortran/45689] [F03] Missing transformational intrinsic in the trans_func_f2003 list

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45689 --- Comment #18 from Thomas Koenig --- Author: tkoenig Date: Thu Jan 4 21:04:23 2018 New Revision: 256265 URL: https://gcc.gnu.org/viewcvs?rev=256265&root=gcc&view=rev Log: 2018-01-04 Thomas Koenig PR fortran/83683 PR fortra

[Bug fortran/30932] [meta-bug] fortran intrinsics

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30932 Bug 30932 depends on bug 45689, which changed state. Bug 45689 Summary: [F03] Missing transformational intrinsic in the trans_func_f2003 list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45689 What|Removed |Add

[Bug fortran/45689] [F03] Missing transformational intrinsic in the trans_func_f2003 list

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45689 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/20585] [meta-bug] Fortran 2003 support

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585 Bug 20585 depends on bug 45689, which changed state. Bug 45689 Summary: [F03] Missing transformational intrinsic in the trans_func_f2003 list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45689 What|Removed |Add

[Bug fortran/31392] [meta-bug] gfortran problems with initialization

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31392 Bug 31392 depends on bug 45689, which changed state. Bug 45689 Summary: [F03] Missing transformational intrinsic in the trans_func_f2003 list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45689 What|Removed |Add

[Bug fortran/83683] eoshift accepts wrong-length boundary

2018-01-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83683 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81327] [8 Regression] cast to void* does not suppress -Wclass-memaccess

2018-01-04 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327 --- Comment #6 from Ville Voutilainen --- As stated in the other comments, this breaks *users* of existing Qt versions. Any fix would apply to newer versions only. QVector bit-blasts an object of a type with a virtual table over an object of that

[Bug other/82352] [7 Regression] comdat-local function called by void h::i() outside its comdat

2018-01-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Jan 4 21:13:17 2018 New Revision: 256266 URL: https://gcc.gnu.org/viewcvs?rev=256266&root=gcc&view=rev Log: PR ipa/82352 * g++.dg/ipa/pr82352.C (size_t): Define to __

[Bug middle-end/81897] [6/7/8 Regression] spurious -Wmaybe-uninitialized warning

2018-01-04 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81897 --- Comment #10 from Aldy Hernandez --- Created attachment 43037 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43037&action=edit proposed UNTESTED patch Everything is so easy once Jeff does all the analysis :). As mentioned, there is no

[Bug bootstrap/81926] [7 regression] go/parse.o differs between stage2 and stage3

2018-01-04 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81926 --- Comment #39 from Rainer Orth --- Author: ro Date: Thu Jan 4 21:47:35 2018 New Revision: 256267 URL: https://gcc.gnu.org/viewcvs?rev=256267&root=gcc&view=rev Log: Avoid Solaris/SPARC comparison failures with Solaris as (PR bootstrap/81926)

  1   2   >