[Bug gcov-profile/85245] [GCOV] A return statement in the if(0) block is wrongly marked as executed when they are nested in the true block of if (cond-expression) statement in gcov

2018-04-05 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85245 --- Comment #1 from Yibiao Yang --- (In reply to Yibiao Yang from comment #0) > $ gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper > OFFLOAD_TARGET_NAMES=nvptx-none >

[Bug gcov-profile/85245] New: [GCOV] A return statement in the if(0) block is wrongly marked as executed when they are nested in the true block of if (cond-expression) statement in gcov

2018-04-05 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85245 Bug ID: 85245 Summary: [GCOV] A return statement in the if(0) block is wrongly marked as executed when they are nested in the true block of if (cond-expression) statement in gcov

[Bug c++/85240] [6/7/8 Regression] ICE with function without deduced return type

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85240 Jason Merrill changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug c++/81764] [6/7/8 Regression] Visibility attributes for explicitly instantiated template class get warned if it has been implicitly instantiated

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

[Bug gcov-profile/85243] [GCOV] A return statement in the if(0) block is wrongly marked as executed when prefixed with an array declaration statement and followed by a "for(;cond-expression;) return;

2018-04-05 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85243 --- Comment #1 from Yibiao Yang --- When: 1. removing Line #3 and Line #9, i.e., the { } block or 2. changing "for(;a<2;)" to "for(;1;)" or 3. removing Line #4 the result are both correct.

[Bug c/85244] New: Bad optimisation with flexible array member (may be related to -ftree-dominator-opts)

2018-04-05 Thread jean at pryen dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85244 Bug ID: 85244 Summary: Bad optimisation with flexible array member (may be related to -ftree-dominator-opts) Product: gcc Version: 8.0.1 Status: UNCONFIRMED

[Bug gcov-profile/85243] New: [GCOV] A return statement in the if(0) block is wrongly marked as executed when prefixed with an array declaration statement and followed by a "for(;cond-expression;) ret

2018-04-05 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85243 Bug ID: 85243 Summary: [GCOV] A return statement in the if(0) block is wrongly marked as executed when prefixed with an array declaration statement and followed by a

[Bug c++/85227] [7/8/ Regression] ICE with structured binding of a forward declared variable

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

[Bug libobjc/36610] objc_msg_sendv is broken for targets which pass argument via registers

2018-04-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36610 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug preprocessor/78497] compiling with -save-temps adds -Wimplicit-fallthrough warnings

2018-04-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78497 Eric Gallager changed: What|Removed |Added Keywords||patch URL|

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-05 Thread tpearson at raptorengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #10 from Timothy Pearson --- (In reply to Bill Schmidt from comment #9) > You mentioned you're on a POWER9 machine. It could be that you have > firmware with Spectre mitigations applied, which will affect all indirect > branches.

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #6 from Jonathan Wakely --- (In reply to blastrock from comment #5) > So is this a regression since #37727 was fixed? PR 37727 is not fixed, it's still NEW.

[Bug middle-end/85196] [6/7 regression] ICE in extract_insn, at recog.c:2311: unrecognizable insn

2018-04-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85196 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/85196] [6/7 regression] ICE in extract_insn, at recog.c:2311: unrecognizable insn

2018-04-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85196 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85209] [8 Regression] ICE with lambda and structured binding

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

[Bug c++/85209] [8 Regression] ICE with lambda and structured binding

2018-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85209 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Apr 5 21:30:47 2018 New Revision: 259156 URL: https://gcc.gnu.org/viewcvs?rev=259156=gcc=rev Log: PR c++/85209 * pt.c (tsubst_decomp_names): Don't fail or ICE if

[Bug c++/85208] ICE with #pragma weak and structured binding

2018-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85208 --- Comment #4 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug c++/85208] ICE with #pragma weak and structured binding

2018-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85208 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Thu Apr 5 21:29:51 2018 New Revision: 259155 URL: https://gcc.gnu.org/viewcvs?rev=259155=gcc=rev Log: PR c++/85208 * decl.c (start_decl): For DECL_DECOMPOSITION_P decls,

[Bug c++/85242] New: [6/7/8 Regression] ICE with invalid template parameter

2018-04-05 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85242 Bug ID: 85242 Summary: [6/7/8 Regression] ICE with invalid template parameter Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity:

[Bug c++/71283] Inconsistent location for C++ warning options in the manual

2018-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71283 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org ---

[Bug c++/71283] Inconsistent location for C++ warning options in the manual

2018-04-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71283 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/85235] [mips] Error: branch out of range

2018-04-05 Thread mattst88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85235 Matt Turner changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/85241] Requires-expressions, fold expressions, and member function templates with dependent parameters don't play nicely

2018-04-05 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85241 --- Comment #2 from Christopher Di Bella --- Created attachment 43862 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43862=edit static_assert equivalent (working)

[Bug target/85193] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1361 with -O2 -fno-tree-ccp -fno-tree-fre -mno-sse

2018-04-05 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85193 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/85193] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1361 with -O2 -fno-tree-ccp -fno-tree-fre -mno-sse

2018-04-05 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85193 --- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Thu Apr 5 20:32:18 2018 New Revision: 259153 URL: https://gcc.gnu.org/viewcvs?rev=259153=gcc=rev Log: PR target/85193 * config/i386/i386.md (define_attr

[Bug c++/85241] Requires-expressions, fold expressions, and member function templates with dependent parameters don't play nicely

2018-04-05 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85241 --- Comment #1 from Christopher Di Bella --- Created attachment 43861 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43861=edit Minimal reproduction

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread blastrock at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #5 from blastrock at free dot fr --- I tried using their recipe to rebuild gcc. The configure line is the following: $ /media/usb1/vitasdkbuild/build/gcc-final-prefix/src/gcc-final/configure --build=x86_64-linux-gnu

[Bug c++/85241] New: Requires-expressions, fold expressions, and member function templates with dependent parameters don't play nicely

2018-04-05 Thread cjdb.ns at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85241 Bug ID: 85241 Summary: Requires-expressions, fold expressions, and member function templates with dependent parameters don't play nicely Product: gcc Version:

[Bug middle-end/85195] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O -fno-tree-ccp --param=sccvn-max-scc-size=10

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

[Bug middle-end/85090] [8 Regression] wrong code with -O2 -fno-tree-dominator-opts -mavx512f -fira-algorithm=priority

2018-04-05 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85090 --- Comment #12 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #11) > gcc -O2 -m27332: "gcc -O2 -m32", the test shows dumps for 32bit x86 target.

[Bug c++/85240] New: [6/7/8 Regression] ICE with function without deduced return type

2018-04-05 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85240 Bug ID: 85240 Summary: [6/7/8 Regression] ICE with function without deduced return type Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug middle-end/85090] [8 Regression] wrong code with -O2 -fno-tree-dominator-opts -mavx512f -fira-algorithm=priority

2018-04-05 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85090 --- Comment #11 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #5) > I guess it depends on what exactly a normal subreg on lhs means. > The documentation says: > When used as an lvalue, 'subreg' is a word-based accessor.

[Bug c++/85136] [6/7/8 Regression] ICE with array as template variable

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85136 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Apr 5 19:43:39 2018 New Revision: 259152 URL: https://gcc.gnu.org/viewcvs?rev=259152=gcc=rev Log: PR c++/85136 - ICE with designated init in template. * decl.c

[Bug testsuite/85239] New: Tcl error running gfortran lto testsuite under Cygwin

2018-04-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85239 Bug ID: 85239 Summary: Tcl error running gfortran lto testsuite under Cygwin Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/85238] New: lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin

2018-04-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238 Bug ID: 85238 Summary: lto-wrapper: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument on Cygwin Product: gcc Version: 8.0

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #4 from Jonathan Wakely --- (In reply to blastrock from comment #2) > And I was hoping for a way to disable it at runtime, recompiling > gcc seems quite complex... That's not possible.

[Bug c++/57699] Disable empty parameter list misinterpretation in libstdc++ headers when !defined(NO_IMPLICIT_EXTERN_C)

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

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2018-04-05 Thread nruslan_devel at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #18 from Ruslan Nikolaev --- (In reply to andysem from comment #17) > I'll clarify why I think load() should be allowed to issue writes on the > memory. According to [atomics.types.operations]/18 in N4713, > compare_exchange_*() is a

[Bug target/37727] NO_IMPLICIT_EXTERN_C for newlib

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

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #3 from Andrew Pinski --- (In reply to blastrock from comment #2) > I think it would be nice to mention it in the documentation as it was in > version 6. And I was hoping for a way to disable it at runtime, recompiling > gcc seems

[Bug target/85193] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1361 with -O2 -fno-tree-ccp -fno-tree-fre -mno-sse

2018-04-05 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85193 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Thu Apr 5 18:43:26 2018 New Revision: 259150 URL: https://gcc.gnu.org/viewcvs?rev=259150=gcc=rev Log: PR target/85193 * config/i386/i386.md (define_attr

[Bug middle-end/85195] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O -fno-tree-ccp --param=sccvn-max-scc-size=10

2018-04-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85195 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Apr 5 18:35:16 2018 New Revision: 259149 URL: https://gcc.gnu.org/viewcvs?rev=259149=gcc=rev Log: PR middle-end/85195 * match.pd (BIT_FIELD_REF CONSTRUCTOR@0 @1 @2):

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread blastrock at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #2 from blastrock at free dot fr --- I think it would be nice to mention it in the documentation as it was in version 6. And I was hoping for a way to disable it at runtime, recompiling gcc seems quite complex...

[Bug c++/84665] [7/8 Regression] internal compiler error: in build_value_init, at cp/init.c:343

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

[Bug c++/82152] [7 Regression] ICE on invalid code in C++17 mode if inheriting constructors are used

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82152 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Apr 5 18:27:49 2018 New Revision: 259147 URL: https://gcc.gnu.org/viewcvs?rev=259147=gcc=rev Log: PR c++/82152 - ICE with class deduction and inherited ctor. * pt.c

[Bug c++/85006] [7 Regression] [concepts] ICE with bogus parameter pack

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85006 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Apr 5 18:27:37 2018 New Revision: 259145 URL: https://gcc.gnu.org/viewcvs?rev=259145=gcc=rev Log: PR c++/85006 - -fconcepts ICE with A return type * pt.c

[Bug c++/84665] [7/8 Regression] internal compiler error: in build_value_init, at cp/init.c:343

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Apr 5 18:27:43 2018 New Revision: 259146 URL: https://gcc.gnu.org/viewcvs?rev=259146=gcc=rev Log: PR c++/84665 - ICE with array of empty class. * decl2.c

[Bug middle-end/85090] [8 Regression] wrong code with -O2 -fno-tree-dominator-opts -mavx512f -fira-algorithm=priority

2018-04-05 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85090 --- Comment #10 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #5) > I guess it depends on what exactly a normal subreg on lhs means. > The documentation says: > When used as an lvalue, 'subreg' is a word-based

[Bug c++/85236] missing _mm256_atan2_ps

2018-04-05 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85236 --- Comment #2 from Marc Glisse --- This is part of SVML, not a basic intrinsic.

[Bug debug/22318] debug info wrong for doubles followed by bools

2018-04-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22318 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 5 17:49:39 2018 New Revision: 259140 URL: https://gcc.gnu.org/viewcvs?rev=259140=gcc=rev Log: Use dlsym to check if libdl is needed for plugin config/plugins.m4 has if

[Bug rtl-optimization/85237] New: missed optimisation opportunity for large/negative shifts

2018-04-05 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85237 Bug ID: 85237 Summary: missed optimisation opportunity for large/negative shifts Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: missed-optimization

[Bug tree-optimization/85212] Parallelizable loop isn't unrolled [regression bug?]

2018-04-05 Thread robertw89 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85212 --- Comment #2 from robertw89 at googlemail dot com --- Thanks you for your explaination :) . The compiler indeed emits the expected code wit -funroll-loops

[Bug tree-optimization/85212] Parallelizable loop isn't unrolled [regression bug?]

2018-04-05 Thread robertw89 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85212 robertw89 at googlemail dot com changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug c++/83808] [7/8 Regression] "internal compiler error" for invalid input

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808 --- Comment #7 from Jason Merrill --- Author: jason Date: Thu Apr 5 17:17:11 2018 New Revision: 259138 URL: https://gcc.gnu.org/viewcvs?rev=259138=gcc=rev Log: PR c++/83808 - ICE with VLA initialization. * typeck2.c

[Bug c++/80956] [7 Regression] ICE with abstract class vector

2018-04-05 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80956 Paolo Carlini changed: What|Removed |Added Summary|[7/8 Regression] ICE with |[7 Regression] ICE with

[Bug c++/80956] [7/8 Regression] ICE with abstract class vector

2018-04-05 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80956 --- Comment #8 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Apr 5 17:08:21 2018 New Revision: 259137 URL: https://gcc.gnu.org/viewcvs?rev=259137=gcc=rev Log: /cp 2018-04-05 Paolo Carlini PR

[Bug c++/85236] missing _mm256_atan2_ps

2018-04-05 Thread bking at rtlogic dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85236 --- Comment #1 from bking at rtlogic dot com --- Created attachment 43860 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43860=edit *.i* file

[Bug c++/85236] New: missing _mm256_atan2_ps

2018-04-05 Thread bking at rtlogic dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85236 Bug ID: 85236 Summary: missing _mm256_atan2_ps Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/84792] [6/7 Regression] ICE with broken typedef of a struct

2018-04-05 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84792 Paolo Carlini changed: What|Removed |Added Summary|[6/7/8 Regression] ICE with |[6/7 Regression] ICE with

[Bug c++/85136] [6/7/8 Regression] ICE with array as template variable

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85136 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/84792] [6/7/8 Regression] ICE with broken typedef of a struct

2018-04-05 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84792 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Apr 5 17:05:03 2018 New Revision: 259136 URL: https://gcc.gnu.org/viewcvs?rev=259136=gcc=rev Log: /cp 2018-04-05 Paolo Carlini PR

[Bug other/31852] Missing __builtin_memchr

2018-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31852 --- Comment #7 from Jonathan Wakely --- Oops, those last two commits are unrelated to this bug, the number refers to https://bugs.llvm.org/show_bug.cgi?id=31852 Sorry for the noise.

[Bug other/31852] Missing __builtin_memchr

2018-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31852 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Thu Apr 5 16:59:13 2018 New Revision: 259135 URL: https://gcc.gnu.org/viewcvs?rev=259135=gcc=rev Log: Add another workaround to std::variant for Clang bug 31852 *

[Bug c++/85141] [6/7/8 Regression] ICE with pointer arithmetic of static member function address

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85141 Jason Merrill changed: What|Removed |Added CC||su at cs dot ucdavis.edu --- Comment #6

[Bug c++/81575] [7/8 Regression] ICE on C++ code: in cp_build_addr_expr_1, at cp/typeck.c:5793

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81575 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85193] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1361 with -O2 -fno-tree-ccp -fno-tree-fre -mno-sse

2018-04-05 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85193 --- Comment #2 from uros at gcc dot gnu.org --- Author: uros Date: Thu Apr 5 16:50:49 2018 New Revision: 259134 URL: https://gcc.gnu.org/viewcvs?rev=259134=gcc=rev Log: PR target/85193 * config/i386/i386.md (define_attr

[Bug c++/16994] [meta-bug] VLA and C++

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 69487, which changed state. Bug 69487 Summary: Unexpected VLA initialization of char[] from "" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69487 What|Removed |Added

[Bug c++/83808] [7/8 Regression] "internal compiler error" for invalid input

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808 Bug 83808 depends on bug 69487, which changed state. Bug 69487 Summary: Unexpected VLA initialization of char[] from "" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69487 What|Removed |Added

[Bug c++/69487] Unexpected VLA initialization of char[] from ""

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

[Bug c++/82152] [7/8 Regression] ICE on invalid code in C++17 mode if inheriting constructors are used

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82152 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Apr 5 16:42:09 2018 New Revision: 259133 URL: https://gcc.gnu.org/viewcvs?rev=259133=gcc=rev Log: PR c++/82152 - ICE with class deduction and inherited ctor. * pt.c

[Bug libstdc++/83860] [6/7/8 Regression] valarray replacement type breaks with auto and more than one operation

2018-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83860 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug rtl-optimization/85235] New: [mips] Error: branch out of range

2018-04-05 Thread mattst88 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85235 Bug ID: 85235 Summary: [mips] Error: branch out of range Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/82152] [7/8 Regression] ICE on invalid code in C++17 mode if inheriting constructors are used

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82152 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84665] [7/8 Regression] internal compiler error: in build_value_init, at cp/init.c:343

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Apr 5 16:04:08 2018 New Revision: 259132 URL: https://gcc.gnu.org/viewcvs?rev=259132=gcc=rev Log: PR c++/84665 - ICE with array of empty class. * decl2.c

[Bug c++/83808] [7/8 Regression] "internal compiler error" for invalid input

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85228] [8 Regression] ICE with constexpr lambda in template

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

[Bug target/85203] cmse_nonsecure_caller intrinsic returns incorrect results

2018-04-05 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85203 Thomas Preud'homme changed: What|Removed |Added Known to work||8.0 Known to fail|8.0

[Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32

2018-04-05 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #11 from Bill Schmidt --- Conclusion is that we still need a fix to emmintrin.h along the lines of Steve's original two comments. Additionally, we need to fix trunk to complain about the out of range value, rather than quietly

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-05 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #4 from Dmitry Vyukov --- Removing these lines from runtime does not help unfortunately: - kasan_poison_shadow(left_redzone, KASAN_ALLOCA_REDZONE_SIZE, - KASAN_ALLOCA_LEFT); The right redzone is also

[Bug middle-end/67486] ira-color.c sanitizer detects signed integer overflow

2018-04-05 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67486 --- Comment #7 from Vladimir Makarov --- (In reply to David Binderman from comment #6) > I wonder if changing type of static array full_costs from int to long would > help solve the problem. > > Adding vmakarov, who seems to be the author of

[Bug c++/85228] [8 Regression] ICE with constexpr lambda in template

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85228 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Apr 5 14:48:40 2018 New Revision: 259130 URL: https://gcc.gnu.org/viewcvs?rev=259130=gcc=rev Log: PR c++/85228 - ICE with lambda in enumerator. * pt.c

[Bug target/85234] New: missed optimisation opportunity for (~x >> n) ? a : b with n, a, b constants

2018-04-05 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85234 Bug ID: 85234 Summary: missed optimisation opportunity for (~x >> n) ? a : b with n, a, b constants Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords:

[Bug c++/85136] [6/7/8 Regression] ICE with array as template variable

2018-04-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85136 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84665] [7/8 Regression] internal compiler error: in build_value_init, at cp/init.c:343

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85228] [8 Regression] ICE with constexpr lambda in template

2018-04-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85228 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/85227] [7/8/ Regression] ICE with structured binding of a forward declared variable

2018-04-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85227 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/85222] [7/8 Regression] ABI breakage of __throw_ios_failure by r244498

2018-04-05 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85222 --- Comment #12 from rguenther at suse dot de --- On Thu, 5 Apr 2018, rguenther at suse dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85222 > > --- Comment #11 from rguenther at suse dot de --- > On Thu, 5 Apr 2018, redi at gcc

[Bug c++/85210] [7/8 Regression] ICE with broken structured binding in template

2018-04-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85210 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85210] ICE with broken structured binding in template

2018-04-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85210 --- Comment #2 from David Malcolm --- Confirmed. On gcc-7-branch, with checking enabled, this is: test.cc:5:8: internal compiler error: tree check: expected var_decl, have parm_decl in cp_finish_decomp, at cp/decl.c:7354 7454

[Bug c++/85228] [8 Regression] ICE with constexpr lambda in template

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85228 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85200] [8 Regression] ICE in constexpr-if in lambda in template

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85200 Jason Merrill changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/85200] [8 Regression] ICE in constexpr-if in lambda in template

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85200 --- Comment #7 from Jason Merrill --- Author: jason Date: Thu Apr 5 14:20:53 2018 New Revision: 259127 URL: https://gcc.gnu.org/viewcvs?rev=259127=gcc=rev Log: PR c++/85200 - ICE with constexpr if in generic lambda. * pt.c

[Bug c/85233] New: Incorrect -Wmaybe-uninitialized with -fpartial-inlining -finline-small-functions

2018-04-05 Thread erik.carstensen at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85233 Bug ID: 85233 Summary: Incorrect -Wmaybe-uninitialized with -fpartial-inlining -finline-small-functions Product: gcc Version: 7.3.1 Status: UNCONFIRMED

[Bug c++/85210] ICE with broken structured binding in template

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

[Bug c++/85232] New: gcc fails to vectorize a nested simd function call

2018-04-05 Thread marcin.krotkiewski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85232 Bug ID: 85232 Summary: gcc fails to vectorize a nested simd function call Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/85222] [7/8 Regression] ABI breakage of __throw_ios_failure by r244498

2018-04-05 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85222 --- Comment #11 from rguenther at suse dot de --- On Thu, 5 Apr 2018, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85222 > > --- Comment #10 from Jonathan Wakely --- > Seems simpler to just define: > > struct

[Bug c++/85228] [8 Regression] ICE with constexpr lambda in template

2018-04-05 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85228 David Malcolm changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-05 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #3 from Dmitry Vyukov --- Hummm, perhaps gcc expects that the left ASAN redzone will be within the 128-byte ABI redzone, but this becomes false with -mno-red-zone?

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-05 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #2 from Dmitry Vyukov --- The runtime callbacks look correct to me, and the shadow they produce also looks reasonable: 32-byte rezone before, 32 + (32 - object size) redzone after: 8800247b7180: 00 00 00 00 00 00 00 00 00 00 00

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-05 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #1 from Dmitry Vyukov --- I am also looking at kernel callback implementation, maybe they disagree with compiler as to what's actually passed as arguments: /* Emitted by compiler to poison alloca()ed objects. */ void

  1   2   >