[Bug middle-end/84095] [8 Regression] false-positive -Wrestrict warnings for memcpy within array

2018-01-29 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84095 --- Comment #5 from Arnd Bergmann --- Here are some additional instances in the kernel. I'm currently trying to get a reliable build first and haven't got a log of all the messages, but there are a number of changes I did that are related,

[Bug c++/83835] [7/8 Regression] constexpr constructor rejected in c++17 mode (regression WRT c++14)

2018-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83835 --- Comment #3 from Marek Polacek --- Perhaps we also want to set TARGET_EXPR_DIRECT_INIT_P here: 6785 /* If this is a constructor or a function returning an aggr type, 6786we need to build up a TARGET_EXPR. */ 6787

[Bug c++/82461] [7 Regression] Temporary required for brace-initializing (non-literal-type) member variable

2018-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82461 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/83530] [8 Regression] ICE in reset_sched_cycles_in_current_ebb, at sel-sched.c:7150

2018-01-29 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83530 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/84111] [8 Regression] Compile time hog w/ -O2

2018-01-29 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84111 Michael Matz changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |matz at gcc dot gnu.org ---

[Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83503 --- Comment #11 from Jakub Jelinek --- There is a valid use case, you have some public interface which you only want to guarantee to be pure, the result depends on the arguments and e.g. on some OSes or in some specific cases needs read-only

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 --- Comment #30 from rsandifo at gcc dot gnu.org --- (In reply to acsawdey from comment #29) > The problematic expression was: > > (mem/c:QI (plus:DI (plus:DI (reg/f:DI 187) (const_int 32 [0x20])) (const_int > 72 [0x48])) > > and

[Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization

2018-01-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83503 --- Comment #12 from Martin Sebor --- AFAIK, specifying attribute const and pure on a function definition has no effect on the code emitted for the function itself or on its callers in other translation units, so what you describe doesn't sound

[Bug tree-optimization/82965] [8 regression][armeb] gcc.dg/vect/pr79347.c starts failing after r254379

2018-01-29 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82965 --- Comment #8 from amker at gcc dot gnu.org --- I think there is inconsistent semantics between call in vect_do_peeling: scale_loop_profile (prolog, prob_prolog, bound_prolog); and implementation of scale_loop_profile. When the loop is

[Bug middle-end/84095] [8 Regression] false-positive -Wrestrict warnings for memcpy within array

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

[Bug lto/84105] [8 regression] Segmentation fault in pp_tree_identifier() during LTO

2018-01-29 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84105 --- Comment #2 from Arnd Bergmann --- Created attachment 43281 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43281=edit preprocessed simplified sm_sideeffect.c, compressed I managed to get a standalone testcase now, manually reduced the

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-29 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 --- Comment #31 from acsawdey at gcc dot gnu.org --- I'm not sure where the copy happens, I am just surmising that it must have been added because the code clearly assumes it won't be copied.

[Bug c++/84091] [8 Regression] ICE on valid C++ code: Segmentation fault

2018-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84091 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83503 --- Comment #13 from Jakub Jelinek --- (In reply to Martin Sebor from comment #12) > AFAIK, specifying attribute const and pure on a function definition has no > effect on the code emitted for the function itself or on its callers in > other

[Bug target/81550] [8 regression] gcc.target/powerpc/loop_align.c fails starting with r250482

2018-01-29 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 --- Comment #11 from Michael Meissner --- Author: meissner Date: Mon Jan 29 22:30:34 2018 New Revision: 257166 URL: https://gcc.gnu.org/viewcvs?rev=257166=gcc=rev Log: 2018-01-29 Michael Meissner PR

[Bug tree-optimization/84042] IVOPTS doesn't optimize int indexes on some PowerPC code starting with svn id 250482

2018-01-29 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84042 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/84087] string::assign problem with two arguments

2018-01-29 Thread bseifert at gmx dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84087 Berni changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84098] [8 Regression] ICE when using a lambda in a in-class static member initialization

2018-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84098 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/65871] bzhi builtin/intrinsic wrongly assumes bzhi instruction doesn't set the ZF flag

2018-01-29 Thread yann.collet.73 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65871 Yann Collet changed: What|Removed |Added CC||yann.collet.73 at gmail dot com ---

[Bug fortran/82086] namelist read with repeat count fails when item is member of array of structures

2018-01-29 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82086 --- Comment #8 from Harald Anlauf --- (In reply to jsberg from comment #7) > As to why I think this is a bug (and why I think Intel's compiler is doing > the right thing), referencing the 2008 standard (N1830): In the F2018 DIS (N2146) the

[Bug fortran/84109] ICE in adjustl on allocatable array of strings

2018-01-29 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84109 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #2

[Bug tree-optimization/84111] [8 Regression] Compile time hog w/ -O2

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84111 --- Comment #6 from Jakub Jelinek --- Sure, but some of the mentioned SSA_NAMEs are registered for update and SCEV code is called before that happens.

[Bug tree-optimization/84114] New: global reassociation pass prevents fma usage, generates slower code

2018-01-29 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84114 Bug ID: 84114 Summary: global reassociation pass prevents fma usage, generates slower code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug fortran/84116] New: [7/8 Regression] ICE in gfc_match_omp_clauses, at fortran/openmp.c:1354

2018-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84116 Bug ID: 84116 Summary: [7/8 Regression] ICE in gfc_match_omp_clauses, at fortran/openmp.c:1354 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/84111] [8 Regression] Compile time hog w/ -O2

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84111 --- Comment #4 from Jakub Jelinek --- Seems this is during #0 follow_copies_to_constant (var=) at ../../gcc/tree-scalar-evolution.c:1548 #1 0x010ce55e in analyze_scalar_evolution_1 (loop=0x7fffefb99550, var=) at

[Bug target/84066] Wrong shadow stack register size is saved for x32

2018-01-29 Thread igor.v.tsimbalist at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84066 --- Comment #4 from igor.v.tsimbalist at intel dot com --- Created attachment 43280 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43280=edit updated patch

[Bug c++/68810] [8 regression] FAIL: g++.dg/cpp0x/constexpr-reinterpret1.C -- test for errors -- -m32

2018-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68810 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/80867] gnat bootstrap broken on powerpc64le-linux-gnu with -O3

2018-01-29 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80867 --- Comment #11 from kelvin at gcc dot gnu.org --- Author: kelvin Date: Mon Jan 29 18:00:49 2018 New Revision: 257158 URL: https://gcc.gnu.org/viewcvs?rev=257158=gcc=rev Log: gcc/ChangeLog: 2018-01-29 Richard Biener

[Bug target/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c

2018-01-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 --- Comment #23 from Jeffrey A. Law --- I've got no objection Joseph. But I think you need to make your case to Richi and Jakub -- I doubt they're on CC for this BZ :-)

[Bug middle-end/84095] [8 Regression] false-positive -Wrestrict warnings for memcpy within array

2018-01-29 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84095 --- Comment #3 from Arnd Bergmann --- (In reply to Martin Sebor from comment #2) > (In reply to Arnd Bergmann from comment #0) > > Let me work on this. > > I tested the warning with the kernel but don't recall coming across this > false

[Bug c++/4131] The C++ compiler doesn't place a const class object to ".rodata" section with non trivial constructor

2018-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment

[Bug c++/84103] Dynamic initialization is performed for non-local variables in case when constant initialization is permitted

2018-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84103 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83503 --- Comment #9 from Jakub Jelinek --- If you mean it as a coding style warning (at least for const/pure), then it is at least worded incorrectly, there is no conflict between those and if what you do is that you ignore const attribute because

[Bug middle-end/84095] [8 Regression] false-positive -Wrestrict warnings for memcpy within array

2018-01-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84095 --- Comment #4 from Martin Sebor --- Thanks. Just for reference in case more of these should pop up, I see two -Wrestrict instances in my build (below). The first one looks correct but the second one could be an instance of the false positive

[Bug c++/68810] [8 regression] FAIL: g++.dg/cpp0x/constexpr-reinterpret1.C -- test for errors -- -m32

2018-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68810 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization

2018-01-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83503 --- Comment #10 from Martin Sebor --- (In reply to Jakub Jelinek from comment #9) This is not a style warning. Because there is no valid use case for having both attribute const and pure on two declarations of the same function, in the absence

[Bug target/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c

2018-01-29 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 --- Comment #24 from Joseph S. Myers --- Author: jsm28 Date: Mon Jan 29 21:00:52 2018 New Revision: 257165 URL: https://gcc.gnu.org/viewcvs?rev=257165=gcc=rev Log: Fix m68k-linux-gnu libgcc build for ColdFire (PR target/68467). PR target/68467

[Bug c/83966] ICE in check_function_arguments at gcc/c-family/c-common.c:5617

2018-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83966 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgomp/84088] [8 Regression][nvptx] libgomp.oacc-fortran/declare-*.f90 execution fails

2018-01-29 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84088 --- Comment #6 from Paul Thomas --- (In reply to Tom de Vries from comment #5) > Hmm. Probably this failure would have been picked up by > libgomp-plugin-host_nonshm. Hi Tom, Although my patch caused it, I am not in a position to pick this one

[Bug target/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c

2018-01-29 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 --- Comment #22 from joseph at codesourcery dot com --- What do the m68k maintainers think about the suggestion of backporting to GCC 7 (and for that matter GCC 6)? This is a regression in the sense of "libgcc used to build for ColdFire, then

[Bug libgcc/84113] gcc-7.3.0/libgcc/unwind.inc:136:1: internal compiler error: in extract_insn, at recog.c:2311

2018-01-29 Thread dougmencken at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84113 --- Comment #1 from Douglas Mencken --- ah yep, it’s at first stage $ cat stage_current stage1

[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

2018-01-29 Thread floessie.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84077 --- Comment #5 from Flössie --- Created attachment 43278 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43278=edit Complete -v output

[Bug c/84108] [8 Regression] incorrect -Wattributes warning for packed/aligned conflict on struct members

2018-01-29 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84108 --- Comment #3 from Arnd Bergmann --- (In reply to Jakub Jelinek from comment #1) > I vaguely remember the behavior of packed + aligned(N) kept changing in the > past, some versions of GCC treated it just like packed, others as aligned. > Is

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-29 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 --- Comment #29 from acsawdey at gcc dot gnu.org --- The problematic expression was: (mem/c:QI (plus:DI (plus:DI (reg/f:DI 187) (const_int 32 [0x20])) (const_int 72 [0x48])) and internal_arg_pointer was (plus:DI (reg/f:DI 187) (const_int 32

[Bug target/84066] Wrong shadow stack register size is saved for x32

2018-01-29 Thread igor.v.tsimbalist at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84066 --- Comment #6 from igor.v.tsimbalist at intel dot com --- (In reply to H.J. Lu from comment #5) > (In reply to igor.v.tsimbalist from comment #4) > > Created attachment 43280 [details] > > updated patch > > - mem = gen_rtx_MEM (Pmode,

[Bug target/84066] Wrong shadow stack register size is saved for x32

2018-01-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84066 --- Comment #7 from H.J. Lu --- (In reply to igor.v.tsimbalist from comment #6) > > > > reg_ssp must be in word_mode, not in Pmode. > > reg_ssp is word_mode. It's reg_adj that is Pmode (it's increment to shadow > stack). OK. > > Please show

[Bug libstdc++/81122] [DR 2381] parsing f stopped after '0' when reading std::hexfloat >> f;

2018-01-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81122 --- Comment #17 from Jonathan Wakely --- For the avoidance of doubt: C++98 did not support reading hex floats from an istream. Libstdc++ still follows the C++98 spec, so does not read hex floats. "0x1" is read as "0". "0x1p1" is also read as

[Bug c++/68810] [8 regression] FAIL: g++.dg/cpp0x/constexpr-reinterpret1.C -- test for errors -- -m32

2018-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68810 --- Comment #19 from Jason Merrill --- Author: jason Date: Mon Jan 29 20:56:00 2018 New Revision: 257161 URL: https://gcc.gnu.org/viewcvs?rev=257161=gcc=rev Log: PR c++/68810 - wrong location for reinterpret_cast error. * cvt.c

[Bug tree-optimization/84090] [8 Regression] ICE in gimple_redirect_edge_and_branch, at tree-cfg.c:6151

2018-01-29 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84090 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/83975] [8 Regression] ICE in set_parm_default_def_partition, at tree-ssa-coalesce.c:1919

2018-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83975 --- Comment #7 from G. Steinmetz --- Some additional testcases : $ cat z2.f90 subroutine s(x) character(*) :: x associate (y => [x]) print *, size(y), len(y), y end associate end $ cat z3.f90 subroutine

[Bug c++/24928] static const objects should go to .rodata

2018-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24928 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment

[Bug c++/84099] Dynamic initialization is performed for static local variables in case when constant initialization is permitted

2018-01-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84099 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/83996] [6/7/8] Regression] ICE with zero-sized array

2018-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83996 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Mon Jan 29 20:54:12 2018 New Revision: 257160 URL: https://gcc.gnu.org/viewcvs?rev=257160=gcc=rev Log: PR c++/83996 * constexpr.c (cxx_fold_indirect_ref): Compute

[Bug tree-optimization/84111] [8 Regression] Compile time hog w/ -O2

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84111 --- Comment #3 from Jakub Jelinek --- Seems during cunroll we end up with: y_8 = PHI ... y_29 = PHI ... y_37 = PHI where all 3 PHIs are degenerate and thus: 1539static tree 1540

[Bug bootstrap/84113] New: gcc-7.3.0/libgcc/unwind.inc:136:1: internal compiler error: in extract_insn, at recog.c:2311

2018-01-29 Thread dougmencken at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84113 Bug ID: 84113 Summary: gcc-7.3.0/libgcc/unwind.inc:136:1: internal compiler error: in extract_insn, at recog.c:2311 Product: gcc Version: 7.3.0 Status: UNCONFIRMED

[Bug fortran/84115] [8 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'indirect_ref' in add_decl_as_local, at fortran/trans-decl.c:256

2018-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84115 --- Comment #1 from G. Steinmetz --- A few more testcases : $ cat z2.f90 subroutine s(x) character(:), allocatable :: x associate (y => x) print *, y end associate end $ cat z3.f90 subroutine s(x)

[Bug fortran/84115] New: [8 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'indirect_ref' in add_decl_as_local, at fortran/trans-decl.c:256

2018-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84115 Bug ID: 84115 Summary: [8 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'indirect_ref' in add_decl_as_local, at fortran/trans-decl.c:256

[Bug fortran/84117] New: [8 Regression] ICE in gimplify_modify_expr, at gimplify.c:5798

2018-01-29 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84117 Bug ID: 84117 Summary: [8 Regression] ICE in gimplify_modify_expr, at gimplify.c:5798 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/82461] [7 Regression] Temporary required for brace-initializing (non-literal-type) member variable

2018-01-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82461 --- Comment #7 from Jason Merrill --- Author: jason Date: Mon Jan 29 20:58:36 2018 New Revision: 257164 URL: https://gcc.gnu.org/viewcvs?rev=257164=gcc=rev Log: PR c++/82461 - constexpr list-initialized member * constexpr.c

[Bug c++/83996] [6/7] Regression] ICE with zero-sized array

2018-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83996 Marek Polacek changed: What|Removed |Added Summary|[6/7/8] Regression] ICE |[6/7] Regression] ICE with

[Bug c/70952] Missing warning for likely-erroneous octal escapes in string literals

2018-01-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952 Eric Gallager changed: What|Removed |Added Keywords||diagnostic Status|REOPENED

[Bug c/83966] ICE in check_function_arguments at gcc/c-family/c-common.c:5617

2018-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83966 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Mon Jan 29 18:20:01 2018 New Revision: 257159 URL: https://gcc.gnu.org/viewcvs?rev=257159=gcc=rev Log: PR c/83966 * c-format.c (check_function_format): Check

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-29 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 --- Comment #28 from rsandifo at gcc dot gnu.org --- (In reply to acsawdey from comment #27) > So, I think the problem is that the rtx given by > crtl->args.internal_arg_pointer is not canonical as expected. So near the > beginning of

[Bug target/84066] Wrong shadow stack register size is saved for x32

2018-01-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84066 --- Comment #5 from H.J. Lu --- (In reply to igor.v.tsimbalist from comment #4) > Created attachment 43280 [details] > updated patch - mem = gen_rtx_MEM (Pmode, plus_constant (Pmode, operands[0], -

[Bug target/68467] libgcc, compilation for target m68k-linux breaks in linux_atomic.c

2018-01-29 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 Joseph S. Myers changed: What|Removed |Added Target Milestone|8.0 |7.4 --- Comment #25 from Joseph S.

[Bug c++/83937] [7/8 Regression] C++17 binds braced init of a type T to default arg of a ctor instead of using T's own default ctor

2018-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83937 --- Comment #7 from Marek Polacek --- Actually this might be just a missing TARGET_EXPR_DIRECT_INIT_P check in build_special_member_call: --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -8824,7 +8824,8 @@ build_special_member_call (tree instance,

[Bug lto/84105] [8 regression] Segmentation fault in pp_tree_identifier() during LTO

2018-01-29 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84105 --- Comment #5 from Aldy Hernandez --- Created attachment 43282 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43282=edit untested patch Proposed patch in testing.

[Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83503 --- Comment #7 from Jakub Jelinek --- First of all, I was talking about a function first declared pure and later made const, your invalid example has it the other way around, but the invalid thing on it isn't any kind of attribute conflict, but

[Bug c++/83942] [8 Regression] False -Wunused-but-set-variable when const scoped enum is cast to int

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

[Bug c/84108] incorrect -Wattributes warning for packed/aligned conflict

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

[Bug tree-optimization/84111] [8 Regression] Compile time hog w/ -O2

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

[Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization

2018-01-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83503 --- Comment #8 from Martin Sebor --- The purpose of the warning is to detect coding mistakes. There is no valid use case for declaring the same function const and pure so it must be a mistake. As the test case shows, the mistake can lead to

[Bug target/84112] [8 Regression] powerpc64le ICE in LRA on openjdk

2018-01-29 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84112 --- Comment #1 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #0) > The following testcase ICEs with -mcpu=power8 -O3 -fstack-protector-strong > -fpic on powerpc64le-linux with: > rh1539812.i: In function ‘foo’: >

[Bug tree-optimization/84111] [8 Regression] Compile time hog w/ -O2

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84111 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/82819] [8 Regression] [graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82819 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/83176] [8 Regression] [graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83176 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84092] [8 Regression] ICE on C++14 code with variable template: in build_qualified_name, at cp/tree.c:2043

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84092 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug middle-end/84095] [8 Regression] false-positive -Wrestrict warnings for memcpy within array

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84095 Richard Biener changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c++/84082] [7/8 Regression] ICE with broken template function definition

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84082 --- Comment #4 from Jakub Jelinek --- As that PR was a workaround for buggy code and the intent was to not reject code that has been accepted before, perhaps we could only do the pedwarn rather than error and clearing of TREE_TYPE

[Bug fortran/84093] Invalid nested derived type constructor not rejected

2018-01-29 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84093 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug libgomp/84096] New: Wrong prototype for omp_init_nest_lock_with_hint() in "omp.h.in"

2018-01-29 Thread cspiel at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84096 Bug ID: 84096 Summary: Wrong prototype for omp_init_nest_lock_with_hint() in "omp.h.in" Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"

2018-01-29 Thread laurent at guerby dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 Laurent GUERBY changed: What|Removed |Added CC||law at redhat dot com --- Comment #14

[Bug tree-optimization/84057] [8 Regression] ICE: Segmentation fault (in can_remove_branch_p)

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84057 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/84057] [8 Regression] ICE: Segmentation fault (in can_remove_branch_p)

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84057 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Jan 29 09:16:09 2018 New Revision: 257139 URL: https://gcc.gnu.org/viewcvs?rev=257139=gcc=rev Log: 2018-01-29 Richard Biener PR

[Bug bootstrap/84017] [6/7/8 regression] Bootstrap failure on Solaris 10/x86 with gas/ld

2018-01-29 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84017 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Jakub Jelinek --- > I can't think of how the self-test failure could be related, unless it just > results in miscompiled stage2 or stage3 compiler. It seems

[Bug c++/84076] [6/7/8 Regression] Warning about objects through POD mistakenly claims the object is a pointer

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84076 --- Comment #2 from Jakub Jelinek --- The convert_arg_to_ellipsis call that converts in this case the non-POD class to its address is done very shortly before calling the -Wformat check, but most of the stuff the function is doing is needed for

[Bug libgomp/84088] [nvptx] libgomp.oacc-fortran/declare-*.f90 execution fails

2018-01-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84088 --- Comment #2 from Tom de Vries --- Minimal version: ... ! { dg-do run } module vars implicit none integer z !$acc declare create (z)

[Bug middle-end/84067] [8 regression] gcc.dg/wmul-1.c regression on aarch64 after r257077

2018-01-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84067 --- Comment #3 from ktkachov at gcc dot gnu.org --- (In reply to Richard Biener from comment #2) > So any hint on whether the code after r257077 is better or worse than before? Looks worse unfortunately: For aarch64 at -O2 it generates: foo:

[Bug middle-end/84067] [8 regression] gcc.dg/wmul-1.c regression on aarch64 after r257077

2018-01-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84067 --- Comment #6 from ktkachov at gcc dot gnu.org --- (In reply to rguent...@suse.de from comment #5) > On Mon, 29 Jan 2018, ktkachov at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84067 > > > > --- Comment #3 from

[Bug c++/84080] [6/7/8 Regression] the compiler crashes when compiling the following sample file

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84080 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug c++/84082] [7/8 Regression] ICE with broken template function definition

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84082 --- Comment #2 from Jakub Jelinek --- build_functional_cast here creates CAST_EXPR with NULL TREE_TYPE as well as TREE_OPERAND (, 0) and cp_parser_constant_expression -> potential_rvalue_constant_expression -> potential_constant_expression_1 is

[Bug tree-optimization/84084] [Regression 7/8][-O2] Early VRP pass wrongly removes "ret" exit basic block causing wrong behavior

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84084 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/84082] [7/8 Regression] ICE with broken template function definition

2018-01-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84082 --- Comment #3 from Jakub Jelinek --- To be precise, the CAST_EXPR doesn't have NULL TREE_TYPE initially, it has A type, just NULL operand. But then r245223 comes with: if (processing_template_decl)

[Bug libgomp/84086] [8 Regresssion] segfault in instantiate_scev_r for libgomp.fortran/examples-4/simd-2.f90 -O1

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84086 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug middle-end/84067] [8 regression] gcc.dg/wmul-1.c regression on aarch64 after r257077

2018-01-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84067 --- Comment #4 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #3) > (In reply to Richard Biener from comment #2) > > So any hint on whether the code after r257077 is better or worse than > > before? > > Looks worse

[Bug c++/84091] [8 Regression] ICE on valid C++ code: Segmentation fault

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84091 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug rtl-optimization/84068] [8 Regression] ICE: qsort checking failed: qsort comparator non-negative on sorted output: 1 with -fno-sched-critical-path-heuristic --param=max-sched-extend-regions-iters

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84068 Richard Biener changed: What|Removed |Added Keywords||ice-checking Target Milestone|---

[Bug middle-end/84067] [8 regression] gcc.dg/wmul-1.c regression on aarch64 after r257077

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84067 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug middle-end/84071] [7/8 regression] nonzero_bits1 of subreg incorrect

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84071 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/84083] [missed optimization] loop-invariant strlen() not hoisted out of loop

2018-01-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84083 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

  1   2   3   >