Launchpad has imported 7 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37383.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers. ------------------------------------------------------------------------ On 2008-09-05T13:47:40+00:00 dino.korah wrote: Compiler crashed with these lines g++ main.cpp expenditure_category.h expenditure_category.cpp -O4 expenditure_category.h: In member function ‘bool expenditure::category_compare::operator()(const expenditure::category&, const expenditure::category&) const’: expenditure_category.h:33: error: ‘parent1’ was not declared in this scope expenditure_category.h: In member function ‘bool expenditure::category_compare::operator()(const expenditure::category&, const expenditure::category&) const’: expenditure_category.h:33: error: ‘parent1’ was not declared in this scope expenditure_category.cpp:28: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. Preprocessed source stored into /tmp/ccZFb4sl.out file, please attach this to your bugreport. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/265078/comments/0 ------------------------------------------------------------------------ On 2008-09-05T13:49:34+00:00 dino.korah wrote: Created attachment 16232 the temporary file /tmp/ccZFb4sl.out Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/265078/comments/1 ------------------------------------------------------------------------ On 2008-09-05T13:50:26+00:00 dino.korah wrote: Here is the output without the optimization options g++ main.cpp expenditure_category.h expenditure_category.cpp expenditure_category.h: In member function ‘bool expenditure::category_compare::operator()(const expenditure::category&, const expenditure::category&) const’: expenditure_category.h:33: error: ‘parent1’ was not declared in this scope expenditure_category.h: In member function ‘bool expenditure::category_compare::operator()(const expenditure::category&, const expenditure::category&) const’: expenditure_category.h:33: error: ‘parent1’ was not declared in this scope Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/265078/comments/2 ------------------------------------------------------------------------ On 2008-09-05T14:00:48+00:00 Paolo-carlini wrote: Target? x86_64-linux? I can't reproduce the problem on FSF 4.1.3, neither with 4.2.5, 4.3.2 or mainline. I suspect it's a Debian modification at fault, not to be reported here... PS: -OX, with X >= 3 are all the same. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/265078/comments/3 ------------------------------------------------------------------------ On 2008-09-05T14:02:17+00:00 Paolo-carlini wrote: Figured out from the attachment... Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/265078/comments/4 ------------------------------------------------------------------------ On 2008-09-06T00:32:13+00:00 Matthias Klose wrote: can't reproduce this either with the Debian or Ubuntu gcc builds Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/265078/comments/6 ------------------------------------------------------------------------ On 2008-12-24T23:11:13+00:00 Pinskia wrote: No feedback in 3 months and it works for me so closing as such. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/265078/comments/10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/265078 Title: GCC Bugzilla Bug 37383 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/265078/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
