[Bug fortran/87438] New: ICE building gfortran for MicroBlaze target

2018-09-25 Thread me at zv dot io
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87438 Bug ID: 87438 Summary: ICE building gfortran for MicroBlaze target Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortr

[Bug tree-optimization/71625] missing strlen optimization on different array initialization style

2018-09-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 --- Comment #22 from Martin Sebor --- The failures were discussed here: https://gcc.gnu.org/ml/gcc-patches/2018-08/msg00863.html I'm afraid I'm not at all familiar with the details of these tests or even sufficiently versed in aarch64 assembl

[Bug c++/87437] g++ ICE Segfault initializing implicitly sized array in template with enum index

2018-09-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87437 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/87437] New: g++ ICE Segfault initializing implicitly sized array in template with enum index

2018-09-25 Thread james at albanarts dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87437 Bug ID: 87437 Summary: g++ ICE Segfault initializing implicitly sized array in template with enum index Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity

[Bug tree-optimization/71625] missing strlen optimization on different array initialization style

2018-09-25 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71625 Steve Ellcey changed: What|Removed |Added CC||sje at gcc dot gnu.org --- Comment #21 fr

[Bug c/87387] trunk/gcc/builtins.c:585:7: warning: -Wself-assign problem

2018-09-25 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Tue Sep 25 22:17:45 2018 New Revision: 264585 URL: https://gcc.gnu.org/viewcvs?rev=264585&root=gcc&view=rev Log: PR c/87387 * builtins.c (unterminated_array): Simplify.

[Bug c/87387] trunk/gcc/builtins.c:585:7: warning: -Wself-assign problem

2018-09-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/86987] ICE in simplify_binary_operation_1, at simplify-rtx.c:3515 on ppc64le

2018-09-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86987 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/87364] Pretty print of enumerator never prints the id, always falls back to C-style cast output

2018-09-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87364 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug target/86987] ICE in simplify_binary_operation_1, at simplify-rtx.c:3515 on ppc64le

2018-09-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86987 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Tue Sep 25 22:09:38 2018 New Revision: 264584 URL: https://gcc.gnu.org/viewcvs?rev=264584&root=gcc&view=rev Log: rs6000: Do not allow out of range immediate in vsplt[bhw] (PR86987)

[Bug c/87392] UBSAN behavior on left-shifting 1 into the sign bit is dependent on C standard

2018-09-25 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87392 --- Comment #7 from joseph at codesourcery dot com --- The implementation-definedness of signed left shift in C90, including shifting into or past the sign bit (as long as the shift count isn't too large or negative), is stated explicitly in th

[Bug c/87390] [x86 32bit only] GCC does not honor FLT_EVAL_METHOD on implicit conversion of integer to floating point

2018-09-25 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87390 --- Comment #3 from joseph at codesourcery dot com --- I believe this is correct for C99 (see the discussions in bug 82071): my reading of C99 is that conversions of integers to floating point, both explicit and implicit, produce results that c

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-25 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #18 from mrs at gcc dot gnu.org --- So, didn't you just say that it works on darwin8 and later and is broken on darwin7? If so, then darwin8.h needs the #define (since it is the first version where ar has been fixed). ?

[Bug testsuite/87433] [9 Regression] gcc.dg/zero_bits_compound-1.c and gcc.target/aarch64/ashltidisi.c tests fail after combine two to two instruction patch on aarch64

2018-09-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87433 --- Comment #4 from Segher Boessenkool --- I agree with all of that.

[Bug testsuite/87433] [9 Regression] gcc.dg/zero_bits_compound-1.c and gcc.target/aarch64/ashltidisi.c tests fail after combine two to two instruction patch on aarch64

2018-09-25 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87433 --- Comment #3 from Steve Ellcey --- Based on that email string, gcc.target/aarch64/ashltidisi.c can be fixed by looking for 3 asr instructions instead of 4. That seems simple enough. The new code has two fewer instructions that the old code:

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #17 from Iain Sandoe --- (In reply to Iain Sandoe from comment #16) > (In reply to Iain Sandoe from comment #15) > > > Will try on a ppc-darwin8 system at some point. > > external weak definitions appear in archive __SYMTABS for cct

[Bug target/87391] [RISCV] -march=rv32i -mabi=ilp32e is erroneously accepted

2018-09-25 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87391 --- Comment #5 from Jim Wilson --- The proposed psABI change is now https://github.com/riscv/riscv-elf-psabi-doc/issues/79

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #16 from Iain Sandoe --- (In reply to Iain Sandoe from comment #15) > Will try on a ppc-darwin8 system at some point. external weak definitions appear in archive __SYMTABS for cctools 622 on powerpc-darwin8.11 (maybe some chance to

[Bug fortran/86119] [8/9 Regression] Intrinsic len has wrong type if used within select type for a class(*) string

2018-09-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86119 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic CC|

[Bug tree-optimization/61247] vectorization fails for unsigned is used for IV but casted to int before using as the index (and then casted for internal type)

2018-09-25 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61247 --- Comment #4 from Steve Ellcey --- Here is a simpler C version of the problem. On aarch64 in LP64 mode setting TYPE to int, long int, or unsigned long int allows for vectorization but using unsigned int does not get vectorized. In ILP32 mode,

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-09-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 --- Comment #6 from Antony Polukhin --- (In reply to Jonathan Wakely from comment #5) > I'm going to mark this as fixed, I'm uncomfortable doing a smarter fix that > would be more fragile. +1. I'll keep searching for a less fragile solution.

[Bug c++/85557] Incorrect calculation of function arguments with C++17 sequencing rules

2018-09-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85557 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/78734] [C++17] P0145R3: function arguments are indeterminately sequenced

2018-09-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78734 Jason Merrill changed: What|Removed |Added CC||ixsci at yandex dot ru --- Comment #3 fr

[Bug testsuite/87339] [9 Regression] gcc.dg/warn-abs-1.c FAILs

2018-09-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87339 Martin Jambor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/80868] "Duplicate const" warning emitted in `const typeof(foo) bar;`

2018-09-25 Thread george.burgess.iv at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80868 George Burgess IV changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/87436] G++ produces >300MB .rodata section to initialize struct with big array

2018-09-25 Thread metalcaedes at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87436 Daniel Gibson changed: What|Removed |Added CC||metalcaedes at gmail dot com --- Comment

[Bug c++/87436] New: G++ produces >300MB .rodata section to initialize struct with big array

2018-09-25 Thread metalcaedes at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87436 Bug ID: 87436 Summary: G++ produces >300MB .rodata section to initialize struct with big array Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal

[Bug c++/87425] [9 Regression] ICE with virtual assignment operator

2018-09-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87425 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/87435] "Duplicate const" warning NOT emitted from typedef in -std=c90

2018-09-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87435 --- Comment #1 from Andrew Pinski --- >(non pedantic, non GNU) Yes you need to use -pedantic-errors to get fully complaint compiler errors. I think this was always designed that way.

[Bug c++/87425] [9 Regression] ICE with virtual assignment operator

2018-09-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87425 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Tue Sep 25 18:02:47 2018 New Revision: 264581 URL: https://gcc.gnu.org/viewcvs?rev=264581&root=gcc&view=rev Log: PR c++/87425 * g++.dg/cpp2a/constexpr-virtual12.C: New

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/80868] "Duplicate const" warning emitted in `const typeof(foo) bar;`

2018-09-25 Thread ndesaulniers at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80868 --- Comment #7 from Nick Desaulniers --- Forked: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87435

[Bug c/87435] New: "Duplicate const" warning NOT emitted from typedef in -std=c90

2018-09-25 Thread ndesaulniers at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87435 Bug ID: 87435 Summary: "Duplicate const" warning NOT emitted from typedef in -std=c90 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/87433] [9 Regression] gcc.dg/zero_bits_compound-1.c and gcc.target/aarch64/ashltidisi.c tests fail after combine two to two instruction patch on aarch64

2018-09-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87433 Andrew Pinski changed: What|Removed |Added Version|unknown |9.0 Target Milestone|---

[Bug testsuite/87433] gcc.dg/zero_bits_compound-1.c and gcc.target/aarch64/ashltidisi.c regressions on aarch64

2018-09-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87433 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW Component|middle-end

[Bug fortran/70752] Incorrect LEN for ALLOCATABLE CHARACTER

2018-09-25 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70752 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Assigne

[Bug fortran/70149] [F08] Character pointer initialization causes ICE

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

[Bug middle-end/87433] gcc.dg/zero_bits_compound-1.c and gcc.target/aarch64/ashltidisi.c regressions on aarch64

2018-09-25 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87433 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/87398] [9 Regression] g++ ICE on valid code: tree check: expected record_type or union_type or qual_union_type, have array_type in cxx_eval_constant_expression, at cp/constexpr.c:4820

2018-09-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87398 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/87434] New: LTO corrupts code

2018-09-25 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87434 Bug ID: 87434 Summary: LTO corrupts code Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigne

[Bug c++/87398] [9 Regression] g++ ICE on valid code: tree check: expected record_type or union_type or qual_union_type, have array_type in cxx_eval_constant_expression, at cp/constexpr.c:4820

2018-09-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87398 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Tue Sep 25 16:40:57 2018 New Revision: 264580 URL: https://gcc.gnu.org/viewcvs?rev=264580&root=gcc&view=rev Log: PR c++/87398 * constexpr.c (cxx_eval_constant_expression)

[Bug fortran/70149] [F08] Character pointer initialization causes ICE

2018-09-25 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #6 fr

[Bug testsuite/87339] [9 Regression] gcc.dg/warn-abs-1.c FAILs

2018-09-25 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87339 --- Comment #7 from Martin Jambor --- Author: jamborm Date: Tue Sep 25 16:28:40 2018 New Revision: 264579 URL: https://gcc.gnu.org/viewcvs?rev=264579&root=gcc&view=rev Log: [PR 87339] Fix failure of gcc.dg/warn-abs-1.c on some targets 2018-09-2

[Bug c++/84940] [7/8/9 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:465

2018-09-25 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84940 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/87433] New: gcc.dg/zero_bits_compound-1.c and gcc.target/aarch64/ashltidisi.c regressions on aarch64

2018-09-25 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87433 Bug ID: 87433 Summary: gcc.dg/zero_bits_compound-1.c and gcc.target/aarch64/ashltidisi.c regressions on aarch64 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug target/86592] [9 regression] gcc.target/powerpc/p8-vec-xl-xst-v2.c fails starting with r261510

2018-09-25 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86592 --- Comment #2 from Will Schmidt --- This was fixed via r264538 r264538 | willschm | 2018-09-24 10:47:22 -0500 (Mon, 24 Sep 2018) | 8 lines [testsuite] 2018-09-24 Will Schmidt PR testsuite/86952 * gcc.target/powerpc/p8-vec-

[Bug c++/81246] ICE on invalid C++ code (with a non-type template parameter having type 'float'): Segmentation fault

2018-09-25 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81246 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/81246] ICE on invalid C++ code (with a non-type template parameter having type 'float'): Segmentation fault

2018-09-25 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81246 --- Comment #2 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Sep 25 16:05:48 2018 New Revision: 264577 URL: https://gcc.gnu.org/viewcvs?rev=264577&root=gcc&view=rev Log: 2018-09-25 Paolo Carlini PR c++/81246 * g++

[Bug sanitizer/81715] asan-stack=1 redzone allocation is too inflexible

2018-09-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 --- Comment #33 from Martin Liška --- (In reply to Arnd Bergmann from comment #32) > (In reply to Martin Liška from comment #31) > > (In reply to Arnd Bergmann from comment #30) > > > (In reply to Martin Liška from comment #29) > > > > Which is v

[Bug target/87374] [8/9 Regression] ICE in extract_insn, at recog.c:2305

2018-09-25 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87374 --- Comment #4 from Thomas Preud'homme --- My approach was wrong, fundamentally -mslow-flash-data and -mword-relocations cannot both be in effect since there is then no way to load an address: - -mslow-flash-data forbids literal pools - -mword-re

[Bug c++/70435] section attribute of a function template is not honored.

2018-09-25 Thread kammce at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70435 Khalil changed: What|Removed |Added CC||kammce at google dot com --- Comment #5 from Kh

[Bug c++/86567] [8/9 Regression] -Wnonnull/-Wformat/-Wrestrict affect code generation

2018-09-25 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86567 --- Comment #4 from Alexander Monakov --- I think the problem is not exactly that maybe_constant_value keeps a lookup cache, but rather that invoking maybe_constant_value may cause allocation of uids. So it wouldn't be enough to simply avoid popu

[Bug fortran/87430] [7/8/9 Regression] ICE in fortran/trans-types.c:1157

2018-09-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87430 --- Comment #2 from janus at gcc dot gnu.org --- Slightly reduced/modified test case: subroutine lexical_preprocessing(elements) implicit none character(len=10), dimension(:) :: elements do i=2, size(elements) associate(el => elements

[Bug c++/87425] [9 Regression] ICE with virtual assignment operator

2018-09-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87425 --- Comment #3 from Marek Polacek --- Jakub's patch fixes this, too, so I'll just add the new test.

[Bug fortran/87430] [7/8/9 Regression] ICE in fortran/trans-types.c:1157

2018-09-25 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87430 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic,

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Tue Sep 25 14:59:16 2018 New Revision: 264574 URL: https://gcc.gnu.org/viewcvs?rev=264574&root=gcc&view=rev Log: PR libstdc++/87431 optimise valueless_by_exception() If a std::variant c

[Bug debug/83941] Debug info generated with -flto contains useless forwarders

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83941 --- Comment #8 from Richard Biener --- Author: rguenth Date: Tue Sep 25 14:51:39 2018 New Revision: 264573 URL: https://gcc.gnu.org/viewcvs?rev=264573&root=gcc&view=rev Log: 2018-09-25 Richard Biener PR debug/83941 * dwarf2ou

[Bug fortran/87359] [9 regression] pointer being freed was not allocated

2018-09-25 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359 --- Comment #42 from Paul Thomas --- Created attachment 44746 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44746&action=edit Patch for the PR Many thanks Juergen for the reduced test. This is now DEJA-GNUified (see below). The patch reg

[Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls())

2018-09-25 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84707 Nathan Sidwell changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug fortran/87359] [9 regression] pointer being freed was not allocated

2018-09-25 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359 --- Comment #41 from Paul Thomas --- (In reply to Jürgen Reuter from comment #40) > (In reply to Dominique d'Humieres from comment #39) > > The culprit for the second problem is r264358, exposed only once the > > original problem is fixed, i.e. w

[Bug target/82699] ENDBR isn't generated at function entrance (with -mfentry)

2018-09-25 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Sep 25 13:51:45 2018 New Revision: 264569 URL: https://gcc.gnu.org/viewcvs?rev=264569&root=gcc&view=rev Log: i386: Compile pr82699-5.c and pr82699-6.c with -fno-pic Compile pr

[Bug c++/87425] [9 Regression] ICE with virtual assignment operator

2018-09-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87425 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 --- Comment #3 from Jonathan Wakely --- That makes me a little uncomfortable. Currently you can use something like: struct X { #ifndef NDEBUG X(int) noexcept(false); #endif //... }; bool test(std::variant const& v) { return v.valueless_b

[Bug fortran/87359] [9 regression] pointer being freed was not allocated

2018-09-25 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359 --- Comment #40 from Jürgen Reuter --- (In reply to Dominique d'Humieres from comment #39) > The culprit for the second problem is r264358, exposed only once the > original problem is fixed, i.e. with the patch of r264485 (tested on both > reprod

[Bug fortran/87359] [9 regression] pointer being freed was not allocated

2018-09-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359 --- Comment #39 from Dominique d'Humieres --- The culprit for the second problem is r264358, exposed only once the original problem is fixed, i.e. with the patch of r264485 (tested on both reproducers). It would have been better to open a new PR

[Bug fortran/84674] [7/8/9 Regression] Derived type name change makes a program segfault, removing non_overridable helps

2018-09-25 Thread daraja at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84674 --- Comment #5 from Libavius --- (In reply to Libavius from comment #4) > There are two ways to get this program to work, which are both quite weird: > 1. remove "non_overridable" from line 14 in module1.f90 > old: procedure, pass, non_overridab

[Bug fortran/87359] [9 regression] pointer being freed was not allocated

2018-09-25 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359 --- Comment #38 from Jürgen Reuter --- Created attachment 44745 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44745&action=edit Small reproducer for the second problem And an 89 line small reproducer for the second problem.

[Bug fortran/87359] [9 regression] pointer being freed was not allocated

2018-09-25 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359 --- Comment #37 from Jürgen Reuter --- Paul, here is a simple reproducer of 89 lines, this should now make it relatively easy to debug, I am using gcc trunk revision r264501. Here is the code (I will also attach it), it contains also a workaround

[Bug fortran/84674] [7/8/9 Regression] Derived type name change makes a program segfault, removing non_overridable helps

2018-09-25 Thread daraja at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84674 Libavius changed: What|Removed |Added CC||daraja at web dot de --- Comment #4 from Liba

[Bug debug/87432] LTO produced debug info makes gdb slow

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87432 Richard Biener changed: What|Removed |Added Keywords||lto Status|UNCONFIRMED

[Bug debug/87432] New: LTO produced debug info makes gdb slow

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87432 Bug ID: 87432 Summary: LTO produced debug info makes gdb slow Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug

[Bug tree-optimization/87402] [9 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3645

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87402 --- Comment #4 from Richard Biener --- Author: rguenth Date: Tue Sep 25 12:51:57 2018 New Revision: 264566 URL: https://gcc.gnu.org/viewcvs?rev=264566&root=gcc&view=rev Log: 2018-09-25 Richard Biener PR tree-optimization/87402

[Bug tree-optimization/87402] [9 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3645

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

[Bug tree-optimization/87415] [9 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2018-09-25 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87415 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org --- Com

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-09-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 --- Comment #2 from Antony Polukhin --- New intrinsic could be added into the GCC... something like __builtin_all_constructors_nothrow(type)

[Bug testsuite/70150] Additonal test failures with --enable-default-pie

2018-09-25 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #23 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Sep 25 12:25:44 2018 New Revision: 264565 URL: https://gcc.gnu.org/viewcvs?rev=264565&root=gcc&view=rev Log: Check pie_enabled target in PIC tests We need to check pie_enable

[Bug middle-end/63155] [6/7/8 Regression] memory hog

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155 Richard Biener changed: What|Removed |Added Known to work||9.0 Summary|[6/7/8/9 Regress

[Bug sanitizer/81715] asan-stack=1 redzone allocation is too inflexible

2018-09-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 --- Comment #32 from Arnd Bergmann --- (In reply to Martin Liška from comment #31) > (In reply to Arnd Bergmann from comment #30) > > (In reply to Martin Liška from comment #29) > > > Which is very promising improvement I would say. > > > > Agre

[Bug target/87374] [8/9 Regression] ICE in extract_insn, at recog.c:2305

2018-09-25 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87374 Thomas Preud'homme changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Thomas

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 --- Comment #1 from Jonathan Wakely --- Can we do any better than this? --- a/libstdc++-v3/include/std/variant +++ b/libstdc++-v3/include/std/variant @@ -439,6 +439,8 @@ namespace __variant constexpr bool _M_valid() const noexcept

[Bug c++/87429] Strange overload resolution with decltype in template function

2018-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87429 --- Comment #1 from Jonathan Wakely --- Clang also compiles it, and prints "1". EDG rejects it as ambiguous: "a.cc", line 8: error: more than one instance of overloaded function "foo" matches the argument list: function te

[Bug libstdc++/87431] valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/81715] asan-stack=1 redzone allocation is too inflexible

2018-09-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 --- Comment #31 from Martin Liška --- (In reply to Arnd Bergmann from comment #30) > (In reply to Martin Liška from comment #29) > > I'm got a patch candidate for which I did testing of allmodconfig > > configuration. > > Sorting all violations a

[Bug libstdc++/87431] New: valueless_by_exception() should unconditionally return false if all the constructors are noexcept

2018-09-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431 Bug ID: 87431 Summary: valueless_by_exception() should unconditionally return false if all the constructors are noexcept Product: gcc Version: 9.0 Status: UNCONFIRMED

[Bug target/87374] [8/9 Regression] ICE in extract_insn, at recog.c:2305

2018-09-25 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87374 Thomas Preud'homme changed: What|Removed |Added Last reconfirmed|2018-09-21 00:00:00 |2018-9-25 Assignee|unassi

[Bug tree-optimization/87042] UBSAN: poly-int.h:1095:5: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int'

2018-09-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87042 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug tree-optimization/87402] [9 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3645

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87402 --- Comment #2 from Richard Biener --- Caused by the fix for PR87263 where I reverted some "fixes" (you might call them workarounds) for earlier -O[1g] issues. This is now a testcase for the SSA_VAL (backedge_val) != backedge_val case I reverted

[Bug sanitizer/81715] asan-stack=1 redzone allocation is too inflexible

2018-09-25 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 --- Comment #30 from Arnd Bergmann --- (In reply to Martin Liška from comment #29) > I'm got a patch candidate for which I did testing of allmodconfig > configuration. > Sorting all violations against 2KB of stack memory: > > Before: > TOTAL war

[Bug fortran/87430] New: ICE in fortran/trans-types.c:1157

2018-09-25 Thread pascal22p at parois dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87430 Bug ID: 87430 Summary: ICE in fortran/trans-types.c:1157 Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/87425] [9 Regression] ICE with virtual assignment operator

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87425 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug bootstrap/87417] [9 regression] Internal error: abort in attr_alt_intersection, at genattrtab.c:2357

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87417 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/81715] asan-stack=1 redzone allocation is too inflexible

2018-09-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 --- Comment #29 from Martin Liška --- I'm got a patch candidate for which I did testing of allmodconfig configuration. Sorting all violations against 2KB of stack memory: Before: TOTAL warnings: 185 drivers/net/wireless

[Bug debug/87428] "Missed" inline instances cause bogus DWARF to be emitted

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87428 Richard Biener changed: What|Removed |Added Keywords||wrong-debug Status|UNCONFIR

[Bug c/80868] "Duplicate const" warning emitted in `const typeof(foo) bar;`

2018-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80868 --- Comment #6 from Jonathan Wakely --- The observation in comment 5 probably warrants its own bug report. George, do you agree with closing this?

[Bug c/87392] UBSAN behavior on left-shifting 1 into the sign bit is dependent on C standard

2018-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87392 --- Comment #6 from Jonathan Wakely --- (In reply to Eugeniu Rosca from comment #5) > > In C90, it was implemented defined behavior (while in C99 and above it is > > undefined behavior). > > I trust you, but why not giving a reference to the so

[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails

2018-09-25 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81878 --- Comment #30 from Tamar Christina --- I've started a new bootstrap without my previous changes to get the log. I'll post the command once that finishes.

[Bug c++/87429] New: Strange overload resolution with decltype in template function

2018-09-25 Thread zamazan4ik at tut dot by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87429 Bug ID: 87429 Summary: Strange overload resolution with decltype in template function Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug debug/87428] New: "Missed" inline instances cause bogus DWARF to be emitted

2018-09-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87428 Bug ID: 87428 Summary: "Missed" inline instances cause bogus DWARF to be emitted Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-09-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #15 from Iain Sandoe --- (In reply to m...@gcc.gnu.org from comment #14) > You can test it if you can dump the ar symbol table, with a assembled .s > file. Nothing needs to work except the assembler and ar and the tool to > dump the

[Bug c++/84707] [8 Regression] internal compiler error: Segmentation fault (tree_check()/duplicate_decls())

2018-09-25 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84707 Vegard Nossum changed: What|Removed |Added CC||vegard.nossum at oracle dot com --- Comm

  1   2   >