This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]