-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
Bugzilla Link | 24214 |
Resolution | FIXED |
Resolved on | Jul 28, 2015 09:32 |
Version | trunk |
OS | FreeBSD |
Attachments | Example showing the assert |
Reporter | LLVM Bugzilla Contributor |
CC | @DimitryAndric,@emaste,@kbeyls,@rengolin |
Extended Description
The AArch64TargetInfo class sets RegParmMax to 8, however in include/clang/Basic/TargetInfo.h there is an assert that RegParmMax < 7.
The attached file shows the issue when built with:
clang -cc1 -triple aarch64-unknown-freebsd11.0 regparam_test.c
Building this with clang 3.6 from FreeBSD and clang 3.8 I get the following:
Assertion failed: (RegParmMax < 7 && "RegParmMax value is larger than AST can handle"), function getRegParmMax, file /home/andrew/freebsd/repo/llvm/tools/clang/include/clang/Basic/TargetInfo.h, line 824.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"