This is the mail archive of the gcc@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]

Re: gcc 4.2 more strict check for "function called through a non-compatible type"


Yuri Pudgorodsky <yur@ptci.ru> writes:

[...]

| The result of calling function pointer casted to sufficiently different
| type is
| a real example an undefined behavior.

As I said earlier, it is fruitless to try to impose an ordering on
the space of undefined behaviour.

-- Gaby


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