[Bug fortran/80388] New: ICE in output_constructor_regular_field, at varasm.c:4986

2017-04-10 Thread Glenn.Hyland at utas dot edu.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80388 Bug ID: 80388 Summary: ICE in output_constructor_regular_field, at varasm.c:4986 Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Prio

[Bug rtl-optimization/80385] [5/6/7 Regression] Segfault in commutative_operand_precedence() rtlanal.c:3373

2017-04-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80385 Markus Trippelsdorf changed: What|Removed |Added Known to work||4.8.5 Summary|Internal

[Bug c++/80387] [6/7 Regression] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 Thomas Koenig changed: What|Removed |Added Target Milestone|--- |7.0

[Bug rtl-optimization/80385] Internal Segmentation Fault

2017-04-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80385 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/80387] [6/7 Regression] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 Markus Trippelsdorf changed: What|Removed |Added Keywords||compile-time-hog,

[Bug c++/80387] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-10 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 --- Comment #2 from bastien penavayre --- Created attachment 41172 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41172&action=edit source precompiled after g++ --save-temps

[Bug c++/80387] G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-10 Thread bastien.penavayre at epitech dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387 bastien penavayre changed: What|Removed |Added CC||bastien.penavayre at epitech dot e

[Bug c++/80387] New: G++ get stuck due to decltype over constexpr static function in using declaration

2017-04-10 Thread bastien.penavayre at epitech dot eu
ce file template using assigned with decltype of constexpr static method "func" cause g++ to hang with one thread running at 100% non-stop. Tested first with g++7.0.1 20170410 and confirmed to be the same with g++-6.0.1. On older version of g++ the method "func" is not recognized.

[Bug c/80354] Poor support to silence -Wformat-truncation=1

2017-04-10 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80354 Eric Gallager changed: What|Removed |Added CC||egall at gwmail dot gwu.edu --- Comment

[Bug sanitizer/80386] New: UBSAN: false positive - constant folding and reassosiation before instrumentation

2017-04-10 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80386 Bug ID: 80386 Summary: UBSAN: false positive - constant folding and reassosiation before instrumentation Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug c++/80385] Internal Segmentation Fault

2017-04-10 Thread jrkoenig at stanford dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80385 --- Comment #1 from Jason Koenig --- Created attachment 41169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41169&action=edit main.ii (gzipped)

[Bug c++/80385] New: Internal Segmentation Fault

2017-04-10 Thread jrkoenig at stanford dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80385 Bug ID: 80385 Summary: Internal Segmentation Fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assig

[Bug target/80098] ICE in curr_insn_transform, at lra-constraints.c:3816 on ppc64le

2017-04-10 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80098 Michael Meissner changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug middle-end/77721] -Wformat-truncation not uses arg range for converted vars

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77721 Martin Sebor changed: What|Removed |Added Summary|-Wformat-length not uses|-Wformat-truncation not

[Bug middle-end/77696] Confusing wording for -Wformat-overflow

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 Martin Sebor changed: What|Removed |Added Summary|Confusing wording for |Confusing wording for |

[Bug middle-end/77831] add fixit hints to -Wformat-overflow and -Wformat-truncation

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77831 Martin Sebor changed: What|Removed |Added Summary|add fixit hints to |add fixit hints to |-Wf

[Bug middle-end/77799] missing -Wformat-overflow warning on a trivial sprintf overflow with no directives

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77799 Martin Sebor changed: What|Removed |Added Summary|missing -Wformat-length |missing -Wformat-overflow

[Bug middle-end/77671] missing -Wformat-overflow warning on sprintf overflow with "%s"

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77671 Martin Sebor changed: What|Removed |Added Summary|missing -Wformat-length |missing -Wformat-overflow

[Bug lto/79062] -Walloca-larger-than and -Wformat-overflow warnings disabled by -flto

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79062 Martin Sebor changed: What|Removed |Added Summary|-Wformat-length warnings|-Walloca-larger-than and

[Bug tree-optimization/78913] Probably misleading error reported by -Wformat-truncation

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78913 Martin Sebor changed: What|Removed |Added Summary|Probably misleading error |Probably misleading error

[Bug fortran/69498] ICE on disjunct cases with displaced or incomplete embedded statement

2017-04-10 Thread koenigni at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69498 Nicolas Koenig changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/80384] ICE when deducing noexcept in class template partial specialization

2017-04-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80384 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/80305] [7 Regression] print statement inside do-concurrent

2017-04-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80305 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/69498] ICE on disjunct cases with displaced or incomplete embedded statement

2017-04-10 Thread koenigni at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69498 --- Comment #10 from Nicolas Koenig --- Author: koenigni Date: Mon Apr 10 20:58:21 2017 New Revision: 246826 URL: https://gcc.gnu.org/viewcvs?rev=246826&root=gcc&view=rev Log: 2017-04-10 Nicolas Koenig Paul Thomas PR f

[Bug c++/80176] [5/6 Regression] cannot bind reference to static member function using object access expression

2017-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80176 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/80176] [5/6/7 Regression] cannot bind reference to static member function using object access expression

2017-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80176 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Apr 10 20:49:11 2017 New Revision: 246825 URL: https://gcc.gnu.org/viewcvs?rev=246825&root=gcc&view=rev Log: PR c++/80176 * tree.c (lvalue_kind): For COMPONENT_REF wit

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-10 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/80304] [7 Regression] Wrong result with do concurrent

2017-04-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #27 from Thomas Koenig --- The bug is indeed fixed. Thanks a lot for the quick fix! I have also committed a Fortran test case (just to be sure). Regards Thomas

[Bug tree-optimization/80304] [7 Regression] Wrong result with do concurrent

2017-04-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #26 from Thomas Koenig --- Author: tkoenig Date: Mon Apr 10 20:40:48 2017 New Revision: 246824 URL: https://gcc.gnu.org/viewcvs?rev=246824&root=gcc&view=rev Log: 2017-04-10 Thomas Koenig PR tree-optimization/80304

[Bug fortran/80046] [F03] Explicit interface required: pointer argument

2017-04-10 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80046 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug c++/80384] New: ICE when deducing noexcept in class template partial specialization

2017-04-10 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80384 Bug ID: 80384 Summary: ICE when deducing noexcept in class template partial specialization Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-

[Bug fortran/80046] [F03] Explicit interface required: pointer argument

2017-04-10 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80046 --- Comment #6 from janus at gcc dot gnu.org --- Author: janus Date: Mon Apr 10 20:28:23 2017 New Revision: 246823 URL: https://gcc.gnu.org/viewcvs?rev=246823&root=gcc&view=rev Log: 2017-04-10 Janus Weil PR fortran/80046 * exp

[Bug target/70878] [5/6/7 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7680

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

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

2017-04-10 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #14 from Pedro Alves --- AFAIK, the "if constexpr()" proposal was sent back for more work [1], seems premature to support it, while I'd hope that the __builtin_constant_p approach would allow supporting constexpr char_traits in GCC7 (

[Bug target/80098] ICE in curr_insn_transform, at lra-constraints.c:3816 on ppc64le

2017-04-10 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80098 Michael Meissner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/80100] simplify-rtx.c sanitizer detects undefined behaviour with optimization

2017-04-10 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80100 --- Comment #2 from Vittorio Zecca --- simplify-rtx.c:2743 is "HOST_WIDE_INT mask = INTVAL (trueop1) << count;"

[Bug tree-optimization/80359] [7 Regression] DSE causes error: invalid reference prefix

2017-04-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80359 --- Comment #4 from Jeffrey A. Law --- Given how late in stage4 we are, I think rejecting TMR without trying to rewrite them into a regular MEM_REF is probably the best thing to do.

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

2017-04-10 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #13 from Marc Glisse --- If we need the "if constexpr()" that is proposed for C++20, we might as well implement that (and enable it in system headers for C++17 if that's useful), it seems better than abusing __builtin_constant_p, whic

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

2017-04-10 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #12 from Pedro Alves --- This seems to work equally well (or better): // true if the whole string is known at compile time. static inline constexpr bool constant_string(const char *s) { while (__builtin_constant_p (*s) && *s) s

[Bug tree-optimization/80374] [7 Regression] ICE in fold_convert_loc, at fold-const.c:2384

2017-04-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80374 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/80374] [7 Regression] ICE in fold_convert_loc, at fold-const.c:2384

2017-04-10 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80374 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Mon Apr 10 19:19:42 2017 New Revision: 246819 URL: https://gcc.gnu.org/viewcvs?rev=246819&root=gcc&view=rev Log: PR tree-optimization/80374 * tree-ssa-dom.c (derive_equival

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

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80383 Bug ID: 80383 Summary: wrong caret location and missing detail in warning: initializer element is not a constant expression on a signed overflow Product: gcc Vers

[Bug target/80108] ICE in aggregate_value_p at function.c:2028

2017-04-10 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80108 kelvin at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Bug target/80108] ICE in aggregate_value_p at function.c:2028

2017-04-10 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80108 --- Comment #12 from kelvin at gcc dot gnu.org --- Author: kelvin Date: Mon Apr 10 19:01:37 2017 New Revision: 246818 URL: https://gcc.gnu.org/viewcvs?rev=246818&root=gcc&view=rev Log: gcc/ChangeLog: 2017-04-10 Kelvin Nilsen PR targe

[Bug sanitizer/80349] [6/7 Regression] UBSAN: compile time crash with "type mismatch in binary expression" message

2017-04-10 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80349 --- Comment #3 from Dmitry Babokin --- PR80348 is fixed, but this still fails.

[Bug target/80367] internal compiler error: in print_reg, at config/i386/i386.c:16549

2017-04-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80367 --- Comment #9 from Uroš Bizjak --- In PR 79804, I have a patch that makes ICE more informative, but the frame reg problem elimination remains to be solved in LRA.

[Bug testsuite/79356] XPASS in attr-alloc_size-11.c

2017-04-10 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 --- Comment #15 from uros at gcc dot gnu.org --- Author: uros Date: Mon Apr 10 18:51:42 2017 New Revision: 246816 URL: https://gcc.gnu.org/viewcvs?rev=246816&root=gcc&view=rev Log: PR testsuite/79356 * gcc.dg/attr-alloc_size-11.c:

[Bug target/80367] internal compiler error: in print_reg, at config/i386/i386.c:16549

2017-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80367 Jakub Jelinek changed: What|Removed |Added CC||uros at gcc dot gnu.org,

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

2017-04-10 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #11 from Pedro Alves --- Ok, so s[2] is not constant, while s[0] is, in that case. AFAICS, changing constexpr_strlen to this: constexpr size_t constexpr_strlen(const char* s) { const char *p = s; while (__builtin_constant_p (*p

[Bug target/80099] ICE in rs6000_expand_vector_extract, at config/rs6000/rs6000.c:7450

2017-04-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80099 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/79712] Clang smarter about unrolling in fhourstones benchmark

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79712 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment #

[Bug target/80210] ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow

2017-04-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80210 --- Comment #2 from Segher Boessenkool --- Confirmed. The define_expand condition is *not* checked?! Possibly by the pow->sqrt code (yeah I'm guessing here).

[Bug target/80210] ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow

2017-04-10 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80210 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/80283] [5/6/7 Regression] bad SIMD register allocation

2017-04-10 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80283 wilco at gcc dot gnu.org changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- C

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug testsuite/79867] [cygwin] LD_LIBRARY_PATH ignored, contaminating (nearly?) all test results

2017-04-10 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79867 mrs at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug testsuite/79867] [cygwin] LD_LIBRARY_PATH ignored, contaminating (nearly?) all test results

2017-04-10 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79867 --- Comment #2 from mrs at gcc dot gnu.org --- Author: mrs Date: Mon Apr 10 17:45:35 2017 New Revision: 246813 URL: https://gcc.gnu.org/viewcvs?rev=246813&root=gcc&view=rev Log: 2017-04-10 Daniel Santos PR testsuite/79867 * li

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-10 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 --- Comment #6 from Peter Bergner --- (In reply to Marek Polacek from comment #5) > Just creduce. I think it'd be possible to reduce it a bit more, first > manually and then run creduce again, but it needs a bit of knowledge of C++. Ok, in that

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 --- Comment #5 from Marek Polacek --- (In reply to Peter Bergner from comment #4) > (In reply to Marek Polacek from comment #0) > > This testcase (which took ~5 days of reducing) ICEs with -O3 -std=c++11 > > -mtune=power8 -mcpu=power8 -mno-lra: >

[Bug c/80354] Poor support to silence -Wformat-truncation=1

2017-04-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80354 --- Comment #3 from Martin Sebor --- The warning does just what it's designed to do: point out the potential unhandled truncation. If the argument values are such that the truncation cannot occur then using snprintf is unnecessary and sprintf ca

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-10 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 --- Comment #4 from Peter Bergner --- (In reply to Marek Polacek from comment #0) > This testcase (which took ~5 days of reducing) ICEs with -O3 -std=c++11 > -mtune=power8 -mcpu=power8 -mno-lra: Did you use creduce or delta or ??? to reduce the

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-10 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 --- Comment #3 from Peter Bergner --- I'll have a look.

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 --- Comment #2 from Marek Polacek --- (In reply to Bill Schmidt from comment #1) > You didn't fill in the target. 32/64-bit, little-/big-endian? 64-bit, and I think it ICEs on both BE and LE.

[Bug sanitizer/80348] [6 Regression] UBSAN: compile time crash in ubsan_instrument_division

2017-04-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80348 Marek Polacek changed: What|Removed |Added Summary|[6/7 Regression] UBSAN: |[6 Regression] UBSAN:

[Bug target/80382] ICE with error: unrecognizable insn

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80382 --- Comment #1 from Bill Schmidt --- You didn't fill in the target. 32/64-bit, little-/big-endian?

[Bug sanitizer/80348] [6/7 Regression] UBSAN: compile time crash in ubsan_instrument_division

2017-04-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80348 --- Comment #9 from Marek Polacek --- Author: mpolacek Date: Mon Apr 10 17:18:15 2017 New Revision: 246812 URL: https://gcc.gnu.org/viewcvs?rev=246812&root=gcc&view=rev Log: PR sanitizer/80348 * typeck.c (cp_build_binary_op): Use

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

2017-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #10 from Jakub Jelinek --- I don't think it works that well. Consider: int str6 (int a) { char s[] = "strabcdefgh"; s[2] = a; return ce_char_traits::length(s); } int str7 (int a) { char s[] = "strabcdefgh"; s[2] = a; retu

[Bug tree-optimization/80153] ivopt generate wrong code

2017-04-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80153 --- Comment #9 from amker at gcc dot gnu.org --- Author: amker Date: Mon Apr 10 16:54:14 2017 New Revision: 246811 URL: https://gcc.gnu.org/viewcvs?rev=246811&root=gcc&view=rev Log: PR tree-optimization/80153 * tree-ssa-loop-ivopt

[Bug tree-optimization/80153] ivopt generate wrong code

2017-04-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80153 --- Comment #8 from amker at gcc dot gnu.org --- Author: amker Date: Mon Apr 10 16:51:44 2017 New Revision: 246810 URL: https://gcc.gnu.org/viewcvs?rev=246810&root=gcc&view=rev Log: PR tree-optimization/80153 * tree-affine.c (aff_

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 --- Comment #9 from Bill Schmidt --- (In reply to Jakub Jelinek from comment #8) > (In reply to Bill Schmidt from comment #6) > > That revision enabled -fsched-pressure by default, so it may have been > > latent with -fsched-pressure before then.

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

2017-04-10 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #9 from Pedro Alves --- FWIW, I've tried to poke a bit more at this, to try to make it _not_ work, but couldn't. It seems to always do what we need. These all work/compile too: constexpr int

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 --- Comment #8 from Jakub Jelinek --- (In reply to Bill Schmidt from comment #6) > That revision enabled -fsched-pressure by default, so it may have been > latent with -fsched-pressure before then. No, r243865 does not ICE with -O3 -fsched-press

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-10 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 --- Comment #7 from Pat Haugen --- (In reply to Bill Schmidt from comment #6) > That revision enabled -fsched-pressure by default, so it may have been > latent with -fsched-pressure before then. Yes, this is a latent bug in the "model" sched-pre

[Bug c++/60685] exception not caught by enclosing catch

2017-04-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60685 --- Comment #7 from Jonathan Wakely --- (In reply to Dave McMordie from comment #6) > Any sense of a minimal patch to fix this issue? At a wild guess, I'd say it might be one of r209907 or r216750, which both look quite involved and probably not

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 --- Comment #6 from Bill Schmidt --- That revision enabled -fsched-pressure by default, so it may have been latent with -fsched-pressure before then.

[Bug tree-optimization/80293] [6/7 Regression] unnecessary code at -O2 (-O1 is fine)

2017-04-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 --- Comment #5 from Martin Jambor --- (In reply to Richard Biener from comment #4) > That said, the array cases we've seen are somewhat disturbing... Cases? Can you point me to the other ones, please? What type do they have? > maybe we can

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

2017-04-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #8 from Jonathan Wakely --- I think there was a bug report in the last month or so asking for some builtin to detect when we're in a constexpr context.

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 --- Comment #5 from Jakub Jelinek --- Started with r243866.

[Bug target/80381] AVX512: -O3, _mm512_srai_epi32, the last argument must be an 8-bit immediate

2017-04-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80381 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|ASSIGNED Last reconfirmed|

[Bug fortran/78881] [F03] reading from string with DTIO procedure does not work properly

2017-04-10 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78881 --- Comment #26 from Jerry DeLisle --- (In reply to r...@cebitec.uni-bielefeld.de from comment #25) --- snip --- > > Btw., I happened to notice that this "int * length" (and many more > instances throughout the file and probably all of libgfortr

[Bug libstdc++/79522] std::regex_match always returns false

2017-04-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79522 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 Bill Schmidt changed: What|Removed |Added CC||dje at gcc dot gnu.org,

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/80293] [6/7 Regression] unnecessary code at -O2 (-O1 is fine)

2017-04-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 --- Comment #4 from Richard Biener --- (In reply to Martin Jambor from comment #3) > (In reply to Richard Biener from comment #2) > > We have another bugreport that complains about SRA and Martin said he had > > patches but intended to wait for G

[Bug target/80367] internal compiler error: in print_reg, at config/i386/i386.c:16549

2017-04-10 Thread jwjagersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80367 --- Comment #7 from jwjagersma at gmail dot com --- Created attachment 41167 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41167&action=edit test case Here is a reduced test case that causes a similar (likely the same?) ICE on i686-w64-min

[Bug rtl-optimization/70478] [LRA] S/390: Performance regression - superfluous stack frame

2017-04-10 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70478 --- Comment #10 from Vladimir Makarov --- Author: vmakarov Date: Mon Apr 10 14:58:33 2017 New Revision: 246808 URL: https://gcc.gnu.org/viewcvs?rev=246808&root=gcc&view=rev Log: 2017-04-10 Vladimir Makarov PR rtl-optimization/70478

[Bug target/80376] Some vec_xxpermdi usage lead to ICE

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376 --- Comment #4 from Bill Schmidt --- Patch under test would produce the follow errors instead: wschmidt@pike:~/src$ $GCC_INSTALL/bin/gcc pr80376.c pr80376.c: In function 'main': pr80376.c:12:5: error: argument 3 must be a 2-bit unsigned literal

[Bug target/80376] Some vec_xxpermdi usage lead to ICE

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376 --- Comment #3 from Bill Schmidt --- It's difficult to completely avoid an ICE, as once we have a nested call with an invalid value it is not simple to recover with our current design. However, I will put together a patch that provides better er

[Bug target/80367] internal compiler error: in print_reg, at config/i386/i386.c:16549

2017-04-10 Thread jwjagersma at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80367 --- Comment #6 from jwjagersma at gmail dot com --- So "esp" is not a valid register to clobber? I thought it would only make the compiler use ebp instead to reference stack memory operands. After all esp-relative operands wouldn't be valid after

[Bug target/80381] AVX512: -O3, _mm512_srai_epi32, the last argument must be an 8-bit immediate

2017-04-10 Thread m...@sven-woop.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80381 --- Comment #4 from Sven Woop --- BTW, the AVX-512 version of this "bug" also compiles with ICC and Clang 4.

[Bug target/80381] AVX512: -O3, _mm512_srai_epi32, the last argument must be an 8-bit immediate

2017-04-10 Thread m...@sven-woop.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80381 --- Comment #3 from Sven Woop --- Right, this could be considered a user bug. However, we ran into this as we are successfully using this code sequence in our code: #include #define __forceinline inline __attribute__((always_inline)) struct v

[Bug tree-optimization/80374] [7 Regression] ICE in fold_convert_loc, at fold-const.c:2384

2017-04-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80374 --- Comment #2 from Jeffrey A. Law --- Testing a fix.

[Bug c++/80294] [5/6/7 Regression] ICE with constexpr and inheritance

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

[Bug target/80376] Some vec_xxpermdi usage lead to ICE

2017-04-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376 Bill Schmidt changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #2 from B

[Bug tree-optimization/80374] [7 Regression] ICE in fold_convert_loc, at fold-const.c:2384

2017-04-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80374 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/80057] typo in mips.opt: Virtualization Application Specific

2017-04-10 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80057 mpf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/80057] typo in mips.opt: Virtualization Application Specific

2017-04-10 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80057 --- Comment #4 from mpf at gcc dot gnu.org --- Author: mpf Date: Mon Apr 10 13:44:39 2017 New Revision: 246807 URL: https://gcc.gnu.org/viewcvs?rev=246807&root=gcc&view=rev Log: Update MIPS -mvirt option description gcc/ PR target/80057

[Bug rtl-optimization/80357] [7 Regression] ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu

2017-04-10 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357 Matthias Klose changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug tree-optimization/79390] [7 Regression] 10% performance drop in SciMark2 LU after r242550

2017-04-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 --- Comment #22 from Richard Biener --- (In reply to rguent...@suse.de from comment #21) > On April 7, 2017 6:57:13 PM GMT+02:00, "jakub at gcc dot gnu.org" > wrote: > >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79390 > > > >--- Comment #20 fr

[Bug tree-optimization/80293] [6/7 Regression] unnecessary code at -O2 (-O1 is fine)

2017-04-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80293 --- Comment #3 from Martin Jambor --- (In reply to Richard Biener from comment #2) > We have another bugreport that complains about SRA and Martin said he had > patches but intended to wait for GCC 8. My patch for PR 78687 unfortunately won't he

  1   2   >