Anonymous | Login | Signup for a new account | 2023-03-20 16:11 CET |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0000110 | [cparser] firm graph generation | minor | always | 2013-08-01 10:37 | 2013-09-13 10:12 | |||||||
Reporter | luzero | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | confirmed | Product Version | ||||||||||
Summary | 0000110: bad error reporting in case of missing builtins | |||||||||||
Description |
cparser -m32 -std=c99 -pthread -g -c -o out.o 000.c ir/lower/lower_builtins.c:149: libFirm panic in lower_builtin: Can't lower Builtin node of kind Builtin T[111:13] |
|||||||||||
Additional Information |
cparser: e038ad4 libfirm: 6cba223 |
|||||||||||
Tags | No tags attached. | |||||||||||
Attached Files |
![]() ![]() |
|||||||||||
|
![]() |
|
(0000159) zwinkau (manager) 2013-08-01 16:27 |
Basically, libfirm does not support __sync_val_compare_and_swap. Sad, but only a GCC extension: http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html [^] Nevertheless, a nice error message should be reported instead of a panic. |
(0000161) Matze (administrator) 2013-08-01 23:39 |
actually we do support it, but only if there is hardware support for it. So you need to use at least -march=i686. I will leave this bug report open, because obviously we should fail in a much nicer way (and/or generate a compilerlib call) if hardware support is missing. |
(0000175) Andreas Fried (reporter) 2013-09-13 10:12 |
test.c is a reduced test case for this bug. |
Mantis 1.1.5[^] Copyright © 2000 - 2008 Mantis Group |