This is the mail archive of the gcc@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 20505 is an ICE with -ggdb2. We have the following member definition, const int b::d = ((int)(&((b*)1)->c) - 1); whose initializer used to be folded during construction to an INT_CST, but now it doesn't -- fold cannot fold the complete expression. As the PR says, this was changed by,
My inclination is to simply add an additional check in the dwarf outputter, verifying that the initializer is indeed an INT_CST.
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |