Summary: | cc1plus ICE with aarch64 target using PCH and builtin functions | ||
---|---|---|---|
Product: | gcc | Reporter: | Robert Morell <rmorell> |
Component: | target | Assignee: | Andrew Pinski <pinskia> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | ramana |
Priority: | P3 | Keywords: | GC, ice-on-valid-code |
Version: | 5.0 | ||
Target Milestone: | 5.0 | ||
Host: | Target: | aarch64*-*-* | |
Build: | Known to work: | ||
Known to fail: | 4.8.2, 4.8.3, 4.9.1, 5.0 | Last reconfirmed: | 2014-08-02 00:00:00 |
Bug Depends on: | |||
Bug Blocks: | 63820 | ||
Attachments: | Test case |
Description
Robert Morell
2014-08-02 15:22:27 UTC
Confirmed. Also happens with a aarch64-elf gcc. (In reply to Robert Morell from comment #0) > If I manually add aarch64-builtins.c to target_gtfiles (and include the > resulting gt-aarch64-builtins.h at the bottom of the C file) then this > problem goes away. That is the correct fix. I am testing this fix then and will be applying to the trunk as obvious after I test it. Did the fix for this make it to trunk? Fixed. Author: pinskia Date: Tue Nov 11 23:40:03 2014 New Revision: 217394 URL: https://gcc.gnu.org/viewcvs?rev=217394&root=gcc&view=rev Log: 2014-11-11 Andrew Pinski <apinski@cavium.com> Bug target/61997 * config.gcc (aarch64*-*-*): Set target_gtfiles to include aarch64-builtins.c. * config/aarch64/aarch64-builtins.c: Include gt-aarch64-builtins.h at the end of the file. Modified: trunk/gcc/ChangeLog trunk/gcc/config.gcc trunk/gcc/config/aarch64/aarch64-builtins.c Author: yroux Date: Tue Jan 13 08:52:55 2015 New Revision: 219522 URL: https://gcc.gnu.org/viewcvs?rev=219522&root=gcc&view=rev Log: 2015-01-13 Michael Collison <michael.collison@linaro.org> Backport from trunk r217394. 2014-11-11 Andrew Pinski <apinski@cavium.com> Bug target/61997 * config.gcc (aarch64*-*-*): Set target_gtfiles to include aarch64-builtins.c. * config/aarch64/aarch64-builtins.c: Include gt-aarch64-builtins.h at the end of the file. Modified: branches/linaro/gcc-4_9-branch/gcc/ChangeLog.linaro branches/linaro/gcc-4_9-branch/gcc/config.gcc branches/linaro/gcc-4_9-branch/gcc/config/aarch64/aarch64-builtins.c |