[Bug c++/84015] New: [7/8 Regression] ICE with class template argument deduction

2018-01-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84015 Bug ID: 84015 Summary: [7/8 Regression] ICE with class template argument deduction Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug middle-end/51677] don't suggest giving main() __attribute__((const))

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

[Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization

2018-01-23 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81611 --- Comment #18 from Alexandre Oliva --- Vacations over, patches formatted and posted. https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01994.html

[Bug target/84010] [sparc64] Bad TLS code generation

2018-01-23 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 --- Comment #3 from Richard Henderson --- (In reply to James Clarke from comment #2) > Here is a completely untested patch which should in theory resolve this > series of issues. This doesn't introduce rematerialization for them (or, if > it's su

[Bug target/84014] New: ICE in setup_min_max_allocno_live_range_point, at ira-build.c:2762

2018-01-23 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84014 Bug ID: 84014 Summary: ICE in setup_min_max_allocno_live_range_point, at ira-build.c:2762 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ra S

[Bug libstdc++/83981] vector::resize(size_type) should not require T to be CopyInsertable when std=c++14

2018-01-23 Thread dtrebbien at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83981 --- Comment #5 from Daniel Trebbien --- I have run into a small issue. C++11 apparently does not provide an exception guarantee on vector::resize(size_type), whereas in C++14, the exception guarantee is "If an exception is thrown other than by th

[Bug c++/84012] [8 regression] error: cannot convert ‘const std::shared_ptr’ to ‘std::a*’ in return

2018-01-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84012 --- Comment #1 from Andrew Pinski --- In this context e has a non-dependent type as shared_ptr is a non-dependent type and shared_ptr does not have a conversion to a*. So I don't see why this should accepted.

[Bug c++/83921] [7/8 Regression] GCC rejects constexpr initialization of empty aggregate.

2018-01-23 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83921 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Wed Jan 24 00:57:18 2018 New Revision: 257009 URL: https://gcc.gnu.org/viewcvs?rev=257009&root=gcc&view=rev Log: /cp 2018-01-23 Paolo Carlini PR c++/83921 *

[Bug target/84010] [sparc64] Bad TLS code generation

2018-01-23 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 --- Comment #2 from James Clarke --- Created attachment 43230 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43230&action=edit 0001-sparc-Fix-modes-for-TLS-offsets.patch Here is a completely untested patch which should in theory resolve th

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-01-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 Peter Bergner changed: What|Removed |Added Attachment #43227|0 |1 is obsolete|

[Bug libstdc++/54185] [4.7/4.8 Regression] condition_variable not properly destructed

2018-01-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54185 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug fortran/83998] [8 Regression] ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4403

2018-01-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83998 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIR

[Bug target/84010] [sparc64] Bad TLS code generation

2018-01-23 Thread jrtc27 at jrtc27 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 --- Comment #1 from James Clarke --- Elaborating slightly for those unfamiliar with SPARC TLS relocations: Initial exec sequences normally look something like: sethi %tie_hi22(foo), %r1 or%r1, %tie_lo10(foo), %r1 ldx [%l7+%r1], %r2,

[Bug target/83964] [8 Regression] ICE in extract_insn, at recog.c:2304

2018-01-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83964 --- Comment #3 from Segher Boessenkool --- No, many other builtins are also problematic (there are a few more PRs open).

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-01-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 --- Comment #6 from Peter Bergner --- Created attachment 43227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43227&action=edit Proposed patch I'm testing the attached patch, which should also fix PR83743. Can those of you that have hit t

[Bug tree-optimization/84013] New: wrong __restrict clique with inline asm operand

2018-01-23 Thread katsunori.kumatani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84013 Bug ID: 84013 Summary: wrong __restrict clique with inline asm operand Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug c++/84012] New: [8 regression] error: cannot convert ‘const std::shared_ptr’ to ‘std::a*’ in return

2018-01-23 Thread skpgkp1 at gmail dot com
StyleFactory.cpp namespace std { template class shared_ptr {}; class a; template class b { a *g() const; shared_ptr e; }; template a *b::g() const { return e; } } $ g++ --version g++ (GCC) 8.0.1 20180123 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software

[Bug sanitizer/83987] [6/7 Regression] ICE with OpenMP, sanitizer and virtual bases

2018-01-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83987 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] ICE with |[6/7 Regression] ICE with

[Bug libstdc++/83981] vector::resize(size_type) should not require T to be CopyInsertable when std=c++14

2018-01-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83981 --- Comment #4 from Jonathan Wakely --- That would be welcome.

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

2018-01-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 --- Comment #8 from Segher Boessenkool --- Yes, but that does not work if ivopts decides to make a loop that cannot work with bdnz ;-) cc:ing Bin

[Bug fortran/54613] [F08] Add FINDLOC plus support MAXLOC/MINLOC with KIND=/BACK=

2018-01-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54613 --- Comment #8 from Thomas Koenig --- Created attachment 43226 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43226&action=edit Patch which should not slow down things This seems to be better from the timing perspective for the library

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

2018-01-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 --- Comment #7 from Michael Meissner --- I think the thing to do is make a shorter loop that won't get extended like the double loop does.

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

2018-01-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 --- Comment #6 from Michael Meissner --- This is a twisty little passage (all different). The code is basically trying to test the TARGET_ASM_LOOP_ALIGN_MAX_SKIP target hook. It carefully aligns the functions to 16 bytes and then wants the norm

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

2018-01-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 Michael Meissner changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

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

2018-01-23 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2018-01-23 Thread thgarnie at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #18 from Thomas Garnier --- Ok. Opened: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84011

[Bug target/84011] New: Optimize switch table with -fPIE

2018-01-23 Thread thgarnie at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84011 Bug ID: 84011 Summary: Optimize switch table with -fPIE Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target A

[Bug libstdc++/83981] vector::resize(size_type) should not require T to be CopyInsertable when std=c++14

2018-01-23 Thread dtrebbien at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83981 --- Comment #3 from Daniel Trebbien --- I would like to make a patch for this and PR 83982 if that's okay.

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

2018-01-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 --- Comment #4 from Michael Meissner --- I must have typed the wrong numbers, as revision 250482 is indeed the revision that it breaks.

[Bug fortran/83980] Various issues with character length in array constructors

2018-01-23 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83980 --- Comment #3 from Harald Anlauf --- (In reply to Harald Anlauf from comment #2) > I'll see if I can find related bugs. Comment #2 looks like a dup of pr48890.

[Bug fortran/61627] specification expression ICE with version 4.7.1 and 4.8.2, incorrect output with 4.4.7 and 4.9.0

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

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2018-01-23 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #17 from H.J. Lu --- (In reply to Thomas Garnier from comment #16) > Yes, I think you can't just default to the non-PIE mode. > > Clang does it well though: > > : >0: 83 ff 16cmp$0x16,%edi

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2018-01-23 Thread thgarnie at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #16 from Thomas Garnier --- Yes, I think you can't just default to the non-PIE mode. Clang does it well though: : 0: 83 ff 16cmp$0x16,%edi 3: 77 0f ja 14 5:

[Bug tree-optimization/83992] wrong debug info: wrong NOTE_INSN_BLOCK_BEG placement causes TestCrashDumpsAllThreads gotools testcase failure

2018-01-23 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83992 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #4 fr

[Bug fortran/83980] Various issues with character length in array constructors

2018-01-23 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83980 Harald Anlauf changed: What|Removed |Added Keywords||wrong-code --- Comment #2 from Harald An

[Bug c++/83947] [8 Regression] ICE on invalid C++ code with auto: in tsubst_decl, at cp/pt.c:13046

2018-01-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83947 --- Comment #2 from Jason Merrill --- Author: jason Date: Tue Jan 23 21:23:53 2018 New Revision: 257000 URL: https://gcc.gnu.org/viewcvs?rev=257000&root=gcc&view=rev Log: PR c++/83947 - ICE with auto declarations. * pt.c (do_aut

[Bug c++/83974] [8 Regression] ICE in cxx_eval_constant_expression

2018-01-23 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83974 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/83974] [8 Regression] ICE in cxx_eval_constant_expression

2018-01-23 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83974 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Tue Jan 23 21:19:09 2018 New Revision: 256999 URL: https://gcc.gnu.org/viewcvs?rev=256999&root=gcc&view=rev Log: C++: Fix ICE in fold_for_warn on CAST_EXPR (PR c++/83974) gcc/cp/Chang

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2018-01-23 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #15 from H.J. Lu --- (In reply to Thomas Garnier from comment #14) > Correcting what I said before, it is about re-enabling switch folding (or > switch optimization). > > Basically without PIE (-fno-PIE) with -O2, a switch can be opt

[Bug fortran/82207] ieee_class identifies signaling NaNs as quiet NaNs

2018-01-23 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207 --- Comment #7 from Steve Kargl --- On Tue, Jan 23, 2018 at 08:53:36PM +, guez at lmd dot ens.fr wrote: > > This behaviour of gfortran is a problem because it prevents the use of qnan as > a normal missing value and the debugging option at t

[Bug rtl-optimization/81443] [8 regression] build/genrecog.o: virtual memory exhausted: Cannot allocate memory

2018-01-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81443 Eric Botcazou changed: What|Removed |Added Summary|[7/8 regression]|[8 regression] |build/

[Bug target/84010] New: [sparc64] Bad TLS code generation

2018-01-23 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84010 Bug ID: 84010 Summary: [sparc64] Bad TLS code generation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/81443] [7/8 regression] build/genrecog.o: virtual memory exhausted: Cannot allocate memory

2018-01-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81443 --- Comment #18 from Eric Botcazou --- Author: ebotcazou Date: Tue Jan 23 20:54:32 2018 New Revision: 256998 URL: https://gcc.gnu.org/viewcvs?rev=256998&root=gcc&view=rev Log: PR rtl-optimization/81443 * rtlanal.c (num_sign_bit_c

[Bug fortran/82207] ieee_class identifies signaling NaNs as quiet NaNs

2018-01-23 Thread guez at lmd dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207 Lionel GUEZ changed: What|Removed |Added CC||guez at lmd dot ens.fr --- Comment #6 from

[Bug c++/83988] [8 Regression] Internal compiler error in tsubst_baselink

2018-01-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83988 Volker Reichelt changed: What|Removed |Added CC||reichelt at gcc dot gnu.org --- Commen

[Bug c++/84002] [8 Regression] ICE with template conversion operator

2018-01-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84002 Volker Reichelt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/81082] [8 Regression] Failure to vectorise after reassociating index computation

2018-01-23 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81082 --- Comment #9 from Marc Glisse --- + (if (! INTEGRAL_TYPE_P (type) Integer vectors satisfy this condition... Also, floats need some check (I don't know which one is appropriate).

[Bug c++/84009] No diagnostic issued if the decl-specifier in the decl-specifier-seq of a for-range-declaration is register, static,or thread_local

2018-01-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84009 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug sanitizer/83987] [6/7/8 Regression] ICE with OpenMP, sanitizer and virtual bases

2018-01-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83987 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Jan 23 20:36:34 2018 New Revision: 256997 URL: https://gcc.gnu.org/viewcvs?rev=256997&root=gcc&view=rev Log: PR sanitizer/83987 * tree.c (cp_free_lang_data): Change DE

[Bug c++/84009] New: No diagnostic issued if the decl-specifier in the decl-specifier-seq of a for-range-declaration is register, static,or thread_local

2018-01-23 Thread smw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84009 Bug ID: 84009 Summary: No diagnostic issued if the decl-specifier in the decl-specifier-seq of a for-range-declaration is register, static,or thread_local Product: gcc

[Bug fortran/84008] New: [PDT] ICE accessing kind and len parameters

2018-01-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84008 Bug ID: 84008 Summary: [PDT] ICE accessing kind and len parameters Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/84007] New: ICE with same_type_as with CLASS entity

2018-01-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84007 Bug ID: 84007 Summary: ICE with same_type_as with CLASS entity Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug middle-end/78809] Inline strcmp with small constant strings

2018-01-23 Thread qing.zhao at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809 --- Comment #28 from Qing Zhao --- > > I don't think this is a good test. Repeatedly calling strcmp with the same > inputs is not something real code does, especially when the string matches > exactly. Why would it do that? The consequence is

[Bug fortran/84006] New: ICE in storage_size() with CLASS entity

2018-01-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84006 Bug ID: 84006 Summary: ICE in storage_size() with CLASS entity Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

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

2018-01-23 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81550 --- Comment #3 from Michael Meissner --- It isn't actually subversion id 250482 that causes the problem. I've built 250481 and 250483 compilers and there is no difference in code. I had 252844, and it shows the problem. The difference between

[Bug c++/84002] [8 Regression] ICE with template conversion operator

2018-01-23 Thread skpgkp1 at gmail dot com
); template operator e::d, j, k>() const; }; template template c::operator e::d, j, k>() const { e::d, j, k> l = h::operator e::d, j, k>(); } c a(c(2, 2)); f b(a); } $ g++ --version g++ (GCC) 8.0.1 20180123 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is f

[Bug tree-optimization/84005] [8 regression] gcc.dg/vect/bb-slp-1.c etc. FAIL

2018-01-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84005 Rainer Orth changed: What|Removed |Added Target Milestone|--- |8.0

[Bug tree-optimization/84005] New: [8 regression] gcc.dg/vect/bb-slp-1.c etc. FAIL

2018-01-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84005 Bug ID: 84005 Summary: [8 regression] gcc.dg/vect/bb-slp-1.c etc. FAIL Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug testsuite/84004] New: [8 regression] gcc.dg/vect/vect-95.c XPASSes

2018-01-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84004 Bug ID: 84004 Summary: [8 regression] gcc.dg/vect/vect-95.c XPASSes Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsu

[Bug testsuite/84004] [8 regression] gcc.dg/vect/vect-95.c XPASSes

2018-01-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84004 Rainer Orth changed: What|Removed |Added Target Milestone|--- |8.0

[Bug target/84003] New: FAIL: g++.dg/torture/pr77745.C with -fpic

2018-01-23 Thread hjl.tools at gmail dot com
-use-linker-plugin -flto-partition=none execution test === g++ Summary === # of expected passes10 # of unexpected failures4 /export/build/gnu/gcc-test/build-x86_64-linux/gcc/xg++ version 8.0.1 20180123 (experimental) (GCC) make[1]: Leaving directory '/export/build/gnu/gcc-test/build-x86_64-linux/gcc' [hjl@gnu-skx-1 gcc]$

[Bug tree-optimization/81038] [8 regression] test case g++.dg/vect/slp-pr56812.cc fails starting with r248678

2018-01-23 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81038 Rainer Orth changed: What|Removed |Added Target|powerpc*-*-*|powerpc*-*-*, i?86-*-*,

[Bug c++/84002] New: [8 Regression] ICE with template conversion operator

2018-01-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84002 Bug ID: 84002 Summary: [8 Regression] ICE with template conversion operator Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug target/83905] ix86_expand_epilogue modifies the copy of cfun->machine->frame

2018-01-23 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Jan 23 19:30:32 2018 New Revision: 256996 URL: https://gcc.gnu.org/viewcvs?rev=256996&root=gcc&view=rev Log: i386: Use const reference of struct ix86_frame to avoid copy We ca

[Bug fortran/83866] [8 Regression] ICE in gfc_release_symbol, at fortran/symbol.c:3087

2018-01-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83866 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2018-01-23 Thread thgarnie at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #14 from Thomas Garnier --- Correcting what I said before, it is about re-enabling switch folding (or switch optimization). Basically without PIE (-fno-PIE) with -O2, a switch can be optimized to be: : 0: b8 00

[Bug fortran/83866] [8 Regression] ICE in gfc_release_symbol, at fortran/symbol.c:3087

2018-01-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83866 --- Comment #2 from Paul Thomas --- Author: pault Date: Tue Jan 23 19:13:10 2018 New Revision: 256995 URL: https://gcc.gnu.org/viewcvs?rev=256995&root=gcc&view=rev Log: 2018-23-01 Paul Thomas PR fortran/83866 * decl.c (gfc_ma

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2018-01-23 Thread thgarnie at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #13 from Thomas Garnier --- Created attachment 43223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43223&action=edit testcase for switch folding No switch folding if built with: $CC -O2 -fno-PIE -c -o switch ./switch.c Swit

[Bug fortran/83898] [6/7/8 Regression] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7181

2018-01-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83898 --- Comment #4 from Paul Thomas --- Author: pault Date: Tue Jan 23 19:10:48 2018 New Revision: 256994 URL: https://gcc.gnu.org/viewcvs?rev=256994&root=gcc&view=rev Log: 2018-23-01 Paul Thomas PR fortran/83898 * trans-stmt.c (

[Bug c++/83950] [8 regression] error: no matching function for call to ‘folly::dynamic::at(size_t&) const’

2018-01-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83950 Jason Merrill changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Jason Merril

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-01-23 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #2 from Bill Schmidt --- Does this work on GCC 7 (obviously without -mno-fold-gimple)? If so, please mark as [8 regression] in title.

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2018-01-23 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #12 from H.J. Lu --- (In reply to Thomas Garnier from comment #11) > I think for this file using only -mcmodel=large makes more sense. > > Given the proposed option (-fstatic-pie) is not kernel specific, the TLS is Sounds reasonable

[Bug c/83989] [8 Regression] -Wrestrict false positive with malloc-style functions

2018-01-23 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83989 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)

2018-01-23 Thread thgarnie at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303 --- Comment #11 from Thomas Garnier --- I think for this file using only -mcmodel=large makes more sense. Given the proposed option (-fstatic-pie) is not kernel specific, the TLS is not needed. What do you think about disabling optimization like

[Bug middle-end/78809] Inline strcmp with small constant strings

2018-01-23 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809 --- Comment #27 from Richard Earnshaw --- (In reply to Qing Zhao from comment #23) > qinzhao@gcc116:~/Bugs/78809/const_cmp$ cat t_p.c > #include > > char array[]= "fishi"; > > #define NUM 10 > int __attribu

[Bug c++/84001] New: ICE in dependent_type_p cp/pt.c:23567 when using member type of template parameter in template list

2018-01-23 Thread profclonk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84001 Bug ID: 84001 Summary: ICE in dependent_type_p cp/pt.c:23567 when using member type of template parameter in template list Product: gcc Version: 7.2.0 Status: UNCONFIRMED

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 --- Comment #14 from Peter Bergner --- Author: bergner Date: Tue Jan 23 18:18:25 2018 New Revision: 256993 URL: https://gcc.gnu.org/viewcvs?rev=256993&root=gcc&view=rev Log: gcc/ Back port from mainline 2018-01-10 Peter Bergner

[Bug middle-end/78809] Inline strcmp with small constant strings

2018-01-23 Thread qing.zhao at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809 Qing Zhao changed: What|Removed |Added Attachment #42449|0 |1 is obsolete|

[Bug debug/83935] DWARF for a variant part is incorrect

2018-01-23 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83935 --- Comment #5 from Pierre-Marie de Rodat --- I just submitted an Issue/Comment on dwarfstd.org, but unfortunately it is not yet publicly visible (http://dwarfstd.org/Issues.php). Waiting for feedback from there…

[Bug fortran/84000] New: [8 Regression] ICE in replace_loop_annotate, at tree-cfg.c:352

2018-01-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84000 Bug ID: 84000 Summary: [8 Regression] ICE in replace_loop_annotate, at tree-cfg.c:352 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal P

[Bug fortran/83999] [8 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10233

2018-01-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83999 --- Comment #1 from G. Steinmetz --- Please note that a result with "type" instead of "class" gives : $ cat z2.f90 program p type t integer :: a end type type(t) :: x(3) x = f() print *, x contains elemental function f(

[Bug fortran/83999] New: [8 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10233

2018-01-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83999 Bug ID: 83999 Summary: [8 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10233 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: norma

[Bug fortran/83998] New: [8 Regression] ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4403

2018-01-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83998 Bug ID: 83998 Summary: [8 Regression] ICE in gfc_conv_intrinsic_dot_product, at fortran/trans-intrinsic.c:4403 Product: gcc Version: 8.0 Status: UNCONFIRMED Sev

[Bug fortran/59298] ICE when initialising PARAMETER array of derived-type (containing an array) using array constructor

2018-01-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59298 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #9 from G.

[Bug fortran/83976] ICE in gfc_add_component_ref, at fortran/class.c:211

2018-01-23 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83976 --- Comment #3 from G. Steinmetz --- A class/type issue - changing x from class to type : $ cat z3.f90 program p type t integer :: a end type type(t), allocatable :: x type(t) :: z = t(3) x = z z = (x) print *, z end

[Bug lto/83997] New: ICE with alias template and attribute

2018-01-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83997 Bug ID: 83997 Summary: ICE with alias template and attribute Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, lto Severity: normal Pri

[Bug c/83989] [8 Regression] -Wrestrict false positive with malloc-style functions

2018-01-23 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83989 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug tree-optimization/83992] wrong debug info: wrong NOTE_INSN_BLOCK_BEG placement causes TestCrashDumpsAllThreads gotools testcase failure

2018-01-23 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83992 --- Comment #3 from Uroš Bizjak --- Ugh, the testcase works on x86 solely due to the fact that combine merges: (insn 12 11 14 4 (parallel [ (set (reg:DI 87 [ ivtmp_1 ]) (plus:DI (reg:DI 87 [ ivtmp_1 ])

[Bug target/81616] Update -mtune=generic for the current Intel and AMD processors

2018-01-23 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616 --- Comment #51 from Martin Jambor --- (In reply to Andrew Roberts from comment #50) > with the matrix.c benchmark on Ryzen and looking at the other options when > using -march=znver1 and -mtune=znver1 > > mult took 225281 clocks -march=znver1 -

[Bug fortran/82258] [8 regression] allocate_zerosize_3.f fails since r251949

2018-01-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82258 Paul Thomas changed: What|Removed |Added Assignee|pault at gcc dot gnu.org |unassigned at gcc dot gnu.org ---

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

2018-01-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83996 Bug ID: 83996 Summary: [6/7/8] Regression] ICE with zero-sized array Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug libstdc++/83906] [8 Regression] Random FAIL: libstdc++-prettyprinters/80276.cc whatis p4

2018-01-23 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83906 --- Comment #11 from Pedro Alves --- Running the testcase under valgrind and current gdb master I see: ==6118== Conditional jump or move depends on uninitialised value(s) ==6118==at 0x4C35CB0: bcmp (vg_replace_st

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

2018-01-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug tree-optimization/83991] [8 regression] gcc.dg/vect/pr79347.c fail

2018-01-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83991 --- Comment #4 from Martin Liška --- (In reply to Jakub Jelinek from comment #3) > #c0 says that clearly, just use -march=silvermont. > The first dump with these "Invalid sum of" messages is the vect dump. Sorry for overlooking that ;)

[Bug tree-optimization/83991] [8 regression] gcc.dg/vect/pr79347.c fail

2018-01-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83991 Jakub Jelinek changed: What|Removed |Added Status|WAITING |ASSIGNED CC|

[Bug tree-optimization/82604] [8 Regression] SPEC CPU2006 410.bwaves ~50% performance regression with trunk@253679 when ftree-parallelize-loops is used

2018-01-23 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82604 --- Comment #18 from amker at gcc dot gnu.org --- Author: amker Date: Tue Jan 23 16:47:03 2018 New Revision: 256990 URL: https://gcc.gnu.org/viewcvs?rev=256990&root=gcc&view=rev Log: PR tree-optimization/82604 * tree-loop-distribu

[Bug middle-end/70895] OpenACC: loop reduction does not work. Output is zero.

2018-01-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70895 Tom de Vries changed: What|Removed |Added CC||vries at gcc dot gnu.org --- Comment #9 f

[Bug tree-optimization/83992] wrong debug info: wrong NOTE_INSN_BLOCK_BEG placement causes TestCrashDumpsAllThreads gotools testcase failure

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

[Bug tree-optimization/83991] [8 regression] gcc.dg/vect/pr79347.c fail

2018-01-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83991 Martin Liška changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from Martin Liška

[Bug c++/83993] [7/8 Regression] ICE: constant not recomputed when ADDR_EXPR changed

2018-01-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993 --- Comment #4 from Jakub Jelinek --- The clang++ error on e is: pr83993-2.C:5:22: error: constexpr variable 'e' must be initialized by a constant expression constexpr const int *e = &a[10]; ^ ~~ pr83993-2.C:5:27: note:

  1   2   >