------- Comment #3 from fxcoudert at gcc dot gnu dot org  2010-09-10 21:26 
-------
Two more things:

1. there's no need for __int128, the following code also triggers it:

  unsigned foo (unsigned char i) { return __builtin_popcountl ((unsigned long)
i); }

2. On x86_64-darwin, the code above fails with -ftree-ter for both: 4.5.1 and
4.6.0 (current trunk).




-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.6 Regression]            |[4.6/4.5 Regression]
                   |__builtin_popcountl ICEs    |__builtin_popcountl ICEs
                   |with -ftree-ter             |with -ftree-ter


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45567

Reply via email to