The label is placed on illegal address when only loading the address of a label
without jump into. (compile with -O2 option)
test_func()
{
func(&&here);
func1();
here:
func2();
}
--
Summary: Illegal loading the address of a label with -O2
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: inaoka dot kazuhiro at renesas dot com
GCC target triplet: i386
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28581