[Bug target/87853] _mm_cmpgt_epi8 broken with -funsigned-char

2018-11-01 Thread xuepeng.guo at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87853 --- Comment #4 from Terry Guo --- Thanks Derek for reporting. I can reproduce what Derek described and do think this is a bug. _mm_cmpgt_epi8 (__m128i __A, __m128i __B) { return (__m128i) ((__v16qi)__A > (__v16qi)__B); } This one performs sig

[Bug c++/80744] Detect Possible Division By Zero and give a warning in C/C++ [-Wmaybe-div-by-zero]

2018-11-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80744 Eric Gallager changed: What|Removed |Added Blocks||87403 Summary|Detect Divide B

[Bug other/80437] large decimal numbers in diagnostics are hard to read

2018-11-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80437 --- Comment #7 from Eric Gallager --- (In reply to Markus Trippelsdorf from comment #6) > (In reply to David Malcolm from comment #4) > > If the warning is based of a const, maybe lead with that e.g. in the 2nd > > place here: > > > > bug.c:11:5

[Bug middle-end/70831] [7/8/9 Regression] FTBFS: Build fails with bootstrap-lto and profiledbootstrap

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

[Bug target/40503] DEC_EVAL_METHOD not match operators

2018-11-01 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40503 Eric Gallager changed: What|Removed |Added CC||joseph at codesourcery dot com --- Comme

[Bug target/87079] nios2 optimization for size - case of regression relatively to 5.3.0

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

[Bug c++/70380] SFINAE error with constexpr expressions referencing a non-const variable

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

[Bug target/87853] _mm_cmpgt_epi8 broken with -funsigned-char

2018-11-01 Thread xuepeng.guo at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87853 --- Comment #3 from Terry Guo --- (In reply to H.J. Lu from comment #2) > Xuepeng, can you take a look? OK. Working on it now.

[Bug target/85035] nios2: adding -fdelete-null-pointer-checks with -O2 enabled

2018-11-01 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035 sandra at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|-

[Bug libstdc++/87858] Building old multilib bootstrap GCC: stage1 32-bit libstdc++ fails to build after building 64-bit libstdc++

2018-11-01 Thread mkrupcale at matthewkrupcale dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87858 --- Comment #1 from Matthew Krupcale --- Created attachment 44945 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44945&action=edit analogous patch for GCC 8.2 potentially allowing future GCC to build GCC 8.2 (untested)

[Bug libstdc++/87858] New: Building old multilib bootstrap GCC: stage1 32-bit libstdc++ fails to build after building 64-bit libstdc++

2018-11-01 Thread mkrupcale at matthewkrupcale dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87858 Bug ID: 87858 Summary: Building old multilib bootstrap GCC: stage1 32-bit libstdc++ fails to build after building 64-bit libstdc++ Product: gcc Version: unknown

[Bug middle-end/87852] [9 Regression] FAIL: gcc.c-torture/execute/pr53465.c

2018-11-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87852 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug c/87857] case label does not reduce to an integer constant

2018-11-01 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87857 --- Comment #3 from Stas Sergeev --- So a clang bug? I wonder if ubsan is supposed to produce the compile-time errors, rather than the run-time warnings. Would it be possible to downgrade this to a compile-time warning, and/or add a switch to dis

[Bug c/87857] case label does not reduce to an integer constant

2018-11-01 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87857 --- Comment #2 from Andreas Schwab --- 1<<31 is undefined in C, but not in C++ (since C++14).

[Bug c/87857] case label does not reduce to an integer constant

2018-11-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87857 --- Comment #1 from Andrew Pinski --- 1 << 31 is undefined for C99 ...

[Bug c/87857] New: case label does not reduce to an integer constant

2018-11-01 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87857 Bug ID: 87857 Summary: case label does not reduce to an integer constant Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/14557] va_list is automatically taken address-of when passed as argument

2018-11-01 Thread postmas...@flash-gordon-me-uk.bounceio.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557 --- Comment #22 from postmas...@flash-gordon-me-uk.bounceio.net --- Your email was bounced... - ... because something went wrong between you and your recipient. Oh no! What to do next?

[Bug target/14557] va_list is automatically taken address-of when passed as argument

2018-11-01 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557 --- Comment #21 from felix --- > va_list ap2; > va_copy(ap2, ap); > and then use &ap2, this always works. > the proposed macros are both broken and unnecessary. That's not equivalent. Using va_arg(ap2, T) does not propagate state changes back

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

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54613 --- Comment #20 from Thomas Koenig --- Author: tkoenig Date: Thu Nov 1 20:12:57 2018 New Revision: 265732 URL: https://gcc.gnu.org/viewcvs?rev=265732&root=gcc&view=rev Log: 2017-11-01 Thomas Koenig PR fortran/54613 * gfortran.dg/fin

[Bug fortran/87782] [9 Regression] runtime error: load of value 1818451807, which is not a valid value for type 'expr_t'

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

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 87782, which changed state. Bug 87782 Summary: [9 Regression] runtime error: load of value 1818451807, which is not a valid value for type 'expr_t' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87782 What|R

[Bug fortran/87782] [9 Regression] runtime error: load of value 1818451807, which is not a valid value for type 'expr_t'

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87782 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Thu Nov 1 19:50:14 2018 New Revision: 265730 URL: https://gcc.gnu.org/viewcvs?rev=265730&root=gcc&view=rev Log: 2018-11-01 Thomas Koenig PR fortran/87782 * frontend

[Bug fortran/40196] [F03] [F08] Type parameter inquiry (str%len, a%kind) and Complex parts (z%re, z%im)

2018-11-01 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40196 --- Comment #11 from Paul Thomas --- Author: pault Date: Thu Nov 1 19:36:08 2018 New Revision: 265729 URL: https://gcc.gnu.org/viewcvs?rev=265729&root=gcc&view=rev Log: 2018-11-01 Paul Thomas PR fortran/40196 * dependency.c

[Bug libfortran/87856] New: Use subdir-objects in libgfortran automake

2018-11-01 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87856 Bug ID: 87856 Summary: Use subdir-objects in libgfortran automake Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortr

[Bug fortran/87782] [9 Regression] runtime error: load of value 1818451807, which is not a valid value for type 'expr_t'

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87782 Thomas Koenig changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- C

[Bug fortran/87782] [9 Regression] runtime error: load of value 1818451807, which is not a valid value for type 'expr_t'

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87782 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/46020] Improve error string for BIND(C) diagnostic for len>1 character return type

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46020 --- Comment #13 from Thomas Koenig --- Author: tkoenig Date: Thu Nov 1 18:41:28 2018 New Revision: 265727 URL: https://gcc.gnu.org/viewcvs?rev=265727&root=gcc&view=rev Log: 2018-11-01 Thomas Koenig PR fortran/46020 * gfortran.dg/bin

[Bug libstdc++/87855] std::optional only copy-constructible if T is trivially copy-constructible

2018-11-01 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/87853] _mm_cmpgt_epi8 broken with -funsigned-char

2018-11-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87853 H.J. Lu changed: What|Removed |Added CC||xuepeng.guo at intel dot com --- Comment #2 fr

[Bug target/87853] _mm_cmpgt_epi8 broken with -funsigned-char

2018-11-01 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87853 Uroš Bizjak changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #1

[Bug libstdc++/87855] New: std::optional only copy-constructible if T is trivially copy-constructible

2018-11-01 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855 Bug ID: 87855 Summary: std::optional only copy-constructible if T is trivially copy-constructible Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: norm

[Bug other/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2018-11-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 --- Comment #3 from Tom de Vries --- The dwz man shows: ... -M NAME --multifile-name NAME Specify the name of the common file that should be put into the .gnu_debugaltlink section alongside with its build ID.

[Bug other/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

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

[Bug other/82857] libbacktrace: please support binaries stripped with dwz -m (following the .gnu_debugaltlink)

2018-11-01 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82857 Tom de Vries changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-01 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 --- Comment #40 from Uroš Bizjak --- (In reply to Terry Guo from comment #39) > (In reply to Uroš Bizjak from comment #38) > > (In reply to Terry Guo from comment #36) > > > > > OK. Do it right now. > > > > I think that latest attachment is the

[Bug middle-end/87854] New: [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

2018-11-01 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854 Bug ID: 87854 Summary: [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/87843] [9 Regression] SPEC miscompilation of 403.gcc and 502.gcc_r benchmarks

2018-11-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 --- Comment #5 from Jan Hubicka --- I think this is caused by misoptimizing void **x; void *info ATTRIBUTE_UNUSED; { cselib_val *v = (cselib_val *)*x; struct elt_loc_list **p = &v->locs; int had_locs = v->locs != 0; while (*p)

[Bug target/87853] New: _mm_cmpgt_epi8 broken with -funsigned-char

2018-11-01 Thread derek.mauro at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87853 Bug ID: 87853 Summary: _mm_cmpgt_epi8 broken with -funsigned-char Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug middle-end/87852] [9 Regression] FAIL: gcc.c-torture/execute/pr53465.c

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

[Bug c++/87844] [7/8/9 Regression] ICE in tsubst_copy using non-constant expression as a non-type template argument

2018-11-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87844 Marek Polacek changed: What|Removed |Added Target Milestone|--- |7.4 Summary|ICE in tsubst_cop

[Bug c++/87844] ICE in tsubst_copy using non-constant expression as a non-type template argument

2018-11-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87844 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code Status|U

[Bug middle-end/87852] New: [9 Regression] FAIL: gcc.c-torture/execute/pr53465.c

2018-11-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87852 Bug ID: 87852 Summary: [9 Regression] FAIL: gcc.c-torture/execute/pr53465.c Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug sanitizer/87840] LSAN not always printing the leaks when -fsanitize=address is absent

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 --- Comment #9 from Martin Liška --- (In reply to Jan Engelhardt from comment #8) > g++-9 from openSUSE devel:gcc, the rest from Tumbleweed, SVN numbers see -v > banners above. Ok, the trunk version is before libsanitizer merge. Please try it af

[Bug sanitizer/87840] LSAN not always printing the leaks when -fsanitize=address is absent

2018-11-01 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 --- Comment #8 from Jan Engelhardt --- g++-9 from openSUSE devel:gcc, the rest from Tumbleweed, SVN numbers see -v banners above.

[Bug fortran/87851] [8/9 Regression] Wrong return type for len_trim

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 Thomas Koenig changed: What|Removed |Added CC||jb at gcc dot gnu.org Blocks

[Bug ipa/87843] [9 Regression] SPEC miscompilation of 403.gcc and 502.gcc_r benchmarks

2018-11-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/87851] New: [8/9 Regression] Wrong return type for len_trim

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 Bug ID: 87851 Summary: [8/9 Regression] Wrong return type for len_trim Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: for

[Bug sanitizer/87840] LSAN not always printing the leaks when -fsanitize=address is absent

2018-11-01 Thread marxin at gcc dot gnu.org
--- Can't confirm: $ g++ --version g++ (GCC) 9.0.0 20181101 (experimental) $ g++-8 --version g++-8 (SUSE Linux) 8.2.1 20180831 [gcc-8-branch revision 264010] $ g++ -ggdb3 pr87840.cpp -fsanitize=leak && ./a.out = =

[Bug sanitizer/87840] LSAN not always printing the leaks when -fsanitize=address is absent

2018-11-01 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 Jan Engelhardt changed: What|Removed |Added Status|RESOLVED|NEW Resolution|WORKSFORME

[Bug sanitizer/87840] LSAN misses self-refential shared_ptrs

2018-11-01 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 --- Comment #6 from Jan Engelhardt --- Found a case where g++-9 also misses a leak when -fsanitize=address is not present. 14:47 a4:~ > cat y.cpp #include struct S { std::shared_ptr other; }; int main() { auto e = std::make_sha

[Bug sanitizer/87840] LSAN misses self-refential shared_ptrs

2018-11-01 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 Jan Engelhardt changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-01 Thread xuepeng.guo at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 --- Comment #39 from Terry Guo --- (In reply to Uroš Bizjak from comment #38) > (In reply to Terry Guo from comment #36) > > > OK. Do it right now. > > I think that latest attachment is the one that should be tested. > Functionally it is the sa

[Bug sanitizer/87840] LSAN misses self-refential shared_ptrs

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 --- Comment #4 from Martin Liška --- What about this: $ cat empty.c int main() { __builtin_malloc (12345); return 0; } $ gcc -fsanitize=leak empty.c && ./a.out = ==14721==ERR

[Bug sanitizer/87840] LSAN misses self-refential shared_ptrs

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 --- Comment #3 from Martin Liška --- (In reply to Jan Engelhardt from comment #2) > How could I go about debugging why such a backtrace won't show for me? Good question. I use openSUSE Tumbleweed. Maybe try: $ LSAN_OPTIONS="verbosity=111:detect_

[Bug c++/87849] Missed optimization: useless for-loop must be eliminated

2018-11-01 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87849 --- Comment #1 from Alexander Zaitsev --- Same for code without using STL algorithms and containers: int min(int a, int b) { return a < b ? a : b; } int max(int a, int b) { return a > b ? a : b; } int foo(int* v, int size) { int l

[Bug sanitizer/87840] LSAN misses self-refential shared_ptrs

2018-11-01 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 --- Comment #2 from Jan Engelhardt --- How could I go about debugging why such a backtrace won't show for me?

[Bug c++/87850] New: Add fix-it hint for "invalid conversion from 'X' to 'X*'"

2018-11-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87850 Bug ID: 87850 Summary: Add fix-it hint for "invalid conversion from 'X' to 'X*'" Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: diagnostic Se

[Bug c++/87849] New: Missed optimization: useless for-loop must be eliminated

2018-11-01 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87849 Bug ID: 87849 Summary: Missed optimization: useless for-loop must be eliminated Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/87826] ubsan: gimple-ssa-store-merging.c:281

2018-11-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87826 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Nov 1 12:31:45 2018 New Revision: 265720 URL: https://gcc.gnu.org/viewcvs?rev=265720&root=gcc&view=rev Log: PR tree-optimization/87826 * gimple-ssa-store-merging.c (d

[Bug tree-optimization/87848] New: [9 Regression] internal compiler error: in compare_range_with_value, at vr-values.c:1665

2018-11-01 Thread steinar+gcc at gunderson dot no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87848 Bug ID: 87848 Summary: [9 Regression] internal compiler error: in compare_range_with_value, at vr-values.c:1665 Product: gcc Version: 9.0 Status: UNCONFIRMED Se

[Bug fortran/19276] [meta-bug] CHARACTER related bugs in gfortran

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276 Bug 19276 depends on bug 46020, which changed state. Bug 46020 Summary: Improve error string for BIND(C) diagnostic for len>1 character return type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46020 What|Removed

[Bug fortran/32630] [meta-bug] ISO C binding

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32630 Bug 32630 depends on bug 46020, which changed state. Bug 46020 Summary: Improve error string for BIND(C) diagnostic for len>1 character return type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46020 What|Removed

[Bug fortran/46020] Improve error string for BIND(C) diagnostic for len>1 character return type

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

[Bug c++/87847] New: spec_hasher::hash does not match with spec_hasher::equal

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 Bug ID: 87847 Summary: spec_hasher::hash does not match with spec_hasher::equal Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug fortran/46020] Improve error string for BIND(C) diagnostic for len>1 character return type

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46020 --- Comment #11 from Thomas Koenig --- Author: tkoenig Date: Thu Nov 1 12:00:59 2018 New Revision: 265719 URL: https://gcc.gnu.org/viewcvs?rev=265719&root=gcc&view=rev Log: 2018-11-01 Thomas Koenig PR fortran/46020 * decl.c

[Bug libstdc++/87846] New: std::filesystem::create_directories with a path with a trailing slash does not create any directory

2018-11-01 Thread arnaud02 at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87846 Bug ID: 87846 Summary: std::filesystem::create_directories with a path with a trailing slash does not create any directory Product: gcc Version: 8.2.0 Status: UNCONFIRMED

[Bug fortran/46020] Improve error string for BIND(C) diagnostic for len>1 character return type

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46020 --- Comment #10 from Thomas Koenig --- Author: tkoenig Date: Thu Nov 1 11:56:26 2018 New Revision: 265717 URL: https://gcc.gnu.org/viewcvs?rev=265717&root=gcc&view=rev Log: 2018-11-01 Thomas Koenig PR fortran/46020 * gfortran.dg/bin

[Bug fortran/46020] Improve error string for BIND(C) diagnostic for len>1 character return type

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46020 --- Comment #9 from Thomas Koenig --- Author: tkoenig Date: Thu Nov 1 11:55:43 2018 New Revision: 265716 URL: https://gcc.gnu.org/viewcvs?rev=265716&root=gcc&view=rev Log: 2018-11-01 Thomas Koenig PR fortran/46020 * gfortran.dg/bind

[Bug rtl-optimization/87845] New: cselib_hasher::hash function does not match with cselib_hasher::equal operator

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87845 Bug ID: 87845 Summary: cselib_hasher::hash function does not match with cselib_hasher::equal operator Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: mi

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

2018-11-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54613 --- Comment #19 from Thomas Koenig --- Author: tkoenig Date: Thu Nov 1 11:37:08 2018 New Revision: 265715 URL: https://gcc.gnu.org/viewcvs?rev=265715&root=gcc&view=rev Log: 2018-10-28 Thomas Koenig PR fortran/54613 * gfortra

[Bug ipa/87843] [9 Regression] SPEC 2017 miscompilation of 502.gcc_r with -Ofast -march=native -g -flto=8 -fprofile-generate

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 --- Comment #3 from Martin Liška --- For 403.gcc one only needs: -O2 -g -flto=8

[Bug c++/87841] Member of class template hides template parameter of another member

2018-11-01 Thread o_kniemeyer at maxon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 --- Comment #3 from Ole Kniemeyer --- Yes, I also tried other compilers, and all of them fail. But in [temp.local] it is explicitly stated that "the name of a member of the class template hides the name of a template-parameter of any enclosing cl

[Bug ipa/87843] [9 Regression] SPEC 2017 miscompilation of 502.gcc_r with -Ofast -march=native -g -flto=8 -fprofile-generate

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 --- Comment #2 from Martin Liška --- (In reply to Jan Hubicka from comment #1) > Would be possible to analyze this a bit? I would leave it to you. Note that the same happens for SPEC2006 403.gcc benchmark: $ gdb --args /home/marxin/Programming/

[Bug c++/87841] Member of class template hides template parameter of another member

2018-11-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid --- Comment #2 from Jona

[Bug ipa/87843] [9 Regression] SPEC 2017 miscompilation of 502.gcc_r with -Ofast -march=native -g -flto=8 -fprofile-generate

2018-11-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 --- Comment #1 from Jan Hubicka --- Would be possible to analyze this a bit? The patch does have effect on optimizers because we produce a lot fewer MEM_REFs on type mismatches. Of course this should not trigger wrong code but it also may be som

[Bug d/87824] x86_64-linux multilib issues

2018-11-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Thu Nov 1 11:14:08 2018 New Revision: 265713 URL: https://gcc.gnu.org/viewcvs?rev=265713&root=gcc&view=rev Log: PR d/87824 * lang.opt (Wpsabi): New option. * gdc

[Bug bootstrap/87788] [9 Regression] Bootstrap fails for x86_64-apple-darwin* with default languages selection after D addition.

2018-11-01 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87788 --- Comment #14 from Iain Buclaw --- (In reply to Iain Sandoe from comment #13) > bootstrap succeeded on x86_64-darwin16 --enable-languages=all for 265659. > > Shall we leave this PR open as a place to track getting D working on Darwin? > .. or

[Bug c++/87844] New: ICE in tsubst_copy using non-constant expression as a non-type template argument

2018-11-01 Thread curlypaul924 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87844 Bug ID: 87844 Summary: ICE in tsubst_copy using non-constant expression as a non-type template argument Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-01 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 --- Comment #38 from Uroš Bizjak --- (In reply to Terry Guo from comment #36) > OK. Do it right now. I think that latest attachment is the one that should be tested. Functionally it is the same, but avoids unnecessary variable updates before ex

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-01 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 Uroš Bizjak changed: What|Removed |Added Attachment #44928|0 |1 is obsolete|

[Bug ipa/87843] [9 Regression] SPEC 2017 miscompilation of 502.gcc_r with -Ofast -march=native -g -flto=8 -fprofile-generate

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 Martin Liška changed: What|Removed |Added Last reconfirmed||2018-11-1 Known to work|

[Bug ipa/87843] New: [9 Regression] SPEC 2017 miscompilation of 502.gcc_r with -Ofast -march=native -g -flto=8 -fprofile-generate

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87843 Bug ID: 87843 Summary: [9 Regression] SPEC 2017 miscompilation of 502.gcc_r with -Ofast -march=native -g -flto=8 -fprofile-generate Product: gcc Version: 9.0

[Bug d/87824] x86_64-linux multilib issues

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

[Bug c++/87842] Member of class template hides template parameter of another member

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87842 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/87841] Member of class template hides template parameter of another member

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 --- Comment #1 from Martin Liška --- *** Bug 87842 has been marked as a duplicate of this bug. ***

[Bug sanitizer/87840] LSAN misses self-refential shared_ptrs

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

[Bug c++/87841] New: Member of class template hides template parameter of another member

2018-11-01 Thread o_kniemeyer at maxon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87841 Bug ID: 87841 Summary: Member of class template hides template parameter of another member Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/87842] New: Member of class template hides template parameter of another member

2018-11-01 Thread o_kniemeyer at maxon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87842 Bug ID: 87842 Summary: Member of class template hides template parameter of another member Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/87840] New: LSAN misses self-refential shared_ptrs

2018-11-01 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 Bug ID: 87840 Summary: LSAN misses self-refential shared_ptrs Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64

2018-11-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87837 --- Comment #5 from Jakub Jelinek --- Even the above commented TYPE_OVERFLOW_SANITIZED looks weird, I'd expect the type of the same expression on which we check TYPE_OVERFLOW_UNDEFINED.

[Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64

2018-11-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87837 --- Comment #4 from Jakub Jelinek --- Created attachment 44939 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44939&action=edit gcc9-pr87837.patch Untested fix for this issue. Note, we should go through all of match.pd and for each TYPE_O

[Bug c/87806] Option -Wall should warn about unused structs, typdefs, enums, etc

2018-11-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87806 --- Comment #6 from Jonathan Wakely --- I don't think there are any, only for local typedefs. That's already enabled by -Wall so I assumed this was a request to add a new warning *and* enable it in -Wall.

[Bug c++/64266] Can GCC produce local mergeable symbols for *.__FUNCTION__ and *.__PRETTY_FUNCTION__ functions?

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

[Bug ipa/81277] assert() in multiversioned functions causes compilation error

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

[Bug bootstrap/70422] [6 regression] Bootstrap comparison failure

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70422 --- Comment #11 from Martin Liška --- Author: marxin Date: Thu Nov 1 09:19:31 2018 New Revision: 265711 URL: https://gcc.gnu.org/viewcvs?rev=265711&root=gcc&view=rev Log: Make __PRETTY_FUNCTION__-like functions mergeable string csts (PR c++/642

[Bug c++/64266] Can GCC produce local mergeable symbols for *.__FUNCTION__ and *.__PRETTY_FUNCTION__ functions?

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64266 --- Comment #13 from Martin Liška --- Author: marxin Date: Thu Nov 1 09:19:31 2018 New Revision: 265711 URL: https://gcc.gnu.org/viewcvs?rev=265711&root=gcc&view=rev Log: Make __PRETTY_FUNCTION__-like functions mergeable string csts (PR c++/642

[Bug ipa/81277] assert() in multiversioned functions causes compilation error

2018-11-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81277 --- Comment #4 from Martin Liška --- Author: marxin Date: Thu Nov 1 09:19:31 2018 New Revision: 265711 URL: https://gcc.gnu.org/viewcvs?rev=265711&root=gcc&view=rev Log: Make __PRETTY_FUNCTION__-like functions mergeable string csts (PR c++/6426

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-01 Thread xuepeng.guo at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 --- Comment #36 from Terry Guo --- (In reply to Uroš Bizjak from comment #35) > > Actually, we can use crtl->stack_realign_processed to delay DRAP generation. > The condition in the patch should be changed to: > > crtl->stack_realign_need

[Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64

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

[Bug c++/58372] internal compiler error: ix86_compute_frame_layout

2018-11-01 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372 --- Comment #35 from Uroš Bizjak --- (In reply to Terry Guo from comment #31) > (In reply to Uroš Bizjak from comment #30) > > (In reply to Jakub Jelinek from comment #29) > > > > Let's ask Jakub about asan, if it is possible to move generation o

  1   2   >