This is an archive of the discontinued LLVM Phabricator instance.

[Hexagon] Fix compilation error with GCC 6
ClosedPublic

Authored by rivanvx on Feb 15 2016, 3:25 PM.

Details

Summary

Compiling Hexagon target with GCC 6 produces "error: should have been
declared inside" due to GCC PR c++/69657 which was merged.

Properly wrapping operator<<() definitions within the namespace llvm
fixes the issue.

Author: domagoj.stolfa

Diff Detail

Repository
rL LLVM

Event Timeline

rivanvx updated this revision to Diff 48019.Feb 15 2016, 3:25 PM
rivanvx retitled this revision from to [Hexagon] Fix compilation error with GCC 6.
rivanvx updated this object.
rivanvx added a reviewer: kparzysz.
kparzysz accepted this revision.Feb 16 2016, 9:42 AM
kparzysz edited edge metadata.

Looks good to me.

This revision is now accepted and ready to land.Feb 16 2016, 9:42 AM

Is there anything else I need to do for this to land?

This revision was automatically updated to reflect the committed changes.