Skip to content
Snippets Groups Projects
Commit 267bbb6f authored by Marek Polacek's avatar Marek Polacek Committed by Marek Polacek
Browse files

re PR c/82167 (Segmentation fault when dereferencing the address of an array argument)

	PR c/82167
	* c-typeck.c (c_expr_sizeof_expr): Use the type of expr.value rather
	than expr.original_type.

	* gcc.dg/pr82167.c: New test.

From-SVN: r252372
parent 72ace300
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