This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/29841] [4.2/4.3 regression] ICE with scheduling and __builtin_trap
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2006 08:46:40 -0000
- Subject: [Bug regression/29841] [4.2/4.3 regression] ICE with scheduling and __builtin_trap
- References: <bug-29841-10179@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-11-15 08:46 -------
Note the code as given is undefined anyways so it will abort at runtime.
Here is a reduced testcase:
void mar(int n);
void foo()
{
mar(6);
__builtin_trap ();
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i586-pc-linux-gnu |i586-*
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2006-11-15 08:46:40
date| |
Summary|ICE: on function pointer |[4.2/4.3 regression] ICE
|call. |with scheduling and
| |__builtin_trap
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29841