c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scottwood at freescale dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39731
--- Comment #2 from scottwood at freescale dot com 2009-04-16 18:30 ---
(In reply to comment #1)
> >The problem is that GCC does not give an error
>
> It can't give an error for that code as it is only runtime undefined and it
> does not have to be invoked at runtim
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69617
Scott wood changed:
What|Removed |Added
CC||scottwood at freescale dot com
--- Comment
--- Comment #11 from scottwood at freescale dot com 2008-05-13 21:13
---
(In reply to comment #4)
> If your code invokes undefined behavior, how is gcc going
> to read your mind?
If GCC can tell that it is undefined behavior, then warning the user is more
useful than si