https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825
Nickolay Merkin changed:
What|Removed |Added
CC||nickolay.merkin at gmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67151
--- Comment #3 from Nickolay Merkin ---
(In reply to Markus Trippelsdorf from comment #2)
> Already fixed in gcc-5 branch and trunk.
Thank you!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67151
Nickolay Merkin changed:
What|Removed |Added
Keywords||ice-on-valid-code
--- Comment #1 from
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nickolay.merkin at gmail dot com
Target Milestone: ---
http://ideone.com/4t9nUW
C++14
Source file (just two lines!)
template const auto ice = true ? 0 : ice<(N>0 ? N-1 : 0)>;
const auto crash = ice<
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58080
--- Comment #10 from Nickolay Merkin ---
(In reply to Paolo Carlini from comment #9)
> Fixed for 4.9.0.
Thank you!
Will it be fixed for 4.7.3, or this version is frozen?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58080
--- Comment #4 from Nickolay Merkin ---
(In reply to Paolo Carlini from comment #3)
> I meant something else: I meant that on a different compiler, your code
> could be hardly rejected, you should not use arithmetic on void * in the
> first place.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58080
--- Comment #2 from Nickolay Merkin ---
(In reply to Paolo Carlini from comment #1)
> Note that strictly speaking arithmetic on a pointer to void would be even
> invalid.
Yes of course, and the compiler has notified that... and then it crashed.
: major
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nickolay.merkin at gmail dot com
Created attachment 30609
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30609&action=edit
preprocessed source code that leads to