Summary: | [6 Regression] ICE building libstdc++ on arm-none-eabi | ||
---|---|---|---|
Product: | gcc | Reporter: | Alan Lawrence <alan.lawrence.arm> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | belagod, christian.joensson, jakub, jason, webrown.cpp |
Priority: | P3 | ||
Version: | 6.0 | ||
Target Milestone: | 6.0 | ||
See Also: |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68361 |
||
Host: | Target: | arm-none-eabi | |
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2015-11-18 00:00:00 | |
Attachments: | Reduced testcase |
Description
Alan Lawrence
2015-11-17 14:07:45 UTC
Hi Jason, I don't fully understand what is going wrong here, but when debugging I found that the tree it complains about is coming from a call to convert_to_integer_nofold in the line in ocp_convert, this used to have a fold_if_not_in_template. I found that I no longer got the ICE after reverting the code there to fold 'converted'. Not sure this actually fixes it, I'd need to look further into your patch for this. Hopefully this saves you some debugging yourself. The issue seemed to originate from a nop_expr around a param_declaration and fold gets rid of it. Hope this helps. Cheers, Andre Author: jason Date: Wed Nov 25 14:35:24 2015 New Revision: 230871 URL: https://gcc.gnu.org/viewcvs?rev=230871&root=gcc&view=rev Log: PR c++/68385 * tree.c (integer_zerop, integer_onep, integer_each_onep) (integer_all_onesp, integer_minus_onep, integer_pow2p) (integer_nonzerop, integer_truep, tree_log2, tree_floor_log2) (real_zerop, real_onep, real_minus_onep): Remove STRIP_NOPS. Modified: trunk/gcc/ChangeLog trunk/gcc/tree.c *** Bug 68368 has been marked as a duplicate of this bug. *** *** Bug 68368 has been marked as a duplicate of this bug. *** So, is this fixed now? Let's just assume that. It did fix it for me, sorry for the late reply. |