https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66963
--- Comment #6 from Nicolai Stange ---
Thank you for your clarifications, Andrew and Joseph.
As far as I am concerned, this bug can be marked as resolved/rejected/whatever
you like.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66963
--- Comment #4 from Nicolai Stange ---
Sorry, misunderstanding at my side. You probably did not mean constexprs in the
sense of C99, 6.6, but constexprs in the sense of constant folded expressions.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66963
--- Comment #3 from Nicolai Stange ---
(In reply to Andrew Pinski from comment #1)
> I thought this is documented somewhere but __builtin_choose_expr only really
> accept constant literals and not constexprs.
https://gcc.gnu.org/onlinedocs/gcc/O
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: nicstange at gmail dot com
Target Milestone: ---
The first argument to __builtin_choose_expr() must be a constant expression.
However, at -O2, the following
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66579
--- Comment #1 from Nicolai Stange ---
Created attachment 35798
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35798&action=edit
Output of `gcc -S -gsplit-dwarf' on Testcase
: target
Assignee: unassigned at gcc dot gnu.org
Reporter: nicstange at gmail dot com
Target Milestone: ---
Created attachment 35797
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35797&action=edit
Testcase
Adding `-gsplit-dwarf' leads to doubly defined sym