]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
linux64.h (SET_CMODEL): Don't expand to empty.
authorAlan Modra <amodra@gmail.com>
Fri, 18 Jun 2010 10:57:21 +0000 (20:27 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 18 Jun 2010 10:57:21 +0000 (20:27 +0930)
* config/rs6000/linux64.h (SET_CMODEL): Don't expand to empty.

From-SVN: r160978

gcc/ChangeLog
gcc/config/rs6000/linux64.h

index 69d49ff0a108dff198c8447c0458be087eacff55..2af7e6ba212a6ddfd0beb7b6b38d5bdfa8dcd4c8 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-18  Alan Modra  <amodra@gmail.com>
+
+       * config/rs6000/linux64.h (SET_CMODEL): Don't expand to empty.
+
 2010-06-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        PR target/43740
        * config.in: Regenerate.
        * config/rs6000/linux64.opt (mcmodel): New.
        * config/rs6000/linux64.h (TARGET_USES_LINUX64_OPT): Define.
-       (TARGET_CMODEL): Define.
+       (TARGET_CMODEL, SET_CMODEL): Define.
        (SUBSUBTARGET_OVERRIDE_OPTIONS): Check user -mcmodel choice,
        select CMODEL_MEDIUM default.
        * config/rs6000/rs6000.h (enum rs6000_cmodel): New.
index d787d297db5810dcaed22ba2a0ce4aa5bd9e425c..c4e365174cef81389f1649b0c1e96d2490910b4a 100644 (file)
@@ -70,7 +70,7 @@ extern enum rs6000_cmodel cmodel;
 #define TARGET_CMODEL cmodel
 #define SET_CMODEL(opt) cmodel = opt
 #else
-#define SET_CMODEL(opt)
+#define SET_CMODEL(opt) do {} while (0)
 #endif
 
 #undef  PROCESSOR_DEFAULT