[Bug rtl-optimization/81290] [8 Regression] ICE in update_br_prob_note

2017-07-24 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81290 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81513] __has_cpp_attribute returns non-zero in C++03 mode, but attributes don't work

2017-07-24 Thread proski at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81513 --- Comment #2 from Pavel Roskin --- __has_cpp_attribute is not supposed to check if the functionality is available somehow using some other approaches and keywords. It is supposed to check if the functionality is available as an attribute. Even

[Bug c++/81525] [7/8 Regression] Invalid codegen with constexpr variable template

2017-07-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81525 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libobjc/48626] --enable-objc-gc should be automatic

2017-07-24 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48626 Matthias Klose changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #2

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2017-07-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/81529] New: [8 Regression] ICE in vectorizable_induction, at tree-vect-loop.c:6613

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81529 Bug ID: 81529 Summary: [8 Regression] ICE in vectorizable_induction, at tree-vect-loop.c:6613 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-val

[Bug ipa/81520] [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:639

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

[Bug c++/81508] Warning: Control reaches end of non-void function - noreturn attribute ignored if nontrivial destructor runs afterwards

2017-07-24 Thread juraj.orsulic at fer dot hr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81508 --- Comment #5 from Juraj Oršulić --- Thanks on the explanation, Jonathan - you are completely right. I have renamed the bug title accordingly. Also, here's a further reduction of the working example - there's no need for a switch and the conditi

[Bug sanitizer/81530] New: [8 Regression] ICE in add_stmt in gcc/cp/semantics.c:387

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81530 Bug ID: 81530 Summary: [8 Regression] ICE in add_stmt in gcc/cp/semantics.c:387 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug fortran/66102] dependency mishandling with reallocation on assignment

2017-07-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66102 --- Comment #4 from Thomas Koenig --- Author: tkoenig Date: Mon Jul 24 09:50:28 2017 New Revision: 250471 URL: https://gcc.gnu.org/viewcvs?rev=250471&root=gcc&view=rev Log: 2017-07-24 Thomas Koenig Mikael Morin PR fortra

[Bug fortran/66102] dependency mishandling with reallocation on assignment

2017-07-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66102 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/81530] [8 Regression] ICE in add_stmt in gcc/cp/semantics.c:387

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

[Bug fortran/81531] New: Multiple Invalid reads seen by valgrind on an invalid test-case

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81531 Bug ID: 81531 Summary: Multiple Invalid reads seen by valgrind on an invalid test-case Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug target/81532] New: [8 Regression] insn does not satisfy its constraints: extract_constrain_insn, at recog.c:2213

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81532 Bug ID: 81532 Summary: [8 Regression] insn does not satisfy its constraints: extract_constrain_insn, at recog.c:2213 Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug ipa/81520] [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:639

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81520 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/81511] [8 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in operator[], at vec.h:749

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

[Bug libfortran/80365] undefined memcpy while writing zero length array on unformatted stream in unix.c

2017-07-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365 --- Comment #6 from Thomas Koenig --- Forgot the PR in the commit message... here it is: https://gcc.gnu.org/viewcvs?rev=250473&root=gcc&view=rev

[Bug c++/60517] warning/error for taking address of member of a temporary object

2017-07-24 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517 Fredrik Hederstierna changed: What|Removed |Added CC||fredrik.hederstierna@securi

[Bug target/81532] [8 Regression] insn does not satisfy its constraints: extract_constrain_insn, at recog.c:2213

2017-07-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81532 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/81527] Missing inherited constructor by "using-declarations"

2017-07-24 Thread tuwwcn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81527 --- Comment #1 from Wei-Wei Tu --- Some additional information: The above code is REJECTED by GCC 6.2.0 too. But the below code is PASSED by GCC 6.1.0, 6.3.0, 6.4.0, 7.1.0. The only difference is explicitly casting p's type to its own type. //

[Bug c++/81527] Missing inherited constructor by "using-declarations"

2017-07-24 Thread tuwwcn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81527 --- Comment #2 from Wei-Wei Tu --- > The above code is REJECTED by GCC 6.2.0 too. ==> Sorry for the mistake, The above code is ACCEPTED by GCC 6.2.0 too. (In reply to Wei-Wei Tu from comment #1) > Some additional information: > > The above code

[Bug c++/60517] warning/error for taking address of member of a temporary object

2017-07-24 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517 --- Comment #20 from Fredrik Hederstierna --- Simplest fix might be something like? - else + else if (access->grp_no_warning) so we do not always suppress warnings, but name will look funny for temp.

[Bug tree-optimization/81511] [8 Regression] ICE at -O3 on valid code on x86_64-linux-gnu in operator[], at vec.h:749

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81511 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/81510] [8 Regression] ice in operator[], at vec.h:749

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81510 Martin Liška changed: What|Removed |Added CC||helloqirun at gmail dot com --- Comment #

[Bug driver/81519] Enhancement: Add --help=target-distcc or similar to dump clean, optimal CFLAGS without using -march=native

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Assig

[Bug target/81532] [8 Regression] insn does not satisfy its constraints: extract_constrain_insn, at recog.c:2213

2017-07-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81532 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/81513] __has_cpp_attribute returns non-zero in C++03 mode, but attributes don't work

2017-07-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81513 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #

[Bug c++/81506] Invalid declaration with decltype accepted

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

[Bug tree-optimization/81303] [8 Regression] 410.bwaves regression caused by r249919

2017-07-24 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81303 --- Comment #8 from Wilco --- (In reply to Richard Biener from comment #7) Unfortunately these commits have had no effect on AArch64...

[Bug c++/81513] __has_cpp_attribute returns non-zero in C++03 mode, but attributes don't work

2017-07-24 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81513 --- Comment #4 from Andreas Schwab --- > #if __cpp_attributes >= 200809 && defined(__has_cpp_attribute) \ > && __has_cpp_attribute(maybe_unused) This will result in a syntax error if the compiler does not support __has_cpp_attribute. You need

[Bug fortran/81531] Multiple Invalid reads seen by valgrind on an invalid test-case

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

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

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

[Bug target/81521] [8 Regression] After [r250413] GCC 8.0 doesn't compile for Windows

2017-07-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81521 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Mon Jul 24 13:02:06 2017 New Revision: 250476 URL: https://gcc.gnu.org/viewcvs?rev=250476&root=gcc&view=rev Log: PR bootstrap/81521 * tree.def: Remove TYPE_METHODS documen

[Bug c++/61414] enum class bitfield size-checking failure

2017-07-24 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 --- Comment #10 from Tom Tromey --- I ran into this again, went to file a bug, and then found that I'd already filed the bug...

[Bug c++/81533] New: g++ pops up a constructor for objects that could be initialized at load-time

2017-07-24 Thread gjl at gcc dot gnu.org
l$_ZZ7get_S_AvE1s, %eax ret .section.rodata.str1.1,"aMS",@progbits,1 .LC0: .string "TextA" .section.rodata _ZZ7get_S_AvE1s: .long 123 .zero 4 .quad .LC0 .ident "GCC: (GNU) 8.0.0 20170724 (exper

[Bug other/29504] target header files are refrenced (or installed) in wrong location.

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29504 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug target/81521] [8 Regression] After [r250413] GCC 8.0 doesn't compile for Windows

2017-07-24 Thread mateuszb at poczta dot onet.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81521 --- Comment #3 from mateuszb at poczta dot onet.pl --- Thanks for the patch. There is left one more TYPE_METHODS in file trunk/gcc/config/i386/winnt-cxx.c see https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/i386/winnt-cxx.c?view=markup&pathrev=25

[Bug fortran/63469] Automatic reallocation of allocatable scalar length even when substring implicitly specified

2017-07-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63469 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug other/32184] Library makefiles are not created properly. Re-configuring and creating warnings.

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32184 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/58750] Wrong code with realloc on assignment and array constructors with numeric type conversion

2017-07-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58750 Thomas Koenig changed: What|Removed |Added Last reconfirmed|2013-10-16 00:00:00 |2017-7-24 CC|

[Bug fortran/58750] Wrong code with realloc on assignment and array constructors with numeric type conversion

2017-07-24 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58750 --- Comment #13 from Dominique d'Humieres --- > Still fails on current trunk. Well, if has not been marked as fixed, it likely to fail on trunk. More seriously, from comment 7, IIRC it is a duplicate of pr52162.

[Bug bootstrap/50229] [5/6/7/8 Regression] Can't cross compile for i686-apple-darwin10 from x86_64-redhat_linux

2017-07-24 Thread vanboxem.ruben at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50229 --- Comment #28 from Ruben Van Boxem --- (In reply to Eric Gallager from comment #27) > (In reply to Iain Sandoe from comment #21) > > (In reply to Francois-Xavier Coudert from comment #20) > > > This PR appears to report two different issues: >

[Bug target/81534] New: [7 Regression] ICE in in extract_insn, at recog.c:2311 (unrecognizable insn)

2017-07-24 Thread doko at gcc dot gnu.org
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with gcc-7-branch 20170724 on s390x-linux-gnu. Looks like a variant of PR78738 and PR78748. $ cat global_statistics.i

[Bug bootstrap/50229] [5/6/7/8 Regression] Can't cross compile for i686-apple-darwin10 from x86_64-redhat_linux

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50229 Eric Gallager changed: What|Removed |Added Status|WAITING |NEW --- Comment #29 from Eric Gallager

[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/81535] New: [8 regression] gcc.target/powerpc/pr79439.c fails starting with r250442

2017-07-24 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81535 Bug ID: 81535 Summary: [8 regression] gcc.target/powerpc/pr79439.c fails starting with r250442 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug other/35511] release scripts added release note to zlib/ChangeLog, not zlib/ChangeLog.gcj

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35511 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug other/35848] Missing port entry in MAINTAINERS file

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35848 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/81536] New: Recent crash in is_std_substitution

2017-07-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81536 Bug ID: 81536 Summary: Recent crash in is_std_substitution Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A

[Bug c/81537] New: ice in vect_is_simple_reduction

2017-07-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81537 Bug ID: 81537 Summary: ice in vect_is_simple_reduction Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assigne

[Bug tree-optimization/81537] [8 Regression] ice in vect_is_simple_reduction

2017-07-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81537 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Version|7.0

[Bug c++/81536] [8 Regression] Recent crash in is_std_substitution

2017-07-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81536 Andrew Pinski changed: What|Removed |Added Version|7.0 |8.0 Target Milestone|---

[Bug c++/60517] warning/error for taking address of member of a temporary object

2017-07-24 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517 --- Comment #21 from Fredrik Hederstierna --- Started with fix for PR 43347 to not warn on artificial aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43347

[Bug other/18907] library makefiles should not set AM_MAKEFLAGS

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18907 Eric Gallager changed: What|Removed |Added Last reconfirmed|2009-03-22 10:01:20 |2017-7-24 CC|

[Bug other/40046] GCC build fails due to host_address variable is empty

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40046 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug other/43445] Toplevel Makefile needs to export ABI variants of LD_LIBRARY_PATH

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43445 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug rtl-optimization/81538] New: Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26

2017-07-24 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 Bug ID: 81538 Summary: Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26 Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: nor

[Bug rtl-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26

2017-07-24 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #1 from John David Anglin --- Created attachment 41820 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41820&action=edit .s file Assembler output for Perl_custom_op_get_field.

[Bug target/79041] aarch64 backend emits R_AARCH64_ADR_PREL_PG_HI21 relocation despite -mpc-relative-literal-loads option being used

2017-07-24 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79041 --- Comment #7 from Wilco --- Author: wilco Date: Mon Jul 24 18:06:37 2017 New Revision: 250478 URL: https://gcc.gnu.org/viewcvs?rev=250478&root=gcc&view=rev Log: Fix PR79041 As described in PR79041, -mcmodel=large -mpc-relative-literal-loads m

[Bug other/44644] type/data name clash makes --enable-build-with-cxx cc1 hard to debug

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44644 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug other/45503] "make distclean" Does Not Remove All Local Configuration Data

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45503 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug bootstrap/25470] [5/6/7/8 Regression] fixincludes/ subdirectory not cleaned by "make distclean"

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25470 Eric Gallager changed: What|Removed |Added CC||tom.browder at gmail dot com --- Comment

[Bug c++/67633] decltype on parenthesized class member access of a prvalue sometimes return wrong results

2017-07-24 Thread felix.morgner at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67633 --- Comment #1 from Felix Morgner --- The same holds true for GCC 7.1 and the deduced type for decltype(auto): #include #include struct s{int v{};}; decltype(auto) f() { return (s{}.v); } int main() { std::cout << std::is_same{} <

[Bug c++/60517] warning/error for taking address of member of a temporary object

2017-07-24 Thread lopezibanez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60517 --- Comment #22 from Manuel López-Ibáñez --- I honestly think the uninitialized warning and fixing TREE_NOWARNING is a red-herring. My testcase should get a warning even if .x[0] is initialized. The problem is taking the address of a temporary. T

[Bug testsuite/81539] New: Bad target in new test case gcc.target/powerpc/mmx-packuswb-1.c from r250432

2017-07-24 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81539 Bug ID: 81539 Summary: Bad target in new test case gcc.target/powerpc/mmx-packuswb-1.c from r250432 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: norm

[Bug fortran/79312] Empty array in assignment not correctly type-checked

2017-07-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79312 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug target/81535] [8 regression] gcc.target/powerpc/pr79439.c fails starting with r250442

2017-07-24 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81535 --- Comment #1 from seurer at gcc dot gnu.org --- The failures also occur on powerpc64 BE. This test that was added in this revision also fails: spawn /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/

[Bug fortran/58750] Wrong code with realloc on assignment and array constructors with numeric type conversion

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

[Bug fortran/52162] Bogus -fcheck=bounds with realloc on assignment to unallocated LHS

2017-07-24 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52162 Dominique d'Humieres changed: What|Removed |Added CC||adam at aphirst dot karoo.co.uk -

[Bug fortran/58750] Wrong code with realloc on assignment and array constructors with numeric type conversion

2017-07-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58750 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|ASSIGNED Resolution|DUPLICATE

[Bug target/80569] i686: "shrx" instruction generated in 16-bit mode

2017-07-24 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80569 --- Comment #7 from uros at gcc dot gnu.org --- Author: uros Date: Mon Jul 24 18:59:21 2017 New Revision: 250479 URL: https://gcc.gnu.org/viewcvs?rev=250479&root=gcc&view=rev Log: PR target/80569 * config/i386/i386.c (ix86_option_

[Bug rtl-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26

2017-07-24 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #2 from John Paul Adrian Glaubitz --- Adding Kaz and Oleg to CC since it affects sh*-*-* as well [1]. > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869373

[Bug other/46954] FDEs possibly left unsorted in unwind-dw2-fde.c

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46954 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug other/46954] FDEs possibly left unsorted in unwind-dw2-fde.c

2017-07-24 Thread jvoung at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46954 --- Comment #2 from Jan Voung --- I probably won't be able to come up with a repro at this point =/ This involved some toolchain patches for Native Client (and a pretty old checkout of the NaCl sources too). Feel free to close this bug.

[Bug other/46954] FDEs possibly left unsorted in unwind-dw2-fde.c

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46954 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/81540] New: tree-switch-conversion leads to code bloat

2017-07-24 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81540 Bug ID: 81540 Summary: tree-switch-conversion leads to code bloat Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug target/81535] [8 regression] gcc.target/powerpc/pr79439.c fails starting with r250442

2017-07-24 Thread ygribov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81535 Yury Gribov changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/81535] [8 regression] gcc.target/powerpc/pr79439.c fails starting with r250442

2017-07-24 Thread ygribov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81535 --- Comment #2 from Yury Gribov --- Thanks for detailed report. For pr79439.c take a look at discussion in bug 56727 - the general agreement there was that it should be valid to replace recursive PLT calls with direct calls as long as function d

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

2017-07-24 Thread ed at catmur dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78753 Ed Catmur changed: What|Removed |Added CC||ed at catmur dot co.uk --- Comment #1 from E

[Bug other/81541] New: Potential size optimisation: reusing common function endings

2017-07-24 Thread jpakkane at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81541 Bug ID: 81541 Summary: Potential size optimisation: reusing common function endings Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/80569] i686: "shrx" instruction generated in 16-bit mode

2017-07-24 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80569 --- Comment #8 from uros at gcc dot gnu.org --- Author: uros Date: Mon Jul 24 20:29:02 2017 New Revision: 250486 URL: https://gcc.gnu.org/viewcvs?rev=250486&root=gcc&view=rev Log: PR target/80569 * config/i386/i386.c (ix86_option_

[Bug other/49578] Profiling: call graph table overflows on Solaris.

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49578 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/80569] i686: "shrx" instruction generated in 16-bit mode

2017-07-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80569 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/81535] [8 regression] gcc.target/powerpc/pr79439.c fails starting with r250442

2017-07-24 Thread ygribov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81535 --- Comment #3 from Yury Gribov --- Created attachment 41822 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41822&action=edit Patch to disable test on PowerPC (In reply to Yury Gribov from comment #2) > pr56727-2.c is interesting, it does

[Bug c++/81542] New: Compilation failure with math.h and -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC

2017-07-24 Thread gmc at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81542 Bug ID: 81542 Summary: Compilation failure with math.h and -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/81542] Compilation failure with math.h and -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC

2017-07-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81542 --- Comment #1 from Andrew Pinski --- Why are you defining _GLIBCXX_USE_C99_FP_MACROS_DYNAMIC on the command line?

[Bug libstdc++/81542] Compilation failure with math.h and -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC

2017-07-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81542 --- Comment #2 from Andrew Pinski --- Also what target is this for?

[Bug libstdc++/81542] Compilation failure with math.h and -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC

2017-07-24 Thread gmc at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81542 --- Comment #3 from Gordon Mc --- GCC build being used, was configured with --enable-bootstrap --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,fortran --di

[Bug c/19972] -Wreturn-local-addr misses return of local (nested) function pointer

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19972 Eric Gallager changed: What|Removed |Added Last reconfirmed|2005-12-18 01:39:05 |2017-7-24 CC|

[Bug libstdc++/81542] Compilation failure with math.h and -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC

2017-07-24 Thread gmc at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81542 Gordon Mc changed: What|Removed |Added Target||Target: x86_64-redhat-linux --- Comment #4 f

[Bug c/81543] New: attribute may_alias on function and variable declarations silently accepted

2017-07-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81543 Bug ID: 81543 Summary: attribute may_alias on function and variable declarations silently accepted Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: norma

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-07-24 Thread dansan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #58 from dansan at gcc dot gnu.org --- Author: dansan Date: Mon Jul 24 21:59:57 2017 New Revision: 250488 URL: https://gcc.gnu.org/viewcvs?rev=250488&root=gcc&view=rev Log: PR testsuite/80759 Fix -mcall-ms2sysv-xlogues on Darwin and S

[Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs

2017-07-24 Thread dansan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759 --- Comment #59 from dansan at gcc dot gnu.org --- Author: dansan Date: Mon Jul 24 22:00:35 2017 New Revision: 250489 URL: https://gcc.gnu.org/viewcvs?rev=250489&root=gcc&view=rev Log: PR testsuite/80759 Fix broken tests in ms-sysv.exp 2017-07-2

[Bug c/81544] New: attribute noreturn and warn_unused_result on the same function accepted

2017-07-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 Bug ID: 81544 Summary: attribute noreturn and warn_unused_result on the same function accepted Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/80197] pgo dramatically pessimizes scimark2 MonteCarlo benchmark

2017-07-24 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80197 --- Comment #9 from Jan Hubicka --- The original idea of tracing was that we can pro-actively duplicate tails and rely on crossjumping to merge the paths back if they did not trigger context sensitive optimizations. Nowdays crossjumping much wea

[Bug c/81544] attribute noreturn and warn_unused_result on the same function accepted

2017-07-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81544 --- Comment #1 from Martin Sebor --- An example of how conflicting attributes could be handled is the mutually exclusive pair of attributes always_inline and noinline: $ cat b.c && gcc -O2 -S -Wall -Wextra -Wpedantic b.c void __attribute__ ((noi

[Bug target/79793] Incorrect stack alignment for interrupt handler in 64-bit

2017-07-24 Thread hjl.tools at gmail dot com
subq$400, %rsp .cfi_def_cfa_offset 408 fxsave64-120(%rsp) addq$408, %rsp iretq .cfi_endproc .LFE4: .size fn, .-fn .ident "GCC: (GNU) 7.1.1 20170724" .section.note.GNU-stack,"",@progbits [hjl@gnu-skl

[Bug target/79793] Incorrect stack alignment for interrupt handler in 64-bit

2017-07-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793 --- Comment #8 from H.J. Lu --- clang 5.0 handles stack alignment correctly: [hjl@gnu-skl-1 pr79793]$ cat x.c typedef unsigned int uword_t __attribute__ ((mode (__word__))); __attribute__((interrupt)) void fn (void *frame) { char fxsave_regio

[Bug target/81545] New: attributes longcall and shortcall silently accepted on the same function

2017-07-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81545 Bug ID: 81545 Summary: attributes longcall and shortcall silently accepted on the same function Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug driver/81519] Enhancement: Add --help=target-distcc or similar to dump clean, optimal CFLAGS without using -march=native

2017-07-24 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

  1   2   >