Hi

I'm going to attach a small test case that used to work until my gentoo system
upgraded gcc to 4.3.2. It is not a vanilla build, but I'm not able to easy test
this on a vanilla system.

For my failing system, the output from the test case is:

0x81 0x82 0x03 => 0x00004103
0x81 0x82 0x03 => 0x00004103
0xbf971bdd vs 0xbf971bda


(number before and after "vs" should have been the same).

Same output from an okey system (redhat with gcc 4.1.2):

0x81 0x82 0x03 => 0x00004103
0x81 0x82 0x03 => 0x00004103
0xbf93c4c9 vs 0xbf93c4c9


-- 
           Summary: incremental pointer logic that used to work in older gcc
                    versions
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stian at nixia dot no
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to