public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/58943] New: wrong calculation of indirect structure member arithmetic via function call
@ 2013-10-31 16:00 Dimitar.Peikov at gmail dot com
  2013-11-04 14:10 ` [Bug c/58943] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Dimitar.Peikov at gmail dot com @ 2013-10-31 16:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58943

            Bug ID: 58943
           Summary: wrong calculation of indirect structure member
                    arithmetic via function call
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Dimitar.Peikov at gmail dot com

Created attachment 31124
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31124&action=edit
example for failed structure propagation

In attached file there is an example of invalid calculation where, a structure
with integer is manipulated inside a function call which takes struct as
pointer and same integer member is part of arithmetic result operation.
The issue was tested on several compilers 4.6.3, 4.7.2, 4.8.1 on different
platforms Linux and Windows with same result.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-06-23  8:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-31 16:00 [Bug c/58943] New: wrong calculation of indirect structure member arithmetic via function call Dimitar.Peikov at gmail dot com
2013-11-04 14:10 ` [Bug c/58943] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2013-11-19 10:41 ` rguenth at gcc dot gnu.org
2013-12-03 15:02 ` jakub at gcc dot gnu.org
2013-12-03 16:57 ` joseph at codesourcery dot com
2013-12-04 11:04 ` jakub at gcc dot gnu.org
2013-12-04 17:01 ` joseph at codesourcery dot com
2014-01-15  8:04 ` jakub at gcc dot gnu.org
2014-06-12 13:46 ` [Bug c/58943] [4.7/4.8 " rguenth at gcc dot gnu.org
2014-12-19 13:40 ` [Bug c/58943] [4.8 " jakub at gcc dot gnu.org
2015-06-23  8:46 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).