This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/49914] call to abs(long long) in gcc/fold-const.c


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot
                   |                            |com, rguenth at gcc dot
                   |                            |gnu.org

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-08-01 16:36:54 UTC ---
So, Richard, what shall we do here? Add to tree.h just:

  #define ABS(X) ((X >= 0) ? (X) : (-X))

and use it in all those places? Or a static inline? Better name?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]