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
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 "++".
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
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
--- Comment #14 from Howard Brodale ---
My email address now is brod...@sbcglobal.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Howard Brodale changed:
What|Removed |Added
CC||brodhow at sbcglobal dot net
--- Commen
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Jonathan Wakely changed:
What|Removed |Added
Severity|critical|normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Andreas Schwab changed:
What|Removed |Added
Resolution|FIXED |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Howard Brodale changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #12 from Howard Brodal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Howard Brodale changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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!
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Howard Brodale changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Howard Brodale changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57853
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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-
20 matches
Mail list logo