[Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation

2019-02-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689 --- Comment #23 from Thomas Koenig --- (In reply to Thomas Koenig from comment #22) > FAIL: gfortran.dg/lto/20091028-1 f_lto_20091028-1_0.o-f_lto_20091028-1_1.o > link, -O0 -flto -flto-partition=none -fuse-linker-plugin These test cases are

[Bug c++/89315] [9 Regression] Cannot convert to std::initializer_list - fails with gcc9 works with gcc8

2019-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89315 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/89380] New: Multiple items in brace not working on nested macro

2019-02-17 Thread mdblack98 at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380 Bug ID: 89380 Summary: Multiple items in brace not working on nested macro Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/89379] -Wformat is supposed not to give warning

2019-02-17 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89379 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug preprocessor/89380] Multiple items in brace not working on nested macro

2019-02-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug preprocessor/89380] Multiple items in brace not working on nested macro

2019-02-17 Thread mdblack98 at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380 --- Comment #5 from mdblack98 at yahoo dot com --- Why can't it be fixed by not counting commas between braces? That seems to be the problem.

[Bug fortran/89077] ICE using * as len specifier for character parameter

2019-02-17 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077 --- Comment #18 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Sun Feb 17 21:14:14 2019 New Revision: 268973 URL: https://gcc.gnu.org/viewcvs?rev=268973=gcc=rev Log: 2019-02-17 Harald Anlauf PR fortran/89077 * decl.c

[Bug c++/89217] [9 Regression] ICE tree check: expected constructor, have error_mark in split_nonconstant_init_1

2019-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Sun Feb 17 16:52:40 2019 New Revision: 268969 URL: https://gcc.gnu.org/viewcvs?rev=268969=gcc=rev Log: PR c++/89217 - ICE with list-initialization in range-based for loop.

[Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321

2019-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356 --- Comment #5 from Marek Polacek --- Fixed by r268969, I'm adding new tests.

[Bug preprocessor/89380] Multiple items in brace not working on nested macro

2019-02-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380 --- Comment #1 from Andrew Pinski --- I think these kind of questions should be handled in gcc-help@ rather than here. Maybe in a standard C forum too.

[Bug c/89379] New: -Wformat is supposed not to give warning

2019-02-17 Thread lvenkatakumarchakka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89379 Bug ID: 89379 Summary: -Wformat is supposed not to give warning Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.

2019-02-17 Thread frank.secilia at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367 --- Comment #4 from Frank Secilia --- Created attachment 45743 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45743=edit alternative repro case using pointers to method Here is a similar case using pointers to methods. I'm honestly not

[Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.

2019-02-17 Thread frank.secilia at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367 --- Comment #5 from Frank Secilia --- Created attachment 45744 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45744=edit alternative verbose compiler output

[Bug preprocessor/89380] Multiple items in brace not working on nested macro

2019-02-17 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380 --- Comment #4 from Andreas Schwab --- You can do dirty things with hiding the comma behind a macro, but don't do this at home, kids.

[Bug c++/89315] [9 Regression] Cannot convert to std::initializer_list - fails with gcc9 works with gcc8

2019-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89315 --- Comment #2 from Marek Polacek --- Fixed by r268969, will add the test.

[Bug preprocessor/89380] Multiple items in brace not working on nested macro

2019-02-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380 --- Comment #6 from Andrew Pinski --- (In reply to mdblack98 from comment #5) > Why can't it be fixed by not counting commas between braces? That seems to > be the problem. Because then GCC will break some valid C code :). I think you should

[Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321

2019-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321

2019-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Sun Feb 17 17:53:54 2019 New Revision: 268972 URL: https://gcc.gnu.org/viewcvs?rev=268972=gcc=rev Log: PR c++/89356 * g++.dg/abi/mangle68.C: New test. *

[Bug c++/89217] [9 Regression] ICE tree check: expected constructor, have error_mark in split_nonconstant_init_1

2019-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/89380] Multiple items in brace not working on nested macro

2019-02-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380 --- Comment #2 from Andrew Pinski --- https://stuff.mit.edu/afs/athena/project/rhel-doc/3/rhel-cpp-en-3/macro-pitfalls.html

[Bug c++/83417] Pointer-to-member template parameter with auto member type dependent container type does not work (C++17)

2019-02-17 Thread pavel.kryukov at phystech dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83417 Pavel I. Kryukov changed: What|Removed |Added CC||pavel.kryukov at phystech dot edu

[Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation

2019-02-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/88826] ICE (segfault) when compiling invalid C++ code with -std=c++2a

2019-02-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88826 H.J. Lu changed: What|Removed |Added CC||jason at redhat dot com Target

[Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation

2019-02-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689 --- Comment #22 from Thomas Koenig --- Created attachment 45742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45742=edit Patch that may work, but causes some regressions The regressions are: FAIL: gfortran.dg/lto/20091028-1

[Bug c++/89315] [9 Regression] Cannot convert to std::initializer_list - fails with gcc9 works with gcc8

2019-02-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89315 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Sun Feb 17 17:25:27 2019 New Revision: 268971 URL: https://gcc.gnu.org/viewcvs?rev=268971=gcc=rev Log: PR c++/89315 * g++.dg/cpp0x/initlist114.C: New test. Added:

[Bug fortran/68649] [7/8/9 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2019-02-17 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 --- Comment #26 from Dominique d'Humieres --- > > The warnings are gone between revisions r265814 and r265942. > > I can confirm that. > So, are there objections to just committing a test case and > closing this bug? My (shallow) understanding

[Bug fortran/84387] Defined output does not work for a derived type that has no components

2019-02-17 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387 --- Comment #6 from Damian Rouson --- I don't see anything in the standard related to the existence or non-existence of components in derived-type output. In case it helps, the NAG and Intel compilers both print "Hello world!" with the

[Bug fortran/87734] [7/8/9 Regression] ICE in is_illegal_recursion check for character len= parameter

2019-02-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87734 Thomas Koenig changed: What|Removed |Added Keywords||rejects-valid CC|

[Bug fortran/68649] [7/8/9 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2019-02-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 --- Comment #25 from Thomas Koenig --- (In reply to Dominique d'Humieres from comment #24) > The warnings are gone between revisions r265814 and r265942. I can confirm that. So, are there objections to just committing a test case and closing

[Bug preprocessor/89373] macro expansion not counting braces correctly

2019-02-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89373 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug preprocessor/89380] Multiple items in brace not working on nested macro

2019-02-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380 --- Comment #7 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > I think these kind of questions should be handled in gcc-help@ rather than > here. Maybe in a standard C forum too. ^^ this, "How do I do funky things with

[Bug c++/89381] [7/8/9 Regression] Implicit copy constructor cannot be generated after unrelated class definition

2019-02-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89381 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation

2019-02-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689 Thomas Koenig changed: What|Removed |Added Keywords||patch URL|

[Bug fortran/84387] Defined output does not work for a derived type that has no components

2019-02-17 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387 --- Comment #4 from Damian Rouson --- I don't agree that the code submitted in this bug report is non-sensical. The submitted example is very useful for code debugging purposes. I just spent a couple of hours trying to isolate this same bug.

[Bug fortran/84387] Defined output does not work for a derived type that has no components

2019-02-17 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387 --- Comment #6 from Damian Rouson --- I don't see anything in the standard related to the existence or non-existence of components in derived-type output. In case it helps, the NAG and Intel compilers both print "Hello world!" with the

[Bug fortran/88299] [F18] COMMON in a legacy module produces bogus warnings in dependent code

2019-02-17 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88299 Harald Anlauf changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/88299] [F18] COMMON in a legacy module produces bogus warnings in dependent code

2019-02-17 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88299 --- Comment #6 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Sun Feb 17 21:19:20 2019 New Revision: 268974 URL: https://gcc.gnu.org/viewcvs?rev=268974=gcc=rev Log: 2019-02-17 Harald Anlauf PR fortran/88299 *

[Bug fortran/89077] ICE using * as len specifier for character parameter

2019-02-17 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077 --- Comment #19 from Harald Anlauf --- The issues reported in comment #0, #1 and #3 should be fixed on trunk. The fix for comment #0 has been backported to 7- and 8-branches. Can the OP please confirm that the reported issues have been fixed?

[Bug c++/89381] New: Implicit copy constructor cannot be generated after unrelated class definition

2019-02-17 Thread nok.raven at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89381 Bug ID: 89381 Summary: Implicit copy constructor cannot be generated after unrelated class definition Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords:

[Bug c++/89382] New: Segmentation fault when doing (depth recursive) Template Metaprogramming

2019-02-17 Thread josehidalgo at outlook dot cl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89382 Bug ID: 89382 Summary: Segmentation fault when doing (depth recursive) Template Metaprogramming Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity:

[Bug c++/89382] Segmentation fault when doing (depth recursive) Template Metaprogramming

2019-02-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89382 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/84387] Defined output does not work for a derived type that has no components

2019-02-17 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387 --- Comment #5 from Jerry DeLisle --- (In reply to Damian Rouson from comment #4) > I don't agree that the code submitted in this bug report is non-sensical. > The submitted example is very useful for code debugging purposes. I just > spent a

[Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)

2019-02-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091 --- Comment #2 from Martin Liška --- Any update on this David?