aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-cppbuiltin.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2007-01-28 03:48:41 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2007-01-28 03:48:41 +0000
commit74890d7bbdacf14edfcd1e50bac0e5053a2bdf53 (patch)
tree79ff0e900f4c8f77577ddfd6116f7f43015bdc5c /gcc/c-cppbuiltin.c
parent5e851559ad1c6b61d9b13b62a6f5bb536c5fbca1 (diff)
downloadgcc-74890d7bbdacf14edfcd1e50bac0e5053a2bdf53.zip
gcc-74890d7bbdacf14edfcd1e50bac0e5053a2bdf53.tar.gz
gcc-74890d7bbdacf14edfcd1e50bac0e5053a2bdf53.tar.bz2
fold-const.c (size_binop): In the fast-paths for X+0...
* fold-const.c (size_binop): In the fast-paths for X+0, 0+X, X-0 and 1*X check that the constant hasn't overflowed, to preserve the TREE_OVERFLOW bit. (round_up): Provide an efficient implementation when rouding-up an INTEGER_CST to a power-of-two. * gcc-dg/large-size-array-3.c: New test case. From-SVN: r121252
Diffstat (limited to 'gcc/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions