[Bug bootstrap/87030] GCC fails to build with Xcode 10, attempting an impossible multilib build

2019-04-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org Target

[Bug tree-optimization/90021] [9 Regression] ICE in index_in_loop_nest, at tree-data-ref.h:587 since r270203

2019-04-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90021 --- Comment #5 from bin cheng --- (In reply to Jakub Jelinek from comment #4) > From what I can see, a fix for this has been acked 11 days ago: > https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00413.html > Bin, are you going to commit it? I just

[Bug tree-optimization/90078] [7/8/9 Regression] ICE with deep templates caused by overflow [PATCH]

2019-04-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90078 --- Comment #9 from bin cheng --- Author: amker Date: Tue Apr 23 04:07:46 2019 New Revision: 270500 URL: https://gcc.gnu.org/viewcvs?rev=270500=gcc=rev Log: PR tree-optimization/90078 * tree-ssa-loop-ivopts.c

[Bug c/89774] Add flag to force single precision

2019-04-22 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89774 JunMa changed: What|Removed |Added CC||JunMa at linux dot alibaba.com --- Comment #10

[Bug libstdc++/90192] std::vector::resize() requires more than it should (CopyInsertable)

2019-04-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90192 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/90205] Wformat-signedness detects %d and suggests %d fixit hint

2019-04-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 --- Comment #4 from Jonathan Wakely --- (In reply to Jonny Grant from comment #2) > The 'argument' is float, within the printf it arrives as a 'parameter' of > type double after the promotion before the call. Yes, it seems more correct to say

[Bug fortran/90166] Compiler Fails at Assembler

2019-04-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90166 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/90166] Compiler Fails at Assembler

2019-04-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90166 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Apr 22 21:00:40 2019 New Revision: 270495 URL: https://gcc.gnu.org/viewcvs?rev=270495=gcc=rev Log: 2019-04-19 Steven G. Kargl PR fortran/90166 * decl.c

[Bug c++/90205] Wformat-signedness detects %d and suggests %d fixit hint

2019-04-22 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 --- Comment #3 from Jonny Grant --- A clang++ example, doing it as I expected, showing the type before automatic promotion. I did with char, as I couldn't find a -Wformat-signedness for the original example code in clang++ #include int main()

[Bug c++/90205] Wformat-signedness detects %d and suggests %d fixit hint

2019-04-22 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 --- Comment #2 from Jonny Grant --- (In reply to Andreas Schwab from comment #1) > %f is correct for double. Yes, the float was promoted to double via the ellipsis ... as I understand it (default type promotion - I am sure you know a lot more

[Bug c++/90173] [9 Regression] ICE: Segmentation fault (in strip_declarator_types)

2019-04-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90173 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/89847] Simplify subexpressions of % constant

2019-04-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89847 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug inline-asm/90181] Feature request: provide a way to explicitly select specific named registers in constraints

2019-04-22 Thread nfxjfg at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90181 --- Comment #6 from nfxjfg at googlemail dot com --- Yes, it's clear that that the constraint can't be _just_ the register name, since they'll clash with builtin constraints now or with future architectures (which may add arbitrary register

[Bug fortran/90207] Debugging generated tree code

2019-04-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90207 Thomas Koenig changed: What|Removed |Added Keywords||internal-improvement Target

[Bug fortran/90207] New: Debugging generated tree code

2019-04-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90207 Bug ID: 90207 Summary: Debugging generated tree code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/88256] [7/8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn), C++ FE missing DECL_EXPRs

2019-04-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256 --- Comment #8 from Jason Merrill --- *** Bug 89910 has been marked as a duplicate of this bug. ***

[Bug c++/89910] [7/8/9 Regression] ICE in make_ssa_name_fn with VLA cast

2019-04-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89910 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/87366] [7/8/9 Regression] SFINAE trait as template parameter causes incorrect application of trait to other areas

2019-04-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87366 --- Comment #2 from Jason Merrill --- Author: jason Date: Mon Apr 22 19:16:46 2019 New Revision: 270494 URL: https://gcc.gnu.org/viewcvs?rev=270494=gcc=rev Log: PR c++/87366 - wrong error with alias template. With this testcase the

[Bug c++/90201] -Werror=useless-cast in move constructir

2019-04-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90201 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug ada/90206] GNAT gcc ada function out argument not support with -gnat12

2019-04-22 Thread leonard.kramer at boeing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90206 --- Comment #5 from Leonard Kramer --- Created attachment 46227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46227=edit Makefile to demonstrate bug

[Bug ada/90206] GNAT gcc ada function out argument not support with -gnat12

2019-04-22 Thread leonard.kramer at boeing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90206 --- Comment #4 from Leonard Kramer --- The issue is that Ada2012 supports functions with arguments qualified with an "out" or "in out" keyword. (Originally, Ada did not support functions that permitted modifying arguments.) When I attempt to

[Bug c++/90205] Wformat-signedness detects %d and suggests %d fixit hint

2019-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ada/90206] GNAT gcc ada function out argument not support with -gnat12

2019-04-22 Thread leonard.kramer at boeing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90206 --- Comment #3 from Leonard Kramer --- Created attachment 46226 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46226=edit .adb body of generic function exhibiting the bug. Body of generic function that exhibits the bug.

[Bug ada/90206] GNAT gcc ada function out argument not support with -gnat12

2019-04-22 Thread leonard.kramer at boeing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90206 --- Comment #2 from Leonard Kramer --- Created attachment 46225 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46225=edit .ads specification code. Spec for generic function that exhibits the bug.

[Bug ada/90206] GNAT gcc ada function out argument not support with -gnat12

2019-04-22 Thread leonard.kramer at boeing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90206 --- Comment #1 from Leonard Kramer --- Created attachment 46224 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46224=edit Main package body Package program that exhibits the bug.

[Bug target/89736] New test pr87532-mc.c fails on compiler not defaulting to VSX

2019-04-22 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89736 --- Comment #6 from kelvin at gcc dot gnu.org --- Author: kelvin Date: Mon Apr 22 16:09:13 2019 New Revision: 270493 URL: https://gcc.gnu.org/viewcvs?rev=270493=gcc=rev Log: gcc/ChangeLog: 2019-04-22 Kelvin Nilsen Backport from

[Bug target/87532] bad results from vec_extract(unsigned char, foo) dependent upon function inline

2019-04-22 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87532 --- Comment #19 from kelvin at gcc dot gnu.org --- Author: kelvin Date: Mon Apr 22 16:09:13 2019 New Revision: 270493 URL: https://gcc.gnu.org/viewcvs?rev=270493=gcc=rev Log: gcc/ChangeLog: 2019-04-22 Kelvin Nilsen Backport from

[Bug ada/90206] New: GNAT gcc ada function out argument not support with -gnat12

2019-04-22 Thread leonard.kramer at boeing dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90206 Bug ID: 90206 Summary: GNAT gcc ada function out argument not support with -gnat12 Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal

[Bug target/88474] Inline built-in hypot for -ffast-math

2019-04-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88474 Segher Boessenkool changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug target/90193] [8/9 Regression] asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2

2019-04-22 Thread mathieu.desnoyers at efficios dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193 --- Comment #11 from Mathieu Desnoyers --- The proposed fix "gcc9-pr90193.patch" applied on top of gcc-8.3.0 fixes the issue for both x86-64 and for x86-32 (-m32) from a 64-bit x86 gcc.

[Bug tree-optimization/90021] [9 Regression] ICE in index_in_loop_nest, at tree-data-ref.h:587 since r270203

2019-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90021 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug target/90193] [8/9 Regression] asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2

2019-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193 --- Comment #10 from Jakub Jelinek --- Created attachment 46222 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46222=edit gcc9-pr90193.patch Untested fix.

[Bug target/90193] [8/9 Regression] asm goto with TLS "m" input operand generates incorrect assembler in O1 and O2

2019-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug libstdc++/90203] Can't compare "const std::pair" with "std::pair"

2019-04-22 Thread shreyans.doshi94 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90203 --- Comment #4 from Shreyans Doshi --- Yeah, I checked that scenario as well. Logically both are same, but compiler doesn't agree to that. But as pointed out by other members, it is not just the compiler, surprisingly it is not present in the

[Bug libstdc++/90203] Can't compare "const std::pair" with "std::pair"

2019-04-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90203 --- Comment #3 from Jonathan Wakely --- (In reply to Shreyans Doshi from comment #0) > > Surprisingly, const pair and pair are not > comparable, which it should be in such cases. Ideally, if a container is > const, it should imply that all the

[Bug libstdc++/90203] Can't compare "const std::pair" with "std::pair"

2019-04-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90203 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/89811] uint32_t load is not recognized if shifts are done in a fixed-size loop

2019-04-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89811 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug tree-optimization/89804] optimization opportunity: move variable from stack to register

2019-04-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89804 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug fortran/80467] Function Without Arguments Fails to Generate Error When Declared Later

2019-04-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80467 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/50974] ICE on invalid on function used as variable

2019-04-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50974 Dominique d'Humieres changed: What|Removed |Added CC||jeffrey.armstrong@approxima

[Bug fortran/88099] ICE in maybe_legitimize_operand, at optabs.c:7170

2019-04-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88099 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|NEW

[Bug c++/90205] Wformat-signedness detects %d and suggests %d fixit hint

2019-04-22 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 --- Comment #1 from Andreas Schwab --- %f is correct for double.

[Bug fortran/80467] Function Without Arguments Fails to Generate Error When Declared Later

2019-04-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80467 Dominique d'Humieres changed: What|Removed |Added CC||g.granda at irya dot unam.mx ---

[Bug fortran/90198] internal compiler error: in convert_move, at expr.c:229

2019-04-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90198 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C

2019-04-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542 --- Comment #12 from Nathan Sidwell --- Richard, I have no idea. AFAICT all the dump_tu stuff is in the C++ FE.

[Bug fortran/90198] internal compiler error: in convert_move, at expr.c:229

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

[Bug c++/90205] New: Wformat-signedness detects %d and suggests %d fixit hint

2019-04-22 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 Bug ID: 90205 Summary: Wformat-signedness detects %d and suggests %d fixit hint Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/90202] AVX-512 instructions not used

2019-04-22 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90202 --- Comment #2 from Antony Polukhin --- Then I'm fine with the current codegen. However with -mavx512f it produces a few additional instructions for rbp register test(v, v): push rbp ; not necessary mov rax, rdi mov rbp, rsp

[Bug libstdc++/90203] Can't compare "const std::pair" with "std::pair"

2019-04-22 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90203 Marc Glisse changed: What|Removed |Added Component|c++ |libstdc++ --- Comment #1 from Marc Glisse

[Bug c/89774] Add flag to force single precision

2019-04-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89774 Segher Boessenkool changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug target/90202] AVX-512 instructions not used

2019-04-22 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90202 --- Comment #1 from Marc Glisse --- IIRC this is a tuning decision made on purpose. If you use just -mavx512f instead of the -march, you get the code you expected.

[Bug c/90204] New: [8 Regression] C code is optimized worse than C++

2019-04-22 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90204 Bug ID: 90204 Summary: [8 Regression] C code is optimized worse than C++ Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug c++/90203] New: Can't compare "const std::pair" with "std::pair"

2019-04-22 Thread shreyans.doshi94 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90203 Bug ID: 90203 Summary: Can't compare "const std::pair" with "std::pair" Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/90202] New: AVX-512 instructions not used

2019-04-22 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90202 Bug ID: 90202 Summary: AVX-512 instructions not used Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3

[Bug ada/90051] Error in spec comments - g-caliio.ads (%Z)

2019-04-22 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90051 simon at pushface dot org changed: What|Removed |Added CC||simon at pushface dot org

[Bug preprocessor/90034] gcc hangs on wait4 after vfork after opening tmp file

2019-04-22 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90034 Akim Demaille changed: What|Removed |Added CC||akim.demaille at gmail dot com ---

[Bug ada/89556] error when using "with Priority"

2019-04-22 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89556 simon at pushface dot org changed: What|Removed |Added CC||simon at pushface dot org

[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

2019-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 Jakub Jelinek changed: What|Removed |Added Attachment #46205|0 |1 is obsolete|

[Bug c++/90201] New: -Werror=useless-cast in move constructir

2019-04-22 Thread prokofjev.d at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90201 Bug ID: 90201 Summary: -Werror=useless-cast in move constructir Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/57284] [OOP] ICE with find_array_spec for polymorphic arrays

2019-04-22 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57284 --- Comment #9 from Paul Thomas --- Author: pault Date: Mon Apr 22 06:50:33 2019 New Revision: 270489 URL: https://gcc.gnu.org/viewcvs?rev=270489=gcc=rev Log: 2019-04-22 Paul Thomas PR fortran/57284 * resolve.c