Mailinglist Archive: opensuse-bugs (10053 mails)

< Previous Next >
[Bug 237113] New: Warning, when using switch-case expression
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sat, 20 Jan 2007 03:55:06 -0700 (MST)
  • Message-id: <bug-237113-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=237113

Summary: Warning, when using switch-case expression
Product: openSUSE 10.2
Version: Final
Platform: i686
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: pth@xxxxxxxxxx
ReportedBy: bewoern@xxxxxx
QAContact: qa@xxxxxxx


Hello,

when i compile a switch-case expression (found in the attachement), the
following warning is written:

/tmp/ccNQKs5H.s: Assembler messages:
/tmp/ccNQKs5H.s:21: Warning: expression dangerous with linker stubs
/tmp/ccNQKs5H.s:22: Warning: expression dangerous with linker stubs

Important is, that the optimization is enabled.
With optimization -O0, the warning is not written.
At all other optimizations, the warning is written.

This seems, that the compiler creates dangerous assembler code if optimization
is enabled.

If you need more information, let me know.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >