[Bug 185431] gcc(1) bug with short int promotion

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 22 15:40:35 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185431

Pedro F. Giffuni <pfg at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Overcome By Events
             Status|In Progress                 |Closed
                 CC|                            |pfg at FreeBSD.org

--- Comment #3 from Pedro F. Giffuni <pfg at FreeBSD.org> ---
As of FreeBSD 10.x, we are not shipping anymore gcc 4.2.1 by default.
There are no plans to update the gcc version included in the 9.x series.
Please use clang or gcc from ports which are much more up to date.

In FreeBSD 10.1 (with clang), I got 
$ cc gcc-test.c
$ ./a.out
251 > 65535 = 0
$

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list