Bug 80969 - iputils-021109-r3 fails to compile with gcc 3.4.3 & -finline-limit=
Bug#: 80969 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gcc-porting@gentoo.org Reported By: cybertech@cybertech.org
Component: GCC Porting
URL: 
Summary: iputils-021109-r3 fails to compile with gcc 3.4.3 & -finline-limit=
Keywords:  
Status Whiteboard: 
Opened: 2005-02-06 04:27 0000
Description:   Opened: 2005-02-06 04:27 0000
When specifying -finline-limit=2000, the error originally reported in bug 49241
reoccurs.  The following two short patches fix the issue.

quote from the original bug:
"The source breaks function inlining limits, as we invalidly jump into a
binding contour. The attached patch fixes this. (NB: This is probably due for a
complete rewrite upstream as it's horrible!)"


Reproducible: Always
Steps to Reproduce:
1. Set CFLAGS to include -finline-functions -finline-limit=2000 or -O3
-finline-limit=2000
2. emerge iputils


Actual Results:  
Build failed

------- Comment #1 From Dave Stahl 2005-02-06 04:30:29 0000 -------
Created an attachment (id=50522) [details]
Patch to tracepath.c

For the sake of brevity, I did not perform whitespace realignment.

------- Comment #2 From Dave Stahl 2005-02-06 04:31:01 0000 -------
Created an attachment (id=50523) [details]
Patch to tracepath6.c

For the sake of brevity, I did not perform whitespace realignment.

------- Comment #3 From SpanKY 2005-05-02 15:03:21 0000 -------
sorry for the delay, ive incorporated your fixes into our current
iputils-021109-r3 ebuild

thanks !