[Bug c++/85965] New: G++ gives cryptic error instead of incomplete type

2018-05-28 Thread psmith at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85965 Bug ID: 85965 Summary: G++ gives cryptic error instead of incomplete type Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/85964] New: [8/9 Regression] Compile time hog w/ -O3 -ftracer -fno-guess-branch-probability

2018-05-28 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964 Bug ID: 85964 Summary: [8/9 Regression] Compile time hog w/ -O3 -ftracer -fno-guess-branch-probability Product: gcc Version: 8.1.0 Status: UNCONFIRMED

[Bug c++/82728] [8 regression] Incorrect -Wunused-but-set-variable warning with a const

2018-05-28 Thread mcortez at airpost dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82728 Michael Cortez changed: What|Removed |Added CC||mcortez at airpost dot net --- Comment

[Bug c++/85963] New: false positive "set but not used" warning [-Wunused-but-set-variable]

2018-05-28 Thread mcortez at airpost dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85963 Bug ID: 85963 Summary: false positive "set but not used" warning [-Wunused-but-set-variable] Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal

[Bug c/85962] spurious warning on right shift constant > integer in trivially dead code

2018-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85962 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/4210] should not warning with dead code

2018-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210 Andrew Pinski changed: What|Removed |Added CC||joshudson at gmail dot com --- Comment

[Bug c/85962] spurious warning on right shift constant > integer in trivially dead code

2018-05-28 Thread joshudson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85962 --- Comment #1 from Joshua --- (first three lines is because you don't want bug reports with external header files--3 lines is a lot better than all of stdint.h and limits.h)

[Bug c/85962] New: spurious warning on right shift constant > integer in trivially dead code

2018-05-28 Thread joshudson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85962 Bug ID: 85962 Summary: spurious warning on right shift constant > integer in trivially dead code Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity:

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2018-05-28 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 --- Comment #6 from Vincent Lefèvre --- (In reply to Andrew Pinski from comment #5) > Try -std=c99 or -fexcess-precision=standard which will get you the behavior > you want. This is not what is documented: "By default, -fexcess-precision=fast

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2018-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/323] optimized code gives strange floating point results

2018-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 --- Comment #206 from Andrew Pinski --- *** Bug 85957 has been marked as a duplicate of this bug. ***

[Bug fortran/85840] Memory leak in write.c

2018-05-28 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85840 --- Comment #14 from Jerry DeLisle --- Author: jvdelisle Date: Mon May 28 21:55:31 2018 New Revision: 260851 URL: https://gcc.gnu.org/viewcvs?rev=260851=gcc=rev Log: 2018-05-28 Jerry DeLisle PR libgfortran/85840 * io/write.c

[Bug translation/85960] New: -fipa-pta and ifunc are incompatible

2018-05-28 Thread gianni at scaramanga dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85960 Bug ID: 85960 Summary: -fipa-pta and ifunc are incompatible Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/79393] [7/8/9 Regression] cc1plus rejects valid code with noexcept

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79393 --- Comment #10 from Paolo Carlini --- Should this show up as a P1?

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2018-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 --- Comment #5 from Andrew Pinski --- Try -std=c99 or -fexcess-precision=standard which will get you the behavior you want.

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2018-05-28 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net ---

[Bug c++/85961] New: scratch register rsi used after function call

2018-05-28 Thread bki at hacon dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85961 Bug ID: 85961 Summary: scratch register rsi used after function call Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/82721] [7/8/9 Regression] Error message with corrupted text, sometimes ICE

2018-05-28 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82721 --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #3) > (In reply to G. Steinmetz from comment #0) > > This snippet (clearly invalid) gives a second error message > > with randomly corrupted text : > > > > > > $

[Bug c++/85959] New: g++ doesn't show second error

2018-05-28 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85959 Bug ID: 85959 Summary: g++ doesn't show second error Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/85958] New: Make const qualifier error clear

2018-05-28 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85958 Bug ID: 85958 Summary: Make const qualifier error clear Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2018-05-28 Thread lukeshu at lukeshu dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 Luke Shumaker changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug target/85950] Unsafe-math-optimizations regresses optimization using SSE4.1 roundss

2018-05-28 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/85956] [9 Regression] ICE in wide_int_to_tree_1, at tree.c:1549

2018-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85956 Andrew Pinski changed: What|Removed |Added Keywords||openmp Component|c

[Bug middle-end/323] optimized code gives strange floating point results

2018-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Andrew Pinski changed: What|Removed |Added CC||lukeshu at lukeshu dot com --- Comment

[Bug c/85957] i686: Integers appear to be different, but compare as equal

2018-05-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/58993] incorrectly accept access of protected member method from derived class template

2018-05-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58993 Jonathan Wakely changed: What|Removed |Added CC||achuah at drwsg dot com --- Comment

[Bug c++/85943] Template function permits derived class access to private base class static variable

2018-05-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85943 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/85951] make_signed and make_unsigned are incorrect for wchar_t, char16_t, and char32_t

2018-05-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85951 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/85957] New: i686: Integers appear to be different, but compare as equal

2018-05-28 Thread lukeshu at lukeshu dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85957 Bug ID: 85957 Summary: i686: Integers appear to be different, but compare as equal Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/85942] ICE with PDTs

2018-05-28 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85942 --- Comment #3 from Jürgen Reuter --- Paul, from my side absolutely no urgency. Just stumbled over this example on c.l.f. and wanted to play a bit.

[Bug c++/85952] Bogus -Wunused-but-set-variable warning with array structured binding

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

[Bug c/85956] New: [9 Regression] ICE in wide_int_to_tree_1, at tree.c:1549

2018-05-28 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85956 Bug ID: 85956 Summary: [9 Regression] ICE in wide_int_to_tree_1, at tree.c:1549 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/85954] New: [8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:266

2018-05-28 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85954 Bug ID: 85954 Summary: [8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:266 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c/85955] New: ICE in fold_convert_loc, at fold-const.c:2408

2018-05-28 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85955 Bug ID: 85955 Summary: ICE in fold_convert_loc, at fold-const.c:2408 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/85953] New: [6/7/8/9 Regression] ICE in fold_convert_loc, at fold-const.c:2370

2018-05-28 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85953 Bug ID: 85953 Summary: [6/7/8/9 Regression] ICE in fold_convert_loc, at fold-const.c:2370 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/85953] [6/7/8/9 Regression] ICE in fold_convert_loc, at fold-const.c:2370

2018-05-28 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85953 --- Comment #1 from G. Steinmetz --- Just for completeness, this variant works : $ cat z2.f90 program p character(:), allocatable :: x(:) x = [character :: 'a', 'b'] x = [character :: x, 'c'] print *, x end $ gfortran-9-20180527

[Bug fortran/85954] [8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:266

2018-05-28 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85954 --- Comment #1 from G. Steinmetz --- Assigned directly : $ cat z2.f90 program p character(:), allocatable :: z(:) call s(z) contains subroutine s(x) character(:), allocatable :: x(:) x = ['abc'] print *,

[Bug c++/85952] New: Bogus -Wunused-but-set-variable warning with array structured binding

2018-05-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85952 Bug ID: 85952 Summary: Bogus -Wunused-but-set-variable warning with array structured binding Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/85944] Address of member variable of temporary not considered constexpr at global scope

2018-05-28 Thread david at doublewise dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 --- Comment #2 from David Stone --- I have simplified the bug. It does not require a member variable to trigger the bug, just taking the address of a a temporary bound to a reference function parameter at global scope: constexpr bool f(int

[Bug fortran/63570] [F2015] Implement 13.7.137 RANDOM INIT (REPEATABLE, IMAGE DISTINCT)

2018-05-28 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63570 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug target/85945] [6/7/8/9 Regression] ICE in resolve_subreg_use, at lower-subreg.c:751

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

[Bug c/69558] [6/7/8/9 Regression] glib2 warning pragmas stopped working

2018-05-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69558 --- Comment #23 from Eric Gallager --- (In reply to David Malcolm from comment #22) > Assigning this to me in the hope that I'll get to it in gcc 9 stage 1. It's gcc 9 stage 1 now.

[Bug target/85939] -mstackrealign does not realign stack with local __m64 variable

2018-05-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85939 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85939] -mstackrealign does not realign stack with local __m64 variable

2018-05-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85939 --- Comment #8 from H.J. Lu --- Created attachment 44197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44197=edit A patch

[Bug objc/50909] Process "#pragma options align=reset" correctly on Mac OS X

2018-05-28 Thread rudolf.chrispens at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50909 --- Comment #14 from Rudolf --- Even if the compiler would just use the workaround with pragma-pack() when he encounters this specific pragma would be fine. (If there is a warning for that!) Some Infomrations:

[Bug tree-optimization/85929] _GLIBCXX_ASSERTIONS, subscript type mismatch, and std::vector bounds check elimination

2018-05-28 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85929 --- Comment #4 from Marc Glisse --- (In reply to Richard Biener from comment #2) > So somehow we need to enhance the code in VRP that registers additional > asserts to also handle symbolic ranges and thus register not only > i_4 < count_8 but

[Bug fortran/85942] ICE with PDTs

2018-05-28 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85942 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug libstdc++/85951] New: make_signed and make_unsigned are incorrect for wchar_t, char16_t, and char32_t

2018-05-28 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85951 Bug ID: 85951 Summary: make_signed and make_unsigned are incorrect for wchar_t, char16_t, and char32_t Product: gcc Version: 9.0 Status: UNCONFIRMED Severity:

[Bug libfortran/85906] Conditional jump depends on uninitialized value in write_decimal / write_integer

2018-05-28 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85906 --- Comment #9 from Jerry DeLisle --- (In reply to Jan Niklas Hasse from comment #8) > Thanks! If I understand it correctly this will go into 8.1.2? Per usual sequence, the next release of the 8 branch will be 8.2. However, some linux

[Bug sanitizer/60892] GCC (libsanitizer) fails to build with Linux 2.6.21 headers.

2018-05-28 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60892 John Simon changed: What|Removed |Added CC||gcc at mailinator dot com --- Comment #3

[Bug target/85945] [6/7/8/9 Regression] ICE in resolve_subreg_use, at lower-subreg.c:751

2018-05-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85945 --- Comment #3 from Jakub Jelinek --- I think the problem is that validate_subreg etc. has a restriction like: /* Subregs involving floating point modes are not allowed to change size. Therefore (subreg:DI (reg:DF) 0) is fine, but

[Bug rtl-optimization/85950] Unsafe-math-optimizations regresses optimization using SSE4.1 roundss

2018-05-28 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #2 from Allan Jensen --- Created attachment 44196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44196=edit Example To trigger need both a rounding conversion and a conversion to integer.

[Bug rtl-optimization/85950] Unsafe-math-optimizations regresses optimization using SSE4.1 roundss

2018-05-28 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 --- Comment #1 from Allan Jensen --- Sorry forget the example above. I will attached the real code that triggers it. Note it does not trigger with -fno-signed-zeros, -fno-trapping-math, -fassociative-math and -freciprocal-math, so it is

[Bug rtl-optimization/85950] New: Unsafe-math-optimizations regresses optimization using SSE4.1 roundss

2018-05-28 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950 Bug ID: 85950 Summary: Unsafe-math-optimizations regresses optimization using SSE4.1 roundss Product: gcc Version: 8.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/85345] Missing ENDBR in IFUNC resolver

2018-05-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85345 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/81652] [meta-bug] -fcf-protection=full bugs

2018-05-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85345, which changed state. Bug 85345 Summary: Missing ENDBR in IFUNC resolver https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85345 What|Removed |Added

[Bug target/85345] Missing ENDBR in IFUNC resolver

2018-05-28 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85345 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon May 28 13:44:18 2018 New Revision: 260849 URL: https://gcc.gnu.org/viewcvs?rev=260849=gcc=rev Log: Don't mark IFUNC resolver as only called directly Since IFUNC resolver is

[Bug target/85900] [9 Regression] ICEs after revision r260547 on darwin.

2018-05-28 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85900 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon May 28 13:44:18 2018 New Revision: 260849 URL: https://gcc.gnu.org/viewcvs?rev=260849=gcc=rev Log: Don't mark IFUNC resolver as only called directly Since IFUNC resolver is

[Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use

2018-05-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759 --- Comment #17 from Martin Liška --- (In reply to Stefan Talpalaru from comment #16) > I found a new case that is unrelated to the use of > -fprofile-generate=directory or the existence of multiple *.gcda files with > the same name in different

[Bug lto/85759] ICE output_profile_summary, at lto-cgraph.c:706 using -profile-use

2018-05-28 Thread stefantalpalaru at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85759 Stefan Talpalaru changed: What|Removed |Added CC||stefantalpalaru at yahoo dot com

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 --- Comment #12 from Paolo Carlini --- Not sure about the first decl_needed_p call in emit_tinfo_decl.

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 --- Comment #11 from Paolo Carlini --- I meant of course DECL_NOT_REALLY_EXTERN is true.

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 Paolo Carlini changed: What|Removed |Added Assignee|paolo.carlini at oracle dot com|hubicka at ucw dot cz ---

[Bug target/85945] [6/7/8/9 Regression] ICE in resolve_subreg_use, at lower-subreg.c:751

2018-05-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85945 --- Comment #2 from Martin Liška --- Is missing :) Here it is: typedef float b; typedef b __attribute__((vector_size(16))) c; typedef union { c d; b a[4]; } e; int f; b g[4]; void h() { c d; e i; i.d = d; f = 0; for (; f < 4;

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 --- Comment #9 from Jan Hubicka --- The code is intended to avoid specializations that are done only to possibly inline the function. When not optimizing this only happens for always inlines and doing so is just waste of effort. In this case

[Bug target/85945] [6/7/8/9 Regression] ICE in resolve_subreg_use, at lower-subreg.c:751

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

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 --- Comment #8 from Paolo Carlini --- It seems that for the potentially interesting cases DECL_EXTERNAL is true but DECL_REALLY_EXTERN is false.

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 --- Comment #7 from Paolo Carlini --- I see. Then I guess we need an explicit rationale for doing that, beyond the evidence that we aren't ICEing: the check first blush looks sensible. At least that was the case back in 2014, when Jason quickly

[Bug c/85949] New: __attribute__ ((format (printf,1,1))); improve error messages

2018-05-28 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85949 Bug ID: 85949 Summary: __attribute__ ((format (printf,1,1))); improve error messages Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

[Bug c/85948] New: printf format attribute warning line carat inaccurate

2018-05-28 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85948 Bug ID: 85948 Summary: printf format attribute warning line carat inaccurate Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 --- Comment #6 from Eric Botcazou --- Yes, I would just remove the entire block.

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com ---

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 Paolo Carlini changed: What|Removed |Added CC||hubicka at ucw dot cz --- Comment #4

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 --- Comment #3 from Eric Botcazou --- > Looking into it: just matter of using DECL_ATTRIBUTES (decl)? The code is unreachable since the compiler would stop if it was reached.

[Bug target/85946] [9 regression] gcc.target/i386/avx512vl-vcvtudq2ps-2.c FAILs

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85946 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/85933] [9 Regression] FAIL: gcc.dg/sso/p8.c -O3 -finline-functions (internal compiler error)

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85933 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/85933] [9 Regression] FAIL: gcc.dg/sso/p8.c -O3 -finline-functions (internal compiler error)

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85933 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon May 28 10:31:46 2018 New Revision: 260848 URL: https://gcc.gnu.org/viewcvs?rev=260848=gcc=rev Log: 2018-05-28 Richard Biener PR

[Bug tree-optimization/85934] [8/9 Regression] ICE: verify_gimple failed (error: type mismatch in vector pack expression)

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85934 --- Comment #3 from Richard Biener --- Author: rguenth Date: Mon May 28 10:28:38 2018 New Revision: 260847 URL: https://gcc.gnu.org/viewcvs?rev=260847=gcc=rev Log: 2018-05-28 Richard Biener PR

[Bug tree-optimization/85934] [8 Regression] ICE: verify_gimple failed (error: type mismatch in vector pack expression)

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85934 Richard Biener changed: What|Removed |Added Known to work||9.0 Summary|[8/9

[Bug target/85946] [9 regression] gcc.target/i386/avx512vl-vcvtudq2ps-2.c FAILs

2018-05-28 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85946 --- Comment #1 from Uroš Bizjak --- There is nothing wrong with the insn mnemonic, it converts SImode value from memory to SFmode float register. This insn is different from vcvtusi2ssq.

[Bug libfortran/85906] Conditional jump depends on uninitialized value in write_decimal / write_integer

2018-05-28 Thread jhasse at bixense dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85906 --- Comment #8 from Jan Niklas Hasse --- Thanks! If I understand it correctly this will go into 8.1.2?

[Bug c++/85535] bogus code in decl2.c:decl_needed_p

2018-05-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Paolo

[Bug tree-optimization/85947] gcc.dg/vect/bb-slp-div-1.c XPASSes

2018-05-28 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85947 Rainer Orth changed: What|Removed |Added Target Milestone|--- |9.0

[Bug tree-optimization/85947] New: gcc.dg/vect/bb-slp-div-1.c XPASSes

2018-05-28 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85947 Bug ID: 85947 Summary: gcc.dg/vect/bb-slp-div-1.c XPASSes Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/85946] New: [9 regression] gcc.target/i386/avx512vl-vcvtudq2ps-2.c FAILs

2018-05-28 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85946 Bug ID: 85946 Summary: [9 regression] gcc.target/i386/avx512vl-vcvtudq2ps-2.c FAILs Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/85946] [9 regression] gcc.target/i386/avx512vl-vcvtudq2ps-2.c FAILs

2018-05-28 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85946 Rainer Orth changed: What|Removed |Added Target Milestone|--- |9.0

[Bug tree-optimization/85929] _GLIBCXX_ASSERTIONS, subscript type mismatch, and std::vector bounds check elimination

2018-05-28 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85929 --- Comment #3 from Florian Weimer --- (In reply to Richard Biener from comment #2) > That is, > for > UINT_MAX # of elements the code will infintely loop AFAICS (but it will > not access elements out of bounds). The way I read the original

[Bug sanitizer/85924] [6 Regression] ASAN: segfault in __interceptor_clock_gettime ( because 'asan_linux.o' for libasan.a built with -DPIC )

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85924 Richard Biener changed: What|Removed |Added Keywords||build Known to work|

[Bug c/85923] invalid code generation when incrementing pointer referenced by pointer

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85923 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85945] [6/7/8/9 Regression] ICE in resolve_subreg_use, at lower-subreg.c:751

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85945 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Version|unknown

[Bug c++/85944] Address of member variable of temporary not considered constexpr at global scope

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 Richard Biener changed: What|Removed |Added Keywords||rejects-valid

[Bug fortran/85942] ICE with PDTs

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85942 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85940] Address of label breaks ISO C++ program despite non-GNU dialect and pedantic

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85940 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/85929] _GLIBCXX_ASSERTIONS, subscript type mismatch, and std::vector bounds check elimination

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85929 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85935] [8/9 Regression] [graphite] ICE in extract_affine, at graphite-sese-to-poly.c:287

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85935 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/85933] [9 Regression] FAIL: gcc.dg/sso/p8.c -O3 -finline-functions (internal compiler error)

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85933 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug bootstrap/85922] bootstrapping fails with -O3 because gcc 8.1.0 generates unknown instruction pshufb

2018-05-28 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85922 --- Comment #4 from John Simon --- > No, it uses a correct instruction, but you have too old assembler that can't > handle it. I think in this case the "correct" thing to do would be a check of assembler during configure and either: 1) only

[Bug tree-optimization/85934] [8/9 Regression] ICE: verify_gimple failed (error: type mismatch in vector pack expression)

2018-05-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85934 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|NEW

[Bug tree-optimization/85934] [8/9 Regression] ICE: verify_gimple failed (error: type mismatch in vector pack expression)

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

[Bug target/85945] New: [6/7/8/9 Regression] ICE in resolve_subreg_use, at lower-subreg.c:751

2018-05-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85945 Bug ID: 85945 Summary: [6/7/8/9 Regression] ICE in resolve_subreg_use, at lower-subreg.c:751 Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

  1   2   >