[Bug target/85035] nios2: adding -fdelete-null-pointer-checks with -O2 enabled

2018-03-23 Thread rvdv at vandewiele dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85035 --- Comment #2 from rvdv at vandewiele dot com --- That would explain why different code is generated when it is removed. I assumed it was always on because the "-Q --help=optimizers" output showed it to be enabled. Does this mean the option is

[Bug sanitizer/85029] [8 Regression] -fsanitize=undefined internal compiler error: in maybe_optimize_ubsan_ptr_ifn, at sanopt.c:493

2018-03-23 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85029 --- Comment #2 from Vegard Nossum --- I have another test case which crashes in the same way and thus could be fixed by your patch (I have not tried), but it looks quite different to me: unsigned register a[] = {a - 1 && 1e9};

[Bug sanitizer/85029] [8 Regression] -fsanitize=undefined internal compiler error: in maybe_optimize_ubsan_ptr_ifn, at sanopt.c:493

2018-03-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85029 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/85045] New: ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482

2018-03-23 Thread rimvydas.jas at gmail dot com
: $ cat spacejunk.cpp typedef struct tt { unsigned short h; } tt; void mainScreen(float a) { tt numlrect = {int(100/a)}; } $ /opt/gcc/20180323/bin/g++ -c spacejunk.cpp -std=c++98 $ /opt/gcc/20180323/bin/g++ -c spacejunk.cpp g++: internal compiler error: Segmentation fault signal terminated

[Bug c++/85045] ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482

2018-03-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85045 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85045] [8 Regression] ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482

2018-03-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85045 Marek Polacek changed: What|Removed |Added Target Milestone|--- |8.0 Summary|ICE+SIGILL on val

[Bug c++/85045] [8 Regression] ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482

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

[Bug sanitizer/85029] [8 Regression] -fsanitize=undefined internal compiler error: in maybe_optimize_ubsan_ptr_ifn, at sanopt.c:493

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85029 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Mar 23 08:55:53 2018 New Revision: 258794 URL: https://gcc.gnu.org/viewcvs?rev=258794&root=gcc&view=rev Log: PR sanitizer/85029 * sanopt.c (maybe_optimize_ubsan_ptr_if

[Bug inline-asm/85022] [6/7/8 Regression] internal compiler error: in write_dependence_p, at alias.c:3003

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85022 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Mar 23 09:05:56 2018 New Revision: 258795 URL: https://gcc.gnu.org/viewcvs?rev=258795&root=gcc&view=rev Log: PR inline-asm/85022 * alias.c (write_dependence_p): Don't

[Bug c++/84705] [6/7/8 Regression] internal compiler error: in add_stmt, at cp/semantics.c:390

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

[Bug inline-asm/85034] [6/7/8 Regression] -O1 internal compiler error: in elimination_costs_in_insn, at reload1.c:3633

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85034 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Mar 23 09:10:02 2018 New Revision: 258796 URL: https://gcc.gnu.org/viewcvs?rev=258796&root=gcc&view=rev Log: PR inline-asm/85034 * function.c (match_asm_constraints_1)

[Bug sanitizer/85029] [8 Regression] -fsanitize=undefined internal compiler error: in maybe_optimize_ubsan_ptr_ifn, at sanopt.c:493

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

[Bug inline-asm/85034] [6/7 Regression] -O1 internal compiler error: in elimination_costs_in_insn, at reload1.c:3633

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85034 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] -O1 |[6/7 Regression] -O1 |

[Bug inline-asm/85022] [6/7 Regression] internal compiler error: in write_dependence_p, at alias.c:3003

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85022 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] internal |[6/7 Regression] internal

[Bug tree-optimization/63734] [5.0 regression] FAIL: gcc.dg/torture/vshuf-v8qi.c -O2 (internal compiler error)

2018-03-23 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63734 Andreas Schwab changed: What|Removed |Added Resolution|INVALID |WONTFIX

[Bug c++/85046] New: cp/name-lookup.c:6175:53: runtime error: member access within null pointer of type 'struct cp_binding_level'

2018-03-23 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85046 Bug ID: 85046 Summary: cp/name-lookup.c:6175:53: runtime error: member access within null pointer of type 'struct cp_binding_level' Product: gcc Version: 8.0.1 Status: UN

[Bug c/80778] [7/8 Regression] gcc.dg/auto-type-1.c ICEs with -flto

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80778 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Mar 23 10:45:36 2018 New Revision: 258797 URL: https://gcc.gnu.org/viewcvs?rev=258797&root=gcc&view=rev Log: PR c/80778 * gcc.dg/lto/pr80778_0.c: New test. Added:

[Bug c/80778] [7 Regression] gcc.dg/auto-type-1.c ICEs with -flto

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80778 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Summ

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures

2018-03-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922 --- Comment #15 from Dominique d'Humieres --- When compiling the following variant module copy use, intrinsic :: iso_fortran_env, only : int8 interface module subroutine copy_byte_data( data, copy ) ! Chase's copier

[Bug ada/85047] New: cdd2a01 (and others) FAIL with -flto

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85047 Bug ID: 85047 Summary: cdd2a01 (and others) FAIL with -flto Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: lto Severity: normal Priority: P3

[Bug c++/71965] [6/7/8/9 Regression] [concepts] Substitution error *after* failure to satisfy an earlier constraint

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71965 Jakub Jelinek changed: What|Removed |Added Target Milestone|6.5 |9.0 Summary|[6/7/8 regression

[Bug rtl-optimization/77499] [7/8/9 Regression] Regression after code-hoisting, due to combine pass failing to evaluate known value range

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77499 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milest

[Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84550 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/85020] [8 Regression] gcc fails to bootstrap with profiledbootstrap and --with-build-config=bootstrap-lto

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85020 --- Comment #8 from Richard Biener --- Author: rguenth Date: Fri Mar 23 11:19:49 2018 New Revision: 258798 URL: https://gcc.gnu.org/viewcvs?rev=258798&root=gcc&view=rev Log: 2018-03-23 Richard Biener PR debug/85020 * dwarf2ou

[Bug bootstrap/85020] [8 Regression] gcc fails to bootstrap with profiledbootstrap and --with-build-config=bootstrap-lto

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

[Bug ada/85036] --disable-bootstrap --enable-languages=ada[,c++] fails

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85036 --- Comment #7 from Richard Biener --- (In reply to Eric Botcazou from comment #6) > Created attachment 43736 [details] > Tentative fix > > Richard, please give it a try, as specialist of weird build setups. ;-) Seems to fix my problems!

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #22 from Jonathan Wakely --- No, it worked around it by implementing char_traits a different way. We also use these functions in , e.g. std::equal uses __builtin_memcmp, and that needs to be constexpr too. We could keep using Pedro'

[Bug bootstrap/85020] [8 Regression] gcc fails to bootstrap with profiledbootstrap and --with-build-config=bootstrap-lto

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85020 --- Comment #9 from Richard Biener --- Author: rguenth Date: Fri Mar 23 11:23:54 2018 New Revision: 258799 URL: https://gcc.gnu.org/viewcvs?rev=258799&root=gcc&view=rev Log: 2018-03-23 Eric Botcazou PR debug/85020 * gnat.dg/l

[Bug target/85048] New: [missed optimization] vector conversions

2018-03-23 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85048 Bug ID: 85048 Summary: [missed optimization] vector conversions Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/85045] [8 Regression] ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85045 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/85049] New: Internal compiler error with __integer_pack

2018-03-23 Thread abigail.buccaneer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85049 Bug ID: 85049 Summary: Internal compiler error with __integer_pack Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/85048] [missed optimization] vector conversions

2018-03-23 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85048 --- Comment #1 from Matthias Kretz --- Godbolt link: https://godbolt.org/#z:OYLghAFBqd5QCxAYwPYBMCmBRdBLAF1QCcAaPECAKxAEZSAbAQwDtRkBSAJgCFufSAZ1QBXYskwgA5NwDMeFsgYisAag6yAwskEF8LAhuwcADAEFTZgpgC2AB2bX1WpU0GDVAFVKqFBVQByPn6qAMp4AF6YzgAigaoAVKqCkZi

[Bug c++/85049] Internal compiler error with __integer_pack

2018-03-23 Thread abigail.buccaneer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85049 --- Comment #1 from AbigailBuccaneer --- If `index_sequence_for` is replaced with `std::index_sequence_for` (and `#include ` is added), this code compiles fine under g++-7, but not g++-8 (where std::index_sequence_for is implemented in terms of _

[Bug c++/85043] -Wuseless-cast false positive for temporary objects

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85043 --- Comment #3 from Jonathan Wakely --- Maybe we could suppress the warning for explicit type conversions using functional notation, i.e. A(a), when the copy constructor is user-provided. It's not a perfect heuristic. It would still warn for (A)

[Bug lto/85047] cdd2a01 (and others) FAIL with -flto

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

[Bug c++/78489] Substitution failure does not happen in lexical order for NTTP declarations.

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/85049] Internal compiler error with __integer_pack

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

[Bug target/85048] [missed optimization] vector conversions

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85048 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/85043] -Wuseless-cast false positive for temporary objects

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85043 --- Comment #4 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #3) > Maybe we could suppress the warning for explicit type conversions using > functional notation, i.e. A(a), when the copy constructor is user-provided. > > It's

[Bug c++/83937] [7 Regression] C++17 binds braced init of a type T to default arg of a ctor instead of using T's own default ctor

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83937 --- Comment #10 from Jonathan Wakely --- Yes but only on trunk, it's also a regression on gcc-7-branch.

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #23 from Pedro Alves --- I think support in the compiler directly is likely to have better compile-time performance, and I've stated from the beginning that I'd prefer that, FWIW. OTOH, meanwhile, AFAICT, there's nothing preventing f

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #24 from Jonathan Wakely --- Yes, but then we'd have *three* versions of std::equal: the default implementation using a for-loop, the optimized one using memcmp for PODs, and the constexpr form of the latter which also uses a for-loop

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #25 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #24) > Also, the more work that the algorithm does, the more concerned I'd be that > although the inputs are constant (and so we use the naive for-loop) the > actu

[Bug c++/78489] [6/7/8 Regression] Substitution failure does not happen in lexical order for NTTP declarations.

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489 Jonathan Wakely changed: What|Removed |Added Known to work||5.5.0 Summary|Substitution

[Bug c++/78489] [6/7/8 Regression] Substitution failure does not happen in lexical order for NTTP declarations.

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489 --- Comment #4 from Jonathan Wakely --- This started to fail with r223301 DR 1391 * pt.c (type_unification_real): Check convertibility here. (unify_one_argument): Not here.

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #26 from Pedro Alves --- I'm confused then -- how does making __builtin_memcmp natively work on constexpr contexts address the "but then we'd have *three* versions" concern? Looking at the code, it does sound like you instead would w

[Bug c++/84979] [6/7/8 Regression] ICE with auto as template parameter and -fconcepts

2018-03-23 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84979 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/78489] [6/7/8 Regression] Substitution failure does not happen in lexical order for NTTP declarations.

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489 --- Comment #5 from Jonathan Wakely --- (In reply to Eric Fiselier from comment #2) > Created attachment 43737 [details] > reproducer2.cpp > > Another reproducer: This one is a regression from 7.3 > https://godbolt.org/g/UEti9f > > Could somebo

[Bug c++/84489] [6/7 Regression] Non-type template parameter dependency

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84489 --- Comment #7 from Jonathan Wakely --- This caused a regression for the reproducer in PR 78489 comment 2

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #27 from Jonathan Wakely --- (In reply to Pedro Alves from comment #26) > I'm confused then -- how does making __builtin_memcmp natively work on > constexpr contexts address the "but then we'd have *three* versions" concern? Because

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #28 from Pedro Alves --- > Looking at the code, it does sound like you instead would want to > tweak __equal_aux to end up with __simple==false when all __equal_aux's > arguments are constant. I suspect that wouldn't work, because w

[Bug tree-optimization/85050] New: Vectorized function - suboptimal gather

2018-03-23 Thread marcin.krotkiewski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85050 Bug ID: 85050 Summary: Vectorized function - suboptimal gather Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opti

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #29 from Pedro Alves --- OK, our messages crossed. Thanks for the clarification. I can't really comment on the optimizers.

[Bug ipa/85051] New: [6/7/8 Regression] ICE: in edge_badness, at ipa-inline.c:1035 with flattening recursive calls

2018-03-23 Thread zsojka at seznam dot cz
-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-258793-checking-yes-rtl-df-extra-amd64 Thread model: posix gcc version 8.0.1 20180323 (experimental) (GCC)

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #27 from Jakub Jelinek --- So, I've tried to create a small reproducer that actually shows what sw_absorption.F90 is doing (from the above URL, so not actually from the SPEC provided sources) and can't reproduce a problem: ! PR middl

[Bug target/78263] Compile failure with AltiVec library on PPC64le and -std=c++11 flag

2018-03-23 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78263 --- Comment #7 from Bill Schmidt --- Yes, unfortunately we did not get to this yet. Thanks.

[Bug c++/85033] internal compiler error: in fold_offsetof_1, at c-family/c-common.c:6269

2018-03-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85033 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Fri Mar 23 12:55:55 2018 New Revision: 258801 URL: https://gcc.gnu.org/viewcvs?rev=258801&root=gcc&view=rev Log: PR c++/85033 * semantics.c (finish_offsetof): Don't all

[Bug c++/85033] internal compiler error: in fold_offsetof_1, at c-family/c-common.c:6269

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

[Bug c++/84489] [6/7 Regression] Non-type template parameter dependency

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84489 --- Comment #8 from Jason Merrill --- Author: jason Date: Fri Mar 23 12:57:09 2018 New Revision: 258802 URL: https://gcc.gnu.org/viewcvs?rev=258802&root=gcc&view=rev Log: PR c++/78489 - Substitution in wrong order PR c++/84489

[Bug c++/78489] [6/7/8 Regression] Substitution failure does not happen in lexical order for NTTP declarations.

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Mar 23 12:57:09 2018 New Revision: 258802 URL: https://gcc.gnu.org/viewcvs?rev=258802&root=gcc&view=rev Log: PR c++/78489 - Substitution in wrong order PR c++/84489

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #30 from Pedro Alves --- > I suspect that wouldn't work, because we'd need to check whether the > elements the iterator range point-to are themselves constant. I would like to add that the char_traits trick handles this by doing exac

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #28 from Jakub Jelinek --- Ah, I can actually reproduce the failure with the #c27 testcase with -Ofast -fno-tree-pre. So, to workaround this issue with SPEC, either we need to find out why PRE peels off the first iteration on this sm

[Bug c++/85052] New: Implement support for clang's __builtin_convertvector

2018-03-23 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85052 Bug ID: 85052 Summary: Implement support for clang's __builtin_convertvector Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/85048] [missed optimization] vector conversions

2018-03-23 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85048 --- Comment #3 from Matthias Kretz --- Just opened PR85052 for tracking __builtin_convertvector support.

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2018-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #31 from Jonathan Wakely --- (In reply to Pedro Alves from comment #28) > So back to the constexpr __builtin_memcmp, or __constexpr_memcmp ideas. > > Though I still don't see how __constexpr_memcmp would make a difference wrt > to nu

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-23 Thread johnsonsr at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 --- Comment #5 from Seth Johnson --- That looks perfect, thank you for looking into this. (In reply to Dominique d'Humieres from comment #4) > Is the following patch OK? > >return false; > } > > - if (!is_c_interoperable (fptr,

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #29 from Jakub Jelinek --- Tried to enlarge the testcase, so it better matches what sw_absorption.F90 does, but still it works with -Ofast, just not with -Ofast -fno-tree-pre: ! PR middle-end/82004 ! { dg-do run } ! { dg-options "-Of

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #30 from Richard Biener --- (In reply to Jakub Jelinek from comment #28) > Ah, I can actually reproduce the failure with the #c27 testcase with -Ofast > -fno-tree-pre. > > So, to workaround this issue with SPEC, either we need to fin

[Bug fortran/84924] Erroneous error in C_F_POINTER

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

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unass

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #31 from Jakub Jelinek --- Andrey, can you still reproduce and if yes, see what you get for the sw_absorption.F90 loop after PRE (i.e. if the value of __builtin_pow (10, ...) is precomputed for the first iteration and pow moved to lat

[Bug c++/85045] [8 Regression] ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482

2018-03-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85045 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Fri Mar 23 13:45:49 2018 New Revision: 258804 URL: https://gcc.gnu.org/viewcvs?rev=258804&root=gcc&view=rev Log: PR c++/85045 * c-pretty-print.c (c_pretty_printer::mult

[Bug fortran/60458] Error message on associate: deferred type parameter and requires either the pointer or allocatable attribute

2018-03-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60458 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/85053] New: free not listed as built-in

2018-03-23 Thread matthew at wil dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85053 Bug ID: 85053 Summary: free not listed as built-in Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug c++/84943] [8 Regression] internal compiler error: in build_call_a, at cp/call.c:374

2018-03-23 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84943 Alexandre Oliva changed: What|Removed |Added Keywords||patch --- Comment #4 from Alexandre Ol

[Bug c/85054] New: gcc8 fail to identify template redeclaration - problem in string header

2018-03-23 Thread mib.bugzilla at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85054 Bug ID: 85054 Summary: gcc8 fail to identify template redeclaration - problem in string header Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug c++/85045] [8 Regression] ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482

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

[Bug target/84826] ICE in extract_insn, at recog.c:2304 on arm-linux-gnueabi

2018-03-23 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84826 --- Comment #11 from sudi at gcc dot gnu.org --- Author: sudi Date: Fri Mar 23 13:57:28 2018 New Revision: 258805 URL: https://gcc.gnu.org/viewcvs?rev=258805&root=gcc&view=rev Log: [ARM] Fix pr84826.c failure for thumb1 *** gcc/testsuite/ChangeL

[Bug c/85053] free not listed as built-in

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85053 Richard Biener changed: What|Removed |Added Keywords||documentation Status|UNCONF

[Bug c++/85052] Implement support for clang's __builtin_convertvector

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

[Bug ipa/85051] [6/7/8 Regression] ICE: in edge_badness, at ipa-inline.c:1035 with flattening recursive calls

2018-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85051 Richard Biener changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/85046] [8 Regression] cp/name-lookup.c:6175:53: runtime error: member access within null pointer of type 'struct cp_binding_level'

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85046 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug c/85055] New: warn on accessing free memory

2018-03-23 Thread matthew at wil dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85055 Bug ID: 85055 Summary: warn on accessing free memory Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assigne

[Bug c++/82336] [6/7 Regression] GCC requires but does not emit defaulted constructors in certain cases

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82336 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:39:19 2018 New Revision: 258807 URL: https://gcc.gnu.org/viewcvs?rev=258807&root=gcc&view=rev Log: PR c++/82336 - link error with list-init default argument.

[Bug c++/84355] [7 Regression] ICE with failing template argument deduction

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84355 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:39:25 2018 New Revision: 258808 URL: https://gcc.gnu.org/viewcvs?rev=258808&root=gcc&view=rev Log: PR c++/84355 - ICE with deduction for member class template.

[Bug c++/84798] [6/7 Regression] ICE (Segmentation fault) if `auto` appears in a template argument

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84798 --- Comment #9 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:39:30 2018 New Revision: 258809 URL: https://gcc.gnu.org/viewcvs?rev=258809&root=gcc&view=rev Log: PR c++/84798 - ICE with auto in abstract function declarator.

[Bug c++/84937] [7 Regression] ICE with class template argument deduction and auto

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84937 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:39:54 2018 New Revision: 258812 URL: https://gcc.gnu.org/viewcvs?rev=258812&root=gcc&view=rev Log: PR c++/84937 - ICE with class deduction and auto. * pt.c

[Bug c++/80227] [6/7 Regression] SFINAE ambiguity with a pointer to array argument

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80227 --- Comment #4 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:39:47 2018 New Revision: 258811 URL: https://gcc.gnu.org/viewcvs?rev=258811&root=gcc&view=rev Log: PR c++/80227 - SFINAE and negative array size. * decl.c (

[Bug c++/84839] [6/7 Regression] ICE (Segmentation fault) when `decltype` is used with parameter pack

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84839 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:39:36 2018 New Revision: 258810 URL: https://gcc.gnu.org/viewcvs?rev=258810&root=gcc&view=rev Log: PR c++/84839 - ICE with decltype of parameter pack. * pt.

[Bug c++/71834] [6/7 Regression] accepts invalid C++11 code with too few number of template arguments for class template

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71834 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:40:00 2018 New Revision: 258813 URL: https://gcc.gnu.org/viewcvs?rev=258813&root=gcc&view=rev Log: PR c++/71834 - template-id with too few arguments. * pt.c

[Bug c++/84489] [6/7 Regression] Non-type template parameter dependency

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84489 --- Comment #9 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:40:06 2018 New Revision: 258814 URL: https://gcc.gnu.org/viewcvs?rev=258814&root=gcc&view=rev Log: PR c++/78489 - Substitution in wrong order PR c++/84489

[Bug c++/78489] [6/7/8 Regression] Substitution failure does not happen in lexical order for NTTP declarations.

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78489 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Mar 23 14:40:06 2018 New Revision: 258814 URL: https://gcc.gnu.org/viewcvs?rev=258814&root=gcc&view=rev Log: PR c++/78489 - Substitution in wrong order PR c++/84489

[Bug target/85005] Redesign and cleanup arm.c wrt to flag_stack_clash_protection and flag_stack_check

2018-03-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85005 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85046] [8 Regression] cp/name-lookup.c:6175:53: runtime error: member access within null pointer of type 'struct cp_binding_level'

2018-03-23 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85046 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84355] [7 Regression] ICE with failing template argument deduction

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84355 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84798] [6/7 Regression] ICE (Segmentation fault) if `auto` appears in a template argument

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84798 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84647] [6/7 Regression] ICE: segfault with NULL "from" in standard_conversion()

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84647 Bug 84647 depends on bug 84798, which changed state. Bug 84798 Summary: [6/7 Regression] ICE (Segmentation fault) if `auto` appears in a template argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84798 What|Removed

[Bug c++/84349] [6/7/8 Regression] ICE with auto in function cast

2018-03-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84349 Bug 84349 depends on bug 84798, which changed state. Bug 84798 Summary: [6/7 Regression] ICE (Segmentation fault) if `auto` appears in a template argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84798 What|Removed

[Bug c++/85049] [8 Regression] Internal compiler error with __integer_pack

2018-03-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85049 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

  1   2   >