On Tue, Jun 11, 2024 at 12:42 PM Andrew Pinski <quic_apin...@quicinc.com> wrote:
>
> Just like r13-6662-g0e6f87835ccabf but this time for jit/jit-recording.cc.
>
> Pushed as obvious after a quick build to make sure jit still builds.

Backported also to GCC 14 and GCC 13.

Thanks,
Andrew

>
> gcc/jit/ChangeLog:
>
>         * jit-recording.cc: Define INCLUDE_SSTREAM before including
>         system.h and don't directly incldue sstream.
>
> Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>
> ---
>  gcc/jit/jit-recording.cc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/jit/jit-recording.cc b/gcc/jit/jit-recording.cc
> index 68a2e860c1f..70830e34965 100644
> --- a/gcc/jit/jit-recording.cc
> +++ b/gcc/jit/jit-recording.cc
> @@ -19,6 +19,7 @@ along with GCC; see the file COPYING3.  If not see
>  <http://www.gnu.org/licenses/>.  */
>
>  #include "config.h"
> +#define INCLUDE_SSTREAM
>  #include "system.h"
>  #include "coretypes.h"
>  #include "tm.h"
> @@ -29,7 +30,6 @@ along with GCC; see the file COPYING3.  If not see
>  #include "jit-builtins.h"
>  #include "jit-recording.h"
>  #include "jit-playback.h"
> -#include <sstream>
>
>  namespace gcc {
>  namespace jit {
> --
> 2.43.0
>

Reply via email to