This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71092] [6/7 Regression] ICE: in cxx_eval_call_expression, at cp/constexpr.c:1449; only with -Os
- From: "buaabyl at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2016 01:16:41 +0000
- Subject: [Bug c++/71092] [6/7 Regression] ICE: in cxx_eval_call_expression, at cp/constexpr.c:1449; only with -Os
- Auto-submitted: auto-generated
- References: <bug-71092-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71092
buaabyl at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |buaabyl at gmail dot com
--- Comment #12 from buaabyl at gmail dot com ---
I compile Qt 5.7.0 with MinGW GCC, the Qt program segmentation fault, maybe the
same bug.
GCC: MinGW32-W64
Qt: 5.7.0
The bug just appear in static link, shared link is ok, and error with static +
Os.
this is my test summary:
+============================================================================+
| MinGW32-W64 | G++ | Qt 5.5.0 | Qt 5.7.0 |
| GCC | FLAGS|static|shared|static|shared|
+-----------------------------------------+------+------+------+------+------+
|i686-4.9.1-release-posix-dwarf-rt_v3-rev2| -Os | PASS | PASS | PASS | - |
| | -O2 | - | PASS | - | - |
+-----------------------------------------+------+------+------+------+------+
|i686-5.3.0-release-posix-dwarf-rt_v4-rev0| -Os | - | - | Fault| - |
| | -O2 | - | - | PASS | PASS |
+-----------------------------------------+------+------+------+------+------+
|i686-5.4.0-release-posix-dwarf-rt_v5-rev0| -Os | - | - | Fault| PASS |
| | -O2 | - | - | - | - |
+-----------------------------------------+------+------+------+------+------+
|i686-6.1.0-release-posix-dwarf-rt_v5-rev0| -Os | - | - | X | - |
| | -O2 | - | - | PASS | - |
+-----------------------------------------+------+------+------+------+------+
| X - Compile Fail |
| Fault - Segmentation Fault |
| PASS - Compile OK, Run Test Pass |
+============================================================================+
The compile fail of 6.1.0 show:
"... cxx_eval_call_expression, at cp/constexpr.c:1449"