Skip to content
Snippets Groups Projects
Commit 0a9367cb authored by Volker Reichelt's avatar Volker Reichelt Committed by Volker Reichelt
Browse files

re PR c++/28294 (ICE with invalid use of __builtin_offsetof)

	PR c++/28294
	* semantics.c (finish_offsetof): Use TREE_OPERAND for COMPONENT_REFs
	only.

	* g++.dg/ext/offsetof1.C: Add test with function pointer arithmetic.

From-SVN: r115466
parent 6ae9b875
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