[Bug c++/78761] New: C++14, compiler generate mangled name that can not be demangled

2016-12-09 Thread chihin.ko at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78761 Bug ID: 78761 Summary: C++14, compiler generate mangled name that can not be demangled Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/71112] [6/7 Regression] ICE with -fpie on aarch64 ILP32 big-endian

2016-12-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71112 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW Known to work|

[Bug fortran/70863] [F03] Finalization of array of derived type causes segfault

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70863 --- Comment #3 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #1) > related to/duplicate of pr69298? Yes, I think it's the same problem.

[Bug fortran/70863] [F03] Finalization of array of derived type causes segfault

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70863 --- Comment #2 from janus at gcc dot gnu.org --- Slightly reduced test case: module b_module implicit none type :: b character(len=4) :: name = "none" contains final :: destroy_b end type contains impure elemental

[Bug middle-end/78760] New: strcpy buffer overflow not diagnosed with -Wstringop-overflow

2016-12-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78760 Bug ID: 78760 Summary: strcpy buffer overflow not diagnosed with -Wstringop-overflow Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/78737] [OOP] linking error with deferred, undefined user-defined derived-type I/O

2016-12-09 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78737 --- Comment #6 from Damian Rouson --- Janus, thanks for your additional investigation and comments. Jerry, below is a better example in which I extend the abstract type and implement the deferred binding in the non-abstract child type but

[Bug fortran/59781] [5/6 Regression] [F03] Incorrect initialisation of derived type

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59781 janus at gcc dot gnu.org changed: What|Removed |Added Known to work||7.0 Summary|[5/6/7

[Bug fortran/78758] [7 Regression] Warning: '__builtin_memcpy' ... overflows the destination for string assignment

2016-12-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78758 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/77903] [F08] gfortran 6.1.0/7.0.0 accept invalid code with conflicting module/submodule interfaces

2016-12-09 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77903 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/77903] [F08] gfortran 6.1.0/7.0.0 accept invalid code with conflicting module/submodule interfaces

2016-12-09 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77903 --- Comment #12 from Paul Thomas --- Author: pault Date: Fri Dec 9 22:25:26 2016 New Revision: 243507 URL: https://gcc.gnu.org/viewcvs?rev=243507=gcc=rev Log: 2016-12-09 Paul Thomas PR fortran/77903 *

[Bug libgcc/78759] New: __gcc_qadd could have been "more commutative" when a+c is infinity, but a+c+aa+cc is not

2016-12-09 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78759 Bug ID: 78759 Summary: __gcc_qadd could have been "more commutative" when a+c is infinity, but a+c+aa+cc is not Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug fortran/78758] [7 Regression] Warning: '__builtin_memcpy' ... overflows the destination for string assignment

2016-12-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78758 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug testsuite/78740] test case powerpc/pr78691-ppc.c fails starting with its introduction in r243335

2016-12-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78740 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/78740] test case powerpc/pr78691-ppc.c fails starting with its introduction in r243335

2016-12-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78740 --- Comment #7 from Bill Schmidt --- Author: wschmidt Date: Fri Dec 9 22:02:04 2016 New Revision: 243506 URL: https://gcc.gnu.org/viewcvs?rev=243506=gcc=rev Log: 2016-12-09 Bill Schmidt PR

[Bug fortran/78758] [7 Regression] Warning: '__builtin_memcpy' ... overflows the destination for string assignment

2016-12-09 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78758 --- Comment #1 from Harald Anlauf --- Slightly reduced variant: integer function get_satid (name) character(len=*), intent(in) :: name character(len=16):: longname integer, external:: satid_longname ! longname(1:)

[Bug fortran/78758] New: [7 Regression] Warning: '__builtin_memcpy' ... overflows the destination for string assignment

2016-12-09 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78758 Bug ID: 78758 Summary: [7 Regression] Warning: '__builtin_memcpy' ... overflows the destination for string assignment Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug fortran/78757] New: ICE with function returning a pointer to a character

2016-12-09 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757 Bug ID: 78757 Summary: ICE with function returning a pointer to a character Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/72742] [7 Regression] ICE in extract_insn, at recog.c:2309 (error: unrecognizable insn) w/ -Os -mlra

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

[Bug tree-optimization/78721] [7 Regression] ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: in set_value_range, at tree-vrp.c:371

2016-12-09 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78721 --- Comment #4 from kugan at gcc dot gnu.org --- Author: kugan Date: Fri Dec 9 19:47:10 2016 New Revision: 243501 URL: https://gcc.gnu.org/viewcvs?rev=243501=gcc=rev Log: gcc/testsuite/ChangeLog: 2016-12-09 Kugan Vivekanandarajah

[Bug target/72742] [7 Regression] ICE in extract_insn, at recog.c:2309 (error: unrecognizable insn) w/ -Os -mlra

2016-12-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72742 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Dec 9 19:35:18 2016 New Revision: 243500 URL: https://gcc.gnu.org/viewcvs?rev=243500=gcc=rev Log: PR target/72742 * config/rs6000/rs6000.md (*and3_imm_mask_dot,

[Bug target/78683] [ppc] __builtin_ctzl code gen can be improved for -mcpu=power8 and earlier

2016-12-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78683 --- Comment #1 from Segher Boessenkool --- Author: segher Date: Fri Dec 9 19:31:06 2016 New Revision: 243499 URL: https://gcc.gnu.org/viewcvs?rev=243499=gcc=rev Log: rs6000: clz/ctz/ffs improvement (PR78683) On CPUs that implement popcnt[wd]

[Bug preprocessor/78680] [7 Regression] ICE in get_substring_ranges_for_loc, at input.c:1398

2016-12-09 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78680 Eric Gallager changed: What|Removed |Added CC||egall at gwmail dot gwu.edu --- Comment

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

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

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 --- Comment #8 from Marek Polacek --- Author: mpolacek Date: Fri Dec 9 19:05:28 2016 New Revision: 243498 URL: https://gcc.gnu.org/viewcvs?rev=243498=gcc=rev Log: PR middle-end/78750 * builtins.c (check_sizes): Use

[Bug bootstrap/26500] [4.2 Regression] info/gfortran.info is no longer being installed

2016-12-09 Thread mojca at macports dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26500 Mojca Miklavec changed: What|Removed |Added CC||mojca at macports dot org --- Comment

[Bug target/70321] [6/7 Regression] STV generates less optimized code

2016-12-09 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70321 --- Comment #14 from Ilya Enkovich --- (In reply to Jakub Jelinek from comment #13) > So shall we still consider moving 32-bit stv pass before the combiner > instead of after it? The argument about andn is no longer relevant, we have > a

[Bug fortran/78746] charlen_15.f90, charlen_03, charlen_10 ICE

2016-12-09 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78746 Dominique d'Humieres changed: What|Removed |Added Target|arm aarch64 | Status|UNCONFIRMED

[Bug rtl-optimization/78255] [5/6/7 regression] Indirect sibling call causing wrong code generation for ARM

2016-12-09 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78255 --- Comment #13 from avieira at gcc dot gnu.org --- Author: avieira Date: Fri Dec 9 17:22:20 2016 New Revision: 243496 URL: https://gcc.gnu.org/viewcvs?rev=243496=gcc=rev Log: PR78255: Make postreload aware of NO_FUNCTION_CSE

[Bug target/78748] [7 Regression] ICE in extract_insn, at recog.c:2311 (s390x-linux-gnu)

2016-12-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78748 --- Comment #3 from Jakub Jelinek --- Created attachment 40292 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40292=edit gcc7-pr78748.patch Untested fix (though, I don't have a quick setup to bootstrap/regtest it in the next week or so).

[Bug bootstrap/78756] New: Missing prefix in the name of gfortran.info

2016-12-09 Thread mojca at macports dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78756 Bug ID: 78756 Summary: Missing prefix in the name of gfortran.info Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/78746] charlen_15.f90, charlen_03, charlen_10 ICE

2016-12-09 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78746 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug sanitizer/78755] Thread sanitizer reports race with std::promise with -O0, works with -O{1,2,3}

2016-12-09 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78755 --- Comment #1 from Csaba Ráduly --- Created attachment 40291 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40291=edit Preprocessed source

[Bug sanitizer/78755] New: Thread sanitizer reports race with std::promise with -O0, works with -O{1,2,3}

2016-12-09 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78755 Bug ID: 78755 Summary: Thread sanitizer reports race with std::promise with -O0, works with -O{1,2,3} Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/78255] [5/6/7 regression] Indirect sibling call causing wrong code generation for ARM

2016-12-09 Thread avieira at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78255 --- Comment #12 from avieira at gcc dot gnu.org --- Author: avieira Date: Fri Dec 9 16:46:42 2016 New Revision: 243494 URL: https://gcc.gnu.org/viewcvs?rev=243494=gcc=rev Log: PR78255: Make postreload aware of NO_FUNCTION_CSE gcc/ChangeLog:

[Bug middle-end/78748] [7 Regression] ICE in extract_insn, at recog.c:2311 (s390x-linux-gnu)

2016-12-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78748 --- Comment #2 from Jakub Jelinek --- Started with r239685.

[Bug tree-optimization/78731] [5 Regression] Possible bug with switch when optimization is turned on.

2016-12-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78731 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #4

[Bug c++/68903] missing default initialization of member when combined with virtual inheritance

2016-12-09 Thread spam at trzeci dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68903 --- Comment #1 from trzeci --- Created attachment 40290 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40290=edit simpler testcase should output: 3 3 3 usually outputs: 3 3 0 C::c remains uninitialized after construction

[Bug target/72742] [7 Regression] ICE in extract_insn, at recog.c:2309 (error: unrecognizable insn) w/ -Os -mlra

2016-12-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72742 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/78748] [7 Regression] ICE in extract_insn, at recog.c:2311 (s390x-linux-gnu)

2016-12-09 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78748 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/61636] generic lambda: segfault / "cannot call member function without object"

2016-12-09 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug target/72861] [7 Regression] 25% tramp3d-v4 performance regression on ppc64le

2016-12-09 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72861 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/25733] missed diagnostic about assignment used as truth value.

2016-12-09 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25733 --- Comment #13 from Vincent Lefèvre --- Another example: int f1 (int a, int b, int c, int d) { if (a = c && b == d) return 0; else return 1; } int f2 (int a, int b, int c, int d) { if (a == b || (a = c && b == d)) return 0;

[Bug testsuite/78740] test case powerpc/pr78691-ppc.c fails starting with its introduction in r243335

2016-12-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78740 --- Comment #3 from Bill Schmidt --- Yes, that works: Running /home/wschmidt/gcc/gcc-mainline-test/gcc/testsuite/gcc.target/powerpc/powerpc.exp ... === gcc Summary for unix/-m64 === # of unsupported tests 1

[Bug rtl-optimization/78751] [7 Regression] ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn) w/ -Os -misel

2016-12-09 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/77933] Stack corruption on ARM when using high registers and __builtin_return_address

2016-12-09 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77933 --- Comment #7 from Thomas Preud'homme --- Author: thopre01 Date: Fri Dec 9 15:26:17 2016 New Revision: 243490 URL: https://gcc.gnu.org/viewcvs?rev=243490=gcc=rev Log: 2016-12-09 Thomas Preud'homme Backport

[Bug testsuite/78740] test case powerpc/pr78691-ppc.c fails starting with its introduction in r243335

2016-12-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78740 Bill Schmidt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/78740] test case powerpc/pr78691-ppc.c fails starting with its introduction in r243335

2016-12-09 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78740 --- Comment #5 from amker at gcc dot gnu.org --- (In reply to Bill Schmidt from comment #4) > Since the test doesn't have a { dg-do ... }, I don't know whether you were > intending compile-only or an executable test. Use { dg-do run { target ...

[Bug tree-optimization/78696] [7 Regression] -fprintf-return-value misoptimizes %.Ng where N is greater than 10

2016-12-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78696 --- Comment #16 from Martin Sebor --- (In reply to James Greenhalgh from comment #15) > (In reply to James Greenhalgh from comment #14) > > Did you accidentally commit it as part of r243419? I don't see the changes > > marked in your ChangeLog,

[Bug testsuite/78740] test case powerpc/pr78691-ppc.c fails starting with its introduction in r243335

2016-12-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78740 --- Comment #4 from Bill Schmidt --- Since the test doesn't have a { dg-do ... }, I don't know whether you were intending compile-only or an executable test. Use { dg-do run { target ... } } as needed.

[Bug c++/78749] [7 Regression] bogus warning for friend member function in anonymous namespace

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78749 --- Comment #4 from Marek Polacek --- It's tempting to write just --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -922,11 +922,12 @@ wrapup_globals_for_namespace (tree name_space, void* data ATTRIBUTE_UNUSED) unsigned int i;

[Bug testsuite/78740] test case powerpc/pr78691-ppc.c fails starting with its introduction in r243335

2016-12-09 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78740 --- Comment #2 from Bill Schmidt --- I think the target restriction /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */ is probably sufficient to fix this. I can test that in a bit.

[Bug c++/78754] New: incorrectly accepts non-deductible template parameter pack in function template

2016-12-09 Thread felix.morgner at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78754 Bug ID: 78754 Summary: incorrectly accepts non-deductible template parameter pack in function template Product: gcc Version: 6.2.1 Status: UNCONFIRMED

[Bug ipa/78027] [6/7 Regression] ICE in new_oacc_loop_routine, at omp-low.c:19000

2016-12-09 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78027 --- Comment #4 from cesar at gcc dot gnu.org --- Author: cesar Date: Fri Dec 9 14:45:54 2016 New Revision: 243488 URL: https://gcc.gnu.org/viewcvs?rev=243488=gcc=rev Log: PR ipa/78027 gcc/ * ipa-icf.c

[Bug target/72861] [7 Regression] 25% tramp3d-v4 performance regression on ppc64le

2016-12-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72861 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/78737] [OOP] linking error with deferred, undefined user-defined derived-type I/O

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78737 --- Comment #5 from janus at gcc dot gnu.org --- (In reply to janus from comment #4) > Looking at the dump, one probably needs a polymorphic reference to > 'a->_vptr->write_formatted' instead of using the interface? Btw, such wrong-code behavior

[Bug target/70321] [6/7 Regression] STV generates less optimized code

2016-12-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70321 --- Comment #13 from Jakub Jelinek --- So shall we still consider moving 32-bit stv pass before the combiner instead of after it? The argument about andn is no longer relevant, we have a one_cmpldi3_doubleword pattern now.

[Bug target/78733] [7 Regression] bootstrap broken on aarch64-linux-gnu

2016-12-09 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78733 --- Comment #12 from wilco at gcc dot gnu.org --- Author: wilco Date: Fri Dec 9 14:26:07 2016 New Revision: 243486 URL: https://gcc.gnu.org/viewcvs?rev=243486=gcc=rev Log: Add the test this time... PR target/78733 *

[Bug fortran/78737] [OOP] linking error with deferred, undefined user-defined derived-type I/O

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78737 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug target/78516] [7 Regression] ICE in lra_assign for e500v2

2016-12-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78516 --- Comment #2 from Peter Bergner --- So we're hitting this code in lra-assigns.c:lra_assign():1612: if (flag_checking && !flag_ipa_ra) for (i = FIRST_PSEUDO_REGISTER; i < max_regno; i++) if (lra_reg_info[i].nrefs != 0 &&

[Bug fortran/78593] [6/7 Regression] ICE in gfc_match_varspec, at fortran/primary.c:2053

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78593 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/78749] [7 Regression] bogus warning for friend member function in anonymous namespace

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78749 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/78550] [6/7 Regression] bit field and std::initializer_list

2016-12-09 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78550 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/78696] [7 Regression] -fprintf-return-value misoptimizes %.Ng where N is greater than 10

2016-12-09 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78696 --- Comment #15 from James Greenhalgh --- (In reply to James Greenhalgh from comment #14) > Did you accidentally commit it as part of r243419? I don't see the changes > marked in your ChangeLog, nor did you tag that revision as a fix for this >

[Bug fortran/78593] [6/7 Regression] ICE in gfc_match_varspec, at fortran/primary.c:2053

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78593 --- Comment #5 from janus at gcc dot gnu.org --- Author: janus Date: Fri Dec 9 14:06:47 2016 New Revision: 243485 URL: https://gcc.gnu.org/viewcvs?rev=243485=gcc=rev Log: 2016-12-09 Janus Weil Backport from trunk

[Bug c++/78550] [6/7 Regression] bit field and std::initializer_list

2016-12-09 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78550 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Fri Dec 9 14:04:53 2016 New Revision: 243484 URL: https://gcc.gnu.org/viewcvs?rev=243484=gcc=rev Log: PR c++/78550 * convert.c (convert_to_integer_1): Maybe fold

[Bug c++/78753] New: non-ambiguous overload resolution with function template partial ordering rules

2016-12-09 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78753 Bug ID: 78753 Summary: non-ambiguous overload resolution with function template partial ordering rules Product: gcc Version: 6.2.0 Status: UNCONFIRMED

[Bug c++/78752] [concepts] ICE with constrained variadic member function

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

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

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

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 --- Comment #6 from Marek Polacek --- Reduced: extern "C" char *strcpy (char *, const char *); void fn (char *p, char ) { strcpy (p, ); }

[Bug tree-optimization/78696] [7 Regression] -fprintf-return-value misoptimizes %.Ng where N is greater than 10

2016-12-09 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78696 --- Comment #14 from James Greenhalgh --- (In reply to Martin Sebor from comment #13) > Created attachment 40272 [details] > Lightly tested patch. > > (In reply to Martin Sebor from comment #6) > > After some more testing, although the patch I

[Bug tree-optimization/78725] [7 Regression] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/78725] [7 Regression] wrong code at -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2016-12-09 Thread matz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78725 Michael Matz changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |matz at gcc dot gnu.org ---

[Bug c++/78752] New: [concepts] ICE with constrained variadic member function

2016-12-09 Thread tcbrindle at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78752 Bug ID: 78752 Summary: [concepts] ICE with constrained variadic member function Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 --- Comment #5 from Marek Polacek --- Actually, this should be better: --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -3091,7 +3091,7 @@ check_sizes (int opt, tree exp, tree size, tree maxlen, tree str, tree objsize) { /* STR is

[Bug fortran/61767] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1491

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/37336] [F03] Finish derived-type finalization

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 61767, which changed state. Bug 61767 Summary: [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1491 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 What|Removed |Added

[Bug fortran/61767] [OOP] ICE in generate_finalization_wrapper at fortran/class.c:1491

2016-12-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61767 --- Comment #11 from janus at gcc dot gnu.org --- Author: janus Date: Fri Dec 9 13:21:44 2016 New Revision: 243483 URL: https://gcc.gnu.org/viewcvs?rev=243483=gcc=rev Log: 2016-12-09 Janus Weil PR fortran/61767

[Bug libstdc++/78713] [missed optimization] gcc doesn't use clobbers to optimize constructors

2016-12-09 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78713 --- Comment #4 from Avi Kivity --- This bug has a cousin https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 where the optimizer doesn't eliminate a store to an object that is about to be destroyed. While for sure it

[Bug rtl-optimization/78751] [7 Regression] ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn) w/ -Os -misel

2016-12-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 --- Comment #4 from Marek Polacek --- The following should fix it. diff --git a/gcc/builtins.c b/gcc/builtins.c index 20515e7..08bf148 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -3025,7 +3025,8 @@ get_size_range (tree exp, tree

[Bug libstdc++/78713] [missed optimization] gcc doesn't use clobbers to optimize constructors

2016-12-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78713 --- Comment #3 from Richard Biener --- Currently the middle-end only knows about constructors via DECL_CXX_CONSTRUCTOR_P. I suppose it would be more useful to communicate that a function fully initializes an object pointed to by parameter X.

[Bug fortran/78505] [F08] Coarray source allocation not synchronizing on oversubscribed cores

2016-12-09 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78505 --- Comment #4 from vehre at gcc dot gnu.org --- Waiting one week for regression reports.

[Bug libstdc++/78713] [missed optimization] gcc doesn't use clobbers to optimize constructors

2016-12-09 Thread a...@cloudius-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78713 --- Comment #2 from Avi Kivity --- I think the middle-end knows it is safe to write to *this, because this is happening in a constructor, so all of the object's memory is known clobbered. Similarly, if the assignment

[Bug rtl-optimization/78751] New: [7 Regression] ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn) w/ -Os -misel

2016-12-09 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78751 Bug ID: 78751 Summary: [7 Regression] ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn) w/ -Os -misel Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug fortran/78505] [F08] Coarray source allocation not synchronizing on oversubscribed cores

2016-12-09 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78505 --- Comment #3 from vehre at gcc dot gnu.org --- Author: vehre Date: Fri Dec 9 12:46:57 2016 New Revision: 243482 URL: https://gcc.gnu.org/viewcvs?rev=243482=gcc=rev Log: gcc/fortran/ChangeLog: 2016-12-09 Andre Vehreschild

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug tree-optimization/78189] [5 Regression] movaps generated for unaligned store in aligned struct, when struct is referenced via unaligned member.

2016-12-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78189 --- Comment #4 from Richard Biener --- Author: rguenth Date: Fri Dec 9 12:35:56 2016 New Revision: 243481 URL: https://gcc.gnu.org/viewcvs?rev=243481=gcc=rev Log: 2016-12-09 Richard Biener Backport from mainline

[Bug fortran/44265] Link error with reference to parameter array in specification expression

2016-12-09 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44265 --- Comment #19 from Paul Thomas --- Created attachment 40286 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40286=edit Failing testcases with -flto under Darwin The PR is fixed under Linux but gives a link error under Darwin with -flto.

[Bug c++/78744] Build errors on OS X 12.1 with Xcode 8.1 GCC 6.2.0

2016-12-09 Thread aroldan at protonmail dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78744 aroldan changed: What|Removed |Added Summary|Build errors on OS X 12.1 |Build errors on OS X 12.1

[Bug c++/78550] [6/7 Regression] bit field and std::initializer_list

2016-12-09 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78550 --- Comment #2 from Nathan Sidwell --- Author: nathan Date: Fri Dec 9 12:18:36 2016 New Revision: 243479 URL: https://gcc.gnu.org/viewcvs?rev=243479=gcc=rev Log: PR c++/78550 * convert.c (convert_to_integer_1): Maybe fold

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 --- Comment #3 from Marek Polacek --- Confirmed it's r243419.

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 Markus Trippelsdorf changed: What|Removed |Added CC||msebor at gcc dot gnu.org,

[Bug tree-optimization/78699] [7 Regression] ICE (segfault) on powerpc64le-linux-gnu (memory-hog)

2016-12-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78699 --- Comment #4 from Richard Biener --- Ok, not easily (that's even an understatement...). It's going to be Index: gcc/tree-vect-data-refs.c === --- gcc/tree-vect-data-refs.c

[Bug middle-end/78750] [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/78727] [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2656 (error: flow control insn inside a basic block)

2016-12-09 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78727 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/44265] Link error with reference to parameter array in specification expression

2016-12-09 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44265 --- Comment #18 from Paul Thomas --- Author: pault Date: Fri Dec 9 11:55:27 2016 New Revision: 243478 URL: https://gcc.gnu.org/viewcvs?rev=243478=gcc=rev Log: 2016-12-09 Paul Thomas PR fortran/44265 *

[Bug middle-end/78750] New: [7 Regression] ICE in get_range_info, at tree-ssanames.c:375

2016-12-09 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78750 Bug ID: 78750 Summary: [7 Regression] ICE in get_range_info, at tree-ssanames.c:375 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/78610] [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2656 (error: flow control insn inside a basic block)

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

[Bug c++/78749] [7 Regression] bogus warning for friend member function in anonymous namespace

2016-12-09 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78749 --- Comment #2 from Markus Trippelsdorf --- This warning happens a lot when compiling LLVM (for friend operators).

[Bug c++/78749] [7 Regression] bogus warning for friend member function in anonymous namespace

2016-12-09 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78749 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >