[Bug c++/42101] New: Linking failure with static constants and ternary inline function

2009-11-18 Thread dvander at alliedmods dot net
++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dvander at alliedmods dot net GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42101

[Bug c++/42101] Linking failure with static constants and ternary inline function

2009-11-18 Thread dvander at alliedmods dot net
--- Comment #1 from dvander at alliedmods dot net 2009-11-19 01:44 --- Created an attachment (id=19039) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19039&action=view) reduced test case This program doesn't link, though it should. keima:src dvander$ g++ test

[Bug c++/42101] Linking failure with static constants and ternary inline function

2009-11-18 Thread dvander at alliedmods dot net
--- Comment #5 from dvander at alliedmods dot net 2009-11-19 01:58 --- I'll also note that the compiler seems to accept it, as I get a .o file. The linking step botches. -- dvander at alliedmods dot net changed: What|Removed |