Skip to content
Snippets Groups Projects
Commit 1e57bf47 authored by Joseph Myers's avatar Joseph Myers Committed by Joseph Myers
Browse files

re PR c/35235 (struct/union rvalue qualifiers must not propagate to members)

	PR c/35235
	* c-typeck.c (build_component_ref): Do not copy qualifiers from
	non-lvalue to component.

testsuite:
	* gcc.dg/c99-array-lval-8.c: New test.

From-SVN: r145271
parent 25d4deb1
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