public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/11889] New: Problems with -funit-at-a-time and c++ io manipulators
@ 2003-08-12 0:01 gcc-bugzilla at gcc dot gnu dot org
2003-08-12 0:12 ` [Bug optimization/11889] [3.4 Regression] [unit-at-a-time] Not emitting typeinfo when used in catch pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2003-08-12 0:01 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11889
Summary: Problems with -funit-at-a-time and c++ io manipulators
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: poschmid at lbl dot gov
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
The code t.C does not link when the optimization -funit-at-a-time is
enabled. Therefore at -O3 some of the iomanipulators are not available.
Environment:
System: Linux linux 2.4.20-4GB #1 Fri Jul 11 07:33:18 UTC 2003 i686 unknown unknown GNU/Linux
Architecture: i686
SuSE 8.2
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-threads=posix --enable-languages=c,c++,f77,objc --enable-__cxa_atexit --enable-debug
How-To-Repeat:
source code t.C
struct Filter {
struct Retry {
};
virtual int result() {return 1;}
};
int main_loop(Filter *p) {
try {
return p->result();
}
catch(Filter::Retry &m) {
return 2;
}
}
int main() {
main_loop(new Filter);
}
g++ -v -W -Wall -funit-at-a-time t.C
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4/specs
Configured with: ../gcc/configure --enable-threads=posix --enable-languages=c,c++,f77,objc --enable-__cxa_atexit --enable-debug
Thread model: posix
gcc version 3.4 20030806 (experimental)
/usr/local/libexec/gcc/i686-pc-linux-gnu/3.4/cc1plus -quiet -v -D_GNU_SOURCE t.C -quiet -dumpbase t.C -mtune=pentiumpro -auxbase t -W -Wall -version -funit-at-a-time -o /tmp/cc6Zkfda.s
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc/i686-pc-linux-gnu/3.4/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/i686-pc-linux-gnu
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/backward
/usr/local/include
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4/include
/usr/include
End of search list.
GNU C++ version 3.4 20030806 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.4 20030806 (experimental).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31899
as -V -Qy -o /tmp/cc9u92Na.o /tmp/cc6Zkfda.s
GNU assembler version 2.13.90.0.18 (i486-suse-linux) using BFD version 2.13.90.0.18 20030121 (SuSE Linux)
/usr/local/libexec/gcc/i686-pc-linux-gnu/3.4/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc/i686-pc-linux-gnu/3.4/crtbegin.o -L/usr/local/lib/gcc/i686-pc-linux-gnu/3.4 -L/usr/local/lib/gcc/i686-pc-linux-gnu/3.4/../../.. /tmp/cc9u92Na.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/local/lib/gcc/i686-pc-linux-gnu/3.4/crtend.o /usr/lib/crtn.o
/tmp/cc9u92Na.o(.gcc_except_table+0x10): undefined reference to `typeinfo for Filter::Retry'
collect2: ld returned 1 exit status
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug optimization/11889] [3.4 Regression] [unit-at-a-time] Not emitting typeinfo when used in catch
2003-08-12 0:01 [Bug optimization/11889] New: Problems with -funit-at-a-time and c++ io manipulators gcc-bugzilla at gcc dot gnu dot org
@ 2003-08-12 0:12 ` pinskia at gcc dot gnu dot org
2003-08-12 0:40 ` [Bug c++/11889] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-12 0:12 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11889
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Priority|P3 |P1
Last reconfirmed|0000-00-00 00:00:00 |2003-08-12 00:12:40
date| |
Summary|Problems with -funit-at-a- |[3.4 Regression] [unit-at-a-
|time and c++ io manipulators|time] Not emitting typeinfo
| |when used in catch
Target Milestone|--- |3.4
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-12 00:12 -------
I can confirm this on the mainline (20030811).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11889] [3.4 Regression] [unit-at-a-time] Not emitting typeinfo when used in catch
2003-08-12 0:01 [Bug optimization/11889] New: Problems with -funit-at-a-time and c++ io manipulators gcc-bugzilla at gcc dot gnu dot org
2003-08-12 0:12 ` [Bug optimization/11889] [3.4 Regression] [unit-at-a-time] Not emitting typeinfo when used in catch pinskia at gcc dot gnu dot org
@ 2003-08-12 0:40 ` pinskia at gcc dot gnu dot org
2003-08-12 0:44 ` pinskia at gcc dot gnu dot org
2003-08-17 8:19 ` hubicka at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-12 0:40 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11889
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|optimization |c++
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-12 00:40 -------
A c++ front-end problem.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11889] [3.4 Regression] [unit-at-a-time] Not emitting typeinfo when used in catch
2003-08-12 0:01 [Bug optimization/11889] New: Problems with -funit-at-a-time and c++ io manipulators gcc-bugzilla at gcc dot gnu dot org
2003-08-12 0:12 ` [Bug optimization/11889] [3.4 Regression] [unit-at-a-time] Not emitting typeinfo when used in catch pinskia at gcc dot gnu dot org
2003-08-12 0:40 ` [Bug c++/11889] " pinskia at gcc dot gnu dot org
@ 2003-08-12 0:44 ` pinskia at gcc dot gnu dot org
2003-08-17 8:19 ` hubicka at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-12 0:44 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11889
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |hubicka at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-12 00:44 -------
Jan this is your bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11889] [3.4 Regression] [unit-at-a-time] Not emitting typeinfo when used in catch
2003-08-12 0:01 [Bug optimization/11889] New: Problems with -funit-at-a-time and c++ io manipulators gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-08-12 0:44 ` pinskia at gcc dot gnu dot org
@ 2003-08-17 8:19 ` hubicka at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2003-08-17 8:19 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11889
hubicka at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From hubicka at gcc dot gnu dot org 2003-08-17 08:19 -------
Fixed by my earlier patch
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-08-17 8:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-12 0:01 [Bug optimization/11889] New: Problems with -funit-at-a-time and c++ io manipulators gcc-bugzilla at gcc dot gnu dot org
2003-08-12 0:12 ` [Bug optimization/11889] [3.4 Regression] [unit-at-a-time] Not emitting typeinfo when used in catch pinskia at gcc dot gnu dot org
2003-08-12 0:40 ` [Bug c++/11889] " pinskia at gcc dot gnu dot org
2003-08-12 0:44 ` pinskia at gcc dot gnu dot org
2003-08-17 8:19 ` hubicka 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).