[LLVMbugs] [Bug 15683] pointer arithmetic with empty struct compiles into division by zero

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 5 09:51:17 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15683

Serge Pavlov <sepavloff at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |sepavloff at gmail.com
          Component|-New Bugs                   |Frontend
         Resolution|INVALID                     |---

--- Comment #2 from Serge Pavlov <sepavloff at gmail.com> ---
Empty structures are supported as GCC extension, corresponding message is
emitted if flag '-pedantic' is specified. So reopening this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130405/85328b93/attachment.html>


More information about the llvm-bugs mailing list