[Bug bootstrap/88633] New: stage2 failure due to undefined reference to libintl_dgettext on armv7l-linux-gnueabihf

2018-12-28 Thread dclarke at blastwave dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88633 Bug ID: 88633 Summary: stage2 failure due to undefined reference to libintl_dgettext on armv7l-linux-gnueabihf Product: gcc Version: 8.2.0 Status: UNCONFIRMED S

[Bug ada/88591] [9 regression] libada install fails with --enable-shared

2018-12-28 Thread jamespharvey20 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88591 jamespharvey20 at gmail dot com changed: What|Removed |Added Status|WAITING |RESOLVED Resolu

[Bug debug/49167] dwarf marker for function return instruction

2018-12-28 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49167 --- Comment #5 from Alexandre Oliva --- I've been working on an off on this specific issue, and on various surrounding infrastructure issues, for a very long time. Right now I'm not specifically working on it.

[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand

2018-12-28 Thread yaghmour.shafik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372 --- Comment #11 from Shafik Yaghmour --- Bumping, it has been a while. I ran into this reviewing [diff.cpp11.expr] https://timsong-cpp.github.io/cppwp/n4659/diff.cpp11.expr and noticed the code in the example similar to the reduced sample fails

[Bug web/88108] Remove misleading "raw unified" link from Bugzilla patch viewer

2018-12-28 Thread LpSolit at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88108 Frédéric Buclin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug web/88108] Remove misleading "raw unified" link from Bugzilla patch viewer

2018-12-28 Thread LpSolit at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88108 Frédéric Buclin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-12-28 Thread LpSolit at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315 Frédéric Buclin changed: What|Removed |Added Attachment #45304|0 |1 is obsolete|

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-12-28 Thread LpSolit at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315 Frédéric Buclin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-12-28 Thread LpSolit at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315 --- Comment #12 from Frédéric Buclin --- Created attachment 45304 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45304&action=edit patch, v1 Patch applied.

[Bug libstdc++/88607] forward_list.h contains utf-8 charactor

2018-12-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88607 --- Comment #6 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #4) > Created attachment 45297 [details] > gcc9-pr88607.patch > > Untested patch. Another option is do these changes (transliterations or > removals) during make in

[Bug libstdc++/88607] forward_list.h contains utf-8 charactor

2018-12-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88607 --- Comment #5 from Jonathan Wakely --- These characters come from copying & pasting text from the PDF of the C++ standard, which uses ligatures. We should just replace the ligature.

[Bug c++/88572] error: braces around scalar initializer - should be a warning

2018-12-28 Thread wjwray at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88572 --- Comment #1 from Will Wray --- This bug is straightforward to confirm. Compile this snippet (-std=c++11 / 14 / 17 / 2a): struct S { int i; }; S s{{0}}; Gives error: braces around scalar initializer for type 'int' Should be a wa

[Bug fortran/88632] New: [F08] function contained in module invisible to submodule unless declared public

2018-12-28 Thread joerg.stil...@tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88632 Bug ID: 88632 Summary: [F08] function contained in module invisible to submodule unless declared public Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity

[Bug c++/88631] CTAD cannot deduce from () value initialization

2018-12-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88631 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/88538] parse error with class nontype template parameter

2018-12-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88538 --- Comment #2 from Marek Polacek --- It seems though that the current grammar doesn't allow braced-init-list as a template-argument. Should we raise a DR?

[Bug rtl-optimization/43147] SSE shuffle merge

2018-12-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43147 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-12-28 Thread LpSolit at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315 --- Comment #11 from Frédéric Buclin --- (In reply to Jonathan Wakely from comment #8) > Frédéric, any idea why your comment above caused Bugzilla to send the next > ten emails with your name on? They were old emails stuck in the queue, as you c

[Bug c++/86648] [9 Regression] ICE on class template argument deduction

2018-12-28 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86648 --- Comment #6 from Alexandre Oliva --- https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01740.html

[Bug rtl-optimization/43147] SSE shuffle merge

2018-12-28 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43147 --- Comment #6 from Marc Glisse --- Created attachment 45303 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45303&action=edit example patch (untested) Making the meaning of shuffles visible in GIMPLE could help a bit (although it wouldn't

[Bug libfortran/81984] NULL string pointer dereferencing forces undefined behaviour in libgfortran

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

[Bug libfortran/81984] NULL string pointer dereferencing forces undefined behaviour in libgfortran

2018-12-28 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81984 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Dec 28 18:26:09 2018 New Revision: 267452 URL: https://gcc.gnu.org/viewcvs?rev=267452&root=gcc&view=rev Log: 2018-12-28 Steven G. Kargl PR fortran/81984

[Bug c++/88631] New: CTAD cannot deduce from () value initialization

2018-12-28 Thread lichray at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88631 Bug ID: 88631 Summary: CTAD cannot deduce from () value initialization Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/88620] [7/8/9 Regression] ICE in assign_stack_temp_for_type, at function.c:837

2018-12-28 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88620 sudi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/88620] [7/8/9 Regression] ICE in assign_stack_temp_for_type, at function.c:837

2018-12-28 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88620 --- Comment #2 from sudi at gcc dot gnu.org --- Haven't looked very closely to PR82564 but it was marked as a possible duplicate to an already resolved ticket a year ago. In any case I can confirm this failure is still occurring for aarch64 trunk

[Bug target/88616] ICE in gimplify_expr at gcc/gimplify.c:13363

2018-12-28 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88616 --- Comment #1 from sudi at gcc dot gnu.org --- Started somewhere between r264874 and r266250. (I know the window is too big :()

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread merukun1125 at docomo dot ne.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 --- Comment #9 from merukun1125 at docomo dot ne.jp --- Tn Comment 6, not #include struct S { // A type that does not depend on template parameter T auto operator()() const -> decltype(false) { return false; } }; template T ge

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread merukun1125 at docomo dot ne.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 --- Comment #8 from merukun1125 at docomo dot ne.jp --- (In reply to Jakub Jelinek from comment #7) > http://eel.is/c++draft/expr.prim.lambda.closure says: > > The type of a lambda-expression (which is also the type of the closure > object) is a

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 --- Comment #7 from Jakub Jelinek --- http://eel.is/c++draft/expr.prim.lambda.closure says: The type of a lambda-expression (which is also the type of the closure object) is a unique, unnamed non-union class type, called the closure type, whose

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread merukun1125 at docomo dot ne.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 merukun1125 at docomo dot ne.jp changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolu

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-12-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 Martin Liška changed: What|Removed |Added Priority|P3 |P1 --- Comment #8 from Martin Liška ---

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread merukun1125 at docomo dot ne.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 --- Comment #5 from merukun1125 at docomo dot ne.jp --- (In reply to Jakub Jelinek from comment #4) > lambda is AFAIK a local class, so you need to instantiate it. So it is more > similar to: > #include > > template > constexpr bool run() { ret

[Bug c++/88613] [9 Regression] ICE in size_binop_loc at fold-const.c:1900 since r267272

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

[Bug c++/88630] Incorrect float negating together with convertion to int on SH4

2018-12-28 Thread zavadovsky.yan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 --- Comment #5 from Zavadovsky Yan --- Created attachment 45302 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45302&action=edit main.ii: -save-temps output

[Bug c++/88630] Incorrect float negating together with convertion to int on SH4

2018-12-28 Thread zavadovsky.yan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 --- Comment #4 from Zavadovsky Yan --- Compilation command: sh4-unknown-linux-gnu-g++ --sysroot=../8.2.0/sh4-unknown-linux-gnu/sysroot -static -Os -o test820 main.cpp GCC info: Using built-in specs. COLLECT_GCC=../000_sh4_gcc/820/bin/sh4-unknown

[Bug c++/88630] Incorrect float negating together with convertion to int on SH4

2018-12-28 Thread zavadovsky.yan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 --- Comment #3 from Zavadovsky Yan --- Created attachment 45301 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45301&action=edit main820.s: assembler output from GCC-8.2.0

[Bug c++/88630] Incorrect float negating together with convertion to int on SH4

2018-12-28 Thread zavadovsky.yan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 --- Comment #2 from Zavadovsky Yan --- Created attachment 45300 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45300&action=edit main494.s: assembler output from GCC-4.9.4

[Bug c++/88630] Incorrect float negating together with convertion to int on SH4

2018-12-28 Thread zavadovsky.yan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 --- Comment #1 from Zavadovsky Yan --- Rewriting code as float float_val = ; int int_val = -(int)float_val; avoids bug. And rewriting code as double float_val = ; int int_val = -float_val; also avoids bug.

[Bug c++/88630] New: Incorrect float negating together with convertion to int on SH4

2018-12-28 Thread zavadovsky.yan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88630 Bug ID: 88630 Summary: Incorrect float negating together with convertion to int on SH4 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/88619] [9 Regression] ICE in asan_emit_stack_protection, at asan.c:1574 since r266664

2018-12-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88619 --- Comment #2 from Martin Liška --- Ok, so the problem was latent, for: $ cat /tmp/ice.i typedef int aligned __attribute__((aligned(64))); int main () { aligned b; int *p = &b; *(p - 1) = 123; __builtin_alloca(b); } if I apply followi

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 --- Comment #4 from Jakub Jelinek --- lambda is AFAIK a local class, so you need to instantiate it. So it is more similar to: #include template constexpr bool run() { return false; } template T get() { struct S {}; if constexpr (std::

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread merukun1125 at docomo dot ne.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 --- Comment #3 from merukun1125 at docomo dot ne.jp --- (In reply to Jakub Jelinek from comment #2) > clang++ agrees with g++ here. The lambda expression needs to be > instantiated so that it can be evaluated and expressions in discarded > statem

[Bug c++/88613] [9 Regression] ICE in size_binop_loc at fold-const.c:1900 since r267272

2018-12-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88613 --- Comment #2 from Jakub Jelinek --- Seems it is fold_cache related, we are cp_folding (int) VIEW_CONVERT_EXPR != 5 and for the VIEW_CONVERT_EXPR for some reason find an entry in fold_cache that it is equivalent to a VAR_DECL x and thus undo t

[Bug fortran/88624] [Coarray] Rejects allocatable coarray passed as a dummy argument

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

[Bug ipa/88626] __builtin_constant_p should be as cheap as dead code for inlining purposes

2018-12-28 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88626 --- Comment #1 from Marc Glisse --- In my application (quite a bit bigger than the testcase...), looking at the optimized dump, I see that the function is inlined without the __builtin_constant_p code, but when I add the __builtin_constant_p code

[Bug c++/88613] [9 Regression] ICE in size_binop_loc at fold-const.c:1900 since r267272

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

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 --- Comment #2 from Jakub Jelinek --- clang++ agrees with g++ here. The lambda expression needs to be instantiated so that it can be evaluated and expressions in discarded statements are not instantiated.

[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

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

[Bug ipa/88586] ICE: Segmentation fault (in free_lang_data_in_decl)

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

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-12-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 --- Comment #7 from Dmitry G. Dyachenko --- (In reply to Dmitry G. Dyachenko from comment #6) > r267445 PASS sorry for noise 1. testcase from PR FAIL for me with r267445 2. real-world-code-compilation not FAIL

[Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h

2018-12-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089 --- Comment #6 from Dmitry G. Dyachenko --- r267445 PASS

[Bug tree-optimization/88621] [9 Regression] wrong code at -O1 and above on x86_64-linux-gnu in 64-bit mode (not in 32-bit mode)

2018-12-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88621 --- Comment #2 from Jakub Jelinek --- The expander is unprepared to deal with MEM_REFs for bitfields, it really wants to see a COMPONENT_REF for those cases, but the r267296 code happily creates those. *mem is COMPONENT_REF with first argument V

[Bug demangler/88629] Heap-buffer-overflow problem in function d_expression_1 in cp-demangle.c, as demonstrated by c++filt

2018-12-28 Thread wcventure at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629 --- Comment #3 from Cheng Wen --- That 's because "d_advance (di, 2);" in function d_expression_1, it change di->n = di + 2; leading to buffer-over-flow problem. > 3353 d_advance (di, 2); > 3354 if (peek == 't') > 3355 type = cplus_d

[Bug libstdc++/88607] forward_list.h contains utf-8 charactor

2018-12-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88607 --- Comment #4 from Jakub Jelinek --- Created attachment 45297 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45297&action=edit gcc9-pr88607.patch Untested patch. Another option is do these changes (transliterations or removals) during ma

[Bug demangler/88629] Heap-buffer-overflow problem in function d_expression_1 in cp-demangle.c, as demonstrated by c++filt

2018-12-28 Thread wcventure at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629 --- Comment #1 from Cheng Wen --- Created attachment 45295 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45295&action=edit POC2

[Bug demangler/88629] Heap-buffer-overflow problem in function d_expression_1 in cp-demangle.c, as demonstrated by c++filt

2018-12-28 Thread wcventure at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629 --- Comment #2 from Cheng Wen --- Created attachment 45296 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45296&action=edit POC3

[Bug demangler/88629] New: Heap-buffer-overflow problem in function d_expression_1 in cp-demangle.c, as demonstrated by c++filt

2018-12-28 Thread wcventure at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629 Bug ID: 88629 Summary: Heap-buffer-overflow problem in function d_expression_1 in cp-demangle.c, as demonstrated by c++filt Product: gcc Version: unknown

[Bug c++/88628] New: lambda expression in static_assert in if constexpr is not evaluated

2018-12-28 Thread merukun1125 at docomo dot ne.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628 Bug ID: 88628 Summary: lambda expression in static_assert in if constexpr is not evaluated Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2018-12-28 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 --- Comment #8 from Iain Sandoe --- I can see this on x86_64-darwin15 .. but not on darwin16, 17 or 18. please can you confirm that you definitely see this on darwin18? (and what your bootstrap compiler / config is). my tests were on 267418 wit

[Bug pch/61250] Random pch failures on x86_64-apple-darwin1(3|4).

2018-12-28 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61250 --- Comment #21 from Iain Sandoe --- (In reply to Eric Gallager from comment #20) > (In reply to Jack Howarth from comment #16) > > (In reply to howarth from comment #15) > > > (In reply to howarth from comment #14) > > > > Testing https://gcc.gn