[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdemultimedia/noatun/library/noatunarts
From:       Ewald Snel <ewald () rambo ! its ! tudelft ! nl>
Date:       2003-08-16 14:48:26
[Download RAW message or body]

CVS commit by snel: 

Fix runtime segmentation fault when using gcc 3.3 with -fomit-frame-pointer


  M +4 -4      StereoVolumeControl_impl.cpp   1.5.2.1


--- kdemultimedia/noatun/library/noatunarts/StereoVolumeControl_impl.cpp  #1.5:1.5.2.1
@@ -89,10 +89,10 @@ public:
                         "pushl $100                       \n"
                         "fildl (%%esp)                    \n"
-#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ == 2)
+#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
                         "addl $4, %%esp                   \n"
 #endif
                         "fildl %5                         \n"
                         "fdivp                            \n" // percent / 100.0
-#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ == 2)
+#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
                         "pushl $100                       \n"
 #endif
@@ -101,5 +101,5 @@ public:
                         "shufps $0x00, %%xmm1, %%xmm1     \n" // percentage in all of xmm1
                         "addl $4, %%esp                   \n"
-#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ == 2)
+#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
                         "subl $4, %4                      \n"
                         "jl .l2                           \n" // samples < 4
@@ -125,5 +125,5 @@ public:
                         "incl %%ecx                       \n"
                         "incl %%ecx                       \n"
-#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ == 2)
+#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
                         "subl $4, %4                      \n"
                         "jge .l1                          \n"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic