This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34982] [4.3 regression] calling a function with undefined parameters causes segmentation fault at -O1 or higher
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2008 20:19:19 -0000
- Subject: [Bug target/34982] [4.3 regression] calling a function with undefined parameters causes segmentation fault at -O1 or higher
- References: <bug-34982-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from hubicka at ucw dot cz 2008-01-26 20:19 -------
Subject: Re: [4.3 regression] calling a function with undefined parameters
causes segmentation fault at -O1 or higher
> and if it is just not available (i == NULL) might give inconsistent
> answers.
I will look into this. cgraph_local_info used to trap when asked for
unavailable local info, looks like someone fixed the bug by removing the
assert.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34982