[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2017-01-04 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2016-12-07 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 --- Comment #7 from Martin Jambor --- Author: jamborm Date: Wed Dec 7 13:09:07 2016 New Revision: 243344 URL: https://gcc.gnu.org/viewcvs?rev=243344=gcc=rev Log: Use dump_function_name rather than emit 2016-12-07 Martin Jambor

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2016-12-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 --- Comment #6 from Martin Jambor --- (In reply to Martin Jambor from comment #4) > I am testing a patch for gcc/cp/error.c that (apart from guarding > against infinite recursion in some cases) should make g++ produce the > same output as gcc

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2016-12-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 --- Comment #5 from Martin Jambor --- (In reply to Alexander Monakov from comment #3) > Ah, sorry if I misunderstood and got carried away. BTW, enhancing dumping decls of IPA clones has been discussed to some length in (a bit forgotten) PR

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2016-12-01 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 --- Comment #4 from Martin Jambor --- I have always thought there was a reason why the outline OMP functions do not have their abstract origin set, but perhaps there isn't. I am testing a patch for gcc/cp/error.c that (apart from guarding

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2016-11-30 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 --- Comment #3 from Alexander Monakov --- Ah, sorry if I misunderstood and got carried away. >From my investigation it looks like for the '' issue it's just a matter of setting DECL_ABSTRACT_ORIGIN in create_omp_child_function (not sure if

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2016-11-30 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 --- Comment #2 from Martin Jambor --- (In reply to Alexander Monakov from comment #1) > A similar issue can be seen with IPA cloning. It's more rare, because it's > triggered only with warnings that are issued late, after IPA transforms > (note

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2016-11-29 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---