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

2019-01-28 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093 --- Comment #8 from joseph at codesourcery dot com --- The Arm rule is that the EH machinery needs to avoid using VFP (or other non-core) registers so that the unwinder can save them on-demand only. See

[Bug c++/89070] Attribute [[nodiscard]] should be ignored in unevaluated contexts

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89070 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug middle-end/78665] Unexpected warning about "assuming signed overflow does not occur when simplifying conditional"

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78665 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2019-01-28 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #22 from joseph at codesourcery dot com --- A large proportion of the glibc libm tests still segfault for powerpc-linux-gnu soft-float with that patch applied to GCC trunk. (Although I don't see nextafter tests among those falling

[Bug target/89071] AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar float<->double and other scalar xmm,xmm instructions

2019-01-28 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89071 --- Comment #5 from Peter Cordes --- (In reply to H.J. Lu from comment #4) > (In reply to Peter Cordes from comment #2) > > Can you show some > > asm where this performs better? > > Please try cvtsd2ss branch at: > > https://github.com/hjl-to

[Bug c++/52119] [C++11] overflow in signed left shift isn't diagnosed

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67866] False positive -Wshift-count-overflow on template code that checks for shift count overflow

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67866 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67980] left shift count is negative [-Wshift-count-negative] generated for unreachable code

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67980 Martin Sebor changed: What|Removed |Added CC||scovich at gmail dot com --- Comment #8 f

[Bug c/80383] wrong caret location and missing detail in warning: initializer element is not a constant expression on a signed overflow

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80383 Martin Sebor changed: What|Removed |Added Known to fail||7.3.0, 8.2.0, 9.0 --- Comment #3 from Mar

[Bug target/89071] AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar float<->double and other scalar xmm,xmm instructions

2019-01-28 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89071 --- Comment #6 from Peter Cordes --- (In reply to Peter Cordes from comment #5) > But whatever the effect is, it's totally unrelated to what you were *trying* > to test. :/ After adding a `ret` to each AVX function, all 5 are basically the same

[Bug c++/84608] Hang in cxx_eval_constant_expression() with -fsanitize=undefined

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84608 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Known to f

[Bug c++/88325] [9 Regression] ICE on (invalid) C++ code when compiled with -std=c++2a: in make_typename_type, at cp/decl.c:3816

2019-01-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88325 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code, patch --- Comment #

[Bug target/89071] AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar float<->double and other scalar xmm,xmm instructions

2019-01-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89071 --- Comment #7 from H.J. Lu --- I fixed assembly codes and run it on different AVX machines. I got similar results: ./test sse : 28346518 sse_clear: 28046302 avx : 28214775 avx2 : 28251195 avx_clear: 28092687 avx_clear: vx

[Bug c/71188] missing warning converting constant integer expression zero to pointer

2019-01-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71188 --- Comment #4 from Eric Gallager --- Possibly related to bug 44263?

[Bug c++/89083] [9 Regression] ICE in reshape_init_r, at cp/decl.c:6172

2019-01-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083 --- Comment #3 from Marek Polacek --- Untested patch: --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -6166,6 +6166,8 @@ reshape_init_r (tree type, reshape_iter *d, bool first_initializer_p, before calling digest_init, so changing this code

[Bug c++/80864] [7/8/9 Regression] Brace-initialization of a constexpr variable of an array in a POD triggers ICE from templates

2019-01-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80864 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/89071] AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar float<->double and other scalar xmm,xmm instructions

2019-01-28 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89071 --- Comment #8 from Peter Cordes --- Created attachment 45544 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45544&action=edit testloop-cvtss2sd.asm (In reply to H.J. Lu from comment #7) > I fixed assembly codes and run it on different AVX

[Bug c++/44263] [7/8/9 Regression] missing diagnostic on questionable array sizes with -pedantic

2019-01-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44263 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/89077] ICE using * as len specifier for character parameter

2019-01-28 Thread rrodrigues at poli dot ufrj.br
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077 --- Comment #3 from Rodrigo Rodrigues --- I'm not sure it is related, but in this test case, I don't get internal errors, but wrong results: program reverse implicit none character(20), parameter :: input = 'Forward' integer i character(

[Bug c++/89083] [9 Regression] ICE in reshape_init_r, at cp/decl.c:6172

2019-01-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083 --- Comment #4 from Marek Polacek --- Or perhaps we're just forgetting to set TREE_HAS_CONSTRUCTOR. To be investigated tomorrow.

[Bug c++/88865] [[no_unique_address]] leads to sizeof(T) == 0, which cannot be

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

[Bug target/89012] SH2 (FDPIC) duplicate symbols in generated assembly.

2019-01-28 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012 --- Comment #3 from Zach van Rijn --- Created attachment 45545 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45545&action=edit Tarball containing intermediate asm (with -dp) for each of 5 cases.

[Bug target/89012] SH2 (FDPIC) duplicate symbols in generated assembly.

2019-01-28 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012 --- Comment #4 from Zach van Rijn --- The error can be reproduced at `O1` optimization level with both (strictly both) of the following options: ./cc -c mintest.c -O1 -freorder-blocks-algorithm=stc -ftree-pre Changing to `-freorder-blocks-algor

[Bug target/89012] SH2 (FDPIC) duplicate symbols in generated assembly.

2019-01-28 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89012 --- Comment #5 from Zach van Rijn --- Created attachment 45546 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45546&action=edit All files produced by -O2 -da

[Bug fortran/89086] Add a Fortran language reference chapter

2019-01-28 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89086 --- Comment #2 from Thomas Koenig --- (In reply to Dominique d'Humieres from comment #1) > > We should add a Fortran language reference to the documentaiton. > > I don't think this is realistic unless someone steps on with at least a > draft. W

[Bug fortran/88298] [7/8/9 Regression] Bogus conversion warning for CSHIFT with -fno-range-check -m64

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

[Bug ada/89097] New: Ada build broken with long path names

2019-01-28 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89097 Bug ID: 89097 Summary: Ada build broken with long path names Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug tree-optimization/89098] New: ICE: verify_ssa failed (Error: definition in block 27 follows the use)

2019-01-28 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89098 Bug ID: 89098 Summary: ICE: verify_ssa failed (Error: definition in block 27 follows the use) Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-checki

[Bug target/89071] AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar float<->double and other scalar xmm,xmm instructions

2019-01-28 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89071 --- Comment #9 from Uroš Bizjak --- There was similar patch for sqrt [1], I think that the approach is straightforward, and could be applied to other reg->reg scalar insns as well, independently of PR87007 patch. [1] https://gcc.gnu.org/ml/gcc-p

<    1   2