[Bug middle-end/47650] wrong output of print_generic_decl() called from a plugin

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 2 12:32:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47650

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #31 from Richard Biener <rguenth at gcc dot gnu.org> ---
Original issue was fixed.

Please open a new bugreport if there's an issue you think should be fixed on
current trunk preferably without a plugin but using some -fdump-* functions.

There's now -fdump-tree-*-gimple which should yield (roughly) compilable
code with -fgimple.  At least the function definitions should have the
correct prototypes.

Your last testcase (on Linux, don't have accces to Solaris) gets me
in t.c.004t.gimple with -fdump-tree-gimple-gimple

void __GIMPLE ()
foo (char * const buf, const int bufsz)
{

}

which looks fine.


More information about the Gcc-bugs mailing list