[Bug c/46711] __builtin_choose_expr checks not chosen expression

2010-11-29 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46711 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c/46711] __builtin_choose_expr checks not chosen expression

2010-11-29 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46711 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org 2010-11-29 19:40:04 UTC --- Try: static inline unsigned long * _param(struct pt_regs *regs, const int num) __attribute__((always_inline)); static inline unsigned long * _param(struct

[Bug c/46711] __builtin_choose_expr checks not chosen expression

2010-11-29 Thread przemoc at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46711 --- Comment #3 from Przemysław Pawełczyk przemoc at gmail dot com 2010-11-29 20:07:20 UTC --- Andrew, thanks for the always_inline hint. But weren't you too fast with marking PR 46711 as duplicate of PR 19449? Check which lines are marked with