[Bug tree-optimization/71588] [4.9/5/6/7 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in execute_todo, at passes.c:2009

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71588 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Jun 21 06:59:33 2016 New Revision: 237628 URL: https://gcc.gnu.org/viewcvs?rev=237628&root=gcc&view=rev Log: PR tree-optimization/71588 * tree-ssa-strlen.c (valid_buil

[Bug c++/71528] [5/6 Regression] multiple extern reference declarations produce uninitialized access

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71528 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Tue Jun 21 07:02:59 2016 New Revision: 237629 URL: https://gcc.gnu.org/viewcvs?rev=237629&root=gcc&view=rev Log: Backported from mainline 2016-06-14 Jakub Jelinek

[Bug c++/71604] New: ICE on valid C++11 code with range-based for loop: in pop_binding, at cp/name-lookup.c:376

2016-06-21 Thread su at cs dot ucdavis.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71604 Bug ID: 71604 Summary: ICE on valid C++11 code with range-based for loop: in pop_binding, at cp/name-lookup.c:376 Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug middle-end/71581] [5/6/7 Regression] ICE on valid code on x86_64-linux-gnu with -Wuninitialized (Segmentation fault)

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71581 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Jun 21 07:13:52 2016 New Revision: 237632 URL: https://gcc.gnu.org/viewcvs?rev=237632&root=gcc&view=rev Log: Backported from mainline 2016-06-20 Jakub Jelinek

[Bug tree-optimization/71588] [4.9/5/6/7 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in execute_todo, at passes.c:2009

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71588 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Jun 21 07:15:36 2016 New Revision: 237633 URL: https://gcc.gnu.org/viewcvs?rev=237633&root=gcc&view=rev Log: PR tree-optimization/71588 * tree-ssa-strlen.c (valid_buil

[Bug c/71567] Incorrect loop optimization

2016-06-21 Thread tyoma.ariv at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 --- Comment #4 from Artem --- Thank you very much. This help

[Bug rtl-optimization/71591] SIGSEGV in test_uncond_jump (rtl-tests.c:90) with -E -fself-test

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71591 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/71581] [5 Regression] ICE on valid code on x86_64-linux-gnu with -Wuninitialized (Segmentation fault)

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71581 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |5.5 Summary|[5/6/7 Regression

[Bug tree-optimization/71588] [4.9/5 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in execute_todo, at passes.c:2009

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71588 Jakub Jelinek changed: What|Removed |Added Summary|[4.9/5/6/7 Regression] ICE |[4.9/5 Regression] ICE on

[Bug c++/71528] [5 Regression] multiple extern reference declarations produce uninitialized access

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71528 Jakub Jelinek changed: What|Removed |Added Summary|[5/6 Regression] multiple |[5 Regression] multiple

[Bug c++/71604] [6/7 Regression] ICE on valid C++11 code with range-based for loop: in pop_binding, at cp/name-lookup.c:376

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71604 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/71605] New: ICE on invalid C++ code (incorrect member access): in pop_binding, at cp/name-lookup.c:368

2016-06-21 Thread su at cs dot ucdavis.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71605 Bug ID: 71605 Summary: ICE on invalid C++ code (incorrect member access): in pop_binding, at cp/name-lookup.c:368 Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug c++/64095] [C++14] Ellipsis at end of generic lambda parameter-declaration-clause should be parsed as a parameter pack

2016-06-21 Thread malekpatryk+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64095 Patryk changed: What|Removed |Added CC||malekpatryk+gcc at gmail dot com --- Comment #

[Bug c++/71605] ICE on invalid C++ code (incorrect member access): in pop_binding, at cp/name-lookup.c:368

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71605 Jakub Jelinek changed: What|Removed |Added Keywords||error-recovery Status|UNCONF

[Bug c/71602] [6/7 regression] ICE on __builtin_va_arg in build_va_arg, at c-family/c-common.c:5810

2016-06-21 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71602 --- Comment #6 from vries at gcc dot gnu.org --- Created attachment 38737 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38737&action=edit tentative patch with log entry and test-case Currently testing on x86_64.

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #11 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:10:46 2016 New Revision: 237635 URL: https://gcc.gnu.org/viewcvs?rev=237635&root=gcc&view=rev Log: PR target/71103 * config/avr/avr.md (movqi): Only handle

[Bug c/71606] New: ICE on -O2 and above on x86_64-linux-gnu (internal compiler error: in get_expr_operands, at tree-ssa-operands.c:882)

2016-06-21 Thread chengniansun at gmail dot com
: posix gcc version 7.0.0 20160621 (experimental) [trunk revision 237628] (GCC) $: $: gcc-trunk -O2 small.c unhandled expression in get_expr_operands(): unit size align 64 symtab 0 alias set -1 canonical type 0x7fe5fd7ae5e8 precision 64 pointer_to_this

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #12 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:15:25 2016 New Revision: 237636 URL: https://gcc.gnu.org/viewcvs?rev=237636&root=gcc&view=rev Log: PR target/71103 * config/avr/avr.md (movqi): Only handle

[Bug c/71606] [4.9/5/6/7 Regression] ICE on -O2 and above on x86_64-linux-gnu (internal compiler error: in get_expr_operands, at tree-ssa-operands.c:882)

2016-06-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71606 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNC

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #13 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:18:26 2016 New Revision: 237637 URL: https://gcc.gnu.org/viewcvs?rev=237637&root=gcc&view=rev Log: PR target/71103 * config/avr/avr.md (movqi): Only handle

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 --- Comment #14 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:23:08 2016 New Revision: 237638 URL: https://gcc.gnu.org/viewcvs?rev=237638&root=gcc&view=rev Log: PR target/71103 * config/avr/avr.md (movqi): Only handle

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:36:13 2016 New Revision: 237639 URL: https://gcc.gnu.org/viewcvs?rev=237639&root=gcc&view=rev Log: PR target/30417 * config/avr/gen-avr-mmcu-specs.c (print_

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:39:59 2016 New Revision: 237640 URL: https://gcc.gnu.org/viewcvs?rev=237640&root=gcc&view=rev Log: Backport from 2016-06-21 trunk r237639. PR target/30417

[Bug target/71607] New: [ARM] ice due to forbidden enabled attribute dependency on instruction operands

2016-06-21 Thread mickael.guene at st dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71607 Bug ID: 71607 Summary: [ARM] ice due to forbidden enabled attribute dependency on instruction operands Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: n

[Bug target/71607] [ARM] ice due to forbidden enabled attribute dependency on instruction operands

2016-06-21 Thread mickael.guene at st dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71607 --- Comment #1 from Mickael Guene --- Created attachment 38739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38739&action=edit ice backtrace

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #9 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 10:43:12 2016 New Revision: 237641 URL: https://gcc.gnu.org/viewcvs?rev=237641&root=gcc&view=rev Log: Backport from 2016-06-21 trunk r237639. PR target/30417

[Bug target/71607] [5/6/7 Regression] [ARM] ice due to forbidden enabled attribute dependency on instruction operands

2016-06-21 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71607 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 --- Comment #10 from Georg-Johann Lay --- Author: gjl Date: Tue Jun 21 11:00:54 2016 New Revision: 237643 URL: https://gcc.gnu.org/viewcvs?rev=237643&root=gcc&view=rev Log: Backport from 2016-06-21 trunk r237639. PR target/30417

[Bug target/30417] Section .data cannot be moved with -mmcu=atmega88

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30417 Georg-Johann Lay changed: What|Removed |Added Priority|P3 |P5 Status|UNCONFIRMED

[Bug tree-optimization/71144] [6/7 Regression] isl_aff.c:1001: position out of bounds

2016-06-21 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71144 Dominik Vogt changed: What|Removed |Added CC||vogt at linux dot vnet.ibm.com --- Commen

[Bug tree-optimization/71608] New: Wrong constant folding

2016-06-21 Thread ishiura-compiler at ml dot kwansei.ac.jp
: posix gcc version 7.0.0 20160621 (experimental) (GCC) Reproduces on gcc-4.3.6 or later with -O3. Also reproduces on 5.1.0 or later with -O1.

[Bug target/71549] ICE on valid code at -O2 and -O3 with -g enabled in 64-bit mode on x86_64-linux-gnu: in simplify_subreg, at simplify-rtx.c:5952

2016-06-21 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71549 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/71549] ICE on valid code at -O2 and -O3 with -g enabled in 64-bit mode on x86_64-linux-gnu: in simplify_subreg, at simplify-rtx.c:5952

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

[Bug fortran/71068] [5/6/7 Regression] ICE in check_data_variable(): Bad expression

2016-06-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71068 --- Comment #2 from kargl at gcc dot gnu.org --- cat pr71068.diff Index: resolve.c === --- resolve.c (revision 236243) +++ resolve.c (working copy) @@ -14495,6 +14495,17 @@ check_

[Bug tree-optimization/71608] Wrong constant folding

2016-06-21 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/71068] [5/6/7 Regression] ICE in check_data_variable(): Bad expression

2016-06-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71068 --- Comment #3 from Dominique d'Humieres --- > cat pr71068.diff > Index: resolve.c > === ... Different patch at https://gcc.gnu.org/ml/fortran/2016-06/msg00067.html.

[Bug driver/68463] Offloading fails when some objects are compiled with LTO and some without

2016-06-21 Thread jnorris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68463 jnorris at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug tree-optimization/71608] Wrong constant folding

2016-06-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608 --- Comment #2 from Andrew Pinski --- Hmm. Doesnt -2 * x overflow?

[Bug tree-optimization/71608] Wrong constant folding

2016-06-21 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608 --- Comment #3 from Marc Glisse --- negate_expr_p, for MULT_EXPR, has: /* INT_MIN/n * n doesn't overflow while negating one operand it does if n is a power of two. */ if (INTEGRAL_TYPE_P (TREE_TYPE (t)) && ! TYPE_

[Bug tree-optimization/71608] Wrong constant folding

2016-06-21 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71608 Marc Glisse changed: What|Removed |Added Keywords||wrong-code --- Comment #4 from Marc Glisse

[Bug tree-optimization/71609] New: [7 regression] test case gfortran.dg/vect/vect-8.f90 fails starting with r237549

2016-06-21 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71609 Bug ID: 71609 Summary: [7 regression] test case gfortran.dg/vect/vect-8.f90 fails starting with r237549 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/71609] [7 regression] test case gfortran.dg/vect/vect-8.f90 fails starting with r237549

2016-06-21 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71609 --- Comment #1 from amker at gcc dot gnu.org --- Should be fixed by https://gcc.gnu.org/ml/gcc-patches/2016-06/msg01501.html ? Thanks, bin

[Bug middle-end/66867] Suboptimal code generation for atomic_compare_exchange

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66867 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug target/71103] avr-gcc crashes with unrecognizable insn error

2016-06-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71103 Georg-Johann Lay changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug fortran/71068] [5/6/7 Regression] ICE in check_data_variable(): Bad expression

2016-06-21 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71068 --- Comment #4 from Tobias Burnus --- Author: burnus Date: Tue Jun 21 18:36:25 2016 New Revision: 237656 URL: https://gcc.gnu.org/viewcvs?rev=237656&root=gcc&view=rev Log: 2016-06-20 Tobias Burnus PR fortran/71068 * resolve.c

[Bug c/71610] New: Improve location for "warning: ISO C restricts enumerator values to range of ‘int’ [-Wpedantic]"?

2016-06-21 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71610 Bug ID: 71610 Summary: Improve location for "warning: ISO C restricts enumerator values to range of ‘int’ [-Wpedantic]"? Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug sanitizer/71611] New: UBSan shows type '' for enums based on long

2016-06-21 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71611 Bug ID: 71611 Summary: UBSan shows type '' for enums based on long Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitiz

[Bug fortran/71612] [Coarray] Wrongly rejects coindexed variables in READ

2016-06-21 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71612 --- Comment #1 from Tobias Burnus --- Something like the following is needed; the first part should be fine (untested) and be sufficient for compiling the code, but the FIXME is required to get it actually working ... diff --git a/gcc/fortran/re

[Bug c/71613] New: Useful warnings silenced when macros from system headers are used

2016-06-21 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71613 Bug ID: 71613 Summary: Useful warnings silenced when macros from system headers are used Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/71612] [Coarray] Wrongly rejects coindexed variables in READ

2016-06-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71612 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/71068] [5/6/7 Regression] ICE in check_data_variable(): Bad expression

2016-06-21 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71068 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/71609] [7 regression] test case gfortran.dg/vect/vect-8.f90 fails starting with r237549

2016-06-21 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71609 Bill Seurer changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/71603] pragma diagnostic pop fails to restore warning level

2016-06-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71603 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic, easyhack S

[Bug c/71597] Confusing error for incompatible enums, wrong previous declaration

2016-06-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71597 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Status|UNCO

[Bug c/71567] Incorrect loop optimization

2016-06-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug c/71610] Improve location for "warning: ISO C restricts enumerator values to range of ‘int’ [-Wpedantic]"?

2016-06-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71610 Manuel López-Ibáñez changed: What|Removed |Added Keywords||easyhack Status|UNCONF

[Bug c/71613] Useful warnings silenced when macros from system headers are used

2016-06-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71613 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/71613] Useful warnings silenced when macros from system headers are used

2016-06-21 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71613 --- Comment #2 from joseph at codesourcery dot com --- Really we need to review warnings and work out in each case what's right for macros from system headers. If the issue is about the macro's contents, the warnings should be avoided; if it r

[Bug target/70123] [5 Regression] Miscompilation of cfitsio testcase on s390x-linux starting with r222144

2016-06-21 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70123 --- Comment #11 from Jeffrey A. Law --- Certainly OK by me to backport to gcc-5. So go for it Bernd when you're back from PTO.

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2016-06-21 Thread gcc at joe dot coffland.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 Joseph Coffland changed: What|Removed |Added CC||gcc at joe dot coffland.com --- Commen

[Bug fortran/70864] internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1403

2016-06-21 Thread ian_harvey at bigpond dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70864 Ian Harvey changed: What|Removed |Added CC||ian_harvey at bigpond dot com --- Comment #

[Bug fortran/71580] Internal compiler error associated with type bound defined assignment

2016-06-21 Thread ian_harvey at bigpond dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71580 Ian Harvey changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/71614] New: ppc __gcc_qmul is mis-optimized not to be commutative

2016-06-21 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71614 Bug ID: 71614 Summary: ppc __gcc_qmul is mis-optimized not to be commutative Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug middle-end/71614] ppc __gcc_qmul is mis-optimized not to be commutative

2016-06-21 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71614 --- Comment #1 from Tim Shen --- > Suppose the attached file is a.c s/a\.c/b.c

[Bug middle-end/71614] ppc __gcc_qmul is mis-optimized not to be commutative

2016-06-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71614 --- Comment #2 from Andrew Pinski --- Two things, try -fno-strict-aliasing first. Since your main violates C aliasing rules. Second thing to try is -ffp-contract=off as I am suspecting: v = a*d; w = b*c; tau += v + w; /* Add in other se

[Bug middle-end/71614] ppc __gcc_qmul is mis-optimized not to be commutative

2016-06-21 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71614 --- Comment #3 from Tim Shen --- (In reply to Andrew Pinski from comment #2) > Two things, try -fno-strict-aliasing first. > Since your main violates C aliasing rules. > Second thing to try is -ffp-contract=off as I am suspecting: > v = a*d; >

[Bug middle-end/71614] ppc __gcc_qmul is mis-optimized not to be commutative

2016-06-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71614 --- Comment #4 from Andrew Pinski --- The fix would then put a barrier to force GCC not to do contracting. Something like: v = a*d; w = b*c; asm("":"+f"(v)); asm("":"+f"(w)); tau += v + w; /* Add in other second-order terms. */

[Bug middle-end/71614] ppc __gcc_qmul is mis-optimized not to be commutative

2016-06-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71614 --- Comment #5 from Andrew Pinski --- The other thing to note is: https://gcc.gnu.org/ml/gcc-patches/2014-01/msg00157.html

[Bug fortran/71615] New: wrong float point result with {-Ofast, -march=native, and valgrind}

2016-06-21 Thread wangmianzhi1 at linuxmail dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71615 Bug ID: 71615 Summary: wrong float point result with {-Ofast, -march=native, and valgrind} Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: major

[Bug target/71615] wrong float point result with {-Ofast, -march=native, and valgrind}

2016-06-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71615 Andrew Pinski changed: What|Removed |Added Target||x86_64-pc-linux-gnu Component|f

[Bug fortran/71592] Add some facilities for compile-time check

2016-06-21 Thread heresy-me at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71592 --- Comment #2 from 鍾 --- (In reply to Jakub Jelinek from comment #1) > You can't use such static_assert this way in C++, unless the function is > constexpr, nor in C (always), so guess you are proposing something > completely different (like, if

[Bug c++/71616] New: ICE on valid C++ code at -O1 and above on x86_64-linux-gnu: in binds_to_current_def_p, at symtab.c:2232

2016-06-21 Thread su at cs dot ucdavis.edu
: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 7.0.0 20160621 (experimental) [trunk revision 237650] (GCC) $ $ g++-trunk -O0 -c small.cpp $ g++-6.1 -O1 -c small.cpp $ $ g++-trunk -O1 -c small.cpp

[Bug fortran/71592] Add some facilities for compile-time check

2016-06-21 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71592 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/71592] Add some facilities for compile-time check

2016-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71592 --- Comment #4 from Jakub Jelinek --- (In reply to 鍾 from comment #2) > (In reply to Jakub Jelinek from comment #1) > > You can't use such static_assert this way in C++, unless the function is > > constexpr, nor in C (always), so guess you are pr

[Bug fortran/71592] Add some facilities for compile-time check

2016-06-21 Thread heresy-me at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71592 鍾 changed: What|Removed |Added Resolution|WONTFIX |FIXED --- Comment #5 from 鍾 --- full_assertion_decl