[Bug middle-end/93298] GCC 10.0 non-current union member access

2020-01-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93298 Richard Biener changed: What|Removed |Added Resolution|DUPLICATE |INVALID --- Comment #2 from Richard

[Bug testsuite/93294] [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc.

2020-01-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93294 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/93279] [9/10 Regression] C++ Template substitution ICE

2020-01-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93279 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file

2020-01-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93278 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/93119] [ICE] The traditional TLS support of aarch64-ilp32 target may be not perfect while enable fPIC

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93119 --- Comment #7 from Andrew Pinski --- So looking further, my patch is incorrect. The glibc sources for __tls_get_addr says it returns void* which is a 32bit value which might or might not be zero extended. So I need to fix this slightly

[Bug tree-optimization/92980] [miss optimization]redundant load missed by fre.

2020-01-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 --- Comment #12 from Richard Biener --- Ah, sorry I failed to see the entry from BB2 isn't fallthru. I agree the difference is spurious in this particular case but in general it's quite hard to do better without excessively rotating most

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-01-16 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #20 from rguenther at suse dot de --- On Fri, 17 Jan 2020, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 > > --- Comment #19 from Andrew Pinski --- > (In reply to Richard Biener from

[Bug tree-optimization/92980] [miss optimization]redundant load missed by fre.

2020-01-16 Thread wwwhhhyyy333 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 --- Comment #11 from Hongyu Wang --- (In reply to rguent...@suse.de from comment #10) > > It has two exits which makes it difficult > Or impossible to make it truly do-while. > But it's close enough and further rotating the loop doesn't make it

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #19 from Andrew Pinski --- (In reply to Richard Biener from comment #14) > Testcase from PR81028 > > extern void abort(); > > typedef int A; > typedef float B; > > void __attribute__((noinline,noclone)) > foo(A *p, B *q, long unk)

[Bug middle-end/93298] GCC 10.0 non-current union member access

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

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 Andrew Pinski changed: What|Removed |Added CC||msl023508 at gmail dot com ---

[Bug middle-end/93298] New: GCC 10.0 non-current union member access

2020-01-16 Thread msl0000023508 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93298 Bug ID: 93298 Summary: GCC 10.0 non-current union member access Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/93286] [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1

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

[Bug c++/93286] [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1

2020-01-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5194b51ed9714808d88827531e91474895b6c706 commit r10-6029-g5194b51ed9714808d88827531e91474895b6c706 Author: Jason Merrill Date:

[Bug target/93119] [ICE] The traditional TLS support of aarch64-ilp32 target may be not perfect while enable fPIC

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93119 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Created attachment 47663 [details] > Patch which fixes the problem > > So we need to accept P modes and not PTR modes for the aarch64_valid_symref. > And then

[Bug target/93119] [ICE] The traditional TLS support of aarch64-ilp32 target may be not perfect while enable fPIC

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93119 --- Comment #5 from Andrew Pinski --- Created attachment 47663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47663=edit Patch which fixes the problem So we need to accept P modes and not PTR modes for the aarch64_valid_symref. And then

[Bug c++/93297] internal compiler error: in set_constraints, at cp/constraint.cc:

2020-01-16 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297 fdlbxtqi changed: What|Removed |Added CC||euloanty at live dot com --- Comment #1 from

[Bug c++/93297] New: internal compiler error: in set_constraints, at cp/constraint.cc:

2020-01-16 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297 Bug ID: 93297 Summary: internal compiler error: in set_constraints, at cp/constraint.cc: Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-checking,

[Bug analyzer/93291] 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93291 --- Comment #2 from Andrew Pinski --- (In reply to David Malcolm from comment #1) > I'm not sure where the difference between the targets originates; is there a > way to force the usage of bitwise-or here? Try to write it this way: bool tmp1

[Bug c/92833] ice for broken C code

2020-01-16 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92833 Joseph S. Myers changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/92833] ice for broken C code

2020-01-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92833 --- Comment #7 from CVS Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:852f0ae80555238c425e33f98df5c7077694bd9f commit r10-6026-g852f0ae80555238c425e33f98df5c7077694bd9f Author: Kerem Kat Date: Thu

[Bug lto/89358] [8 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings

2020-01-16 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358 --- Comment #23 from Roger Orr --- That's good to hear -- thank you very much!

[Bug c++/93280] [10 Regression] ICE: in cp_gimplify_expr, at cp /cp-gimplify.c:933 since g:08f594eb399dab06

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

[Bug c++/93280] [10 Regression] ICE: in cp_gimplify_expr, at cp /cp-gimplify.c:933 since g:08f594eb399dab06

2020-01-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93280 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:801f5b96775288e55193a66a746caab1ddd56f4a commit r10-6024-g801f5b96775288e55193a66a746caab1ddd56f4a Author: Jason Merrill Date:

[Bug c++/93296] New: Compiler error when assigning array to const reference with implicit constructor call.

2020-01-16 Thread benjamin at readyatdawn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93296 Bug ID: 93296 Summary: Compiler error when assigning array to const reference with implicit constructor call. Product: gcc Version: 9.2.0 Status: UNCONFIRMED

[Bug c++/93036] [9/10 Regression] g++.dg/cpp2a/nontype-class27.C testcase accepted in -std=c++17 mode since r276248

2020-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93036 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/93239] Enhancement: allow unevaluated statement expressions at filescope

2020-01-16 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93239 --- Comment #2 from joseph at codesourcery dot com --- I'd be concerned about trouble when code processing statements tries to deal with context that doesn't exist outside of functions. Consider a statement expression containing a function

[Bug analyzer/93293] 'FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.state-purge.dot'

2020-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93293 --- Comment #1 from David Malcolm --- Thanks for filing this. I was using record-style labels, but switched to HTML-style labels when I upgraded graphviz and my record-style labels stopped working. Based on

[Bug c++/93286] [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1

2020-01-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/93028] internal compiler error: in write_type, at cp/mangle.c:2073

2020-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93028 --- Comment #7 from Marek Polacek --- Trying to compile test.cpp from Comment 5 again, I did see an ICE: internal compiler error: tree check: expected tree that contains ‘decl minimal’ structure, have ‘tree_list’ in lookup_type_scope_1, at

[Bug analyzer/93291] 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations

2020-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93291 --- Comment #1 from David Malcolm --- Thanks. The test is rather over-specified, it seems. x86_64 gimple for test_2 is: _1 = p_5(D) == 0B; _2 = q_6(D) == 0B; _3 = _1 | _2; if (_3 != 0) goto ; [51.12%] else goto ; [48.88%]

[Bug tree-optimization/93292] [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu since r10-5071

2020-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93292 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/91298] $ at the beginging causing Error: junk `(%rip)' after expression

2020-01-16 Thread pskocik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91298 pskocik at gmail dot com changed: What|Removed |Added CC||pskocik at gmail dot com ---

[Bug c/93239] Enhancement: allow unevaluated statement expressions at filescope

2020-01-16 Thread pskocik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93239 --- Comment #1 from pskocik at gmail dot com --- Fixing this seems as simple as removing/commenting-out: gcc/c/c-parser.c:8195 /* If we've not yet started the current function's statement list, gcc/c/c-parser.c:8196or we're in the

[Bug c++/93295] ICE in alias_ctad_tweaks

2020-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295 --- Comment #2 from Marek Polacek --- commit 1a291106384cabc73da0bc0f457b1cd3a4015970 Author: Jason Merrill Date: Wed Nov 27 17:05:53 2019 -0500 Implement P1814R0, CTAD for alias templates. This patch implements C++20 class template

[Bug c++/93295] ICE in alias_ctad_tweaks

2020-01-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/93295] New: ICE in alias_ctad_tweaks

2020-01-16 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295 Bug ID: 93295 Summary: ICE in alias_ctad_tweaks Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed

2020-01-16 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #29 from Marc Glisse --- Note that __is_bitwise_relocatable is specialized to true for deque, so we are not super consistent here ;-) The original patch used is_trivially_move_constructible, IIRC I changed it to is_trivial so the

[Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file

2020-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93278 --- Comment #3 from Jakub Jelinek --- If you mean [ rather than { before HUGE, that doesn't change anything at all. Maybe it is assembler or linker that need a lot of memory or time, but gcc certainly doesn't.

[Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed

2020-01-16 Thread dan at stahlke dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #28 from Dan Stahlke --- Thank you. That makes sense. I had asked about it here: https://stackoverflow.com/questions/59690019 I was directed to this thread, and linked back to the SO thread you provided.

[Bug tree-optimization/93292] [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu

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

[Bug c++/93285] [10 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:931 since g:08f594eb399dab06

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

[Bug c++/93280] [10 Regression] ICE: in cp_gimplify_expr, at cp /cp-gimplify.c:933 since g:08f594eb399dab06

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

[Bug c++/93280] [10 Regression] ICE: in cp_gimplify_expr, at cp /cp-gimplify.c:933 since g:08f594eb399dab06

2020-01-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93280 --- Comment #4 from Jason Merrill --- *** Bug 93285 has been marked as a duplicate of this bug. ***

[Bug fortran/93289] array constructor of different length: Missing diagnostic when PARAMETER is in list

2020-01-16 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 --- Comment #4 from Steve Kargl --- On Thu, Jan 16, 2020 at 05:14:44PM +, burnus at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 > > --- Comment #3 from Tobias Burnus --- > Okay, it is indeed a -std=gnu

[Bug target/93133] __builtin_isgreater emits trapping compare instruction

2020-01-16 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93133 --- Comment #5 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #1) > This happens during combine. If whether the comparison raises exception or > not is distinguished on aarch64 with CCFPEmode vs. CCFPmode, then guess the >

[Bug bootstrap/64271] Minimal patches to bootstrap on NetBSD

2020-01-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64271 --- Comment #15 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:98d56ea8900fdcff8f1987cf2bf499a5b7399857 commit r10-6022-g98d56ea8900fdcff8f1987cf2bf499a5b7399857 Author: Jonathan Wakely

[Bug c++/92517] [10 Regression] ICE on incorrect syntax involving requires and decltype

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

[Bug fortran/93289] array constructor of different length: Missing diagnostic when PARAMETER is in list

2020-01-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 --- Comment #3 from Tobias Burnus --- Okay, it is indeed a -std=gnu extension. I still regard it as bug that it differs, but we can now think about which one to change. Namely: In the always-error case (i.e. literal first): *

[Bug testsuite/93294] New: [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc.

2020-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93294 Bug ID: 93294 Summary: [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc. Product: gcc

[Bug testsuite/93294] [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc.

2020-01-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93294 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/93133] __builtin_isgreater emits trapping compare instruction

2020-01-16 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93133 --- Comment #4 from rsandifo at gcc dot gnu.org --- (In reply to rsand...@gcc.gnu.org from comment #3) > Mine. TBH I'm not really sure why the AArch64 definition > of REVERSE_CONDITION is there. We can't use CCFP GT as > a form of quiet GT

[Bug fortran/93289] array constructor of different length: Missing diagnostic when PARAMETER is in list

2020-01-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 --- Comment #2 from Tobias Burnus --- (In reply to kargl from comment #1) > It appears to be an undocumented extension. Add -Wall to your command line. I would rather call it a bug :-) The truncation warning is a separate thing. For instance,

[Bug target/93133] __builtin_isgreater emits trapping compare instruction

2020-01-16 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93133 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug analyzer/93293] New: 'FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.state-purge.dot'

2020-01-16 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93293 Bug ID: 93293 Summary: 'FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.state-purge.dot' Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/93292] New: [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu

2020-01-16 Thread doko at ubuntu dot com
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: doko at ubuntu dot com Target Milestone: --- seen with 20200116 on powerpc64-linux-gnu $ cat editor_profiler.ii class a { public: static int c(float p1

[Bug libstdc++/91263] unordered_map and unordered_set operator== double key comparison causes exponential behavior

2020-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91263 --- Comment #5 from Jonathan Wakely --- Fixed on trunk. Let's keep this open and decide whether to backport it to the release branches.

[Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file

2020-01-16 Thread doug at cs dot dartmouth.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93278 --- Comment #2 from doug mcilroy --- My error. I omitted half the program. The bad behavior is exhibited by char a{HUGE] = "x"; int main(){ return 0; }

[Bug analyzer/93291] New: 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations

2020-01-16 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93291 Bug ID: 93291 Summary: 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-16 Thread mahatma at eu dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #99 from Dzianis Kahanovich --- PPS About some hidden thinks/things. In pure theory. "*cost-model=cheap" can reduce SSE usage, -mstackrealign - can increase function prolog/epilog overhead. In my case - x7-Z8700 CPU have 2 FPU cores

[Bug analyzer/93288] ICE in supergraph.cc:180

2020-01-16 Thread pmatos at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 --- Comment #2 from pmatos at gcc dot gnu.org --- (In reply to David Malcolm from comment #1) > Note that C++ is out-of-scope for the analyzer for GCC 10. > > Program received signal SIGSEGV, Segmentation fault. > 0x01cb37ed in

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-16 Thread mahatma at eu dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #98 from Dzianis Kahanovich --- fix: "I not try to rebuild 32bit "world" without ANY workaround" - on modern gcc (now all under 9.2). Previous experiments was times & versions ago, so many other new factors/fixes can solve most

[Bug c++/93285] [10 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:931 since g:08f594eb399dab06

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

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-16 Thread mahatma at eu dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #97 from Dzianis Kahanovich --- No. Looking into gcc/opts.c - "-O3 optimizations" section - line: { OPT_LEVELS_3_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_DYNAMIC }, - so, for -O3 it's "dynamic". Then, RTFM, "cheap" more

[Bug rtl-optimization/93264] [10 Regression] ICE in cfg_layout_redirect_edge_and_branch_force, at cfgrtl.c:4522

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

[Bug analyzer/93290] analyzer ICE on isnan()

2020-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93290 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/93289] array constructor of different length: Missing diagnostic when PARAMETER is in list

2020-01-16 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug rtl-optimization/93272] LRA: EH reg allocated to hold local variable

2020-01-16 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93272 --- Comment #2 from Andreas Krebbel --- This problem to some degree is specific to IBM Z since our EH regs are call-saved registers. For targets using call-clobbered EH regs such a collisions usually cannot happen. Perhaps it can be provoked

[Bug libstdc++/91263] unordered_map and unordered_set operator== double key comparison causes exponential behavior

2020-01-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91263 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d916538965ea260c6bcdb1d46581f6d572017ce8 commit r10-6005-gd916538965ea260c6bcdb1d46581f6d572017ce8 Author: Fran�ois Dumont Date:

[Bug analyzer/93290] New: analyzer ICE on isnan()

2020-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93290 Bug ID: 93290 Summary: analyzer ICE on isnan() Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug fortran/93289] New: array constructor of different length: Missing diagnostic when PARAMETER is in list

2020-01-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 Bug ID: 93289 Summary: array constructor of different length: Missing diagnostic when PARAMETER is in list Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/93286] [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1

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

[Bug analyzer/93288] ICE in supergraph.cc:180

2020-01-16 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 --- Comment #1 from David Malcolm --- Note that C++ is out-of-scope for the analyzer for GCC 10. Program received signal SIGSEGV, Segmentation fault. 0x01cb37ed in supergraph::supergraph (this=0x7fffcda0, logger=0x0) at

[Bug tree-optimization/93231] [10 Regression] ICEs since r280132

2020-01-16 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93231 Wilco changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/93286] [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1

2020-01-16 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 --- Comment #1 from Bernd Edlinger --- with the following command it started already earlier: gcc -Wshadow-compatible-local -fmax-errors=1 -std=c++17 -c effect.ii

[Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #6 from Andrew Pinski --- (In reply to Markus F.X.J. Oberhumer from comment #5) > Still this is not nice from a usability perspective - why did the standard > make this a declaration instead of a statement? I said why, to allow it

[Bug analyzer/93288] New: ICE in supergraph.cc:180

2020-01-16 Thread pmatos at gcc dot gnu.org
) GCC: $ /home/pmatos/installs/gcc-20200116/bin/g++ -v Using built-in specs. COLLECT_GCC=/home/pmatos/installs/gcc-20200116/bin/g++ COLLECT_LTO_WRAPPER=/home/pmatos/installs/gcc-20200116/libexec/gcc/x86_64-pc-linux-gnu/10.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc

[Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings

2020-01-16 Thread markus at oberhumer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #5 from Markus F.X.J. Oberhumer --- I see, many thanks for the clarification. Still this is not nice from a usability perspective - why did the standard make this a declaration instead of a statement? Well, will revert back to

[Bug tree-optimization/92429] [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918

2020-01-16 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92429 avieira at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings

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

[Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file

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

[Bug lto/93166] [10 Regression] ICE in get_info_about_necessary_edges, at ipa-cp.c:4137 since r278893

2020-01-16 Thread fxue at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93166 --- Comment #3 from fxue at gcc dot gnu.org --- (In reply to Martin Jambor from comment #2) > I have analyzed this ICE and came to the conclusion that the assert is > wrong for polymorphic context lattices - e.g. in the reported case we > always

[Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #3 from Andrew Pinski --- (In reply to Markus F.X.J. Oberhumer from comment #2) > This is somewhat unexpected, and I do not get any warnings when using clang: > > $ clang-9 -Wdeclaration-after-statement test.c But clang might be

[Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings

2020-01-16 Thread markus at oberhumer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #2 from Markus F.X.J. Oberhumer --- This is somewhat unexpected, and I do not get any warnings when using clang: $ clang-9 -Wdeclaration-after-statement test.c

[Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings

2020-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #1 from Andrew Pinski --- _Static_assert is considered a declaration IIRC.

[Bug c/93287] New: _Static_assert creates spurious -Wdeclaration-after-statement warnings

2020-01-16 Thread markus at oberhumer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 Bug ID: 93287 Summary: _Static_assert creates spurious -Wdeclaration-after-statement warnings Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2020-01-16 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #11 from Andreas Krebbel --- (In reply to CVS Commits from comment #10) > The master branch has been updated by Andreas Krebbel : > > https://gcc.gnu.org/g:3b5757ea87ad2274b841340335bf7536204e615b > > commit

[Bug bootstrap/93282] [10 Regression] build failure introduced with the git conversion

2020-01-16 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93282 Matthias Klose changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE

2020-01-16 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #10 from markeggleston at gcc dot gnu.org --- This is relevant: https://gcc.gnu.org/ml/fortran/2017-12/msg00082.html since the non_recursive keyword is not yet recognised by gfortran, I think it SHOULD be postponed.

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-16 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #96 from Viktor Ostashevskyi --- Honestly, I don't see how your compiler flags could help. cost-model=cheap is default, data-alignment doesn't change incoming stack alignment. ср, 15 січ. 2020, 14:31 користувач mahatma at eu dot by

[Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE

2020-01-16 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #9 from markeggleston at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #7) > (In reply to Tobias Burnus from comment #5) > > Side remark: The Fortran 2018 introduction states: > > > > "the RECURSIVE keyword is advisory

[Bug tree-optimization/92429] [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918

2020-01-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92429 --- Comment #6 from CVS Commits --- The master branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:f7dff7699fd70d3b8c3e637818e18c86f93ccfec commit r10-5997-gf7dff7699fd70d3b8c3e637818e18c86f93ccfec Author: Andre Vieira

[Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE

2020-01-16 Thread markeggleston at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #8 from markeggleston at gcc dot gnu.org --- The change to: if (ns->save_all || (!flag_automatic && !recursive)) Now allows the second example program to produce: Hello 1 Hello 2 Hello 3 Hello

[Bug fortran/91413] [F2018]: Procedures are recursive by default; switching from stack to static allocation is not safe

2020-01-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91413 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug c++/93286] [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1

2020-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/93286] New: [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1

2020-01-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 Bug ID: 93286 Summary: [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since

[Bug rtl-optimization/92176] LRA problem with reloads for subreg operands

2020-01-16 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #10 from CVS Commits --- The master branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:3b5757ea87ad2274b841340335bf7536204e615b commit r10-5996-g3b5757ea87ad2274b841340335bf7536204e615b Author: Andreas Krebbel

[Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE

2020-01-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 Tobias Burnus changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed

2020-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #27 from Jonathan Wakely --- > if constexpr (!is_trivial_v) > if (is_default_constructible_v<_Tp> && (__OPTIMIZE__+0)) That would need to be 'if constexpr' I'll stop now.

[Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed

2020-01-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #26 from Jonathan Wakely --- Or maybe that should be: template struct __is_bitwise_relocatable : is_trivially_copyable<_Tp> { }; ... if constexpr (!is_trivial_v) if (is_default_constructible_v<_Tp>

  1   2   >