------- Comment #4 from acahalan at gmail dot com 2006-09-27 02:19 ------- (In reply to comment #3) > (In reply to comment #2) > First you should not be using options that change the ABI if you don't know > what you are doing. because they change the ABI. Second, none of options you > gave are really options because some people actually use the options correctly > in that they want the ABI to change with all the header files and you are no > longer doing it correct.
I tend to think that these people are NOT using the options correctly. They should have built their compiler to use a different ABI if that is what the interfaces in their system header files require. Another way to make things work: gcc -mregparm-app=3 ... That is, add new options which change the ABI only for local files. The interfaces declared in the system headers would not be affected. Imagine building gcc itself with regparm 3. You probably don't want to mark up the gcc source to enable this, but marking up the system header files is definitely not an option. -- acahalan at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29242