Skip to content
Snippets Groups Projects
Commit af62f6f9 authored by Richard Henderson's avatar Richard Henderson Committed by Richard Henderson
Browse files

re PR tree-optimization/22278 (gcc -O2 discards cast to volatile)

        PR tree-opt/22278
        * gimplify.c (gimplify_expr): Use main variant type for the temp
        destination for a discarded volatile read.
        * tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide
        casts between non-void types that change volatility.

From-SVN: r102169
parent b9b8dde3
No related branches found
No related tags found
No related merge requests found
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