This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] crash in pretty-printer
- From: Joe Buck <jbuck at synopsys dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 2 Sep 2003 12:00:03 -0700
- Subject: [tree-ssa] crash in pretty-printer
I'm using gcc version 3.5-tree-ssa 20030829 (merged 20030817) on a
Red Hat i686 system.
I get a crash with the following source (tg.C) and the command line
gcc -S -fdump-tree-all tg.C
Here's the source:
---------------------------
class string {
public:
string();
string(const string&);
void operator=(const string&);
~string();
};
string foo(), bar();
string fred(bool v) {
return v ? foo() : bar();
}
-------------------------
I'll make it a PR if someone asks me to (this might not be needed if
the fix is obvious).