This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/63642] Linked List Pointer points to itself (on Mac OS)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63642

--- Comment #2 from Romain <romain.wallon at orange dot fr> ---
Created attachment 33807
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33807&action=edit
A test for the bug about linked list

Here is an example of the problem I have encoutered.
It is unfortunately written in french (comments, name of variables), I am
sorry.
I hope it would be helpfull.

Here is the result I had :

Please, enter a monome (for example x) : x
Address of the first element : 0x0
Your polynom : 0

Note 1 : The linked list is used here to represent polynoms. The program itself
is not yet finished, but it works for monoms. 
Note 2 : The program works normally on Ubuntu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]