public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16780] New: internal compiler error
@ 2004-07-27 9:10 gcc-bugzilla at gcc dot gnu dot org
2004-07-27 13:37 ` [Bug c/16780] [3.4 regression] ICE with -finstrument-functions bangerth at dealii dot org
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-07-27 9:10 UTC (permalink / raw)
To: gcc-bugs
Internal Compiler Error due to "__attribute__((no_instrument_function))".
Reading specs from /usr/lib/gcc/i486-linux/3.4.1/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --disable-werror i486-linux
Thread model: posix
gcc version 3.4.1 (Debian 3.4.1-3)
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../lib -I../../lib -DDATADIR=\"/usr/local/share/directfb-0.9.21\" -DMODULEDIR=\"/usr/local/lib/directfb-0.9.21-debug\" -D_REENTRANT -Wall -O3 -ffast-math -pipe -Wall -Werror -march=pentium3 -msse -mfpmath=sse -maccumulate-outgoing-args -momit-leaf-frame-pointer -Wno-strict-aliasing -fnew-ra -ftracer -g3 -fno-inline -D_GNU_SOURCE -finstrument-functions -Werror-implicit-function-declaration -Wp,-MD,.deps/debug.pp -c debug.c -fPIC -DPIC -o .libs/debug.o
debug.c: In function `direct_list_check_link':
debug.c:60: internal compiler error: in cgraph_expand_function, at cgraphunit.c:540
I'm not sure how to include the code here, so I just add this link for now:
http://www.directfb.org/debug.i
Environment:
System: Linux skunk 2.4.24 #3 Mon Mar 22 10:24:10 CET 2004 i686 GNU/Linux
Architecture: i686
host: i486-pc-linux-gnu
build: i486-pc-linux-gnu
target: i486-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --enable-threads=posix --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --disable-werror i486-linux
How-To-Repeat:
Compile ;)
------- Additional Comments From dok at directfb dot org 2004-07-27 09:10 -------
Fix:
Even without "-fnew-ra -ftracer" the error occurs ;(
Choosing "-O2" instead of "-O3" fixes it, but I want "-O3".
--
Summary: internal compiler error
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dok at directfb dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i486-pc-linux-gnu
GCC host triplet: i486-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/16780] [3.4 regression] ICE with -finstrument-functions
2004-07-27 9:10 [Bug c/16780] New: internal compiler error gcc-bugzilla at gcc dot gnu dot org
@ 2004-07-27 13:37 ` bangerth at dealii dot org
2004-07-27 13:44 ` bangerth at dealii dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2004-07-27 13:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-07-27 13:37 -------
Confirmed, a regression in 3.4 that is not present in 3.3.x and mainline.
I'll attach the testcase shortly.
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c -finstrument-functions -O3 x.i
x.i: In function `direct_list_check_link':
x.i:7006: internal compiler error: in cgraph_expand_function, at
cgraphunit.c:540
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2004-07-27 13:37:36
date| |
Summary|internal compiler error |[3.4 regression] ICE with -
| |finstrument-functions
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/16780] [3.4 regression] ICE with -finstrument-functions
2004-07-27 9:10 [Bug c/16780] New: internal compiler error gcc-bugzilla at gcc dot gnu dot org
2004-07-27 13:37 ` [Bug c/16780] [3.4 regression] ICE with -finstrument-functions bangerth at dealii dot org
@ 2004-07-27 13:44 ` bangerth at dealii dot org
2004-07-27 15:44 ` [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2004-07-27 13:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-07-27 13:44 -------
And here is the reduced testcase:
-----------------
static inline void bar() {}
void foo() {
bar();
}
-----------------
Pretty simple, eh? :-)
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c -finstrument-functions -O3 x.i
x.i: In function `bar':
x.i:5: internal compiler error: in cgraph_expand_function, at cgraphunit.c:540
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions
2004-07-27 9:10 [Bug c/16780] New: internal compiler error gcc-bugzilla at gcc dot gnu dot org
2004-07-27 13:37 ` [Bug c/16780] [3.4 regression] ICE with -finstrument-functions bangerth at dealii dot org
2004-07-27 13:44 ` bangerth at dealii dot org
@ 2004-07-27 15:44 ` pinskia at gcc dot gnu dot org
2004-07-29 14:36 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-27 15:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 15:44 -------
Note that -finstrument-functions uses the RTL inliner.
gcc pr16780.c -finstrument-functions -funit-at-a-time -finline -finline-functions is enough to show
the bug.
531 /* Generate RTL for the body of DECL. Nested functions are expanded
532 via lang_expand_decl_stmt. */
533 (*lang_hooks.callgraph.expand_function) (decl);
534 if (DECL_DEFER_OUTPUT (decl))
535 abort ();
The reason why this is fixed on the mainline is because -finstrument-functions is done on the tree
level.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Keywords|rejects-valid |ice-on-valid-code
Summary|[3.4 regression] ICE with - |[3.4 regression] ICE with -
|finstrument-functions |finstrument-functions -
| |funit-at-a-time -finline -
| |finline-functions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions
2004-07-27 9:10 [Bug c/16780] New: internal compiler error gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-07-27 15:44 ` [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions pinskia at gcc dot gnu dot org
@ 2004-07-29 14:36 ` pinskia at gcc dot gnu dot org
2004-08-23 19:42 ` mmitchel at gcc dot gnu dot org
2004-12-01 12:36 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-29 14:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-29 14:36 -------
: Search converges between 2004-02-02-3.4 (#1) and 2004-03-01-3.4 (#2).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions
2004-07-27 9:10 [Bug c/16780] New: internal compiler error gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-07-29 14:36 ` pinskia at gcc dot gnu dot org
@ 2004-08-23 19:42 ` mmitchel at gcc dot gnu dot org
2004-12-01 12:36 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-23 19:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-23 19:42 -------
Will not fix in GCC 3.4.x.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions
2004-07-27 9:10 [Bug c/16780] New: internal compiler error gcc-bugzilla at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-08-23 19:42 ` mmitchel at gcc dot gnu dot org
@ 2004-12-01 12:36 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-01 12:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-01 12:36 -------
*** Bug 18753 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |vdanjean at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions
[not found] <bug-16780-9026@http.gcc.gnu.org/bugzilla/>
@ 2006-06-26 6:32 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-26 6:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pinskia at gcc dot gnu dot org 2006-06-26 02:42 -------
*** Bug 28166 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |murdo at catapult dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-06-26 2:43 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-27 9:10 [Bug c/16780] New: internal compiler error gcc-bugzilla at gcc dot gnu dot org
2004-07-27 13:37 ` [Bug c/16780] [3.4 regression] ICE with -finstrument-functions bangerth at dealii dot org
2004-07-27 13:44 ` bangerth at dealii dot org
2004-07-27 15:44 ` [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions pinskia at gcc dot gnu dot org
2004-07-29 14:36 ` pinskia at gcc dot gnu dot org
2004-08-23 19:42 ` mmitchel at gcc dot gnu dot org
2004-12-01 12:36 ` pinskia at gcc dot gnu dot org
[not found] <bug-16780-9026@http.gcc.gnu.org/bugzilla/>
2006-06-26 6:32 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).