Skip to content

CBMC fails to co-exist with GCC 13 #8305

Closed
@rod-chapman

Description

@rod-chapman

CBMC version: 6.0.0-alpha
Operating system: macOS
Exact command line resulting in the issue: any goto-cc command
What behaviour did you expect: success
What happened instead:

CBMC fails to work with GCC 13

rodchap@f4d4889dcf6d arrays % make TARGET=ctcc
rm -f *.goto
goto-cc --function ctcc_harness -DCBMC -o ar.goto ar.c
/opt/gcc-13.1.0-aarch64/lib/gcc/aarch64-apple-darwin21/13.1.0/include/stddef.h:433:1: error: syntax error before '__float128'
__float128 __max_align_f128 attribute((aligned(__alignof(__float128))));
PARSING ERROR
make: *** [ar.goto] Error 1

This is rather annoying, since I have to disable my standard GCC 13 install whenever I want to use CBMC.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions