Skip to content
Snippets Groups Projects
Commit d117b270 authored by Dirk Mueller's avatar Dirk Mueller Committed by Dirk Mueller
Browse files

re PR c/27273 (tree check fail for legal code when convert returns a constant...

re PR c/27273 (tree check fail for legal code when convert returns a constant from an expression that was not constant)

        PR c/27273
        * c-common.c (convert_and_check): only track TREE_CONSTANT_OVERFLOW
        for CONSTANT_CLASS_P expressions.

        * gcc.dg/overflow-warn-5.c: New testcase.

From-SVN: r114238
parent 16464cc1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment