[Bug c/57853] pointer arithmetic on arrays

2016-07-16 Thread brodhow at sbcglobal dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #18 from this is me --- This is why C arrays are not pointers. It was possible to easily misconstrue datatypes like especially with imported variables. Defined as a short integer in one file but, is being used as a character in anothe

[Bug c/57853] pointer arithmetic on arrays

2016-07-15 Thread brodhow at sbcglobal dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #17 from this is me --- Its simpler than what Andrew was describing! It is simply incrementing by 1 character datatype width to the next character with "++".

[Bug c/57853] pointer arithmetic on arrays

2016-07-12 Thread brodhow at sbcglobal dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #16 from this is me --- Andrew Pinski: Will you delete this Bug 57853 web page for me? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 I can't hired! Howard > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 > > Andrew Pin

[Bug c/57853] pointer arithmetic on arrays

2016-06-03 Thread brodhow at sbcglobal dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #15 from Howard Brodale --- The arr pointer is being set to the incremented value which is the 2nd element in the array to start from as the arr[0] value, then.

[Bug c/57853] pointer arithmetic on arrays

2016-06-03 Thread brodhow at sbcglobal dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #14 from Howard Brodale --- My email address now is brod...@sbcglobal.net

[Bug c/57853] pointer arithmetic on arrays

2016-06-03 Thread brodhow at sbcglobal dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Howard Brodale changed: What|Removed |Added CC||brodhow at sbcglobal dot net --- Commen

[Bug c/57853] pointer arithmetic on arrays

2013-07-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Jonathan Wakely changed: What|Removed |Added Severity|critical|normal

[Bug c/57853] pointer arithmetic on arrays

2013-07-09 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread brodhow at all2easy dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Howard Brodale changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #12 from Howard Brodal

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread brodhow at all2easy dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #10 from Howard Brodale --- Should we expect to see "as" in the for loop's printf, for arr[0][0]? YES! And, we do when the pointer arithmetic is NOT being done, above. But, something changed arr[0] to "s" only! What did that? Did I

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread brodhow at all2easy dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Howard Brodale changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread brodhow at all2easy dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #7 from Howard Brodale --- we get only 's' in a subsequent printf that runs after that "++" statements. >From that next printf "as" should aappear but, it has been changed to only 's', by the "++" operation!

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread brodhow at all2easy dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #6 from Howard Brodale --- "*++arr[0][0]" is not supposed to change the array arr! It is supposed to take the source, change it for later use and leave the source unchanged! That the way pointer arithmetic works. It never has change

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread brodhow at all2easy dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Howard Brodale changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread brodhow at all2easy dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Howard Brodale changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/57853] pointer arithmetic on arrays

2013-07-08 Thread brodhow at all2easy dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853 --- Comment #1 from Howard Brodale --- gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-