Re: [wide-int] Fix comment about GCC_BAD

2013-11-09 Thread Mike Stump
On Nov 9, 2013, at 2:13 AM, Richard Sandiford wrote: > There are two instances of: > > if (TREE_CODE (x) != INTEGER_CST) > GCC_BAD ("invalid constant in %<#pragma pack%> - ignored"); > /* Cannot use tree_to_uhwi here or it will ice if above message printed. > */ > align =

Re: [wide-int] Fix comment about GCC_BAD

2013-11-09 Thread Kenneth Zadeck
On 11/09/2013 05:13 AM, Richard Sandiford wrote: There are two instances of: if (TREE_CODE (x) != INTEGER_CST) GCC_BAD ("invalid constant in %<#pragma pack%> - ignored"); /* Cannot use tree_to_uhwi here or it will ice if above message printed. */ align = tree_to_hw

[wide-int] Fix comment about GCC_BAD

2013-11-09 Thread Richard Sandiford
There are two instances of: if (TREE_CODE (x) != INTEGER_CST) GCC_BAD ("invalid constant in %<#pragma pack%> - ignored"); /* Cannot use tree_to_uhwi here or it will ice if above message printed. */ align = tree_to_hwi (x); But GCC_BAD includes a return statement. As f